@volo/abp.ng.identity 8.2.2 → 8.3.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/config/components/identity-setting-tabs/index.d.ts +1 -0
- package/config/identity-config.module.d.ts +3 -0
- package/config/providers/identity-config.provider.d.ts +1 -0
- package/config/providers/index.d.ts +1 -0
- package/config/providers/route.provider.d.ts +1 -1
- package/config/providers/setting-tab.provider.d.ts +1 -1
- package/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +4 -4
- package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +5 -5
- package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +4 -4
- package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +4 -4
- package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +4 -4
- package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +4 -4
- package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +4 -4
- package/esm2022/config/components/identity-setting-tabs/identity-sessions-settings/identity-sessions-settings.component.mjs +4 -4
- package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +4 -4
- package/esm2022/config/components/identity-setting-tabs/index.mjs +2 -1
- package/esm2022/config/components/identity-settings.component.mjs +4 -4
- package/esm2022/config/components/my-link-users-modal.component.mjs +4 -4
- package/esm2022/config/handlers/link-login.handler.mjs +4 -4
- package/esm2022/config/identity-config.module.mjs +13 -30
- package/esm2022/config/providers/identity-config.provider.mjs +20 -0
- package/esm2022/config/providers/index.mjs +2 -1
- package/esm2022/config/services/authority-delegation.service.mjs +4 -4
- package/esm2022/config/services/identity-config.service.mjs +4 -4
- package/esm2022/config/services/identity-link-login.service.mjs +4 -4
- package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +4 -4
- package/esm2022/lib/components/claims/claims.component.mjs +4 -4
- package/esm2022/lib/components/export-excel/export-data-dropdown.component.mjs +4 -4
- package/esm2022/lib/components/export-excel/upload-excel-file.component.mjs +4 -4
- package/esm2022/lib/components/external-login/external-login.component.mjs +4 -4
- package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/organization-units.component.mjs +4 -4
- package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +4 -4
- package/esm2022/lib/components/roles/delete-role/role-delete.component.mjs +4 -4
- package/esm2022/lib/components/roles/edit-new-modal/roles-modal.component.mjs +4 -4
- package/esm2022/lib/components/roles/move-all-users/move-all-users.component.mjs +4 -4
- package/esm2022/lib/components/roles/roles.component.mjs +4 -4
- package/esm2022/lib/components/security-logs/security-logs.component.mjs +4 -4
- package/esm2022/lib/components/users/set-password-modal/set-password-modal.component.mjs +4 -4
- package/esm2022/lib/components/users/user-lock-modal.component.mjs +4 -4
- package/esm2022/lib/components/users/user-lock.service.mjs +4 -4
- package/esm2022/lib/components/users/user-sessions-modal/session-detail-modal/user-session-detail.component.mjs +4 -4
- package/esm2022/lib/components/users/user-sessions-modal/user-sessions.component.mjs +4 -4
- package/esm2022/lib/components/users/user-view-details/user-view-details.component.mjs +4 -4
- package/esm2022/lib/components/users/users.component.mjs +4 -4
- package/esm2022/lib/guards/extensions.guard.mjs +4 -4
- package/esm2022/lib/identity-routing.module.mjs +5 -5
- package/esm2022/lib/identity.module.mjs +5 -5
- package/esm2022/lib/services/delete-organization-unit-modal.service.mjs +4 -4
- package/esm2022/lib/services/excel.service.mjs +4 -4
- package/esm2022/lib/services/move-all-users-of-unit-modal.service.mjs +4 -4
- package/esm2022/lib/services/organization-units-state.service.mjs +4 -4
- package/esm2022/lib/services/user-view-detail.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-session.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +4 -4
- package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +4 -4
- package/fesm2022/volo-abp.ng.identity-config.mjs +71 -64
- package/fesm2022/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity-proxy.mjs +27 -27
- package/fesm2022/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity.mjs +107 -107
- package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/roles/roles.component.d.ts +1 -1
- package/lib/components/users/users.component.d.ts +1 -1
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@abp/ng.core';
|
|
2
2
|
import { LocalizationModule, SubscriptionService, ConfigStateService, ListService, AuthService, EnvironmentService, PIPE_TO_LOGIN_FN_KEY, CoreModule, RoutesService, ContentProjectionService, PROJECTION_STRATEGY, noop } from '@abp/ng.core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, Component, ChangeDetectionStrategy, Injectable, Injector, EventEmitter, Output, NgModule, APP_INITIALIZER } from '@angular/core';
|
|
4
|
+
import { inject, Component, ChangeDetectionStrategy, Injectable, Injector, EventEmitter, Output, NgModule, APP_INITIALIZER, makeEnvironmentProviders } from '@angular/core';
|
|
5
5
|
import { filter, finalize, map, switchMap, catchError, tap } from 'rxjs/operators';
|
|
6
6
|
import * as i1$1 from '@ng-bootstrap/ng-bootstrap';
|
|
7
7
|
import { NgbDateAdapter, NgbDropdownModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
|
@@ -19,8 +19,8 @@ import * as i1$2 from '@angular/router';
|
|
|
19
19
|
import * as i2$1 from '@swimlane/ngx-datatable';
|
|
20
20
|
import * as i5 from '@volo/abp.commercial.ng.ui';
|
|
21
21
|
import { CommercialUiModule } from '@volo/abp.commercial.ng.ui';
|
|
22
|
-
import { OPEN_MY_LINK_USERS_MODAL, OPEN_AUTHORITY_DELEGATION_MODAL } from '@volo/abp.commercial.ng.ui/config';
|
|
23
22
|
import { SettingTabsService } from '@abp/ng.setting-management/config';
|
|
23
|
+
import { OPEN_MY_LINK_USERS_MODAL, OPEN_AUTHORITY_DELEGATION_MODAL } from '@volo/abp.commercial.ng.ui/config';
|
|
24
24
|
|
|
25
25
|
class IdentitySessionsSettingComponent {
|
|
26
26
|
buildForm() {
|
|
@@ -41,10 +41,10 @@ class IdentitySessionsSettingComponent {
|
|
|
41
41
|
.updateSession(this.form.value)
|
|
42
42
|
.subscribe(() => this.toasterService.success('AbpUi::SavedSuccessfully'));
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySessionsSettingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: IdentitySessionsSettingComponent, isStandalone: true, selector: "abp-identity-session-setting", ngImport: i0, template: "<h4>{{ 'AbpIdentity::Sessions' | abpLocalization }}</h4>\r\n\r\n<form [formGroup]=\"form\" class=\"abp-md-form\" (ngSubmit)=\"save()\">\r\n <div class=\"mb-3 form-group\">\r\n <label class=\"form-label\"\r\n >{{ 'AbpIdentity::DisplayName:Abp.Identity.PreventConcurrentLogin' | abpLocalization }}\r\n </label>\r\n <select class=\"form-select form-control\" formControlName=\"preventConcurrentLogin\">\r\n @for (setting of sessionSettings; track setting.value) {\r\n <option [ngValue]=\"setting.value\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.' + setting.key\r\n | abpLocalization\r\n }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"form-text\">\r\n <p>\r\n {{ 'AbpIdentity::Description:Abp.Identity.PreventConcurrentLogin' | abpLocalization }}\r\n </p>\r\n <ol class=\"list-group\">\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.Disabled'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.Disabled'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.LogoutFromSameTypeDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.LogoutFromSameTypeDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.LogoutFromAllDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.LogoutFromAllDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n </ol>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <button class=\"btn btn-primary\">\r\n <i class=\"fa fa-save me-1\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n</form>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySessionsSettingComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ standalone: true, selector: 'abp-identity-session-setting', imports: [ReactiveFormsModule, LocalizationModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<h4>{{ 'AbpIdentity::Sessions' | abpLocalization }}</h4>\r\n\r\n<form [formGroup]=\"form\" class=\"abp-md-form\" (ngSubmit)=\"save()\">\r\n <div class=\"mb-3 form-group\">\r\n <label class=\"form-label\"\r\n >{{ 'AbpIdentity::DisplayName:Abp.Identity.PreventConcurrentLogin' | abpLocalization }}\r\n </label>\r\n <select class=\"form-select form-control\" formControlName=\"preventConcurrentLogin\">\r\n @for (setting of sessionSettings; track setting.value) {\r\n <option [ngValue]=\"setting.value\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.' + setting.key\r\n | abpLocalization\r\n }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"form-text\">\r\n <p>\r\n {{ 'AbpIdentity::Description:Abp.Identity.PreventConcurrentLogin' | abpLocalization }}\r\n </p>\r\n <ol class=\"list-group\">\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.Disabled'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.Disabled'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.LogoutFromSameTypeDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.LogoutFromSameTypeDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n <li class=\"list-group-item d-flex justify-content-between align-items-start\">\r\n <div class=\"me-auto\">\r\n <div class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::Enum:IdentityProPreventConcurrentLoginBehaviour.LogoutFromAllDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n {{\r\n 'AbpIdentity::Description:IdentityProPreventConcurrentLoginBehaviour.LogoutFromAllDevices'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </li>\r\n </ol>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <button class=\"btn btn-primary\">\r\n <i class=\"fa fa-save me-1\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n</form>\r\n" }]
|
|
50
50
|
}], ctorParameters: () => [] });
|
|
@@ -67,10 +67,10 @@ class IdentityConfigService {
|
|
|
67
67
|
body,
|
|
68
68
|
}, { apiName: this.apiName });
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigService, deps: [{ token: i2.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
71
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigService, providedIn: 'root' }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigService, decorators: [{
|
|
74
74
|
type: Injectable,
|
|
75
75
|
args: [{
|
|
76
76
|
providedIn: 'root',
|
|
@@ -154,10 +154,10 @@ class IdentitySettingComponent {
|
|
|
154
154
|
}))
|
|
155
155
|
.subscribe(() => this.toaster.success('AbpUi::SavedSuccessfully', null));
|
|
156
156
|
}
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: IdentitySettingComponent, selector: "abp-identity-setting", providers: [SubscriptionService], ngImport: i0, template: "@if (form) {\r\n <form id=\"IdentitySettingsForm\" [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <hr class=\"my-4\" />\r\n <h4>{{ 'AbpIdentity::PasswordRenewingSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_ForceUsersToPeriodicallyChangePassword\"\r\n name=\"Password.ForceUsersToPeriodicallyChangePassword\"\r\n class=\"form-check-input\"\r\n formControlName=\"forceUsersToPeriodicallyChangePassword\"\r\n />\r\n <label class=\"form-check-label\" for=\"Password_ForceUsersToPeriodicallyChangePassword\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</label>\r\n <br />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_PasswordChangePeriodDays\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_PasswordChangePeriodDays\"\r\n name=\"Password.PasswordChangePeriodDays\"\r\n class=\"form-control\"\r\n formControlName=\"passwordChangePeriodDays\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", 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]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i3$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySettingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
158
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: IdentitySettingComponent, selector: "abp-identity-setting", providers: [SubscriptionService], ngImport: i0, template: "@if (form) {\r\n <form id=\"IdentitySettingsForm\" [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <hr class=\"my-4\" />\r\n <h4>{{ 'AbpIdentity::PasswordRenewingSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_ForceUsersToPeriodicallyChangePassword\"\r\n name=\"Password.ForceUsersToPeriodicallyChangePassword\"\r\n class=\"form-check-input\"\r\n formControlName=\"forceUsersToPeriodicallyChangePassword\"\r\n />\r\n <label class=\"form-check-label\" for=\"Password_ForceUsersToPeriodicallyChangePassword\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</label>\r\n <br />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_PasswordChangePeriodDays\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_PasswordChangePeriodDays\"\r\n name=\"Password.PasswordChangePeriodDays\"\r\n class=\"form-control\"\r\n formControlName=\"passwordChangePeriodDays\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", 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]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i3$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySettingComponent, decorators: [{
|
|
161
161
|
type: Component,
|
|
162
162
|
args: [{ selector: 'abp-identity-setting', providers: [SubscriptionService], template: "@if (form) {\r\n <form id=\"IdentitySettingsForm\" [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <hr class=\"my-4\" />\r\n <h4>{{ 'AbpIdentity::PasswordRenewingSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_ForceUsersToPeriodicallyChangePassword\"\r\n name=\"Password.ForceUsersToPeriodicallyChangePassword\"\r\n class=\"form-check-input\"\r\n formControlName=\"forceUsersToPeriodicallyChangePassword\"\r\n />\r\n <label class=\"form-check-label\" for=\"Password_ForceUsersToPeriodicallyChangePassword\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</label>\r\n <br />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_PasswordChangePeriodDays\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_PasswordChangePeriodDays\"\r\n name=\"Password.PasswordChangePeriodDays\"\r\n class=\"form-control\"\r\n formControlName=\"passwordChangePeriodDays\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.PasswordChangePeriodDays'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n \r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n}\r\n" }]
|
|
163
163
|
}] });
|
|
@@ -201,10 +201,10 @@ class IdentityExternalLoginSettingsComponent {
|
|
|
201
201
|
validateEndpoints: [this.settings.validateEndpoints, []],
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
205
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityExternalLoginSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
205
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: IdentityExternalLoginSettingsComponent, selector: "abp-external-login-settings", ngImport: i0, template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::OAuthLoginSettings' | abpLocalization }}</h4>\r\n\r\n <form [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-oauth-login\"\r\n class=\"form-check-input\"\r\n formControlName=\"enableOAuthLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-oauth-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableOAuthLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientId' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientId\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientSecret' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientSecret\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Authority' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"authority\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Scope' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"scope\" />\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"require-https-metadata\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireHttpsMetadata\"\r\n /><label class=\"form-check-label\" for=\"require-https-metadata\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.RequireHttpsMetadata' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-endpoints\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateEndpoints\"\r\n /><label class=\"form-check-label\" for=\"validate-endpoints\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateEndpoints' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-issuer-name\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateIssuerName\"\r\n /><label class=\"form-check-label\" for=\"validate-issuer-name\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateIssuerName' | abpLocalization\r\n }}</label>\r\n </div>\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button buttonType=\"submit\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpAccount::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", 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]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i3$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
206
206
|
}
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityExternalLoginSettingsComponent, decorators: [{
|
|
208
208
|
type: Component,
|
|
209
209
|
args: [{ selector: 'abp-external-login-settings', template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::OAuthLoginSettings' | abpLocalization }}</h4>\r\n\r\n <form [formGroup]=\"form\" (ngSubmit)=\"submit()\" validateOnSubmit>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-oauth-login\"\r\n class=\"form-check-input\"\r\n formControlName=\"enableOAuthLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-oauth-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableOAuthLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientId' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientId\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ClientSecret' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"clientSecret\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Authority' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"authority\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Scope' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" formControlName=\"scope\" />\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"require-https-metadata\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireHttpsMetadata\"\r\n /><label class=\"form-check-label\" for=\"require-https-metadata\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.RequireHttpsMetadata' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-endpoints\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateEndpoints\"\r\n /><label class=\"form-check-label\" for=\"validate-endpoints\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateEndpoints' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"validate-issuer-name\"\r\n class=\"form-check-input\"\r\n formControlName=\"validateIssuerName\"\r\n /><label class=\"form-check-label\" for=\"validate-issuer-name\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.ValidateIssuerName' | abpLocalization\r\n }}</label>\r\n </div>\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button buttonType=\"submit\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpAccount::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n}\r\n" }]
|
|
210
210
|
}] });
|
|
@@ -229,10 +229,10 @@ class IdentityLdapSettingsComponent {
|
|
|
229
229
|
this.configState.refreshAppState().subscribe();
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
233
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityLdapSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
233
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: IdentityLdapSettingsComponent, selector: "abp-ldap-login-settings", ngImport: i0, template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::LdapLoginSettings' | abpLocalization }}</h4>\r\n <div id=\"ldap-login-settings\" (keyup.enter)=\"submit(settings)\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-ldap-login\"\r\n class=\"form-check-input\"\r\n [(ngModel)]=\"settings.enableLdapLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-ldap-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableLdapLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"ldaps\"\r\n class=\"form-check-input\"\r\n [(ngModel)]=\"settings.ldaps\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"ldaps\">{{\r\n 'AbpIdentity::DisplayName:Abp.Ldap.Ldaps' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.ServerHost' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapServerHost\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.ServerPort' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapServerPort\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.BaseDc' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapBaseDc\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.Domain' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapDomain\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.UserName' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapUserName\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.Password' | abpLocalization\r\n }}</label>\r\n <input\r\n type=\"password\"\r\n class=\"form-control\"\r\n placeholder=\"{{ 'AbpIdentity::LdapPasswordPlaceholder' | abpLocalization }}\"\r\n [(ngModel)]=\"settings.ldapPassword\"\r\n autocomplete=\"new-password\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button (click)=\"submit(settings)\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n}\r\n", dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "component", type: i3$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
234
234
|
}
|
|
235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityLdapSettingsComponent, decorators: [{
|
|
236
236
|
type: Component,
|
|
237
237
|
args: [{ selector: 'abp-ldap-login-settings', template: "@if (settings) {\r\n <h4>{{ 'AbpIdentity::LdapLoginSettings' | abpLocalization }}</h4>\r\n <div id=\"ldap-login-settings\" (keyup.enter)=\"submit(settings)\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"enable-ldap-login\"\r\n class=\"form-check-input\"\r\n [(ngModel)]=\"settings.enableLdapLogin\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"enable-ldap-login\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.EnableLdapLogin' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"ldaps\"\r\n class=\"form-check-input\"\r\n [(ngModel)]=\"settings.ldaps\"\r\n autofocus\r\n /><label class=\"form-check-label\" for=\"ldaps\">{{\r\n 'AbpIdentity::DisplayName:Abp.Ldap.Ldaps' | abpLocalization\r\n }}</label>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.ServerHost' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapServerHost\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.ServerPort' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapServerPort\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.BaseDc' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapBaseDc\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.Domain' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapDomain\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.UserName' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"settings.ldapUserName\" />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpLdap::DisplayName:Abp.Ldap.Password' | abpLocalization\r\n }}</label>\r\n <input\r\n type=\"password\"\r\n class=\"form-control\"\r\n placeholder=\"{{ 'AbpIdentity::LdapPasswordPlaceholder' | abpLocalization }}\"\r\n [(ngModel)]=\"settings.ldapPassword\"\r\n autocomplete=\"new-password\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <hr class=\"my-3\" />\r\n\r\n <div>\r\n <abp-button (click)=\"submit(settings)\" iconClass=\"fa fa-save\" [loading]=\"loading\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n}\r\n" }]
|
|
238
238
|
}] });
|
|
@@ -247,10 +247,10 @@ class IdentitySettingsComponent {
|
|
|
247
247
|
.pipe(map(val => Object.entries(val).reduce((acc, [key, value]) => (value === 'true' ? [...acc, key] : acc), [])));
|
|
248
248
|
}
|
|
249
249
|
submit() { }
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: IdentitySettingsComponent, selector: "abp-identity-settings", providers: [SubscriptionService], ngImport: i0, template: "<div class=\"abp-md-form\">\r\n @if (features$ | async; as features) {\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::IdentitySettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-identity-setting />\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Sessions' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-identity-session-setting />\r\n </ng-template>\r\n </li>\r\n\r\n @for (feature of features; track $index) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{\r\n (feature === externalLoginKey\r\n ? 'AbpIdentity::IdentitySettingsOAuth'\r\n : 'AbpIdentity::IdentitySettingsLdap'\r\n ) | abpLocalization\r\n }}\r\n </a>\r\n <ng-template ngbNavContent>\r\n @if (feature === externalLoginKey) {\r\n <abp-external-login-settings />\r\n } @else {\r\n <abp-ldap-login-settings />\r\n }\r\n </ng-template>\r\n </li>\r\n }\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n } @else {\r\n <abp-identity-setting />\r\n }\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: IdentitySessionsSettingComponent, selector: "abp-identity-session-setting" }, { kind: "component", type: IdentitySettingComponent, selector: "abp-identity-setting" }, { kind: "component", type: IdentityExternalLoginSettingsComponent, selector: "abp-external-login-settings" }, { kind: "component", type: IdentityLdapSettingsComponent, selector: "abp-ldap-login-settings" }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
252
252
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentitySettingsComponent, decorators: [{
|
|
254
254
|
type: Component,
|
|
255
255
|
args: [{ selector: 'abp-identity-settings', providers: [SubscriptionService], template: "<div class=\"abp-md-form\">\r\n @if (features$ | async; as features) {\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::IdentitySettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-identity-setting />\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Sessions' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-identity-session-setting />\r\n </ng-template>\r\n </li>\r\n\r\n @for (feature of features; track $index) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{\r\n (feature === externalLoginKey\r\n ? 'AbpIdentity::IdentitySettingsOAuth'\r\n : 'AbpIdentity::IdentitySettingsLdap'\r\n ) | abpLocalization\r\n }}\r\n </a>\r\n <ng-template ngbNavContent>\r\n @if (feature === externalLoginKey) {\r\n <abp-external-login-settings />\r\n } @else {\r\n <abp-ldap-login-settings />\r\n }\r\n </ng-template>\r\n </li>\r\n }\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n } @else {\r\n <abp-identity-setting />\r\n }\r\n</div>\r\n" }]
|
|
256
256
|
}] });
|
|
@@ -269,10 +269,10 @@ class IdentityLinkLoginService {
|
|
|
269
269
|
}
|
|
270
270
|
return from(this.authService.loginUsingGrant(grantType, params));
|
|
271
271
|
}
|
|
272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
273
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityLinkLoginService, deps: [{ token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
273
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityLinkLoginService, providedIn: 'root' }); }
|
|
274
274
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityLinkLoginService, decorators: [{
|
|
276
276
|
type: Injectable,
|
|
277
277
|
args: [{
|
|
278
278
|
providedIn: 'root',
|
|
@@ -331,10 +331,10 @@ class LinkLoginHandler {
|
|
|
331
331
|
queryParamsHandling: 'merge',
|
|
332
332
|
}))), tap(() => location.reload()));
|
|
333
333
|
}
|
|
334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
335
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: LinkLoginHandler, deps: [{ token: i1$2.Router }, { token: i1$2.ActivatedRoute }, { token: IdentityLinkLoginService }, { token: i3$1.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
335
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: LinkLoginHandler, providedIn: 'root' }); }
|
|
336
336
|
}
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: LinkLoginHandler, decorators: [{
|
|
338
338
|
type: Injectable,
|
|
339
339
|
args: [{ providedIn: 'root' }]
|
|
340
340
|
}], ctorParameters: () => [{ type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: IdentityLinkLoginService }, { type: i3$1.ToasterService }] });
|
|
@@ -456,10 +456,10 @@ class MyLinkUsersModalComponent {
|
|
|
456
456
|
})
|
|
457
457
|
.subscribe(() => (this.isModalOpen = false));
|
|
458
458
|
}
|
|
459
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
460
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: MyLinkUsersModalComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
460
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: MyLinkUsersModalComponent, selector: "abp-my-link-users-modal", providers: [ListService], ngImport: i0, template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpAccount::LinkedAccounts' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <div class=\"text-end mb-3\">\r\n <button\r\n id=\"create-link-user\"\r\n class=\"btn btn-primary\"\r\n type=\"button\"\r\n (click)=\"createNewLinkUser()\"\r\n >\r\n {{ 'AbpAccount::NewLinkAccount' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpAccount::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"MyLinkUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n <div class=\"mt-2\">\r\n <ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button\r\n class=\"btn btn-primary btn-sm dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n ngbDropdownToggle\r\n >\r\n <i class=\"fa fa-cog me-1\" aria-hidden=\"true\"></i\r\n >{{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"LoginAsThisAccount(row)\">\r\n {{ 'AbpAccount::LoginAsThisAccount' | abpLocalization }}\r\n </button>\r\n @if (row.directlyLinked) {\r\n <button ngbDropdownItem (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::UserName' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <a href=\"javascript:void(0)\" class=\"text-body\" (click)=\"LoginAsThisAccount(row)\">\r\n {{ row.targetTenantName ? row.targetTenantName + '\\\\' : ''\r\n }}{{ row.targetUserName }}\r\n </a>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::DirectlyLinked' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <i class=\"fas fa-{{ row.directlyLinked ? 'check' : 'times' }}\" aria-hidden=\"true\"></i>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i2$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i3$1.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i3$1.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "component", type: i3$1.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i1$1.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "popperOptions", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i1$1.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i1$1.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i1$1.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "directive", type: i1$1.NgbDropdownButtonItem, selector: "button[ngbDropdownItem]" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
461
461
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: MyLinkUsersModalComponent, decorators: [{
|
|
463
463
|
type: Component,
|
|
464
464
|
args: [{ selector: 'abp-my-link-users-modal', providers: [ListService], template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpAccount::LinkedAccounts' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <div class=\"text-end mb-3\">\r\n <button\r\n id=\"create-link-user\"\r\n class=\"btn btn-primary\"\r\n type=\"button\"\r\n (click)=\"createNewLinkUser()\"\r\n >\r\n {{ 'AbpAccount::NewLinkAccount' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpAccount::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"MyLinkUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n <div class=\"mt-2\">\r\n <ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button\r\n class=\"btn btn-primary btn-sm dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n ngbDropdownToggle\r\n >\r\n <i class=\"fa fa-cog me-1\" aria-hidden=\"true\"></i\r\n >{{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"LoginAsThisAccount(row)\">\r\n {{ 'AbpAccount::LoginAsThisAccount' | abpLocalization }}\r\n </button>\r\n @if (row.directlyLinked) {\r\n <button ngbDropdownItem (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::UserName' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <a href=\"javascript:void(0)\" class=\"text-body\" (click)=\"LoginAsThisAccount(row)\">\r\n {{ row.targetTenantName ? row.targetTenantName + '\\\\' : ''\r\n }}{{ row.targetUserName }}\r\n </a>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::DirectlyLinked' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <i class=\"fas fa-{{ row.directlyLinked ? 'check' : 'times' }}\" aria-hidden=\"true\"></i>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
465
465
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
@@ -516,10 +516,10 @@ class AbpAuthorityDelegationService {
|
|
|
516
516
|
return 'warning';
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
520
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AbpAuthorityDelegationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
520
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AbpAuthorityDelegationService, providedIn: 'root' }); }
|
|
521
521
|
}
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AbpAuthorityDelegationService, decorators: [{
|
|
523
523
|
type: Injectable,
|
|
524
524
|
args: [{
|
|
525
525
|
providedIn: 'root',
|
|
@@ -584,10 +584,10 @@ class CreateUserDelegateComponent {
|
|
|
584
584
|
this.save.emit();
|
|
585
585
|
this.visibleChange.emit(false);
|
|
586
586
|
}
|
|
587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
588
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: CreateUserDelegateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
588
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: CreateUserDelegateComponent, isStandalone: true, selector: "abp-create-user-delegate", outputs: { visibleChange: "visibleChange", save: "save" }, providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], ngImport: i0, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n ></abp-lookup-typeahead>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-date-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i3$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i3$1.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3$1.ModalCloseDirective, selector: "[abpClose]" }, { kind: "ngmodule", type: CommercialUiModule }, { kind: "component", type: i5.LookupTypeaheadComponent, selector: "abp-lookup-typeahead", inputs: ["displayNameProp", "lookupFilterProp", "filter", "editingData"] }, { kind: "component", type: i5.DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
589
589
|
}
|
|
590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: CreateUserDelegateComponent, decorators: [{
|
|
591
591
|
type: Component,
|
|
592
592
|
args: [{ standalone: true, selector: 'abp-create-user-delegate', imports: [CoreModule, ThemeSharedModule, CommercialUiModule], providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n ></abp-lookup-typeahead>\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-date-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
593
593
|
}], propDecorators: { visibleChange: [{
|
|
@@ -655,10 +655,10 @@ class ListAuthorityDelegationComponent {
|
|
|
655
655
|
userDelegationVisibleChange(visible = false) {
|
|
656
656
|
this.isNewUserDelegateModalOpen = visible;
|
|
657
657
|
}
|
|
658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: ListAuthorityDelegationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
659
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: ListAuthorityDelegationComponent, selector: "abp-list-authority-delegation", providers: [ListService], ngImport: i0, template: "<div class=\"text-end mb-2\">\r\n <button id=\"create-delegate-user\" class=\"btn btn-primary\" type=\"button\" (click)=\"create()\">\r\n {{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button class=\"btn btn-danger btn-sm\" (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n\r\n<abp-create-user-delegate\r\n *abpVisible=\"isNewUserDelegateModalOpen\"\r\n (visibleChange)=\"userDelegationVisibleChange($event)\"\r\n (save)=\"getAllList()\"\r\n/>\r\n", dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i2$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i3$1.AbpVisibleDirective, selector: "[abpVisible]", inputs: ["abpVisible"] }, { kind: "directive", type: i3$1.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i3$1.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "component", type: CreateUserDelegateComponent, selector: "abp-create-user-delegate", outputs: ["visibleChange", "save"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i2.ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
660
660
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: ListAuthorityDelegationComponent, decorators: [{
|
|
662
662
|
type: Component,
|
|
663
663
|
args: [{ selector: 'abp-list-authority-delegation', providers: [ListService], template: "<div class=\"text-end mb-2\">\r\n <button id=\"create-delegate-user\" class=\"btn btn-primary\" type=\"button\" (click)=\"create()\">\r\n {{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button class=\"btn btn-danger btn-sm\" (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n\r\n<abp-create-user-delegate\r\n *abpVisible=\"isNewUserDelegateModalOpen\"\r\n (visibleChange)=\"userDelegationVisibleChange($event)\"\r\n (save)=\"getAllList()\"\r\n/>\r\n" }]
|
|
664
664
|
}] });
|
|
@@ -707,10 +707,10 @@ class MyDelegatedUsersComponent {
|
|
|
707
707
|
this.service.modalRef.instance.isModalOpen = false;
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
711
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
710
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: MyDelegatedUsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
711
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: MyDelegatedUsersComponent, selector: "abp-my-delegated-users", providers: [ListService], ngImport: i0, template: "<div class=\"text-end mb-3\">\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary btn-sm\"\r\n [class.disabled]=\"service.getStatus(row) !== 'Active'\"\r\n (click)=\"login(row)\"\r\n >\r\n <span>{{ 'AbpUi::Login' | abpLocalization }}</span>\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpUi::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n", dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i2$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i3$1.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i3$1.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i2.ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
712
712
|
}
|
|
713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: MyDelegatedUsersComponent, decorators: [{
|
|
714
714
|
type: Component,
|
|
715
715
|
args: [{ selector: 'abp-my-delegated-users', providers: [ListService], template: "<div class=\"text-end mb-3\">\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpUi::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"DelegatedUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n</div>\r\n\r\n<ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"100\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary btn-sm\"\r\n [class.disabled]=\"service.getStatus(row) !== 'Active'\"\r\n (click)=\"login(row)\"\r\n >\r\n <span>{{ 'AbpUi::Login' | abpLocalization }}</span>\r\n </button>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpUi::Status' | abpLocalization\" [maxWidth]=\"125\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <span class=\"badge bg-{{ service.statusClass(row) }}\">\r\n {{ 'AbpIdentity::Status' + service.getStatus(row) | abpLocalization }}\r\n </span>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'AbpIdentity::UserName' | abpLocalization\"\r\n prop=\"userName\"\r\n >\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::StartTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.startTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n\r\n <ngx-datatable-column [name]=\"'AbpIdentity::EndTime' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ row.endTime | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n</ngx-datatable>\r\n" }]
|
|
716
716
|
}] });
|
|
@@ -732,10 +732,10 @@ class AuthorityDelegationComponent {
|
|
|
732
732
|
this.selected = this.tabs[0];
|
|
733
733
|
this.trackByFn = (_, item) => item.name;
|
|
734
734
|
}
|
|
735
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
736
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
735
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
736
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.5", type: AuthorityDelegationComponent, selector: "abp-authority-delegation", ngImport: i0, template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\" [options]=\"option\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::AuthorityDelegation' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <ul class=\"nav nav-tabs mb-0\">\r\n <li *abpFor=\"let tab of tabs; trackBy: trackByFn\" class=\"nav-item\">\r\n <a\r\n [id]=\"tab.name + '-tab'\"\r\n role=\"tab\"\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selected.name === tab.name\"\r\n (click)=\"selected = tab\"\r\n >\r\n {{ tab.name | abpLocalization }}\r\n </a>\r\n </li>\r\n </ul>\r\n\r\n <div class=\"tab-content\">\r\n <div class=\"tab-pane active\">\r\n <div class=\"card mb-0\">\r\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i6.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i2.ForDirective, selector: "[abpFor]", inputs: ["abpForOf", "abpForOrderBy", "abpForOrderDir", "abpForFilterBy", "abpForFilterVal", "abpForTrackBy", "abpForCompareBy", "abpForEmptyRef"] }, { kind: "component", type: i3$1.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
737
737
|
}
|
|
738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationComponent, decorators: [{
|
|
739
739
|
type: Component,
|
|
740
740
|
args: [{ selector: 'abp-authority-delegation', template: "<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\" [options]=\"option\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::AuthorityDelegation' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <ul class=\"nav nav-tabs mb-0\">\r\n <li *abpFor=\"let tab of tabs; trackBy: trackByFn\" class=\"nav-item\">\r\n <a\r\n [id]=\"tab.name + '-tab'\"\r\n role=\"tab\"\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selected.name === tab.name\"\r\n (click)=\"selected = tab\"\r\n >\r\n {{ tab.name | abpLocalization }}\r\n </a>\r\n </li>\r\n </ul>\r\n\r\n <div class=\"tab-content\">\r\n <div class=\"tab-pane active\">\r\n <div class=\"card mb-0\">\r\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
741
741
|
}] });
|
|
@@ -746,8 +746,8 @@ const declarationsWithExports$1 = [
|
|
|
746
746
|
MyDelegatedUsersComponent,
|
|
747
747
|
];
|
|
748
748
|
class AuthorityDelegationModule {
|
|
749
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
750
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
750
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationModule, declarations: [AuthorityDelegationComponent,
|
|
751
751
|
ListAuthorityDelegationComponent,
|
|
752
752
|
MyDelegatedUsersComponent], imports: [CoreModule,
|
|
753
753
|
ThemeSharedModule,
|
|
@@ -758,7 +758,7 @@ class AuthorityDelegationModule {
|
|
|
758
758
|
CreateUserDelegateComponent], exports: [AuthorityDelegationComponent,
|
|
759
759
|
ListAuthorityDelegationComponent,
|
|
760
760
|
MyDelegatedUsersComponent] }); }
|
|
761
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
761
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationModule, imports: [CoreModule,
|
|
762
762
|
ThemeSharedModule,
|
|
763
763
|
NgbDropdownModule,
|
|
764
764
|
NgbNavModule,
|
|
@@ -766,7 +766,7 @@ class AuthorityDelegationModule {
|
|
|
766
766
|
CommercialUiModule,
|
|
767
767
|
CreateUserDelegateComponent] }); }
|
|
768
768
|
}
|
|
769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuthorityDelegationModule, decorators: [{
|
|
770
770
|
type: NgModule,
|
|
771
771
|
args: [{
|
|
772
772
|
declarations: [...declarationsWithExports$1],
|
|
@@ -881,6 +881,20 @@ function openAuthorityDelegationFactory(injector) {
|
|
|
881
881
|
};
|
|
882
882
|
}
|
|
883
883
|
|
|
884
|
+
function provideIdentityConfig() {
|
|
885
|
+
return makeEnvironmentProviders([
|
|
886
|
+
IDENTITY_ROUTE_PROVIDERS,
|
|
887
|
+
IDENTITY_SETTING_TAB_PROVIDERS,
|
|
888
|
+
{ provide: OPEN_MY_LINK_USERS_MODAL, useFactory: openMyLinkUsersFactory, deps: [Injector] },
|
|
889
|
+
{
|
|
890
|
+
provide: OPEN_AUTHORITY_DELEGATION_MODAL,
|
|
891
|
+
useFactory: openAuthorityDelegationFactory,
|
|
892
|
+
deps: [Injector],
|
|
893
|
+
},
|
|
894
|
+
{ provide: APP_INITIALIZER, multi: true, useFactory: noop, deps: [LinkLoginHandler] },
|
|
895
|
+
]);
|
|
896
|
+
}
|
|
897
|
+
|
|
884
898
|
const declarationsWithExports = [
|
|
885
899
|
IdentitySettingsComponent,
|
|
886
900
|
IdentitySettingComponent,
|
|
@@ -889,24 +903,17 @@ const declarationsWithExports = [
|
|
|
889
903
|
MyLinkUsersModalComponent,
|
|
890
904
|
];
|
|
891
905
|
class IdentityConfigModule {
|
|
906
|
+
/**
|
|
907
|
+
* @deprecated forRoot method is deprecated, use `provideIdentityConfig` *function* for config settings.
|
|
908
|
+
*/
|
|
892
909
|
static forRoot() {
|
|
893
910
|
return {
|
|
894
911
|
ngModule: IdentityConfigModule,
|
|
895
|
-
providers: [
|
|
896
|
-
IDENTITY_ROUTE_PROVIDERS,
|
|
897
|
-
IDENTITY_SETTING_TAB_PROVIDERS,
|
|
898
|
-
{ provide: OPEN_MY_LINK_USERS_MODAL, useFactory: openMyLinkUsersFactory, deps: [Injector] },
|
|
899
|
-
{
|
|
900
|
-
provide: OPEN_AUTHORITY_DELEGATION_MODAL,
|
|
901
|
-
useFactory: openAuthorityDelegationFactory,
|
|
902
|
-
deps: [Injector],
|
|
903
|
-
},
|
|
904
|
-
{ provide: APP_INITIALIZER, multi: true, useFactory: noop, deps: [LinkLoginHandler] },
|
|
905
|
-
],
|
|
912
|
+
providers: [provideIdentityConfig()],
|
|
906
913
|
};
|
|
907
914
|
}
|
|
908
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
909
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
915
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
916
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigModule, declarations: [IdentitySettingsComponent,
|
|
910
917
|
IdentitySettingComponent,
|
|
911
918
|
IdentityExternalLoginSettingsComponent,
|
|
912
919
|
IdentityLdapSettingsComponent,
|
|
@@ -921,7 +928,7 @@ class IdentityConfigModule {
|
|
|
921
928
|
IdentityExternalLoginSettingsComponent,
|
|
922
929
|
IdentityLdapSettingsComponent,
|
|
923
930
|
MyLinkUsersModalComponent] }); }
|
|
924
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
931
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigModule, imports: [CoreModule,
|
|
925
932
|
ThemeSharedModule,
|
|
926
933
|
NgbDropdownModule,
|
|
927
934
|
NgbNavModule,
|
|
@@ -929,7 +936,7 @@ class IdentityConfigModule {
|
|
|
929
936
|
AuthorityDelegationModule,
|
|
930
937
|
IdentitySessionsSettingComponent] }); }
|
|
931
938
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: IdentityConfigModule, decorators: [{
|
|
933
940
|
type: NgModule,
|
|
934
941
|
args: [{
|
|
935
942
|
imports: [
|
|
@@ -950,5 +957,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
950
957
|
* Generated bundle index. Do not edit.
|
|
951
958
|
*/
|
|
952
959
|
|
|
953
|
-
export { AbpAuthorityDelegationService, AuthorityDelegationComponent, AuthorityDelegationModule, CreateUserDelegateComponent, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_PROVIDERS, IdentityConfigModule, IdentityConfigService, IdentityExternalLoginSettingsComponent, IdentityLdapSettingsComponent, IdentityLinkLoginService, IdentitySettingComponent, IdentitySettingsComponent, LinkLoginHandler, ListAuthorityDelegationComponent, MyDelegatedUsersComponent, MyLinkUsersModalComponent, configureRoutes, configureSettingTabs, timeRangeValidator };
|
|
960
|
+
export { AbpAuthorityDelegationService, AuthorityDelegationComponent, AuthorityDelegationModule, CreateUserDelegateComponent, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_PROVIDERS, IdentityConfigModule, IdentityConfigService, IdentityExternalLoginSettingsComponent, IdentityLdapSettingsComponent, IdentityLinkLoginService, IdentitySessionsSettingComponent, IdentitySettingComponent, IdentitySettingsComponent, LinkLoginHandler, ListAuthorityDelegationComponent, MyDelegatedUsersComponent, MyLinkUsersModalComponent, configureRoutes, configureSettingTabs, provideIdentityConfig, timeRangeValidator };
|
|
954
961
|
//# sourceMappingURL=volo-abp.ng.identity-config.mjs.map
|