@acorex/modules 19.3.0-next.1 → 19.3.0-next.3
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/app-chooser/app-chooser-list.component.d.ts +1 -0
- package/auth/lib/pages/account/profile/profile-slot.component.d.ts +4 -0
- package/auth/lib/pages/account/tenant-chooser/tenant-chooser.component.d.ts +3 -0
- package/auth/lib/pages/account/user-sessions/user-sessions.component.d.ts +71 -0
- package/auth/lib/pages/account/user-sessions/user-sessions.service.d.ts +22 -0
- package/common/index.d.ts +2 -1
- package/common/lib/common.module.d.ts +2 -1
- package/common/lib/entities/dashboard/dashboard.types.d.ts +1 -1
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +5 -2
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +2 -0
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +1 -1
- package/common/lib/features/home-dashboard/home-dashboard.module.d.ts +7 -0
- package/common/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +10 -3
- package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget-view.component.d.ts +24 -0
- package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget.config.d.ts +2 -0
- package/common/lib/menu.provider.d.ts +1 -0
- package/common/lib/widgets-names-list.d.ts +39 -0
- package/document-management/index.d.ts +1 -1
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +10 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs} +9 -9
- package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs.map → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +14 -15
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs → acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs} +100 -28
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs.map → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs → acorex-modules-auth-login.module-BgTtZuTg.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs.map → acorex-modules-auth-login.module-BgTtZuTg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs → acorex-modules-auth-master.layout-he9vVKsC.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs.map → acorex-modules-auth-master.layout-he9vVKsC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs → acorex-modules-auth-password.component-U16w7Rq4.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs.map → acorex-modules-auth-password.component-U16w7Rq4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs → acorex-modules-auth-password.component-_ceO6nyb.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs.map → acorex-modules-auth-password.component-_ceO6nyb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs → acorex-modules-auth-routes-CSGjcpD8.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs.map → acorex-modules-auth-routes-CSGjcpD8.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs +128 -0
- package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs → acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs} +24 -10
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs.map → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs.map → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs +135 -0
- package/fesm2022/acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs +139 -0
- package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-index-rvP9ISgL.mjs → acorex-modules-common-index-Dt3vRkkx.mjs} +141 -37
- package/fesm2022/acorex-modules-common-index-Dt3vRkkx.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +168 -30
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs → acorex-modules-document-management-acorex-modules-document-management-CRoewhvP.mjs} +59 -56
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CRoewhvP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs → acorex-modules-document-management-create-folder-dialog.component-m7SsCGA1.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map → acorex-modules-document-management-create-folder-dialog.component-m7SsCGA1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs → acorex-modules-document-management-details-view.component-CWvWCgXL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs.map → acorex-modules-document-management-details-view.component-CWvWCgXL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs → acorex-modules-document-management-drive-choose.component-Dh9nJCMs.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs.map → acorex-modules-document-management-drive-choose.component-Dh9nJCMs.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs → acorex-modules-document-management-large-icons-view.component-DZ5MHPYz.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs.map → acorex-modules-document-management-large-icons-view.component-DZ5MHPYz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs → acorex-modules-document-management-large-tiles-view.component-CS_2hXao.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs.map → acorex-modules-document-management-large-tiles-view.component-CS_2hXao.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs → acorex-modules-document-management-list-view.component-L1hUtLp8.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs.map → acorex-modules-document-management-list-view.component-L1hUtLp8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs → acorex-modules-document-management-rename-node-dialog.component-4fkD6VF4.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map → acorex-modules-document-management-rename-node-dialog.component-4fkD6VF4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs → acorex-modules-document-management-small-icons-view.component-CfHVW4AR.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs.map → acorex-modules-document-management-small-icons-view.component-CfHVW4AR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs → acorex-modules-document-management-small-tiles-view.component-CJJ4KRcD.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs.map → acorex-modules-document-management-small-tiles-view.component-CJJ4KRcD.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-C3bCqH0S.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Di2Dkvbh.mjs} +19 -18
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Di2Dkvbh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs → acorex-modules-form-template-management-category.entity-Cv-0gZOh.mjs} +12 -5
- package/fesm2022/acorex-modules-form-template-management-category.entity-Cv-0gZOh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs → acorex-modules-form-template-management-settings.provider-BZoYtsfh.mjs} +13 -5
- package/fesm2022/acorex-modules-form-template-management-settings.provider-BZoYtsfh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs → acorex-modules-form-template-management-template-widget-edit.component-CNFyBxpm.mjs} +5 -5
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CNFyBxpm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs → acorex-modules-form-template-management-template.entity-DbWv7ar9.mjs} +9 -9
- package/fesm2022/acorex-modules-form-template-management-template.entity-DbWv7ar9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs → acorex-modules-form-template-management-viewer-popup.component-CMrQl-UQ.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CMrQl-UQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +1351 -0
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +22 -21
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs +489 -0
- package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs → acorex-modules-organization-management-chart.entity-UAn44WCP.mjs} +14 -13
- package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-BRkEcDNt.mjs → acorex-modules-organization-management-company.entity-D1A1HSkC.mjs} +12 -11
- package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs → acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs} +192 -85
- package/fesm2022/acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs +442 -0
- package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs +601 -0
- package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs → acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs} +21 -25
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs → acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs.map → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-position.entity-BpQbwW-x.mjs → acorex-modules-organization-management-position.entity-DhPT9kzv.mjs} +12 -11
- package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-qyDyhl-q.mjs → acorex-modules-organization-management-role.entity-C-AIIaDo.mjs} +31 -39
- package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-setting.keys-CF6Giykz.mjs → acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs → acorex-modules-organization-management-settings.provider-hlbUXugb.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-branch.entity-e5pFx82N.mjs → acorex-modules-organization-management-team.entity-DZqK-yLT.mjs} +71 -60
- package/fesm2022/acorex-modules-organization-management-team.entity-DZqK-yLT.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +77 -40
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs → acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs} +3772 -1443
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs +28 -0
- package/fesm2022/acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs} +7 -7
- package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs.map → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs → acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs} +34 -18
- package/fesm2022/acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1147 -461
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs → acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs} +1 -1
- package/fesm2022/acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs.map +1 -0
- package/fesm2022/acorex-modules-text-template-management.mjs +2 -2
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/form-template-management/lib/features/designer/widgets/template/template-widget-designer.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template/template-widget-view.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +2 -2
- package/form-template-management/lib/settings.keys.d.ts +6 -0
- package/log-management/README.md +3 -0
- package/log-management/index.d.ts +7 -0
- package/log-management/lib/const.d.ts +20 -0
- package/log-management/lib/entities/axp-log/axp-log.entity.d.ts +3 -0
- package/log-management/lib/entities/axp-log/axp-log.service.d.ts +10 -0
- package/log-management/lib/entities/axp-log/axp-log.types.d.ts +23 -0
- package/log-management/lib/entities/axp-log/index.d.ts +3 -0
- package/log-management/lib/entity.provider.d.ts +10 -0
- package/log-management/lib/log-management.module.d.ts +6 -0
- package/log-management/lib/menu.provider.d.ts +5 -0
- package/log-management/lib/permission.provider.d.ts +4 -0
- package/log-management/lib/search-command.provider.d.ts +4 -0
- package/log-management/lib/settings.keys.d.ts +16 -0
- package/log-management/lib/settings.provider.d.ts +12 -0
- package/notification-management/index.d.ts +1 -1
- package/organization-management/lib/entities/branch/branch.types.d.ts +6 -0
- package/organization-management/lib/entities/department/department.types.d.ts +5 -0
- package/organization-management/lib/entities/division/division.types.d.ts +5 -0
- package/organization-management/lib/entities/employee/employee.types.d.ts +9 -1
- package/organization-management/lib/entities/role/role.types.d.ts +1 -1
- package/organization-management/lib/entities/team/team.types.d.ts +4 -1
- package/organization-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +1 -1
- package/package.json +5 -1
- package/platform-management/index.d.ts +1 -0
- package/platform-management/lib/const.d.ts +24 -0
- package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +3 -2
- package/platform-management/lib/entities/index.d.ts +3 -0
- package/platform-management/lib/entities/issue-type/index.d.ts +3 -0
- package/platform-management/lib/entities/issue-type/issue-type.entity.d.ts +3 -0
- package/platform-management/lib/entities/issue-type/issue-type.service.d.ts +10 -0
- package/platform-management/lib/entities/issue-type/issue-type.types.d.ts +6 -0
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -1
- package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -0
- package/platform-management/lib/entities/my-reported-issues/index.d.ts +3 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.entity.d.ts +3 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.service.d.ts +10 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.types.d.ts +5 -0
- package/platform-management/lib/entities/reported-issues/index.d.ts +3 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.entity.d.ts +3 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.service.d.ts +10 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.types.d.ts +21 -0
- package/platform-management/lib/features/index.d.ts +1 -0
- package/platform-management/lib/features/release-notes/settings.keys.d.ts +3 -0
- package/platform-management/lib/features/release-notes/settings.provider.d.ts +11 -0
- package/platform-management/lib/features/support/capture-screen/capture-screen.types.d.ts +19 -0
- package/platform-management/lib/features/support/capture-screen/components/capture-screen-component/capture-screen.component.d.ts +37 -0
- package/platform-management/lib/features/support/capture-screen/index.d.ts +2 -0
- package/platform-management/lib/features/support/capture-screen/services/capture-screen.service.d.ts +33 -0
- package/platform-management/lib/features/support/index.d.ts +2 -0
- package/platform-management/lib/features/support/report-issue/components/index.d.ts +1 -0
- package/platform-management/lib/features/support/report-issue/components/report-new-issue/report-new-issue.component.d.ts +40 -0
- package/platform-management/lib/features/support/report-issue/index.d.ts +2 -0
- package/platform-management/lib/features/support/report-issue/report-issue.types.d.ts +19 -0
- package/platform-management/lib/features/support/report-issue/services/report-new-issue.viewmodel.d.ts +15 -0
- package/platform-management/lib/features/support/report-issue/workflows/index.d.ts +1 -0
- package/platform-management/lib/features/support/report-issue/workflows/show-report-issue.workflow.d.ts +10 -0
- package/security-management/lib/const.d.ts +6 -0
- package/security-management/lib/entities/device-sessions/device-sessions.entity.d.ts +3 -0
- package/security-management/lib/entities/device-sessions/device-sessions.module.d.ts +6 -0
- package/security-management/lib/entities/device-sessions/device-sessions.service.d.ts +12 -0
- package/security-management/lib/entities/device-sessions/device-sessions.types.d.ts +34 -0
- package/security-management/lib/entities/device-sessions/index.d.ts +4 -0
- package/security-management/lib/entities/index.d.ts +1 -0
- package/security-management/lib/menu.keys.d.ts +2 -1
- package/security-management/lib/security-management.module.d.ts +6 -4
- package/security-management/lib/workflows/terminate-entity.workflow.d.ts +27 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs +0 -271
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs +0 -256
- package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs +0 -238
- package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.keys-CF6Giykz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs +0 -238
- package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs.map +0 -1
- package/fesm2022/acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs.map +0 -1
- /package/auth/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/common/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/document-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/form-template-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/notification-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
- /package/notification-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/organization-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/platform-management/lib/features/common/regional/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
- /package/platform-management/lib/features/common/regional/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/text-template-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
@@ -5,14 +5,15 @@ import { AXMOrganizationManagementEmploymentTypeEntityService, RootConfig } from
|
|
5
5
|
async function factory(injector) {
|
6
6
|
const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);
|
7
7
|
const i18n = RootConfig.config.i18n;
|
8
|
+
const entityName = 'employment-type';
|
8
9
|
const entityDef = {
|
9
10
|
module: RootConfig.module.name,
|
10
11
|
name: RootConfig.entities.employmentType.name,
|
11
12
|
source: '',
|
12
|
-
title: `t("
|
13
|
+
title: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
13
14
|
formats: {
|
14
|
-
individual: `t("
|
15
|
-
plural: `t("
|
15
|
+
individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
16
|
+
plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
|
16
17
|
searchResult: {
|
17
18
|
title: '{{ title }}',
|
18
19
|
description: RootConfig.module.title,
|
@@ -21,14 +22,15 @@ async function factory(injector) {
|
|
21
22
|
relatedEntities: [],
|
22
23
|
groups: [
|
23
24
|
{
|
24
|
-
id: '
|
25
|
-
title: `t("
|
25
|
+
id: 'basicInfo',
|
26
|
+
title: `t("${entityName}.basic-info", { scope: "${i18n}" })`,
|
26
27
|
},
|
27
28
|
],
|
28
29
|
properties: [
|
29
30
|
{
|
30
31
|
name: 'id',
|
31
32
|
title: 'ID',
|
33
|
+
groupId: 'basicInfo',
|
32
34
|
schema: {
|
33
35
|
dataType: 'uuid',
|
34
36
|
hidden: true,
|
@@ -41,15 +43,12 @@ async function factory(injector) {
|
|
41
43
|
},
|
42
44
|
{
|
43
45
|
name: 'title',
|
44
|
-
title: `t("title", { scope: "
|
45
|
-
groupId: '
|
46
|
+
title: `t("${entityName}.title", { scope: "${i18n}" })`,
|
47
|
+
groupId: 'basicInfo',
|
46
48
|
schema: {
|
47
49
|
dataType: 'string',
|
48
50
|
interface: {
|
49
51
|
type: AXPWidgetsCatalog.text,
|
50
|
-
options: {
|
51
|
-
width: '300px',
|
52
|
-
},
|
53
52
|
},
|
54
53
|
},
|
55
54
|
validations: [
|
@@ -60,15 +59,12 @@ async function factory(injector) {
|
|
60
59
|
},
|
61
60
|
{
|
62
61
|
name: 'description',
|
63
|
-
title: `t("description", { scope: "
|
64
|
-
groupId: '
|
62
|
+
title: `t("${entityName}.description", { scope: "${i18n}" })`,
|
63
|
+
groupId: 'basicInfo',
|
65
64
|
schema: {
|
66
65
|
dataType: 'string',
|
67
66
|
interface: {
|
68
|
-
type: AXPWidgetsCatalog.
|
69
|
-
options: {
|
70
|
-
width: '500px',
|
71
|
-
},
|
67
|
+
type: AXPWidgetsCatalog.largeText,
|
72
68
|
},
|
73
69
|
},
|
74
70
|
},
|
@@ -111,7 +107,7 @@ async function factory(injector) {
|
|
111
107
|
create: {
|
112
108
|
sections: [
|
113
109
|
{
|
114
|
-
id: '
|
110
|
+
id: 'basicInfo',
|
115
111
|
},
|
116
112
|
],
|
117
113
|
properties: [
|
@@ -140,7 +136,7 @@ async function factory(injector) {
|
|
140
136
|
update: {
|
141
137
|
sections: [
|
142
138
|
{
|
143
|
-
id: '
|
139
|
+
id: 'basicInfo',
|
144
140
|
},
|
145
141
|
],
|
146
142
|
properties: [
|
@@ -170,7 +166,7 @@ async function factory(injector) {
|
|
170
166
|
title: '{{title}}',
|
171
167
|
sections: [
|
172
168
|
{
|
173
|
-
id: '
|
169
|
+
id: 'basicInfo',
|
174
170
|
layout: {
|
175
171
|
positions: {
|
176
172
|
lg: {
|
@@ -207,28 +203,28 @@ async function factory(injector) {
|
|
207
203
|
list: {
|
208
204
|
actions: [
|
209
205
|
{
|
210
|
-
title: `t("create", { scope: "
|
206
|
+
title: `t("${entityName}.create", { scope: "${i18n}" })`,
|
211
207
|
command: 'create-entity',
|
212
208
|
priority: 'primary',
|
213
209
|
type: 'create',
|
214
210
|
scope: AXPEntityCommandScope.TypeLevel,
|
215
211
|
},
|
216
212
|
{
|
217
|
-
title:
|
213
|
+
title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
|
218
214
|
command: 'delete-entity',
|
219
215
|
priority: 'primary',
|
220
216
|
type: 'delete',
|
221
217
|
scope: AXPEntityCommandScope.Selected,
|
222
218
|
},
|
223
219
|
{
|
224
|
-
title:
|
220
|
+
title: `t("${entityName}.detail", { scope: "${i18n}" })`,
|
225
221
|
command: 'open-entity',
|
226
222
|
priority: 'secondary',
|
227
223
|
type: 'view',
|
228
224
|
scope: AXPEntityCommandScope.Individual,
|
229
225
|
},
|
230
226
|
{
|
231
|
-
title:
|
227
|
+
title: `t("${entityName}.delete", { scope: "${i18n}" })`,
|
232
228
|
command: 'delete-entity',
|
233
229
|
priority: 'secondary',
|
234
230
|
type: 'delete',
|
@@ -238,7 +234,7 @@ async function factory(injector) {
|
|
238
234
|
views: [
|
239
235
|
{
|
240
236
|
name: 'all',
|
241
|
-
title:
|
237
|
+
title: `t("${entityName}.all-item", { scope: "${i18n}" })`,
|
242
238
|
fixed: true,
|
243
239
|
columns: [],
|
244
240
|
conditions: [],
|
@@ -253,4 +249,4 @@ async function factory(injector) {
|
|
253
249
|
}
|
254
250
|
|
255
251
|
export { factory };
|
256
|
-
//# sourceMappingURL=acorex-modules-organization-management-employment-type.entity-
|
252
|
+
//# sourceMappingURL=acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map
|
package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs","sources":["../../../../libs/modules/organization-management/src/lib/entities/employment-type/employment-type.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementEmploymentTypeEntityService } from './employment-type.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);\n const i18n = RootConfig.config.i18n;\n const entityName = 'employment-type';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employmentType.name,\n source: '',\n title: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n formats: {\n individual: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n plural: `t(\"${entityName}.plural-title\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'basicInfo',\n title: `t(\"${entityName}.basic-info\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"${entityName}.title\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `t(\"${entityName}.description\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'basicInfo',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"${entityName}.create\", { scope: \"${i18n}\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: `t(\"${entityName}.delete-items\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: `t(\"${entityName}.detail\", { scope: \"${i18n}\" })`,\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: `t(\"${entityName}.delete\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: `t(\"${entityName}.all-item\", { scope: \"${i18n}\" })`,\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,oDAAoD,CAAC;AACtF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IACnC,MAAM,UAAU,GAAG,iBAAiB;AAEpC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,KAAK,EAAE,C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,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;;;;"}
|
@@ -22,7 +22,7 @@ import { inject, signal, ChangeDetectionStrategy, Component } from '@angular/cor
|
|
22
22
|
import { FormsModule } from '@angular/forms';
|
23
23
|
import { RouterModule } from '@angular/router';
|
24
24
|
import { RootConfig } from './acorex-modules-organization-management.mjs';
|
25
|
-
import { A as AXMOrgChartConfigService } from './acorex-modules-organization-management-org-chart-configuration.service-
|
25
|
+
import { A as AXMOrgChartConfigService } from './acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs';
|
26
26
|
|
27
27
|
class AXMOrgChartConfigurationPage {
|
28
28
|
constructor() {
|
@@ -89,4 +89,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
89
89
|
}] });
|
90
90
|
|
91
91
|
export { AXMOrgChartConfigurationPage };
|
92
|
-
//# sourceMappingURL=acorex-modules-organization-management-org-chart-configuration.page-
|
92
|
+
//# sourceMappingURL=acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/org-chart-configuration.page.ts","../../../../libs/modules/organization-management/src/lib/features/organization-chart/org-chart-configuration.page.html"],"sourcesContent":["import { AXAlertModule } from '@acorex/components/alert';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSimplePageLayout } from '@acorex/platform/themes/default';\nimport {\n AXPLayoutThemeService,\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutPageHeaderComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n} from '@acorex/platform/themes/shared';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\nimport { RootConfig } from '../../const';\nimport { AXMOrgChartConfigService } from './org-chart-configuration.service';\n\n@Component({\n templateUrl: './org-chart-configuration.page.html',\n imports: [\n CommonModule,\n RouterModule,\n FormsModule,\n //\n AXPSimplePageLayout,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutPageHeaderComponent,\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n //\n AXMenuModule,\n AXButtonModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXCheckBoxModule,\n AXBreadcrumbsModule,\n AXAlertModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXMOrgChartConfigService],\n})\nexport class AXMOrgChartConfigurationPage {\n protected readonly layout = inject(AXPLayoutThemeService);\n protected readonly chartService = inject(AXMOrgChartConfigService);\n\n protected loadingStates = signal<{ [parent: string]: { [child: string]: boolean } | undefined }>({});\n\n protected readonly rootConfig = RootConfig;\n\n async ngOnInit() {\n await this.chartService.load();\n }\n\n protected async togglePermission(parent: string, child: string) {\n //TODO: Check the async and loading\n\n // Set the loading state for this cell to true.\n this.loadingStates.update((states) => {\n if (!states[parent]) {\n states[parent] = {};\n }\n states[parent][child] = true;\n return states;\n });\n\n this.chartService.set(parent, child, !this.chartService.get(parent, child));\n\n await this.chartService.update();\n\n // Turn off the loading state.\n this.loadingStates.update((states) => {\n if (!states[parent]) {\n states[parent] = {};\n }\n states[parent][child] = false;\n return states;\n });\n }\n}\n","<axp-layout-simple-page *translate=\"let t\">\n <axp-layout-page-header>\n <axp-layout-title> {{t(rootConfig.entities.structure.title) | async}} </axp-layout-title>\n\n <axp-layout-description>Customize your organization's hierarchical relationships</axp-layout-description>\n\n <axp-layout-actions>\n <axp-layout-actions-primary> </axp-layout-actions-primary>\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('reset') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-print'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n </axp-layout-actions>\n\n\n <axp-layout-breadcrumbs>\n <ax-breadcrumbs [class.ax-hidden]=\"layout.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-regular fa-slash-forward\"></i>\n </ng-template>\n <ax-breadcrumbs-item>\n Home\n </ax-breadcrumbs-item>\n <ax-breadcrumbs-item>\n Organization\n </ax-breadcrumbs-item>\n </ax-breadcrumbs>\n </axp-layout-breadcrumbs>\n </axp-layout-page-header>\n\n <axp-layout-page-content>\n <div class=\"ax-flex ax-flex-col ax-gap-6 ax-w-full \">\n <div>\n <h3 class=\"ax-font-semibold ax-text-xl\">Relations Permissions</h3>\n <p class=\"ax-text-sm ax-opacity-85\">\n This matrix sets the relationships between nodes in your organization chart. Click a cell to toggle the\n relation between <span class=\"ax-text-danger-500\">Allowed</span> and <span\n class=\"ax-text-success-500\">Denied</span>.\n </p>\n </div>\n <!---------------- Matrix Table ---------------->\n <div class=\"ax-w-full ax-overflow-auto\">\n <table class=\"ax-table-auto ax-border-collapse ax-max-w-fit ax-border-surface ax-rounded-md\">\n <thead>\n <tr class=\"ax-dark-surface\">\n <!-- Top-left empty cell -->\n <th class=\"ax-border ax-dark-surface ax-p-4 ax-font-semibold ax-text-start\">Parent\n \\\n Child</th>\n <!-- Horizontal headers -->\n @for ( type of chartService.types; track $index) {\n <th class=\"ax-border ax-dark-surface ax-p-4 ax-min-w-32 ax-text-center ax-font-semibold\">\n {{ type }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n <!-- For each parent type, render a row with alternating backgrounds -->\n @for ( parent of chartService.types; track $index) {\n <tr>\n <!-- Vertical header cell with custom header colors -->\n <td class=\"ax-border ax-dark-surface ax-p-4 ax-font-semibold ax-text-start\">\n {{ parent }}\n </td>\n <!-- Render a cell for each potential child type -->\n @for ( child of chartService.types; track $index) {\n <td class=\"ax-border ax-lightest-surface ax-border-surface ax-p-2 \">\n <div class=\"ax-flex ax-justify-center ax-cursor-pointer ax-sm\">\n @let isLoading = loadingStates()[parent]?.[child];\n <ax-button look=\"blank\" [color]=\"chartService.isAllowed(parent, child) ? 'success' : 'danger'\"\n [text]=\"chartService.isAllowed(parent, child) ? 'Allowed' : 'Denied'\" [disabled]=\"isLoading\"\n (onClick)=\"togglePermission(parent, child)\">\n @if(isLoading)\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n </div>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div>\n <ax-alert [color]=\"'warning'\" class=\"ax-max-w-fit\">\n <ax-icon></ax-icon>\n <ax-title>Attention</ax-title>\n <ax-content>\n Changes made here will not update your current organization chart. They will only affect future charts or\n updates.\n </ax-content>\n </ax-alert>\n </div>\n </div>\n\n </axp-layout-page-content>\n</axp-layout-simple-page>"],"names":["i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAoDa,4BAA4B,CAAA;AA3BzC,IAAA,WAAA,GAAA;AA4BqB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACtC,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAExD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAiE,EAAE,CAAC;QAEjF,IAAU,CAAA,UAAA,GAAG,UAAU;AA+B3C;AA7BC,I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,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKJ,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBA3BxC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,WAAW;;wBAEX,mBAAmB;wBACnB,4BAA4B;wBAC5B,iCAAiC;wBACjC,8BAA8B;wBAC9B,2CAA2C;wBAC3C,yCAAyC;;wBAEzC,YAAY;wBACZ,cAAc;wBACd,sBAAsB;wBACtB,mBAAmB;wBACnB,iBAAiB;wBACjB,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,aAAa;AACd,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA,CAAC,wBAAwB,CAAC,EAAA,QAAA,EAAA,osIAAA,EAAA;;;;;"}
|
1
|
+
{"version":3,"file":"acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/org-chart-configuration.page.ts","../../../../libs/modules/organization-management/src/lib/features/organization-chart/org-chart-configuration.page.html"],"sourcesContent":["import { AXAlertModule } from '@acorex/components/alert';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSimplePageLayout } from '@acorex/platform/themes/default';\nimport {\n AXPLayoutThemeService,\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutPageHeaderComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n} from '@acorex/platform/themes/shared';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\nimport { RootConfig } from '../../const';\nimport { AXMOrgChartConfigService } from './org-chart-configuration.service';\n\n@Component({\n templateUrl: './org-chart-configuration.page.html',\n imports: [\n CommonModule,\n RouterModule,\n FormsModule,\n //\n AXPSimplePageLayout,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutPageHeaderComponent,\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n //\n AXMenuModule,\n AXButtonModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXCheckBoxModule,\n AXBreadcrumbsModule,\n AXAlertModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXMOrgChartConfigService],\n})\nexport class AXMOrgChartConfigurationPage {\n protected readonly layout = inject(AXPLayoutThemeService);\n protected readonly chartService = inject(AXMOrgChartConfigService);\n\n protected loadingStates = signal<{ [parent: string]: { [child: string]: boolean } | undefined }>({});\n\n protected readonly rootConfig = RootConfig;\n\n async ngOnInit() {\n await this.chartService.load();\n }\n\n protected async togglePermission(parent: string, child: string) {\n //TODO: Check the async and loading\n\n // Set the loading state for this cell to true.\n this.loadingStates.update((states) => {\n if (!states[parent]) {\n states[parent] = {};\n }\n states[parent][child] = true;\n return states;\n });\n\n this.chartService.set(parent, child, !this.chartService.get(parent, child));\n\n await this.chartService.update();\n\n // Turn off the loading state.\n this.loadingStates.update((states) => {\n if (!states[parent]) {\n states[parent] = {};\n }\n states[parent][child] = false;\n return states;\n });\n }\n}\n","<axp-layout-simple-page *translate=\"let t\">\n <axp-layout-page-header>\n <axp-layout-title> {{t(rootConfig.entities.structure.title) | async}} </axp-layout-title>\n\n <axp-layout-description>Customize your organization's hierarchical relationships</axp-layout-description>\n\n <axp-layout-actions>\n <axp-layout-actions-primary> </axp-layout-actions-primary>\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('reset') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-print'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n </axp-layout-actions>\n\n\n <axp-layout-breadcrumbs>\n <ax-breadcrumbs [class.ax-hidden]=\"layout.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-regular fa-slash-forward\"></i>\n </ng-template>\n <ax-breadcrumbs-item>\n Home\n </ax-breadcrumbs-item>\n <ax-breadcrumbs-item>\n Organization\n </ax-breadcrumbs-item>\n </ax-breadcrumbs>\n </axp-layout-breadcrumbs>\n </axp-layout-page-header>\n\n <axp-layout-page-content>\n <div class=\"ax-flex ax-flex-col ax-gap-6 ax-w-full \">\n <div>\n <h3 class=\"ax-font-semibold ax-text-xl\">Relations Permissions</h3>\n <p class=\"ax-text-sm ax-opacity-85\">\n This matrix sets the relationships between nodes in your organization chart. Click a cell to toggle the\n relation between <span class=\"ax-text-danger-500\">Allowed</span> and <span\n class=\"ax-text-success-500\">Denied</span>.\n </p>\n </div>\n <!---------------- Matrix Table ---------------->\n <div class=\"ax-w-full ax-overflow-auto\">\n <table class=\"ax-table-auto ax-border-collapse ax-max-w-fit ax-border-surface ax-rounded-md\">\n <thead>\n <tr class=\"ax-dark-surface\">\n <!-- Top-left empty cell -->\n <th class=\"ax-border ax-dark-surface ax-p-4 ax-font-semibold ax-text-start\">Parent\n \\\n Child</th>\n <!-- Horizontal headers -->\n @for ( type of chartService.types; track $index) {\n <th class=\"ax-border ax-dark-surface ax-p-4 ax-min-w-32 ax-text-center ax-font-semibold\">\n {{ type }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n <!-- For each parent type, render a row with alternating backgrounds -->\n @for ( parent of chartService.types; track $index) {\n <tr>\n <!-- Vertical header cell with custom header colors -->\n <td class=\"ax-border ax-dark-surface ax-p-4 ax-font-semibold ax-text-start\">\n {{ parent }}\n </td>\n <!-- Render a cell for each potential child type -->\n @for ( child of chartService.types; track $index) {\n <td class=\"ax-border ax-lightest-surface ax-border-surface ax-p-2 \">\n <div class=\"ax-flex ax-justify-center ax-cursor-pointer ax-sm\">\n @let isLoading = loadingStates()[parent]?.[child];\n <ax-button look=\"blank\" [color]=\"chartService.isAllowed(parent, child) ? 'success' : 'danger'\"\n [text]=\"chartService.isAllowed(parent, child) ? 'Allowed' : 'Denied'\" [disabled]=\"isLoading\"\n (onClick)=\"togglePermission(parent, child)\">\n @if(isLoading)\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n </div>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div>\n <ax-alert [color]=\"'warning'\" class=\"ax-max-w-fit\">\n <ax-icon></ax-icon>\n <ax-title>Attention</ax-title>\n <ax-content>\n Changes made here will not update your current organization chart. They will only affect future charts or\n updates.\n </ax-content>\n </ax-alert>\n </div>\n </div>\n\n </axp-layout-page-content>\n</axp-layout-simple-page>"],"names":["i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAoDa,4BAA4B,CAAA;AA3BzC,IAAA,WAAA,GAAA;AA4BqB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACtC,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAExD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAiE,EAAE,CAAC;QAEjF,IAAU,CAAA,UAAA,GAAG,UAAU;AA+B3C;AA7BC,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;;AAGtB,IAAA,MAAM,gBAAgB,CAAC,MAAc,EAAE,KA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,EAAA,CAAA,CAAA;;2FAKJ,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBA3BxC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,WAAW;;wBAEX,mBAAmB;wBACnB,4BAA4B;wBAC5B,iCAAiC;wBACjC,8BAA8B;wBAC9B,2CAA2C;wBAC3C,yCAAyC;;wBAEzC,YAAY;wBACZ,cAAc;wBACd,sBAAsB;wBACtB,mBAAmB;wBACnB,iBAAiB;wBACjB,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,aAAa;AACd,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA,CAAC,wBAAwB,CAAC,EAAA,QAAA,EAAA,osIAAA,EAAA;;;;;"}
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, signal, Injectable } from '@angular/core';
|
3
3
|
import { AXPSettingService } from '@acorex/platform/common';
|
4
4
|
import { AXPPlatformScope } from '@acorex/platform/core';
|
5
|
-
import { A as AXPOrganizationSetting } from './acorex-modules-organization-management-
|
5
|
+
import { A as AXPOrganizationSetting } from './acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs';
|
6
6
|
import { AXM_ORG_CHART_NODE_TYPE_ENTITY_MAPPINGS } from './acorex-modules-organization-management.mjs';
|
7
7
|
|
8
8
|
class AXMOrgChartConfigService {
|
@@ -144,4 +144,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
144
144
|
}] });
|
145
145
|
|
146
146
|
export { AXMOrgChartConfigService as A };
|
147
|
-
//# sourceMappingURL=acorex-modules-organization-management-org-chart-configuration.service-
|
147
|
+
//# sourceMappingURL=acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/org-chart-configuration.service.ts"],"sourcesContent":["import { inject, Injectable, signal } from '@angular/core';\nimport { AXPSettingService } from '@acorex/platform/common';\nimport { AXPPlatformScope } from '@acorex/platform/core';\nimport { AXPOrganizationSetting } from '../../settings.keys';\nimport { AXM_ORG_CHART_NODE_TYPE_ENTITY_MAPPINGS, AXMOrgChartNodePermission } from './org-chart.type';\n\n\n\n\n@Injectable()\nexport class AXMOrgChartConfigService {\n\n private readonly settingService = inject(AXPSettingService);\n //\n protected _types = Object.entries(AXM_ORG_CHART_NODE_TYPE_ENTITY_MAPPINGS).map(c => c[1].type);\n\n public get types(): string[] {\n return this._types;\n }\n\n private _defaultPermissioEncoded = '011111100001011100000111100000011100011111110011111110011111110000000011000000000';\n\n public permissions = signal<AXMOrgChartNodePermission>(this.defaultPermissions());\n\n\n private defaultPermissions(): AXMOrgChartNodePermission {\n return this.decode(this._defaultPermissioEncoded);\n }\n\n\n private encode(\n permissions: AXMOrgChartNodePermission\n ): string {\n let str = '';\n for (const parent of this.types) {\n for (const child of this.types) {\n str += (permissions[parent]?.[child] ?? 0).toString();\n }\n }\n return str;\n }\n\n\n private decode(encoded: string): AXMOrgChartNodePermission {\n const result: AXMOrgChartNodePermission = {};\n const expectedLength = this.types.length * this.types.length;\n if (encoded.length !== expectedLength) {\n throw new Error(`Invalid permissions string length. Expected ${expectedLength} but got ${encoded.length}`);\n }\n let index = 0;\n for (const parent of this.types) {\n result[parent] = {};\n for (const child of this.types) {\n const char = encoded.charAt(index);\n result[parent][child] = parseInt(char, 10);\n index++;\n }\n }\n return result;\n }\n\n\n private decodeMatrix(matrix: number[][]): AXMOrgChartNodePermission {\n const newPermissions: AXMOrgChartNodePermission = {};\n this.types.forEach((parent, rowIndex) => {\n newPermissions[parent] = {};\n this.types.forEach((child, colIndex) => {\n newPermissions[parent][child] = matrix[rowIndex][colIndex];\n });\n });\n return newPermissions;\n }\n\n private validateEncodedValue(storedValue: unknown): AXMOrgChartNodePermission {\n try {\n if (typeof storedValue === 'string') {\n const expectedLength = this.types.length * this.types.length;\n // Check that the string is the correct length and only contains 0s and 1s.\n if (storedValue.length === expectedLength && /^[01]+$/.test(storedValue)) {\n return this.decode(storedValue);\n }\n } else if (Array.isArray(storedValue)) {\n // Validate the 2D array dimensions and values.\n if (\n storedValue.length === this.types.length &&\n storedValue.every(\n row =>\n Array.isArray(row) &&\n row.length === this.types.length &&\n row.every(val => val === 0 || val === 1)\n )\n ) {\n return this.decodeMatrix(storedValue);\n }\n } else if (typeof storedValue === 'object' && storedValue !== null) {\n // Validate that the object has all the required keys and that their values are 0 or 1.\n let valid = true;\n for (const parent of this.types) {\n if (!(parent in storedValue)) {\n valid = false;\n break;\n }\n const childPermissions = (storedValue as any)[parent];\n for (const child of this.types) {\n if (!(child in childPermissions) || (childPermissions[child] !== 0 && childPermissions[child] !== 1)) {\n valid = false;\n break;\n }\n }\n if (!valid) break;\n }\n if (valid) {\n return storedValue as AXMOrgChartNodePermission;\n }\n }\n } catch (error) {\n // In case of any errors during validation, fall back to default permissions.\n }\n // Return the default permissions if validation fails.\n return this.defaultPermissions();\n }\n\n\n public isAllowed(parent: string, child: string): boolean {\n return (this.permissions()[parent]?.[child] ?? 0) === 1;\n }\n\n\n public set(parent: string, child: string, value: boolean) {\n this.permissions.update((p) => {\n if (!p[parent]) {\n p[parent] = {};\n }\n p[parent][child] = value ? 1 : 0;\n return p;\n });\n }\n\n public get(parent: string, child: string): boolean {\n return this.permissions()[parent]?.[child] === 1;\n }\n\n\n public async load() {\n const storedValue = await this.settingService\n .scope(AXPPlatformScope.Tenant)\n .get(AXPOrganizationSetting.Relations);\n\n // Use the validation method to ensure the stored value is correct.\n if (storedValue) {\n const validatedPermissions = this.validateEncodedValue(storedValue);\n this.permissions.set(validatedPermissions);\n } else {\n this.permissions.set(this.defaultPermissions());\n }\n }\n\n public async update() {\n const matrix = this.encode(this.permissions());\n await this.settingService\n .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AC,SAAS,EAAE,MAAM,CAAC;;8GAvJ7C,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;;;"}
|
@@ -22,7 +22,7 @@ import { RouterModule } from '@angular/router';
|
|
22
22
|
import get from 'lodash-es/get';
|
23
23
|
import set from 'lodash-es/set';
|
24
24
|
import { AXMOrganizationManagementDepartmentEntityService, AXMOrganizationManagementDivisionEntityService, AXMOrganizationManagementBranchEntityService, AXMOrganizationManagementEmployeeEntityService, AXMOrganizationManagementPositionEntityService, AXMOrganizationManagementChartEntityService, AXMOrganizationNodeType, AXM_ORG_CHART_NODE_TYPE_ENTITY_MAPPINGS, RootConfig, AXMOrganizationNodeTypeCategory } from './acorex-modules-organization-management.mjs';
|
25
|
-
import { A as AXMOrgChartConfigService } from './acorex-modules-organization-management-org-chart-configuration.service-
|
25
|
+
import { A as AXMOrgChartConfigService } from './acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs';
|
26
26
|
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
27
27
|
import { AXPExportService, AXPRegionalService, AXPDataGenerator } from '@acorex/platform/common';
|
28
28
|
import { AXDialogService } from '@acorex/components/dialog';
|
@@ -941,4 +941,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
941
941
|
}] });
|
942
942
|
|
943
943
|
export { AXMOrgChartPage };
|
944
|
-
//# sourceMappingURL=acorex-modules-organization-management-org-chart.page-
|
944
|
+
//# sourceMappingURL=acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs.map
|