@volo/abp.ng.identity 8.2.0-rc.5 → 8.2.1
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/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +4 -4
- package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +3 -3
- package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +3 -3
- package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +3 -3
- package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +3 -3
- package/esm2022/config/components/identity-setting-tabs/identity-sessions-settings/identity-sessions-settings.component.mjs +3 -3
- package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +3 -3
- package/esm2022/config/components/identity-settings.component.mjs +3 -3
- package/esm2022/config/components/my-link-users-modal.component.mjs +3 -3
- package/esm2022/config/handlers/link-login.handler.mjs +3 -3
- package/esm2022/config/identity-config.module.mjs +4 -4
- package/esm2022/config/services/authority-delegation.service.mjs +3 -3
- package/esm2022/config/services/identity-config.service.mjs +3 -3
- package/esm2022/config/services/identity-link-login.service.mjs +3 -3
- package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +3 -3
- package/esm2022/lib/components/claims/claims.component.mjs +5 -5
- package/esm2022/lib/components/export-excel/export-data-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/export-excel/upload-excel-file.component.mjs +3 -3
- package/esm2022/lib/components/external-login/external-login.component.mjs +3 -3
- package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +5 -5
- package/esm2022/lib/components/organization-units/delete-organization-unit/delete-organization-unit.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/move-all-users-of-unit/move-all-users-of-unit.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/organization-units.component.mjs +3 -3
- package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +3 -3
- package/esm2022/lib/components/roles/delete-role/role-delete.component.mjs +3 -3
- package/esm2022/lib/components/roles/edit-new-modal/roles-modal.component.mjs +3 -3
- package/esm2022/lib/components/roles/move-all-users/move-all-users.component.mjs +3 -3
- package/esm2022/lib/components/roles/roles.component.mjs +3 -3
- package/esm2022/lib/components/security-logs/security-logs.component.mjs +3 -3
- package/esm2022/lib/components/users/set-password-modal/set-password-modal.component.mjs +3 -3
- package/esm2022/lib/components/users/user-lock-modal.component.mjs +3 -3
- package/esm2022/lib/components/users/user-lock.service.mjs +3 -3
- package/esm2022/lib/components/users/user-sessions-modal/session-detail-modal/user-session-detail.component.mjs +3 -3
- package/esm2022/lib/components/users/user-sessions-modal/user-sessions.component.mjs +5 -5
- package/esm2022/lib/components/users/user-view-details/user-view-details.component.mjs +3 -3
- package/esm2022/lib/components/users/users.component.mjs +3 -3
- package/esm2022/lib/defaults/organization-unit/default-organization-roles-entity-actions.mjs +4 -1
- package/esm2022/lib/guards/extensions.guard.mjs +3 -3
- package/esm2022/lib/identity-routing.module.mjs +4 -4
- package/esm2022/lib/identity.module.mjs +4 -4
- package/esm2022/lib/services/delete-organization-unit-modal.service.mjs +3 -3
- package/esm2022/lib/services/excel.service.mjs +3 -3
- package/esm2022/lib/services/move-all-users-of-unit-modal.service.mjs +3 -3
- package/esm2022/lib/services/organization-units-state.service.mjs +3 -3
- package/esm2022/lib/services/user-view-detail.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-session.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +3 -3
- package/fesm2022/volo-abp.ng.identity-config.mjs +50 -50
- package/fesm2022/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.identity-proxy.mjs +27 -27
- package/fesm2022/volo-abp.ng.identity.mjs +113 -110
- package/fesm2022/volo-abp.ng.identity.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -64,10 +64,10 @@ export class DeleteOrganizationUnitComponent {
|
|
|
64
64
|
this.deleted.emit();
|
|
65
65
|
this.service.closeDeleteModal();
|
|
66
66
|
}
|
|
67
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
68
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteOrganizationUnitComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: DeleteOrganizationUnitComponent, isStandalone: true, selector: "abp-delete-organization-unit", outputs: { deleted: "deleted" }, ngImport: i0, template: "<abp-modal\r\n [visible]=\"service.visible()\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpUi::AreYouSure' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::OrganizationUnitDeletionConfirmationMessage' | abpLocalization: service.name()\r\n }}\r\n </p>\r\n\r\n <form [formGroup]=\"form\" id=\"delete-form\" (ngSubmit)=\"save()\">\r\n @if (service.hasMemberOrRole()) {\r\n <p class=\"mt-2\">\r\n {{\r\n 'AbpIdentity::ChooseAnActionForOrganizationUnit' | abpLocalization: service.countText()\r\n }}\r\n </p>\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"unassign\"\r\n [value]=\"false\"\r\n />\r\n <label class=\"form-check-label\" for=\"unassign\">\r\n {{ 'AbpIdentity::UnassignOrganizationUnit' | abpLocalization }}\r\n </label>\r\n </div>\r\n @if (service.hasOtherUnits()) {\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"assign\"\r\n [value]=\"true\"\r\n />\r\n <label class=\"form-check-label\" for=\"assign\">\r\n {{ 'AbpIdentity::AssignUsersToOtherOrganizationUnit' | abpLocalization }}\r\n </label>\r\n </div>\r\n\r\n @if (form.value.assignType) {\r\n <select\r\n class=\"form-select mt-2\"\r\n formControlName=\"organizationUnitId\"\r\n [ngClass]=\"{ 'border-danger': showAssignErrorMessage() }\"\r\n >\r\n <option [ngValue]=\"null\">\r\n {{\r\n (service.loading()\r\n ? 'AbpUi::LoadingWithThreeDot'\r\n : 'AbpIdentity::SelectAnRoleToAssign'\r\n ) | abpLocalization\r\n }}\r\n </option>\r\n @for (item of service.otherOrganizationUnits(); track $index) {\r\n <option [ngValue]=\"item.id\">\r\n {{ item.displayName }}\r\n </option>\r\n }\r\n </select>\r\n @if (showAssignErrorMessage()) {\r\n <span class=\"text-danger\">\r\n {{ 'AbpValidation::ThisFieldIsRequired.' | abpLocalization }}\r\n </span>\r\n }\r\n }\r\n }\r\n }\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-danger\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n buttonType=\"submit\"\r\n buttonClass=\"btn btn-danger\"\r\n [loading]=\"service.loading()\"\r\n formName=\"delete-form\"\r\n >\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.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: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i4.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i4.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i5.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i5.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i5.ModalCloseDirective, selector: "[abpClose]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteOrganizationUnitComponent, decorators: [{
|
|
71
71
|
type: Component,
|
|
72
72
|
args: [{ selector: 'abp-delete-organization-unit', standalone: true, imports: [CoreModule, ThemeSharedModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal\r\n [visible]=\"service.visible()\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpUi::AreYouSure' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p class=\"fw-bold\">\r\n {{\r\n 'AbpIdentity::OrganizationUnitDeletionConfirmationMessage' | abpLocalization: service.name()\r\n }}\r\n </p>\r\n\r\n <form [formGroup]=\"form\" id=\"delete-form\" (ngSubmit)=\"save()\">\r\n @if (service.hasMemberOrRole()) {\r\n <p class=\"mt-2\">\r\n {{\r\n 'AbpIdentity::ChooseAnActionForOrganizationUnit' | abpLocalization: service.countText()\r\n }}\r\n </p>\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"unassign\"\r\n [value]=\"false\"\r\n />\r\n <label class=\"form-check-label\" for=\"unassign\">\r\n {{ 'AbpIdentity::UnassignOrganizationUnit' | abpLocalization }}\r\n </label>\r\n </div>\r\n @if (service.hasOtherUnits()) {\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"assign\"\r\n [value]=\"true\"\r\n />\r\n <label class=\"form-check-label\" for=\"assign\">\r\n {{ 'AbpIdentity::AssignUsersToOtherOrganizationUnit' | abpLocalization }}\r\n </label>\r\n </div>\r\n\r\n @if (form.value.assignType) {\r\n <select\r\n class=\"form-select mt-2\"\r\n formControlName=\"organizationUnitId\"\r\n [ngClass]=\"{ 'border-danger': showAssignErrorMessage() }\"\r\n >\r\n <option [ngValue]=\"null\">\r\n {{\r\n (service.loading()\r\n ? 'AbpUi::LoadingWithThreeDot'\r\n : 'AbpIdentity::SelectAnRoleToAssign'\r\n ) | abpLocalization\r\n }}\r\n </option>\r\n @for (item of service.otherOrganizationUnits(); track $index) {\r\n <option [ngValue]=\"item.id\">\r\n {{ item.displayName }}\r\n </option>\r\n }\r\n </select>\r\n @if (showAssignErrorMessage()) {\r\n <span class=\"text-danger\">\r\n {{ 'AbpValidation::ThisFieldIsRequired.' | abpLocalization }}\r\n </span>\r\n }\r\n }\r\n }\r\n }\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-danger\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n buttonType=\"submit\"\r\n buttonClass=\"btn btn-danger\"\r\n [loading]=\"service.loading()\"\r\n formName=\"delete-form\"\r\n >\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
73
73
|
}], propDecorators: { deleted: [{
|
|
@@ -40,10 +40,10 @@ export class MoveAllUsersOfUnitComponent {
|
|
|
40
40
|
this.moved.emit();
|
|
41
41
|
this.service.closeMoveModal();
|
|
42
42
|
}
|
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
44
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MoveAllUsersOfUnitComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
44
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: MoveAllUsersOfUnitComponent, isStandalone: true, selector: "abp-move-all-users-of-unit", outputs: { moved: "moved" }, ngImport: i0, template: "<abp-modal\r\n [visible]=\"service.visible()\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpIdentity::MoveAllUsers' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p\r\n [innerHTML]=\"\r\n 'AbpIdentity::MoveAllUsersWithOrganizationUnitTo' | abpLocalization: service.name()\r\n \"\r\n ></p>\r\n <form [formGroup]=\"form\" id=\"move-users\" (ngSubmit)=\"save()\">\r\n <select class=\"form-select mt-2\" formControlName=\"selectedOrganizationUnit\">\r\n <option value=\"\" selected>\r\n {{\r\n (service.loading()\r\n ? 'AbpUi::LoadingWithThreeDot'\r\n : 'AbpIdentity::UnassignOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </option>\r\n @for (item of service.otherOrganizationUnits(); track $index) {\r\n <option [value]=\"item.id\">\r\n {{ item.displayName }}\r\n </option>\r\n }\r\n </select>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-primary\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n\r\n <abp-button\r\n buttonType=\"submit\"\r\n buttonClass=\"btn btn-primary\"\r\n [loading]=\"service.loading()\"\r\n formName=\"move-users\"\r\n >\r\n <i class=\"fa fa-check\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: LocalizationModule }] }); }
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MoveAllUsersOfUnitComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{ standalone: true, selector: 'abp-move-all-users-of-unit', imports: [CoreModule, ThemeSharedModule, ReactiveFormsModule, LocalizationModule], template: "<abp-modal\r\n [visible]=\"service.visible()\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpIdentity::MoveAllUsers' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p\r\n [innerHTML]=\"\r\n 'AbpIdentity::MoveAllUsersWithOrganizationUnitTo' | abpLocalization: service.name()\r\n \"\r\n ></p>\r\n <form [formGroup]=\"form\" id=\"move-users\" (ngSubmit)=\"save()\">\r\n <select class=\"form-select mt-2\" formControlName=\"selectedOrganizationUnit\">\r\n <option value=\"\" selected>\r\n {{\r\n (service.loading()\r\n ? 'AbpUi::LoadingWithThreeDot'\r\n : 'AbpIdentity::UnassignOrganizationUnit'\r\n ) | abpLocalization\r\n }}\r\n </option>\r\n @for (item of service.otherOrganizationUnits(); track $index) {\r\n <option [value]=\"item.id\">\r\n {{ item.displayName }}\r\n </option>\r\n }\r\n </select>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-primary\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n\r\n <abp-button\r\n buttonType=\"submit\"\r\n buttonClass=\"btn btn-primary\"\r\n [loading]=\"service.loading()\"\r\n formName=\"move-users\"\r\n >\r\n <i class=\"fa fa-check\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
49
49
|
}], propDecorators: { moved: [{
|
|
@@ -27,8 +27,8 @@ export class OrganizationMembersModalBodyComponent {
|
|
|
27
27
|
this.checkedUnits[event.row.id] = !this.checkedUnits[event.row.id];
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationMembersModalBodyComponent, deps: [{ token: i1.ListService }, { token: i2.IdentityUserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: OrganizationMembersModalBodyComponent, selector: "abp-organization-members-modal-body", inputs: { checkedUnits: "checkedUnits", isCheckboxDisabled: "isCheckboxDisabled" }, providers: [ListService], ngImport: i0, template: `
|
|
32
32
|
<div id="data-tables-table-filter" class="data-tables-filter mb-3">
|
|
33
33
|
<div class="input-group">
|
|
34
34
|
<input
|
|
@@ -62,7 +62,7 @@ export class OrganizationMembersModalBodyComponent {
|
|
|
62
62
|
</ng-template>
|
|
63
63
|
`, isInline: true, dependencies: [{ kind: "directive", type: i3.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: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationMembersModalBodyComponent, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
67
|
args: [{
|
|
68
68
|
selector: 'abp-organization-members-modal-body',
|
|
@@ -13,8 +13,8 @@ export class OrganizationMembersComponent extends AbstractOrganizationUnitCompon
|
|
|
13
13
|
super(...arguments);
|
|
14
14
|
this.modalOption = { size: 'xl' };
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationMembersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: OrganizationMembersComponent, selector: "abp-organization-members", providers: [
|
|
18
18
|
ListService,
|
|
19
19
|
{
|
|
20
20
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -32,7 +32,7 @@ export class OrganizationMembersComponent extends AbstractOrganizationUnitCompon
|
|
|
32
32
|
},
|
|
33
33
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"py-2 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\" aria-hidden=\"true\"></i>\r\n {{ '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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], 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: i3.OrganizationMembersModalBodyComponent, selector: "abp-organization-members-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "component", type: i4.SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit" }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationMembersComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'abp-organization-members', providers: [
|
|
38
38
|
ListService,
|
|
@@ -27,8 +27,8 @@ export class OrganizationRolesModalBodyComponent {
|
|
|
27
27
|
this.checkedUnits[event.row.id] = !this.checkedUnits[event.row.id];
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationRolesModalBodyComponent, deps: [{ token: i1.ListService }, { token: i2.IdentityRoleService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: { checkedUnits: "checkedUnits", isCheckboxDisabled: "isCheckboxDisabled" }, providers: [ListService], ngImport: i0, template: `
|
|
32
32
|
<div class="card">
|
|
33
33
|
<abp-extensible-table
|
|
34
34
|
actionsText=""
|
|
@@ -51,7 +51,7 @@ export class OrganizationRolesModalBodyComponent {
|
|
|
51
51
|
</ng-template>
|
|
52
52
|
`, isInline: true, dependencies: [{ kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }] }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationRolesModalBodyComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{
|
|
57
57
|
selector: 'abp-organization-roles-modal-body',
|
|
@@ -9,8 +9,8 @@ import * as i3 from "./organization-roles-modal-body.component";
|
|
|
9
9
|
import * as i4 from "../selected-organization-unit/selected-organization-unit.component";
|
|
10
10
|
import * as i5 from "@abp/ng.core";
|
|
11
11
|
export class OrganizationRolesComponent extends AbstractOrganizationUnitComponent {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationRolesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: OrganizationRolesComponent, selector: "abp-organization-roles", providers: [
|
|
14
14
|
ListService,
|
|
15
15
|
{
|
|
16
16
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -28,7 +28,7 @@ export class OrganizationRolesComponent extends AbstractOrganizationUnitComponen
|
|
|
28
28
|
},
|
|
29
29
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"py-2 d-flex justify-content-between\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n\r\n <button class=\"btn btn-sm btn-primary mb-2\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ '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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"addUnits()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], 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: i3.OrganizationRolesModalBodyComponent, selector: "abp-organization-roles-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"] }, { kind: "component", type: i4.SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit" }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationRolesComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: 'abp-organization-roles', providers: [
|
|
34
34
|
ListService,
|
|
@@ -142,8 +142,8 @@ export class OrganizationUnitsComponent {
|
|
|
142
142
|
moveAllUsers(selected) {
|
|
143
143
|
this.moveAllUsersOfUnitModalService.openMoveModal(selected);
|
|
144
144
|
}
|
|
145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
146
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationUnitsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
146
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: OrganizationUnitsComponent, selector: "abp-organization-units", providers: [
|
|
147
147
|
{
|
|
148
148
|
provide: EXTENSIONS_IDENTIFIER,
|
|
149
149
|
useValue: "Identity.OrganizationUnitsComponent" /* eIdentityComponents.OrganizationUnits */,
|
|
@@ -152,7 +152,7 @@ export class OrganizationUnitsComponent {
|
|
|
152
152
|
MoveAllUsersOfUnitModalService,
|
|
153
153
|
], 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 px-2\" (click)=\"add()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ '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\" aria-hidden=\"true\"></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 {{ 'AbpUi::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)=\"moveAllUsers(node.origin.entity)\">\r\n {{ 'AbpIdentity::MoveAllUsers' | abpLocalization }}\r\n </li>\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"delete(node.origin.entity)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </li>\r\n </ng-template>\r\n </abp-tree>\r\n @if (!loading && !nodes?.length) {\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::NoOrganizationUnits' | abpLocalization }}\r\n </p>\r\n }\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 card\"\r\n >\r\n <div class=\"card-header\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageMembers'\">\r\n <a ngbNavLink>\r\n {{ 'AbpIdentity::Members' | abpLocalization }}\r\n @if (selectedUnit) {\r\n ({{ selectedUnit.userCount }})\r\n }\r\n </a>\r\n <ng-template ngbNavContent>\r\n @if (selectedUnit) {\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 (onAdded)=\"get()\"\r\n (onDeleted)=\"get()\"\r\n ></abp-organization-members>\r\n } @else {\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeMembers' | abpLocalization }}\r\n </p>\r\n }\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem *abpPermission=\"'AbpIdentity.OrganizationUnits.ManageRoles'\">\r\n <a ngbNavLink>\r\n {{ 'AbpIdentity::Roles' | abpLocalization }}\r\n @if (selectedUnit) {\r\n ({{ selectedUnit.roles.length }})\r\n }\r\n </a>\r\n <ng-template ngbNavContent>\r\n @if (selectedUnit) {\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 (onAdded)=\"get()\"\r\n (onDeleted)=\"get()\"\r\n [selectedOrganizationUnit]=\"selectedUnit\"\r\n ></abp-organization-roles>\r\n } @else {\r\n <p class=\"text-muted\">\r\n {{ 'AbpIdentity::SelectAnOrganizationUnitToSeeRoles' | abpLocalization }}\r\n </p>\r\n }\r\n </ng-template>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"card-body pt-0\">\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-modal [(visible)]=\"isNodeModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (nodeId ? 'AbpIdentity::EditOrganizationUnit' : 'AbpIdentity::NewOrganizationUnit')\r\n | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n @if (nodeForm.get('parentId').value; as parentId) {\r\n <div class=\"mb-3\">\r\n <strong>{{\r\n 'AbpIdentity::OrganizationUnit:Parent{0}' | abpLocalization: getParentName(parentId)\r\n }}</strong>\r\n </div>\r\n }\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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" (click)=\"save()\" [disabled]=\"nodeForm?.invalid\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n\r\n<abp-delete-organization-unit\r\n *abpVisible=\"deleteOrganizationUnitService.visible()\"\r\n (deleted)=\"onOUDeleted()\"\r\n/>\r\n<abp-move-all-users-of-unit\r\n *abpVisible=\"moveAllUsersOfUnitModalService.visible()\"\r\n (moved)=\"onOUMoved()\"\r\n/>\r\n", styles: [".fs-15px{font-size:15px}\n"], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i2.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i4.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i4.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i4.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i4.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i4.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i4.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i4.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i6.AbpVisibleDirective, selector: "[abpVisible]", inputs: ["abpVisible"] }, { kind: "component", type: i6.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.LoadingDirective, selector: "[abpLoading]", inputs: ["abpLoading", "abpLoadingTargetElement", "abpLoadingDelay"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i4.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "directive", type: i7.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "component", type: i7.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver", "nzExpandChange"] }, { kind: "component", type: i8.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i9.DeleteOrganizationUnitComponent, selector: "abp-delete-organization-unit", outputs: ["deleted"] }, { kind: "component", type: i10.MoveAllUsersOfUnitComponent, selector: "abp-move-all-users-of-unit", outputs: ["moved"] }, { kind: "component", type: i11.OrganizationMembersComponent, selector: "abp-organization-members" }, { kind: "component", type: i12.OrganizationRolesComponent, selector: "abp-organization-roles" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
154
154
|
}
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrganizationUnitsComponent, decorators: [{
|
|
156
156
|
type: Component,
|
|
157
157
|
args: [{ selector: 'abp-organization-units', providers: [
|
|
158
158
|
{
|
|
@@ -7,10 +7,10 @@ export class SelectedOrganizationUnitComponent {
|
|
|
7
7
|
constructor(organizationUnitsStateService) {
|
|
8
8
|
this.organizationUnitsStateService = organizationUnitsStateService;
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectedOrganizationUnitComponent, deps: [{ token: i1.OrganizationUnitsStateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit", ngImport: i0, template: "@if (organizationUnitsStateService.getSelectedNode$() | async; as selectedNode) {\r\n <h5>\r\n {{ selectedNode.displayName }}\r\n </h5>\r\n}\r\n", dependencies: [{ kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectedOrganizationUnitComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'abp-selected-organization-unit', template: "@if (organizationUnitsStateService.getSelectedNode$() | async; as selectedNode) {\r\n <h5>\r\n {{ selectedNode.displayName }}\r\n </h5>\r\n}\r\n" }]
|
|
16
16
|
}], ctorParameters: () => [{ type: i1.OrganizationUnitsStateService }] });
|
|
@@ -85,10 +85,10 @@ export class RoleDeleteComponent {
|
|
|
85
85
|
this.toasterService.info('AbpUi::DeletedSuccessfully');
|
|
86
86
|
this.visibleChange.emit({ visible: false, refresh: true });
|
|
87
87
|
}
|
|
88
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
89
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RoleDeleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
89
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: RoleDeleteComponent, selector: "abp-role-delete", inputs: { visible: "visible", selected: "selected" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<abp-modal\r\n [visible]=\"visible\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpUi::AreYouSure' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p class=\"fw-bold\">\r\n {{ 'AbpIdentity::RoleDeletionConfirmationMessage' | abpLocalization: name }}\r\n </p>\r\n <form [formGroup]=\"form\" id=\"role-delete-form\" (ngSubmit)=\"save()\">\r\n @if (userCount > 0) {\r\n <p class=\"mt-2\">\r\n {{ 'AbpIdentity::ChooseAnActionForRole' | abpLocalization: userCount }}\r\n </p>\r\n\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"unassign\"\r\n [value]=\"false\"\r\n />\r\n <label class=\"form-check-label\" for=\"unassign\">{{\r\n 'AbpIdentity::UnassignTheRoleFromTheUsers' | abpLocalization\r\n }}</label>\r\n </div>\r\n @if (roles().length > 0) {\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"assign\"\r\n [value]=\"true\"\r\n />\r\n <label class=\"form-check-label\" for=\"assign\">{{\r\n 'AbpIdentity::AssignUsersToOtherRole' | abpLocalization\r\n }}</label>\r\n </div>\r\n @if (assignType$ | async) {\r\n <select\r\n class=\"form-select mt-2\"\r\n [ngClass]=\"{ 'border-danger': showAssignErrorMessage() }\"\r\n formControlName=\"role\"\r\n >\r\n <option [ngValue]=\"null\" selected>\r\n {{\r\n (loading() ? 'AbpUi::LoadingWithThreeDot' : 'AbpIdentity::SelectAnRoleToAssign')\r\n | abpLocalization\r\n }}\r\n </option>\r\n @for (item of roles(); track $index) {\r\n <option [value]=\"item.id\">\r\n {{ item.name }}\r\n </option>\r\n }\r\n </select>\r\n }\r\n @if (showAssignErrorMessage()) {\r\n <span class=\"text-danger\">\r\n {{ 'AbpValidation::ThisFieldIsRequired.' | abpLocalization }}\r\n </span>\r\n }\r\n }\r\n }\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-danger\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-danger\" [loading]=\"loading()\" form=\"role-delete-form\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.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: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i4.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i4.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i5.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i5.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
90
90
|
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RoleDeleteComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{ selector: 'abp-role-delete', template: "<abp-modal\r\n [visible]=\"visible\"\r\n (visibleChange)=\"onVisibleChange($event)\"\r\n [suppressUnsavedChangesWarning]=\"true\"\r\n>\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpUi::AreYouSure' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <p class=\"fw-bold\">\r\n {{ 'AbpIdentity::RoleDeletionConfirmationMessage' | abpLocalization: name }}\r\n </p>\r\n <form [formGroup]=\"form\" id=\"role-delete-form\" (ngSubmit)=\"save()\">\r\n @if (userCount > 0) {\r\n <p class=\"mt-2\">\r\n {{ 'AbpIdentity::ChooseAnActionForRole' | abpLocalization: userCount }}\r\n </p>\r\n\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"unassign\"\r\n [value]=\"false\"\r\n />\r\n <label class=\"form-check-label\" for=\"unassign\">{{\r\n 'AbpIdentity::UnassignTheRoleFromTheUsers' | abpLocalization\r\n }}</label>\r\n </div>\r\n @if (roles().length > 0) {\r\n <div class=\"form-check mt-2\">\r\n <input\r\n class=\"form-check-input\"\r\n formControlName=\"assignType\"\r\n type=\"radio\"\r\n name=\"assignType\"\r\n id=\"assign\"\r\n [value]=\"true\"\r\n />\r\n <label class=\"form-check-label\" for=\"assign\">{{\r\n 'AbpIdentity::AssignUsersToOtherRole' | abpLocalization\r\n }}</label>\r\n </div>\r\n @if (assignType$ | async) {\r\n <select\r\n class=\"form-select mt-2\"\r\n [ngClass]=\"{ 'border-danger': showAssignErrorMessage() }\"\r\n formControlName=\"role\"\r\n >\r\n <option [ngValue]=\"null\" selected>\r\n {{\r\n (loading() ? 'AbpUi::LoadingWithThreeDot' : 'AbpIdentity::SelectAnRoleToAssign')\r\n | abpLocalization\r\n }}\r\n </option>\r\n @for (item of roles(); track $index) {\r\n <option [value]=\"item.id\">\r\n {{ item.name }}\r\n </option>\r\n }\r\n </select>\r\n }\r\n @if (showAssignErrorMessage()) {\r\n <span class=\"text-danger\">\r\n {{ 'AbpValidation::ThisFieldIsRequired.' | abpLocalization }}\r\n </span>\r\n }\r\n }\r\n }\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-danger\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-danger\" [loading]=\"loading()\" form=\"role-delete-form\">\r\n <i class=\"fa fa-trash\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
94
94
|
}], propDecorators: { visible: [{
|
|
@@ -47,10 +47,10 @@ export class RolesModalComponent {
|
|
|
47
47
|
this.visibleChange.emit({ visible: false, refresh: true });
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
51
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolesModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: RolesModalComponent, isStandalone: true, selector: "abp-roles-modal", inputs: { visible: "visible", selected: "selected" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<abp-modal [visible]=\"visible\" (visibleChange)=\"onVisibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpUi::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 <div class=\"mb-3\">\r\n <label for=\"name\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:RoleName' | abpLocalization\r\n }}</label>\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n id=\"name\"\r\n formControlName=\"name\"\r\n autocomplete=\"off\"\r\n autofocus\r\n [readonly]=\"isStatic\"\r\n />\r\n @if (isStatic) {\r\n <small>\r\n {{ 'AbpIdentity::{0}IsStaticRoleCanNotBeRenamed' | abpLocalization: form.value.name }}\r\n </small>\r\n }\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"isDefault\"\r\n formControlName=\"isDefault\"\r\n />\r\n <label class=\"form-check-label\" for=\"isDefault\">\r\n {{ 'AbpIdentity::DisplayName:IsDefault' | abpLocalization }}\r\n </label>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input class=\"form-check-input\" type=\"checkbox\" id=\"isPublic\" formControlName=\"isPublic\" />\r\n <label class=\"form-check-label\" for=\"isPublic\">\r\n {{ 'AbpIdentity::DisplayName:IsPublic' | abpLocalization }}\r\n </label>\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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { 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: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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.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: AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }] }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolesModalComponent, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ standalone: true, selector: 'abp-roles-modal', imports: [ThemeSharedModule, LocalizationModule, ReactiveFormsModule, AutofocusDirective], template: "<abp-modal [visible]=\"visible\" (visibleChange)=\"onVisibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpUi::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 <div class=\"mb-3\">\r\n <label for=\"name\" class=\"form-label\">{{\r\n 'AbpIdentity::DisplayName:RoleName' | abpLocalization\r\n }}</label>\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n id=\"name\"\r\n formControlName=\"name\"\r\n autocomplete=\"off\"\r\n autofocus\r\n [readonly]=\"isStatic\"\r\n />\r\n @if (isStatic) {\r\n <small>\r\n {{ 'AbpIdentity::{0}IsStaticRoleCanNotBeRenamed' | abpLocalization: form.value.name }}\r\n </small>\r\n }\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n id=\"isDefault\"\r\n formControlName=\"isDefault\"\r\n />\r\n <label class=\"form-check-label\" for=\"isDefault\">\r\n {{ 'AbpIdentity::DisplayName:IsDefault' | abpLocalization }}\r\n </label>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input class=\"form-check-input\" type=\"checkbox\" id=\"isPublic\" formControlName=\"isPublic\" />\r\n <label class=\"form-check-label\" for=\"isPublic\">\r\n {{ 'AbpIdentity::DisplayName:IsPublic' | abpLocalization }}\r\n </label>\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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"roleForm\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
56
56
|
}], propDecorators: { visible: [{
|
|
@@ -50,10 +50,10 @@ export class MoveAllUsersComponent {
|
|
|
50
50
|
this.toasterService.success('AbpUi::SavedSuccessfully');
|
|
51
51
|
this.visibleChange.emit({ visible: false, refresh: true });
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MoveAllUsersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: MoveAllUsersComponent, selector: "abp-move-all-users", inputs: { visible: "visible", selected: "selected" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<abp-modal [visible]=\"visible\" (visibleChange)=\"onVisibleChange($event)\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{'AbpIdentity::MoveAllUsers' | abpLocalization}}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <p [innerHTML]=\"'AbpIdentity::MoveAllUsersWithRoleTo' | abpLocalization: name\"></p>\r\n <form [formGroup]=\"form\" id=\"role-move-users-form\" (ngSubmit)=\"save()\">\r\n <select class=\"form-select mt-2\" formControlName=\"role\">\r\n <option value=\"\" selected>{{ (loading() ? 'AbpUi::LoadingWithThreeDot': \"AbpIdentity::UnassignRole\") | abpLocalization}}</option>\r\n @for (item of roles(); track $index) {\r\n <option [value]=\"item.id\">{{item.name}}</option>\r\n }\r\n </select>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-primary\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary\" [loading]=\"loading()\"\r\n [disabled]=\"form.invalid && form.touched\"\r\n form=\"role-move-users-form\" >\r\n <i class=\"fa fa-check me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MoveAllUsersComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{ selector: 'abp-move-all-users', template: "<abp-modal [visible]=\"visible\" (visibleChange)=\"onVisibleChange($event)\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{'AbpIdentity::MoveAllUsers' | abpLocalization}}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <p [innerHTML]=\"'AbpIdentity::MoveAllUsersWithRoleTo' | abpLocalization: name\"></p>\r\n <form [formGroup]=\"form\" id=\"role-move-users-form\" (ngSubmit)=\"save()\">\r\n <select class=\"form-select mt-2\" formControlName=\"role\">\r\n <option value=\"\" selected>{{ (loading() ? 'AbpUi::LoadingWithThreeDot': \"AbpIdentity::UnassignRole\") | abpLocalization}}</option>\r\n @for (item of roles(); track $index) {\r\n <option [value]=\"item.id\">{{item.name}}</option>\r\n }\r\n </select>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-outline-primary\">\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary\" [loading]=\"loading()\"\r\n [disabled]=\"form.invalid && form.touched\"\r\n form=\"role-move-users-form\" >\r\n <i class=\"fa fa-check me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>" }]
|
|
59
59
|
}], propDecorators: { visible: [{
|
|
@@ -132,8 +132,8 @@ export class RolesComponent {
|
|
|
132
132
|
this.visiblePermissions = true;
|
|
133
133
|
}, 0);
|
|
134
134
|
}
|
|
135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
136
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.
|
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
136
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: RolesComponent, selector: "abp-roles", providers: [
|
|
137
137
|
ListService,
|
|
138
138
|
{
|
|
139
139
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -141,7 +141,7 @@ export class RolesComponent {
|
|
|
141
141
|
},
|
|
142
142
|
], 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-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@if (visibleClaims) {\r\n <abp-claim-modal [(visible)]=\"visibleClaims\" [subject]=\"claimSubject\" />\r\n}\r\n\r\n@if (visibleRoleDelete) {\r\n <abp-role-delete\r\n [visible]=\"visibleRoleDelete\"\r\n [selected]=\"selected\"\r\n (visibleChange)=\"onVisibleDeleteChange($event)\"\r\n />\r\n}\r\n\r\n@if (visibleMove) {\r\n <abp-move-all-users\r\n [visible]=\"visibleMove\"\r\n [selected]=\"selected\"\r\n (visibleChange)=\"onVisibleMoveChange($event)\"\r\n />\r\n}\r\n\r\n@if (isModalVisible) {\r\n <abp-roles-modal\r\n [visible]=\"isModalVisible\"\r\n [selected]=\"selected\"\r\n (visibleChange)=\"onVisibleModalChange($event)\"\r\n />\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i2.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i4.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "component", type: i5.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i6.RolesModalComponent, selector: "abp-roles-modal", inputs: ["visible", "selected"], outputs: ["visibleChange"] }, { kind: "component", type: i7.MoveAllUsersComponent, selector: "abp-move-all-users", inputs: ["visible", "selected"], outputs: ["visibleChange"] }, { kind: "component", type: i8.RoleDeleteComponent, selector: "abp-role-delete", inputs: ["visible", "selected"], outputs: ["visibleChange"] }, { kind: "component", type: i9.ClaimModalComponent, selector: "abp-claim-modal", inputs: ["subject", "visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
143
143
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolesComponent, decorators: [{
|
|
145
145
|
type: Component,
|
|
146
146
|
args: [{ selector: 'abp-roles', providers: [
|
|
147
147
|
ListService,
|
|
@@ -29,8 +29,8 @@ export class SecurityLogsComponent {
|
|
|
29
29
|
clearFilters() {
|
|
30
30
|
this.filter = {};
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SecurityLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SecurityLogsComponent, selector: "abp-security-logs", providers: [
|
|
34
34
|
ListService,
|
|
35
35
|
{
|
|
36
36
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -38,7 +38,7 @@ export class SecurityLogsComponent {
|
|
|
38
38
|
},
|
|
39
39
|
], 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-12 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::StartTime' | abpLocalization }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"filter.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-datetime-picker>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-lg-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpIdentity::EndTime' | abpLocalization }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"filter.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-datetime-picker>\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\">{{\r\n 'AbpIdentity::SecurityLogs:Application' | abpLocalization\r\n }}</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\">{{\r\n 'AbpIdentity::SecurityLogs:Identity' | abpLocalization\r\n }}</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\">{{\r\n 'AbpIdentity::SecurityLogs:UserName' | abpLocalization\r\n }}</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\">{{\r\n 'AbpIdentity::SecurityLogs:Action' | abpLocalization\r\n }}</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\">{{\r\n 'AbpIdentity::SecurityLogs:Client' | abpLocalization\r\n }}</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\">{{\r\n 'AbpIdentity::SecurityLogs:CorrelationId' | abpLocalization\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" [(ngModel)]=\"filter.correlationId\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end gap-md-0 gap-2\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-lg-0 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>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <i class=\"fa fa-search me-1\"></i>\r\n <span>{{ 'AbpUi::Search' | abpLocalization }}</span>\r\n </button>\r\n </div>\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: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i4.DatetimePickerComponent, selector: "abp-datetime-picker" }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SecurityLogsComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{ selector: 'abp-security-logs', providers: [
|
|
44
44
|
ListService,
|
|
@@ -42,10 +42,10 @@ export class SetUserPasswordComponent {
|
|
|
42
42
|
this.toasterService.success('AbpIdentity::SavedSuccessfully');
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SetUserPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SetUserPasswordComponent, isStandalone: true, selector: "abp-set-user-password", inputs: { selected: "selected" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<abp-modal [visible]=\"isModalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\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 [formGroup]=\"form\" id=\"PasswordForm\" (ngSubmit)=\"setPassword()\" validateOnSubmit>\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 mb-3\" validationTarget>\r\n <input\r\n [type]=\"fieldTextType ? 'text' : 'password'\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n aria-describedby=\"generate-random-password-button\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n <button\r\n type=\"button\"\r\n id=\"toggle-visiblity-button\"\r\n class=\"btn btn-secondary\"\r\n [title]=\"'AbpIdentity::HideShow' | abpLocalization\"\r\n (click)=\"fieldTextType = !fieldTextType\"\r\n >\r\n <i class=\"fa fa-eye{{ !fieldTextType ? '-slash' : '' }}\"></i>\r\n </button>\r\n <button\r\n style=\"border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem\"\r\n type=\"button\"\r\n id=\"generate-random-password-button\"\r\n class=\"btn btn-success\"\r\n ngbTooltip=\"{{ 'AbpIdentity::GenerateRandomPasswordTooltip' | abpLocalization }}\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\" aria-hidden=\"true\"></i>\r\n </button>\r\n </div>\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-outline-primary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button class=\"m-0\" iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i1.ValidationTargetDirective, selector: "[validationTarget]", exportAs: ["validationTarget"] }, { kind: "directive", type: i1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { 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: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { 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: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SetUserPasswordComponent, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ standalone: true, selector: 'abp-set-user-password', imports: [ThemeSharedModule, LocalizationModule, ReactiveFormsModule], template: "<abp-modal [visible]=\"isModalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\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 [formGroup]=\"form\" id=\"PasswordForm\" (ngSubmit)=\"setPassword()\" validateOnSubmit>\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 mb-3\" validationTarget>\r\n <input\r\n [type]=\"fieldTextType ? 'text' : 'password'\"\r\n id=\"new-password\"\r\n class=\"form-control\"\r\n aria-describedby=\"generate-random-password-button\"\r\n formControlName=\"newPassword\"\r\n autofocus\r\n />\r\n <button\r\n type=\"button\"\r\n id=\"toggle-visiblity-button\"\r\n class=\"btn btn-secondary\"\r\n [title]=\"'AbpIdentity::HideShow' | abpLocalization\"\r\n (click)=\"fieldTextType = !fieldTextType\"\r\n >\r\n <i class=\"fa fa-eye{{ !fieldTextType ? '-slash' : '' }}\"></i>\r\n </button>\r\n <button\r\n style=\"border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem\"\r\n type=\"button\"\r\n id=\"generate-random-password-button\"\r\n class=\"btn btn-success\"\r\n ngbTooltip=\"{{ 'AbpIdentity::GenerateRandomPasswordTooltip' | abpLocalization }}\"\r\n (click)=\"generatePassword()\"\r\n >\r\n <i class=\"fa fa-refresh\" aria-hidden=\"true\"></i>\r\n </button>\r\n </div>\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-outline-primary\" abpClose>\r\n {{ 'AbpIdentity::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button class=\"m-0\" iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"PasswordForm\">{{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
51
51
|
}], propDecorators: { selected: [{
|
|
@@ -36,10 +36,10 @@ export class UserLockModalComponent {
|
|
|
36
36
|
this.visibleChange.emit(false);
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserLockModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: UserLockModalComponent, isStandalone: true, selector: "abp-user-lock-modal", inputs: { selected: "selected" }, outputs: { visibleChange: "visibleChange" }, providers: [UserLockService], ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange.emit($event)\" [busy]=\"busy\">\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]=\"form\" id=\"lockForm\" (ngSubmit)=\"submit()\" 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\">\r\n <abp-extensible-date-time-picker [prop]=\"dateTimePickerProps\"/>\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-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n formName=\"lockForm\"\r\n buttonType=\"submit\"\r\n >{{ 'AbpUi::Save' | abpLocalization }}</abp-button\r\n >\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ExtensibleDateTimePickerComponent, selector: "abp-extensible-date-time-picker", inputs: ["prop", "meridian"], exportAs: ["abpExtensibleDateTimePicker"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "ngmodule", type: ReactiveFormsModule }] }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserLockModalComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'abp-user-lock-modal', standalone: true, imports: [
|
|
45
45
|
CommonModule,
|