@volo/abp.ng.identity 6.0.0-rc.4 → 6.0.0
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/identity-external-login-settings.component.d.ts +4 -4
- package/config/components/identity-setting-tabs/identity-ldap-settings.component.d.ts +1 -1
- package/config/components/identity-setting-tabs/identity-setting.component.d.ts +4 -4
- package/config/components/identity-settings.component.d.ts +1 -1
- package/config/components/my-link-users-modal.component.d.ts +1 -1
- package/config/handlers/link-login.handler.d.ts +1 -1
- package/config/{volo-abp.ng.identity-config.d.ts → index.d.ts} +0 -0
- package/config/services/identity-link-login.service.d.ts +4 -1
- package/esm2020/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +9 -7
- package/esm2020/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +3 -3
- package/esm2020/config/components/identity-setting-tabs/identity-setting.component.mjs +6 -6
- package/esm2020/config/components/identity-settings.component.mjs +8 -8
- package/esm2020/config/components/my-link-users-modal.component.mjs +8 -8
- package/esm2020/config/handlers/link-login.handler.mjs +3 -3
- package/esm2020/config/identity-config.module.mjs +5 -5
- package/esm2020/config/providers/route.provider.mjs +20 -20
- package/esm2020/config/providers/setting-tab.provider.mjs +2 -2
- package/esm2020/config/services/identity-config.service.mjs +3 -3
- package/esm2020/config/services/identity-link-login.service.mjs +4 -4
- package/esm2020/lib/components/claim-modal/claim-modal.component.mjs +9 -9
- package/esm2020/lib/components/claims/claims.component.mjs +12 -12
- package/esm2020/lib/components/external-login/external-login.component.mjs +8 -8
- package/esm2020/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +5 -5
- package/esm2020/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +3 -3
- package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +6 -6
- package/esm2020/lib/components/organization-units/organization-members/organization-members.component.mjs +11 -11
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +6 -6
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles.component.mjs +7 -7
- package/esm2020/lib/components/organization-units/organization-units.component.mjs +23 -29
- package/esm2020/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +3 -3
- package/esm2020/lib/components/roles/roles.component.mjs +13 -13
- package/esm2020/lib/components/security-logs/security-logs.component.mjs +9 -9
- package/esm2020/lib/components/users/users.component.mjs +18 -24
- package/esm2020/lib/defaults/default-claims-entity-props.mjs +7 -7
- package/esm2020/lib/defaults/default-claims-form-props.mjs +7 -7
- package/esm2020/lib/defaults/default-organization-members-entity-props.mjs +3 -3
- package/esm2020/lib/defaults/default-organization-roles-entity-props.mjs +2 -2
- package/esm2020/lib/defaults/default-organization-units-form-props.mjs +2 -2
- package/esm2020/lib/defaults/default-roles-entity-props.mjs +2 -2
- package/esm2020/lib/defaults/default-roles-form-props.mjs +4 -4
- package/esm2020/lib/defaults/default-security-logs-entity-props.mjs +10 -10
- package/esm2020/lib/defaults/default-users-entity-props.mjs +14 -14
- package/esm2020/lib/defaults/default-users-form-props.mjs +9 -9
- package/esm2020/lib/guards/extensions.guard.mjs +8 -8
- package/esm2020/lib/identity-routing.module.mjs +10 -10
- package/esm2020/lib/identity.module.mjs +17 -19
- package/esm2020/lib/services/organization-units-state.service.mjs +3 -3
- package/esm2020/lib/tokens/extensions.token.mjs +26 -26
- package/esm2020/proxy/lib/proxy/identity/identity-claim-type.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/identity-external-login.service.mjs +23 -0
- package/esm2020/proxy/lib/proxy/identity/identity-role.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/identity-security-log.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/identity-settings.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/identity-user.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/identity/index.mjs +2 -1
- package/esm2020/proxy/lib/proxy/identity/models.mjs +1 -1
- package/esm2020/proxy/lib/proxy/identity/organization-unit.service.mjs +4 -4
- package/esm2020/proxy/lib/proxy/users/models.mjs +1 -1
- package/fesm2015/volo-abp.ng.identity-config.mjs +57 -55
- package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity-proxy.mjs +41 -22
- package/fesm2015/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity.mjs +198 -212
- package/fesm2015/volo-abp.ng.identity.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-config.mjs +57 -55
- package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-proxy.mjs +41 -22
- package/fesm2020/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity.mjs +198 -212
- package/fesm2020/volo-abp.ng.identity.mjs.map +1 -1
- package/{volo-abp.ng.identity.d.ts → index.d.ts} +0 -0
- package/lib/components/claim-modal/claim-modal.component.d.ts +4 -4
- package/lib/components/claims/claims.component.d.ts +3 -3
- package/lib/components/external-login/external-login.component.d.ts +5 -5
- package/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.d.ts +1 -1
- package/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.d.ts +1 -1
- package/lib/components/organization-units/organization-members/organization-members-modal-body.component.d.ts +1 -1
- package/lib/components/organization-units/organization-members/organization-members.component.d.ts +1 -1
- package/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.d.ts +1 -1
- package/lib/components/organization-units/organization-roles/organization-roles.component.d.ts +1 -1
- package/lib/components/organization-units/organization-units.component.d.ts +5 -5
- package/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.d.ts +1 -1
- package/lib/components/roles/roles.component.d.ts +3 -3
- package/lib/components/security-logs/security-logs.component.d.ts +1 -1
- package/lib/components/users/users.component.d.ts +8 -8
- package/package.json +11 -11
- package/proxy/{volo-abp.ng.identity-proxy.d.ts → index.d.ts} +0 -0
- package/proxy/lib/proxy/identity/identity-external-login.service.d.ts +10 -0
- package/proxy/lib/proxy/identity/index.d.ts +1 -0
- package/proxy/lib/proxy/identity/models.d.ts +2 -0
- package/proxy/lib/proxy/users/models.d.ts +1 -0
- package/config/package.json +0 -10
- package/proxy/package.json +0 -10
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, Output, Input, ViewChild, Inject, InjectionToken, Injectable, LOCALE_ID, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i5 from '@abp/ng.theme.shared/extensions';
|
|
4
4
|
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EXTENSIONS_ACTION_DATA, DateAdapter, EntityAction, EntityProp, FormProp, ToolbarAction, ToolbarComponent, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
|
|
5
5
|
import * as i4 from '@angular/forms';
|
|
6
|
-
import { Validators,
|
|
6
|
+
import { Validators, UntypedFormControl } from '@angular/forms';
|
|
7
7
|
import * as i3 from '@volo/abp.ng.identity/proxy';
|
|
8
8
|
import { OrganizationUnitService } from '@volo/abp.ng.identity/proxy';
|
|
9
9
|
import * as i2 from '@abp/ng.theme.shared';
|
|
10
10
|
import { getPasswordValidators, Confirmation, ConfirmationService, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
11
11
|
import { finalize, take, tap, switchMap, map, mapTo } from 'rxjs/operators';
|
|
12
|
+
import * as i4$1 from '@angular/common';
|
|
13
|
+
import { formatDate } from '@angular/common';
|
|
12
14
|
import * as i1 from '@abp/ng.core';
|
|
13
15
|
import { mapEnumToOptions, SubscriptionService, generatePassword, ListService, InternalStore, LocalizationService, escapeHtmlChars, ConfigStateService, getShortDateShortTimeFormat, RouterOutletComponent, AuthGuard, PermissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
14
|
-
import * as
|
|
15
|
-
import { formatDate } from '@angular/common';
|
|
16
|
-
import * as i6$2 from '@abp/ng.components/tree';
|
|
16
|
+
import * as i10 from '@abp/ng.components/tree';
|
|
17
17
|
import { TreeAdapter, TreeModule } from '@abp/ng.components/tree';
|
|
18
|
-
import * as
|
|
19
|
-
import { PageModule } from '@abp/ng.components/page';
|
|
20
|
-
import * as i6 from '@volo/abp.commercial.ng.ui';
|
|
18
|
+
import * as i6$1 from '@volo/abp.commercial.ng.ui';
|
|
21
19
|
import { SHOW_ENTITY_HISTORY, CommercialUiModule, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
22
|
-
import * as
|
|
20
|
+
import * as i8 from '@ng-bootstrap/ng-bootstrap';
|
|
23
21
|
import { NgbDateAdapter, NgbNavModule, NgbDropdownModule, NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
|
|
24
|
-
import * as
|
|
22
|
+
import * as i9 from '@abp/ng.permission-management';
|
|
25
23
|
import { PermissionManagementModule } from '@abp/ng.permission-management';
|
|
26
|
-
import * as
|
|
24
|
+
import * as i6 from '@ngx-validate/core';
|
|
27
25
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
26
|
+
import * as i12 from '@abp/ng.components/page';
|
|
27
|
+
import { PageModule } from '@abp/ng.components/page';
|
|
28
28
|
import { of } from 'rxjs';
|
|
29
29
|
import { ImpersonationService } from '@volo/abp.commercial.ng.ui/config';
|
|
30
30
|
import * as i1$1 from '@angular/router';
|
|
@@ -90,12 +90,12 @@ class ExternalLoginComponent {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
ExternalLoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
ExternalLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
93
|
+
ExternalLoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExternalLoginComponent, deps: [{ token: i0.Injector }, { token: i4.UntypedFormBuilder }, { token: i3.IdentityUserService }, { token: i2.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
ExternalLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ExternalLoginComponent, selector: "abp-external-login", inputs: { visible: "visible" }, outputs: { dataSave: "dataSave", visibleChange: "visibleChange" }, usesOnChanges: true, ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::ExternalUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form>\r\n <div class=\"row\">\r\n <div class=\"col col-sm-12\">\r\n <div class=\"mb-6\">\r\n <label class=\"form-label\" for=\"providerTypeSelect\">\r\n <span>{{ 'AbpIdentity::Provider' | abpLocalization }}</span> </label\r\n ><select\r\n autofocus\r\n id=\"providerTypeSelect\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"selectedExternalLoginProvider\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n >\r\n <option *ngFor=\"let type of externalLoginProviders\" [ngValue]=\"type.name\">\r\n {{ type.name }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col col-sm-12\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newUserName\">\r\n <span>{{ 'AbpIdentity::UserNameOrEmailAddress' | abpLocalization }}</span>\r\n </label>\r\n <input\r\n required\r\n id=\"newUserName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"userNameOrEmailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newUserName\">\r\n <span>{{ 'AbpIdentity::Password' | abpLocalization }}</span>\r\n </label>\r\n <input\r\n required\r\n id=\"password\"\r\n type=\"password\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"password\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.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: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ExternalLoginComponent, decorators: [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{ selector: 'abp-external-login', template: "<abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::ExternalUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form>\r\n <div class=\"row\">\r\n <div class=\"col col-sm-12\">\r\n <div class=\"mb-6\">\r\n <label class=\"form-label\" for=\"providerTypeSelect\">\r\n <span>{{ 'AbpIdentity::Provider' | abpLocalization }}</span> </label\r\n ><select\r\n autofocus\r\n id=\"providerTypeSelect\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"selectedExternalLoginProvider\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n >\r\n <option *ngFor=\"let type of externalLoginProviders\" [ngValue]=\"type.name\">\r\n {{ type.name }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col col-sm-12\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newUserName\">\r\n <span>{{ 'AbpIdentity::UserNameOrEmailAddress' | abpLocalization }}</span>\r\n </label>\r\n <input\r\n required\r\n id=\"newUserName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"userNameOrEmailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newUserName\">\r\n <span>{{ 'AbpIdentity::Password' | abpLocalization }}</span>\r\n </label>\r\n <input\r\n required\r\n id=\"password\"\r\n type=\"password\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"password\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
98
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i4.
|
|
98
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i4.UntypedFormBuilder }, { type: i3.IdentityUserService }, { type: i2.ConfirmationService }]; }, propDecorators: { dataSave: [{
|
|
99
99
|
type: Output
|
|
100
100
|
}], visible: [{
|
|
101
101
|
type: Input
|
|
@@ -182,12 +182,12 @@ class ClaimModalComponent {
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
ClaimModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
186
|
-
ClaimModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
185
|
+
ClaimModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ClaimModalComponent, deps: [{ token: i3.IdentityRoleService }, { token: i3.IdentityUserService }, { token: i1.SubscriptionService }, { token: i4.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
186
|
+
ClaimModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ClaimModalComponent, selector: "abp-claim-modal", inputs: { subject: "subject", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::Claims' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form (ngSubmit)=\"addClaim(ngForm)\" #ngForm=\"ngForm\" [formGroup]=\"form\" validateOnSubmit [markAsDirtyWhenSubmit]=\"false\">\r\n <div class=\"row\">\r\n <div class=\"col col-sm-6\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"claimTypeSelect\">{{\r\n 'AbpIdentity::Type' | abpLocalization\r\n }}</label\r\n ><select\r\n autofocus\r\n id=\"claimTypeSelect\"\r\n class=\"form-select form-control\"\r\n formControlName=\"claimType\"\r\n >\r\n <option></option>\r\n <option *ngFor=\"let type of claimTypes\" [ngValue]=\"type.name\">{{ type.name }}</option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col col-sm-6\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newClaimValue\">Value</label>\r\n <input\r\n required\r\n id=\"newClaimValue\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"claimValue\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col col-sm-12 align-self-center d-grid\">\r\n <button class=\"btn btn-success\" type=\"submit\" >\r\n <i class=\"fa fa-plus\"></i>\r\n {{ 'AbpIdentity::AddClaim' | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n\r\n <div class=\"willBeHidden mt-3\" *ngIf=\"subjectClaims && subjectClaims.length\">\r\n <div class=\"input-group mb-3\" *ngFor=\"let claim of subjectClaims; let i = index\">\r\n <div class=\"input-group-prepend\">\r\n <label class=\"input-group-text mw-100 h-100 fs-9\">{{ claim.claimType }}</label>\r\n </div>\r\n <input\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"subjectClaims[i].claimValue\"\r\n required\r\n />\r\n <div class=\"input-group-append\">\r\n <button class=\"btn btn-danger deleteClaim\" (click)=\"removeClaim(i)\">\r\n <i class=\"fa fa-trash\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.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: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i6.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ClaimModalComponent, decorators: [{
|
|
188
188
|
type: Component,
|
|
189
189
|
args: [{ selector: 'abp-claim-modal', providers: [SubscriptionService], template: "<abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::Claims' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form (ngSubmit)=\"addClaim(ngForm)\" #ngForm=\"ngForm\" [formGroup]=\"form\" validateOnSubmit [markAsDirtyWhenSubmit]=\"false\">\r\n <div class=\"row\">\r\n <div class=\"col col-sm-6\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"claimTypeSelect\">{{\r\n 'AbpIdentity::Type' | abpLocalization\r\n }}</label\r\n ><select\r\n autofocus\r\n id=\"claimTypeSelect\"\r\n class=\"form-select form-control\"\r\n formControlName=\"claimType\"\r\n >\r\n <option></option>\r\n <option *ngFor=\"let type of claimTypes\" [ngValue]=\"type.name\">{{ type.name }}</option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col col-sm-6\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"newClaimValue\">Value</label>\r\n <input\r\n required\r\n id=\"newClaimValue\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"claimValue\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col col-sm-12 align-self-center d-grid\">\r\n <button class=\"btn btn-success\" type=\"submit\" >\r\n <i class=\"fa fa-plus\"></i>\r\n {{ 'AbpIdentity::AddClaim' | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n\r\n <div class=\"willBeHidden mt-3\" *ngIf=\"subjectClaims && subjectClaims.length\">\r\n <div class=\"input-group mb-3\" *ngFor=\"let claim of subjectClaims; let i = index\">\r\n <div class=\"input-group-prepend\">\r\n <label class=\"input-group-text mw-100 h-100 fs-9\">{{ claim.claimType }}</label>\r\n </div>\r\n <input\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"subjectClaims[i].claimValue\"\r\n required\r\n />\r\n <div class=\"input-group-append\">\r\n <button class=\"btn btn-danger deleteClaim\" (click)=\"removeClaim(i)\">\r\n <i class=\"fa fa-trash\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
190
|
-
}], ctorParameters: function () { return [{ type: i3.IdentityRoleService }, { type: i3.IdentityUserService }, { type: i1.SubscriptionService }, { type: i4.
|
|
190
|
+
}], ctorParameters: function () { return [{ type: i3.IdentityRoleService }, { type: i3.IdentityUserService }, { type: i1.SubscriptionService }, { type: i4.UntypedFormBuilder }]; }, propDecorators: { subject: [{
|
|
191
191
|
type: Input
|
|
192
192
|
}], visible: [{
|
|
193
193
|
type: Input
|
|
@@ -233,7 +233,7 @@ class UsersComponent {
|
|
|
233
233
|
validators: () => [Validators.required],
|
|
234
234
|
name: 'lockoutEnd',
|
|
235
235
|
id: 'lockout-end',
|
|
236
|
-
type: "datetime" /* DateTime */,
|
|
236
|
+
type: "datetime" /* ePropType.DateTime */,
|
|
237
237
|
};
|
|
238
238
|
this.trackByFn = (index, item) => Object.keys(item)[0] || index;
|
|
239
239
|
this.onVisiblePermissionChange = (value) => {
|
|
@@ -397,30 +397,24 @@ class UsersComponent {
|
|
|
397
397
|
.subscribe(() => (this.twoFactor.isModalVisible = false));
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
UsersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
401
|
-
UsersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
400
|
+
UsersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: UsersComponent, deps: [{ token: i1.ListService }, { token: i2.ConfirmationService }, { token: i3.IdentityUserService }, { token: i4.UntypedFormBuilder }, { token: i2.ToasterService }, { token: i0.Injector }, { token: i1.ConfigStateService }, { token: i3.IdentityRoleService }, { token: i3.OrganizationUnitService }], target: i0.ɵɵFactoryTarget.Component });
|
|
401
|
+
UsersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: UsersComponent, selector: "abp-users", providers: [
|
|
402
402
|
ListService,
|
|
403
403
|
{
|
|
404
404
|
provide: EXTENSIONS_IDENTIFIER,
|
|
405
|
-
useValue: "Identity.UsersComponent" /* Users */,
|
|
405
|
+
useValue: "Identity.UsersComponent" /* eIdentityComponents.Users */,
|
|
406
406
|
},
|
|
407
|
-
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Users' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-users-wrapper\">\r\n <abp-advanced-entity-filters [list]=\"list\" localizationSourceName=\"AbpIdentity\">\r\n <abp-advanced-entity-filters-form>\r\n <form #filterForm (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"roleIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::Role' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"roleIdFilter\"\r\n lookupNameProp=\"name\"\r\n [getFn]=\"roleService.getList\"\r\n [(ngModel)]=\"filters.roleId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"organizationUnitIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::OrganizationUnit' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"organizationUnitIdFilter\"\r\n [getFn]=\"organizationUnitService.getList\"\r\n [(ngModel)]=\"filters.organizationUnitId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"UserName\" class=\"form-label\">\r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"UserName\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"PhoneNumber\" class=\"form-label\">\r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"PhoneNumber\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.phoneNumber\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"EmailAddress\" class=\"form-label\">\r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"EmailAddress\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.emailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"d-flex col-3\">\r\n <div class=\"align-self-center\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"is-locked-out\"\r\n [(ngModel)]=\"filters.isLockedOut\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"is-locked-out\">{{\r\n 'AbpIdentity::Lock' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n <div class=\"align-self-center ms-3\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"not-active\"\r\n [(ngModel)]=\"filters.notActive\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"not-active\">{{\r\n 'AbpIdentity::NotActive' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-auto align-self-end mb-3\">\r\n <div class=\"row\">\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" (click)=\"clearFilters()\">\r\n <span>{{ 'AbpUi::Clear' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>{{ 'AbpUi::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </abp-advanced-entity-filters-form>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\" (disappear)=\"form = null\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form *ngIf=\"form\" [formGroup]=\"form\" id=\"userForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <ul id=\"user-nav-tabs\" ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li id=\"user-informations\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::UserInformations' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-roles\" *abpPermission=\"'AbpIdentity.Users.Update.ManageRoles'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div\r\n *ngFor=\"let roleGroup of roleGroups; let i = index; trackBy: trackByFn\"\r\n class=\"form-check mb-2\"\r\n >\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n [attr.id]=\"'roles-' + i\"\r\n [formControl]=\"roleGroup.controls[roles[i].name]\"\r\n />\r\n <label class=\"form-check-label\" [attr.for]=\"'roles-' + i\">{{ roles[i].name }}</label>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-organization-units\" *abpPermission=\"'AbpIdentity.Users.Update.ManageOU'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::OrganizationUnits' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-tree\r\n *ngIf=\"organization.nodes?.length; else noDataMessage\"\r\n [checkStrictly]=\"true\"\r\n [checkable]=\"true\"\r\n [nodes]=\"organization.nodes\"\r\n [isNodeSelected]=\"organization.selectFn\"\r\n [(checkedKeys)]=\"organization.checkedKeys\"\r\n [(expandedKeys)]=\"organization.expandedKeys\"\r\n ></abp-tree>\r\n\r\n <ng-template #noDataMessage>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\" class=\"mt-2 fade-in-top\"></div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"userForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'U' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n [hideBadges]=\"true\"\r\n providerName=\"U\"\r\n [entityDisplayName]=\"entityDisplayName\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n\r\n<abp-modal [(visible)]=\"isSetPasswordModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SetPassword' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form\r\n [formGroup]=\"setPasswordForm\"\r\n id=\"PasswordForm\"\r\n (ngSubmit)=\"setPassword()\"\r\n validateOnSubmit\r\n >\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"new-password\">{{\r\n 'AbpIdentity::Password' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <div class=\"col-10 p-0\">\r\n <input\r\n type=\"text\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n </div>\r\n\r\n <button\r\n class=\"btn btn-secondary\"\r\n id=\"generate-random-password-button\"\r\n type=\"button\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"isLockModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::Lock' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"lockForm\" (ngSubmit)=\"lock()\" validateOnSubmit>\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:LockoutEnd' | abpLocalization\r\n }}</label>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\" [formGroup]=\"lockForm\">\r\n <abp-date-time-picker [prop]=\"dateTimePickerProps\"></abp-date-time-picker>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n (click)=\"lock()\"\r\n [disabled]=\"lockForm?.invalid || modalBusy\"\r\n >{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"twoFactor.isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::TwoFactor' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n id=\"two-factor-enabled\"\r\n [(ngModel)]=\"twoFactor.checkboxValue\"\r\n />\r\n <label class=\"form-check-label\" for=\"two-factor-enabled\">{{\r\n 'AbpIdentity::DisplayName:TwoFactorEnabled' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"setTwoFactor()\" [disabled]=\"modalBusy\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".mh-35{max-height:35px}\n"], components: [{ type: i4$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { type: i6.AdvancedEntityFiltersFormComponent, selector: "abp-advanced-entity-filters-form" }, { type: i6.LookupSelectComponent, selector: "abp-lookup-select", inputs: ["maxResultCount"] }, { type: i6$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i6$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { type: i6$2.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { type: i9.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { type: i10.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { type: ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { type: i6$1.DateTimePickerComponent, selector: "abp-date-time-picker", inputs: ["prop", "meridian"], exportAs: ["abpDateTimePicker"] }], directives: [{ type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i13.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { type: i9.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { type: i9.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { type: i9.NgbNavLink, selector: "a[ngbNavLink]" }, { type: i9.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i13.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { type: i2.ModalCloseDirective, selector: "[abpClose]" }, { type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
407
|
+
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Users' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-users-wrapper\">\r\n <abp-advanced-entity-filters [list]=\"list\" localizationSourceName=\"AbpIdentity\">\r\n <abp-advanced-entity-filters-form>\r\n <form #filterForm (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"roleIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::Role' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"roleIdFilter\"\r\n lookupNameProp=\"name\"\r\n [getFn]=\"roleService.getList\"\r\n [(ngModel)]=\"filters.roleId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"organizationUnitIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::OrganizationUnit' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"organizationUnitIdFilter\"\r\n [getFn]=\"organizationUnitService.getList\"\r\n [(ngModel)]=\"filters.organizationUnitId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"UserName\" class=\"form-label\">\r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"UserName\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"PhoneNumber\" class=\"form-label\">\r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"PhoneNumber\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.phoneNumber\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"EmailAddress\" class=\"form-label\">\r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"EmailAddress\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.emailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"d-flex col-3\">\r\n <div class=\"align-self-center\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"is-locked-out\"\r\n [(ngModel)]=\"filters.isLockedOut\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"is-locked-out\">{{\r\n 'AbpIdentity::Lock' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n <div class=\"align-self-center ms-3\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"not-active\"\r\n [(ngModel)]=\"filters.notActive\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"not-active\">{{\r\n 'AbpIdentity::NotActive' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-auto align-self-end mb-3\">\r\n <div class=\"row\">\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" (click)=\"clearFilters()\">\r\n <span>{{ 'AbpUi::Clear' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>{{ 'AbpUi::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </abp-advanced-entity-filters-form>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\" (disappear)=\"form = null\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form *ngIf=\"form\" [formGroup]=\"form\" id=\"userForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <ul id=\"user-nav-tabs\" ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li id=\"user-informations\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::UserInformations' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-roles\" *abpPermission=\"'AbpIdentity.Users.Update.ManageRoles'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div\r\n *ngFor=\"let roleGroup of roleGroups; let i = index; trackBy: trackByFn\"\r\n class=\"form-check mb-2\"\r\n >\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n [attr.id]=\"'roles-' + i\"\r\n [formControl]=\"roleGroup.controls[roles[i].name]\"\r\n />\r\n <label class=\"form-check-label\" [attr.for]=\"'roles-' + i\">{{ roles[i].name }}</label>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-organization-units\" *abpPermission=\"'AbpIdentity.Users.Update.ManageOU'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::OrganizationUnits' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-tree\r\n *ngIf=\"organization.nodes?.length; else noDataMessage\"\r\n [checkStrictly]=\"true\"\r\n [checkable]=\"true\"\r\n [nodes]=\"organization.nodes\"\r\n [isNodeSelected]=\"organization.selectFn\"\r\n [(checkedKeys)]=\"organization.checkedKeys\"\r\n [(expandedKeys)]=\"organization.expandedKeys\"\r\n ></abp-tree>\r\n\r\n <ng-template #noDataMessage>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\" class=\"mt-2 fade-in-top\"></div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"userForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'U' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n [hideBadges]=\"true\"\r\n providerName=\"U\"\r\n [entityDisplayName]=\"entityDisplayName\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n\r\n<abp-modal [(visible)]=\"isSetPasswordModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SetPassword' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form\r\n [formGroup]=\"setPasswordForm\"\r\n id=\"PasswordForm\"\r\n (ngSubmit)=\"setPassword()\"\r\n validateOnSubmit\r\n >\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"new-password\">{{\r\n 'AbpIdentity::Password' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <div class=\"col-10 p-0\">\r\n <input\r\n type=\"text\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n </div>\r\n\r\n <button\r\n class=\"btn btn-secondary\"\r\n id=\"generate-random-password-button\"\r\n type=\"button\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"isLockModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::Lock' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"lockForm\" (ngSubmit)=\"lock()\" validateOnSubmit>\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:LockoutEnd' | abpLocalization\r\n }}</label>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\" [formGroup]=\"lockForm\">\r\n <abp-date-time-picker [prop]=\"dateTimePickerProps\"></abp-date-time-picker>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n (click)=\"lock()\"\r\n [disabled]=\"lockForm?.invalid || modalBusy\"\r\n >{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"twoFactor.isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::TwoFactor' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n id=\"two-factor-enabled\"\r\n [(ngModel)]=\"twoFactor.checkboxValue\"\r\n />\r\n <label class=\"form-check-label\" for=\"two-factor-enabled\">{{\r\n 'AbpIdentity::DisplayName:TwoFactorEnabled' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"setTwoFactor()\" [disabled]=\"modalBusy\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".mh-35{max-height:35px}\n"], dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.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: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i6$1.LookupSelectComponent, selector: "abp-lookup-select", inputs: ["maxResultCount"] }, { kind: "component", type: i5.DateTimePickerComponent, selector: "abp-date-time-picker", inputs: ["prop", "meridian"], exportAs: ["abpDateTimePicker"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6$1.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i6$1.AdvancedEntityFiltersFormComponent, selector: "abp-advanced-entity-filters-form" }, { kind: "directive", type: i8.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i8.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i8.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i8.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "component", type: i8.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i9.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i6.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i10.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "component", type: i12.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: UsersComponent, decorators: [{
|
|
409
409
|
type: Component,
|
|
410
410
|
args: [{ selector: 'abp-users', providers: [
|
|
411
411
|
ListService,
|
|
412
412
|
{
|
|
413
413
|
provide: EXTENSIONS_IDENTIFIER,
|
|
414
|
-
useValue: "Identity.UsersComponent" /* Users */,
|
|
414
|
+
useValue: "Identity.UsersComponent" /* eIdentityComponents.Users */,
|
|
415
415
|
},
|
|
416
|
-
], styles: [
|
|
417
|
-
|
|
418
|
-
.mh-35 {
|
|
419
|
-
max-height: 35px;
|
|
420
|
-
}
|
|
421
|
-
`,
|
|
422
|
-
], template: "<abp-page [title]=\"'AbpIdentity::Users' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-users-wrapper\">\r\n <abp-advanced-entity-filters [list]=\"list\" localizationSourceName=\"AbpIdentity\">\r\n <abp-advanced-entity-filters-form>\r\n <form #filterForm (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"roleIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::Role' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"roleIdFilter\"\r\n lookupNameProp=\"name\"\r\n [getFn]=\"roleService.getList\"\r\n [(ngModel)]=\"filters.roleId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"organizationUnitIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::OrganizationUnit' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"organizationUnitIdFilter\"\r\n [getFn]=\"organizationUnitService.getList\"\r\n [(ngModel)]=\"filters.organizationUnitId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"UserName\" class=\"form-label\">\r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"UserName\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"PhoneNumber\" class=\"form-label\">\r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"PhoneNumber\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.phoneNumber\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"EmailAddress\" class=\"form-label\">\r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"EmailAddress\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.emailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"d-flex col-3\">\r\n <div class=\"align-self-center\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"is-locked-out\"\r\n [(ngModel)]=\"filters.isLockedOut\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"is-locked-out\">{{\r\n 'AbpIdentity::Lock' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n <div class=\"align-self-center ms-3\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"not-active\"\r\n [(ngModel)]=\"filters.notActive\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"not-active\">{{\r\n 'AbpIdentity::NotActive' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-auto align-self-end mb-3\">\r\n <div class=\"row\">\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" (click)=\"clearFilters()\">\r\n <span>{{ 'AbpUi::Clear' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>{{ 'AbpUi::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </abp-advanced-entity-filters-form>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\" (disappear)=\"form = null\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form *ngIf=\"form\" [formGroup]=\"form\" id=\"userForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <ul id=\"user-nav-tabs\" ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li id=\"user-informations\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::UserInformations' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-roles\" *abpPermission=\"'AbpIdentity.Users.Update.ManageRoles'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div\r\n *ngFor=\"let roleGroup of roleGroups; let i = index; trackBy: trackByFn\"\r\n class=\"form-check mb-2\"\r\n >\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n [attr.id]=\"'roles-' + i\"\r\n [formControl]=\"roleGroup.controls[roles[i].name]\"\r\n />\r\n <label class=\"form-check-label\" [attr.for]=\"'roles-' + i\">{{ roles[i].name }}</label>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-organization-units\" *abpPermission=\"'AbpIdentity.Users.Update.ManageOU'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::OrganizationUnits' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-tree\r\n *ngIf=\"organization.nodes?.length; else noDataMessage\"\r\n [checkStrictly]=\"true\"\r\n [checkable]=\"true\"\r\n [nodes]=\"organization.nodes\"\r\n [isNodeSelected]=\"organization.selectFn\"\r\n [(checkedKeys)]=\"organization.checkedKeys\"\r\n [(expandedKeys)]=\"organization.expandedKeys\"\r\n ></abp-tree>\r\n\r\n <ng-template #noDataMessage>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\" class=\"mt-2 fade-in-top\"></div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"userForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'U' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n [hideBadges]=\"true\"\r\n providerName=\"U\"\r\n [entityDisplayName]=\"entityDisplayName\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n\r\n<abp-modal [(visible)]=\"isSetPasswordModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SetPassword' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form\r\n [formGroup]=\"setPasswordForm\"\r\n id=\"PasswordForm\"\r\n (ngSubmit)=\"setPassword()\"\r\n validateOnSubmit\r\n >\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"new-password\">{{\r\n 'AbpIdentity::Password' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <div class=\"col-10 p-0\">\r\n <input\r\n type=\"text\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n </div>\r\n\r\n <button\r\n class=\"btn btn-secondary\"\r\n id=\"generate-random-password-button\"\r\n type=\"button\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"isLockModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::Lock' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"lockForm\" (ngSubmit)=\"lock()\" validateOnSubmit>\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:LockoutEnd' | abpLocalization\r\n }}</label>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\" [formGroup]=\"lockForm\">\r\n <abp-date-time-picker [prop]=\"dateTimePickerProps\"></abp-date-time-picker>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n (click)=\"lock()\"\r\n [disabled]=\"lockForm?.invalid || modalBusy\"\r\n >{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"twoFactor.isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::TwoFactor' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n id=\"two-factor-enabled\"\r\n [(ngModel)]=\"twoFactor.checkboxValue\"\r\n />\r\n <label class=\"form-check-label\" for=\"two-factor-enabled\">{{\r\n 'AbpIdentity::DisplayName:TwoFactorEnabled' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"setTwoFactor()\" [disabled]=\"modalBusy\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
423
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.ConfirmationService }, { type: i3.IdentityUserService }, { type: i4.FormBuilder }, { type: i2.ToasterService }, { type: i0.Injector }, { type: i1.ConfigStateService }, { type: i3.IdentityRoleService }, { type: i3.OrganizationUnitService }]; }, propDecorators: { modalContent: [{
|
|
416
|
+
], template: "<abp-page [title]=\"'AbpIdentity::Users' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-users-wrapper\">\r\n <abp-advanced-entity-filters [list]=\"list\" localizationSourceName=\"AbpIdentity\">\r\n <abp-advanced-entity-filters-form>\r\n <form #filterForm (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"roleIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::Role' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"roleIdFilter\"\r\n lookupNameProp=\"name\"\r\n [getFn]=\"roleService.getList\"\r\n [(ngModel)]=\"filters.roleId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"organizationUnitIdFilter\" class=\"form-label\">\r\n {{ 'AbpIdentity::OrganizationUnit' | abpLocalization }}\r\n </label>\r\n <abp-lookup-select\r\n cid=\"organizationUnitIdFilter\"\r\n [getFn]=\"organizationUnitService.getList\"\r\n [(ngModel)]=\"filters.organizationUnitId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-lookup-select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"UserName\" class=\"form-label\">\r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"UserName\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"PhoneNumber\" class=\"form-label\">\r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"PhoneNumber\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.phoneNumber\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-3\">\r\n <div class=\"form-group mb-3\">\r\n <label for=\"EmailAddress\" class=\"form-label\">\r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"text\"\r\n id=\"EmailAddress\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"filters.emailAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div class=\"d-flex col-3\">\r\n <div class=\"align-self-center\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"is-locked-out\"\r\n [(ngModel)]=\"filters.isLockedOut\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"is-locked-out\">{{\r\n 'AbpIdentity::Lock' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n <div class=\"align-self-center ms-3\">\r\n <div class=\"form-check\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"not-active\"\r\n [(ngModel)]=\"filters.notActive\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <label class=\"form-check-label\" for=\"not-active\">{{\r\n 'AbpIdentity::NotActive' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-12 col-sm-auto align-self-end mb-3\">\r\n <div class=\"row\">\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" (click)=\"clearFilters()\">\r\n <span>{{ 'AbpUi::Clear' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n <div class=\"col-6 col-sm-auto d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>{{ 'AbpUi::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </abp-advanced-entity-filters-form>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\" (disappear)=\"form = null\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form *ngIf=\"form\" [formGroup]=\"form\" id=\"userForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <ul id=\"user-nav-tabs\" ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li id=\"user-informations\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::UserInformations' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-roles\" *abpPermission=\"'AbpIdentity.Users.Update.ManageRoles'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div\r\n *ngFor=\"let roleGroup of roleGroups; let i = index; trackBy: trackByFn\"\r\n class=\"form-check mb-2\"\r\n >\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n [attr.id]=\"'roles-' + i\"\r\n [formControl]=\"roleGroup.controls[roles[i].name]\"\r\n />\r\n <label class=\"form-check-label\" [attr.for]=\"'roles-' + i\">{{ roles[i].name }}</label>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li id=\"user-organization-units\" *abpPermission=\"'AbpIdentity.Users.Update.ManageOU'\" ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpIdentity::OrganizationUnits' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-tree\r\n *ngIf=\"organization.nodes?.length; else noDataMessage\"\r\n [checkStrictly]=\"true\"\r\n [checkable]=\"true\"\r\n [nodes]=\"organization.nodes\"\r\n [isNodeSelected]=\"organization.selectFn\"\r\n [(checkedKeys)]=\"organization.checkedKeys\"\r\n [(expandedKeys)]=\"organization.expandedKeys\"\r\n ></abp-tree>\r\n\r\n <ng-template #noDataMessage>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\" class=\"mt-2 fade-in-top\"></div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"userForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'U' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n [hideBadges]=\"true\"\r\n providerName=\"U\"\r\n [entityDisplayName]=\"entityDisplayName\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n\r\n<abp-modal [(visible)]=\"isSetPasswordModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SetPassword' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form\r\n [formGroup]=\"setPasswordForm\"\r\n id=\"PasswordForm\"\r\n (ngSubmit)=\"setPassword()\"\r\n validateOnSubmit\r\n >\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"new-password\">{{\r\n 'AbpIdentity::Password' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <div class=\"col-10 p-0\">\r\n <input\r\n type=\"text\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n </div>\r\n\r\n <button\r\n class=\"btn btn-secondary\"\r\n id=\"generate-random-password-button\"\r\n type=\"button\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"isLockModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::Lock' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"lockForm\" (ngSubmit)=\"lock()\" validateOnSubmit>\r\n <label class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:LockoutEnd' | abpLocalization\r\n }}</label>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"mb-3\" [formGroup]=\"lockForm\">\r\n <abp-date-time-picker [prop]=\"dateTimePickerProps\"></abp-date-time-picker>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n (click)=\"lock()\"\r\n [disabled]=\"lockForm?.invalid || modalBusy\"\r\n >{{ 'AbpIdentity::Save' | abpLocalization }}</abp-button\r\n >\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-modal [(visible)]=\"twoFactor.isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::TwoFactor' | abpLocalization }} - {{ selected.userName }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mt-2 fade-in-top\">\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"form-check-input\"\r\n id=\"two-factor-enabled\"\r\n [(ngModel)]=\"twoFactor.checkboxValue\"\r\n />\r\n <label class=\"form-check-label\" for=\"two-factor-enabled\">{{\r\n 'AbpIdentity::DisplayName:TwoFactorEnabled' | abpLocalization\r\n }}</label>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"setTwoFactor()\" [disabled]=\"modalBusy\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".mh-35{max-height:35px}\n"] }]
|
|
417
|
+
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.ConfirmationService }, { type: i3.IdentityUserService }, { type: i4.UntypedFormBuilder }, { type: i2.ToasterService }, { type: i0.Injector }, { type: i1.ConfigStateService }, { type: i3.IdentityRoleService }, { type: i3.OrganizationUnitService }]; }, propDecorators: { modalContent: [{
|
|
424
418
|
type: ViewChild,
|
|
425
419
|
args: ['modalContent']
|
|
426
420
|
}] } });
|
|
@@ -439,9 +433,9 @@ class UserDropdownMenuComponent {
|
|
|
439
433
|
this.component.list.get();
|
|
440
434
|
}
|
|
441
435
|
}
|
|
442
|
-
UserDropdownMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
443
|
-
UserDropdownMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
UserDropdownMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: UserDropdownMenuComponent, deps: [{ token: EXTENSIONS_ACTION_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
437
|
+
UserDropdownMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: UserDropdownMenuComponent, selector: "abp-user-dropdown-menu", ngImport: i0, template: "<div ngbDropdown class=\"d-inline-block ngb-dropdown\">\r\n <button class=\"btn btn-primary btn-sm\" id=\"Import\" ngbDropdownToggle>\r\n {{ 'AbpIdentity::Import' | abpLocalization }}\r\n </button>\r\n\r\n <div ngbDropdownMenu id=\"options\" aria-labelledby=\"Import\">\r\n <div *ngFor=\"let option of options\">\r\n <button ngbDropdownItem on-click=\"onAddExternalLogin()\">\r\n {{ option | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<abp-external-login\r\n [(visible)]=\"isExternalModalVisible\"\r\n (dataSave)=\"getList()\"\r\n></abp-external-login>\r\n", dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i8.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i8.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i8.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { kind: "directive", type: i8.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: ExternalLoginComponent, selector: "abp-external-login", inputs: ["visible"], outputs: ["dataSave", "visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: UserDropdownMenuComponent, decorators: [{
|
|
445
439
|
type: Component,
|
|
446
440
|
args: [{ selector: 'abp-user-dropdown-menu', template: "<div ngbDropdown class=\"d-inline-block ngb-dropdown\">\r\n <button class=\"btn btn-primary btn-sm\" id=\"Import\" ngbDropdownToggle>\r\n {{ 'AbpIdentity::Import' | abpLocalization }}\r\n </button>\r\n\r\n <div ngbDropdownMenu id=\"options\" aria-labelledby=\"Import\">\r\n <div *ngFor=\"let option of options\">\r\n <button ngbDropdownItem on-click=\"onAddExternalLogin()\">\r\n {{ option | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<abp-external-login\r\n [(visible)]=\"isExternalModalVisible\"\r\n (dataSave)=\"getList()\"\r\n></abp-external-login>\r\n" }]
|
|
447
441
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -526,21 +520,21 @@ class ClaimsComponent {
|
|
|
526
520
|
});
|
|
527
521
|
}
|
|
528
522
|
}
|
|
529
|
-
ClaimsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
530
|
-
ClaimsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
523
|
+
ClaimsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ClaimsComponent, deps: [{ token: i1.ListService }, { token: i2.ConfirmationService }, { token: i0.Injector }, { token: i3.IdentityClaimTypeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
524
|
+
ClaimsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ClaimsComponent, selector: "abp-claims", providers: [
|
|
531
525
|
ListService,
|
|
532
526
|
{
|
|
533
527
|
provide: EXTENSIONS_IDENTIFIER,
|
|
534
|
-
useValue: "Identity.ClaimsComponent" /* Claims */,
|
|
528
|
+
useValue: "Identity.ClaimsComponent" /* eIdentityComponents.Claims */,
|
|
535
529
|
},
|
|
536
|
-
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::ClaimTypes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-claim-types-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewClaimType') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"claimTypeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"mt-2 fade-in-top\">\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"claimTypeForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n",
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
530
|
+
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::ClaimTypes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-claim-types-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewClaimType') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"claimTypeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"mt-2 fade-in-top\">\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"claimTypeForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6$1.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i12.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ClaimsComponent, decorators: [{
|
|
538
532
|
type: Component,
|
|
539
533
|
args: [{ selector: 'abp-claims', providers: [
|
|
540
534
|
ListService,
|
|
541
535
|
{
|
|
542
536
|
provide: EXTENSIONS_IDENTIFIER,
|
|
543
|
-
useValue: "Identity.ClaimsComponent" /* Claims */,
|
|
537
|
+
useValue: "Identity.ClaimsComponent" /* eIdentityComponents.Claims */,
|
|
544
538
|
},
|
|
545
539
|
], template: "<abp-page [title]=\"'AbpIdentity::ClaimTypes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-claim-types-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewClaimType') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"claimTypeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"mt-2 fade-in-top\">\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"claimTypeForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
546
540
|
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.ConfirmationService }, { type: i0.Injector }, { type: i3.IdentityClaimTypeService }]; }, propDecorators: { modalContent: [{
|
|
@@ -608,9 +602,9 @@ class AbstractOrganizationUnitComponent {
|
|
|
608
602
|
this.isModalVisible = true;
|
|
609
603
|
}
|
|
610
604
|
}
|
|
611
|
-
AbstractOrganizationUnitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
612
|
-
AbstractOrganizationUnitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
605
|
+
AbstractOrganizationUnitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AbstractOrganizationUnitComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
AbstractOrganizationUnitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AbstractOrganizationUnitComponent, selector: "ng-component", inputs: { selectedOrganizationUnit: "selectedOrganizationUnit" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AbstractOrganizationUnitComponent, decorators: [{
|
|
614
608
|
type: Component,
|
|
615
609
|
args: [{
|
|
616
610
|
template: '',
|
|
@@ -636,8 +630,8 @@ class OrganizationMembersModalBodyComponent {
|
|
|
636
630
|
});
|
|
637
631
|
}
|
|
638
632
|
}
|
|
639
|
-
OrganizationMembersModalBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
640
|
-
OrganizationMembersModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
633
|
+
OrganizationMembersModalBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationMembersModalBodyComponent, deps: [{ token: i1.ListService }, { token: i3.IdentityUserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
634
|
+
OrganizationMembersModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationMembersModalBodyComponent, selector: "abp-organization-members-modal-body", inputs: { checkedUnits: "checkedUnits", isCheckboxDisabled: "isCheckboxDisabled" }, providers: [ListService], ngImport: i0, template: `
|
|
641
635
|
<div id="data-tables-table-filter" class="data-tables-filter mb-3">
|
|
642
636
|
<div class="input-group">
|
|
643
637
|
<input
|
|
@@ -672,8 +666,8 @@ OrganizationMembersModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVer
|
|
|
672
666
|
[disabled]="isCheckboxDisabled(row.id)"
|
|
673
667
|
/>
|
|
674
668
|
</ng-template>
|
|
675
|
-
`, isInline: true,
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
669
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.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: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationMembersModalBodyComponent, decorators: [{
|
|
677
671
|
type: Component,
|
|
678
672
|
args: [{
|
|
679
673
|
selector: 'abp-organization-members-modal-body',
|
|
@@ -736,9 +730,9 @@ class OrganizationUnitsStateService {
|
|
|
736
730
|
this.store.patch({ selectedUnit });
|
|
737
731
|
}
|
|
738
732
|
}
|
|
739
|
-
OrganizationUnitsStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
740
|
-
OrganizationUnitsStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
733
|
+
OrganizationUnitsStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationUnitsStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
734
|
+
OrganizationUnitsStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationUnitsStateService, providedIn: 'root' });
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationUnitsStateService, decorators: [{
|
|
742
736
|
type: Injectable,
|
|
743
737
|
args: [{
|
|
744
738
|
providedIn: 'root',
|
|
@@ -750,9 +744,9 @@ class SelectedOrganizationUnitComponent {
|
|
|
750
744
|
this.organizationUnitsStateService = organizationUnitsStateService;
|
|
751
745
|
}
|
|
752
746
|
}
|
|
753
|
-
SelectedOrganizationUnitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
754
|
-
SelectedOrganizationUnitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
747
|
+
SelectedOrganizationUnitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SelectedOrganizationUnitComponent, deps: [{ token: OrganizationUnitsStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
748
|
+
SelectedOrganizationUnitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit", ngImport: i0, template: "<h2 *ngIf=\"organizationUnitsStateService.getSelectedNode$() | async as selectedNode\">\r\n {{ selectedNode.displayName }}\r\n</h2>\r\n", dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4$1.AsyncPipe, name: "async" }] });
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SelectedOrganizationUnitComponent, decorators: [{
|
|
756
750
|
type: Component,
|
|
757
751
|
args: [{ selector: 'abp-selected-organization-unit', template: "<h2 *ngIf=\"organizationUnitsStateService.getSelectedNode$() | async as selectedNode\">\r\n {{ selectedNode.displayName }}\r\n</h2>\r\n" }]
|
|
758
752
|
}], ctorParameters: function () { return [{ type: OrganizationUnitsStateService }]; } });
|
|
@@ -763,12 +757,12 @@ class OrganizationMembersComponent extends AbstractOrganizationUnitComponent {
|
|
|
763
757
|
this.modalOption = { size: 'xl' };
|
|
764
758
|
}
|
|
765
759
|
}
|
|
766
|
-
OrganizationMembersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
767
|
-
OrganizationMembersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
760
|
+
OrganizationMembersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationMembersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
761
|
+
OrganizationMembersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationMembersComponent, selector: "abp-organization-members", providers: [
|
|
768
762
|
ListService,
|
|
769
763
|
{
|
|
770
764
|
provide: EXTENSIONS_IDENTIFIER,
|
|
771
|
-
useValue: "Identity.OrganizationMembersComponent" /* OrganizationMembers */,
|
|
765
|
+
useValue: "Identity.OrganizationMembersComponent" /* eIdentityComponents.OrganizationMembers */,
|
|
772
766
|
},
|
|
773
767
|
{
|
|
774
768
|
provide: ORGANIZATION_UNIT_CONFIG,
|
|
@@ -780,14 +774,14 @@ OrganizationMembersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
780
774
|
deletionLocalizationKey: 'AbpIdentity::RemoveUserFromOuWarningMessage',
|
|
781
775
|
},
|
|
782
776
|
},
|
|
783
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex justify-content-between\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\" [options]=\"modalOption\" >\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectUsers' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-members-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-members-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n",
|
|
784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
777
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex justify-content-between\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\" [options]=\"modalOption\" >\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectUsers' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-members-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-members-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: OrganizationMembersModalBodyComponent, selector: "abp-organization-members-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "component", type: SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationMembersComponent, decorators: [{
|
|
785
779
|
type: Component,
|
|
786
780
|
args: [{ selector: 'abp-organization-members', providers: [
|
|
787
781
|
ListService,
|
|
788
782
|
{
|
|
789
783
|
provide: EXTENSIONS_IDENTIFIER,
|
|
790
|
-
useValue: "Identity.OrganizationMembersComponent" /* OrganizationMembers */,
|
|
784
|
+
useValue: "Identity.OrganizationMembersComponent" /* eIdentityComponents.OrganizationMembers */,
|
|
791
785
|
},
|
|
792
786
|
{
|
|
793
787
|
provide: ORGANIZATION_UNIT_CONFIG,
|
|
@@ -819,8 +813,8 @@ class OrganizationRolesModalBodyComponent {
|
|
|
819
813
|
});
|
|
820
814
|
}
|
|
821
815
|
}
|
|
822
|
-
OrganizationRolesModalBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
823
|
-
OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
816
|
+
OrganizationRolesModalBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesModalBodyComponent, deps: [{ token: i1.ListService }, { token: i3.IdentityRoleService }], target: i0.ɵɵFactoryTarget.Component });
|
|
817
|
+
OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: { checkedUnits: "checkedUnits", isCheckboxDisabled: "isCheckboxDisabled" }, providers: [ListService], ngImport: i0, template: `
|
|
824
818
|
<div class="card">
|
|
825
819
|
<abp-extensible-table
|
|
826
820
|
actionsText=""
|
|
@@ -839,8 +833,8 @@ OrganizationRolesModalBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersi
|
|
|
839
833
|
[disabled]="isCheckboxDisabled(row.id)"
|
|
840
834
|
/>
|
|
841
835
|
</ng-template>
|
|
842
|
-
`, isInline: true,
|
|
843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
836
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }] });
|
|
837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesModalBodyComponent, decorators: [{
|
|
844
838
|
type: Component,
|
|
845
839
|
args: [{
|
|
846
840
|
selector: 'abp-organization-roles-modal-body',
|
|
@@ -874,12 +868,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
874
868
|
|
|
875
869
|
class OrganizationRolesComponent extends AbstractOrganizationUnitComponent {
|
|
876
870
|
}
|
|
877
|
-
OrganizationRolesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
878
|
-
OrganizationRolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
871
|
+
OrganizationRolesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
872
|
+
OrganizationRolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationRolesComponent, selector: "abp-organization-roles", providers: [
|
|
879
873
|
ListService,
|
|
880
874
|
{
|
|
881
875
|
provide: EXTENSIONS_IDENTIFIER,
|
|
882
|
-
useValue: "Identity.OrganizationRolesComponent" /* OrganizationRoles */,
|
|
876
|
+
useValue: "Identity.OrganizationRolesComponent" /* eIdentityComponents.OrganizationRoles */,
|
|
883
877
|
},
|
|
884
878
|
{
|
|
885
879
|
provide: ORGANIZATION_UNIT_CONFIG,
|
|
@@ -891,14 +885,14 @@ OrganizationRolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
891
885
|
deletionLocalizationKey: 'AbpIdentity::RemoveRoleFromOuWarningMessage',
|
|
892
886
|
},
|
|
893
887
|
},
|
|
894
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n",
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
888
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"text-end\">\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRole' | abpLocalization }}\r\n </button>\r\n</div>\r\n\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpIdentity::SelectRoles' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-roles-modal-body\r\n [checkedUnits]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-roles-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationRolesComponent, decorators: [{
|
|
896
890
|
type: Component,
|
|
897
891
|
args: [{ selector: 'abp-organization-roles', providers: [
|
|
898
892
|
ListService,
|
|
899
893
|
{
|
|
900
894
|
provide: EXTENSIONS_IDENTIFIER,
|
|
901
|
-
useValue: "Identity.OrganizationRolesComponent" /* OrganizationRoles */,
|
|
895
|
+
useValue: "Identity.OrganizationRolesComponent" /* eIdentityComponents.OrganizationRoles */,
|
|
902
896
|
},
|
|
903
897
|
{
|
|
904
898
|
provide: ORGANIZATION_UNIT_CONFIG,
|
|
@@ -924,8 +918,8 @@ class OrganizationUnitsComponent {
|
|
|
924
918
|
this.organizationUnits = [];
|
|
925
919
|
this.nodes = [];
|
|
926
920
|
this.expandedKeys = [];
|
|
927
|
-
this.organizationMembersKey = "Identity.OrganizationMembersComponent" /* OrganizationMembers */;
|
|
928
|
-
this.organizationRolesKey = "Identity.OrganizationRolesComponent" /* OrganizationRoles */;
|
|
921
|
+
this.organizationMembersKey = "Identity.OrganizationMembersComponent" /* eIdentityComponents.OrganizationMembers */;
|
|
922
|
+
this.organizationRolesKey = "Identity.OrganizationRolesComponent" /* eIdentityComponents.OrganizationRoles */;
|
|
929
923
|
this.get = () => {
|
|
930
924
|
this.loading = true;
|
|
931
925
|
this.service
|
|
@@ -948,8 +942,8 @@ class OrganizationUnitsComponent {
|
|
|
948
942
|
buildForm(selected = {}) {
|
|
949
943
|
const data = new FormPropData(this.injector, selected);
|
|
950
944
|
this.nodeForm = generateFormFromProps(data);
|
|
951
|
-
this.nodeForm.addControl('parentId', new
|
|
952
|
-
this.nodeForm.addControl('id', new
|
|
945
|
+
this.nodeForm.addControl('parentId', new UntypedFormControl(undefined));
|
|
946
|
+
this.nodeForm.addControl('id', new UntypedFormControl(undefined));
|
|
953
947
|
}
|
|
954
948
|
add() {
|
|
955
949
|
this.buildForm();
|
|
@@ -1030,28 +1024,22 @@ class OrganizationUnitsComponent {
|
|
|
1030
1024
|
this.organizationUnitsStateService.setSelectedUnit(value);
|
|
1031
1025
|
}
|
|
1032
1026
|
}
|
|
1033
|
-
OrganizationUnitsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1034
|
-
OrganizationUnitsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1027
|
+
OrganizationUnitsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationUnitsComponent, deps: [{ token: i0.Injector }, { token: i3.OrganizationUnitService }, { token: i4.UntypedFormBuilder }, { token: i2.ConfirmationService }, { token: OrganizationUnitsStateService }, { token: i2.ToasterService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1028
|
+
OrganizationUnitsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: OrganizationUnitsComponent, selector: "abp-organization-units", providers: [
|
|
1035
1029
|
{
|
|
1036
1030
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1037
|
-
useValue: "Identity.OrganizationUnitsComponent" /* OrganizationUnits */,
|
|
1031
|
+
useValue: "Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */,
|
|
1038
1032
|
},
|
|
1039
|
-
], ngImport: i0, template: "<abp-page\r\n [title]=\"'AbpIdentity::OrganizationUnits' | abpLocalization\"\r\n [toolbar]=\"organizationUnits\"\r\n>\r\n <div class=\"row\">\r\n <div *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageOU'\" class=\"col-12 col-lg-6 col-xl-5\">\r\n <div class=\"card\">\r\n <div class=\"card-header d-flex justify-content-between\">\r\n <h5>\r\n {{ 'AbpIdentity::OrganizationTree' | abpLocalization }}\r\n </h5>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"add()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRootUnit' | abpLocalization }}\r\n </button>\r\n </div>\r\n <div class=\"card-body\" [abpLoading]=\"loading\">\r\n <abp-tree\r\n [nodes]=\"nodes\"\r\n [(expandedKeys)]=\"expandedKeys\"\r\n [selectedNode]=\"selectedUnit\"\r\n (selectedNodeChange)=\"setSelectedUnit($event)\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n >\r\n <ng-template abpTreeNodeTemplate let-node>\r\n <i class=\"fas fa-folder fs-15px text-primary me-1\"></i>\r\n {{ node.title }}\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"edit(node.origin.entity)\">\r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"addSubUnit(node.origin.entity)\">\r\n {{ 'AbpIdentity::AddSubUnit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"delete(node.origin.entity)\">\r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n </li>\r\n </ng-template>\r\n </abp-tree>\r\n <p *ngIf=\"!loading && !nodes?.length\" class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *abpPermission=\"\r\n 'AbpIdentity.OrganizationUnits.ManageMembers || AbpIdentity.OrganizationUnits.ManageRoles'\r\n \"\r\n class=\"col-12 col-lg-6 col-xl-7\"\r\n >\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageMembers'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Members' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-members\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationMembersKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-members>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeMembers' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageRoles'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-roles\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationRolesKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-roles>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeRoles' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-modal [(visible)]=\"isNodeModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (nodeForm.get('id').value\r\n ? 'AbpIdentity::EditOrganizationUnit'\r\n : 'AbpIdentity::NewOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mb-3\" *ngIf=\"nodeForm.get('parentId').value as parentId\">\r\n <strong>{{\r\n 'AbpIdentity::OrganizationUnit:Parent{0}' | abpLocalization: getParentName(parentId)\r\n }}</strong>\r\n </div>\r\n <form [formGroup]=\"nodeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedUnit\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\" [disabled]=\"nodeForm?.invalid\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".fs-15px{font-size:15px}\n"],
|
|
1040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1033
|
+
], ngImport: i0, template: "<abp-page\r\n [title]=\"'AbpIdentity::OrganizationUnits' | abpLocalization\"\r\n [toolbar]=\"organizationUnits\"\r\n>\r\n <div class=\"row\">\r\n <div *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageOU'\" class=\"col-12 col-lg-6 col-xl-5\">\r\n <div class=\"card\">\r\n <div class=\"card-header d-flex justify-content-between\">\r\n <h5>\r\n {{ 'AbpIdentity::OrganizationTree' | abpLocalization }}\r\n </h5>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"add()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRootUnit' | abpLocalization }}\r\n </button>\r\n </div>\r\n <div class=\"card-body\" [abpLoading]=\"loading\">\r\n <abp-tree\r\n [nodes]=\"nodes\"\r\n [(expandedKeys)]=\"expandedKeys\"\r\n [selectedNode]=\"selectedUnit\"\r\n (selectedNodeChange)=\"setSelectedUnit($event)\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n >\r\n <ng-template abpTreeNodeTemplate let-node>\r\n <i class=\"fas fa-folder fs-15px text-primary me-1\"></i>\r\n {{ node.title }}\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"edit(node.origin.entity)\">\r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"addSubUnit(node.origin.entity)\">\r\n {{ 'AbpIdentity::AddSubUnit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"delete(node.origin.entity)\">\r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n </li>\r\n </ng-template>\r\n </abp-tree>\r\n <p *ngIf=\"!loading && !nodes?.length\" class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *abpPermission=\"\r\n 'AbpIdentity.OrganizationUnits.ManageMembers || AbpIdentity.OrganizationUnits.ManageRoles'\r\n \"\r\n class=\"col-12 col-lg-6 col-xl-7\"\r\n >\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageMembers'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Members' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-members\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationMembersKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-members>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeMembers' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageRoles'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-roles\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationRolesKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-roles>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeRoles' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-modal [(visible)]=\"isNodeModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (nodeForm.get('id').value\r\n ? 'AbpIdentity::EditOrganizationUnit'\r\n : 'AbpIdentity::NewOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mb-3\" *ngIf=\"nodeForm.get('parentId').value as parentId\">\r\n <strong>{{\r\n 'AbpIdentity::OrganizationUnit:Parent{0}' | abpLocalization: getParentName(parentId)\r\n }}</strong>\r\n </div>\r\n <form [formGroup]=\"nodeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedUnit\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\" [disabled]=\"nodeForm?.invalid\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".fs-15px{font-size:15px}\n"], dependencies: [{ kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i8.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i8.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i8.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i8.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "component", type: i8.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.LoadingDirective, selector: "[abpLoading]", inputs: ["abpLoading", "abpLoadingTargetElement", "abpLoadingDelay"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i8.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i10.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "component", type: i10.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "component", type: i12.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: OrganizationMembersComponent, selector: "abp-organization-members" }, { kind: "component", type: OrganizationRolesComponent, selector: "abp-organization-roles" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
1034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OrganizationUnitsComponent, decorators: [{
|
|
1041
1035
|
type: Component,
|
|
1042
1036
|
args: [{ selector: 'abp-organization-units', providers: [
|
|
1043
1037
|
{
|
|
1044
1038
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1045
|
-
useValue: "Identity.OrganizationUnitsComponent" /* OrganizationUnits */,
|
|
1039
|
+
useValue: "Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */,
|
|
1046
1040
|
},
|
|
1047
|
-
], styles: [
|
|
1048
|
-
|
|
1049
|
-
.fs-15px {
|
|
1050
|
-
font-size: 15px;
|
|
1051
|
-
}
|
|
1052
|
-
`,
|
|
1053
|
-
], template: "<abp-page\r\n [title]=\"'AbpIdentity::OrganizationUnits' | abpLocalization\"\r\n [toolbar]=\"organizationUnits\"\r\n>\r\n <div class=\"row\">\r\n <div *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageOU'\" class=\"col-12 col-lg-6 col-xl-5\">\r\n <div class=\"card\">\r\n <div class=\"card-header d-flex justify-content-between\">\r\n <h5>\r\n {{ 'AbpIdentity::OrganizationTree' | abpLocalization }}\r\n </h5>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"add()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRootUnit' | abpLocalization }}\r\n </button>\r\n </div>\r\n <div class=\"card-body\" [abpLoading]=\"loading\">\r\n <abp-tree\r\n [nodes]=\"nodes\"\r\n [(expandedKeys)]=\"expandedKeys\"\r\n [selectedNode]=\"selectedUnit\"\r\n (selectedNodeChange)=\"setSelectedUnit($event)\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n >\r\n <ng-template abpTreeNodeTemplate let-node>\r\n <i class=\"fas fa-folder fs-15px text-primary me-1\"></i>\r\n {{ node.title }}\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"edit(node.origin.entity)\">\r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"addSubUnit(node.origin.entity)\">\r\n {{ 'AbpIdentity::AddSubUnit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"delete(node.origin.entity)\">\r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n </li>\r\n </ng-template>\r\n </abp-tree>\r\n <p *ngIf=\"!loading && !nodes?.length\" class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *abpPermission=\"\r\n 'AbpIdentity.OrganizationUnits.ManageMembers || AbpIdentity.OrganizationUnits.ManageRoles'\r\n \"\r\n class=\"col-12 col-lg-6 col-xl-7\"\r\n >\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageMembers'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Members' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-members\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationMembersKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-members>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeMembers' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageRoles'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-roles\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationRolesKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-roles>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeRoles' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-modal [(visible)]=\"isNodeModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (nodeForm.get('id').value\r\n ? 'AbpIdentity::EditOrganizationUnit'\r\n : 'AbpIdentity::NewOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mb-3\" *ngIf=\"nodeForm.get('parentId').value as parentId\">\r\n <strong>{{\r\n 'AbpIdentity::OrganizationUnit:Parent{0}' | abpLocalization: getParentName(parentId)\r\n }}</strong>\r\n </div>\r\n <form [formGroup]=\"nodeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedUnit\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\" [disabled]=\"nodeForm?.invalid\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
1054
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i3.OrganizationUnitService }, { type: i4.FormBuilder }, { type: i2.ConfirmationService }, { type: OrganizationUnitsStateService }, { type: i2.ToasterService }]; } });
|
|
1041
|
+
], template: "<abp-page\r\n [title]=\"'AbpIdentity::OrganizationUnits' | abpLocalization\"\r\n [toolbar]=\"organizationUnits\"\r\n>\r\n <div class=\"row\">\r\n <div *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageOU'\" class=\"col-12 col-lg-6 col-xl-5\">\r\n <div class=\"card\">\r\n <div class=\"card-header d-flex justify-content-between\">\r\n <h5>\r\n {{ 'AbpIdentity::OrganizationTree' | abpLocalization }}\r\n </h5>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"add()\">\r\n <i class=\"fas fa-plus me-1\"></i> {{ 'AbpIdentity::AddRootUnit' | abpLocalization }}\r\n </button>\r\n </div>\r\n <div class=\"card-body\" [abpLoading]=\"loading\">\r\n <abp-tree\r\n [nodes]=\"nodes\"\r\n [(expandedKeys)]=\"expandedKeys\"\r\n [selectedNode]=\"selectedUnit\"\r\n (selectedNodeChange)=\"setSelectedUnit($event)\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n >\r\n <ng-template abpTreeNodeTemplate let-node>\r\n <i class=\"fas fa-folder fs-15px text-primary me-1\"></i>\r\n {{ node.title }}\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"edit(node.origin.entity)\">\r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"addSubUnit(node.origin.entity)\">\r\n {{ 'AbpIdentity::AddSubUnit' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"delete(node.origin.entity)\">\r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n </li>\r\n </ng-template>\r\n </abp-tree>\r\n <p *ngIf=\"!loading && !nodes?.length\" class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *abpPermission=\"\r\n 'AbpIdentity.OrganizationUnits.ManageMembers || AbpIdentity.OrganizationUnits.ManageRoles'\r\n \"\r\n class=\"col-12 col-lg-6 col-xl-7\"\r\n >\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageMembers'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Members' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-members\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationMembersKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-members>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeMembers' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageRoles'\">\r\n <a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <ng-container *ngIf=\"selectedUnit; else selectUnitMsg\">\r\n <abp-organization-roles\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n selectedOrganizationUnit: { value: selectedUnit }\r\n },\r\n componentKey: organizationRolesKey\r\n }\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-roles>\r\n </ng-container>\r\n <ng-template #selectUnitMsg>\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeRoles' | abpLocalization }}\r\n </p>\r\n </ng-template>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-modal [(visible)]=\"isNodeModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (nodeForm.get('id').value\r\n ? 'AbpIdentity::EditOrganizationUnit'\r\n : 'AbpIdentity::NewOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"mb-3\" *ngIf=\"nodeForm.get('parentId').value as parentId\">\r\n <strong>{{\r\n 'AbpIdentity::OrganizationUnit:Parent{0}' | abpLocalization: getParentName(parentId)\r\n }}</strong>\r\n </div>\r\n <form [formGroup]=\"nodeForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedUnit\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\" [disabled]=\"nodeForm?.invalid\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", styles: [".fs-15px{font-size:15px}\n"] }]
|
|
1042
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i3.OrganizationUnitService }, { type: i4.UntypedFormBuilder }, { type: i2.ConfirmationService }, { type: OrganizationUnitsStateService }, { type: i2.ToasterService }]; } });
|
|
1055
1043
|
|
|
1056
1044
|
class RolesComponent {
|
|
1057
1045
|
constructor(list, confirmationService, service, injector) {
|
|
@@ -1139,21 +1127,21 @@ class RolesComponent {
|
|
|
1139
1127
|
}, 0);
|
|
1140
1128
|
}
|
|
1141
1129
|
}
|
|
1142
|
-
RolesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1143
|
-
RolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1130
|
+
RolesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RolesComponent, deps: [{ token: i1.ListService }, { token: i2.ConfirmationService }, { token: i3.IdentityRoleService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1131
|
+
RolesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: RolesComponent, selector: "abp-roles", providers: [
|
|
1144
1132
|
ListService,
|
|
1145
1133
|
{
|
|
1146
1134
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1147
|
-
useValue: "Identity.RolesComponent" /* Roles */,
|
|
1135
|
+
useValue: "Identity.RolesComponent" /* eIdentityComponents.Roles */,
|
|
1148
1136
|
},
|
|
1149
|
-
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Roles' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-roles-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"roleForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'R' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n providerName=\"R\"\r\n [hideBadges]=\"true\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n",
|
|
1150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1137
|
+
], viewQueries: [{ propertyName: "modalContent", first: true, predicate: ["modalContent"], descendants: true }], ngImport: i0, template: "<abp-page [title]=\"'AbpIdentity::Roles' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-roles-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"roleForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'R' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n providerName=\"R\"\r\n [hideBadges]=\"true\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n", dependencies: [{ kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6$1.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i9.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i12.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
1138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RolesComponent, decorators: [{
|
|
1151
1139
|
type: Component,
|
|
1152
1140
|
args: [{ selector: 'abp-roles', providers: [
|
|
1153
1141
|
ListService,
|
|
1154
1142
|
{
|
|
1155
1143
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1156
|
-
useValue: "Identity.RolesComponent" /* Roles */,
|
|
1144
|
+
useValue: "Identity.RolesComponent" /* eIdentityComponents.Roles */,
|
|
1157
1145
|
},
|
|
1158
1146
|
], template: "<abp-page [title]=\"'AbpIdentity::Roles' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"identity-roles-wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpIdentity\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"roleForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'R' },\r\n providerKey: { value: providerKey },\r\n hideBadges: { value: true },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n [providerKey]=\"providerKey\"\r\n providerName=\"R\"\r\n [hideBadges]=\"true\"\r\n>\r\n</abp-permission-management>\r\n\r\n<abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\"></abp-claim-modal>\r\n" }]
|
|
1159
1147
|
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i2.ConfirmationService }, { type: i3.IdentityRoleService }, { type: i0.Injector }]; }, propDecorators: { modalContent: [{
|
|
@@ -1181,26 +1169,26 @@ class SecurityLogsComponent {
|
|
|
1181
1169
|
.subscribe(res => (this.data = res));
|
|
1182
1170
|
}
|
|
1183
1171
|
}
|
|
1184
|
-
SecurityLogsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1185
|
-
SecurityLogsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1172
|
+
SecurityLogsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SecurityLogsComponent, deps: [{ token: i1.ListService }, { token: i3.IdentitySecurityLogService }, { token: i8.NgbDateParserFormatter }], target: i0.ɵɵFactoryTarget.Component });
|
|
1173
|
+
SecurityLogsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: SecurityLogsComponent, selector: "abp-security-logs", providers: [
|
|
1186
1174
|
ListService,
|
|
1187
1175
|
{
|
|
1188
1176
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1189
|
-
useValue: "Identity.SecurityLogs" /* SecurityLogs */,
|
|
1177
|
+
useValue: "Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */,
|
|
1190
1178
|
},
|
|
1191
1179
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
1192
|
-
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpIdentity::SecurityLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <div class=\"row\" (keyup.enter)=\"list.get()\">\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:StartTime' | abpLocalization }}</label>\r\n <input\r\n #startDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"start-date\"\r\n [maxDate]=\"ngbDateParserFormatter.parse(filter.endTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.startTime\"\r\n [dayTemplate]=\"startDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"startDate.toggle()\"\r\n />\r\n <ng-template\r\n #startDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.endTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:EndTime' | abpLocalization }}</label>\r\n <input\r\n #endDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"end-date\"\r\n [minDate]=\"ngbDateParserFormatter.parse(filter.startTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.endTime\"\r\n [dayTemplate]=\"endDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"endDate.toggle()\"\r\n />\r\n <ng-template\r\n #endDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.startTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Application' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.applicationName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Identity' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.identity\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:UserName' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.userName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Action' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.action\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Client' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.clientId\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 d-grid\">\r\n <button (click)=\"list.get()\" class=\"mt-md-2 mb-md-2 btn btn-primary\">\r\n <i class=\"fas fa-search\"></i> \r\n <span>{{ 'SecurityLogs::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n",
|
|
1193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1180
|
+
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpIdentity::SecurityLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <div class=\"row\" (keyup.enter)=\"list.get()\">\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:StartTime' | abpLocalization }}</label>\r\n <input\r\n #startDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"start-date\"\r\n [maxDate]=\"ngbDateParserFormatter.parse(filter.endTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.startTime\"\r\n [dayTemplate]=\"startDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"startDate.toggle()\"\r\n />\r\n <ng-template\r\n #startDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.endTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:EndTime' | abpLocalization }}</label>\r\n <input\r\n #endDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"end-date\"\r\n [minDate]=\"ngbDateParserFormatter.parse(filter.startTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.endTime\"\r\n [dayTemplate]=\"endDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"endDate.toggle()\"\r\n />\r\n <ng-template\r\n #endDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.startTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Application' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.applicationName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Identity' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.identity\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:UserName' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.userName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Action' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.action\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Client' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.clientId\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 d-grid\">\r\n <button (click)=\"list.get()\" class=\"mt-md-2 mb-md-2 btn btn-primary\">\r\n <i class=\"fas fa-search\"></i> \r\n <span>{{ 'SecurityLogs::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i8.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "component", type: i12.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: SecurityLogsComponent, decorators: [{
|
|
1194
1182
|
type: Component,
|
|
1195
1183
|
args: [{ selector: 'abp-security-logs', providers: [
|
|
1196
1184
|
ListService,
|
|
1197
1185
|
{
|
|
1198
1186
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1199
|
-
useValue: "Identity.SecurityLogs" /* SecurityLogs */,
|
|
1187
|
+
useValue: "Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */,
|
|
1200
1188
|
},
|
|
1201
1189
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
1202
1190
|
], template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpIdentity::SecurityLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <div class=\"row\" (keyup.enter)=\"list.get()\">\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:StartTime' | abpLocalization }}</label>\r\n <input\r\n #startDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"start-date\"\r\n [maxDate]=\"ngbDateParserFormatter.parse(filter.endTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.startTime\"\r\n [dayTemplate]=\"startDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"startDate.toggle()\"\r\n />\r\n <ng-template\r\n #startDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.endTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:EndTime' | abpLocalization }}</label>\r\n <input\r\n #endDate=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n name=\"end-date\"\r\n [minDate]=\"ngbDateParserFormatter.parse(filter.startTime)\"\r\n readonly\r\n [(ngModel)]=\"filter.endTime\"\r\n [dayTemplate]=\"endDateTemplate\"\r\n ngbDatepicker\r\n (click)=\"endDate.toggle()\"\r\n />\r\n <ng-template\r\n #endDateTemplate\r\n let-date\r\n let-focused=\"focused\"\r\n let-selected=\"selected\"\r\n let-currentMonth=\"currentMonth\"\r\n >\r\n <div\r\n class=\"btn-light custom-day\"\r\n [class.bg-primary]=\"selected\"\r\n [class.text-white]=\"selected\"\r\n [class.text-muted]=\"currentMonth !== date.month\"\r\n [class.ng-range]=\"date.after(filter.startTime) && date.before(filter.endTime)\"\r\n [class.ng-range-end]=\"date.equals(filter.startTime)\"\r\n >\r\n {{ date.day }}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Application' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.applicationName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Identity' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.identity\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:UserName' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.userName\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Action' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.action\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:Client' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.clientId\" />\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 d-grid\">\r\n <button (click)=\"list.get()\" class=\"mt-md-2 mb-md-2 btn btn-primary\">\r\n <i class=\"fas fa-search\"></i> \r\n <span>{{ 'SecurityLogs::Refresh' | abpLocalization }}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n" }]
|
|
1203
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i3.IdentitySecurityLogService }, { type:
|
|
1191
|
+
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i3.IdentitySecurityLogService }, { type: i8.NgbDateParserFormatter }]; } });
|
|
1204
1192
|
|
|
1205
1193
|
const DEFAULT_CLAIMS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
1206
1194
|
{
|
|
@@ -1224,14 +1212,14 @@ const DEFAULT_CLAIMS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
1224
1212
|
|
|
1225
1213
|
const DEFAULT_CLAIMS_ENTITY_PROPS = EntityProp.createMany([
|
|
1226
1214
|
{
|
|
1227
|
-
type: "string" /* String */,
|
|
1215
|
+
type: "string" /* ePropType.String */,
|
|
1228
1216
|
name: 'name',
|
|
1229
1217
|
displayName: 'AbpIdentity::Name',
|
|
1230
1218
|
sortable: true,
|
|
1231
1219
|
columnWidth: 250,
|
|
1232
1220
|
},
|
|
1233
1221
|
{
|
|
1234
|
-
type: "string" /* String */,
|
|
1222
|
+
type: "string" /* ePropType.String */,
|
|
1235
1223
|
name: 'valueType',
|
|
1236
1224
|
displayName: 'AbpIdentity::ValueType',
|
|
1237
1225
|
sortable: true,
|
|
@@ -1239,28 +1227,28 @@ const DEFAULT_CLAIMS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1239
1227
|
valueResolver: data => of(data.getInjected(ClaimsComponent).getTypeName(data.record.valueType)),
|
|
1240
1228
|
},
|
|
1241
1229
|
{
|
|
1242
|
-
type: "string" /* String */,
|
|
1230
|
+
type: "string" /* ePropType.String */,
|
|
1243
1231
|
name: 'description',
|
|
1244
1232
|
displayName: 'AbpIdentity::Description',
|
|
1245
1233
|
sortable: true,
|
|
1246
1234
|
columnWidth: 250,
|
|
1247
1235
|
},
|
|
1248
1236
|
{
|
|
1249
|
-
type: "string" /* String */,
|
|
1237
|
+
type: "string" /* ePropType.String */,
|
|
1250
1238
|
name: 'regex',
|
|
1251
1239
|
displayName: 'AbpIdentity::Regex',
|
|
1252
1240
|
sortable: true,
|
|
1253
1241
|
columnWidth: 200,
|
|
1254
1242
|
},
|
|
1255
1243
|
{
|
|
1256
|
-
type: "boolean" /* Boolean */,
|
|
1244
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1257
1245
|
name: 'required',
|
|
1258
1246
|
displayName: 'AbpIdentity::Required',
|
|
1259
1247
|
sortable: true,
|
|
1260
1248
|
columnWidth: 150,
|
|
1261
1249
|
},
|
|
1262
1250
|
{
|
|
1263
|
-
type: "boolean" /* Boolean */,
|
|
1251
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1264
1252
|
name: 'isStatic',
|
|
1265
1253
|
displayName: 'AbpIdentity::IsStatic',
|
|
1266
1254
|
sortable: true,
|
|
@@ -1270,39 +1258,39 @@ const DEFAULT_CLAIMS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1270
1258
|
|
|
1271
1259
|
const DEFAULT_CLAIMS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
1272
1260
|
{
|
|
1273
|
-
type: "string" /* String */,
|
|
1261
|
+
type: "string" /* ePropType.String */,
|
|
1274
1262
|
name: 'name',
|
|
1275
1263
|
displayName: 'AbpIdentity::Name',
|
|
1276
1264
|
id: 'name',
|
|
1277
1265
|
validators: () => [Validators.required, Validators.maxLength(256)],
|
|
1278
1266
|
},
|
|
1279
1267
|
{
|
|
1280
|
-
type: "boolean" /* Boolean */,
|
|
1268
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1281
1269
|
name: 'required',
|
|
1282
1270
|
displayName: 'AbpIdentity::Required',
|
|
1283
1271
|
id: 'required',
|
|
1284
1272
|
defaultValue: false,
|
|
1285
1273
|
},
|
|
1286
1274
|
{
|
|
1287
|
-
type: "string" /* String */,
|
|
1275
|
+
type: "string" /* ePropType.String */,
|
|
1288
1276
|
name: 'regex',
|
|
1289
1277
|
displayName: 'AbpIdentity::Regex',
|
|
1290
1278
|
id: 'regex',
|
|
1291
1279
|
},
|
|
1292
1280
|
{
|
|
1293
|
-
type: "string" /* String */,
|
|
1281
|
+
type: "string" /* ePropType.String */,
|
|
1294
1282
|
name: 'regexDescription',
|
|
1295
1283
|
displayName: 'AbpIdentity::RegexDescription',
|
|
1296
1284
|
id: 'regex-description',
|
|
1297
1285
|
},
|
|
1298
1286
|
{
|
|
1299
|
-
type: "string" /* String */,
|
|
1287
|
+
type: "string" /* ePropType.String */,
|
|
1300
1288
|
name: 'description',
|
|
1301
1289
|
displayName: 'AbpIdentity::Description',
|
|
1302
1290
|
id: 'description',
|
|
1303
1291
|
},
|
|
1304
1292
|
{
|
|
1305
|
-
type: "number" /* Number */,
|
|
1293
|
+
type: "number" /* ePropType.Number */,
|
|
1306
1294
|
name: 'valueType',
|
|
1307
1295
|
displayName: 'AbpIdentity::ValueType',
|
|
1308
1296
|
id: 'value-type',
|
|
@@ -1343,14 +1331,14 @@ const DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
1343
1331
|
|
|
1344
1332
|
const DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS = EntityProp.createMany([
|
|
1345
1333
|
{
|
|
1346
|
-
type: "string" /* String */,
|
|
1334
|
+
type: "string" /* ePropType.String */,
|
|
1347
1335
|
name: 'userName',
|
|
1348
1336
|
displayName: 'AbpIdentity::UserName',
|
|
1349
1337
|
sortable: true,
|
|
1350
1338
|
columnWidth: 180,
|
|
1351
1339
|
},
|
|
1352
1340
|
{
|
|
1353
|
-
type: "string" /* String */,
|
|
1341
|
+
type: "string" /* ePropType.String */,
|
|
1354
1342
|
name: 'email',
|
|
1355
1343
|
displayName: 'AbpIdentity::EmailAddress',
|
|
1356
1344
|
sortable: true,
|
|
@@ -1376,7 +1364,7 @@ const DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
1376
1364
|
|
|
1377
1365
|
const DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS = EntityProp.createMany([
|
|
1378
1366
|
{
|
|
1379
|
-
type: "string" /* String */,
|
|
1367
|
+
type: "string" /* ePropType.String */,
|
|
1380
1368
|
name: 'name',
|
|
1381
1369
|
displayName: 'AbpIdentity::RoleName',
|
|
1382
1370
|
sortable: true,
|
|
@@ -1385,7 +1373,7 @@ const DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1385
1373
|
|
|
1386
1374
|
const DEFAULT_ORGANIZATION_UNITS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
1387
1375
|
{
|
|
1388
|
-
type: "string" /* String */,
|
|
1376
|
+
type: "string" /* ePropType.String */,
|
|
1389
1377
|
name: 'displayName',
|
|
1390
1378
|
displayName: 'AbpIdentity::DisplayName',
|
|
1391
1379
|
id: 'organization-unit-display-name',
|
|
@@ -1443,7 +1431,7 @@ const DEFAULT_ROLES_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
1443
1431
|
|
|
1444
1432
|
const DEFAULT_ROLES_ENTITY_PROPS = EntityProp.createMany([
|
|
1445
1433
|
{
|
|
1446
|
-
type: "string" /* String */,
|
|
1434
|
+
type: "string" /* ePropType.String */,
|
|
1447
1435
|
name: 'name',
|
|
1448
1436
|
displayName: 'AbpIdentity::RoleName',
|
|
1449
1437
|
sortable: true,
|
|
@@ -1464,7 +1452,7 @@ const DEFAULT_ROLES_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1464
1452
|
|
|
1465
1453
|
const DEFAULT_ROLES_CREATE_FORM_PROPS = FormProp.createMany([
|
|
1466
1454
|
{
|
|
1467
|
-
type: "string" /* String */,
|
|
1455
|
+
type: "string" /* ePropType.String */,
|
|
1468
1456
|
name: 'name',
|
|
1469
1457
|
displayName: 'AbpIdentity::RoleName',
|
|
1470
1458
|
id: 'role-name',
|
|
@@ -1472,14 +1460,14 @@ const DEFAULT_ROLES_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
1472
1460
|
validators: () => [Validators.required],
|
|
1473
1461
|
},
|
|
1474
1462
|
{
|
|
1475
|
-
type: "boolean" /* Boolean */,
|
|
1463
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1476
1464
|
name: 'isDefault',
|
|
1477
1465
|
displayName: 'AbpIdentity::DisplayName:IsDefault',
|
|
1478
1466
|
id: 'role-is-default',
|
|
1479
1467
|
defaultValue: false,
|
|
1480
1468
|
},
|
|
1481
1469
|
{
|
|
1482
|
-
type: "boolean" /* Boolean */,
|
|
1470
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1483
1471
|
name: 'isPublic',
|
|
1484
1472
|
displayName: 'AbpIdentity::DisplayName:IsPublic',
|
|
1485
1473
|
id: 'role-is-public',
|
|
@@ -1504,7 +1492,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS = EntityAction.createMany([]);
|
|
|
1504
1492
|
|
|
1505
1493
|
const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
1506
1494
|
{
|
|
1507
|
-
type: "string" /* String */,
|
|
1495
|
+
type: "string" /* ePropType.String */,
|
|
1508
1496
|
name: 'creationTime',
|
|
1509
1497
|
displayName: 'AbpIdentity::SecurityLogs:Time',
|
|
1510
1498
|
sortable: true,
|
|
@@ -1516,7 +1504,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1516
1504
|
},
|
|
1517
1505
|
},
|
|
1518
1506
|
{
|
|
1519
|
-
type: "string" /* String */,
|
|
1507
|
+
type: "string" /* ePropType.String */,
|
|
1520
1508
|
name: 'action',
|
|
1521
1509
|
displayName: 'AbpIdentity::SecurityLogs:Action',
|
|
1522
1510
|
sortable: true,
|
|
@@ -1531,7 +1519,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1531
1519
|
},
|
|
1532
1520
|
},
|
|
1533
1521
|
{
|
|
1534
|
-
type: "string" /* String */,
|
|
1522
|
+
type: "string" /* ePropType.String */,
|
|
1535
1523
|
name: 'clientIpAddress',
|
|
1536
1524
|
displayName: 'AbpIdentity::SecurityLogs:IpAddress',
|
|
1537
1525
|
sortable: false,
|
|
@@ -1541,7 +1529,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1541
1529
|
},
|
|
1542
1530
|
},
|
|
1543
1531
|
{
|
|
1544
|
-
type: "string" /* String */,
|
|
1532
|
+
type: "string" /* ePropType.String */,
|
|
1545
1533
|
name: 'browserInfo',
|
|
1546
1534
|
displayName: 'AbpIdentity::SecurityLogs:Browser',
|
|
1547
1535
|
sortable: false,
|
|
@@ -1551,7 +1539,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1551
1539
|
},
|
|
1552
1540
|
},
|
|
1553
1541
|
{
|
|
1554
|
-
type: "string" /* String */,
|
|
1542
|
+
type: "string" /* ePropType.String */,
|
|
1555
1543
|
name: 'applicationName',
|
|
1556
1544
|
displayName: 'AbpIdentity::SecurityLogs:Application',
|
|
1557
1545
|
sortable: true,
|
|
@@ -1566,7 +1554,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1566
1554
|
},
|
|
1567
1555
|
},
|
|
1568
1556
|
{
|
|
1569
|
-
type: "string" /* String */,
|
|
1557
|
+
type: "string" /* ePropType.String */,
|
|
1570
1558
|
name: 'identity',
|
|
1571
1559
|
displayName: 'AbpIdentity::SecurityLogs:Identity',
|
|
1572
1560
|
sortable: true,
|
|
@@ -1581,7 +1569,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1581
1569
|
},
|
|
1582
1570
|
},
|
|
1583
1571
|
{
|
|
1584
|
-
type: "string" /* String */,
|
|
1572
|
+
type: "string" /* ePropType.String */,
|
|
1585
1573
|
name: 'userName',
|
|
1586
1574
|
displayName: 'AbpIdentity::SecurityLogs:UserName',
|
|
1587
1575
|
sortable: true,
|
|
@@ -1596,7 +1584,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1596
1584
|
},
|
|
1597
1585
|
},
|
|
1598
1586
|
{
|
|
1599
|
-
type: "string" /* String */,
|
|
1587
|
+
type: "string" /* ePropType.String */,
|
|
1600
1588
|
name: 'clientId',
|
|
1601
1589
|
displayName: 'AbpIdentity::SecurityLogs:Client',
|
|
1602
1590
|
sortable: true,
|
|
@@ -1611,7 +1599,7 @@ const DEFAULT_SECURITY_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1611
1599
|
},
|
|
1612
1600
|
},
|
|
1613
1601
|
{
|
|
1614
|
-
type: "string" /* String */,
|
|
1602
|
+
type: "string" /* ePropType.String */,
|
|
1615
1603
|
name: 'correlationId',
|
|
1616
1604
|
displayName: 'AbpIdentity::SecurityLogs:CorrelationId',
|
|
1617
1605
|
sortable: true,
|
|
@@ -1730,7 +1718,7 @@ const DEFAULT_USERS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
1730
1718
|
|
|
1731
1719
|
const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany([
|
|
1732
1720
|
{
|
|
1733
|
-
type: "string" /* String */,
|
|
1721
|
+
type: "string" /* ePropType.String */,
|
|
1734
1722
|
name: 'userName',
|
|
1735
1723
|
displayName: 'AbpIdentity::UserName',
|
|
1736
1724
|
sortable: true,
|
|
@@ -1747,7 +1735,7 @@ const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1747
1735
|
},
|
|
1748
1736
|
},
|
|
1749
1737
|
{
|
|
1750
|
-
type: "string" /* String */,
|
|
1738
|
+
type: "string" /* ePropType.String */,
|
|
1751
1739
|
name: 'email',
|
|
1752
1740
|
displayName: 'AbpIdentity::EmailAddress',
|
|
1753
1741
|
sortable: true,
|
|
@@ -1758,14 +1746,14 @@ const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1758
1746
|
},
|
|
1759
1747
|
},
|
|
1760
1748
|
{
|
|
1761
|
-
type: "string" /* String */,
|
|
1749
|
+
type: "string" /* ePropType.String */,
|
|
1762
1750
|
name: 'roleNames',
|
|
1763
1751
|
displayName: 'AbpIdentity::Roles',
|
|
1764
1752
|
columnWidth: 250,
|
|
1765
1753
|
valueResolver: data => of(data.record.roleNames.join(', ')),
|
|
1766
1754
|
},
|
|
1767
1755
|
{
|
|
1768
|
-
type: "string" /* String */,
|
|
1756
|
+
type: "string" /* ePropType.String */,
|
|
1769
1757
|
name: 'phoneNumber',
|
|
1770
1758
|
displayName: 'AbpIdentity::PhoneNumber',
|
|
1771
1759
|
sortable: true,
|
|
@@ -1777,63 +1765,63 @@ const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1777
1765
|
},
|
|
1778
1766
|
},
|
|
1779
1767
|
{
|
|
1780
|
-
type: "string" /* String */,
|
|
1768
|
+
type: "string" /* ePropType.String */,
|
|
1781
1769
|
name: 'name',
|
|
1782
1770
|
displayName: 'AbpIdentity::Name',
|
|
1783
1771
|
sortable: true,
|
|
1784
1772
|
columnWidth: 250,
|
|
1785
1773
|
},
|
|
1786
1774
|
{
|
|
1787
|
-
type: "string" /* String */,
|
|
1775
|
+
type: "string" /* ePropType.String */,
|
|
1788
1776
|
name: 'surname',
|
|
1789
1777
|
displayName: 'AbpIdentity::Surname',
|
|
1790
1778
|
sortable: true,
|
|
1791
1779
|
columnWidth: 250,
|
|
1792
1780
|
},
|
|
1793
1781
|
{
|
|
1794
|
-
type: "boolean" /* Boolean */,
|
|
1782
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1795
1783
|
name: 'isActive',
|
|
1796
1784
|
displayName: 'AbpIdentity::DisplayName:IsActive',
|
|
1797
1785
|
sortable: true,
|
|
1798
1786
|
columnWidth: 100,
|
|
1799
1787
|
},
|
|
1800
1788
|
{
|
|
1801
|
-
type: "boolean" /* Boolean */,
|
|
1789
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1802
1790
|
name: 'lockoutEnabled',
|
|
1803
1791
|
displayName: 'AbpIdentity::DisplayName:LockoutEnabled',
|
|
1804
1792
|
sortable: false,
|
|
1805
1793
|
columnWidth: 100,
|
|
1806
1794
|
},
|
|
1807
1795
|
{
|
|
1808
|
-
type: "boolean" /* Boolean */,
|
|
1796
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1809
1797
|
name: 'emailConfirmed',
|
|
1810
1798
|
displayName: 'AbpIdentity::DisplayName:EmailConfirmed',
|
|
1811
1799
|
sortable: true,
|
|
1812
1800
|
columnWidth: 100,
|
|
1813
1801
|
},
|
|
1814
1802
|
{
|
|
1815
|
-
type: "boolean" /* Boolean */,
|
|
1803
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1816
1804
|
name: 'twoFactorEnabled',
|
|
1817
1805
|
displayName: 'AbpIdentity::DisplayName:TwoFactorEnabled',
|
|
1818
1806
|
sortable: true,
|
|
1819
1807
|
columnWidth: 100,
|
|
1820
1808
|
},
|
|
1821
1809
|
{
|
|
1822
|
-
type: "number" /* Number */,
|
|
1810
|
+
type: "number" /* ePropType.Number */,
|
|
1823
1811
|
name: 'accessFailedCount',
|
|
1824
1812
|
displayName: 'AbpIdentity::DisplayName:AccessFailedCount',
|
|
1825
1813
|
sortable: true,
|
|
1826
1814
|
columnWidth: 100,
|
|
1827
1815
|
},
|
|
1828
1816
|
{
|
|
1829
|
-
type: "datetime" /* DateTime */,
|
|
1817
|
+
type: "datetime" /* ePropType.DateTime */,
|
|
1830
1818
|
name: 'creationTime',
|
|
1831
1819
|
displayName: 'AbpIdentity::CreationTime',
|
|
1832
1820
|
sortable: true,
|
|
1833
1821
|
columnWidth: 200,
|
|
1834
1822
|
},
|
|
1835
1823
|
{
|
|
1836
|
-
type: "datetime" /* DateTime */,
|
|
1824
|
+
type: "datetime" /* ePropType.DateTime */,
|
|
1837
1825
|
name: 'lastModificationTime',
|
|
1838
1826
|
displayName: 'AbpIdentity::LastModificationTime',
|
|
1839
1827
|
sortable: true,
|
|
@@ -1843,14 +1831,14 @@ const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
1843
1831
|
|
|
1844
1832
|
const DEFAULT_USERS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
1845
1833
|
{
|
|
1846
|
-
type: "string" /* String */,
|
|
1834
|
+
type: "string" /* ePropType.String */,
|
|
1847
1835
|
name: 'userName',
|
|
1848
1836
|
displayName: 'AbpIdentity::UserName',
|
|
1849
1837
|
id: 'user-name',
|
|
1850
1838
|
validators: () => [Validators.required, Validators.maxLength(256)],
|
|
1851
1839
|
},
|
|
1852
1840
|
{
|
|
1853
|
-
type: "password" /* Password */,
|
|
1841
|
+
type: "password" /* ePropType.Password */,
|
|
1854
1842
|
name: 'password',
|
|
1855
1843
|
displayName: 'AbpIdentity::Password',
|
|
1856
1844
|
id: 'password',
|
|
@@ -1858,42 +1846,42 @@ const DEFAULT_USERS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
1858
1846
|
validators: data => [Validators.required, ...getPasswordValidators({ get: data.getInjected })],
|
|
1859
1847
|
},
|
|
1860
1848
|
{
|
|
1861
|
-
type: "string" /* String */,
|
|
1849
|
+
type: "string" /* ePropType.String */,
|
|
1862
1850
|
name: 'name',
|
|
1863
1851
|
displayName: 'AbpIdentity::DisplayName:Name',
|
|
1864
1852
|
id: 'name',
|
|
1865
1853
|
validators: () => [Validators.maxLength(64)],
|
|
1866
1854
|
},
|
|
1867
1855
|
{
|
|
1868
|
-
type: "string" /* String */,
|
|
1856
|
+
type: "string" /* ePropType.String */,
|
|
1869
1857
|
name: 'surname',
|
|
1870
1858
|
displayName: 'AbpIdentity::DisplayName:Surname',
|
|
1871
1859
|
id: 'surname',
|
|
1872
1860
|
validators: () => [Validators.maxLength(64)],
|
|
1873
1861
|
},
|
|
1874
1862
|
{
|
|
1875
|
-
type: "email" /* Email */,
|
|
1863
|
+
type: "email" /* ePropType.Email */,
|
|
1876
1864
|
name: 'email',
|
|
1877
1865
|
displayName: 'AbpIdentity::EmailAddress',
|
|
1878
1866
|
id: 'email',
|
|
1879
1867
|
validators: () => [Validators.required, Validators.maxLength(256), Validators.email],
|
|
1880
1868
|
},
|
|
1881
1869
|
{
|
|
1882
|
-
type: "string" /* String */,
|
|
1870
|
+
type: "string" /* ePropType.String */,
|
|
1883
1871
|
name: 'phoneNumber',
|
|
1884
1872
|
displayName: 'AbpIdentity::PhoneNumber',
|
|
1885
1873
|
id: 'phone-number',
|
|
1886
1874
|
validators: () => [Validators.maxLength(16)],
|
|
1887
1875
|
},
|
|
1888
1876
|
{
|
|
1889
|
-
type: "boolean" /* Boolean */,
|
|
1877
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1890
1878
|
name: 'isActive',
|
|
1891
1879
|
displayName: 'AbpIdentity::DisplayName:IsActive',
|
|
1892
1880
|
id: 'active-checkbox',
|
|
1893
1881
|
defaultValue: true,
|
|
1894
1882
|
},
|
|
1895
1883
|
{
|
|
1896
|
-
type: "boolean" /* Boolean */,
|
|
1884
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
1897
1885
|
name: 'lockoutEnabled',
|
|
1898
1886
|
displayName: 'AbpIdentity::DisplayName:LockoutEnabled',
|
|
1899
1887
|
id: 'lockout-checkbox',
|
|
@@ -1925,39 +1913,39 @@ const DEFAULT_USERS_TOOLBAR_ALL = [
|
|
|
1925
1913
|
];
|
|
1926
1914
|
|
|
1927
1915
|
const DEFAULT_IDENTITY_ENTITY_ACTIONS = {
|
|
1928
|
-
["Identity.ClaimsComponent" /* Claims */]: DEFAULT_CLAIMS_ENTITY_ACTIONS,
|
|
1929
|
-
["Identity.RolesComponent" /* Roles */]: DEFAULT_ROLES_ENTITY_ACTIONS,
|
|
1930
|
-
["Identity.UsersComponent" /* Users */]: DEFAULT_USERS_ENTITY_ACTIONS,
|
|
1931
|
-
["Identity.OrganizationMembersComponent" /* OrganizationMembers */]: DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS,
|
|
1932
|
-
["Identity.OrganizationRolesComponent" /* OrganizationRoles */]: DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS,
|
|
1933
|
-
["Identity.SecurityLogs" /* SecurityLogs */]: DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS,
|
|
1916
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: DEFAULT_CLAIMS_ENTITY_ACTIONS,
|
|
1917
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: DEFAULT_ROLES_ENTITY_ACTIONS,
|
|
1918
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: DEFAULT_USERS_ENTITY_ACTIONS,
|
|
1919
|
+
["Identity.OrganizationMembersComponent" /* eIdentityComponents.OrganizationMembers */]: DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS,
|
|
1920
|
+
["Identity.OrganizationRolesComponent" /* eIdentityComponents.OrganizationRoles */]: DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS,
|
|
1921
|
+
["Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */]: DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS,
|
|
1934
1922
|
};
|
|
1935
1923
|
const DEFAULT_IDENTITY_TOOLBAR_ACTIONS = {
|
|
1936
|
-
["Identity.ClaimsComponent" /* Claims */]: DEFAULT_CLAIMS_TOOLBAR_ACTIONS,
|
|
1937
|
-
["Identity.RolesComponent" /* Roles */]: DEFAULT_ROLES_TOOLBAR_ACTIONS,
|
|
1938
|
-
["Identity.UsersComponent" /* Users */]: DEFAULT_USERS_TOOLBAR_ALL,
|
|
1939
|
-
["Identity.OrganizationUnitsComponent" /* OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS,
|
|
1940
|
-
["Identity.SecurityLogs" /* SecurityLogs */]: DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS,
|
|
1924
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: DEFAULT_CLAIMS_TOOLBAR_ACTIONS,
|
|
1925
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: DEFAULT_ROLES_TOOLBAR_ACTIONS,
|
|
1926
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: DEFAULT_USERS_TOOLBAR_ALL,
|
|
1927
|
+
["Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS,
|
|
1928
|
+
["Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */]: DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS,
|
|
1941
1929
|
};
|
|
1942
1930
|
const DEFAULT_IDENTITY_ENTITY_PROPS = {
|
|
1943
|
-
["Identity.ClaimsComponent" /* Claims */]: DEFAULT_CLAIMS_ENTITY_PROPS,
|
|
1944
|
-
["Identity.RolesComponent" /* Roles */]: DEFAULT_ROLES_ENTITY_PROPS,
|
|
1945
|
-
["Identity.UsersComponent" /* Users */]: DEFAULT_USERS_ENTITY_PROPS,
|
|
1946
|
-
["Identity.OrganizationMembersComponent" /* OrganizationMembers */]: DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS,
|
|
1947
|
-
["Identity.OrganizationRolesComponent" /* OrganizationRoles */]: DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS,
|
|
1948
|
-
["Identity.SecurityLogs" /* SecurityLogs */]: DEFAULT_SECURITY_LOGS_ENTITY_PROPS,
|
|
1931
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: DEFAULT_CLAIMS_ENTITY_PROPS,
|
|
1932
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: DEFAULT_ROLES_ENTITY_PROPS,
|
|
1933
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: DEFAULT_USERS_ENTITY_PROPS,
|
|
1934
|
+
["Identity.OrganizationMembersComponent" /* eIdentityComponents.OrganizationMembers */]: DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS,
|
|
1935
|
+
["Identity.OrganizationRolesComponent" /* eIdentityComponents.OrganizationRoles */]: DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS,
|
|
1936
|
+
["Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */]: DEFAULT_SECURITY_LOGS_ENTITY_PROPS,
|
|
1949
1937
|
};
|
|
1950
1938
|
const DEFAULT_IDENTITY_CREATE_FORM_PROPS = {
|
|
1951
|
-
["Identity.ClaimsComponent" /* Claims */]: DEFAULT_CLAIMS_CREATE_FORM_PROPS,
|
|
1952
|
-
["Identity.RolesComponent" /* Roles */]: DEFAULT_ROLES_CREATE_FORM_PROPS,
|
|
1953
|
-
["Identity.UsersComponent" /* Users */]: DEFAULT_USERS_CREATE_FORM_PROPS,
|
|
1954
|
-
["Identity.OrganizationUnitsComponent" /* OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_CREATE_FORM_PROPS,
|
|
1939
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: DEFAULT_CLAIMS_CREATE_FORM_PROPS,
|
|
1940
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: DEFAULT_ROLES_CREATE_FORM_PROPS,
|
|
1941
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: DEFAULT_USERS_CREATE_FORM_PROPS,
|
|
1942
|
+
["Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_CREATE_FORM_PROPS,
|
|
1955
1943
|
};
|
|
1956
1944
|
const DEFAULT_IDENTITY_EDIT_FORM_PROPS = {
|
|
1957
|
-
["Identity.ClaimsComponent" /* Claims */]: DEFAULT_CLAIMS_EDIT_FORM_PROPS,
|
|
1958
|
-
["Identity.RolesComponent" /* Roles */]: DEFAULT_ROLES_EDIT_FORM_PROPS,
|
|
1959
|
-
["Identity.UsersComponent" /* Users */]: DEFAULT_USERS_EDIT_FORM_PROPS,
|
|
1960
|
-
["Identity.OrganizationUnitsComponent" /* OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_EDIT_FORM_PROPS,
|
|
1945
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: DEFAULT_CLAIMS_EDIT_FORM_PROPS,
|
|
1946
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: DEFAULT_ROLES_EDIT_FORM_PROPS,
|
|
1947
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: DEFAULT_USERS_EDIT_FORM_PROPS,
|
|
1948
|
+
["Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */]: DEFAULT_ORGANIZATION_UNITS_EDIT_FORM_PROPS,
|
|
1961
1949
|
};
|
|
1962
1950
|
const IDENTITY_ENTITY_ACTION_CONTRIBUTORS = new InjectionToken('IDENTITY_ENTITY_ACTION_CONTRIBUTORS');
|
|
1963
1951
|
const IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS = new InjectionToken('IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS');
|
|
@@ -1978,10 +1966,10 @@ class IdentityExtensionsGuard {
|
|
|
1978
1966
|
const editFormContributors = this.injector.get(IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS, null) || {};
|
|
1979
1967
|
const configState = this.injector.get(ConfigStateService);
|
|
1980
1968
|
return getObjectExtensionEntitiesFromStore(configState, 'Identity').pipe(map(entities => ({
|
|
1981
|
-
["Identity.ClaimsComponent" /* Claims */]: entities.ClaimType,
|
|
1982
|
-
["Identity.RolesComponent" /* Roles */]: entities.Role,
|
|
1983
|
-
["Identity.UsersComponent" /* Users */]: entities.User,
|
|
1984
|
-
["Identity.OrganizationUnitsComponent" /* OrganizationUnits */]: entities.OrganizationUnit,
|
|
1969
|
+
["Identity.ClaimsComponent" /* eIdentityComponents.Claims */]: entities.ClaimType,
|
|
1970
|
+
["Identity.RolesComponent" /* eIdentityComponents.Roles */]: entities.Role,
|
|
1971
|
+
["Identity.UsersComponent" /* eIdentityComponents.Users */]: entities.User,
|
|
1972
|
+
["Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */]: entities.OrganizationUnit,
|
|
1985
1973
|
})), mapEntitiesToContributors(configState, 'AbpIdentity'), tap(objectExtensionContributors => {
|
|
1986
1974
|
mergeWithDefaultActions(extensions.entityActions, DEFAULT_IDENTITY_ENTITY_ACTIONS, actionContributors);
|
|
1987
1975
|
mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, toolbarContributors);
|
|
@@ -1991,9 +1979,9 @@ class IdentityExtensionsGuard {
|
|
|
1991
1979
|
}), mapTo(true));
|
|
1992
1980
|
}
|
|
1993
1981
|
}
|
|
1994
|
-
IdentityExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1995
|
-
IdentityExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1982
|
+
IdentityExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1983
|
+
IdentityExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityExtensionsGuard });
|
|
1984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityExtensionsGuard, decorators: [{
|
|
1997
1985
|
type: Injectable
|
|
1998
1986
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1999
1987
|
|
|
@@ -2010,7 +1998,7 @@ const routes = [
|
|
|
2010
1998
|
data: {
|
|
2011
1999
|
requiredPolicy: 'AbpIdentity.Roles',
|
|
2012
2000
|
replaceableComponent: {
|
|
2013
|
-
key: "Identity.RolesComponent" /* Roles */,
|
|
2001
|
+
key: "Identity.RolesComponent" /* eIdentityComponents.Roles */,
|
|
2014
2002
|
defaultComponent: RolesComponent,
|
|
2015
2003
|
},
|
|
2016
2004
|
},
|
|
@@ -2021,7 +2009,7 @@ const routes = [
|
|
|
2021
2009
|
data: {
|
|
2022
2010
|
requiredPolicy: 'AbpIdentity.Users',
|
|
2023
2011
|
replaceableComponent: {
|
|
2024
|
-
key: "Identity.UsersComponent" /* Users */,
|
|
2012
|
+
key: "Identity.UsersComponent" /* eIdentityComponents.Users */,
|
|
2025
2013
|
defaultComponent: UsersComponent,
|
|
2026
2014
|
},
|
|
2027
2015
|
},
|
|
@@ -2032,7 +2020,7 @@ const routes = [
|
|
|
2032
2020
|
data: {
|
|
2033
2021
|
requiredPolicy: 'AbpIdentity.ClaimTypes',
|
|
2034
2022
|
replaceableComponent: {
|
|
2035
|
-
key: "Identity.ClaimsComponent" /* Claims */,
|
|
2023
|
+
key: "Identity.ClaimsComponent" /* eIdentityComponents.Claims */,
|
|
2036
2024
|
defaultComponent: ClaimsComponent,
|
|
2037
2025
|
},
|
|
2038
2026
|
},
|
|
@@ -2043,7 +2031,7 @@ const routes = [
|
|
|
2043
2031
|
data: {
|
|
2044
2032
|
requiredPolicy: 'AbpIdentity.OrganizationUnits',
|
|
2045
2033
|
replaceableComponent: {
|
|
2046
|
-
key: "Identity.OrganizationUnitsComponent" /* OrganizationUnits */,
|
|
2034
|
+
key: "Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */,
|
|
2047
2035
|
defaultComponent: OrganizationUnitsComponent,
|
|
2048
2036
|
},
|
|
2049
2037
|
},
|
|
@@ -2054,7 +2042,7 @@ const routes = [
|
|
|
2054
2042
|
data: {
|
|
2055
2043
|
requiredPolicy: 'AbpIdentity.SecurityLogs',
|
|
2056
2044
|
replaceableComponent: {
|
|
2057
|
-
key: "Identity.SecurityLogs" /* SecurityLogs */,
|
|
2045
|
+
key: "Identity.SecurityLogs" /* eIdentityComponents.SecurityLogs */,
|
|
2058
2046
|
defaultComponent: SecurityLogsComponent,
|
|
2059
2047
|
},
|
|
2060
2048
|
},
|
|
@@ -2064,10 +2052,10 @@ const routes = [
|
|
|
2064
2052
|
];
|
|
2065
2053
|
class IdentityRoutingModule {
|
|
2066
2054
|
}
|
|
2067
|
-
IdentityRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2068
|
-
IdentityRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2069
|
-
IdentityRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2055
|
+
IdentityRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2056
|
+
IdentityRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: IdentityRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
|
|
2057
|
+
IdentityRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
2058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityRoutingModule, decorators: [{
|
|
2071
2059
|
type: NgModule,
|
|
2072
2060
|
args: [{
|
|
2073
2061
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -2109,8 +2097,8 @@ class IdentityModule {
|
|
|
2109
2097
|
return new LazyModuleFactory(IdentityModule.forChild(options));
|
|
2110
2098
|
}
|
|
2111
2099
|
}
|
|
2112
|
-
IdentityModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2113
|
-
IdentityModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2100
|
+
IdentityModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2101
|
+
IdentityModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: IdentityModule, declarations: [RolesComponent,
|
|
2114
2102
|
UsersComponent,
|
|
2115
2103
|
ClaimModalComponent,
|
|
2116
2104
|
ClaimsComponent,
|
|
@@ -2149,22 +2137,20 @@ IdentityModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2149
2137
|
SelectedOrganizationUnitComponent,
|
|
2150
2138
|
ExternalLoginComponent,
|
|
2151
2139
|
UserDropdownMenuComponent] });
|
|
2152
|
-
IdentityModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
]] });
|
|
2167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: IdentityModule, decorators: [{
|
|
2140
|
+
IdentityModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityModule, imports: [CoreModule,
|
|
2141
|
+
CommercialUiModule,
|
|
2142
|
+
IdentityRoutingModule,
|
|
2143
|
+
NgbNavModule,
|
|
2144
|
+
ThemeSharedModule,
|
|
2145
|
+
NgbDropdownModule,
|
|
2146
|
+
NgbDatepickerModule,
|
|
2147
|
+
PermissionManagementModule,
|
|
2148
|
+
NgxValidateCoreModule,
|
|
2149
|
+
TreeModule,
|
|
2150
|
+
PageModule,
|
|
2151
|
+
AdvancedEntityFiltersModule,
|
|
2152
|
+
UiExtensionsModule] });
|
|
2153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IdentityModule, decorators: [{
|
|
2168
2154
|
type: NgModule,
|
|
2169
2155
|
args: [{
|
|
2170
2156
|
declarations: [
|