Add support for Conditional Fields (#6864)

* Add conditions field to directus_fields

* Add conditions configuration

* Apply conditional overrides

* Handle conditions in nested groups

* Fix reverse mutating conditions

* Start on filter setup interface

* Move field types/constants to shared

* [WIP] Updated client side filter validation

* Support logical operators in client validation step

* Use new validation util in conditions check

* Add nesting in filter seutp

* Add filter rule setup configurator

* Fixes that should've been done in the merge

* Strip out filter-settings interface

TBD in a new PR

* Move browser to index
This commit is contained in:
Rijk van Zanten
2021-07-27 00:02:24 +02:00
committed by GitHub
parent 47e9d2f1fe
commit 92e1ee77bd
121 changed files with 792 additions and 261 deletions

4
package-lock.json generated
View File

@@ -57831,7 +57831,9 @@
"dependencies": {
"express": "4.17.1",
"fs-extra": "10.0.0",
"joi": "^17.4.1",
"knex-schema-inspector": "1.5.12",
"lodash": "^4.17.21",
"vue": "3.1.5",
"vue-router": "4.0.10"
},
@@ -63023,7 +63025,9 @@
"requires": {
"express": "4.17.1",
"fs-extra": "10.0.0",
"joi": "^17.4.1",
"knex-schema-inspector": "1.5.12",
"lodash": "^4.17.21",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"typescript": "4.3.5",