File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
shared/form/builder/parsers Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ import {
1313 TransferState ,
1414 Type ,
1515} from '@angular/core' ;
16- import { DYNAMIC_FORM_CONTROL_MAP_FN , DYNAMIC_VALIDATORS } from '@ng-dynamic-forms/core' ;
16+ import {
17+ DYNAMIC_FORM_CONTROL_MAP_FN ,
18+ DYNAMIC_VALIDATORS ,
19+ } from '@ng-dynamic-forms/core' ;
1720import {
1821 select ,
1922 Store ,
@@ -41,11 +44,11 @@ import { LocaleService } from './core/locale/locale.service';
4144import { HeadTagService } from './core/metadata/head-tag.service' ;
4245import { CorrelationIdService } from './correlation-id/correlation-id.service' ;
4346import { dsDynamicFormControlMapFn } from './shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-map-fn' ;
47+ import { CUSTOM_VALIDATORS } from './shared/form/builder/parsers/field-parser' ;
4448import { MenuService } from './shared/menu/menu.service' ;
4549import { MenuProviderService } from './shared/menu/menu-provider.service' ;
4650import { ThemeService } from './shared/theme-support/theme.service' ;
4751import { Angulartics2DSpace } from './statistics/angulartics/dspace-provider' ;
48- import { CUSTOM_VALIDATORS } from './shared/form/builder/parsers/field-parser' ;
4952
5053/**
5154 * Performs the initialization of the app.
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ import {
22 Inject ,
33 InjectionToken ,
44} from '@angular/core' ;
5+ import {
6+ AbstractControl ,
7+ ValidatorFn ,
8+ } from '@angular/forms' ;
59import {
610 DynamicFormControlLayout ,
711 DynamicFormControlRelation ,
@@ -36,7 +40,6 @@ import { VisibilityType } from './../../../../submission/sections/visibility-typ
3640import { setLayout } from './parser.utils' ;
3741import { ParserOptions } from './parser-options' ;
3842import { ParserType } from './parser-type' ;
39- import { AbstractControl , ValidatorFn } from '@angular/forms' ;
4043
4144export const SUBMISSION_ID : InjectionToken < string > = new InjectionToken < string > ( 'submissionId' ) ;
4245export const CONFIG_DATA : InjectionToken < FormFieldModel > = new InjectionToken < FormFieldModel > ( 'configData' ) ;
You can’t perform that action at this time.
0 commit comments