@acorex/modules 19.3.8 → 19.4.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/auth/lib/pages/account/account.module.d.ts +1 -1
- package/common/lib/features/global-search/search.module.d.ts +1 -1
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +2 -2
- package/document-management/lib/badge.provider.d.ts +1 -1
- package/document-management/lib/features/drive/drive.component.d.ts +2 -2
- package/document-management/lib/features/shared/document-manager.service.d.ts +2 -1
- package/document-management/lib/features/shared/document-manager.types.d.ts +3 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +5 -4
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-bj5xztse.mjs → acorex-modules-auth-acorex-modules-auth-BhTLWa3y.mjs} +14 -13
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BhTLWa3y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BOL3VzC1.mjs → acorex-modules-auth-app-chooser.component-J5vGfv56.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BOL3VzC1.mjs.map → acorex-modules-auth-app-chooser.component-J5vGfv56.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-C1AoXhCI.mjs → acorex-modules-auth-login.module-DUlctvyx.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-C1AoXhCI.mjs.map → acorex-modules-auth-login.module-DUlctvyx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-vuHfrDxu.mjs → acorex-modules-auth-master.layout-BFCxBj8H.mjs} +6 -5
- package/fesm2022/acorex-modules-auth-master.layout-BFCxBj8H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-Dtcz95NV.mjs → acorex-modules-auth-password.component-CPpJug_X.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dtcz95NV.mjs.map → acorex-modules-auth-password.component-CPpJug_X.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C71v2x71.mjs → acorex-modules-auth-password.component-CSE7_3Ey.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C71v2x71.mjs.map → acorex-modules-auth-password.component-CSE7_3Ey.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-lJgHFaQR.mjs → acorex-modules-auth-routes-BSk5njsU.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-lJgHFaQR.mjs.map → acorex-modules-auth-routes-BSk5njsU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-C9SfEHF7.mjs → acorex-modules-auth-two-factor.module-D3mhXLXx.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-C9SfEHF7.mjs.map → acorex-modules-auth-two-factor.module-D3mhXLXx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CCsoLecU.mjs → acorex-modules-auth-user-sessions.component-COeH4jjg.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CCsoLecU.mjs.map → acorex-modules-auth-user-sessions.component-COeH4jjg.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-D1Ddwc_U.mjs → acorex-modules-common-search-popup.component-tUvSQpDP.mjs} +5 -5
- package/fesm2022/acorex-modules-common-search-popup.component-tUvSQpDP.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +5 -4
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +8 -6
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-k2QMxYk9.mjs → acorex-modules-document-management-acorex-modules-document-management-BcgxVPuR.mjs} +120 -61
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BcgxVPuR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-BHCuKbmu.mjs → acorex-modules-document-management-attachment-widget.component-Cwa7HuUo.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-BHCuKbmu.mjs.map → acorex-modules-document-management-attachment-widget.component-Cwa7HuUo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CNvlm2Va.mjs → acorex-modules-document-management-create-folder-dialog.component-BN0pWX7a.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CNvlm2Va.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BN0pWX7a.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-DE84Itc_.mjs → acorex-modules-document-management-details-view.component-DXn54h2g.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-DE84Itc_.mjs.map → acorex-modules-document-management-details-view.component-DXn54h2g.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CKMI_oKM.mjs → acorex-modules-document-management-drive-choose.component-CTrPj9t3.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CKMI_oKM.mjs.map → acorex-modules-document-management-drive-choose.component-CTrPj9t3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BPY3z02r.mjs → acorex-modules-document-management-large-icons-view.component-DwAyEZUU.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BPY3z02r.mjs.map → acorex-modules-document-management-large-icons-view.component-DwAyEZUU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-eymKR4xY.mjs → acorex-modules-document-management-large-tiles-view.component-B0n1rs-g.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-eymKR4xY.mjs.map → acorex-modules-document-management-large-tiles-view.component-B0n1rs-g.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-CGSls2hG.mjs → acorex-modules-document-management-list-view.component-CIAQBAcy.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-CGSls2hG.mjs.map → acorex-modules-document-management-list-view.component-CIAQBAcy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DROTONyx.mjs → acorex-modules-document-management-permission-definition.provider-BBXmMuIh.mjs} +3 -3
- package/fesm2022/acorex-modules-document-management-permission-definition.provider-BBXmMuIh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BPU5NKy8.mjs → acorex-modules-document-management-rename-node-dialog.component-D28zKZqZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BPU5NKy8.mjs.map → acorex-modules-document-management-rename-node-dialog.component-D28zKZqZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CYjLGCUJ.mjs → acorex-modules-document-management-small-icons-view.component-Dg5nb2yW.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CYjLGCUJ.mjs.map → acorex-modules-document-management-small-icons-view.component-Dg5nb2yW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BnXo0uWh.mjs → acorex-modules-document-management-small-tiles-view.component-BCaQYHQF.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BnXo0uWh.mjs.map → acorex-modules-document-management-small-tiles-view.component-BCaQYHQF.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-Bh0D44Yv.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-KTKkPz-B.mjs} +9 -9
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-Bh0D44Yv.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-KTKkPz-B.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-CMez7XCT.mjs → acorex-modules-form-template-management-category.entity-DxgqHkjI.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-CMez7XCT.mjs.map → acorex-modules-form-template-management-category.entity-DxgqHkjI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D_VOBOyf.mjs → acorex-modules-form-template-management-permission-definition.provider-6czJEo8f.mjs} +13 -13
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-6czJEo8f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CzvnYncE.mjs → acorex-modules-form-template-management-settings.provider-D3nbUDMw.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CzvnYncE.mjs.map → acorex-modules-form-template-management-settings.provider-D3nbUDMw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CJqwkNDn.mjs → acorex-modules-form-template-management-template-widget-edit.component-BLobMX4C.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CJqwkNDn.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BLobMX4C.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-CSUgPKlG.mjs → acorex-modules-form-template-management-template.entity-Ci6QzE16.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-CSUgPKlG.mjs.map → acorex-modules-form-template-management-template.entity-Ci6QzE16.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDFNie66.mjs → acorex-modules-form-template-management-viewer-popup.component-DIzlC6tX.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDFNie66.mjs.map → acorex-modules-form-template-management-viewer-popup.component-DIzlC6tX.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +3 -3
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs → acorex-modules-organization-management-org-chart-configuration.page-DNzhGz5G.mjs} +7 -7
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DNzhGz5G.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-1UgQCqvl.mjs → acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs} +22 -10
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +117 -5
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Bh6NW7UJ.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CO8rzxOh.mjs} +16 -15
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CO8rzxOh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-Ctqr4YiY.mjs → acorex-modules-platform-management-list-version.component-gWnz7cp6.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-Ctqr4YiY.mjs.map → acorex-modules-platform-management-list-version.component-gWnz7cp6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs → acorex-modules-platform-management-settings.provider-JEwENvqy.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs.map → acorex-modules-platform-management-settings.provider-JEwENvqy.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs +218 -0
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-P2buwWAw.mjs +41 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-P2buwWAw.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-CoqOAn_m.mjs +21 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-CoqOAn_m.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs +51 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs +22 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs +21 -0
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management.mjs +185 -18
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs → acorex-modules-settings-management-setting-page.component-BgQoPRy_.mjs} +7 -7
- package/fesm2022/acorex-modules-settings-management-setting-page.component-BgQoPRy_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DryghOjs.mjs → acorex-modules-settings-management-setting-view.component-CX_FKIxI.mjs} +4 -3
- package/fesm2022/acorex-modules-settings-management-setting-view.component-CX_FKIxI.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management.mjs +3 -3
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +2 -2
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/form-template-management/index.d.ts +1 -0
- package/notification-management/lib/notification-management.module.d.ts +1 -1
- package/organization-management/lib/features/employee/employee-feature.module.d.ts +9 -0
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +2 -2
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -2
- package/organization-management/lib/organization-management.module.d.ts +2 -1
- package/package.json +5 -5
- package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
- package/platform-management/lib/entities/data-source/data-source.types.d.ts +2 -2
- package/platform-management/lib/entities/data-source/datasource-provider.dynamic.d.ts +1 -1
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +2 -2
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +2 -2
- package/platform-management/lib/entities/meta-data-definition-category/category.service.d.ts +1 -1
- package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -2
- package/platform-management/lib/features/app-terms/pages/list/list-terms.component.d.ts +2 -2
- package/platform-management/lib/features/common/common.module.d.ts +1 -1
- package/platform-management/lib/platform-management.module.d.ts +1 -1
- package/security-management/lib/features/permissions/permissions-editor/permissions-editor.component.d.ts +70 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget-column.component.d.ts +10 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget-designer.component.d.ts +6 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget-edit.component.d.ts +8 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget-print.component.d.ts +6 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget-view.component.d.ts +6 -0
- package/security-management/lib/features/permissions/permissions-widget/permissions-widget.config.d.ts +2 -0
- package/security-management/lib/features/permissions/permissions.module.d.ts +8 -0
- package/security-management/lib/features/permissions/workflows/assign-permissions.workflow.d.ts +10 -0
- package/security-management/lib/security-management.module.d.ts +3 -2
- package/settings-management/lib/features/settings/setting-page/setting-page.component.d.ts +2 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-bj5xztse.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-vuHfrDxu.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-search-popup.component-D1Ddwc_U.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-k2QMxYk9.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-permission-definition.provider-DROTONyx.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-D_VOBOyf.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-1UgQCqvl.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-Bh6NW7UJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-view.component-DryghOjs.mjs.map +0 -1
package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
import * as i2 from '@acorex/core/translation';
|
2
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
3
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
4
|
+
import * as i1 from '@angular/common';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
import * as i0 from '@angular/core';
|
7
|
+
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
8
|
+
import { FormsModule } from '@angular/forms';
|
9
|
+
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
10
|
+
|
11
|
+
class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
|
12
|
+
constructor() {
|
13
|
+
super(...arguments);
|
14
|
+
this.workflow = inject(AXPWorkflowService);
|
15
|
+
}
|
16
|
+
async handleClick() {
|
17
|
+
await this.workflow.execute('assign-permissions', {
|
18
|
+
data: this.contextService.data(),
|
19
|
+
});
|
20
|
+
}
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXPPermissionsWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
23
|
+
<span
|
24
|
+
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
25
|
+
(click)="handleClick()" *translate="let t"
|
26
|
+
>
|
27
|
+
{{ t("edit-permissions",{ scope:"security-management" }) | async }}
|
28
|
+
</span>
|
29
|
+
|
30
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i2.AXTranslatorDirective, selector: "[translate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
31
|
+
}
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetEditComponent, decorators: [{
|
33
|
+
type: Component,
|
34
|
+
args: [{
|
35
|
+
template: `
|
36
|
+
<span
|
37
|
+
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
38
|
+
(click)="handleClick()" *translate="let t"
|
39
|
+
>
|
40
|
+
{{ t("edit-permissions",{ scope:"security-management" }) | async }}
|
41
|
+
</span>
|
42
|
+
|
43
|
+
`,
|
44
|
+
standalone: true,
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
46
|
+
imports: [CommonModule, FormsModule, AXTranslationModule],
|
47
|
+
}]
|
48
|
+
}] });
|
49
|
+
|
50
|
+
export { AXPPermissionsWidgetEditComponent };
|
51
|
+
//# sourceMappingURL=acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs","sources":["../../../../libs/modules/security-management/src/lib/features/permissions/permissions-widget/permissions-widget-edit.component.ts"],"sourcesContent":["import { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\n@Component({\n template: `\n <span\n class=\"ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer\"\n (click)=\"handleClick()\" *translate=\"let t\"\n >\n {{ t(\"edit-permissions\",{ scope:\"security-management\" }) | async }}\n </span>\n \n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXTranslationModule],\n})\nexport class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent<string[]> {\n\n private workflow = inject(AXPWorkflowService);\n\n protected async handleClick() {\n await this.workflow.execute('assign-permissions', {\n data: this.contextService.data(),\n });\n }\n}"],"names":[],"mappings":";;;;;;;;;;AAoBM,MAAO,iCAAkC,SAAQ,uBAAiC,CAAA;AAdxF,IAAA,WAAA,GAAA;;AAgBU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAO9C;AALW,IAAA,MAAM,WAAW,GAAA;AACzB,QAAA,MAAM,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,oBAAoB,EAAE;AAChD,YAAA,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE;AACjC,SAAA,CAAC;;+GAPO,iCAAiC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iCAAiC,EAblC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;;;;AAQT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGS,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAE7C,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAd7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE;;;;;;;;AAQT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,mBAAmB,CAAC;AAC1D,iBAAA;;;;;"}
|
package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import * as i0 from '@angular/core';
|
4
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
5
|
+
|
6
|
+
class AXPPermissionsWidgetPrintComponent extends AXPLayoutWidgetComponent {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXPPermissionsWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{
|
13
|
+
template: ``,
|
14
|
+
standalone: true,
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
16
|
+
imports: [CommonModule],
|
17
|
+
inputs: []
|
18
|
+
}]
|
19
|
+
}] });
|
20
|
+
|
21
|
+
export { AXPPermissionsWidgetPrintComponent };
|
22
|
+
//# sourceMappingURL=acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs","sources":["../../../../libs/modules/security-management/src/lib/features/permissions/permissions-widget/permissions-widget-print.component.ts"],"sourcesContent":["import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\n@Component({\n template: ``,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule],\n inputs: []\n})\nexport class AXPPermissionsWidgetPrintComponent extends AXPLayoutWidgetComponent {}"],"names":[],"mappings":";;;;;AAUM,MAAO,kCAAmC,SAAQ,wBAAwB,CAAA;+GAAnE,kCAAkC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAlC,kCAAkC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANnC,CAAE,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGF,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGX,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAP9C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAE,CAAA;AACZ,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,MAAM,EAAE;AACT,iBAAA;;;;;"}
|
package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import * as i0 from '@angular/core';
|
4
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
5
|
+
|
6
|
+
class AXPPermissionsWidgetViewComponent extends AXPLayoutWidgetComponent {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXPPermissionsWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPermissionsWidgetViewComponent, decorators: [{
|
11
|
+
type: Component,
|
12
|
+
args: [{
|
13
|
+
template: ``,
|
14
|
+
standalone: true,
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
16
|
+
imports: [CommonModule]
|
17
|
+
}]
|
18
|
+
}] });
|
19
|
+
|
20
|
+
export { AXPPermissionsWidgetViewComponent };
|
21
|
+
//# sourceMappingURL=acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs","sources":["../../../../libs/modules/security-management/src/lib/features/permissions/permissions-widget/permissions-widget-view.component.ts"],"sourcesContent":["import { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\n\n@Component({\n template: ``,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule]\n })\nexport class AXPPermissionsWidgetViewComponent extends AXPLayoutWidgetComponent {}"],"names":[],"mappings":";;;;;AAUM,MAAO,iCAAkC,SAAQ,wBAAwB,CAAA;+GAAlE,iCAAiC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EALlC,CAAE,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGF,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAEX,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAN7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAE,CAAA;AACZ,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY;AACtB,iBAAA;;;;;"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSearchCommandProvider, AXPRefreshEvent, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
2
|
-
import
|
2
|
+
import * as i2 from '@acorex/platform/layout/builder';
|
3
|
+
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
3
4
|
import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
4
5
|
import * as i0 from '@angular/core';
|
5
6
|
import { Injectable, NgModule, inject, Injector } from '@angular/core';
|
@@ -11,6 +12,8 @@ import { AXDialogService } from '@acorex/components/dialog';
|
|
11
12
|
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
12
13
|
import { AXTranslationService } from '@acorex/core/translation';
|
13
14
|
import { AXP_USER_AVATAR_PROVIDER } from '@acorex/platform/layout/components';
|
15
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
16
|
+
import { AXPopupService } from '@acorex/components/popup';
|
14
17
|
|
15
18
|
const config = {
|
16
19
|
i18n: 'security-management',
|
@@ -1689,28 +1692,42 @@ async function factory(injector) {
|
|
1689
1692
|
// },
|
1690
1693
|
// },
|
1691
1694
|
// },
|
1695
|
+
// {
|
1696
|
+
// name: 'permissions',
|
1697
|
+
// title: `t("permissions", { scope: "${i18n}" })`,
|
1698
|
+
// groupId: 'permissions',
|
1699
|
+
// schema: {
|
1700
|
+
// dataType: 'string',
|
1701
|
+
// interface: {
|
1702
|
+
// type: AXPWidgetsCatalog.select,
|
1703
|
+
// options: {
|
1704
|
+
// dataSource: new AXDataSource({
|
1705
|
+
// load: async () => {
|
1706
|
+
// const permissions = await permissionService.getPermissions();
|
1707
|
+
// return {
|
1708
|
+
// items: permissions,
|
1709
|
+
// total: permissions.length,
|
1710
|
+
// };
|
1711
|
+
// },
|
1712
|
+
// pageSize: 1000,
|
1713
|
+
// key: 'name',
|
1714
|
+
// }),
|
1715
|
+
// valueField: 'name',
|
1716
|
+
// textField: 'title',
|
1717
|
+
// multiple: true,
|
1718
|
+
// },
|
1719
|
+
// },
|
1720
|
+
// },
|
1721
|
+
// },
|
1692
1722
|
{
|
1693
1723
|
name: 'permissions',
|
1694
1724
|
title: `t("permissions", { scope: "${i18n}" })`,
|
1695
1725
|
groupId: 'permissions',
|
1696
1726
|
schema: {
|
1697
|
-
dataType: '
|
1727
|
+
dataType: 'array',
|
1698
1728
|
interface: {
|
1699
|
-
type:
|
1729
|
+
type: 'permissions-editor',
|
1700
1730
|
options: {
|
1701
|
-
dataSource: new AXDataSource({
|
1702
|
-
load: async () => {
|
1703
|
-
const permissions = await permissionService.getPermissions();
|
1704
|
-
return {
|
1705
|
-
items: permissions,
|
1706
|
-
total: permissions.length,
|
1707
|
-
};
|
1708
|
-
},
|
1709
|
-
pageSize: 1000,
|
1710
|
-
key: 'name',
|
1711
|
-
}),
|
1712
|
-
valueField: 'name',
|
1713
|
-
textField: 'title',
|
1714
1731
|
multiple: true,
|
1715
1732
|
},
|
1716
1733
|
},
|
@@ -1955,11 +1972,18 @@ async function factory(injector) {
|
|
1955
1972
|
type: 'delete',
|
1956
1973
|
scope: AXPEntityCommandScope.Individual,
|
1957
1974
|
},
|
1975
|
+
{
|
1976
|
+
title: `@security-management:features.permissions.actions.assign.title`,
|
1977
|
+
command: 'assign-permissions',
|
1978
|
+
priority: 'secondary',
|
1979
|
+
type: 'view',
|
1980
|
+
scope: AXPEntityCommandScope.Individual,
|
1981
|
+
}
|
1958
1982
|
],
|
1959
1983
|
views: [
|
1960
1984
|
{
|
1961
1985
|
name: 'all',
|
1962
|
-
title: `
|
1986
|
+
title: `allItem`,
|
1963
1987
|
fixed: true,
|
1964
1988
|
columns: [],
|
1965
1989
|
conditions: [],
|
@@ -2153,12 +2177,153 @@ class AXMUserAvatarProvider {
|
|
2153
2177
|
}
|
2154
2178
|
}
|
2155
2179
|
|
2180
|
+
const AXPPermissionsWidget = {
|
2181
|
+
name: "permissions-editor",
|
2182
|
+
title: "Permissions Editor",
|
2183
|
+
description: '',
|
2184
|
+
type: 'view',
|
2185
|
+
categories: [],
|
2186
|
+
groups: [AXPWidgetGroupEnum.EntityWidget],
|
2187
|
+
icon: "fa-solid fa-square",
|
2188
|
+
properties: [
|
2189
|
+
AXP_NAME_PROPERTY,
|
2190
|
+
AXP_DATA_PATH_PROPERTY,
|
2191
|
+
AXP_DISABLED_PROPERTY,
|
2192
|
+
],
|
2193
|
+
components: {
|
2194
|
+
view: {
|
2195
|
+
component: () => import('./acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs').then((c) => c.AXPPermissionsWidgetViewComponent),
|
2196
|
+
},
|
2197
|
+
edit: {
|
2198
|
+
component: () => import('./acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs').then((c) => c.AXPPermissionsWidgetEditComponent),
|
2199
|
+
},
|
2200
|
+
column: {
|
2201
|
+
component: () => import('./acorex-modules-security-management-permissions-widget-column.component-P2buwWAw.mjs').then((c) => c.AXPPermissionsWidgetColumnComponent),
|
2202
|
+
},
|
2203
|
+
print: {
|
2204
|
+
component: () => import('./acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs').then((c) => c.AXPPermissionsWidgetPrintComponent),
|
2205
|
+
},
|
2206
|
+
designer: {
|
2207
|
+
component: () => import('./acorex-modules-security-management-permissions-widget-designer.component-CoqOAn_m.mjs').then((c) => c.AXPPermissionsWidgetDesignerComponent),
|
2208
|
+
},
|
2209
|
+
}
|
2210
|
+
};
|
2211
|
+
|
2212
|
+
class AXMOpenPermissionsEditorAction extends AXPWorkflowAction {
|
2213
|
+
constructor() {
|
2214
|
+
super(...arguments);
|
2215
|
+
this.modalService = inject(AXPopupService);
|
2216
|
+
this.translateService = inject(AXTranslationService);
|
2217
|
+
}
|
2218
|
+
async execute(context) {
|
2219
|
+
const role = context.getVariable('data');
|
2220
|
+
const component = await import('./acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs').then(m => m.AXPPermissionsEditorComponent);
|
2221
|
+
const title = await this.translateService.translateAsync("@security-management:features.permissions.terms.permissions-editor");
|
2222
|
+
const result = await this.modalService.open(component, {
|
2223
|
+
title: `${title} - ${role.title}`,
|
2224
|
+
size: 'md',
|
2225
|
+
data: {
|
2226
|
+
initialPermissions: role['permissions'] ?? []
|
2227
|
+
}
|
2228
|
+
});
|
2229
|
+
const permissions = result.data;
|
2230
|
+
if (permissions) {
|
2231
|
+
context.setVariable('data.permissions', permissions);
|
2232
|
+
context.setOutput('result', true);
|
2233
|
+
}
|
2234
|
+
}
|
2235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMOpenPermissionsEditorAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
2236
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMOpenPermissionsEditorAction }); }
|
2237
|
+
}
|
2238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMOpenPermissionsEditorAction, decorators: [{
|
2239
|
+
type: Injectable
|
2240
|
+
}] });
|
2241
|
+
const AXMAssignPermissionsWorkflow = {
|
2242
|
+
startStepId: 'assign-permissions',
|
2243
|
+
steps: {
|
2244
|
+
"assign-permissions": {
|
2245
|
+
action: 'open-permissions-editor',
|
2246
|
+
nextSteps: [
|
2247
|
+
{
|
2248
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
2249
|
+
nextStepId: 'assign-permissions-to-role',
|
2250
|
+
},
|
2251
|
+
],
|
2252
|
+
},
|
2253
|
+
"assign-permissions-to-role": {
|
2254
|
+
action: 'entity-apply-updates',
|
2255
|
+
nextSteps: [
|
2256
|
+
{
|
2257
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
2258
|
+
nextStepId: 'dispatch-event',
|
2259
|
+
},
|
2260
|
+
],
|
2261
|
+
},
|
2262
|
+
"dispatch-event": {
|
2263
|
+
action: 'AXPEntityModifyConfirmedAction',
|
2264
|
+
nextSteps: [
|
2265
|
+
{
|
2266
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
2267
|
+
nextStepId: 'show-toast',
|
2268
|
+
},
|
2269
|
+
],
|
2270
|
+
},
|
2271
|
+
"show-toast": {
|
2272
|
+
action: 'AXPToastAction',
|
2273
|
+
input: {
|
2274
|
+
color: 'success',
|
2275
|
+
title: 'workflow.entity-modified-title',
|
2276
|
+
content: 'workflow.entity-modified-body',
|
2277
|
+
},
|
2278
|
+
},
|
2279
|
+
},
|
2280
|
+
};
|
2281
|
+
|
2282
|
+
class AXMPermissionsModule {
|
2283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMPermissionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2284
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXMPermissionsModule, imports: [i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
|
2285
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMPermissionsModule, imports: [AXPWorkflowModule.forChild({
|
2286
|
+
workflows: {
|
2287
|
+
'assign-permissions': AXMAssignPermissionsWorkflow
|
2288
|
+
},
|
2289
|
+
actions: {
|
2290
|
+
'open-permissions-editor': AXMOpenPermissionsEditorAction
|
2291
|
+
}
|
2292
|
+
}),
|
2293
|
+
AXPLayoutBuilderModule.forChild({
|
2294
|
+
widgets: [
|
2295
|
+
AXPPermissionsWidget
|
2296
|
+
]
|
2297
|
+
})] }); }
|
2298
|
+
}
|
2299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMPermissionsModule, decorators: [{
|
2300
|
+
type: NgModule,
|
2301
|
+
args: [{
|
2302
|
+
imports: [
|
2303
|
+
AXPWorkflowModule.forChild({
|
2304
|
+
workflows: {
|
2305
|
+
'assign-permissions': AXMAssignPermissionsWorkflow
|
2306
|
+
},
|
2307
|
+
actions: {
|
2308
|
+
'open-permissions-editor': AXMOpenPermissionsEditorAction
|
2309
|
+
}
|
2310
|
+
}),
|
2311
|
+
AXPLayoutBuilderModule.forChild({
|
2312
|
+
widgets: [
|
2313
|
+
AXPPermissionsWidget
|
2314
|
+
]
|
2315
|
+
})
|
2316
|
+
],
|
2317
|
+
}]
|
2318
|
+
}] });
|
2319
|
+
|
2156
2320
|
class AXMSecurityManagementModule {
|
2157
2321
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMSecurityManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2158
2322
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXMSecurityManagementModule, imports: [AXMSecurityManagementDeviceSessionsEntityModule,
|
2159
2323
|
AXMSecurityManagementProfileEntityModule,
|
2160
2324
|
AXMSecurityManagementRolesEntityModule,
|
2161
|
-
AXMSecurityManagementUsersEntityModule,
|
2325
|
+
AXMSecurityManagementUsersEntityModule,
|
2326
|
+
AXMPermissionsModule, i1.AXPWorkflowModule] }); }
|
2162
2327
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMSecurityManagementModule, providers: [
|
2163
2328
|
{
|
2164
2329
|
provide: AXP_MENU_PROVIDER,
|
@@ -2183,6 +2348,7 @@ class AXMSecurityManagementModule {
|
|
2183
2348
|
AXMSecurityManagementProfileEntityModule,
|
2184
2349
|
AXMSecurityManagementRolesEntityModule,
|
2185
2350
|
AXMSecurityManagementUsersEntityModule,
|
2351
|
+
AXMPermissionsModule,
|
2186
2352
|
AXPWorkflowModule.forChild({
|
2187
2353
|
actions: {
|
2188
2354
|
AXPSessionTerminatePopupAction
|
@@ -2201,6 +2367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
2201
2367
|
AXMSecurityManagementProfileEntityModule,
|
2202
2368
|
AXMSecurityManagementRolesEntityModule,
|
2203
2369
|
AXMSecurityManagementUsersEntityModule,
|
2370
|
+
AXMPermissionsModule,
|
2204
2371
|
AXPWorkflowModule.forChild({
|
2205
2372
|
actions: {
|
2206
2373
|
AXPSessionTerminatePopupAction
|