[ACS-3256] Add trigger / "when" section to rule details & edit rule dialog (#2603)

* Add triggers section with checkboxes

* Add some unit tests

* Changed Input property of rule details so that it takes a changeable value rather than just an initial value

* Made separate component with control value accessor for triggers

* Linting

* Change trigger values to lowercase to be in sync with the API

* Minor styling changes and add new rule button to manage rules screen

* Add option for unknown field to be selected

* Add read only to nested composite and simple conditions

* Added unknown field tests for simple condition

* Linting

* Change how the triggers component displays when disabled
This commit is contained in:
Thomas Hunter
2022-08-23 09:54:08 +01:00
committed by GitHub
parent 19b88458ef
commit 9cd616ff8c
25 changed files with 531 additions and 77 deletions

View File

@@ -38,6 +38,7 @@ import { GenericErrorModule, PageLayoutModule } from '@alfresco/aca-shared';
import { BreadcrumbModule, DocumentListModule } from '@alfresco/adf-content-services';
import { RuleListItemUiComponent } from './rules-list/rule/rule-list-item.ui-component';
import { RulesListUiComponent } from './rules-list/rules-list.ui-component';
import { RuleTriggersUiComponent } from './rule-details/triggers/rule-triggers.ui-component';
const routes: Routes = [
{
@@ -65,7 +66,8 @@ const routes: Routes = [
RuleDetailsUiComponent,
RuleSimpleConditionUiComponent,
RulesListUiComponent,
RuleListItemUiComponent
RuleListItemUiComponent,
RuleTriggersUiComponent
]
})
export class AcaFolderRulesModule {