Dataset Profile Editor. VIsibility rules. Hide Sections from options. Language update for visibility rules.

This commit is contained in:
Kristian Ntavidi 2021-03-24 16:05:21 +02:00
parent 8ba546fef4
commit fdf316a040
9 changed files with 28 additions and 12 deletions

View File

@ -27,7 +27,7 @@
<mat-label>{{'DATASET-PROFILE-EDITOR.STEPS.FORM.RULE.FIELDS.RULE-THEN'| translate}}</mat-label> <mat-label>{{'DATASET-PROFILE-EDITOR.STEPS.FORM.RULE.FIELDS.RULE-THEN'| translate}}</mat-label>
<mat-select formControlName="target" required> <mat-select formControlName="target" required>
<!-- SHOW SECTIONS --> <!-- SHOW SECTIONS -->
<mat-optgroup label="Sections"> <!-- <mat-optgroup label="Sections" *ngIf="false">
<mat-option *ngFor="let option of sectionOptions" [value]="option.id" style="line-height: normal;" <mat-option *ngFor="let option of sectionOptions" [value]="option.id" style="line-height: normal;"
[disabled]="parentIds.includes(option.id)"> [disabled]="parentIds.includes(option.id)">
@ -39,9 +39,9 @@
</small> </small>
</mat-option> </mat-option>
</mat-optgroup> </mat-optgroup> -->
<!-- SHOW FIELDSETS --> <!-- SHOW FIELDSETS -->
<mat-optgroup label="Fieldsets"> <mat-optgroup [label]="'DATASET-PROFILE-EDITOR.STEPS.FORM.RULE.FIELDS.FIELDSETS' | translate">
<mat-option *ngFor="let option of fieldSetOptions" [value]="option.id" style="line-height: normal;" <mat-option *ngFor="let option of fieldSetOptions" [value]="option.id" style="line-height: normal;"
[disabled]="parentIds.includes(option.id)"> [disabled]="parentIds.includes(option.id)">
<span> <span>
@ -53,7 +53,7 @@
</mat-option> </mat-option>
</mat-optgroup> </mat-optgroup>
<!-- SHOW FIELDS --> <!-- SHOW FIELDS -->
<mat-optgroup label="Fields"> <mat-optgroup [label]="'DATASET-PROFILE-EDITOR.STEPS.FORM.RULE.FIELDS.FIELDS' | translate">
<mat-option *ngFor="let option of fieldOptions" [value]="option.id" style="line-height: normal;" <mat-option *ngFor="let option of fieldOptions" [value]="option.id" style="line-height: normal;"
[disabled]="parentIds.includes(option.id)"> [disabled]="parentIds.includes(option.id)">
<span> <span>

View File

@ -463,7 +463,9 @@
"TARGET": "Target Field Id", "TARGET": "Target Field Id",
"VALUE": "Required Value", "VALUE": "Required Value",
"RULE-IF": "If Value is", "RULE-IF": "If Value is",
"RULE-THEN": "then show Field With Id" "RULE-THEN": "then show Field With Id",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Target Field Id", "TARGET": "Target Field Id",
"VALUE": "Required Value", "VALUE": "Required Value",
"RULE-IF": "If Value is", "RULE-IF": "If Value is",
"RULE-THEN": "then show Field With Id" "RULE-THEN": "then show Field With Id",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Target Field Id", "TARGET": "Target Field Id",
"VALUE": "Valor requerido", "VALUE": "Valor requerido",
"RULE-IF": "Si el valor es", "RULE-IF": "Si el valor es",
"RULE-THEN": "entonces muestra el campo con identificación" "RULE-THEN": "entonces muestra el campo con identificación",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Ταυτοποίηση στοχοθετημένου πεδίου", "TARGET": "Ταυτοποίηση στοχοθετημένου πεδίου",
"VALUE": "Απαιτούμενη τιμή", "VALUE": "Απαιτούμενη τιμή",
"RULE-IF": "Εάν η τιμή είναι", "RULE-IF": "Εάν η τιμή είναι",
"RULE-THEN": "τότε δείξε το Πεδίο με ταυτοποίηση" "RULE-THEN": "τότε δείξε το Πεδίο με ταυτοποίηση",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Id do Campo de Destino", "TARGET": "Id do Campo de Destino",
"VALUE": "Valor Obrigatório", "VALUE": "Valor Obrigatório",
"RULE-IF": "Se Valor é", "RULE-IF": "Se Valor é",
"RULE-THEN": "então mostrar Campo com o Id" "RULE-THEN": "então mostrar Campo com o Id",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Target Field Id", "TARGET": "Target Field Id",
"VALUE": "Required Value", "VALUE": "Required Value",
"RULE-IF": "If Value is", "RULE-IF": "If Value is",
"RULE-THEN": "then show Field With Id" "RULE-THEN": "then show Field With Id",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Id ciljnog polja", "TARGET": "Id ciljnog polja",
"VALUE": "Obavezna vrednost", "VALUE": "Obavezna vrednost",
"RULE-IF": "Ako je vrednost", "RULE-IF": "Ako je vrednost",
"RULE-THEN": "tada prikazati polje sa Id" "RULE-THEN": "tada prikazati polje sa Id",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{

View File

@ -463,7 +463,9 @@
"TARGET": "Hedef Alan Kimliği", "TARGET": "Hedef Alan Kimliği",
"VALUE": "Gerekli Değer", "VALUE": "Gerekli Değer",
"RULE-IF": "Eğer değer", "RULE-IF": "Eğer değer",
"RULE-THEN": "sonra alanı kimliği ile göster" "RULE-THEN": "sonra alanı kimliği ile göster",
"FIELDSETS": "Input sets",
"FIELDS":"Inputs"
} }
}, },
"FORM-VALIDATION":{ "FORM-VALIDATION":{