@acorex/modules 20.7.12 → 20.7.15
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/application-management/index.d.ts +1 -1
- package/assessment-management/README.md +11 -0
- package/assessment-management/index.d.ts +122 -24
- package/auth/index.d.ts +1 -1
- package/common/index.d.ts +9 -3
- package/contact-core/index.d.ts +90 -0
- package/content-management/index.d.ts +2 -2
- package/data-management/index.d.ts +449 -7
- package/document-management/index.d.ts +170 -375
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs} +950 -468
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs → acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs} +32 -33
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs → acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs} +24 -8
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs} +20 -4
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs} +11 -5
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs +392 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs} +21 -6
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs → acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs} +138 -23
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs → acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs} +18 -18
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs.map → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-uUQkWCgY.mjs → acorex-modules-auth-login.module-CI_lkyb7.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-uUQkWCgY.mjs.map → acorex-modules-auth-login.module-CI_lkyb7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-XkwT3Slv.mjs → acorex-modules-auth-master.layout-CdY380qS.mjs} +5 -4
- package/fesm2022/acorex-modules-auth-master.layout-CdY380qS.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs.map → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CaH-OaIv.mjs → acorex-modules-auth-password.component-CefISnvd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CaH-OaIv.mjs.map → acorex-modules-auth-password.component-CefISnvd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DDFOsrkt.mjs → acorex-modules-auth-password.component-Dw_v_EFQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DDFOsrkt.mjs.map → acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Cik9Y3RJ.mjs → acorex-modules-auth-routes-CwcJHbAi.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Cik9Y3RJ.mjs.map → acorex-modules-auth-routes-CwcJHbAi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs.map → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs.map → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-MZJramlf.mjs → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-MZJramlf.mjs.map → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +4 -3
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +77 -36
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs +318 -0
- package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core.mjs +247 -0
- package/fesm2022/acorex-modules-contact-core.mjs.map +1 -0
- package/fesm2022/acorex-modules-content-management.mjs +66 -19
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +1009 -501
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs → acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs} +3 -7
- package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +986 -3041
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-BaZ4OhHW.mjs +65 -0
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-BaZ4OhHW.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-blood-type.entity-Cu-UIgw4.mjs +120 -0
- package/fesm2022/acorex-modules-health-core-blood-type.entity-Cu-UIgw4.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-body-part.entity-Dc2SIiB3.mjs +65 -0
- package/fesm2022/acorex-modules-health-core-body-part.entity-Dc2SIiB3.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-B-9j3pNB.mjs +65 -0
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-B-9j3pNB.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-disability-status.entity-hs3vA3zZ.mjs +120 -0
- package/fesm2022/acorex-modules-health-core-disability-status.entity-hs3vA3zZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-injury-type.entity-BUA1VsE_.mjs +65 -0
- package/fesm2022/acorex-modules-health-core-injury-type.entity-BUA1VsE_.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DBdFkwx6.mjs +65 -0
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DBdFkwx6.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core.mjs +487 -0
- package/fesm2022/acorex-modules-health-core.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs → acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs} +4 -5
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs → acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs.map → acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs → acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs} +6 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +351 -696
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +13 -6
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +4 -4
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs +120 -0
- package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs +120 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs +191 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs +119 -0
- package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-religion.entity-Czb5aHb6.mjs +120 -0
- package/fesm2022/acorex-modules-person-core-religion.entity-Czb5aHb6.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core.mjs +466 -0
- package/fesm2022/acorex-modules-person-core.mjs.map +1 -0
- package/fesm2022/{acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs → acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs} +4 -3
- package/fesm2022/acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs → acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs} +4 -3
- package/fesm2022/acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-management.mjs +11 -259
- package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs} +6 -6
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs.map → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs.map → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs.map → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +4 -3
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-Cgxdk78j.mjs → acorex-modules-task-management-task-board.page-BOOY3qla.mjs} +53 -60
- package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +39 -11
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-BF9xYEkf.mjs +345 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-BF9xYEkf.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +733 -2521
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/health-core/index.d.ts +156 -0
- package/help-desk/index.d.ts +1 -1
- package/human-capital-management/index.d.ts +19 -79
- package/locale-management/index.d.ts +1 -1
- package/notification-management/index.d.ts +1 -1
- package/package.json +24 -12
- package/person-core/index.d.ts +132 -0
- package/person-management/index.d.ts +1 -25
- package/task-management/index.d.ts +12 -1
- package/workflow-management/index.d.ts +239 -265
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs +0 -416
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-XkwT3Slv.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs +0 -498
- package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-Cgxdk78j.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AXPEntityCommandScope, createQueryView, AXPRefreshEvent, AXPSettingsService, createAllQueryView, AXPEntityQueryType, AXPVersioningService, AXPSearchService, AXPLockService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemStatuses, AXPSystemStatusType,
|
|
1
|
+
import { AXPEntityCommandScope, createQueryView, AXPRefreshEvent, AXPSettingsService, AXPCommonSettings, createAllQueryView, AXPEntityQueryType, AXPVersioningService, AXPSearchService, AXPLockService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemStatuses, AXPSystemStatusType, AXPHomePageService, ALL_DEFAULT_OPERATORS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex/platform/common';
|
|
2
2
|
import * as i1$5 from '@acorex/platform/core';
|
|
3
|
-
import { AXPExpressionEvaluatorService, getSmart, AXPPlatformScope, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPBroadcastEventService, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
3
|
+
import { AXPExpressionEvaluatorService, getSmart, AXPComponentSlotModule, AXPPlatformScope, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPBroadcastEventService, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
4
4
|
import { AXPWidgetsModule } from '@acorex/platform/layout/widgets';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { inject, Injectable, NgModule, viewChild, ElementRef, signal, computed, ChangeDetectionStrategy, Component, Injector, runInInjectionContext, input, ViewEncapsulation, InjectionToken, HostListener } from '@angular/core';
|
|
@@ -25,8 +25,7 @@ import { AXP_PERMISSION_DEFINITION_PROVIDER, AXPSessionService } from '@acorex/p
|
|
|
25
25
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
26
26
|
import * as i1$4 from '@acorex/components/decorators';
|
|
27
27
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
28
|
-
import
|
|
29
|
-
import { AXPCompareViewComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
|
|
28
|
+
import { AXPCompareViewComponent } from '@acorex/platform/layout/components';
|
|
30
29
|
import { AXPopupService } from '@acorex/components/popup';
|
|
31
30
|
import { get, set } from 'lodash-es';
|
|
32
31
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
@@ -219,23 +218,26 @@ const AXPWidgetsList = {
|
|
|
219
218
|
// },
|
|
220
219
|
};
|
|
221
220
|
|
|
221
|
+
const DEFAULT_ARCHIVE_FIELD_NAME = 'isArchived';
|
|
222
|
+
//#endregion
|
|
222
223
|
const archivePlugin = {
|
|
223
224
|
name: 'archive',
|
|
224
225
|
order: 65,
|
|
225
|
-
apply: (ctx) => {
|
|
226
|
+
apply: (ctx, options) => {
|
|
226
227
|
ensureListActions(ctx);
|
|
227
|
-
|
|
228
|
+
const fieldName = options?.fieldName ?? DEFAULT_ARCHIVE_FIELD_NAME;
|
|
229
|
+
//#region ---- Add Archive Field Property ----
|
|
228
230
|
// Ensure settings group exists
|
|
229
231
|
const groupId = 'settings';
|
|
230
232
|
const groups = ctx.groups.list() ?? [];
|
|
231
233
|
if (!groups.some((g) => g.id === groupId)) {
|
|
232
234
|
ctx.groups.add({ id: groupId, title: '@general:terms.interface.settings' });
|
|
233
235
|
}
|
|
234
|
-
// Add
|
|
236
|
+
// Add archive property if it doesn't exist
|
|
235
237
|
const props = ctx.properties.list();
|
|
236
|
-
if (!props.some((p) => p.name ===
|
|
238
|
+
if (!props.some((p) => p.name === fieldName)) {
|
|
237
239
|
ctx.properties.add({
|
|
238
|
-
name:
|
|
240
|
+
name: fieldName,
|
|
239
241
|
title: '@general:terms.status.states.is-archived',
|
|
240
242
|
groupId,
|
|
241
243
|
schema: {
|
|
@@ -262,11 +264,11 @@ const archivePlugin = {
|
|
|
262
264
|
}
|
|
263
265
|
});
|
|
264
266
|
}
|
|
265
|
-
// Add
|
|
267
|
+
// Add archive field to columns for list view
|
|
266
268
|
const columns = ctx.columns.list() ?? [];
|
|
267
|
-
if (!columns.some((c) => c.name ===
|
|
269
|
+
if (!columns.some((c) => c.name === fieldName)) {
|
|
268
270
|
ctx.columns.add({
|
|
269
|
-
name:
|
|
271
|
+
name: fieldName,
|
|
270
272
|
title: '@general:terms.status.states.is-active',
|
|
271
273
|
width: 100,
|
|
272
274
|
sortable: true,
|
|
@@ -295,7 +297,7 @@ const archivePlugin = {
|
|
|
295
297
|
priority: 'secondary',
|
|
296
298
|
type: 'archive',
|
|
297
299
|
scope: AXPEntityCommandScope.Individual,
|
|
298
|
-
hidden: `{{ context.eval("
|
|
300
|
+
hidden: `{{ context.eval("${fieldName}") }}`,
|
|
299
301
|
});
|
|
300
302
|
}
|
|
301
303
|
// Add restore archive action to list view
|
|
@@ -312,7 +314,7 @@ const archivePlugin = {
|
|
|
312
314
|
priority: 'secondary',
|
|
313
315
|
type: 'update',
|
|
314
316
|
scope: AXPEntityCommandScope.Individual,
|
|
315
|
-
hidden: `{{ !context.eval("
|
|
317
|
+
hidden: `{{ !context.eval("${fieldName}") }}`,
|
|
316
318
|
});
|
|
317
319
|
}
|
|
318
320
|
// Add bulk archive action to list view
|
|
@@ -360,7 +362,7 @@ const archivePlugin = {
|
|
|
360
362
|
priority: 'secondary',
|
|
361
363
|
type: 'archive',
|
|
362
364
|
scope: AXPEntityCommandScope.Individual,
|
|
363
|
-
hidden: `{{ context.eval("
|
|
365
|
+
hidden: `{{ context.eval("${fieldName}") }}`,
|
|
364
366
|
});
|
|
365
367
|
}
|
|
366
368
|
// Add restore archive action to single view
|
|
@@ -377,7 +379,7 @@ const archivePlugin = {
|
|
|
377
379
|
priority: 'secondary',
|
|
378
380
|
type: 'update',
|
|
379
381
|
scope: AXPEntityCommandScope.Individual,
|
|
380
|
-
hidden: `{{ !context.eval("
|
|
382
|
+
hidden: `{{ !context.eval("${fieldName}") }}`,
|
|
381
383
|
});
|
|
382
384
|
}
|
|
383
385
|
return i;
|
|
@@ -393,7 +395,7 @@ const archivePlugin = {
|
|
|
393
395
|
next.views.push(createQueryView('archived', '@general:terms.status.states.is-archived', false, {
|
|
394
396
|
conditions: [
|
|
395
397
|
{
|
|
396
|
-
name:
|
|
398
|
+
name: fieldName,
|
|
397
399
|
operator: { type: 'equal' },
|
|
398
400
|
value: true,
|
|
399
401
|
hidden: true
|
|
@@ -1406,7 +1408,7 @@ class AXPAuditInfoColumnComponent extends AXPColumnWidgetComponent {
|
|
|
1406
1408
|
});
|
|
1407
1409
|
}
|
|
1408
1410
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPAuditInfoColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1409
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AXPAuditInfoColumnComponent, isStandalone: true, selector: "axp-audit-info-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, viewQueries: [{ propertyName: "infoButton", first: true, predicate: ["infoButton"], descendants: true, isSignal: true }, { propertyName: "infoPopover", first: true, predicate: ["infoPopover"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-center ax-gap-1.5\">\n @if (hasAuditInfo()) {\n <div class=\"ax-flex ax-items-center ax-gap-1.5 ax-cursor-pointer hover:ax-opacity-80 ax-transition-opacity\"\n (click)=\"showInfo()\" [title]=\"displayText()\" #infoButton>\n <i class=\"fa-light fa-calendar-circle-exclamation\"></i>\n <span class=\"ax-text-xs \" [dir]=\"'ltr'\">{{ displayDate() }}</span>\n </div>\n } @else {\n <span class=\"ax-text-muted\">---</span>\n }\n</div>\n\n<!-- Audit Info Popover -->\n<ax-popover [openOn]=\"'manual'\" #infoPopover (openChange)=\"onPopoverOpenChange($event)\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-3 ax-min-w-[280px]\">\n <div class=\"ax-mb-3 ax-pb-2 ax-border-b\">\n <h3 class=\"ax-text-sm ax-font-semibold\">\n {{ '@general:terms.audit.section-title' | translate | async }}\n </h3>\n </div>\n <div class=\"ax-space-y-2.5\">\n <!-- Created -->\n @if (createdEvent()) {\n <div>\n <div class=\"ax-text-xs ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.created' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (createdEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(createdEvent()?.at) }}</span>\n @if (createdEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(createdEvent()?.by) }}</span>\n }\n </div>\n }\n @if (createdEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ createdEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n\n <!-- Updated -->\n @if (updatedEvent()) {\n <div>\n <div class=\"ax-text-xs ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.updated' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (updatedEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(updatedEvent()?.at) }}</span>\n @if (updatedEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(updatedEvent()?.by) }}</span>\n }\n </div>\n }\n @if (updatedEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ updatedEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n\n <!-- Deleted -->\n @if (deletedEvent()) {\n <div>\n <div class=\"ax-text-xs ax-text-muted ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.deleted' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (deletedEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(deletedEvent()?.at) }}</span>\n @if (deletedEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(deletedEvent()?.by) }}</span>\n }\n </div>\n }\n @if (deletedEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ deletedEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n </div>\n @if (hasHistoryPlugin()) {\n <div class=\"ax-mt-3 ax-pt-3 ax-border-t ax-sm\">\n <ax-button [text]=\"'@general:terms.audit.history' | translate | async\" (click)=\"showHistory()\" class=\"ax-w-full\">\n </ax-button>\n </div>\n }\n </div>\n</ax-popover>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i2.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "
|
|
1411
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AXPAuditInfoColumnComponent, isStandalone: true, selector: "axp-audit-info-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, viewQueries: [{ propertyName: "infoButton", first: true, predicate: ["infoButton"], descendants: true, isSignal: true }, { propertyName: "infoPopover", first: true, predicate: ["infoPopover"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-center ax-gap-1.5\">\n @if (hasAuditInfo()) {\n <div class=\"ax-flex ax-items-center ax-gap-1.5 ax-cursor-pointer hover:ax-opacity-80 ax-transition-opacity\"\n (click)=\"showInfo()\" [title]=\"displayText()\" #infoButton>\n <i class=\"fa-light fa-calendar-circle-exclamation\"></i>\n <span class=\"ax-text-xs \" [dir]=\"'ltr'\">{{ displayDate() }}</span>\n </div>\n } @else {\n <span class=\"ax-text-muted\">---</span>\n }\n</div>\n\n<!-- Audit Info Popover -->\n<ax-popover [openOn]=\"'manual'\" #infoPopover (openChange)=\"onPopoverOpenChange($event)\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-3 ax-min-w-[280px]\">\n <div class=\"ax-mb-3 ax-pb-2 ax-border-b\">\n <h3 class=\"ax-text-sm ax-font-semibold\">\n {{ '@general:terms.audit.section-title' | translate | async }}\n </h3>\n </div>\n <div class=\"ax-space-y-2.5\">\n <!-- Created -->\n @if (createdEvent()) {\n <div>\n <div class=\"ax-text-xs ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.created' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (createdEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(createdEvent()?.at) }}</span>\n @if (createdEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(createdEvent()?.by) }}</span>\n }\n </div>\n }\n @if (createdEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ createdEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n\n <!-- Updated -->\n @if (updatedEvent()) {\n <div>\n <div class=\"ax-text-xs ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.updated' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (updatedEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(updatedEvent()?.at) }}</span>\n @if (updatedEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(updatedEvent()?.by) }}</span>\n }\n </div>\n }\n @if (updatedEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ updatedEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n\n <!-- Deleted -->\n @if (deletedEvent()) {\n <div>\n <div class=\"ax-text-xs ax-text-muted ax-mb-1 ax-font-semibold\">\n {{ '@general:terms.audit.deleted' | translate | async }}\n </div>\n <div class=\"ax-text-xs ax-space-y-0.5\">\n @if (deletedEvent()?.at) {\n <div>\n <span [dir]=\"'ltr'\">{{ formatDate(deletedEvent()?.at) }}</span>\n @if (deletedEvent()?.by) {\n <span class=\"ax-text-muted\"> \u2022 {{ formatUser(deletedEvent()?.by) }}</span>\n }\n </div>\n }\n @if (deletedEvent()?.reason) {\n <div class=\"ax-text-muted\">{{ deletedEvent()?.reason }}</div>\n }\n </div>\n </div>\n }\n </div>\n @if (hasHistoryPlugin()) {\n <div class=\"ax-mt-3 ax-pt-3 ax-border-t ax-sm\">\n <ax-button [text]=\"'@general:terms.audit.history' | translate | async\" (click)=\"showHistory()\" class=\"ax-w-full\">\n </ax-button>\n </div>\n }\n </div>\n</ax-popover>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i2.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "repositionOnScroll", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1410
1412
|
}
|
|
1411
1413
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPAuditInfoColumnComponent, decorators: [{
|
|
1412
1414
|
type: Component,
|
|
@@ -1738,7 +1740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1738
1740
|
const categoryPlugin = {
|
|
1739
1741
|
name: 'category',
|
|
1740
1742
|
order: 45,
|
|
1741
|
-
apply: (ctx, options) => {
|
|
1743
|
+
apply: async (ctx, options) => {
|
|
1742
1744
|
const moduleName = ctx.entity.module;
|
|
1743
1745
|
const baseEntityName = ctx.entity.name;
|
|
1744
1746
|
const defaultCategoryEntityName = `${baseEntityName}Category`;
|
|
@@ -1755,7 +1757,15 @@ const categoryPlugin = {
|
|
|
1755
1757
|
if (!groups.some((g) => g.id === groupId)) {
|
|
1756
1758
|
ctx.groups.add({ id: groupId, title: '@general:terms.interface.classification' });
|
|
1757
1759
|
}
|
|
1758
|
-
|
|
1760
|
+
const settings = inject(AXPSettingsService);
|
|
1761
|
+
const showCategoryColumnsByDefault = (await settings.get(AXPCommonSettings.ShowCategoryColumnsByDefault)) !== false;
|
|
1762
|
+
ctx.columns.add({
|
|
1763
|
+
name: propertyName,
|
|
1764
|
+
options: {
|
|
1765
|
+
dataPath: 'categories',
|
|
1766
|
+
visible: showCategoryColumnsByDefault,
|
|
1767
|
+
},
|
|
1768
|
+
});
|
|
1759
1769
|
// Ensure property exists
|
|
1760
1770
|
const props = ctx.properties.list();
|
|
1761
1771
|
if (!props.some((p) => p.name === propertyName)) {
|
|
@@ -1834,6 +1844,11 @@ class AXMEntityCategoryProvider {
|
|
|
1834
1844
|
async get(moduleName, entityName) {
|
|
1835
1845
|
// Generic per-entity Category provider (works for any module)
|
|
1836
1846
|
if (entityName.endsWith('Category')) {
|
|
1847
|
+
// Prefer custom entity definition: if another loader provides this category entity, skip generation
|
|
1848
|
+
const customEntity = await this.tryOtherLoaders(moduleName, entityName);
|
|
1849
|
+
if (customEntity) {
|
|
1850
|
+
return null;
|
|
1851
|
+
}
|
|
1837
1852
|
const fullKey = `${moduleName}.${entityName}`;
|
|
1838
1853
|
const dataService = runInInjectionContext(this.injector, () => new AXMEntityCrudServiceImpl(fullKey));
|
|
1839
1854
|
// Check if base entity has appearance enabled using lazy injection
|
|
@@ -2066,6 +2081,28 @@ class AXMEntityCategoryProvider {
|
|
|
2066
2081
|
}
|
|
2067
2082
|
return null;
|
|
2068
2083
|
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Asks other entity loaders (excluding this provider) if they provide the given category entity.
|
|
2086
|
+
* If a custom entity file exists for this key, that loader will return it and we skip generating.
|
|
2087
|
+
*/
|
|
2088
|
+
async tryOtherLoaders(moduleName, entityName) {
|
|
2089
|
+
try {
|
|
2090
|
+
const raw = runInInjectionContext(this.injector, () => inject(AXP_ENTITY_DEFINITION_LOADER));
|
|
2091
|
+
const arr = Array.isArray(raw) ? raw : raw ? [raw] : [];
|
|
2092
|
+
for (const p of arr) {
|
|
2093
|
+
const loader = p instanceof Promise ? await p : p;
|
|
2094
|
+
if (loader === this)
|
|
2095
|
+
continue;
|
|
2096
|
+
const entity = await loader.get(moduleName, entityName);
|
|
2097
|
+
if (entity)
|
|
2098
|
+
return entity;
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
catch {
|
|
2102
|
+
// Loaders not available (e.g. circular context), proceed with generation
|
|
2103
|
+
}
|
|
2104
|
+
return null;
|
|
2105
|
+
}
|
|
2069
2106
|
async list() {
|
|
2070
2107
|
return Promise.resolve([]);
|
|
2071
2108
|
}
|
|
@@ -3121,23 +3158,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3121
3158
|
}]
|
|
3122
3159
|
}] });
|
|
3123
3160
|
|
|
3161
|
+
const DEFAULT_DISABLE_FIELD_NAME = 'isDisabled';
|
|
3162
|
+
//#endregion
|
|
3124
3163
|
const disablePlugin = {
|
|
3125
3164
|
name: 'disable',
|
|
3126
3165
|
order: 70,
|
|
3127
|
-
apply: (ctx) => {
|
|
3166
|
+
apply: (ctx, options) => {
|
|
3128
3167
|
ensureListActions(ctx);
|
|
3129
|
-
|
|
3168
|
+
const fieldName = options?.fieldName ?? DEFAULT_DISABLE_FIELD_NAME;
|
|
3169
|
+
//#region ---- Add Disable Field Property ----
|
|
3130
3170
|
// Ensure settings group exists
|
|
3131
3171
|
const groupId = 'settings';
|
|
3132
3172
|
const groups = ctx.groups.list() ?? [];
|
|
3133
3173
|
if (!groups.some((g) => g.id === groupId)) {
|
|
3134
3174
|
ctx.groups.add({ id: groupId, title: '@general:terms.interface.settings' });
|
|
3135
3175
|
}
|
|
3136
|
-
// Add
|
|
3176
|
+
// Add disable field property if it doesn't exist
|
|
3137
3177
|
const props = ctx.properties.list();
|
|
3138
|
-
if (!props.some((p) => p.name ===
|
|
3178
|
+
if (!props.some((p) => p.name === fieldName)) {
|
|
3139
3179
|
ctx.properties.add({
|
|
3140
|
-
name:
|
|
3180
|
+
name: fieldName,
|
|
3141
3181
|
title: '@general:terms.status.states.is-disabled',
|
|
3142
3182
|
groupId,
|
|
3143
3183
|
schema: {
|
|
@@ -3166,11 +3206,11 @@ const disablePlugin = {
|
|
|
3166
3206
|
},
|
|
3167
3207
|
});
|
|
3168
3208
|
}
|
|
3169
|
-
// Add
|
|
3209
|
+
// Add disable field to columns for list view
|
|
3170
3210
|
const columns = ctx.columns.list() ?? [];
|
|
3171
|
-
if (!columns.some((c) => c.name ===
|
|
3211
|
+
if (!columns.some((c) => c.name === fieldName)) {
|
|
3172
3212
|
ctx.columns.add({
|
|
3173
|
-
name:
|
|
3213
|
+
name: fieldName,
|
|
3174
3214
|
title: '@general:terms.status.states.is-enabled',
|
|
3175
3215
|
width: 100,
|
|
3176
3216
|
sortable: true,
|
|
@@ -3200,7 +3240,7 @@ const disablePlugin = {
|
|
|
3200
3240
|
type: 'disable',
|
|
3201
3241
|
icon: 'fa-light fa-ban',
|
|
3202
3242
|
scope: AXPEntityCommandScope.Individual,
|
|
3203
|
-
hidden: `{{ context.eval("
|
|
3243
|
+
hidden: `{{ context.eval("${fieldName}") }}`,
|
|
3204
3244
|
});
|
|
3205
3245
|
}
|
|
3206
3246
|
// Add enable action to list view
|
|
@@ -3218,7 +3258,7 @@ const disablePlugin = {
|
|
|
3218
3258
|
type: 'enable',
|
|
3219
3259
|
icon: 'fa-light fa-check',
|
|
3220
3260
|
scope: AXPEntityCommandScope.Individual,
|
|
3221
|
-
hidden: `{{ !context.eval("
|
|
3261
|
+
hidden: `{{ !context.eval("${fieldName}") }}`,
|
|
3222
3262
|
});
|
|
3223
3263
|
}
|
|
3224
3264
|
// Add bulk disable action to list view
|
|
@@ -3269,7 +3309,7 @@ const disablePlugin = {
|
|
|
3269
3309
|
type: 'disable',
|
|
3270
3310
|
icon: 'fa-light fa-ban',
|
|
3271
3311
|
scope: AXPEntityCommandScope.Individual,
|
|
3272
|
-
hidden: `{{ context.eval("
|
|
3312
|
+
hidden: `{{ context.eval("${fieldName}") }}`,
|
|
3273
3313
|
});
|
|
3274
3314
|
}
|
|
3275
3315
|
// Add enable action to single view
|
|
@@ -3287,7 +3327,7 @@ const disablePlugin = {
|
|
|
3287
3327
|
type: 'enable',
|
|
3288
3328
|
icon: 'fa-light fa-check',
|
|
3289
3329
|
scope: AXPEntityCommandScope.Individual,
|
|
3290
|
-
hidden: `{{ !context.eval("
|
|
3330
|
+
hidden: `{{ !context.eval("${fieldName}") }}`,
|
|
3291
3331
|
});
|
|
3292
3332
|
}
|
|
3293
3333
|
return i;
|
|
@@ -3304,9 +3344,9 @@ const disablePlugin = {
|
|
|
3304
3344
|
if (!sections.some((s) => s.id === groupId)) {
|
|
3305
3345
|
sections.push({ id: groupId, order: 150 });
|
|
3306
3346
|
}
|
|
3307
|
-
if (!properties.some((p) => p.name ===
|
|
3347
|
+
if (!properties.some((p) => p.name === fieldName)) {
|
|
3308
3348
|
properties.push({
|
|
3309
|
-
name:
|
|
3349
|
+
name: fieldName,
|
|
3310
3350
|
layout: {
|
|
3311
3351
|
positions: { lg: { colSpan: 6, order: 95 } },
|
|
3312
3352
|
},
|
|
@@ -3337,7 +3377,7 @@ const disablePlugin = {
|
|
|
3337
3377
|
next.views.push(createQueryView('disabled', '@general:terms.status.states.is-disabled', false, {
|
|
3338
3378
|
conditions: [
|
|
3339
3379
|
{
|
|
3340
|
-
name:
|
|
3380
|
+
name: fieldName,
|
|
3341
3381
|
operator: { type: 'equal' },
|
|
3342
3382
|
value: true,
|
|
3343
3383
|
hidden: true,
|
|
@@ -4227,7 +4267,7 @@ class AXPGlobalSearchModule {
|
|
|
4227
4267
|
constructor(appInitService, injector) {
|
|
4228
4268
|
}
|
|
4229
4269
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPGlobalSearchModule, deps: [{ token: i1$5.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4230
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXPGlobalSearchModule, imports: [
|
|
4270
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXPGlobalSearchModule, imports: [i1$5.AXPComponentSlotModule, i1.AXPWorkflowModule] }); }
|
|
4231
4271
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPGlobalSearchModule, providers: [
|
|
4232
4272
|
{
|
|
4233
4273
|
provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
|
|
@@ -6148,6 +6188,7 @@ const AXPCommonMenuKeys = {
|
|
|
6148
6188
|
Administration: 'Common:Menu:Administration',
|
|
6149
6189
|
Help: 'Common:Menu:Help',
|
|
6150
6190
|
Configuration: 'Common:Menu:Configuration',
|
|
6191
|
+
Contacts: 'Common:Menu:Contacts',
|
|
6151
6192
|
};
|
|
6152
6193
|
|
|
6153
6194
|
class AXMMenuProvider {
|