Commit Graph

957 Commits

Author SHA1 Message Date
Rijk van Zanten
d3fe765796 script[setup]: select-multiple-checkbox-tree (#18430)
* script[setup]: select-multiple-checkbox-tree

* Align value type
2023-05-03 10:58:08 -04:00
Rijk van Zanten
9067a83265 script[setup]: select-multiple-checkbox (#18429) 2023-05-03 10:56:28 -04:00
Rijk van Zanten
767105ff77 script[setup]: select-icon (#18428)
* script[setup]: select-icon

* Align value prop type
2023-05-03 10:54:25 -04:00
Rijk van Zanten
4514666408 script[setup]: select-dropdown (#18427)
* script[setup]: select-dropdown

* Align value type
2023-05-03 10:53:11 -04:00
Rijk van Zanten
6f0cdd9db8 script[setup]: presentation-notice (#18426) 2023-05-03 10:51:15 -04:00
Rijk van Zanten
c195a480e2 script[setup]: interfaces/presentation-divider (#18425) 2023-05-03 10:49:39 -04:00
Rijk van Zanten
90dbfbaa3a script[setup]: interfaces/map (#18424) 2023-05-03 10:48:48 -04:00
Rijk van Zanten
bb4fd307cd script[setup]: interfaces/list (#18423) 2023-05-03 10:47:18 -04:00
Pascal Jufer
294596b9ad Fix system-modules after migration to script[setup] (#18420) 2023-05-03 09:43:40 -04:00
Rijk van Zanten
0457bf3085 script[setup]: interfaces/input-rich-text-html (#18418)
* script[setup]: interfaces/input-rich-text-html

* Clean-up mess after failed merge

* Remove unnecessary default for 'value'

* Revert mistakenly revert :-)

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-03 09:24:34 -04:00
Rijk van Zanten
fc15ea0d65 script[setup]: input-multiline (#18417)
* script[setup]: input-multiline

* Require value
2023-05-02 17:57:49 -04:00
Rijk van Zanten
9d76b4a2e4 script[setup]: input-hash (#18416)
* script[setup]: input-hash

* Use defineComponent in options script

* Require value
2023-05-02 17:56:17 -04:00
Rijk van Zanten
1d3899555a script[setup]: input-code (#18415)
* script[setup]: input-code

* Cleanup imports
2023-05-02 17:54:06 -04:00
Rijk van Zanten
e61b35ad06 script[setup]: interfaces/input-autocomplete-api (#18414)
* script[setup]: interfaces/input-autocomplete-api

* Value is required, but allowed null
2023-05-02 17:37:48 -04:00
Rijk van Zanten
a21a28b7cd script[setup]: interfaces/input (#18413)
* script[setup]: interfaces/input

* Value prop is required, but allowed null
2023-05-02 17:36:20 -04:00
Rijk van Zanten
2a53bd36ba script[setup]: interfaces/group-raw (#18412) 2023-05-02 17:34:20 -04:00
Rijk van Zanten
02cd25c3ac script[setup]: interfaces/group-detail (#18411) 2023-05-02 17:33:02 -04:00
Rijk van Zanten
851fbfa82a script[setup]: interfaces/system-interface (#18410) 2023-05-02 17:31:42 -04:00
Rijk van Zanten
6cd0ef3d3d script[setup]: interfaces/group-accordion (#18409) 2023-05-02 17:30:09 -04:00
Rijk van Zanten
290d783461 script[setup]: interfaces/datetime (#18408) 2023-05-02 17:27:37 -04:00
Rijk van Zanten
44049cbfe6 script[setup]: interfaces/boolean (#18407) 2023-05-02 17:25:49 -04:00
Rijk van Zanten
daf509061b script[setup]: system-scope (#18406) 2023-05-02 17:24:37 -04:00
Rijk van Zanten
e01702a2ac script[setup]: system-modules (#18405)
* script[setup]: system-modules

* script[setup]: system-modules
2023-05-02 17:23:24 -04:00
Rijk van Zanten
82d84877ca script[setup]: system-mfa-setup (#18404) 2023-05-02 17:19:52 -04:00
Rijk van Zanten
996f42c08c script[setup]: system-language (#18403) 2023-05-02 17:17:41 -04:00
Rijk van Zanten
2e0c1666c3 script[setup]: system-interface-options (#18402)
* script[setup]: system-interface-options

* Add missing null in props
2023-05-02 17:16:04 -04:00
Rijk van Zanten
8db6c2b5e2 script[setup]: system-folder (#18401) 2023-05-02 17:12:57 -04:00
Rijk van Zanten
1bb78d9c0d script[setup]: system-filter (#18400) 2023-05-02 17:10:32 -04:00
Rijk van Zanten
b0908ca7f8 script[setup]: interfaces/system-field-tree (#18399) 2023-05-02 17:04:58 -04:00
Rijk van Zanten
d4456e6ad8 script[setup]: interfaces/system-field (#18398)
* script[setup]: interfaces/system-field

* CollectionField is not required
2023-05-02 17:01:56 -04:00
Rijk van Zanten
1699db75f7 script[setup]: interfaces/system-display-template (#18397) 2023-05-02 16:56:53 -04:00
Rijk van Zanten
e3e6b5fd75 script[setup]: interfaces/system-collections (#18396) 2023-05-02 16:54:50 -04:00
Rijk van Zanten
6d5109b201 script[setup]: interfaces/system-collection (#18395)
* script[setup]: interfaces/system-collection

* Apply latest from main

* Align default value of includeSingleton
2023-05-02 16:52:12 -04:00
Rijk van Zanten
44b4863788 Require curly brackets in if statements when they're multi-line (#18387)
* Enable Curly rule

* Fix curly misuse
2023-05-02 16:02:43 -04:00
Nitwel
2432306fea Make folders hidden by default in system collection interface (#18362)
* make folders hidden by default in system collection interface

* Create green-stingrays-shake.md

* Remove prop

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-05-02 15:17:58 -04:00
Brainslug
87f2edc735 Prevent nested ternary expressions (#18376)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-01 19:07:40 +00:00
ian
321cd1e9c9 Translate module link name in project settings (#18343)
* Translate module link name in project settings

* Add changset
2023-04-27 13:14:28 -04:00
Nitwel
871e7eb954 Improve Permissions in relational Interfaces (#16373)
* improve permissions check in m2m relations

* improve m2o relations

* More improvements

* finish relational permission rework

* fix field level permissions

* add tests to useRelationPermissions

* remove unused dependency

* fix rename

* fix permissions for translations

* fix disabled check

* ran linter and disabled "vue/one-component-per-file" for use-relation-permissions test

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-04-24 16:33:28 +02:00
José Varela
d01972f4f6 Fix show Tinymce style formats (#18305)
Because we upgraded to version 5:
https://github.com/directus/directus/pull/18107
And there's a breaking change:
https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/CHANGELOG.md#:~:text=Renamed%20the%20styleselect%20toolbar%20button%20and%20formats%20menu%20item%20to%20styles.%20%23TINY%2D8328
2023-04-24 08:38:20 -04:00
Nitwel
c51a8bc4c3 fix refreshing on save (#18283) 2023-04-21 18:41:45 +02:00
Andrii Trubai
2e5f063df1 Add possibility of sorting items in tabular view of o2m interface (#15733)
* Add possibility of sorting items in tabular view of o2m interface

* CLA signing

* in between commit

* allow for resizing on m2m and use existing sort fn

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nitwel <mail@nitwel.de>
2023-04-20 09:12:48 -04:00
Hannes Küttner
7bf87f3df3 Fix a few dev mode warnings (#18249)
* `list-m2m` make layout optional

* Silence a few more warnings

* Properly type v-button `to`

* Make search prop in field-detail-simple not required

* Set undefined as default value for text in v-text-overflow

* Change initial search value to undefined in field-detail

* Rework field-detail and field-detail-simple to use script setup

* One less ctrl+z

* Remove unnecessary new line

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-19 17:13:20 +00:00
Azri Kahar
678c5f57af Use filled star for required asterisks & rating display (#18242) 2023-04-19 08:56:35 +02:00
Rijk van Zanten
c48309ab68 Last eslint tweak (#18198)
* Should be there now

* Format
2023-04-14 17:40:50 -04:00
rijkvanzanten
37658802b7 One more 2023-04-14 17:30:56 -04:00
Rijk van Zanten
bdb1a919e2 White space rules (#18197)
* White space rules

* Auto-fix whitespace linter warnings
2023-04-14 17:21:56 -04:00
Hannes Küttner
5d85a743ff Add autoKey to interface config (#18027)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-14 16:17:10 -04:00
Jan Arends
0e44ee5239 Add select all option for export (#18160)
* added select all option

* added default value

* removed space for linter

* refactoring: combined emits

* removed unnecessary prefix

* added option to remove all at once

* linter

* Drop support for deselect

* I HAVE OPINIONS

* Revert addition of remove event

* Some more opinions

* Refactor other uses of v-field-list

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-14 15:03:42 -04:00
Hannes Küttner
74adbbc3e8 Prevent duplicate emit from codemirror editors (#18194)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-14 14:56:26 -04:00
Hannes Küttner
1e271fa1d0 Rename system-field[-tree] collection prop to collectionName (#18193) 2023-04-14 14:18:02 -04:00