|
|
|
@ -42,6 +42,20 @@ export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, Empt |
|
|
|
NgbCollapseModule, |
|
|
|
NgbDropdownModule, |
|
|
|
NgxValidateCoreModule, |
|
|
|
], |
|
|
|
entryComponents: [...LAYOUTS, ValidationErrorComponent, CurrentUserComponent, LanguagesComponent], |
|
|
|
}) |
|
|
|
export class ThemeBasicModule { |
|
|
|
static forRoot(): ModuleWithProviders<ThemeBasicModule> { |
|
|
|
return { |
|
|
|
ngModule: RootThemeBasicModule, |
|
|
|
providers: [BASIC_THEME_NAV_ITEM_PROVIDERS, BASIC_THEME_STYLES_PROVIDERS], |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
imports: [ |
|
|
|
NgxValidateCoreModule.forRoot({ |
|
|
|
targetSelector: '.form-group', |
|
|
|
blueprints: { |
|
|
|
@ -63,13 +77,5 @@ export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, Empt |
|
|
|
errorTemplate: ValidationErrorComponent, |
|
|
|
}), |
|
|
|
], |
|
|
|
entryComponents: [...LAYOUTS, ValidationErrorComponent, CurrentUserComponent, LanguagesComponent], |
|
|
|
}) |
|
|
|
export class ThemeBasicModule { |
|
|
|
static forRoot(): ModuleWithProviders<ThemeBasicModule> { |
|
|
|
return { |
|
|
|
ngModule: ThemeBasicModule, |
|
|
|
providers: [BASIC_THEME_NAV_ITEM_PROVIDERS, BASIC_THEME_STYLES_PROVIDERS], |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
export class RootThemeBasicModule {} |
|
|
|
|