@abp/ng.account 5.0.0-beta.2 → 5.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bundles/abp-ng.account-config.umd.js +8 -10
- package/bundles/abp-ng.account-config.umd.js.map +1 -1
- package/bundles/abp-ng.account.umd.js +46 -49
- package/bundles/abp-ng.account.umd.js.map +1 -1
- package/esm2015/abp-ng.account.js +1 -1
- package/esm2015/config/abp-ng.account-config.js +1 -1
- package/esm2015/config/account-config.module.js +5 -5
- package/esm2015/config/enums/index.js +1 -1
- package/esm2015/config/enums/route-names.js +1 -1
- package/esm2015/config/providers/index.js +1 -1
- package/esm2015/config/providers/route.provider.js +1 -1
- package/esm2015/config/public-api.js +1 -1
- package/esm2015/config/utils/factories.js +1 -1
- package/esm2015/lib/account-routing.module.js +7 -7
- package/esm2015/lib/account.module.js +5 -5
- package/esm2015/lib/components/change-password/change-password.component.js +6 -6
- package/esm2015/lib/components/forgot-password/forgot-password.component.js +4 -4
- package/esm2015/lib/components/index.js +1 -1
- package/esm2015/lib/components/login/login.component.js +4 -4
- package/esm2015/lib/components/manage-profile/manage-profile.component.js +10 -10
- package/esm2015/lib/components/personal-settings/personal-settings.component.js +6 -6
- package/esm2015/lib/components/register/register.component.js +4 -4
- package/esm2015/lib/components/reset-password/reset-password.component.js +4 -4
- package/esm2015/lib/enums/components.js +1 -1
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/guards/authentication-flow.guard.js +4 -4
- package/esm2015/lib/guards/index.js +1 -1
- package/esm2015/lib/models/account.js +1 -1
- package/esm2015/lib/models/config-options.js +1 -1
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/services/index.js +1 -1
- package/esm2015/lib/services/manage-profile.state.service.js +4 -4
- package/esm2015/lib/tokens/config-options.token.js +1 -1
- package/esm2015/lib/tokens/index.js +1 -1
- package/esm2015/lib/utils/auth-utils.js +1 -1
- package/esm2015/lib/utils/factory-utils.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/abp-ng.account-config.js +4 -4
- package/fesm2015/abp-ng.account-config.js.map +1 -1
- package/fesm2015/abp-ng.account.js +44 -45
- package/fesm2015/abp-ng.account.js.map +1 -1
- package/lib/components/change-password/change-password.component.d.ts +1 -1
- package/lib/components/manage-profile/manage-profile.component.d.ts +2 -2
- package/lib/components/personal-settings/personal-settings.component.d.ts +1 -1
- package/lib/services/manage-profile.state.service.d.ts +1 -1
- package/package.json +5 -7
- package/esm2015/abp-ng.account.js.map +0 -1
- package/esm2015/config/abp-ng.account-config.js.map +0 -1
- package/esm2015/config/account-config.module.js.map +0 -1
- package/esm2015/config/enums/index.js.map +0 -1
- package/esm2015/config/enums/route-names.js.map +0 -1
- package/esm2015/config/providers/index.js.map +0 -1
- package/esm2015/config/providers/route.provider.js.map +0 -1
- package/esm2015/config/public-api.js.map +0 -1
- package/esm2015/config/utils/factories.js.map +0 -1
- package/esm2015/lib/account-routing.module.js.map +0 -1
- package/esm2015/lib/account.module.js.map +0 -1
- package/esm2015/lib/components/change-password/change-password.component.js.map +0 -1
- package/esm2015/lib/components/forgot-password/forgot-password.component.js.map +0 -1
- package/esm2015/lib/components/index.js.map +0 -1
- package/esm2015/lib/components/login/login.component.js.map +0 -1
- package/esm2015/lib/components/manage-profile/manage-profile.component.js.map +0 -1
- package/esm2015/lib/components/personal-settings/personal-settings.component.js.map +0 -1
- package/esm2015/lib/components/register/register.component.js.map +0 -1
- package/esm2015/lib/components/reset-password/reset-password.component.js.map +0 -1
- package/esm2015/lib/enums/components.js.map +0 -1
- package/esm2015/lib/enums/index.js.map +0 -1
- package/esm2015/lib/guards/authentication-flow.guard.js.map +0 -1
- package/esm2015/lib/guards/index.js.map +0 -1
- package/esm2015/lib/models/account.js.map +0 -1
- package/esm2015/lib/models/config-options.js.map +0 -1
- package/esm2015/lib/models/index.js.map +0 -1
- package/esm2015/lib/services/index.js.map +0 -1
- package/esm2015/lib/services/manage-profile.state.service.js.map +0 -1
- package/esm2015/lib/tokens/config-options.token.js.map +0 -1
- package/esm2015/lib/tokens/index.js.map +0 -1
- package/esm2015/lib/utils/auth-utils.js.map +0 -1
- package/esm2015/lib/utils/factory-utils.js.map +0 -1
- package/esm2015/public-api.js.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
2
2
|
export {};
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FjY291bnQvc3JjL2xpYi9tb2RlbHMvYWNjb3VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwwREFBMEQiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZW1wdHktaW50ZXJmYWNlICovXHJcblxyXG5leHBvcnQgbmFtZXNwYWNlIEFjY291bnQge1xyXG4gIGV4cG9ydCBpbnRlcmZhY2UgVGVuYW50Qm94Q29tcG9uZW50SW5wdXRzIHt9XHJcbiAgZXhwb3J0IGludGVyZmFjZSBUZW5hbnRCb3hDb21wb25lbnRPdXRwdXRzIHt9XHJcbiAgZXhwb3J0IGludGVyZmFjZSBQZXJzb25hbFNldHRpbmdzQ29tcG9uZW50SW5wdXRzIHt9XHJcbiAgZXhwb3J0IGludGVyZmFjZSBQZXJzb25hbFNldHRpbmdzQ29tcG9uZW50T3V0cHV0cyB7fVxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQ2hhbmdlUGFzc3dvcmRDb21wb25lbnRJbnB1dHMge31cclxuICBleHBvcnQgaW50ZXJmYWNlIENoYW5nZVBhc3N3b3JkQ29tcG9uZW50T3V0cHV0cyB7fVxyXG59XHJcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hY2NvdW50L3NyYy9saWIvbW9kZWxzL2NvbmZpZy1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFjY291bnRDb25maWdPcHRpb25zIHtcclxuICByZWRpcmVjdFVybD86IHN0cmluZztcclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './account';
|
|
2
2
|
export * from './config-options';
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hY2NvdW50L3NyYy9saWIvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FjY291bnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbmZpZy1vcHRpb25zJztcclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './manage-profile.state.service';
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hY2NvdW50L3NyYy9saWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWFuYWdlLXByb2ZpbGUuc3RhdGUuc2VydmljZSc7XHJcbiJdfQ==
|
|
@@ -18,10 +18,10 @@ export class ManageProfileStateService {
|
|
|
18
18
|
this.store.patch({ profile });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
ManageProfileStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
22
|
-
ManageProfileStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
21
|
+
ManageProfileStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
+
ManageProfileStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, providedIn: 'root' });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}] });
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLXByb2ZpbGUuc3RhdGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FjY291bnQvc3JjL2xpYi9zZXJ2aWNlcy9tYW5hZ2UtcHJvZmlsZS5zdGF0ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFN0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRM0MsTUFBTSxPQUFPLHlCQUF5QjtJQUR0QztRQUVtQixVQUFLLEdBQUcsSUFBSSxhQUFhLENBQUMsRUFBd0IsQ0FBQyxDQUFDO0tBaUJ0RTtJQWZDLElBQUksb0JBQW9CO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxXQUFXLENBQUM7SUFDaEMsQ0FBQztJQUVELFdBQVc7UUFDVCxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ3ZELENBQUM7SUFFRCxVQUFVO1FBQ1IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUM7SUFDbEMsQ0FBQztJQUVELFVBQVUsQ0FBQyxPQUFtQjtRQUM1QixJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxDQUFDLENBQUM7SUFDaEMsQ0FBQzs7dUhBakJVLHlCQUF5QjsySEFBekIseUJBQXlCLGNBRFosTUFBTTs0RkFDbkIseUJBQXlCO2tCQURyQyxVQUFVO21CQUFDLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEludGVybmFsU3RvcmUgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5pbXBvcnQgeyBQcm9maWxlRHRvIH0gZnJvbSAnQGFicC9uZy5hY2NvdW50LmNvcmUvcHJveHknO1xyXG5pbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgTWFuYWdlUHJvZmlsZVN0YXRlIHtcclxuICBwcm9maWxlOiBQcm9maWxlRHRvO1xyXG59XHJcblxyXG5ASW5qZWN0YWJsZSh7IHByb3ZpZGVkSW46ICdyb290JyB9KVxyXG5leHBvcnQgY2xhc3MgTWFuYWdlUHJvZmlsZVN0YXRlU2VydmljZSB7XHJcbiAgcHJpdmF0ZSByZWFkb25seSBzdG9yZSA9IG5ldyBJbnRlcm5hbFN0b3JlKHt9IGFzIE1hbmFnZVByb2ZpbGVTdGF0ZSk7XHJcblxyXG4gIGdldCBjcmVhdGVPblVwZGF0ZVN0cmVhbSgpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNsaWNlVXBkYXRlO1xyXG4gIH1cclxuXHJcbiAgZ2V0UHJvZmlsZSQoKTogT2JzZXJ2YWJsZTxQcm9maWxlRHRvPiB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zbGljZVN0YXRlKHN0YXRlID0+IHN0YXRlLnByb2ZpbGUpO1xyXG4gIH1cclxuXHJcbiAgZ2V0UHJvZmlsZSgpOiBQcm9maWxlRHRvIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnN0YXRlLnByb2ZpbGU7XHJcbiAgfVxyXG5cclxuICBzZXRQcm9maWxlKHByb2ZpbGU6IFByb2ZpbGVEdG8pIHtcclxuICAgIHRoaXMuc3RvcmUucGF0Y2goeyBwcm9maWxlIH0pO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
export const ACCOUNT_CONFIG_OPTIONS = new InjectionToken('ACCOUNT_CONFIG_OPTIONS');
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLW9wdGlvbnMudG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hY2NvdW50L3NyYy9saWIvdG9rZW5zL2NvbmZpZy1vcHRpb25zLnRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUcsSUFBSSxjQUFjLENBQ3RELHdCQUF3QixDQUN6QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQWNjb3VudENvbmZpZ09wdGlvbnMgfSBmcm9tICcuLi9tb2RlbHMvY29uZmlnLW9wdGlvbnMnO1xyXG5cclxuZXhwb3J0IGNvbnN0IEFDQ09VTlRfQ09ORklHX09QVElPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW48QWNjb3VudENvbmZpZ09wdGlvbnM+KFxyXG4gICdBQ0NPVU5UX0NPTkZJR19PUFRJT05TJyxcclxuKTtcclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './config-options.token';
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hY2NvdW50L3NyYy9saWIvdG9rZW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbmZpZy1vcHRpb25zLnRva2VuJztcclxuIl19
|
|
@@ -5,4 +5,4 @@ export function getRedirectUrl(injector) {
|
|
|
5
5
|
const options = injector.get(ACCOUNT_CONFIG_OPTIONS);
|
|
6
6
|
return route.snapshot.queryParams.returnUrl || options.redirectUrl || '/';
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FjY291bnQvc3JjL2xpYi91dGlscy9hdXRoLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUV4RSxNQUFNLFVBQVUsY0FBYyxDQUFDLFFBQWtCO0lBQy9DLE1BQU0sS0FBSyxHQUFHLFFBQVEsQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLENBQUM7SUFDM0MsTUFBTSxPQUFPLEdBQUcsUUFBUSxDQUFDLEdBQUcsQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0lBQ3JELE9BQU8sS0FBSyxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsU0FBUyxJQUFJLE9BQU8sQ0FBQyxXQUFXLElBQUksR0FBRyxDQUFDO0FBQzVFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RvciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBBY3RpdmF0ZWRSb3V0ZSB9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XHJcbmltcG9ydCB7IEFDQ09VTlRfQ09ORklHX09QVElPTlMgfSBmcm9tICcuLi90b2tlbnMvY29uZmlnLW9wdGlvbnMudG9rZW4nO1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIGdldFJlZGlyZWN0VXJsKGluamVjdG9yOiBJbmplY3Rvcikge1xyXG4gIGNvbnN0IHJvdXRlID0gaW5qZWN0b3IuZ2V0KEFjdGl2YXRlZFJvdXRlKTtcclxuICBjb25zdCBvcHRpb25zID0gaW5qZWN0b3IuZ2V0KEFDQ09VTlRfQ09ORklHX09QVElPTlMpO1xyXG4gIHJldHVybiByb3V0ZS5zbmFwc2hvdC5xdWVyeVBhcmFtcy5yZXR1cm5VcmwgfHwgb3B0aW9ucy5yZWRpcmVjdFVybCB8fCAnLyc7XHJcbn1cclxuIl19
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function accountConfigOptionsFactory(options) {
|
|
2
2
|
return Object.assign({ redirectUrl: '/' }, options);
|
|
3
3
|
}
|
|
4
|
-
//# sourceMappingURL=
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjdG9yeS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FjY291bnQvc3JjL2xpYi91dGlscy9mYWN0b3J5LXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSwyQkFBMkIsQ0FBQyxPQUE2QjtJQUN2RSx1QkFDRSxXQUFXLEVBQUUsR0FBRyxJQUNiLE9BQU8sRUFDVjtBQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBY2NvdW50Q29uZmlnT3B0aW9ucyB9IGZyb20gJy4uL21vZGVscy9jb25maWctb3B0aW9ucyc7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gYWNjb3VudENvbmZpZ09wdGlvbnNGYWN0b3J5KG9wdGlvbnM6IEFjY291bnRDb25maWdPcHRpb25zKSB7XHJcbiAgcmV0dXJuIHtcclxuICAgIHJlZGlyZWN0VXJsOiAnLycsXHJcbiAgICAuLi5vcHRpb25zLFxyXG4gIH07XHJcbn1cclxuIl19
|
package/esm2015/public-api.js
CHANGED
|
@@ -5,4 +5,4 @@ export * from './lib/guards';
|
|
|
5
5
|
export * from './lib/models';
|
|
6
6
|
export * from './lib/services';
|
|
7
7
|
export * from './lib/tokens';
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2FjY291bnQvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9hY2NvdW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9lbnVtcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2d1YXJkcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL21vZGVscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdG9rZW5zJztcclxuIl19
|
|
@@ -75,10 +75,10 @@ class AccountConfigModule {
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
AccountConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
79
|
-
AccountConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
80
|
-
AccountConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
78
|
+
AccountConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
79
|
+
AccountConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountConfigModule });
|
|
80
|
+
AccountConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountConfigModule });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountConfigModule, decorators: [{
|
|
82
82
|
type: NgModule
|
|
83
83
|
}] });
|
|
84
84
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abp-ng.account-config.js","sources":["../../../../packages/account/config/src/providers/route.provider.ts","../../../../packages/account/config/src/utils/factories.ts","../../../../packages/account/config/src/account-config.module.ts","../../../../packages/account/config/src/abp-ng.account-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\nimport { APP_INITIALIZER } from '@angular/core';\nimport { eAccountRouteNames } from '../enums/route-names';\n\nexport const ACCOUNT_ROUTE_PROVIDERS = [\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\n];\n\nexport function configureRoutes(routes: RoutesService) {\n return () => {\n routes.add([\n {\n path: undefined,\n name: eAccountRouteNames.Account,\n invisible: true,\n layout: eLayoutType.account,\n order: 1,\n },\n {\n path: '/account/login',\n name: eAccountRouteNames.Login,\n parentName: eAccountRouteNames.Account,\n order: 1,\n },\n {\n path: '/account/register',\n name: eAccountRouteNames.Register,\n parentName: eAccountRouteNames.Account,\n order: 2,\n },\n {\n path: '/account/manage',\n name: eAccountRouteNames.ManageProfile,\n parentName: eAccountRouteNames.Account,\n layout: eLayoutType.application,\n order: 3,\n },\n {\n path: '/account/forgot-password',\n parentName: eAccountRouteNames.Account,\n name: eAccountRouteNames.ForgotPassword,\n invisible: true,\n },\n {\n path: '/account/reset-password',\n parentName: eAccountRouteNames.Account,\n name: eAccountRouteNames.ResetPassword,\n invisible: true,\n },\n ]);\n };\n}\n","import { Injector } from '@angular/core';\nimport { RoutesService } from '@abp/ng.core';\nimport { Router } from '@angular/router';\nimport { eAccountRouteNames } from '../enums/route-names';\n\nexport function navigateToManageProfileFactory(injector: Injector) {\n return () => {\n const router = injector.get(Router);\n const routes = injector.get(RoutesService);\n const { path } = routes.find(item => item.name === eAccountRouteNames.ManageProfile);\n router.navigateByUrl(path);\n };\n}\n","import { Injector, ModuleWithProviders, NgModule } from '@angular/core';\nimport { NAVIGATE_TO_MANAGE_PROFILE } from '@abp/ng.core';\nimport { ACCOUNT_ROUTE_PROVIDERS } from './providers/route.provider';\nimport { navigateToManageProfileFactory } from './utils/factories';\n\n@NgModule()\nexport class AccountConfigModule {\n static forRoot(): ModuleWithProviders<AccountConfigModule> {\n return {\n ngModule: AccountConfigModule,\n providers: [\n ACCOUNT_ROUTE_PROVIDERS,\n {\n provide: NAVIGATE_TO_MANAGE_PROFILE,\n useFactory: navigateToManageProfileFactory,\n deps: [Injector],\n },\n ],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAIa,uBAAuB,GAAG;IACrC,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE;EAC7F;SAEc,eAAe,CAAC,MAAqB;IACnD,OAAO;QACL,MAAM,CAAC,GAAG,CAAC;YACT;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI;gBACJ,SAAS,EAAE,IAAI;gBACf,MAAM;gBACN,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI;gBACJ,UAAU;gBACV,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI;gBACJ,UAAU;gBACV,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI;gBACJ,UAAU;gBACV,MAAM;gBACN,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,0BAA0B;gBAChC,UAAU;gBACV,IAAI;gBACJ,SAAS,EAAE,IAAI;aAChB;YACD;gBACE,IAAI,EAAE,yBAAyB;gBAC/B,UAAU;gBACV,IAAI;gBACJ,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAC;KACJ,CAAC;AACJ;;SC9CgB,8BAA8B,CAAC,QAAkB;IAC/D,OAAO;QACL,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACpC,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC3C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,iDAAsC,CAAC;QACrF,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;KAC5B,CAAC;AACJ;;MCNa,mBAAmB;IAC9B,OAAO,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,mBAAmB;YAC7B,SAAS,EAAE;gBACT,uBAAuB;gBACvB;oBACE,OAAO,EAAE,0BAA0B;oBACnC,UAAU,EAAE,8BAA8B;oBAC1C,IAAI,EAAE,CAAC,QAAQ,CAAC;iBACjB;aACF;SACF,CAAC;KACH;;
|
|
1
|
+
{"version":3,"file":"abp-ng.account-config.js","sources":["../../../../packages/account/config/src/providers/route.provider.ts","../../../../packages/account/config/src/utils/factories.ts","../../../../packages/account/config/src/account-config.module.ts","../../../../packages/account/config/src/abp-ng.account-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eAccountRouteNames } from '../enums/route-names';\r\n\r\nexport const ACCOUNT_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n path: undefined,\r\n name: eAccountRouteNames.Account,\r\n invisible: true,\r\n layout: eLayoutType.account,\r\n order: 1,\r\n },\r\n {\r\n path: '/account/login',\r\n name: eAccountRouteNames.Login,\r\n parentName: eAccountRouteNames.Account,\r\n order: 1,\r\n },\r\n {\r\n path: '/account/register',\r\n name: eAccountRouteNames.Register,\r\n parentName: eAccountRouteNames.Account,\r\n order: 2,\r\n },\r\n {\r\n path: '/account/manage',\r\n name: eAccountRouteNames.ManageProfile,\r\n parentName: eAccountRouteNames.Account,\r\n layout: eLayoutType.application,\r\n order: 3,\r\n },\r\n {\r\n path: '/account/forgot-password',\r\n parentName: eAccountRouteNames.Account,\r\n name: eAccountRouteNames.ForgotPassword,\r\n invisible: true,\r\n },\r\n {\r\n path: '/account/reset-password',\r\n parentName: eAccountRouteNames.Account,\r\n name: eAccountRouteNames.ResetPassword,\r\n invisible: true,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { Injector } from '@angular/core';\r\nimport { RoutesService } from '@abp/ng.core';\r\nimport { Router } from '@angular/router';\r\nimport { eAccountRouteNames } from '../enums/route-names';\r\n\r\nexport function navigateToManageProfileFactory(injector: Injector) {\r\n return () => {\r\n const router = injector.get(Router);\r\n const routes = injector.get(RoutesService);\r\n const { path } = routes.find(item => item.name === eAccountRouteNames.ManageProfile);\r\n router.navigateByUrl(path);\r\n };\r\n}\r\n","import { Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { NAVIGATE_TO_MANAGE_PROFILE } from '@abp/ng.core';\r\nimport { ACCOUNT_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { navigateToManageProfileFactory } from './utils/factories';\r\n\r\n@NgModule()\r\nexport class AccountConfigModule {\r\n static forRoot(): ModuleWithProviders<AccountConfigModule> {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n ACCOUNT_ROUTE_PROVIDERS,\r\n {\r\n provide: NAVIGATE_TO_MANAGE_PROFILE,\r\n useFactory: navigateToManageProfileFactory,\r\n deps: [Injector],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAIa,uBAAuB,GAAG;IACrC,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE;EAC7F;SAEc,eAAe,CAAC,MAAqB;IACnD,OAAO;QACL,MAAM,CAAC,GAAG,CAAC;YACT;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI;gBACJ,SAAS,EAAE,IAAI;gBACf,MAAM;gBACN,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI;gBACJ,UAAU;gBACV,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI;gBACJ,UAAU;gBACV,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI;gBACJ,UAAU;gBACV,MAAM;gBACN,KAAK,EAAE,CAAC;aACT;YACD;gBACE,IAAI,EAAE,0BAA0B;gBAChC,UAAU;gBACV,IAAI;gBACJ,SAAS,EAAE,IAAI;aAChB;YACD;gBACE,IAAI,EAAE,yBAAyB;gBAC/B,UAAU;gBACV,IAAI;gBACJ,SAAS,EAAE,IAAI;aAChB;SACF,CAAC,CAAC;KACJ,CAAC;AACJ;;SC9CgB,8BAA8B,CAAC,QAAkB;IAC/D,OAAO;QACL,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACpC,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC3C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,iDAAsC,CAAC;QACrF,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;KAC5B,CAAC;AACJ;;MCNa,mBAAmB;IAC9B,OAAO,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,mBAAmB;YAC7B,SAAS,EAAE;gBACT,uBAAuB;gBACvB;oBACE,OAAO,EAAE,0BAA0B;oBACnC,UAAU,EAAE,8BAA8B;oBAC1C,IAAI,EAAE,CAAC,QAAQ,CAAC;iBACjB;aACF;SACF,CAAC;KACH;;iHAbU,mBAAmB;kHAAnB,mBAAmB;kHAAnB,mBAAmB;4FAAnB,mBAAmB;kBAD/B,QAAQ;;;ACLT;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i3 from '@abp/ng.core';
|
|
2
|
-
import { InternalStore,
|
|
2
|
+
import { InternalStore, RouterOutletComponent, ReplaceableRouteContainerComponent, AuthGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
3
3
|
import * as i2$1 from '@abp/ng.theme.shared';
|
|
4
4
|
import { getPasswordValidators, fadeIn, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -15,7 +15,6 @@ import { Validators, FormControl } from '@angular/forms';
|
|
|
15
15
|
import { finalize, catchError, switchMap } from 'rxjs/operators';
|
|
16
16
|
import * as i6 from '@angular/common';
|
|
17
17
|
import { throwError } from 'rxjs';
|
|
18
|
-
import * as i3$2 from '@abp/ng.identity/proxy';
|
|
19
18
|
import { trigger, transition, useAnimation } from '@angular/animations';
|
|
20
19
|
|
|
21
20
|
class ForgotPasswordComponent {
|
|
@@ -42,9 +41,9 @@ class ForgotPasswordComponent {
|
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
|
-
ForgotPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
46
|
-
ForgotPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
44
|
+
ForgotPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ForgotPasswordComponent, deps: [{ token: i1.FormBuilder }, { token: i2.AccountService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
ForgotPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ForgotPasswordComponent, selector: "abp-forgot-password", ngImport: i0, template: "<h4>{{ 'AbpAccount::ForgotPassword' | abpLocalization }}</h4>\r\n\r\n<form\r\n *ngIf=\"!isEmailSent; else emailSentTemplate\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"onSubmit()\"\r\n validateOnSubmit\r\n>\r\n <p>{{ 'AbpAccount::SendPasswordResetLink_Information' | abpLocalization }}</p>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-email-address\" class=\"form-label\">{{\r\n 'AbpAccount::EmailAddress' | abpLocalization\r\n }}</label\r\n ><span> * </span>\r\n <input type=\"email\" id=\"input-email-address\" class=\"form-control\" formControlName=\"email\" />\r\n </div>\r\n <abp-button\r\n class=\"d-block\"\r\n buttonClass=\"mt-2 mb-3 btn btn-primary btn-block\"\r\n [loading]=\"inProgress\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpAccount::Submit' | abpLocalization }}\r\n </abp-button>\r\n <a routerLink=\"/account/login\"\r\n ><i class=\"fa fa-long-arrow-left me-1\"></i>{{ 'AbpAccount::Login' | abpLocalization }}</a\r\n >\r\n</form>\r\n\r\n<ng-template #emailSentTemplate>\r\n <p>\r\n {{ 'AbpAccount::PasswordResetMailSentMessage' | abpLocalization }}\r\n </p>\r\n\r\n <a routerLink=\"/account/login\">\r\n <button class=\"d-block mt-2 mb-3 btn btn-primary btn-block\">\r\n <i class=\"fa fa-long-arrow-left me-1\"></i>\r\n {{ 'AbpAccount::BackToLogin' | abpLocalization }}\r\n </button>\r\n </a>\r\n</ng-template>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i3$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ForgotPasswordComponent, decorators: [{
|
|
48
47
|
type: Component,
|
|
49
48
|
args: [{
|
|
50
49
|
selector: 'abp-forgot-password',
|
|
@@ -104,9 +103,9 @@ class LoginComponent {
|
|
|
104
103
|
.subscribe();
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
|
-
LoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
108
|
-
LoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
106
|
+
LoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoginComponent, deps: [{ token: i0.Injector }, { token: i1.FormBuilder }, { token: i2$1.ToasterService }, { token: i3.AuthService }, { token: i3.ConfigStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
+
LoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LoginComponent, selector: "abp-login", ngImport: i0, template: "<h4>{{ 'AbpAccount::Login' | abpLocalization }}</h4>\r\n<strong *ngIf=\"isSelfRegistrationEnabled\">\r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n <a class=\"text-decoration-none\" routerLink=\"/account/register\" queryParamsHandling=\"preserve\">{{\r\n 'AbpAccount::Register' | abpLocalization\r\n }}</a>\r\n</strong>\r\n<form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\" validateOnSubmit class=\"mt-4\">\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"login-input-user-name-or-email-address\" class=\"form-label\">{{\r\n 'AbpAccount::UserNameOrEmailAddress' | abpLocalization\r\n }}</label>\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n id=\"login-input-user-name-or-email-address\"\r\n formControlName=\"username\"\r\n autocomplete=\"username\"\r\n autofocus\r\n />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"login-input-password\" class=\"form-label\">{{ 'AbpAccount::Password' | abpLocalization }}</label>\r\n <input\r\n class=\"form-control\"\r\n type=\"password\"\r\n id=\"login-input-password\"\r\n formControlName=\"password\"\r\n autocomplete=\"current-password\"\r\n />\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col\">\r\n <div class=\"form-check\">\r\n <label class=\"form-check-label mb-2\" for=\"login-input-remember-me\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"login-input-remember-me\"\r\n formControlName=\"rememberMe\"\r\n />\r\n {{ 'AbpAccount::RememberMe' | abpLocalization }}\r\n </label>\r\n </div>\r\n </div>\r\n <div class=\"text-end col\">\r\n <a routerLink=\"/account/forgot-password\">{{\r\n 'AbpAccount::ForgotPassword' | abpLocalization\r\n }}</a>\r\n </div>\r\n </div>\r\n\r\n <abp-button\r\n [loading]=\"inProgress\"\r\n buttonType=\"submit\"\r\n name=\"Action\"\r\n buttonClass=\"btn-block btn-lg mt-3 btn btn-primary\"\r\n >\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n </abp-button>\r\n</form>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i3.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LoginComponent, decorators: [{
|
|
110
109
|
type: Component,
|
|
111
110
|
args: [{
|
|
112
111
|
selector: 'abp-login',
|
|
@@ -131,9 +130,9 @@ class ManageProfileStateService {
|
|
|
131
130
|
this.store.patch({ profile });
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
|
-
ManageProfileStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
135
|
-
ManageProfileStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
133
|
+
ManageProfileStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
134
|
+
ManageProfileStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, providedIn: 'root' });
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileStateService, decorators: [{
|
|
137
136
|
type: Injectable,
|
|
138
137
|
args: [{ providedIn: 'root' }]
|
|
139
138
|
}] });
|
|
@@ -202,16 +201,16 @@ class ChangePasswordComponent {
|
|
|
202
201
|
});
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
|
-
ChangePasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
206
|
-
ChangePasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
204
|
+
ChangePasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ChangePasswordComponent, deps: [{ token: i1.FormBuilder }, { token: i0.Injector }, { token: i2$1.ToasterService }, { token: i2.ProfileService }, { token: ManageProfileStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
205
|
+
ChangePasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ChangePasswordComponent, selector: "abp-change-password-form", exportAs: ["abpChangePasswordForm"], ngImport: i0, template: "<form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\" [mapErrorsFn]=\"mapErrorsFn\" validateOnSubmit>\r\n <div *ngIf=\"!hideCurrentPassword\" class=\"mb-3 form-group\">\r\n <label for=\"current-password\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:CurrentPassword' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n type=\"password\"\r\n id=\"current-password\"\r\n class=\"form-control\"\r\n formControlName=\"password\"\r\n autofocus\r\n autocomplete=\"current-password\"\r\n />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"new-password\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:NewPassword' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n type=\"password\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n formControlName=\"newPassword\"\r\n autocomplete=\"new-password\"\r\n />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"confirm-new-password\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:NewPasswordConfirm' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n type=\"password\"\r\n id=\"confirm-new-password\"\r\n class=\"form-control\"\r\n formControlName=\"repeatNewPassword\"\r\n autocomplete=\"new-password\"\r\n />\r\n </div>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n buttonClass=\"btn btn-primary color-white\"\r\n buttonType=\"submit\"\r\n [loading]=\"inProgress\"\r\n [disabled]=\"form?.invalid\"\r\n >{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n</form>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i3.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ChangePasswordComponent, decorators: [{
|
|
208
207
|
type: Component,
|
|
209
208
|
args: [{
|
|
210
209
|
selector: 'abp-change-password-form',
|
|
211
210
|
templateUrl: './change-password.component.html',
|
|
212
211
|
exportAs: 'abpChangePasswordForm',
|
|
213
212
|
}]
|
|
214
|
-
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.Injector }, { type: i2$1.ToasterService }, { type:
|
|
213
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i0.Injector }, { type: i2$1.ToasterService }, { type: i2.ProfileService }, { type: ManageProfileStateService }]; } });
|
|
215
214
|
|
|
216
215
|
const { maxLength: maxLength$1, required: required$1, email: email$1 } = Validators;
|
|
217
216
|
class PersonalSettingsComponent {
|
|
@@ -247,16 +246,16 @@ class PersonalSettingsComponent {
|
|
|
247
246
|
});
|
|
248
247
|
}
|
|
249
248
|
}
|
|
250
|
-
PersonalSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
251
|
-
PersonalSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
249
|
+
PersonalSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PersonalSettingsComponent, deps: [{ token: i1.FormBuilder }, { token: i2$1.ToasterService }, { token: i2.ProfileService }, { token: ManageProfileStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
250
|
+
PersonalSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: PersonalSettingsComponent, selector: "abp-personal-settings-form", exportAs: ["abpPersonalSettingsForm"], ngImport: i0, template: "<form validateOnSubmit *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"username\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:UserName' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n type=\"text\"\r\n id=\"username\"\r\n class=\"form-control\"\r\n formControlName=\"userName\"\r\n autofocus\r\n (keydown.space)=\"$event.preventDefault()\"\r\n />\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col col-md-6\">\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"name\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Name' | abpLocalization\r\n }}</label\r\n ><input type=\"text\" id=\"name\" class=\"form-control\" formControlName=\"name\" />\r\n </div>\r\n </div>\r\n <div class=\"col col-md-6\">\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"surname\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Surname' | abpLocalization\r\n }}</label\r\n ><input type=\"text\" id=\"surname\" class=\"form-control\" formControlName=\"surname\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"email-address\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Email' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input type=\"text\" id=\"email-address\" class=\"form-control\" formControlName=\"email\" />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"phone-number\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:PhoneNumber' | abpLocalization\r\n }}</label\r\n ><input type=\"text\" id=\"phone-number\" class=\"form-control\" formControlName=\"phoneNumber\" />\r\n </div>\r\n <abp-button\r\n buttonType=\"submit\"\r\n iconClass=\"fa fa-check\"\r\n buttonClass=\"btn btn-primary color-white\"\r\n [loading]=\"inProgress\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n</form>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i3.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PersonalSettingsComponent, decorators: [{
|
|
253
252
|
type: Component,
|
|
254
253
|
args: [{
|
|
255
254
|
selector: 'abp-personal-settings-form',
|
|
256
255
|
templateUrl: './personal-settings.component.html',
|
|
257
256
|
exportAs: 'abpPersonalSettingsForm',
|
|
258
257
|
}]
|
|
259
|
-
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2$1.ToasterService }, { type:
|
|
258
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2$1.ToasterService }, { type: i2.ProfileService }, { type: ManageProfileStateService }]; } });
|
|
260
259
|
|
|
261
260
|
class ManageProfileComponent {
|
|
262
261
|
constructor(profileService, manageProfileState) {
|
|
@@ -277,23 +276,23 @@ class ManageProfileComponent {
|
|
|
277
276
|
});
|
|
278
277
|
}
|
|
279
278
|
}
|
|
280
|
-
ManageProfileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
281
|
-
ManageProfileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
279
|
+
ManageProfileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileComponent, deps: [{ token: i2.ProfileService }, { token: ManageProfileStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
280
|
+
ManageProfileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ManageProfileComponent, selector: "abp-manage-profile", ngImport: i0, template: "<div id=\"AbpContentToolbar\"></div>\r\n\r\n<div class=\"card border-0 shadow-sm min-h-400\" [abpLoading]=\"!(profile$ | async)?.userName\">\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-3\">\r\n <ul class=\"nav flex-column nav-pills\" id=\"nav-tab\" role=\"tablist\">\r\n <li\r\n *ngIf=\"!hideChangePasswordTab && (profile$ | async)\"\r\n class=\"nav-item\"\r\n (click)=\"selectedTab = 0\"\r\n >\r\n <a\r\n class=\"nav-link\"\r\n [ngClass]=\"{ active: selectedTab === 0 }\"\r\n role=\"tab\"\r\n href=\"javascript:void(0)\"\r\n >{{ 'AbpUi::ChangePassword' | abpLocalization }}</a\r\n >\r\n </li>\r\n <li class=\"nav-item mb-2\" (click)=\"selectedTab = 1\">\r\n <a\r\n class=\"nav-link\"\r\n [ngClass]=\"{ active: selectedTab === 1 }\"\r\n role=\"tab\"\r\n href=\"javascript:void(0)\"\r\n >{{ 'AbpAccount::PersonalSettings' | abpLocalization }}</a\r\n >\r\n </li>\r\n </ul>\r\n </div>\r\n <div *ngIf=\"profile$ | async\" class=\"col-12 col-md-9\">\r\n <div class=\"tab-content\" *ngIf=\"selectedTab === 0\" [@fadeIn]>\r\n <div class=\"tab-pane active\" role=\"tabpanel\">\r\n <h4>\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n <hr />\r\n </h4>\r\n <abp-change-password-form\r\n *abpReplaceableTemplate=\"{\r\n componentKey: changePasswordKey\r\n }\"\r\n ></abp-change-password-form>\r\n </div>\r\n </div>\r\n <div class=\"tab-content\" *ngIf=\"selectedTab === 1\" [@fadeIn]>\r\n <div class=\"tab-pane active\" role=\"tabpanel\">\r\n <h4>\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n <hr />\r\n </h4>\r\n <abp-personal-settings-form\r\n *abpReplaceableTemplate=\"{\r\n componentKey: personalSettingsKey\r\n }\"\r\n ></abp-personal-settings-form>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["\n .min-h-400 {\n min-height: 400px;\n }\n "], components: [{ type: ChangePasswordComponent, selector: "abp-change-password-form", exportAs: ["abpChangePasswordForm"] }, { type: PersonalSettingsComponent, selector: "abp-personal-settings-form", exportAs: ["abpPersonalSettingsForm"] }], directives: [{ type: i2$1.LoadingDirective, selector: "[abpLoading]", inputs: ["abpLoading", "abpLoadingTargetElement", "abpLoadingDelay"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }], pipes: { "async": i6.AsyncPipe, "abpLocalization": i3.LocalizationPipe }, animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])] });
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ManageProfileComponent, decorators: [{
|
|
283
282
|
type: Component,
|
|
284
283
|
args: [{
|
|
285
284
|
selector: 'abp-manage-profile',
|
|
286
285
|
templateUrl: './manage-profile.component.html',
|
|
287
286
|
animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],
|
|
288
287
|
styles: [
|
|
289
|
-
`
|
|
290
|
-
.min-h-400 {
|
|
291
|
-
min-height: 400px;
|
|
292
|
-
}
|
|
288
|
+
`
|
|
289
|
+
.min-h-400 {
|
|
290
|
+
min-height: 400px;
|
|
291
|
+
}
|
|
293
292
|
`,
|
|
294
293
|
],
|
|
295
294
|
}]
|
|
296
|
-
}], ctorParameters: function () { return [{ type:
|
|
295
|
+
}], ctorParameters: function () { return [{ type: i2.ProfileService }, { type: ManageProfileStateService }]; } });
|
|
297
296
|
|
|
298
297
|
const { maxLength, required, email } = Validators;
|
|
299
298
|
class RegisterComponent {
|
|
@@ -356,9 +355,9 @@ class RegisterComponent {
|
|
|
356
355
|
.subscribe();
|
|
357
356
|
}
|
|
358
357
|
}
|
|
359
|
-
RegisterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
360
|
-
RegisterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
358
|
+
RegisterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RegisterComponent, deps: [{ token: i1.FormBuilder }, { token: i2.AccountService }, { token: i3.ConfigStateService }, { token: i2$1.ToasterService }, { token: i3.AuthService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
359
|
+
RegisterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RegisterComponent, selector: "abp-register", ngImport: i0, template: "<h4>{{ 'AbpAccount::Register' | abpLocalization }}</h4>\r\n<strong>\r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n <a class=\"text-decoration-none\" routerLink=\"/account/login\">{{\r\n 'AbpAccount::Login' | abpLocalization\r\n }}</a>\r\n</strong>\r\n<form\r\n *ngIf=\"isSelfRegistrationEnabled\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"onSubmit()\"\r\n validateOnSubmit\r\n class=\"mt-4\"\r\n>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-user-name\" class=\"form-label\">{{\r\n 'AbpAccount::UserName' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n autofocus\r\n type=\"text\"\r\n id=\"input-user-name\"\r\n class=\"form-control\"\r\n formControlName=\"username\"\r\n autocomplete=\"username\"\r\n />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-email-address\" class=\"form-label\">{{\r\n 'AbpAccount::EmailAddress' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input type=\"email\" id=\"input-email-address\" class=\"form-control\" formControlName=\"email\" />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-password\" class=\"form-label\">{{\r\n 'AbpAccount::Password' | abpLocalization\r\n }}</label\r\n ><span> * </span\r\n ><input\r\n type=\"password\"\r\n id=\"input-password\"\r\n class=\"form-control\"\r\n formControlName=\"password\"\r\n autocomplete=\"current-password\"\r\n />\r\n </div>\r\n <abp-button\r\n [loading]=\"inProgress\"\r\n buttonType=\"submit\"\r\n name=\"Action\"\r\n buttonClass=\"btn-block btn-lg mt-3 btn btn-primary\"\r\n >\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n </abp-button>\r\n</form>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i3$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RegisterComponent, decorators: [{
|
|
362
361
|
type: Component,
|
|
363
362
|
args: [{
|
|
364
363
|
selector: 'abp-register',
|
|
@@ -412,9 +411,9 @@ class ResetPasswordComponent {
|
|
|
412
411
|
});
|
|
413
412
|
}
|
|
414
413
|
}
|
|
415
|
-
ResetPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
416
|
-
ResetPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
414
|
+
ResetPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ResetPasswordComponent, deps: [{ token: i1.FormBuilder }, { token: i2.AccountService }, { token: i3$1.ActivatedRoute }, { token: i3$1.Router }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
415
|
+
ResetPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ResetPasswordComponent, selector: "abp-reset-password", ngImport: i0, template: "<h4>{{ 'AbpAccount::ResetPassword' | abpLocalization }}</h4>\r\n\r\n<form\r\n *ngIf=\"!isPasswordReset; else passwordResetTemplate\"\r\n [formGroup]=\"form\"\r\n [mapErrorsFn]=\"mapErrorsFn\"\r\n (ngSubmit)=\"onSubmit()\"\r\n validateOnSubmit\r\n>\r\n <p>{{ 'AbpAccount::ResetPassword_Information' | abpLocalization }}</p>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-password\" class=\"form-label\">{{\r\n 'AbpAccount::Password' | abpLocalization\r\n }}</label\r\n ><span> * </span>\r\n <input type=\"password\" id=\"input-password\" class=\"form-control\" formControlName=\"password\" />\r\n </div>\r\n <div class=\"mb-3 form-group\">\r\n <label for=\"input-confirm-password\" class=\"form-label\">{{\r\n 'AbpAccount::ConfirmPassword' | abpLocalization\r\n }}</label\r\n ><span> * </span>\r\n <input\r\n type=\"password\"\r\n id=\"input-confirm-password\"\r\n class=\"form-control\"\r\n formControlName=\"confirmPassword\"\r\n />\r\n </div>\r\n <button class=\"me-2 btn btn-secondary\" type=\"button\" routerLink=\"/account/login\">\r\n {{ 'AbpAccount::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n buttonType=\"submit\"\r\n buttonClass=\"me-2 btn btn-primary\"\r\n [loading]=\"inProgress\"\r\n (click)=\"onSubmit()\"\r\n >\r\n {{ 'AbpAccount::Submit' | abpLocalization }}\r\n </abp-button>\r\n</form>\r\n\r\n<ng-template #passwordResetTemplate>\r\n <p>\r\n {{ 'AbpAccount::YourPasswordIsSuccessfullyReset' | abpLocalization }}\r\n </p>\r\n\r\n <a routerLink=\"/account/login\">\r\n <button class=\"d-block mt-2 mb-3 btn btn-primary\">\r\n {{ 'AbpAccount::BackToLogin' | abpLocalization }}\r\n </button>\r\n </a>\r\n</ng-template>\r\n", components: [{ type: i2$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit"], outputs: ["ngSubmit"] }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6$1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i6$1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i3$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i3$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "abpLocalization": i3.LocalizationPipe } });
|
|
416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ResetPasswordComponent, decorators: [{
|
|
418
417
|
type: Component,
|
|
419
418
|
args: [{
|
|
420
419
|
selector: 'abp-reset-password',
|
|
@@ -433,9 +432,9 @@ class AuthenticationFlowGuard {
|
|
|
433
432
|
return false;
|
|
434
433
|
}
|
|
435
434
|
}
|
|
436
|
-
AuthenticationFlowGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
437
|
-
AuthenticationFlowGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
435
|
+
AuthenticationFlowGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthenticationFlowGuard, deps: [{ token: i3.AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
436
|
+
AuthenticationFlowGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthenticationFlowGuard });
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthenticationFlowGuard, decorators: [{
|
|
439
438
|
type: Injectable
|
|
440
439
|
}], ctorParameters: function () { return [{ type: i3.AuthService }]; } });
|
|
441
440
|
|
|
@@ -443,7 +442,7 @@ const routes = [
|
|
|
443
442
|
{ path: '', pathMatch: 'full', redirectTo: 'login' },
|
|
444
443
|
{
|
|
445
444
|
path: '',
|
|
446
|
-
component:
|
|
445
|
+
component: RouterOutletComponent,
|
|
447
446
|
children: [
|
|
448
447
|
{
|
|
449
448
|
path: 'login',
|
|
@@ -506,10 +505,10 @@ const routes = [
|
|
|
506
505
|
];
|
|
507
506
|
class AccountRoutingModule {
|
|
508
507
|
}
|
|
509
|
-
AccountRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
510
|
-
AccountRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
511
|
-
AccountRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
508
|
+
AccountRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
509
|
+
AccountRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountRoutingModule, imports: [i3$1.RouterModule], exports: [RouterModule] });
|
|
510
|
+
AccountRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountRoutingModule, imports: [[RouterModule.forChild(routes)], RouterModule] });
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountRoutingModule, decorators: [{
|
|
513
512
|
type: NgModule,
|
|
514
513
|
args: [{
|
|
515
514
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -549,8 +548,8 @@ class AccountModule {
|
|
|
549
548
|
return new LazyModuleFactory(AccountModule.forChild(options));
|
|
550
549
|
}
|
|
551
550
|
}
|
|
552
|
-
AccountModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
553
|
-
AccountModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
551
|
+
AccountModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
552
|
+
AccountModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountModule, declarations: [LoginComponent,
|
|
554
553
|
RegisterComponent,
|
|
555
554
|
ChangePasswordComponent,
|
|
556
555
|
ManageProfileComponent,
|
|
@@ -567,14 +566,14 @@ AccountModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
567
566
|
PersonalSettingsComponent,
|
|
568
567
|
ForgotPasswordComponent,
|
|
569
568
|
ResetPasswordComponent] });
|
|
570
|
-
AccountModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
569
|
+
AccountModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountModule, imports: [[
|
|
571
570
|
CoreModule,
|
|
572
571
|
AccountRoutingModule,
|
|
573
572
|
ThemeSharedModule,
|
|
574
573
|
NgbDropdownModule,
|
|
575
574
|
NgxValidateCoreModule,
|
|
576
575
|
]] });
|
|
577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AccountModule, decorators: [{
|
|
578
577
|
type: NgModule,
|
|
579
578
|
args: [{
|
|
580
579
|
declarations: [...declarations],
|