@ -26,9 +26,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< mat-form-field * ngIf = "form.get('data').value.type === datasetProfileComboBoxTypeEnum.WordList" class = "col-md-12" >
< mat-form-field * ngIf = "form.get('data').value.type === datasetProfileComboBoxTypeEnum.WordList" class = "col-md-12" >
@ -54,9 +54,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< mat-form-field class = "col-md-12" * ngIf = "form.get('data').value.type === this.datasetProfileInternalDmpEntitiesTypeEnum.Datasets" >
< mat-form-field class = "col-md-12" * ngIf = "form.get('data').value.type === this.datasetProfileInternalDmpEntitiesTypeEnum.Datasets" >
@ -69,9 +69,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< mat-form-field class = "col-md-12" * ngIf = "form.get('data').value.type === this.datasetProfileInternalDmpEntitiesTypeEnum.Dmps" >
< mat-form-field class = "col-md-12" * ngIf = "form.get('data').value.type === this.datasetProfileInternalDmpEntitiesTypeEnum.Dmps" >
@ -84,9 +84,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="singleAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< / div >
< / div >
@ -113,16 +113,16 @@
< mat-radio-button class = "radio-button-item" name = "{{form.get('id').value}}" value = "true" > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.ACTIONS.YES" | translate }}< / mat-radio-button >
< mat-radio-button class = "radio-button-item" name = "{{form.get('id').value}}" value = "true" > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.ACTIONS.YES" | translate }}< / mat-radio-button >
< mat-radio-button class = "radio-button-item" name = "{{form.get('id').value}}" value = "false" > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.ACTIONS.NO" | translate }}< / mat-radio-button >
< mat-radio-button class = "radio-button-item" name = "{{form.get('id').value}}" value = "false" > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.ACTIONS.NO" | translate }}< / mat-radio-button >
< / mat-radio-group >
< / mat-radio-group >
< mat-error * ngIf = "form.get('value').hasError('required') "> {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< small class = "text-danger d-block" * ngIf = "form.get('value').hasError('required') && form.get('value').touched "> {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / small >
< / div >
< / div >
< div * ngSwitchCase = "datasetProfileFieldViewStyleEnum.RadioBox" class = "col-12" >
< div * ngSwitchCase = "datasetProfileFieldViewStyleEnum.RadioBox" class = "col-12" >
< mat-radio-group [ formControl ] = " form . get ( ' value ' ) " [ required ] = " form . get ( ' validationRequired ' ) . value " >
< mat-radio-group [ formControl ] = " form . get ( ' value ' ) " [ required ] = " form . get ( ' validationRequired ' ) . value " >
< mat-radio-button * ngFor = "let option of form.get('data').value.options let index = index" class = "radio-button-item" [ value ] = " option . value " > {{option.label}}< / mat-radio-button >
< mat-radio-button * ngFor = "let option of form.get('data').value.options let index = index" class = "radio-button-item" [ value ] = " option . value " > {{option.label}}< / mat-radio-button >
< / mat-radio-group >
< / mat-radio-group >
< mat-error * ngIf = "form.get('value').hasError('required') "> {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< small class = "text-danger d-block" * ngIf = "form.get('value').hasError('required') && form.get('value').touched "> {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / small >
< / div >
< / div >
< mat-form-field * ngSwitchCase = "datasetProfileFieldViewStyleEnum.DatePicker" class = "col-12" >
< mat-form-field * ngSwitchCase = "datasetProfileFieldViewStyleEnum.DatePicker" class = "col-12" >
@ -167,9 +167,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="dataRepositoriesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="dataRepositoriesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< / div >
< / div >
@ -187,9 +187,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="registriesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="registriesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< / div >
< / div >
@ -207,9 +207,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="servicesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="servicesAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / div >
< / div >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< / div >
< / div >
@ -239,11 +239,9 @@
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
< app-single-auto-complete placeholder = "{{ form.get('data').value.label | translate }}" [ formControl ] = " form . get ( ' value ' ) "
[configuration]="researchersAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
[configuration]="researchersAutoCompleteConfiguration" [required]="form.get('validationRequired').value">
< / app-single-auto-complete >
< / app-single-auto-complete >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< / ng-container >
< / ng-container >
< mat-error * ngIf = "form.get('value').hasError('required')" > {{'GENERAL.VALIDATION.REQUIRED' | translate}}
< / mat-error >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< mat-hint > {{ "TYPES.DATASET-PROFILE-COMBO-BOX-TYPE.EXTERNAL-SOURCE-HINT" | translate }}< / mat-hint >
< / mat-form-field >
< / mat-form-field >
< / div >
< / div >