|
|
@ -24,7 +24,7 @@ |
|
|
<form [formGroup]="ruleNodeFormGroup" class="mat-padding"> |
|
|
<form [formGroup]="ruleNodeFormGroup" class="mat-padding"> |
|
|
<fieldset [disabled]="(isLoading$ | async) || !isEdit || isReadOnly"> |
|
|
<fieldset [disabled]="(isLoading$ | async) || !isEdit || isReadOnly"> |
|
|
<section> |
|
|
<section> |
|
|
<section fxLayout="column" fxLayout.gt-sm="row"> |
|
|
<section class="title-row"> |
|
|
<mat-form-field fxFlex class="mat-block"> |
|
|
<mat-form-field fxFlex class="mat-block"> |
|
|
<mat-label translate>rulenode.name</mat-label> |
|
|
<mat-label translate>rulenode.name</mat-label> |
|
|
<input matInput formControlName="name" required> |
|
|
<input matInput formControlName="name" required> |
|
|
@ -36,12 +36,14 @@ |
|
|
{{ 'rulenode.name-max-length' | translate }} |
|
|
{{ 'rulenode.name-max-length' | translate }} |
|
|
</mat-error> |
|
|
</mat-error> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
<mat-checkbox formControlName="debugMode"> |
|
|
<section class="node-setting"> |
|
|
{{ 'rulenode.debug-mode' | translate }} |
|
|
<mat-slide-toggle formControlName="debugMode"> |
|
|
</mat-checkbox> |
|
|
{{ 'rulenode.debug-mode' | translate }} |
|
|
<mat-checkbox *ngIf="isSingletonEditAllowed()" formControlName="singletonMode"> |
|
|
</mat-slide-toggle> |
|
|
{{ 'rulenode.singleton-mode' | translate }} |
|
|
<mat-slide-toggle *ngIf="isSingletonEditAllowed()" formControlName="singletonMode"> |
|
|
</mat-checkbox> |
|
|
{{ 'rulenode.singleton-mode' | translate }} |
|
|
|
|
|
</mat-slide-toggle > |
|
|
|
|
|
</section> |
|
|
</section> |
|
|
</section> |
|
|
<tb-rule-node-config #ruleNodeConfigComponent |
|
|
<tb-rule-node-config #ruleNodeConfigComponent |
|
|
formControlName="configuration" |
|
|
formControlName="configuration" |
|
|
|