@for (argumentControl of argumentsFormArray.controls; track argumentControl) {
@if (!disabled) { }
@if (displayArgumentName) { {{argumentControl.get('name').value}}. }
rule-node-config.argument-source-field-input {{ argumentTypeMap.get(argumentControl.get('type').value)?.name | translate }} @for (argument of arguments; track argument) { {{ argumentTypeMap.get(argument).name | translate }} {{ argumentTypeMap.get(argument).description | translate }} } @if (argumentControl.get('type').hasError('required')) { rule-node-config.argument-source-field-input-required }
@if (argumentControl.get('type').value && argumentControl.get('type').value !== ArgumentType.CONSTANT) { rule-node-config.argument-key-field-input help @if (argumentControl.get('key').hasError('required')) { rule-node-config.argument-key-field-input-required } } @if (argumentControl.get('type').value === ArgumentType.CONSTANT) { rule-node-config.constant-value-field-input @if (argumentControl.get('key').hasError('required')) { rule-node-config.constant-value-field-input-required } } @if (argumentControl.get('type').value && argumentControl.get('type').value !== ArgumentType.CONSTANT) { rule-node-config.default-value-field-input }
@if (argumentControl.get('type').value === ArgumentType.ATTRIBUTE) { rule-node-config.attribute-scope-field-input @for (scope of attributeScope; track scope) { {{ attributeScopeMap.get(scope) | translate }} } @if (argumentControl.get('attributeScope').hasError('required')) { rule-node-config.attribute-scope-field-input-required } }
@if (!disabled) { }
}
@if (!argumentsFormArray.length) {
rule-node-config.no-arguments-prompt
}