[ACA-3258] Edit rule dialog actions section (#2692)

* Add actions service

* Create components

* Rebasing

* Add card view component

* Moved actions definition call outside of actions list component

* Localisation of parameter and action labels + read only mode for components

* Remove action option

* Default to one item in array

* Handle change of cardview

* Linting

* Add unit tests

* Fix broken unit tests

* Fix unknown word

* Add private to property
This commit is contained in:
Thomas Hunter
2022-10-06 14:07:47 +01:00
committed by GitHub
parent 08d4f46573
commit 59c7d68299
28 changed files with 914 additions and 43 deletions

View File

@@ -15,6 +15,7 @@
"NAME": "Name",
"DESCRIPTION": "Description",
"WHEN": "When",
"PERFORM_ACTIONS": "Perform actions",
"OPTIONS": "Other options"
},
"PLACEHOLDER": {
@@ -70,21 +71,26 @@
"AND": "And",
"OR": "Or"
},
"ACTIONS": {
"CONDITION_BUTTONS": {
"ADD_CONDITION": "Add condition",
"ADD_GROUP": "Add group",
"ADD_GROUP": "Add condition group",
"REMOVE": "Remove"
},
"NO_CONDITIONS": "No conditions",
"NO_CONDITIONS_IN_GROUP": "No conditions in the group"
"NO_CONDITIONS_IN_GROUP": "No conditions in the group",
"ACTION_BUTTONS": {
"ADD_ACTION": "Add action",
"REMOVE": "Remove"
},
"ACTION_SELECT_PLACEHOLDER": "Select an action"
},
"MANAGE_RULES": {
"TOOLBAR": {
"BREADCRUMB": {
"RULES": "rules"
},
"ACTIONS": {
"NEW_RULE": "New rule"
"CREATE_RULE": "Create rule"
}
},
"EMPTY_RULES_LIST": {