|
|
|
@ -53,7 +53,8 @@ const skipDisable: any[] = require('../../../../../assets/resources/skipDisable.
|
|
|
|
|
selector: 'app-dataset-profile-editor-component',
|
|
|
|
|
templateUrl: './dataset-profile-editor.component.html',
|
|
|
|
|
styleUrls: ['./dataset-profile-editor.component.scss'],
|
|
|
|
|
animations:[...STEPPER_ANIMATIONS]
|
|
|
|
|
animations:[...STEPPER_ANIMATIONS],
|
|
|
|
|
providers:[VisibilityRulesService]
|
|
|
|
|
})
|
|
|
|
|
export class DatasetProfileEditorComponent extends BaseComponent implements OnInit {
|
|
|
|
|
|
|
|
|
@ -200,7 +201,7 @@ export class DatasetProfileEditorComponent extends BaseComponent implements OnIn
|
|
|
|
|
}
|
|
|
|
|
// this.addSection();
|
|
|
|
|
// this.addPage();
|
|
|
|
|
// this.visibilityRulesService.buildVisibilityRules([],this.form);
|
|
|
|
|
this.visibilityRulesService.buildVisibilityRules([],this.form);
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.steps = this.stepper.steps;
|
|
|
|
|
});
|
|
|
|
@ -227,7 +228,7 @@ export class DatasetProfileEditorComponent extends BaseComponent implements OnIn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prepareForm() {
|
|
|
|
|
// this.visibilityRulesService.buildVisibilityRules([],this.form);
|
|
|
|
|
this.visibilityRulesService.buildVisibilityRules([],this.form);
|
|
|
|
|
// this.form.setValidators([EditorCustomValidators.atLeastOneElementListValidator('pages'),EditorCustomValidators.pagesHaveAtLeastOneSection('pages', 'sections')]);
|
|
|
|
|
// this.form.updateValueAndValidity();
|
|
|
|
|
this.form.valueChanges
|
|
|
|
|