|
|
|
|
@ -4,7 +4,6 @@ import { NgModule } from '@angular/core';
|
|
|
|
|
import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
|
|
|
import { NgxsModule } from '@ngxs/store';
|
|
|
|
|
import { ToastModule } from 'primeng/toast';
|
|
|
|
|
import { AccountLayoutComponent } from './components/account-layout/account-layout.component';
|
|
|
|
|
import { ApplicationLayoutComponent } from './components/application-layout/application-layout.component';
|
|
|
|
|
import { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component';
|
|
|
|
|
@ -21,7 +20,6 @@ export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, Empt
|
|
|
|
|
ThemeSharedModule,
|
|
|
|
|
NgbCollapseModule,
|
|
|
|
|
NgbDropdownModule,
|
|
|
|
|
ToastModule,
|
|
|
|
|
NgxValidateCoreModule,
|
|
|
|
|
NgxsModule.forFeature([LayoutState]),
|
|
|
|
|
NgxValidateCoreModule.forRoot({
|
|
|
|
|
@ -29,9 +27,11 @@ export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, Empt
|
|
|
|
|
blueprints: {
|
|
|
|
|
email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.',
|
|
|
|
|
max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
|
|
|
|
|
maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',
|
|
|
|
|
maxlength:
|
|
|
|
|
'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',
|
|
|
|
|
min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',
|
|
|
|
|
minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',
|
|
|
|
|
minlength:
|
|
|
|
|
'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',
|
|
|
|
|
required: 'AbpAccount::ThisFieldIsRequired.',
|
|
|
|
|
passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed',
|
|
|
|
|
},
|
|
|
|
|
|