@acorex/modules 21.0.0-next.75 → 21.0.0-next.76
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/fesm2022/{acorex-modules-ai-management-model.entity-DiDaXVa3.mjs → acorex-modules-ai-management-index-1AKm3Wpv.mjs} +4 -7
- package/fesm2022/acorex-modules-ai-management-index-1AKm3Wpv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs → acorex-modules-ai-management-index-D-oYCWiP.mjs} +2 -5
- package/fesm2022/acorex-modules-ai-management-index-D-oYCWiP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-CeALRRoV.mjs → acorex-modules-ai-management-index-IOX4YfSO.mjs} +2 -5
- package/fesm2022/acorex-modules-ai-management-index-IOX4YfSO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs → acorex-modules-ai-management-index-KMGY_nWq.mjs} +2 -5
- package/fesm2022/acorex-modules-ai-management-index-KMGY_nWq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-3ZBa5t2D.mjs → acorex-modules-ai-management-index-r6kkpdsP.mjs} +2 -5
- package/fesm2022/acorex-modules-ai-management-index-r6kkpdsP.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management.mjs +92 -92
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-application-management-application-status.provider-CGRoY79H.mjs → acorex-modules-application-management-application-status.provider-BmTGAssq.mjs} +2 -2
- package/fesm2022/acorex-modules-application-management-application-status.provider-BmTGAssq.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management-permission-definition.provider-DEO50hd3.mjs.map +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +1143 -1146
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-yboYQ8I-.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-CLXKpUoU.mjs} +85 -86
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CLXKpUoU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case-status.provider-B9sQAPwy.mjs → acorex-modules-assessment-management-assessment-case-status.provider-rAq2m3xt.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-case-status.provider-rAq2m3xt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-UCYBAHLk.mjs → acorex-modules-assessment-management-assessment-session-answers-view.util-DECCIZSO.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-DECCIZSO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-status.provider-Lee6Cwg8.mjs → acorex-modules-assessment-management-assessment-session-status.provider-B-0MdMq1.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-session-status.provider-B-0MdMq1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-VivCLw2H.mjs → acorex-modules-assessment-management-fill-assessment-session.command-pLGZAFqT.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-pLGZAFqT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-Bp_dS1Js.mjs → acorex-modules-assessment-management-index-Cj5KtvVT.mjs} +6 -8
- package/fesm2022/acorex-modules-assessment-management-index-Cj5KtvVT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-BbyNZvoc.mjs → acorex-modules-assessment-management-index-ClRMor3R.mjs} +8 -10
- package/fesm2022/acorex-modules-assessment-management-index-ClRMor3R.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-Sj-5woTX.mjs → acorex-modules-assessment-management-index-DDhc6vR7.mjs} +7 -9
- package/fesm2022/acorex-modules-assessment-management-index-DDhc6vR7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BBWeshSs.mjs → acorex-modules-assessment-management-index-VYBOM8GR.mjs} +6 -9
- package/fesm2022/acorex-modules-assessment-management-index-VYBOM8GR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-CKF4BjCx.mjs → acorex-modules-assessment-management-preview-question.command-Bgqajt80.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-Bgqajt80.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-B_2o4jC2.mjs → acorex-modules-assessment-management-preview-questionnaire.command-B84qnNRw.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-B84qnNRw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-s8KcR3D0.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CyZGi_Zx.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CyZGi_Zx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-ClvQ18w6.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-CRQjv1Vz.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-CRQjv1Vz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-B2QViI9d.mjs → acorex-modules-assessment-management-review-assessment-session.command-Dgaf88SW.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-review-assessment-session.command-Dgaf88SW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CWdBtkn1.mjs → acorex-modules-assessment-management-view-session-answers.command-CocxFTxZ.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-CocxFTxZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs → acorex-modules-asset-management-asset-rental-history-status.provider-_iNFw6nf.mjs} +4 -13
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-_iNFw6nf.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-ufjDJ-0D.mjs → acorex-modules-asset-management-index-BE9Pt9Yl.mjs} +4 -7
- package/fesm2022/acorex-modules-asset-management-index-BE9Pt9Yl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-C6tA_OBh.mjs → acorex-modules-asset-management-index-BGnVFHyV.mjs} +4 -7
- package/fesm2022/acorex-modules-asset-management-index-BGnVFHyV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-D1HwzXL_.mjs → acorex-modules-asset-management-index-BNW-nI4M.mjs} +7 -12
- package/fesm2022/acorex-modules-asset-management-index-BNW-nI4M.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-0Fy7wSBh.mjs → acorex-modules-asset-management-index-BQRNWXnd.mjs} +4 -7
- package/fesm2022/acorex-modules-asset-management-index-BQRNWXnd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-OsuWeo2l.mjs → acorex-modules-asset-management-index-BmydXxB7.mjs} +4 -7
- package/fesm2022/acorex-modules-asset-management-index-BmydXxB7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-rental-history.entity-D7g3TSrr.mjs → acorex-modules-asset-management-index-Bza8Y2Qq.mjs} +6 -10
- package/fesm2022/acorex-modules-asset-management-index-Bza8Y2Qq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-Cjy7Xetu.mjs → acorex-modules-asset-management-index-CBoHnVCB.mjs} +5 -9
- package/fesm2022/acorex-modules-asset-management-index-CBoHnVCB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-DbeerQdD.mjs → acorex-modules-asset-management-index-DDyvfemO.mjs} +4 -7
- package/fesm2022/acorex-modules-asset-management-index-DDyvfemO.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +134 -119
- package/fesm2022/acorex-modules-asset-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CUpNfm_0.mjs → acorex-modules-auth-acorex-modules-auth-DBZfh3pH.mjs} +130 -129
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DBZfh3pH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DLtnhyB9.mjs → acorex-modules-auth-app-chooser.component-DN75LxY3.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DLtnhyB9.mjs.map → acorex-modules-auth-app-chooser.component-DN75LxY3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-change-password.command-DcGeenns.mjs → acorex-modules-auth-change-password.command-DDH7PMLT.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-change-password.command-DcGeenns.mjs.map → acorex-modules-auth-change-password.command-DDH7PMLT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-edit-account-info.command-BnPtwAxA.mjs → acorex-modules-auth-edit-account-info.command-BtzrBEGu.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-edit-account-info.command-BnPtwAxA.mjs.map → acorex-modules-auth-edit-account-info.command-BtzrBEGu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-lock-screen.command-Dh0Sgo3_.mjs → acorex-modules-auth-lock-screen.command-BIiErYnc.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-lock-screen.command-Dh0Sgo3_.mjs.map → acorex-modules-auth-lock-screen.command-BIiErYnc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-C8psUPfq.mjs → acorex-modules-auth-login.module-CM6a_pvB.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-C8psUPfq.mjs.map → acorex-modules-auth-login.module-CM6a_pvB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-KMxMqtt8.mjs → acorex-modules-auth-master.layout-D9al7lUX.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-KMxMqtt8.mjs.map → acorex-modules-auth-master.layout-D9al7lUX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BF_3fuuz.mjs → acorex-modules-auth-oauth-callback.component-CndekwOM.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BF_3fuuz.mjs.map → acorex-modules-auth-oauth-callback.component-CndekwOM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-open-sessions.command-vxmxqvOa.mjs → acorex-modules-auth-open-sessions.command-Bgk9TcH-.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-open-sessions.command-vxmxqvOa.mjs.map → acorex-modules-auth-open-sessions.command-Bgk9TcH-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BOoUt4Gn.mjs → acorex-modules-auth-password.component-BWEq8tpz.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BOoUt4Gn.mjs.map → acorex-modules-auth-password.component-BWEq8tpz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Cpjc_S82.mjs → acorex-modules-auth-password.component-Z980dxkh.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Cpjc_S82.mjs.map → acorex-modules-auth-password.component-Z980dxkh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-DfWYy7TN.mjs → acorex-modules-auth-profile-activity-chart.component-8uSUOk9s.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-DfWYy7TN.mjs.map → acorex-modules-auth-profile-activity-chart.component-8uSUOk9s.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-DJcIyOxg.mjs → acorex-modules-auth-profile-delete-account-danger-zone.component-C-zoKWsQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-DJcIyOxg.mjs.map → acorex-modules-auth-profile-delete-account-danger-zone.component-C-zoKWsQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-page-component.provider-DR2-c0_6.mjs → acorex-modules-auth-profile-page-component.provider-BoGC3tKI.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-profile-page-component.provider-DR2-c0_6.mjs.map → acorex-modules-auth-profile-page-component.provider-BoGC3tKI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-page.component-ChsI9B3Y.mjs → acorex-modules-auth-profile-page.component-B-qdKgOT.mjs} +11 -6
- package/fesm2022/acorex-modules-auth-profile-page.component-B-qdKgOT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-remove-pin-code.command-LFwvvyZ9.mjs → acorex-modules-auth-remove-pin-code.command-DnYc0CYG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-remove-pin-code.command-LFwvvyZ9.mjs.map → acorex-modules-auth-remove-pin-code.command-DnYc0CYG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CuY_v2GN.mjs → acorex-modules-auth-routes-Cg0xipUZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CuY_v2GN.mjs.map → acorex-modules-auth-routes-Cg0xipUZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-CwNAumIp.mjs → acorex-modules-auth-session-lock-overlay.component-BkpYhoVc.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-CwNAumIp.mjs.map → acorex-modules-auth-session-lock-overlay.component-BkpYhoVc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-set-pin-code.command-CfIHBTiI.mjs → acorex-modules-auth-set-pin-code.command-9DY-hUvp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-set-pin-code.command-CfIHBTiI.mjs.map → acorex-modules-auth-set-pin-code.command-9DY-hUvp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-set-pin-code.component-CNZE8NXL.mjs → acorex-modules-auth-set-pin-code.component-QhO37PUy.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-set-pin-code.component-CNZE8NXL.mjs.map → acorex-modules-auth-set-pin-code.component-QhO37PUy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-settings.provider-BMc1yFRY.mjs → acorex-modules-auth-settings.provider-DhaMQd28.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-settings.provider-BMc1yFRY.mjs.map → acorex-modules-auth-settings.provider-DhaMQd28.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-OsTNt9lp.mjs → acorex-modules-auth-tenant-chooser.component-Hy_FsSVy.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-OsTNt9lp.mjs.map → acorex-modules-auth-tenant-chooser.component-Hy_FsSVy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-CcKZ6dpb.mjs → acorex-modules-auth-two-factor.module-l0zICZtk.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-CcKZ6dpb.mjs.map → acorex-modules-auth-two-factor.module-l0zICZtk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-view-login-history.command-Crx7Dw2t.mjs → acorex-modules-auth-view-login-history.command-o2IzCKbr.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-view-login-history.command-Crx7Dw2t.mjs.map → acorex-modules-auth-view-login-history.command-o2IzCKbr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs +993 -313
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-calendar-management-index-DIxSknUT.mjs +6 -0
- package/fesm2022/acorex-modules-calendar-management-index-DIxSknUT.mjs.map +1 -0
- package/fesm2022/acorex-modules-calendar-management-index-pvTUhYWL.mjs +6 -0
- package/fesm2022/acorex-modules-calendar-management-index-pvTUhYWL.mjs.map +1 -0
- package/fesm2022/acorex-modules-calendar-management-index-xkdBRrFw.mjs +6 -0
- package/fesm2022/acorex-modules-calendar-management-index-xkdBRrFw.mjs.map +1 -0
- package/fesm2022/acorex-modules-calendar-management.mjs +57 -73
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +136 -240
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-D9-WvwGJ.mjs +425 -0
- package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-D9-WvwGJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core-entity.provider-Cl4zx8WX.mjs +35 -0
- package/fesm2022/acorex-modules-contact-core-entity.provider-Cl4zx8WX.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core-menu.provider-DfUbrqFh.mjs +57 -0
- package/fesm2022/acorex-modules-contact-core-menu.provider-DfUbrqFh.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core-permission-definition.provider-Dni6YOWm.mjs +24 -0
- package/fesm2022/acorex-modules-contact-core-permission-definition.provider-Dni6YOWm.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core.mjs +2 -0
- package/fesm2022/acorex-modules-contact-core.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-acorex-modules-content-management-B5zqb3b_.mjs → acorex-modules-content-management-acorex-modules-content-management-DSdJ2hZ-.mjs} +58 -138
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-DSdJ2hZ-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-DxI6NmP4.mjs → acorex-modules-content-management-permission-definition.provider-DRVW7Xxa.mjs} +2 -2
- package/fesm2022/acorex-modules-content-management-permission-definition.provider-DRVW7Xxa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-ChmkpMy9.mjs → acorex-modules-content-management-template-content-editor-widget-edit.component-DwUqz7ZX.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-ChmkpMy9.mjs.map → acorex-modules-content-management-template-content-editor-widget-edit.component-DwUqz7ZX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-LyoQmopL.mjs → acorex-modules-content-management-template-content-editor-widget-view.component-CnUc_fhC.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-LyoQmopL.mjs.map → acorex-modules-content-management-template-content-editor-widget-view.component-CnUc_fhC.mjs.map} +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-lPw23AJc.mjs → acorex-modules-conversation-acorex-modules-conversation-DtFH9LbP.mjs} +192 -191
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DtFH9LbP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-D0SGSQC8.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cpc1seYt.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-D0SGSQC8.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cpc1seYt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Bqeplzuy.mjs → acorex-modules-conversation-comments-page.component-B1CmPB0U.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Bqeplzuy.mjs.map → acorex-modules-conversation-comments-page.component-B1CmPB0U.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CFwkUHCc.mjs → acorex-modules-conversation-send-assist-chat-message.command-BFFF5GTX.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CFwkUHCc.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-BFFF5GTX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-aEOnD6ax.mjs → acorex-modules-conversation-start-assist-chat.command-C-KVIK-L.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-aEOnD6ax.mjs.map → acorex-modules-conversation-start-assist-chat.command-C-KVIK-L.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/{acorex-modules-customer-management-lead.entity-CH7iga2T.mjs → acorex-modules-customer-management-index-7teVSkdT.mjs} +2 -5
- package/fesm2022/acorex-modules-customer-management-index-7teVSkdT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-gXGyRjOR.mjs → acorex-modules-customer-management-index-B0wUbd2e.mjs} +2 -4
- package/fesm2022/acorex-modules-customer-management-index-B0wUbd2e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-customer.entity-Doc1f5gH.mjs → acorex-modules-customer-management-index-CQLsaDJ-.mjs} +3 -7
- package/fesm2022/acorex-modules-customer-management-index-CQLsaDJ-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BmDALoWz.mjs → acorex-modules-customer-management-index-CQWjFZ-D.mjs} +4 -7
- package/fesm2022/acorex-modules-customer-management-index-CQWjFZ-D.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-TN7eqaA1.mjs → acorex-modules-customer-management-index-DHaf2JAF.mjs} +2 -4
- package/fesm2022/acorex-modules-customer-management-index-DHaf2JAF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-activity.entity-BENCtWk0.mjs → acorex-modules-customer-management-index-Df-6hCzG.mjs} +2 -4
- package/fesm2022/acorex-modules-customer-management-index-Df-6hCzG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-BX1vocD3.mjs → acorex-modules-customer-management-index-DwPwxZI6.mjs} +3 -7
- package/fesm2022/acorex-modules-customer-management-index-DwPwxZI6.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management.mjs +42 -28
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2TrYnCW.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-d_3MEOVx.mjs} +49 -45
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-d_3MEOVx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-DAQNEq43.mjs → acorex-modules-dashboard-management-index-0npgb7TY.mjs} +2 -2
- package/fesm2022/acorex-modules-dashboard-management-index-0npgb7TY.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-data-management-contracts.mjs +351 -0
- package/fesm2022/acorex-modules-data-management-contracts.mjs.map +1 -0
- package/fesm2022/acorex-modules-data-management.mjs +903 -902
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +109 -75
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs.map +1 -1
- package/fesm2022/acorex-modules-financial-core.mjs +608 -625
- package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-CtTkFhXf.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +442 -30
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs +257 -0
- package/fesm2022/acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core.mjs +2408 -93
- package/fesm2022/acorex-modules-health-core.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-B8de7ifz.mjs → acorex-modules-help-desk-acorex-modules-help-desk-AWSV_TiH.mjs} +208 -204
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-AWSV_TiH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-O3qJdpnt.mjs → acorex-modules-help-desk-capture-screen.component-DjUG9lk7.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-O3qJdpnt.mjs.map → acorex-modules-help-desk-capture-screen.component-DjUG9lk7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ7fkZVA.mjs} +1694 -196
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ7fkZVA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-B0pyS4rY.mjs → acorex-modules-human-capital-management-approve-leave-request.command-8MwfTrgO.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-approve-leave-request.command-8MwfTrgO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-Dc0eoIAI.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-DJft6ua8.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-DJft6ua8.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-TjMXVKCB.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-r5zEA5Oa.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-cancel-leave-request.command-r5zEA5Oa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-uCNZW1KF.mjs → acorex-modules-human-capital-management-edit-personal-info.command-CTQywAzz.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-uCNZW1KF.mjs.map → acorex-modules-human-capital-management-edit-personal-info.command-CTQywAzz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-9psDoX-o.mjs → acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs → acorex-modules-human-capital-management-reject-leave-request.command-Ba2f-i0A.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-reject-leave-request.command-Ba2f-i0A.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-g9p7YKJ1.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-g9p7YKJ1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs → acorex-modules-human-capital-management-start-leave-request-flow.command-BPFrBjWG.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-BPFrBjWG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-C62jEjUD.mjs} +19 -7
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-C62jEjUD.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-identifier-management.mjs +11 -1
- package/fesm2022/acorex-modules-identifier-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-jira-management-index-BGnRJkkx.mjs +179 -0
- package/fesm2022/acorex-modules-jira-management-index-BGnRJkkx.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-BXgxorT1.mjs +155 -0
- package/fesm2022/acorex-modules-jira-management-index-BXgxorT1.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-Bw8ivjR_.mjs +177 -0
- package/fesm2022/acorex-modules-jira-management-index-Bw8ivjR_.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-CJNrjlaV.mjs +143 -0
- package/fesm2022/acorex-modules-jira-management-index-CJNrjlaV.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-CjgROlD2.mjs +399 -0
- package/fesm2022/acorex-modules-jira-management-index-CjgROlD2.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-D0vXHcrg.mjs +372 -0
- package/fesm2022/acorex-modules-jira-management-index-D0vXHcrg.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-D2wdvXoF.mjs +123 -0
- package/fesm2022/acorex-modules-jira-management-index-D2wdvXoF.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-DPRA7BCN.mjs +281 -0
- package/fesm2022/acorex-modules-jira-management-index-DPRA7BCN.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management-index-DpCX35Ob.mjs +222 -0
- package/fesm2022/acorex-modules-jira-management-index-DpCX35Ob.mjs.map +1 -0
- package/fesm2022/acorex-modules-jira-management.mjs +479 -0
- package/fesm2022/acorex-modules-jira-management.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training-definition.entity-DPY0OQdW.mjs → acorex-modules-learning-management-index-9Sessbgl.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-9Sessbgl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training-type.entity-Bt37GacX.mjs → acorex-modules-learning-management-index-B2ZI7U9N.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-B2ZI7U9N.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-certificate-definition.entity-DzRELZ1L.mjs → acorex-modules-learning-management-index-Cb6YmwUo.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-Cb6YmwUo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-attendance.entity-40THDVHu.mjs → acorex-modules-learning-management-index-CnBTaY0y.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-CnBTaY0y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-learning-path.entity-C-FcZefB.mjs → acorex-modules-learning-management-index-CnXPymvw.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-CnXPymvw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-mandatory-training-rule.entity-CxsoSJh-.mjs → acorex-modules-learning-management-index-CtfhNokr.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-CtfhNokr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training.entity-BkxK-rqz.mjs → acorex-modules-learning-management-index-D3O6qDpQ.mjs} +5 -8
- package/fesm2022/acorex-modules-learning-management-index-D3O6qDpQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-skill-level.entity-CnAgJyuR.mjs → acorex-modules-learning-management-index-D4Yh8EmO.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-D4Yh8EmO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-skill.entity-DmIjc2gw.mjs → acorex-modules-learning-management-index-DJ4H2IOW.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-DJ4H2IOW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-enrollment.entity-D4j7oSWb.mjs → acorex-modules-learning-management-index-DPb7aOIM.mjs} +5 -8
- package/fesm2022/acorex-modules-learning-management-index-DPb7aOIM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-course.entity-HoC-FUPB.mjs → acorex-modules-learning-management-index-Da29yyOM.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-Da29yyOM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-certificate.entity-DA882F-J.mjs → acorex-modules-learning-management-index-DdgLO2B8.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-DdgLO2B8.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-course-type.entity-DAc4cRbW.mjs → acorex-modules-learning-management-index-DnUv_C6e.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-DnUv_C6e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-learning-path-course.entity-B0DurZqy.mjs → acorex-modules-learning-management-index-Dxutf3MN.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-Dxutf3MN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-certificate-type.entity-Br35cJ-M.mjs → acorex-modules-learning-management-index-pWAVoZBF.mjs} +4 -7
- package/fesm2022/acorex-modules-learning-management-index-pWAVoZBF.mjs.map +1 -0
- package/fesm2022/acorex-modules-learning-management.mjs +153 -168
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management-contracts.mjs +77 -0
- package/fesm2022/acorex-modules-locale-management-contracts.mjs.map +1 -0
- package/fesm2022/acorex-modules-locale-management.mjs +62 -71
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +1207 -1208
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs → acorex-modules-maintenance-management-failure-register-status.provider-DM5m-VsU.mjs} +2 -2
- package/fesm2022/acorex-modules-maintenance-management-failure-register-status.provider-DM5m-VsU.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-BMsD_d6k.mjs.map +1 -1
- package/fesm2022/acorex-modules-maintenance-management-work-order-status.provider-BvnpsgY3.mjs +181 -0
- package/fesm2022/acorex-modules-maintenance-management-work-order-status.provider-BvnpsgY3.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management.mjs +899 -629
- package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-measurement-core.mjs +898 -914
- package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +278 -170
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-notification-management-acorex-modules-notification-management-ZgxwReDF.mjs → acorex-modules-notification-management-acorex-modules-notification-management-W0YINm5V.mjs} +583 -573
- package/fesm2022/acorex-modules-notification-management-acorex-modules-notification-management-W0YINm5V.mjs.map +1 -0
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-DlFbwB9o.mjs → acorex-modules-notification-management-notification-page.component-BAQGDRTj.mjs} +2 -2
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-DlFbwB9o.mjs.map → acorex-modules-notification-management-notification-page.component-BAQGDRTj.mjs.map} +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +1 -1
- package/fesm2022/{acorex-modules-order-management-bulk-buy-order-status.provider-CECieSZF.mjs → acorex-modules-order-management-bulk-buy-order-status.provider-C6HBZfQ_.mjs} +2 -2
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-status.provider-C6HBZfQ_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-entity.provider-ZaDnKtBk.mjs → acorex-modules-order-management-entity.provider-BVlBsDWW.mjs} +5 -5
- package/fesm2022/acorex-modules-order-management-entity.provider-BVlBsDWW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-member-order.entity-BItj1CLq.mjs → acorex-modules-order-management-index-BeIiBPSs.mjs} +3 -8
- package/fesm2022/acorex-modules-order-management-index-BeIiBPSs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-bulk-buy-order.entity-B9f4Tppc.mjs → acorex-modules-order-management-index-DUMuaQGE.mjs} +3 -8
- package/fesm2022/acorex-modules-order-management-index-DUMuaQGE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-bulk-buy-order-item.entity-DsXE-kqT.mjs → acorex-modules-order-management-index-Du2PsO2f.mjs} +5 -11
- package/fesm2022/acorex-modules-order-management-index-Du2PsO2f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-member-order-line.entity-BX3rQTJ1.mjs → acorex-modules-order-management-index-QHrmfhTE.mjs} +2 -6
- package/fesm2022/acorex-modules-order-management-index-QHrmfhTE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-member-order-status.provider-Bkrzylqm.mjs → acorex-modules-order-management-member-order-status.provider-CKIrQc_7.mjs} +2 -2
- package/fesm2022/acorex-modules-order-management-member-order-status.provider-CKIrQc_7.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-permission-definition.provider-B8ext6Sn.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-settings.provider-BFOghuIS.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management.mjs +54 -54
- package/fesm2022/acorex-modules-order-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BALTqTo-.mjs +4119 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BALTqTo-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BUOpdwIy.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-23eGqIxP.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-23eGqIxP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-CcoGv5J7.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-B4C1jxs3.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-B4C1jxs3.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-n9FYDyKE.mjs → acorex-modules-organization-management-add-team-to-business-unit.command-B5vh3rwS.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-B5vh3rwS.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-entity.provider-Dqn382Z2.mjs → acorex-modules-organization-management-entity.provider-3IL0cFTC.mjs} +15 -15
- package/fesm2022/acorex-modules-organization-management-entity.provider-3IL0cFTC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-C7VhASKJ.mjs → acorex-modules-organization-management-feature-definition.provider-DsSdRjcX.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-DsSdRjcX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-Bacrw4_J.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-BRovo6NC.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-BRovo6NC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-BJkc7c-G.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-CNtaaDfp.mjs} +3 -3
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-CNtaaDfp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-GuFiBC0r.mjs → acorex-modules-organization-management-job-definition-skills-page.component-D1ymUBeQ.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-D1ymUBeQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-CCvVPEVM.mjs → acorex-modules-organization-management-job-level.datasource-_6F_fvTn.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-_6F_fvTn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-menu.provider-BeCkTwia.mjs → acorex-modules-organization-management-menu.provider-Dt7bfM-4.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-menu.provider-Dt7bfM-4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-DDY2Cgu6.mjs → acorex-modules-organization-management-org-chart-default-node-contribution.provider-Cf789vAr.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-Cf789vAr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DbSxtEz6.mjs → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CL32hDBZ.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CL32hDBZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-ByqjxY2S.mjs → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-CpNTM-Ts.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-CpNTM-Ts.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DdyF5QS0.mjs → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-D-qPXdfm.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-D-qPXdfm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DD1lvTXR.mjs → acorex-modules-organization-management-org-chart.page-BglvBI8J.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart.page-BglvBI8J.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-CbXQwY_b.mjs → acorex-modules-organization-management-permission-definition.provider-BOz0kQKZ.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BOz0kQKZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-B1mrTFbI.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-CcfOkd7Z.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-CcfOkd7Z.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-B3OVj92j.mjs → acorex-modules-organization-management-replace-position-assignee.command-nNGkuyKE.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-B3OVj92j.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-nNGkuyKE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-COCty9r1.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CymCi80F.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-COCty9r1.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CymCi80F.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BAC2jImJ.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-E46T_VO-.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BAC2jImJ.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-E46T_VO-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-CQ1RKj2l.mjs → acorex-modules-organization-management-responsibilities-matrix.component-Bw22pUUE.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-Bw22pUUE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-settings.provider-B4ijPkN_.mjs → acorex-modules-organization-management-settings.provider-BOMwSEpo.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-settings.provider-B4ijPkN_.mjs.map → acorex-modules-organization-management-settings.provider-BOMwSEpo.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/acorex-modules-person-core.mjs +1076 -223
- package/fesm2022/acorex-modules-person-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BYy7NCvH.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +27 -27
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ilmoyxAw.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CdMzH5Qu.mjs} +47 -46
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CdMzH5Qu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-MJCUVTho.mjs → acorex-modules-platform-management-menu-list.component-B8ZKMl1A.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-MJCUVTho.mjs.map → acorex-modules-platform-management-menu-list.component-B8ZKMl1A.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-procurement-management.mjs +15 -16
- package/fesm2022/acorex-modules-procurement-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-product-catalog.mjs +1545 -33
- package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +234 -230
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs → acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs} +2 -3
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-settings.provider-CA7o3xKu.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +4 -3
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-DiEkzSO2.mjs → acorex-modules-reservation-management-index-DNLOtNNW.mjs} +2 -6
- package/fesm2022/acorex-modules-reservation-management-index-DNLOtNNW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-CSj9-uAb.mjs → acorex-modules-reservation-management-index-DSDnPzHh.mjs} +2 -5
- package/fesm2022/acorex-modules-reservation-management-index-DSDnPzHh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-CsOec92Y.mjs → acorex-modules-reservation-management-index-DySHYsCz.mjs} +2 -6
- package/fesm2022/acorex-modules-reservation-management-index-DySHYsCz.mjs.map +1 -0
- package/fesm2022/acorex-modules-reservation-management.mjs +47 -52
- package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-risk-management.mjs +122 -115
- package/fesm2022/acorex-modules-risk-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management-terminate-session.command-CRWFd-YW.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +468 -335
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-D5DqCfiz.mjs → acorex-modules-settings-management-permission-definition.provider-CfCLhvZi.mjs} +2 -2
- package/fesm2022/acorex-modules-settings-management-permission-definition.provider-CfCLhvZi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-TxoOyBRc.mjs → acorex-modules-settings-management-setting-page.component-B7wP0i5k.mjs} +9 -6
- package/fesm2022/acorex-modules-settings-management-setting-page.component-B7wP0i5k.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CuDjGo2x.mjs → acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CuDjGo2x.mjs.map → acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +813 -1
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-subscription-management.mjs +47 -52
- package/fesm2022/acorex-modules-subscription-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-supplier-management.mjs +34 -36
- package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +74 -61
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-CfgeDnBx.mjs → acorex-modules-task-management-task-board.page-DhPzh72z.mjs} +5 -5
- package/fesm2022/acorex-modules-task-management-task-board.page-DhPzh72z.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +7571 -1
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +42 -48
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-LJ8Bb-CT.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-AgY9tA7s.mjs} +1453 -143
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-AgY9tA7s.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-execute-workflow-with-input.command-DUYGWSu8.mjs +127 -0
- package/fesm2022/acorex-modules-workflow-management-execute-workflow-with-input.command-DUYGWSu8.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-execute-workflow.command-DSgQNTtL.mjs +142 -0
- package/fesm2022/acorex-modules-workflow-management-execute-workflow.command-DSgQNTtL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-DXIQw3Ao.mjs → acorex-modules-workflow-management-index-78oCkrbR.mjs} +3 -5
- package/fesm2022/acorex-modules-workflow-management-index-78oCkrbR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-8gv17yqF.mjs → acorex-modules-workflow-management-index-CvPrfCTv.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-8gv17yqF.mjs.map → acorex-modules-workflow-management-index-CvPrfCTv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index--D61tV-f.mjs → acorex-modules-workflow-management-index-DmnrXTPk.mjs} +3 -4
- package/fesm2022/acorex-modules-workflow-management-index-DmnrXTPk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-save-workflow-definition-activities.command-huamhFhc.mjs → acorex-modules-workflow-management-save-workflow-definition-activities.command-aLlfQxaT.mjs} +3 -3
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-aLlfQxaT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-column.component-B0f5IsoE.mjs → acorex-modules-workflow-management-workflow-configurator-widget-column.component-Ph_BjL_5.mjs} +2 -2
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-Ph_BjL_5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-edit.component-DQ703kRI.mjs → acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CfKTRKNQ.mjs} +5 -3
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CfKTRKNQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-run-history-popup.component-FLqOdI2t.mjs → acorex-modules-workflow-management-workflow-run-history-popup.component-D1A_EHNk.mjs} +6 -7
- package/fesm2022/acorex-modules-workflow-management-workflow-run-history-popup.component-D1A_EHNk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-Cvbzknxk.mjs → acorex-modules-workflow-management-workflow-task-popover.component-CHvHPHt9.mjs} +4 -4
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CHvHPHt9.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
- package/fesm2022/{acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-D1a0CBhs.mjs → acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-CsJpSfdA.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-CsJpSfdA.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-status.provider-CdzRLBqN.mjs +42 -0
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-status.provider-CdzRLBqN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workplacesafety-management-hazard-status.provider-v1cFaa3q.mjs → acorex-modules-workplacesafety-management-hazard-status.provider-CmtTvpk0.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-status.provider-CmtTvpk0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workplacesafety-management-ppe-item-status.provider-VH_Bp0l5.mjs → acorex-modules-workplacesafety-management-ppe-item-status.provider-Bx2yqUVH.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-ppe-item-status.provider-Bx2yqUVH.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management.mjs +1221 -555
- package/fesm2022/acorex-modules-workplacesafety-management.mjs.map +1 -1
- package/package.json +18 -2
- package/types/acorex-modules-ai-management.d.ts +35 -34
- package/types/acorex-modules-application-management.d.ts +23 -47
- package/types/acorex-modules-assessment-management.d.ts +517 -511
- package/types/acorex-modules-asset-management.d.ts +96 -79
- package/types/acorex-modules-auth.d.ts +2 -9
- package/types/acorex-modules-business-core.d.ts +72 -64
- package/types/acorex-modules-calendar-management.d.ts +4 -4
- package/types/acorex-modules-common.d.ts +11 -117
- package/types/acorex-modules-contact-core.d.ts +70 -0
- package/types/acorex-modules-content-management.d.ts +24 -31
- package/types/acorex-modules-conversation.d.ts +74 -73
- package/types/acorex-modules-customer-management.d.ts +69 -55
- package/types/acorex-modules-dashboard-management.d.ts +64 -66
- package/types/acorex-modules-data-management-contracts.d.ts +256 -0
- package/types/acorex-modules-data-management.d.ts +100 -22
- package/types/acorex-modules-document-management.d.ts +47 -40
- package/types/acorex-modules-financial-core.d.ts +69 -69
- package/types/acorex-modules-form-template-management.d.ts +4 -2
- package/types/acorex-modules-health-core.d.ts +241 -29
- package/types/acorex-modules-help-desk.d.ts +44 -38
- package/types/acorex-modules-human-capital-management.d.ts +67 -54
- package/types/acorex-modules-jira-management.d.ts +354 -0
- package/types/acorex-modules-learning-management.d.ts +2 -2
- package/types/acorex-modules-locale-management-contracts.d.ts +66 -0
- package/types/acorex-modules-locale-management.d.ts +4 -4
- package/types/acorex-modules-location-management.d.ts +67 -67
- package/types/acorex-modules-maintenance-management.d.ts +45 -43
- package/types/acorex-modules-measurement-core.d.ts +106 -106
- package/types/acorex-modules-meeting-management.d.ts +31 -23
- package/types/acorex-modules-notification-management.d.ts +19 -20
- package/types/acorex-modules-order-management.d.ts +39 -39
- package/types/acorex-modules-organization-management.d.ts +137 -109
- package/types/acorex-modules-person-core.d.ts +73 -52
- package/types/acorex-modules-platform-management.d.ts +1 -3
- package/types/acorex-modules-procurement-management.d.ts +1 -3
- package/types/acorex-modules-product-catalog.d.ts +13 -6
- package/types/acorex-modules-project-management.d.ts +16 -15
- package/types/acorex-modules-report-management.d.ts +3 -4
- package/types/acorex-modules-reservation-management.d.ts +3 -3
- package/types/acorex-modules-risk-management.d.ts +57 -54
- package/types/acorex-modules-security-management.d.ts +65 -63
- package/types/acorex-modules-settings-management.d.ts +15 -1
- package/types/acorex-modules-subscription-management.d.ts +4 -3
- package/types/acorex-modules-supplier-management.d.ts +4 -4
- package/types/acorex-modules-system-insight.d.ts +4 -3
- package/types/acorex-modules-task-management.d.ts +95 -70
- package/types/acorex-modules-tenant-management.d.ts +5 -4
- package/types/acorex-modules-workflow-management.d.ts +23 -4
- package/types/acorex-modules-workplacesafety-management.d.ts +153 -16
- package/fesm2022/acorex-modules-ai-management-agent.entity-3ZBa5t2D.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist.entity-CeALRRoV.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-model.entity-DiDaXVa3.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs.map +0 -1
- package/fesm2022/acorex-modules-application-management-application-status.provider-CGRoY79H.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-yboYQ8I-.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case-status.provider-B9sQAPwy.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-BBWeshSs.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-UCYBAHLk.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session-status.provider-Lee6Cwg8.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-Bp_dS1Js.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-VivCLw2H.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-CKF4BjCx.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-B_2o4jC2.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-s8KcR3D0.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-item.entity-Sj-5woTX.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-ClvQ18w6.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BbyNZvoc.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-review-assessment-session.command-B2QViI9d.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-CWdBtkn1.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-D7g3TSrr.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system-assignment.entity-ufjDJ-0D.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-DbeerQdD.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system.entity-0Fy7wSBh.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-OsuWeo2l.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-C6tA_OBh.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-Cjy7Xetu.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-D1HwzXL_.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CUpNfm_0.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-profile-page.component-ChsI9B3Y.mjs.map +0 -1
- package/fesm2022/acorex-modules-business-core-business-status.entity-BcfEL0kf.mjs +0 -139
- package/fesm2022/acorex-modules-business-core-business-status.entity-BcfEL0kf.mjs.map +0 -1
- package/fesm2022/acorex-modules-business-core-business-type.entity-BP5XZthY.mjs +0 -139
- package/fesm2022/acorex-modules-business-core-business-type.entity-BP5XZthY.mjs.map +0 -1
- package/fesm2022/acorex-modules-business-core-industry.entity-Byz8pFA7.mjs +0 -139
- package/fesm2022/acorex-modules-business-core-industry.entity-Byz8pFA7.mjs.map +0 -1
- package/fesm2022/acorex-modules-business-core-manufacturer.entity-CKzGz3Ix.mjs +0 -286
- package/fesm2022/acorex-modules-business-core-manufacturer.entity-CKzGz3Ix.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-B5zqb3b_.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-permission-definition.provider-DxI6NmP4.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-lPw23AJc.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-activity.entity-BENCtWk0.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-Doc1f5gH.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-BmDALoWz.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-lead.entity-CH7iga2T.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-gXGyRjOR.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-opportunity.entity-BX1vocD3.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-TN7eqaA1.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2TrYnCW.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-index-DAQNEq43.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-document-shortcut.entity-D3BI4azq.mjs +0 -30
- package/fesm2022/acorex-modules-document-management-document-shortcut.entity-D3BI4azq.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-CNWAvD6Z.mjs +0 -412
- package/fesm2022/acorex-modules-form-template-management-template.entity-CNWAvD6Z.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-Ba06KigW.mjs +0 -68
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-Ba06KigW.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-blood-type.entity-165JDo8r.mjs +0 -121
- package/fesm2022/acorex-modules-health-core-blood-type.entity-165JDo8r.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-body-part.entity-CGk798g1.mjs +0 -68
- package/fesm2022/acorex-modules-health-core-body-part.entity-CGk798g1.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CHeAJ1Mm.mjs +0 -68
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CHeAJ1Mm.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-disability-status.entity-DN5reubi.mjs +0 -121
- package/fesm2022/acorex-modules-health-core-disability-status.entity-DN5reubi.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-injury-type.entity-x9bs6Zly.mjs +0 -68
- package/fesm2022/acorex-modules-health-core-injury-type.entity-x9bs6Zly.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DlQ4MQVm.mjs +0 -68
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DlQ4MQVm.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-B8de7ifz.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-approve-leave-request.command-B0pyS4rY.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Dc0eoIAI.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-cancel-leave-request.command-TjMXVKCB.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-edit-signature.command-9psDoX-o.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRkS6cY0.mjs +0 -416
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRkS6cY0.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BZ1vVzeJ.mjs +0 -99
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BZ1vVzeJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-C_hKrBJ1.mjs +0 -292
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-C_hKrBJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-1FFKAk-t.mjs +0 -95
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-1FFKAk-t.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-3zBc21d1.mjs +0 -121
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-3zBc21d1.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-CeE-5Dko.mjs +0 -226
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-CeE-5Dko.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs +0 -267
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-attendance.entity-40THDVHu.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-DzRELZ1L.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate-type.entity-Br35cJ-M.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate.entity-DA882F-J.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-course-type.entity-DAc4cRbW.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-course.entity-HoC-FUPB.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-D4j7oSWb.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-learning-path-course.entity-B0DurZqy.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-learning-path.entity-C-FcZefB.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-mandatory-training-rule.entity-CxsoSJh-.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill-level.entity-CnAgJyuR.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill.entity-DmIjc2gw.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training-definition.entity-DPY0OQdW.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training-type.entity-Bt37GacX.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training.entity-BkxK-rqz.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-B9Jp4r3m.mjs +0 -487
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-B9Jp4r3m.mjs.map +0 -1
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-BJGUKFuu.mjs +0 -107
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-BJGUKFuu.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification-management-acorex-modules-notification-management-ZgxwReDF.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-item.entity-DsXE-kqT.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-status.provider-CECieSZF.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-bulk-buy-order.entity-B9f4Tppc.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-entity.provider-ZaDnKtBk.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-member-order-line.entity-BX3rQTJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-member-order-status.provider-Bkrzylqm.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-member-order.entity-BItj1CLq.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs +0 -8
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Cl-ecmKK.mjs +0 -917
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Cl-ecmKK.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-BUOpdwIy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-CcoGv5J7.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-n9FYDyKE.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-LYKMuTLO.mjs +0 -404
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-LYKMuTLO.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-BxAJonRP.mjs +0 -200
- package/fesm2022/acorex-modules-organization-management-chart.entity-BxAJonRP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-Cexgxajh.mjs +0 -136
- package/fesm2022/acorex-modules-organization-management-company.entity-Cexgxajh.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-entity.provider-Dqn382Z2.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-C7VhASKJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-Bacrw4_J.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-BJkc7c-G.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-GuFiBC0r.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-DsdjfMCs.mjs +0 -321
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-DsdjfMCs.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-CCvVPEVM.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-level.entity-BrBHqHqn.mjs +0 -271
- package/fesm2022/acorex-modules-organization-management-job-level.entity-BrBHqHqn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-menu.provider-BeCkTwia.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-DDY2Cgu6.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DbSxtEz6.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-ByqjxY2S.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DdyF5QS0.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DD1lvTXR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-CbXQwY_b.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-qwL31RSs.mjs +0 -543
- package/fesm2022/acorex-modules-organization-management-position.entity-qwL31RSs.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-B1mrTFbI.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-CQ1RKj2l.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-DwpUOhLh.mjs +0 -135
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-DwpUOhLh.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-3d2Im-NE.mjs +0 -203
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-3d2Im-NE.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-DdIc2pIC.mjs +0 -300
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-DdIc2pIC.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-UqmN5-zL.mjs +0 -150
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-UqmN5-zL.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member.entity-BlsBC7oU.mjs +0 -251
- package/fesm2022/acorex-modules-organization-management-team-member.entity-BlsBC7oU.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-rRp5rEKa.mjs +0 -307
- package/fesm2022/acorex-modules-organization-management-team.entity-rRp5rEKa.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-education-level.entity-BudWedmZ.mjs +0 -121
- package/fesm2022/acorex-modules-person-core-education-level.entity-BudWedmZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-gender.entity-BrnPFMd_.mjs +0 -121
- package/fesm2022/acorex-modules-person-core-gender.entity-BrnPFMd_.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-marital-status.entity-JSXaOaKH.mjs +0 -121
- package/fesm2022/acorex-modules-person-core-marital-status.entity-JSXaOaKH.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BwQ0fj61.mjs +0 -191
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BwQ0fj61.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-person-title.entity-DPEl0HTw.mjs +0 -121
- package/fesm2022/acorex-modules-person-core-person-title.entity-DPEl0HTw.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-core-religion.entity-DD1UG9on.mjs +0 -121
- package/fesm2022/acorex-modules-person-core-religion.entity-DD1UG9on.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-ilmoyxAw.mjs.map +0 -1
- package/fesm2022/acorex-modules-product-catalog-brand.entity-DLK1M-a5.mjs +0 -261
- package/fesm2022/acorex-modules-product-catalog-brand.entity-DLK1M-a5.mjs.map +0 -1
- package/fesm2022/acorex-modules-product-catalog-product-sku.entity-Dd43Ph0b.mjs +0 -596
- package/fesm2022/acorex-modules-product-catalog-product-sku.entity-Dd43Ph0b.mjs.map +0 -1
- package/fesm2022/acorex-modules-product-catalog-product.entity-CcLvq1uX.mjs +0 -668
- package/fesm2022/acorex-modules-product-catalog-product.entity-CcLvq1uX.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-reservation-class-status.entity-CsOec92Y.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-reservation-resource-type.entity-DiEkzSO2.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-reservation-status-transition.entity-CSj9-uAb.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-profile.entity-BSDeLsJ1.mjs +0 -168
- package/fesm2022/acorex-modules-security-management-profile.entity-BSDeLsJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-e5asXiK4.mjs +0 -798
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-e5asXiK4.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-permission-definition.provider-D5DqCfiz.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-TxoOyBRc.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-Bv7Ye6d1.mjs +0 -7564
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-Bv7Ye6d1.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CfgeDnBx.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +0 -5
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-LJ8Bb-CT.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bhx1tC1u.mjs +0 -255
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bhx1tC1u.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-automation.entity-C_WRtcFX.mjs +0 -279
- package/fesm2022/acorex-modules-workflow-management-automation.entity-C_WRtcFX.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index--D61tV-f.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-DXIQw3Ao.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-OK7e-UOe.mjs +0 -264
- package/fesm2022/acorex-modules-workflow-management-index-OK7e-UOe.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-huamhFhc.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-B0f5IsoE.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-DQ703kRI.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DFN7awRu.mjs +0 -313
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DFN7awRu.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-DcqLomn4.mjs +0 -256
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-DcqLomn4.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-run-history-popup.component-FLqOdI2t.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-Cvbzknxk.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-D1a0CBhs.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-status.provider-v1cFaa3q.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-ppe-item-status.provider-VH_Bp0l5.mjs.map +0 -1
|
@@ -1,13 +1,195 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { AXP_MODULE_MANIFEST_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, provideLazyProvider } from '@acorex/platform/core';
|
|
4
|
-
import {
|
|
5
|
-
import { AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
|
2
|
+
import { Injectable, inject, NgModule } from '@angular/core';
|
|
3
|
+
import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, provideLazyProvider } from '@acorex/platform/core';
|
|
4
|
+
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
5
|
+
import { AXPEntityCommandScope, AXPStatusProvider, systemStatusToDefinition, AXPSystemStatusType, AXP_STATUS_PROVIDERS, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
|
6
6
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
7
|
+
import { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
8
|
+
import { AXPWidgetsList, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/contracts';
|
|
7
9
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
8
10
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
11
|
+
import { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';
|
|
12
|
+
import { get } from 'lodash-es';
|
|
9
13
|
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
10
|
-
|
|
14
|
+
|
|
15
|
+
/** Health catalog scope for questionnaires, question bank items, and workflow definitions. */
|
|
16
|
+
const HEALTH_CATALOG_SCOPE = 'health-core.health';
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ---- Constants ----
|
|
20
|
+
const QUESTIONNAIRE = 'AssessmentManagement.Questionnaire';
|
|
21
|
+
const QUESTION_BANK_ITEM = 'AssessmentManagement.QuestionBankItem';
|
|
22
|
+
const WORKFLOW_DEFINITION = 'WorkflowManagement.WorkflowDefinition';
|
|
23
|
+
const HEALTH_CATALOG_TARGETS = [QUESTIONNAIRE, QUESTION_BANK_ITEM, WORKFLOW_DEFINITION];
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region ---- Provider ----
|
|
26
|
+
class AXMHealthCoreCatalogScopeDefinitionProvider {
|
|
27
|
+
async items() {
|
|
28
|
+
return [
|
|
29
|
+
{
|
|
30
|
+
name: HEALTH_CATALOG_SCOPE,
|
|
31
|
+
title: '@health-core:catalog-scopes.health.title',
|
|
32
|
+
description: '@health-core:catalog-scopes.health.description',
|
|
33
|
+
targets: [...HEALTH_CATALOG_TARGETS],
|
|
34
|
+
icon: 'fa-light fa-heart-pulse',
|
|
35
|
+
cssClass: 'ax-danger-lighter',
|
|
36
|
+
order: 11,
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreCatalogScopeDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
41
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreCatalogScopeDefinitionProvider }); }
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreCatalogScopeDefinitionProvider, decorators: [{
|
|
44
|
+
type: Injectable
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
const AXMHealthCoreCommandKeys = {
|
|
48
|
+
HealthEvent: {
|
|
49
|
+
StartFlow: 'HealthCore.HealthEvent:StartFlow',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
//#region ---- Datasource keys ----
|
|
54
|
+
/** Health Core datasource registry names. */
|
|
55
|
+
const AXMHealthCoreDataSourceKeys = {
|
|
56
|
+
MedicationFormOptions: 'medication-form-options',
|
|
57
|
+
HealthRiskLevelOptions: 'health-risk-level-options',
|
|
58
|
+
AlcoholConsumptionOptions: 'alcohol-consumption-options',
|
|
59
|
+
SmokingStatusOptions: 'smoking-status-options',
|
|
60
|
+
AllergySeverityOptions: 'allergy-severity-options',
|
|
61
|
+
ChronicConditionStatusOptions: 'chronic-condition-status-options',
|
|
62
|
+
InjuryMechanismOptions: 'injury-mechanism-options',
|
|
63
|
+
WorkCapacityOptions: 'work-capacity-options',
|
|
64
|
+
PainRateOptions: 'pain-rate-options',
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
|
|
68
|
+
const AXMHealthCoreMenuKeys = {
|
|
69
|
+
Root: 'health-core',
|
|
70
|
+
BloodTypes: 'health-core.blood-types',
|
|
71
|
+
BodyParts: 'health-core.body-parts',
|
|
72
|
+
DisabilityStatuses: 'health-core.disability-statuses',
|
|
73
|
+
InjuryTypes: 'health-core.injury-types',
|
|
74
|
+
VaccinationTypes: 'health-core.vaccination-types',
|
|
75
|
+
HealthConditionTypes: 'health-core.health-condition-types',
|
|
76
|
+
HealthRestrictions: 'health-core.health-restrictions',
|
|
77
|
+
HealthRecordTypes: 'health-core.health-record-types',
|
|
78
|
+
HealthEvents: 'health-core.health-events',
|
|
79
|
+
HealthProfiles: 'health-core.health-profiles',
|
|
80
|
+
HealthConditions: 'health-core.health-conditions',
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
const AXMHealthCorePermissionKeys = {
|
|
84
|
+
HealthCore: {
|
|
85
|
+
BloodType: { Management: 'HealthCore:Permission:BloodType.Management' },
|
|
86
|
+
BodyPart: { Management: 'HealthCore:Permission:BodyPart.Management' },
|
|
87
|
+
DisabilityStatus: { Management: 'HealthCore:Permission:DisabilityStatus.Management' },
|
|
88
|
+
InjuryType: { Management: 'HealthCore:Permission:InjuryType.Management' },
|
|
89
|
+
VaccinationType: { Management: 'HealthCore:Permission:VaccinationType.Management' },
|
|
90
|
+
HealthConditionType: { Management: 'HealthCore:Permission:HealthConditionType.Management' },
|
|
91
|
+
HealthRestriction: { Management: 'HealthCore:Permission:HealthRestriction.Management' },
|
|
92
|
+
HealthRecordType: { Management: 'HealthCore:Permission:HealthRecordType.Management' },
|
|
93
|
+
HealthProfile: {
|
|
94
|
+
ViewOwn: 'HealthCore:Permission:HealthProfile.ViewOwn',
|
|
95
|
+
EditOwn: 'HealthCore:Permission:HealthProfile.EditOwn',
|
|
96
|
+
View: 'HealthCore:Permission:HealthProfile.View',
|
|
97
|
+
Manage: 'HealthCore:Permission:HealthProfile.Manage',
|
|
98
|
+
},
|
|
99
|
+
HealthCondition: {
|
|
100
|
+
ViewOwn: 'HealthCore:Permission:HealthCondition.ViewOwn',
|
|
101
|
+
EditOwn: 'HealthCore:Permission:HealthCondition.EditOwn',
|
|
102
|
+
View: 'HealthCore:Permission:HealthCondition.View',
|
|
103
|
+
Manage: 'HealthCore:Permission:HealthCondition.Manage',
|
|
104
|
+
},
|
|
105
|
+
HealthEvent: {
|
|
106
|
+
ViewOwn: 'HealthCore:Permission:HealthEvent.ViewOwn',
|
|
107
|
+
EditOwn: 'HealthCore:Permission:HealthEvent.EditOwn',
|
|
108
|
+
View: 'HealthCore:Permission:HealthEvent.View',
|
|
109
|
+
Manage: 'HealthCore:Permission:HealthEvent.Manage',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
//#region ---- Subject form layout helpers ----
|
|
115
|
+
/** Subject lookup field omitted from create/update when injected from parent context. */
|
|
116
|
+
const HEALTH_SUBJECT_PROPERTY_NAMES = ['subject.id'];
|
|
117
|
+
/** Omits subject lookup from master create/update layouts (subject is injected from context). */
|
|
118
|
+
function omitHealthSubjectFromEditLayouts(layouts) {
|
|
119
|
+
return layouts.filter((layout) => !HEALTH_SUBJECT_PROPERTY_NAMES.includes(layout.name));
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
|
|
123
|
+
//#region ---- Imports ----
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region ---- Subject filter helpers ----
|
|
126
|
+
/** Person subject type for health records shared between My Profile and employee detail. */
|
|
127
|
+
const HEALTH_PERSON_SUBJECT_TYPE = 'PersonCore.Person';
|
|
128
|
+
/** Filters child health records by polymorphic subject on a parent entity detail context. */
|
|
129
|
+
function healthSubjectReferenceConditions(subjectType) {
|
|
130
|
+
return [
|
|
131
|
+
{
|
|
132
|
+
name: 'subject.type',
|
|
133
|
+
operator: { type: 'equal' },
|
|
134
|
+
value: subjectType,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'subject.id',
|
|
138
|
+
operator: { type: 'equal' },
|
|
139
|
+
value: '{{context.eval("id")}}',
|
|
140
|
+
},
|
|
141
|
+
];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Filters health records for an employee's linked person (`personId` on employee context).
|
|
145
|
+
* Use for HealthProfile (and other person-scoped records) on employee detail so data matches My Profile.
|
|
146
|
+
*/
|
|
147
|
+
function healthPersonSubjectReferenceConditions(personIdExpression = '{{context.eval("personId")}}') {
|
|
148
|
+
return [
|
|
149
|
+
{
|
|
150
|
+
name: 'subject.type',
|
|
151
|
+
operator: { type: 'equal' },
|
|
152
|
+
value: HEALTH_PERSON_SUBJECT_TYPE,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'subject.id',
|
|
156
|
+
operator: { type: 'equal' },
|
|
157
|
+
value: personIdExpression,
|
|
158
|
+
},
|
|
159
|
+
];
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region ---- Subject lookup property ----
|
|
163
|
+
/** Single polymorphic subject lookup (assessment-case `subjectRef.id` pattern). */
|
|
164
|
+
function createHealthSubjectLookupProperty(groupId, options = {}) {
|
|
165
|
+
const readonly = options.readonly ?? false;
|
|
166
|
+
return {
|
|
167
|
+
name: 'subject.id',
|
|
168
|
+
title: '@health-core:terms.subject.title',
|
|
169
|
+
groupId,
|
|
170
|
+
options: readonly
|
|
171
|
+
? { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } }
|
|
172
|
+
: undefined,
|
|
173
|
+
schema: {
|
|
174
|
+
dataType: 'string',
|
|
175
|
+
readonly,
|
|
176
|
+
interface: {
|
|
177
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
178
|
+
options: {
|
|
179
|
+
readonly,
|
|
180
|
+
entity: "{{ context.eval('subject.type') }}",
|
|
181
|
+
valueField: 'id',
|
|
182
|
+
expose: [
|
|
183
|
+
{ source: 'id', target: 'subject.id' },
|
|
184
|
+
{ source: 'title', target: 'subject.title' },
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
validations: [{ rule: 'required' }],
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
//#endregion
|
|
11
193
|
|
|
12
194
|
const config = {
|
|
13
195
|
i18n: 'health-core',
|
|
@@ -21,12 +203,6 @@ const RootConfig = {
|
|
|
21
203
|
icon: 'fa-light fa-heart-pulse',
|
|
22
204
|
},
|
|
23
205
|
entities: {
|
|
24
|
-
allergyType: {
|
|
25
|
-
name: 'AllergyType',
|
|
26
|
-
title: `@${config.i18n}:allergy-types.entities.allergy-type.title`,
|
|
27
|
-
titlePlural: `@${config.i18n}:allergy-types.entities.allergy-type.plural`,
|
|
28
|
-
icon: 'fa-light fa-allergies',
|
|
29
|
-
},
|
|
30
206
|
bloodType: {
|
|
31
207
|
name: 'BloodType',
|
|
32
208
|
title: `@${config.i18n}:blood-types.entities.blood-type.title`,
|
|
@@ -39,12 +215,6 @@ const RootConfig = {
|
|
|
39
215
|
titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,
|
|
40
216
|
icon: 'fa-light fa-person',
|
|
41
217
|
},
|
|
42
|
-
chronicConditionType: {
|
|
43
|
-
name: 'ChronicConditionType',
|
|
44
|
-
title: `@${config.i18n}:chronic-condition-types.entities.chronic-condition-type.title`,
|
|
45
|
-
titlePlural: `@${config.i18n}:chronic-condition-types.entities.chronic-condition-type.plural`,
|
|
46
|
-
icon: 'fa-light fa-file-medical',
|
|
47
|
-
},
|
|
48
218
|
disabilityStatus: {
|
|
49
219
|
name: 'DisabilityStatus',
|
|
50
220
|
title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,
|
|
@@ -63,9 +233,48 @@ const RootConfig = {
|
|
|
63
233
|
titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,
|
|
64
234
|
icon: 'fa-light fa-syringe',
|
|
65
235
|
},
|
|
236
|
+
healthConditionType: {
|
|
237
|
+
name: 'HealthConditionType',
|
|
238
|
+
title: `@${config.i18n}:health-condition-types.entities.health-condition-type.title`,
|
|
239
|
+
titlePlural: `@${config.i18n}:health-condition-types.entities.health-condition-type.plural`,
|
|
240
|
+
icon: 'fa-light fa-file-medical',
|
|
241
|
+
},
|
|
242
|
+
healthRestriction: {
|
|
243
|
+
name: 'HealthRestriction',
|
|
244
|
+
title: `@${config.i18n}:health-restrictions.entities.health-restriction.title`,
|
|
245
|
+
titlePlural: `@${config.i18n}:health-restrictions.entities.health-restriction.plural`,
|
|
246
|
+
icon: 'fa-light fa-ban',
|
|
247
|
+
},
|
|
248
|
+
healthRecordType: {
|
|
249
|
+
name: 'HealthRecordType',
|
|
250
|
+
title: `@${config.i18n}:health-record-types.entities.health-record-type.title`,
|
|
251
|
+
titlePlural: `@${config.i18n}:health-record-types.entities.health-record-type.plural`,
|
|
252
|
+
icon: 'fa-light fa-notes-medical',
|
|
253
|
+
},
|
|
254
|
+
healthEvent: {
|
|
255
|
+
name: 'HealthEvent',
|
|
256
|
+
title: `@${config.i18n}:health-events.entities.health-event.title`,
|
|
257
|
+
titlePlural: `@${config.i18n}:health-events.entities.health-event.plural`,
|
|
258
|
+
icon: 'fa-light fa-file-medical',
|
|
259
|
+
},
|
|
260
|
+
healthProfile: {
|
|
261
|
+
name: 'HealthProfile',
|
|
262
|
+
title: `@${config.i18n}:health-profiles.entities.health-profile.title`,
|
|
263
|
+
titlePlural: `@${config.i18n}:health-profiles.entities.health-profile.plural`,
|
|
264
|
+
icon: 'fa-light fa-heart-pulse',
|
|
265
|
+
},
|
|
266
|
+
healthCondition: {
|
|
267
|
+
name: 'HealthCondition',
|
|
268
|
+
title: `@${config.i18n}:health-conditions.entities.health-condition.title`,
|
|
269
|
+
titlePlural: `@${config.i18n}:health-conditions.entities.health-condition.plural`,
|
|
270
|
+
icon: 'fa-light fa-file-medical',
|
|
271
|
+
},
|
|
66
272
|
},
|
|
67
273
|
};
|
|
68
274
|
|
|
275
|
+
//#region ---- Contracts barrel ----
|
|
276
|
+
//#endregion
|
|
277
|
+
|
|
69
278
|
//#region ---- Imports ----
|
|
70
279
|
//#endregion
|
|
71
280
|
//#region ---- Manifest Definition ----
|
|
@@ -82,16 +291,6 @@ const HealthCoreManifest = {
|
|
|
82
291
|
};
|
|
83
292
|
//#endregion
|
|
84
293
|
|
|
85
|
-
//#region ---- Datasource keys ----
|
|
86
|
-
/** Health Core datasource registry names. */
|
|
87
|
-
const AXMHealthCoreDataSourceKeys = {
|
|
88
|
-
MedicationFormOptions: 'medication-form-options',
|
|
89
|
-
HealthRiskLevelOptions: 'health-risk-level-options',
|
|
90
|
-
AlcoholConsumptionOptions: 'alcohol-consumption-options',
|
|
91
|
-
SmokingStatusOptions: 'smoking-status-options',
|
|
92
|
-
};
|
|
93
|
-
//#endregion
|
|
94
|
-
|
|
95
294
|
/**
|
|
96
295
|
* Medication form options datasource (Tablet, Capsule, Syrup, Injection, etc.).
|
|
97
296
|
*/
|
|
@@ -252,12 +451,205 @@ class AXMSmokingStatusOptionsDataSourceDefinition {
|
|
|
252
451
|
}
|
|
253
452
|
}
|
|
254
453
|
|
|
454
|
+
/** Allergy severity options (mild, moderate, severe). */
|
|
455
|
+
class AXMAllergySeverityOptionsDataSourceDefinition {
|
|
456
|
+
constructor() {
|
|
457
|
+
this.definition = {
|
|
458
|
+
name: AXMHealthCoreDataSourceKeys.AllergySeverityOptions,
|
|
459
|
+
title: '@health-core:datasources.allergy-severity-options.title',
|
|
460
|
+
columns: [
|
|
461
|
+
{ name: 'value', title: '@health-core:datasources.allergy-severity-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
462
|
+
{ name: 'title', title: '@health-core:datasources.allergy-severity-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
463
|
+
],
|
|
464
|
+
filters: [],
|
|
465
|
+
textField: { name: 'title', title: '@health-core:datasources.allergy-severity-options.columns.title.title' },
|
|
466
|
+
valueField: { name: 'value', title: '@health-core:datasources.allergy-severity-options.columns.value.title' },
|
|
467
|
+
samples: [
|
|
468
|
+
{ value: 'mild', title: '@health-core:datasources.allergy-severity-options.samples.mild' },
|
|
469
|
+
{ value: 'moderate', title: '@health-core:datasources.allergy-severity-options.samples.moderate' },
|
|
470
|
+
{ value: 'severe', title: '@health-core:datasources.allergy-severity-options.samples.severe' },
|
|
471
|
+
],
|
|
472
|
+
source: () => {
|
|
473
|
+
const items = [
|
|
474
|
+
{ value: 'mild', title: '@health-core:datasources.allergy-severity-options.samples.mild' },
|
|
475
|
+
{ value: 'moderate', title: '@health-core:datasources.allergy-severity-options.samples.moderate' },
|
|
476
|
+
{ value: 'severe', title: '@health-core:datasources.allergy-severity-options.samples.severe' },
|
|
477
|
+
];
|
|
478
|
+
return new AXDataSource({
|
|
479
|
+
pageSize: 10,
|
|
480
|
+
key: 'value',
|
|
481
|
+
load: async () => ({ items, total: items.length }),
|
|
482
|
+
byKey: async (key) => items.find((item) => item.value === key),
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
async items() {
|
|
488
|
+
return [this.definition];
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/** Chronic condition status options (active, managed, resolved). */
|
|
493
|
+
class AXMChronicConditionStatusOptionsDataSourceDefinition {
|
|
494
|
+
constructor() {
|
|
495
|
+
this.definition = {
|
|
496
|
+
name: AXMHealthCoreDataSourceKeys.ChronicConditionStatusOptions,
|
|
497
|
+
title: '@health-core:datasources.chronic-condition-status-options.title',
|
|
498
|
+
columns: [
|
|
499
|
+
{ name: 'value', title: '@health-core:datasources.chronic-condition-status-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
500
|
+
{ name: 'title', title: '@health-core:datasources.chronic-condition-status-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
501
|
+
],
|
|
502
|
+
filters: [],
|
|
503
|
+
textField: { name: 'title', title: '@health-core:datasources.chronic-condition-status-options.columns.title.title' },
|
|
504
|
+
valueField: { name: 'value', title: '@health-core:datasources.chronic-condition-status-options.columns.value.title' },
|
|
505
|
+
samples: [
|
|
506
|
+
{ value: 'active', title: '@health-core:datasources.chronic-condition-status-options.samples.active' },
|
|
507
|
+
{ value: 'managed', title: '@health-core:datasources.chronic-condition-status-options.samples.managed' },
|
|
508
|
+
{ value: 'resolved', title: '@health-core:datasources.chronic-condition-status-options.samples.resolved' },
|
|
509
|
+
],
|
|
510
|
+
source: () => {
|
|
511
|
+
const items = [
|
|
512
|
+
{ value: 'active', title: '@health-core:datasources.chronic-condition-status-options.samples.active' },
|
|
513
|
+
{ value: 'managed', title: '@health-core:datasources.chronic-condition-status-options.samples.managed' },
|
|
514
|
+
{ value: 'resolved', title: '@health-core:datasources.chronic-condition-status-options.samples.resolved' },
|
|
515
|
+
];
|
|
516
|
+
return new AXDataSource({
|
|
517
|
+
pageSize: 10,
|
|
518
|
+
key: 'value',
|
|
519
|
+
load: async () => ({ items, total: items.length }),
|
|
520
|
+
byKey: async (key) => items.find((item) => item.value === key),
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
async items() {
|
|
526
|
+
return [this.definition];
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
const I18N$2 = '@health-core:datasources.injury-mechanism-options';
|
|
531
|
+
const INJURY_MECHANISM_ITEMS = [
|
|
532
|
+
{ id: 'slip_trip_fall', title: `${I18N$2}.samples.slip-trip-fall` },
|
|
533
|
+
{ id: 'struck_by', title: `${I18N$2}.samples.struck-by` },
|
|
534
|
+
{ id: 'struck_against', title: `${I18N$2}.samples.struck-against` },
|
|
535
|
+
{ id: 'caught_in', title: `${I18N$2}.samples.caught-in` },
|
|
536
|
+
{ id: 'overexertion', title: `${I18N$2}.samples.overexertion` },
|
|
537
|
+
{ id: 'exposure', title: `${I18N$2}.samples.exposure` },
|
|
538
|
+
{ id: 'vehicle', title: `${I18N$2}.samples.vehicle` },
|
|
539
|
+
{ id: 'cut_puncture', title: `${I18N$2}.samples.cut-puncture` },
|
|
540
|
+
{ id: 'other', title: `${I18N$2}.samples.other` },
|
|
541
|
+
];
|
|
542
|
+
/** Workplace injury mechanism options for occupational health questionnaires. */
|
|
543
|
+
class AXMInjuryMechanismOptionsDataSourceDefinition {
|
|
544
|
+
constructor() {
|
|
545
|
+
this.definition = {
|
|
546
|
+
name: AXMHealthCoreDataSourceKeys.InjuryMechanismOptions,
|
|
547
|
+
title: `${I18N$2}.title`,
|
|
548
|
+
columns: [
|
|
549
|
+
{ name: 'id', title: `${I18N$2}.columns.id.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
550
|
+
{ name: 'title', title: `${I18N$2}.columns.title.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
551
|
+
],
|
|
552
|
+
filters: [],
|
|
553
|
+
textField: { name: 'title', title: `${I18N$2}.columns.title.title` },
|
|
554
|
+
valueField: { name: 'id', title: `${I18N$2}.columns.id.title` },
|
|
555
|
+
samples: [...INJURY_MECHANISM_ITEMS],
|
|
556
|
+
source: () => {
|
|
557
|
+
const items = [...INJURY_MECHANISM_ITEMS];
|
|
558
|
+
return new AXDataSource({
|
|
559
|
+
pageSize: 20,
|
|
560
|
+
key: 'id',
|
|
561
|
+
load: async () => ({ items, total: items.length }),
|
|
562
|
+
byKey: async (key) => items.find((item) => item.id === key),
|
|
563
|
+
});
|
|
564
|
+
},
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
async items() {
|
|
568
|
+
return [this.definition];
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
const I18N$1 = '@health-core:datasources.work-capacity-options';
|
|
573
|
+
const WORK_CAPACITY_ITEMS = [
|
|
574
|
+
{ id: 'continue', title: `${I18N$1}.samples.continue` },
|
|
575
|
+
{ id: 'modified', title: `${I18N$1}.samples.modified` },
|
|
576
|
+
{ id: 'unable', title: `${I18N$1}.samples.unable` },
|
|
577
|
+
{ id: 'hospitalised', title: `${I18N$1}.samples.hospitalised` },
|
|
578
|
+
];
|
|
579
|
+
/** Post-injury work capacity options for occupational health questionnaires. */
|
|
580
|
+
class AXMWorkCapacityOptionsDataSourceDefinition {
|
|
581
|
+
constructor() {
|
|
582
|
+
this.definition = {
|
|
583
|
+
name: AXMHealthCoreDataSourceKeys.WorkCapacityOptions,
|
|
584
|
+
title: `${I18N$1}.title`,
|
|
585
|
+
columns: [
|
|
586
|
+
{ name: 'id', title: `${I18N$1}.columns.id.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
587
|
+
{ name: 'title', title: `${I18N$1}.columns.title.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
588
|
+
],
|
|
589
|
+
filters: [],
|
|
590
|
+
textField: { name: 'title', title: `${I18N$1}.columns.title.title` },
|
|
591
|
+
valueField: { name: 'id', title: `${I18N$1}.columns.id.title` },
|
|
592
|
+
samples: [...WORK_CAPACITY_ITEMS],
|
|
593
|
+
source: () => {
|
|
594
|
+
const items = [...WORK_CAPACITY_ITEMS];
|
|
595
|
+
return new AXDataSource({
|
|
596
|
+
pageSize: 10,
|
|
597
|
+
key: 'id',
|
|
598
|
+
load: async () => ({ items, total: items.length }),
|
|
599
|
+
byKey: async (key) => items.find((item) => item.id === key),
|
|
600
|
+
});
|
|
601
|
+
},
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
async items() {
|
|
605
|
+
return [this.definition];
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
const I18N = '@health-core:datasources.pain-rate-options';
|
|
610
|
+
const PAIN_RATE_ITEMS = [
|
|
611
|
+
{ id: '1', title: `${I18N}.samples.1` },
|
|
612
|
+
{ id: '2', title: `${I18N}.samples.2` },
|
|
613
|
+
{ id: '3', title: `${I18N}.samples.3` },
|
|
614
|
+
{ id: '4', title: `${I18N}.samples.4` },
|
|
615
|
+
{ id: '5', title: `${I18N}.samples.5` },
|
|
616
|
+
];
|
|
617
|
+
/** Current pain severity scale (1–5) for workplace injury questionnaires. */
|
|
618
|
+
class AXMPainRateOptionsDataSourceDefinition {
|
|
619
|
+
constructor() {
|
|
620
|
+
this.definition = {
|
|
621
|
+
name: AXMHealthCoreDataSourceKeys.PainRateOptions,
|
|
622
|
+
title: `${I18N}.title`,
|
|
623
|
+
columns: [
|
|
624
|
+
{ name: 'id', title: `${I18N}.columns.id.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
625
|
+
{ name: 'title', title: `${I18N}.columns.title.title`, type: AXPWidgetsCatalog.text, datatype: 'string' },
|
|
626
|
+
],
|
|
627
|
+
filters: [],
|
|
628
|
+
textField: { name: 'title', title: `${I18N}.columns.title.title` },
|
|
629
|
+
valueField: { name: 'id', title: `${I18N}.columns.id.title` },
|
|
630
|
+
samples: [...PAIN_RATE_ITEMS],
|
|
631
|
+
source: () => {
|
|
632
|
+
const items = [...PAIN_RATE_ITEMS];
|
|
633
|
+
return new AXDataSource({
|
|
634
|
+
pageSize: 10,
|
|
635
|
+
key: 'id',
|
|
636
|
+
load: async () => ({ items, total: items.length }),
|
|
637
|
+
byKey: async (key) => items.find((item) => item.id === key),
|
|
638
|
+
});
|
|
639
|
+
},
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
async items() {
|
|
643
|
+
return [this.definition];
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
255
647
|
//#region ---- Imports ----
|
|
256
648
|
//#endregion
|
|
257
649
|
//#region ---- Data Source Provider ----
|
|
258
650
|
/**
|
|
259
651
|
* Health Core Data Source Provider.
|
|
260
|
-
* Provides health-related choice datasources (medication form, risk level, alcohol, smoking).
|
|
652
|
+
* Provides health-related choice datasources (medication form, risk level, alcohol, smoking, workplace injury).
|
|
261
653
|
*/
|
|
262
654
|
class AXMHealthCoreDataSourceProvider {
|
|
263
655
|
constructor() {
|
|
@@ -265,6 +657,11 @@ class AXMHealthCoreDataSourceProvider {
|
|
|
265
657
|
this.healthRiskLevelOptions = new AXMHealthRiskLevelOptionsDataSourceDefinition();
|
|
266
658
|
this.alcoholConsumptionOptions = new AXMAlcoholConsumptionOptionsDataSourceDefinition();
|
|
267
659
|
this.smokingStatusOptions = new AXMSmokingStatusOptionsDataSourceDefinition();
|
|
660
|
+
this.allergySeverityOptions = new AXMAllergySeverityOptionsDataSourceDefinition();
|
|
661
|
+
this.chronicConditionStatusOptions = new AXMChronicConditionStatusOptionsDataSourceDefinition();
|
|
662
|
+
this.injuryMechanismOptions = new AXMInjuryMechanismOptionsDataSourceDefinition();
|
|
663
|
+
this.workCapacityOptions = new AXMWorkCapacityOptionsDataSourceDefinition();
|
|
664
|
+
this.painRateOptions = new AXMPainRateOptionsDataSourceDefinition();
|
|
268
665
|
}
|
|
269
666
|
async items() {
|
|
270
667
|
const items = await Promise.all([
|
|
@@ -272,24 +669,244 @@ class AXMHealthCoreDataSourceProvider {
|
|
|
272
669
|
this.healthRiskLevelOptions.items(),
|
|
273
670
|
this.alcoholConsumptionOptions.items(),
|
|
274
671
|
this.smokingStatusOptions.items(),
|
|
672
|
+
this.allergySeverityOptions.items(),
|
|
673
|
+
this.chronicConditionStatusOptions.items(),
|
|
674
|
+
this.injuryMechanismOptions.items(),
|
|
675
|
+
this.workCapacityOptions.items(),
|
|
676
|
+
this.painRateOptions.items(),
|
|
275
677
|
]);
|
|
276
678
|
return items.flat();
|
|
277
679
|
}
|
|
278
680
|
}
|
|
279
681
|
//#endregion
|
|
280
682
|
|
|
683
|
+
//#region ---- Imports ----
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region ---- Icon helpers ----
|
|
686
|
+
function healthEventMenuIconSuffix(icon) {
|
|
687
|
+
const trimmed = icon?.trim();
|
|
688
|
+
if (!trimmed) {
|
|
689
|
+
return 'fa-circle-plus';
|
|
690
|
+
}
|
|
691
|
+
const rest = trimmed.replace(/^(fa-(?:duotone|solid|regular|light|thin|brands))\s+/i, '').trim();
|
|
692
|
+
return rest || 'fa-circle-plus';
|
|
693
|
+
}
|
|
694
|
+
function resolveSubjectTitleExpression(subjectType) {
|
|
695
|
+
if (subjectType === 'HumanCapitalManagement.Employee') {
|
|
696
|
+
return '{{ context.eval("person.fullName") || context.eval("employeeCode") }}';
|
|
697
|
+
}
|
|
698
|
+
if (subjectType === 'PersonCore.Person') {
|
|
699
|
+
return '{{ context.eval("fullName") || (context.eval("firstName") + " " + context.eval("lastName")) }}';
|
|
700
|
+
}
|
|
701
|
+
return '{{ context.eval("title", { pipes: ["translate"] }) || context.eval("id") }}';
|
|
702
|
+
}
|
|
703
|
+
//#endregion
|
|
704
|
+
/**
|
|
705
|
+
* Expression-evaluator scope for health event guided-start dropdown items.
|
|
706
|
+
*/
|
|
707
|
+
class AXMHealthCoreHealthEventExpressionEvaluatorScopeProvider {
|
|
708
|
+
constructor() {
|
|
709
|
+
//#region ---- Services & Dependencies ----
|
|
710
|
+
this.entityService = inject(AXPEntityService);
|
|
711
|
+
this.translation = inject(AXTranslationService);
|
|
712
|
+
//#endregion
|
|
713
|
+
}
|
|
714
|
+
//#endregion
|
|
715
|
+
//#region ---- AXPExpressionEvaluatorScopeProvider ----
|
|
716
|
+
async provide(context) {
|
|
717
|
+
context.addScope(RootConfig.module.name, {
|
|
718
|
+
/**
|
|
719
|
+
* Loads health record types and returns toolbar child actions for guided create.
|
|
720
|
+
* @param subjectType Entity key for the polymorphic subject (e.g. HumanCapitalManagement.Employee).
|
|
721
|
+
*/
|
|
722
|
+
HealthEvents: async (subjectType) => {
|
|
723
|
+
const resolvedSubjectType = String(subjectType ?? '').trim();
|
|
724
|
+
if (!resolvedSubjectType) {
|
|
725
|
+
return [];
|
|
726
|
+
}
|
|
727
|
+
try {
|
|
728
|
+
const locale = this.translation.getActiveLang();
|
|
729
|
+
const page = await this.entityService
|
|
730
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.healthRecordType.name)
|
|
731
|
+
.data()
|
|
732
|
+
.query({ skip: 0, take: 500 });
|
|
733
|
+
const rows = (page.items ?? []);
|
|
734
|
+
const sorted = [...rows].sort((a, b) => {
|
|
735
|
+
const ta = resolveMultiLanguageString(a.title, locale).trim() || a.id;
|
|
736
|
+
const tb = resolveMultiLanguageString(b.title, locale).trim() || b.id;
|
|
737
|
+
return ta.localeCompare(tb, locale, { sensitivity: 'base' });
|
|
738
|
+
});
|
|
739
|
+
const subjectTitleExpr = resolveSubjectTitleExpression(resolvedSubjectType);
|
|
740
|
+
return sorted.map((row) => {
|
|
741
|
+
const menuTitle = resolveMultiLanguageString(row.title, locale).trim() || row.id;
|
|
742
|
+
const workflowConfig = row.workflowConfig;
|
|
743
|
+
const workflowId = workflowConfig?.workflowName?.trim();
|
|
744
|
+
const defaultInput = workflowConfig?.defaultInput ?? {};
|
|
745
|
+
const questionnaireId = get(defaultInput, 'questionnaireId');
|
|
746
|
+
const requireEmployeeSignature = get(defaultInput, 'requireEmployeeSignature');
|
|
747
|
+
const requireManagerSignature = get(defaultInput, 'requireManagerSignature');
|
|
748
|
+
const guidedFlowCommand = workflowId
|
|
749
|
+
? {
|
|
750
|
+
name: AXMHealthCoreCommandKeys.HealthEvent.StartFlow,
|
|
751
|
+
options: {
|
|
752
|
+
workflowId,
|
|
753
|
+
input: {
|
|
754
|
+
subjectType: resolvedSubjectType,
|
|
755
|
+
subjectId: '{{ context.eval("id") }}',
|
|
756
|
+
subjectTitle: subjectTitleExpr,
|
|
757
|
+
recordTypeId: row.id,
|
|
758
|
+
recordTypeTitle: row.title,
|
|
759
|
+
questionnaireId,
|
|
760
|
+
requireEmployeeSignature,
|
|
761
|
+
requireManagerSignature,
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
}
|
|
765
|
+
: undefined;
|
|
766
|
+
const notImplementedToastCommand = {
|
|
767
|
+
name: 'workflow-activity:show-toast',
|
|
768
|
+
options: {
|
|
769
|
+
message: '@health-core:health-events.messages.event-not-implemented',
|
|
770
|
+
type: 'warning',
|
|
771
|
+
},
|
|
772
|
+
};
|
|
773
|
+
return {
|
|
774
|
+
name: `start-health-event-${row.id}`,
|
|
775
|
+
title: menuTitle,
|
|
776
|
+
icon: healthEventMenuIconSuffix(row.icon),
|
|
777
|
+
color: 'default',
|
|
778
|
+
command: guidedFlowCommand ?? notImplementedToastCommand,
|
|
779
|
+
priority: 'primary',
|
|
780
|
+
type: 'info',
|
|
781
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
782
|
+
};
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
catch (error) {
|
|
786
|
+
console.error(`${RootConfig.module.name}.HealthEvents failed:`, error instanceof Error ? error.message : error);
|
|
787
|
+
return [];
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
//#region ---- Imports ----
|
|
795
|
+
//#endregion
|
|
796
|
+
//#region ---- Health event status ----
|
|
797
|
+
/** Status lifecycle for health events: In progress → Waiting sign-off → Completed (or Cancelled). */
|
|
798
|
+
class AXMHealthCoreHealthEventStatusProvider extends AXPStatusProvider {
|
|
799
|
+
constructor() {
|
|
800
|
+
super(...arguments);
|
|
801
|
+
this.key = 'health-core.status.health-event';
|
|
802
|
+
this.statuses = [
|
|
803
|
+
systemStatusToDefinition(AXPSystemStatusType.InProgress, {
|
|
804
|
+
title: '@health-core:health-events.states.in-progress',
|
|
805
|
+
generateView: true,
|
|
806
|
+
}),
|
|
807
|
+
systemStatusToDefinition(AXPSystemStatusType.WaitingSignOff, {
|
|
808
|
+
generateView: true,
|
|
809
|
+
}),
|
|
810
|
+
systemStatusToDefinition(AXPSystemStatusType.Completed, {
|
|
811
|
+
title: '@health-core:health-events.states.completed',
|
|
812
|
+
generateView: true,
|
|
813
|
+
}),
|
|
814
|
+
systemStatusToDefinition(AXPSystemStatusType.Cancelled, {
|
|
815
|
+
title: '@health-core:health-events.states.cancelled',
|
|
816
|
+
generateView: true,
|
|
817
|
+
}),
|
|
818
|
+
];
|
|
819
|
+
this.transitions = [
|
|
820
|
+
{
|
|
821
|
+
from: AXPSystemStatusType.InProgress,
|
|
822
|
+
to: AXPSystemStatusType.WaitingSignOff,
|
|
823
|
+
title: '@health-core:health-events.transitions.await-sign-off',
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
from: AXPSystemStatusType.WaitingSignOff,
|
|
827
|
+
to: AXPSystemStatusType.Completed,
|
|
828
|
+
title: '@health-core:health-events.transitions.complete',
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
from: AXPSystemStatusType.WaitingSignOff,
|
|
832
|
+
to: AXPSystemStatusType.Cancelled,
|
|
833
|
+
title: '@general:statuses.transitions.cancel',
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
from: AXPSystemStatusType.InProgress,
|
|
837
|
+
to: AXPSystemStatusType.Cancelled,
|
|
838
|
+
title: '@general:statuses.transitions.cancel',
|
|
839
|
+
},
|
|
840
|
+
];
|
|
841
|
+
this.defaultStatus = AXPSystemStatusType.InProgress;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
845
|
+
|
|
846
|
+
class AXMHealthCoreHealthEventFeatureModule {
|
|
847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreHealthEventFeatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
848
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreHealthEventFeatureModule, imports: [AXPRuntimeModule] }); }
|
|
849
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreHealthEventFeatureModule, providers: [
|
|
850
|
+
{
|
|
851
|
+
provide: AXP_STATUS_PROVIDERS,
|
|
852
|
+
useClass: AXMHealthCoreHealthEventStatusProvider,
|
|
853
|
+
multi: true,
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
857
|
+
useClass: AXMHealthCoreHealthEventExpressionEvaluatorScopeProvider,
|
|
858
|
+
multi: true,
|
|
859
|
+
},
|
|
860
|
+
provideCommandSetups([
|
|
861
|
+
{
|
|
862
|
+
key: AXMHealthCoreCommandKeys.HealthEvent.StartFlow,
|
|
863
|
+
command: () => import('./acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs').then((c) => c.StartHealthEventFlowCommand),
|
|
864
|
+
},
|
|
865
|
+
]),
|
|
866
|
+
], imports: [AXPRuntimeModule] }); }
|
|
867
|
+
}
|
|
868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreHealthEventFeatureModule, decorators: [{
|
|
869
|
+
type: NgModule,
|
|
870
|
+
args: [{
|
|
871
|
+
imports: [AXPRuntimeModule],
|
|
872
|
+
providers: [
|
|
873
|
+
{
|
|
874
|
+
provide: AXP_STATUS_PROVIDERS,
|
|
875
|
+
useClass: AXMHealthCoreHealthEventStatusProvider,
|
|
876
|
+
multi: true,
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
880
|
+
useClass: AXMHealthCoreHealthEventExpressionEvaluatorScopeProvider,
|
|
881
|
+
multi: true,
|
|
882
|
+
},
|
|
883
|
+
provideCommandSetups([
|
|
884
|
+
{
|
|
885
|
+
key: AXMHealthCoreCommandKeys.HealthEvent.StartFlow,
|
|
886
|
+
command: () => import('./acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs').then((c) => c.StartHealthEventFlowCommand),
|
|
887
|
+
},
|
|
888
|
+
]),
|
|
889
|
+
],
|
|
890
|
+
}]
|
|
891
|
+
}] });
|
|
892
|
+
|
|
281
893
|
//#region ---- Imports ----
|
|
282
894
|
//#endregion
|
|
283
895
|
//#region ---- Module ----
|
|
284
896
|
class AXMHealthCoreModule {
|
|
285
897
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
286
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreModule }); }
|
|
898
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreModule, imports: [AXPRuntimeModule, AXMHealthCoreHealthEventFeatureModule] }); }
|
|
287
899
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreModule, providers: [
|
|
288
900
|
{
|
|
289
901
|
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
290
902
|
useValue: HealthCoreManifest,
|
|
291
903
|
multi: true,
|
|
292
904
|
},
|
|
905
|
+
{
|
|
906
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
907
|
+
useClass: AXMHealthCoreCatalogScopeDefinitionProvider,
|
|
908
|
+
multi: true,
|
|
909
|
+
},
|
|
293
910
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMHealthCorePermissionDefinitionProvider)),
|
|
294
911
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMHealthCoreMenuProvider)),
|
|
295
912
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMHealthCoreEntityProvider)),
|
|
@@ -298,18 +915,23 @@ class AXMHealthCoreModule {
|
|
|
298
915
|
useClass: AXMHealthCoreDataSourceProvider,
|
|
299
916
|
multi: true,
|
|
300
917
|
},
|
|
301
|
-
] }); }
|
|
918
|
+
], imports: [AXPRuntimeModule, AXMHealthCoreHealthEventFeatureModule] }); }
|
|
302
919
|
}
|
|
303
920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHealthCoreModule, decorators: [{
|
|
304
921
|
type: NgModule,
|
|
305
922
|
args: [{
|
|
306
|
-
imports: [],
|
|
923
|
+
imports: [AXPRuntimeModule, AXMHealthCoreHealthEventFeatureModule],
|
|
307
924
|
providers: [
|
|
308
925
|
{
|
|
309
926
|
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
310
927
|
useValue: HealthCoreManifest,
|
|
311
928
|
multi: true,
|
|
312
929
|
},
|
|
930
|
+
{
|
|
931
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
932
|
+
useClass: AXMHealthCoreCatalogScopeDefinitionProvider,
|
|
933
|
+
multi: true,
|
|
934
|
+
},
|
|
313
935
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMHealthCorePermissionDefinitionProvider)),
|
|
314
936
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMHealthCoreMenuProvider)),
|
|
315
937
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMHealthCoreEntityProvider)),
|
|
@@ -322,25 +944,1639 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
322
944
|
}]
|
|
323
945
|
}] });
|
|
324
946
|
|
|
325
|
-
//#region ---- Allergy Type Model ----
|
|
326
947
|
//#endregion
|
|
327
|
-
|
|
328
|
-
|
|
948
|
+
//#region ---- Entity Factory ----
|
|
949
|
+
async function bloodTypeFactory() {
|
|
950
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
951
|
+
const propertyLayouts = [
|
|
952
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
953
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
954
|
+
];
|
|
955
|
+
const entityDef = {
|
|
956
|
+
module: RootConfig.module.name,
|
|
957
|
+
name: RootConfig.entities.bloodType.name,
|
|
958
|
+
title: RootConfig.entities.bloodType.title,
|
|
959
|
+
icon: RootConfig.entities.bloodType.icon,
|
|
960
|
+
formats: {
|
|
961
|
+
individual: RootConfig.entities.bloodType.title,
|
|
962
|
+
plural: RootConfig.entities.bloodType.titlePlural,
|
|
963
|
+
searchResult: {
|
|
964
|
+
title: '{{ title }}',
|
|
965
|
+
description: RootConfig.module.title,
|
|
966
|
+
},
|
|
967
|
+
},
|
|
968
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
969
|
+
groups: [
|
|
970
|
+
{
|
|
971
|
+
id: 'basic-info',
|
|
972
|
+
title: '@health-core:blood-types.entities.blood-type.groups.basic-info',
|
|
973
|
+
},
|
|
974
|
+
],
|
|
975
|
+
properties: [
|
|
976
|
+
{
|
|
977
|
+
name: 'id',
|
|
978
|
+
title: '@general:terms.common.id',
|
|
979
|
+
groupId: 'basic-info',
|
|
980
|
+
schema: {
|
|
981
|
+
dataType: 'uuid',
|
|
982
|
+
visible: false,
|
|
983
|
+
readonly: true,
|
|
984
|
+
unique: { enabled: true },
|
|
985
|
+
},
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
name: 'title',
|
|
989
|
+
title: '@general:terms.common.title',
|
|
990
|
+
groupId: 'basic-info',
|
|
991
|
+
options: {
|
|
992
|
+
sort: { enabled: true },
|
|
993
|
+
filter: {
|
|
994
|
+
advance: { enabled: true },
|
|
995
|
+
inline: { enabled: true },
|
|
996
|
+
},
|
|
997
|
+
},
|
|
998
|
+
schema: {
|
|
999
|
+
dataType: 'string',
|
|
1000
|
+
interface: {
|
|
1001
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
1002
|
+
options: {
|
|
1003
|
+
placeholder: '@general:terms.common.title',
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
1006
|
+
},
|
|
1007
|
+
validations: [{ rule: 'required' }],
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
name: 'description',
|
|
1011
|
+
title: '@general:terms.common.description',
|
|
1012
|
+
groupId: 'basic-info',
|
|
1013
|
+
options: {
|
|
1014
|
+
sort: { enabled: false },
|
|
1015
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1016
|
+
},
|
|
1017
|
+
schema: {
|
|
1018
|
+
dataType: 'string',
|
|
1019
|
+
interface: {
|
|
1020
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
1021
|
+
options: {
|
|
1022
|
+
rows: 3,
|
|
1023
|
+
placeholder: '@general:terms.common.description',
|
|
1024
|
+
},
|
|
1025
|
+
},
|
|
1026
|
+
},
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
columns: [
|
|
1030
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
1031
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
1032
|
+
],
|
|
1033
|
+
interfaces: {
|
|
1034
|
+
master: {
|
|
1035
|
+
create: {
|
|
1036
|
+
sections,
|
|
1037
|
+
properties: propertyLayouts,
|
|
1038
|
+
},
|
|
1039
|
+
update: {
|
|
1040
|
+
sections,
|
|
1041
|
+
properties: propertyLayouts,
|
|
1042
|
+
},
|
|
1043
|
+
single: {
|
|
1044
|
+
title: '{{ title }}',
|
|
1045
|
+
sections,
|
|
1046
|
+
properties: propertyLayouts,
|
|
1047
|
+
actions: [...entityMasterRecordActions()],
|
|
1048
|
+
},
|
|
1049
|
+
list: {
|
|
1050
|
+
actions: [...entityMasterCrudActions()],
|
|
1051
|
+
views: [
|
|
1052
|
+
createAllQueryView({
|
|
1053
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
1054
|
+
}),
|
|
1055
|
+
],
|
|
1056
|
+
},
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
};
|
|
1060
|
+
return entityDef;
|
|
1061
|
+
}
|
|
329
1062
|
//#endregion
|
|
330
1063
|
|
|
331
|
-
|
|
332
|
-
|
|
1064
|
+
var bloodType_entity = /*#__PURE__*/Object.freeze({
|
|
1065
|
+
__proto__: null,
|
|
1066
|
+
bloodTypeFactory: bloodTypeFactory
|
|
1067
|
+
});
|
|
333
1068
|
|
|
334
|
-
//#region ---- Chronic Condition Type Model ----
|
|
335
1069
|
//#endregion
|
|
336
1070
|
|
|
337
|
-
//#region ---- Disability Status Model ----
|
|
338
1071
|
//#endregion
|
|
339
|
-
|
|
340
|
-
|
|
1072
|
+
//#region ---- Entity Factory ----
|
|
1073
|
+
async function bodyPartFactory() {
|
|
1074
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
1075
|
+
const propertyLayouts = [
|
|
1076
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
1077
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
1078
|
+
];
|
|
1079
|
+
const entityDef = {
|
|
1080
|
+
module: RootConfig.module.name,
|
|
1081
|
+
name: RootConfig.entities.bodyPart.name,
|
|
1082
|
+
title: RootConfig.entities.bodyPart.title,
|
|
1083
|
+
icon: RootConfig.entities.bodyPart.icon,
|
|
1084
|
+
formats: {
|
|
1085
|
+
individual: RootConfig.entities.bodyPart.title,
|
|
1086
|
+
plural: RootConfig.entities.bodyPart.titlePlural,
|
|
1087
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
1088
|
+
},
|
|
1089
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
1090
|
+
groups: [{ id: 'basic-info', title: '@health-core:body-parts.entities.body-part.groups.basic-info' }],
|
|
1091
|
+
properties: [
|
|
1092
|
+
{ name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
|
|
1093
|
+
{
|
|
1094
|
+
name: 'title',
|
|
1095
|
+
title: '@general:terms.common.title',
|
|
1096
|
+
groupId: 'basic-info',
|
|
1097
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
1098
|
+
schema: {
|
|
1099
|
+
dataType: 'string',
|
|
1100
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
|
|
1101
|
+
},
|
|
1102
|
+
validations: [{ rule: 'required' }],
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
name: 'description',
|
|
1106
|
+
title: '@general:terms.common.description',
|
|
1107
|
+
groupId: 'basic-info',
|
|
1108
|
+
options: {
|
|
1109
|
+
sort: { enabled: false },
|
|
1110
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1111
|
+
},
|
|
1112
|
+
schema: {
|
|
1113
|
+
dataType: 'string',
|
|
1114
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
|
|
1115
|
+
},
|
|
1116
|
+
},
|
|
1117
|
+
],
|
|
1118
|
+
columns: [
|
|
1119
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
1120
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
1121
|
+
],
|
|
1122
|
+
interfaces: {
|
|
1123
|
+
master: {
|
|
1124
|
+
create: { sections, properties: propertyLayouts },
|
|
1125
|
+
update: { sections, properties: propertyLayouts },
|
|
1126
|
+
single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
|
|
1127
|
+
list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
|
|
1128
|
+
},
|
|
1129
|
+
},
|
|
1130
|
+
};
|
|
1131
|
+
return entityDef;
|
|
1132
|
+
}
|
|
341
1133
|
//#endregion
|
|
342
1134
|
|
|
343
|
-
|
|
1135
|
+
var bodyPart_entity = /*#__PURE__*/Object.freeze({
|
|
1136
|
+
__proto__: null,
|
|
1137
|
+
bodyPartFactory: bodyPartFactory
|
|
1138
|
+
});
|
|
1139
|
+
|
|
1140
|
+
//#endregion
|
|
1141
|
+
|
|
1142
|
+
//#endregion
|
|
1143
|
+
//#region ---- Entity Factory ----
|
|
1144
|
+
async function disabilityStatusFactory() {
|
|
1145
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
1146
|
+
const propertyLayouts = [
|
|
1147
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
1148
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
1149
|
+
];
|
|
1150
|
+
const entityDef = {
|
|
1151
|
+
module: RootConfig.module.name,
|
|
1152
|
+
name: RootConfig.entities.disabilityStatus.name,
|
|
1153
|
+
title: RootConfig.entities.disabilityStatus.title,
|
|
1154
|
+
icon: RootConfig.entities.disabilityStatus.icon,
|
|
1155
|
+
formats: {
|
|
1156
|
+
individual: RootConfig.entities.disabilityStatus.title,
|
|
1157
|
+
plural: RootConfig.entities.disabilityStatus.titlePlural,
|
|
1158
|
+
searchResult: {
|
|
1159
|
+
title: '{{ title }}',
|
|
1160
|
+
description: RootConfig.module.title,
|
|
1161
|
+
},
|
|
1162
|
+
},
|
|
1163
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
1164
|
+
groups: [
|
|
1165
|
+
{
|
|
1166
|
+
id: 'basic-info',
|
|
1167
|
+
title: '@health-core:disability-statuses.entities.disability-status.groups.basic-info',
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1170
|
+
properties: [
|
|
1171
|
+
{
|
|
1172
|
+
name: 'id',
|
|
1173
|
+
title: '@general:terms.common.id',
|
|
1174
|
+
groupId: 'basic-info',
|
|
1175
|
+
schema: {
|
|
1176
|
+
dataType: 'uuid',
|
|
1177
|
+
visible: false,
|
|
1178
|
+
readonly: true,
|
|
1179
|
+
unique: { enabled: true },
|
|
1180
|
+
},
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
name: 'title',
|
|
1184
|
+
title: '@general:terms.common.title',
|
|
1185
|
+
groupId: 'basic-info',
|
|
1186
|
+
options: {
|
|
1187
|
+
sort: { enabled: true },
|
|
1188
|
+
filter: {
|
|
1189
|
+
advance: { enabled: true },
|
|
1190
|
+
inline: { enabled: true },
|
|
1191
|
+
},
|
|
1192
|
+
},
|
|
1193
|
+
schema: {
|
|
1194
|
+
dataType: 'string',
|
|
1195
|
+
interface: {
|
|
1196
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
1197
|
+
options: {
|
|
1198
|
+
placeholder: '@general:terms.common.title',
|
|
1199
|
+
},
|
|
1200
|
+
},
|
|
1201
|
+
},
|
|
1202
|
+
validations: [{ rule: 'required' }],
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
name: 'description',
|
|
1206
|
+
title: '@general:terms.common.description',
|
|
1207
|
+
groupId: 'basic-info',
|
|
1208
|
+
options: {
|
|
1209
|
+
sort: { enabled: false },
|
|
1210
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1211
|
+
},
|
|
1212
|
+
schema: {
|
|
1213
|
+
dataType: 'string',
|
|
1214
|
+
interface: {
|
|
1215
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
1216
|
+
options: {
|
|
1217
|
+
rows: 3,
|
|
1218
|
+
placeholder: '@general:terms.common.description',
|
|
1219
|
+
},
|
|
1220
|
+
},
|
|
1221
|
+
},
|
|
1222
|
+
},
|
|
1223
|
+
],
|
|
1224
|
+
columns: [
|
|
1225
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
1226
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
1227
|
+
],
|
|
1228
|
+
interfaces: {
|
|
1229
|
+
master: {
|
|
1230
|
+
create: {
|
|
1231
|
+
sections,
|
|
1232
|
+
properties: propertyLayouts,
|
|
1233
|
+
},
|
|
1234
|
+
update: {
|
|
1235
|
+
sections,
|
|
1236
|
+
properties: propertyLayouts,
|
|
1237
|
+
},
|
|
1238
|
+
single: {
|
|
1239
|
+
title: '{{ title }}',
|
|
1240
|
+
sections,
|
|
1241
|
+
properties: propertyLayouts,
|
|
1242
|
+
actions: [...entityMasterRecordActions()],
|
|
1243
|
+
},
|
|
1244
|
+
list: {
|
|
1245
|
+
actions: [...entityMasterCrudActions()],
|
|
1246
|
+
views: [
|
|
1247
|
+
createAllQueryView({
|
|
1248
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
1249
|
+
}),
|
|
1250
|
+
],
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1253
|
+
},
|
|
1254
|
+
};
|
|
1255
|
+
return entityDef;
|
|
1256
|
+
}
|
|
1257
|
+
//#endregion
|
|
1258
|
+
|
|
1259
|
+
var disabilityStatus_entity = /*#__PURE__*/Object.freeze({
|
|
1260
|
+
__proto__: null,
|
|
1261
|
+
disabilityStatusFactory: disabilityStatusFactory
|
|
1262
|
+
});
|
|
1263
|
+
|
|
1264
|
+
//#endregion
|
|
1265
|
+
|
|
1266
|
+
//#region ---- Imports ----
|
|
1267
|
+
//#endregion
|
|
1268
|
+
|
|
1269
|
+
//#region ---- Imports ----
|
|
1270
|
+
//#endregion
|
|
1271
|
+
//#region ---- Repeater children ----
|
|
1272
|
+
const RESTRICTIONS_REPEATER_CHILDREN = [
|
|
1273
|
+
{
|
|
1274
|
+
type: AXPWidgetsList.Layouts.GridLayout,
|
|
1275
|
+
mode: 'edit',
|
|
1276
|
+
name: 'restrictionRow',
|
|
1277
|
+
options: {
|
|
1278
|
+
grid: {
|
|
1279
|
+
default: {
|
|
1280
|
+
columns: 12,
|
|
1281
|
+
gap: '1rem',
|
|
1282
|
+
},
|
|
1283
|
+
},
|
|
1284
|
+
},
|
|
1285
|
+
children: [
|
|
1286
|
+
{
|
|
1287
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
1288
|
+
mode: 'edit',
|
|
1289
|
+
options: { colSpan: 6 },
|
|
1290
|
+
children: [
|
|
1291
|
+
{
|
|
1292
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
1293
|
+
mode: 'edit',
|
|
1294
|
+
options: {
|
|
1295
|
+
label: '@health-core:health-conditions.entities.health-condition.fields.restriction-id',
|
|
1296
|
+
showLabel: true,
|
|
1297
|
+
},
|
|
1298
|
+
children: [
|
|
1299
|
+
{
|
|
1300
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
1301
|
+
mode: 'edit',
|
|
1302
|
+
path: 'restrictionId',
|
|
1303
|
+
name: 'restrictionId',
|
|
1304
|
+
options: {
|
|
1305
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.healthRestriction.name}`,
|
|
1306
|
+
textField: 'title',
|
|
1307
|
+
valueField: 'id',
|
|
1308
|
+
look: 'select',
|
|
1309
|
+
columns: ['title', 'description'],
|
|
1310
|
+
expose: [
|
|
1311
|
+
{ source: 'id', target: 'restriction.id' },
|
|
1312
|
+
{ source: 'title', target: 'restriction.title' },
|
|
1313
|
+
],
|
|
1314
|
+
validations: [{ rule: 'required' }],
|
|
1315
|
+
},
|
|
1316
|
+
},
|
|
1317
|
+
],
|
|
1318
|
+
},
|
|
1319
|
+
],
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
1323
|
+
mode: 'edit',
|
|
1324
|
+
options: { colSpan: 3 },
|
|
1325
|
+
children: [
|
|
1326
|
+
{
|
|
1327
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
1328
|
+
mode: 'edit',
|
|
1329
|
+
options: {
|
|
1330
|
+
label: '@health-core:health-conditions.entities.health-condition.fields.start-date',
|
|
1331
|
+
showLabel: true,
|
|
1332
|
+
},
|
|
1333
|
+
children: [
|
|
1334
|
+
{
|
|
1335
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
1336
|
+
mode: 'edit',
|
|
1337
|
+
path: 'startDate',
|
|
1338
|
+
name: 'startDate',
|
|
1339
|
+
options: {},
|
|
1340
|
+
},
|
|
1341
|
+
],
|
|
1342
|
+
},
|
|
1343
|
+
],
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
1347
|
+
mode: 'edit',
|
|
1348
|
+
options: { colSpan: 3 },
|
|
1349
|
+
children: [
|
|
1350
|
+
{
|
|
1351
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
1352
|
+
mode: 'edit',
|
|
1353
|
+
options: {
|
|
1354
|
+
label: '@health-core:health-conditions.entities.health-condition.fields.end-date',
|
|
1355
|
+
showLabel: true,
|
|
1356
|
+
},
|
|
1357
|
+
children: [
|
|
1358
|
+
{
|
|
1359
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
1360
|
+
mode: 'edit',
|
|
1361
|
+
path: 'endDate',
|
|
1362
|
+
name: 'endDate',
|
|
1363
|
+
options: {},
|
|
1364
|
+
},
|
|
1365
|
+
],
|
|
1366
|
+
},
|
|
1367
|
+
],
|
|
1368
|
+
},
|
|
1369
|
+
],
|
|
1370
|
+
},
|
|
1371
|
+
];
|
|
1372
|
+
//#endregion
|
|
1373
|
+
//#region ---- Entity Factory ----
|
|
1374
|
+
async function healthConditionFactory() {
|
|
1375
|
+
const sections = [
|
|
1376
|
+
{ id: 'condition-details', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1377
|
+
{ id: 'restrictions', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1378
|
+
];
|
|
1379
|
+
const restrictionsPropertyLayout = {
|
|
1380
|
+
name: 'restrictions',
|
|
1381
|
+
layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } },
|
|
1382
|
+
};
|
|
1383
|
+
const viewPropertyLayouts = [
|
|
1384
|
+
{ name: 'subject.id', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1385
|
+
{ name: 'conditionTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1386
|
+
{ name: 'diagnosedDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1387
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1388
|
+
restrictionsPropertyLayout,
|
|
1389
|
+
];
|
|
1390
|
+
const editPropertyLayouts = omitHealthSubjectFromEditLayouts(viewPropertyLayouts);
|
|
1391
|
+
const entityDef = {
|
|
1392
|
+
module: RootConfig.module.name,
|
|
1393
|
+
name: RootConfig.entities.healthCondition.name,
|
|
1394
|
+
title: RootConfig.entities.healthCondition.title,
|
|
1395
|
+
icon: RootConfig.entities.healthCondition.icon,
|
|
1396
|
+
plugins: [
|
|
1397
|
+
{ name: 'history' },
|
|
1398
|
+
{
|
|
1399
|
+
name: 'meta-data-form',
|
|
1400
|
+
options: {
|
|
1401
|
+
title: '@health-core:health-conditions.entities.health-condition.groups.more-information',
|
|
1402
|
+
path: 'conditionTypeId',
|
|
1403
|
+
display: {
|
|
1404
|
+
section: {
|
|
1405
|
+
order: 2,
|
|
1406
|
+
},
|
|
1407
|
+
},
|
|
1408
|
+
},
|
|
1409
|
+
},
|
|
1410
|
+
],
|
|
1411
|
+
formats: {
|
|
1412
|
+
individual: RootConfig.entities.healthCondition.title,
|
|
1413
|
+
plural: RootConfig.entities.healthCondition.titlePlural,
|
|
1414
|
+
searchResult: {
|
|
1415
|
+
title: '{{ context.eval("conditionType.title", { pipes: ["translate"] }) }}',
|
|
1416
|
+
description: '{{ context.eval("subject.title", { pipes: ["translate"] }) }}',
|
|
1417
|
+
},
|
|
1418
|
+
},
|
|
1419
|
+
groups: [
|
|
1420
|
+
{
|
|
1421
|
+
id: 'condition-details',
|
|
1422
|
+
title: '@health-core:health-conditions.entities.health-condition.groups.condition-details',
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
id: 'restrictions',
|
|
1426
|
+
title: '@health-core:health-conditions.entities.health-condition.groups.restrictions',
|
|
1427
|
+
},
|
|
1428
|
+
],
|
|
1429
|
+
properties: [
|
|
1430
|
+
{
|
|
1431
|
+
name: 'id',
|
|
1432
|
+
title: '@general:terms.common.id',
|
|
1433
|
+
groupId: 'condition-details',
|
|
1434
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
1435
|
+
},
|
|
1436
|
+
createHealthSubjectLookupProperty('condition-details', { readonly: true }),
|
|
1437
|
+
{
|
|
1438
|
+
name: 'conditionTypeId',
|
|
1439
|
+
title: '@health-core:health-conditions.entities.health-condition.fields.condition-type-id',
|
|
1440
|
+
groupId: 'condition-details',
|
|
1441
|
+
options: {
|
|
1442
|
+
sort: { enabled: true },
|
|
1443
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1444
|
+
},
|
|
1445
|
+
schema: {
|
|
1446
|
+
dataType: 'string',
|
|
1447
|
+
interface: {
|
|
1448
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
1449
|
+
options: {
|
|
1450
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.healthConditionType.name}`,
|
|
1451
|
+
textField: 'title',
|
|
1452
|
+
valueField: 'id',
|
|
1453
|
+
look: 'select',
|
|
1454
|
+
columns: ['title', 'kind'],
|
|
1455
|
+
expose: [
|
|
1456
|
+
{ source: 'id', target: 'conditionType.id' },
|
|
1457
|
+
{ source: 'title', target: 'conditionType.title' },
|
|
1458
|
+
{ source: 'kind', target: 'conditionType.kind' },
|
|
1459
|
+
],
|
|
1460
|
+
},
|
|
1461
|
+
},
|
|
1462
|
+
},
|
|
1463
|
+
validations: [{ rule: 'required' }],
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
name: 'diagnosedDate',
|
|
1467
|
+
title: '@health-core:health-conditions.entities.health-condition.fields.diagnosed-date',
|
|
1468
|
+
groupId: 'condition-details',
|
|
1469
|
+
options: {
|
|
1470
|
+
sort: { enabled: true },
|
|
1471
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1472
|
+
},
|
|
1473
|
+
schema: {
|
|
1474
|
+
dataType: 'date',
|
|
1475
|
+
interface: { type: AXPWidgetsList.Editors.DateTimeBox },
|
|
1476
|
+
},
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: 'restrictions',
|
|
1480
|
+
title: '@health-core:health-conditions.entities.health-condition.fields.restrictions.title',
|
|
1481
|
+
groupId: 'restrictions',
|
|
1482
|
+
schema: {
|
|
1483
|
+
defaultValue: [],
|
|
1484
|
+
dataType: 'array',
|
|
1485
|
+
interface: {
|
|
1486
|
+
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
1487
|
+
options: { hasControls: true },
|
|
1488
|
+
children: [...RESTRICTIONS_REPEATER_CHILDREN],
|
|
1489
|
+
},
|
|
1490
|
+
},
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
name: 'notes',
|
|
1494
|
+
title: '@general:terms.common.notes',
|
|
1495
|
+
groupId: 'condition-details',
|
|
1496
|
+
options: {
|
|
1497
|
+
sort: { enabled: false },
|
|
1498
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1499
|
+
},
|
|
1500
|
+
schema: {
|
|
1501
|
+
dataType: 'string',
|
|
1502
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 2 } },
|
|
1503
|
+
},
|
|
1504
|
+
},
|
|
1505
|
+
],
|
|
1506
|
+
columns: [
|
|
1507
|
+
{ name: 'conditionTypeId', options: { dataPath: 'conditionType.title', width: '300px' } },
|
|
1508
|
+
{ name: 'diagnosedDate', options: { width: '150px' } },
|
|
1509
|
+
{ name: 'restrictions', options: { width: '280px' } },
|
|
1510
|
+
{ name: 'notes', options: { width: '300px' } },
|
|
1511
|
+
],
|
|
1512
|
+
interfaces: {
|
|
1513
|
+
master: {
|
|
1514
|
+
create: { sections, properties: editPropertyLayouts },
|
|
1515
|
+
update: { sections, properties: editPropertyLayouts },
|
|
1516
|
+
single: {
|
|
1517
|
+
title: '{{ context.eval("conditionType.title", { pipes: ["translate"] }) }}',
|
|
1518
|
+
sections,
|
|
1519
|
+
properties: viewPropertyLayouts,
|
|
1520
|
+
actions: [...entityMasterRecordActions()],
|
|
1521
|
+
},
|
|
1522
|
+
list: {
|
|
1523
|
+
actions: [...entityMasterCrudActions()],
|
|
1524
|
+
views: [createAllQueryView({ sorts: [{ name: 'diagnosedDate', dir: 'desc' }] })],
|
|
1525
|
+
},
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1528
|
+
};
|
|
1529
|
+
return entityDef;
|
|
1530
|
+
}
|
|
1531
|
+
//#endregion
|
|
1532
|
+
|
|
1533
|
+
var healthCondition_entity = /*#__PURE__*/Object.freeze({
|
|
1534
|
+
__proto__: null,
|
|
1535
|
+
healthConditionFactory: healthConditionFactory
|
|
1536
|
+
});
|
|
1537
|
+
|
|
1538
|
+
//#region ---- Imports ----
|
|
1539
|
+
//#endregion
|
|
1540
|
+
|
|
1541
|
+
//#region ---- Imports ----
|
|
1542
|
+
//#endregion
|
|
1543
|
+
//#region ---- Entity Factory ----
|
|
1544
|
+
async function healthConditionTypeFactory() {
|
|
1545
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
1546
|
+
const propertyLayouts = [
|
|
1547
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
1548
|
+
{ name: 'kind', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
1549
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
1550
|
+
{ name: 'suggestedRestrictionIds', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
1551
|
+
];
|
|
1552
|
+
const entityDef = {
|
|
1553
|
+
module: RootConfig.module.name,
|
|
1554
|
+
name: RootConfig.entities.healthConditionType.name,
|
|
1555
|
+
title: RootConfig.entities.healthConditionType.title,
|
|
1556
|
+
icon: RootConfig.entities.healthConditionType.icon,
|
|
1557
|
+
formats: {
|
|
1558
|
+
individual: RootConfig.entities.healthConditionType.title,
|
|
1559
|
+
plural: RootConfig.entities.healthConditionType.titlePlural,
|
|
1560
|
+
searchResult: { title: '{{ title }}', description: '{{ kind }}' },
|
|
1561
|
+
},
|
|
1562
|
+
plugins: [
|
|
1563
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
1564
|
+
{ name: 'history' },
|
|
1565
|
+
{ name: 'compare' },
|
|
1566
|
+
{ name: 'clone' },
|
|
1567
|
+
],
|
|
1568
|
+
groups: [
|
|
1569
|
+
{
|
|
1570
|
+
id: 'basic-info',
|
|
1571
|
+
title: '@health-core:health-condition-types.entities.health-condition-type.groups.basic-info',
|
|
1572
|
+
},
|
|
1573
|
+
],
|
|
1574
|
+
properties: [
|
|
1575
|
+
{
|
|
1576
|
+
name: 'id',
|
|
1577
|
+
title: '@general:terms.common.id',
|
|
1578
|
+
groupId: 'basic-info',
|
|
1579
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: 'title',
|
|
1583
|
+
title: '@general:terms.common.title',
|
|
1584
|
+
groupId: 'basic-info',
|
|
1585
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
1586
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
1587
|
+
validations: [{ rule: 'required' }],
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
name: 'kind',
|
|
1591
|
+
title: '@health-core:health-condition-types.entities.health-condition-type.fields.kind',
|
|
1592
|
+
groupId: 'basic-info',
|
|
1593
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
1594
|
+
schema: {
|
|
1595
|
+
dataType: 'string',
|
|
1596
|
+
interface: {
|
|
1597
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
1598
|
+
options: {
|
|
1599
|
+
dataSource: [
|
|
1600
|
+
{ value: 'allergy', title: '@health-core:health-condition-types.kinds.allergy' },
|
|
1601
|
+
{ value: 'chronic', title: '@health-core:health-condition-types.kinds.chronic' },
|
|
1602
|
+
],
|
|
1603
|
+
valueField: 'value',
|
|
1604
|
+
textField: 'title',
|
|
1605
|
+
},
|
|
1606
|
+
},
|
|
1607
|
+
},
|
|
1608
|
+
validations: [{ rule: 'required' }],
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
name: 'description',
|
|
1612
|
+
title: '@general:terms.common.description',
|
|
1613
|
+
groupId: 'basic-info',
|
|
1614
|
+
options: {
|
|
1615
|
+
sort: { enabled: false },
|
|
1616
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1617
|
+
},
|
|
1618
|
+
schema: {
|
|
1619
|
+
dataType: 'string',
|
|
1620
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
|
|
1621
|
+
},
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
name: 'suggestedRestrictionIds',
|
|
1625
|
+
title: '@health-core:health-condition-types.entities.health-condition-type.fields.suggested-restriction-ids',
|
|
1626
|
+
groupId: 'basic-info',
|
|
1627
|
+
options: {
|
|
1628
|
+
sort: { enabled: false },
|
|
1629
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1630
|
+
},
|
|
1631
|
+
schema: {
|
|
1632
|
+
dataType: 'array',
|
|
1633
|
+
interface: {
|
|
1634
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
1635
|
+
options: {
|
|
1636
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.healthRestriction.name}`,
|
|
1637
|
+
textField: 'title',
|
|
1638
|
+
valueField: 'id',
|
|
1639
|
+
look: 'select',
|
|
1640
|
+
multiple: true,
|
|
1641
|
+
hasClearButton: true,
|
|
1642
|
+
columns: ['title', 'description'],
|
|
1643
|
+
expose: [
|
|
1644
|
+
{ source: 'id', target: 'suggestedRestrictions.{id}' },
|
|
1645
|
+
{ source: 'title', target: 'suggestedRestrictions.{title}' },
|
|
1646
|
+
],
|
|
1647
|
+
},
|
|
1648
|
+
},
|
|
1649
|
+
},
|
|
1650
|
+
},
|
|
1651
|
+
],
|
|
1652
|
+
columns: [
|
|
1653
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
1654
|
+
{ name: 'kind', options: { width: '120px', order: 2 } },
|
|
1655
|
+
{ name: 'description', options: { width: '280px', order: 3 } },
|
|
1656
|
+
{ name: 'suggestedRestrictionIds', options: { dataPath: 'suggestedRestrictions', width: '240px', order: 4 } },
|
|
1657
|
+
],
|
|
1658
|
+
interfaces: {
|
|
1659
|
+
master: {
|
|
1660
|
+
create: { sections, properties: propertyLayouts },
|
|
1661
|
+
update: { sections, properties: propertyLayouts },
|
|
1662
|
+
single: {
|
|
1663
|
+
title: '{{ title }}',
|
|
1664
|
+
sections,
|
|
1665
|
+
properties: propertyLayouts,
|
|
1666
|
+
actions: [...entityMasterRecordActions()],
|
|
1667
|
+
},
|
|
1668
|
+
list: {
|
|
1669
|
+
actions: [...entityMasterCrudActions()],
|
|
1670
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
1671
|
+
},
|
|
1672
|
+
},
|
|
1673
|
+
},
|
|
1674
|
+
};
|
|
1675
|
+
return entityDef;
|
|
1676
|
+
}
|
|
1677
|
+
//#endregion
|
|
1678
|
+
|
|
1679
|
+
var healthConditionType_entity = /*#__PURE__*/Object.freeze({
|
|
1680
|
+
__proto__: null,
|
|
1681
|
+
healthConditionTypeFactory: healthConditionTypeFactory
|
|
1682
|
+
});
|
|
1683
|
+
|
|
1684
|
+
//#region ---- Imports ----
|
|
1685
|
+
//#endregion
|
|
1686
|
+
|
|
1687
|
+
//#region ---- Imports ----
|
|
1688
|
+
//#endregion
|
|
1689
|
+
//#region ---- Shared property layouts ----
|
|
1690
|
+
const eventDetailsViewProperties = [
|
|
1691
|
+
{ name: 'subject.id', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
1692
|
+
{ name: 'recordTypeId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
1693
|
+
{ name: 'occurredDate', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
1694
|
+
{ name: 'endDate', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
1695
|
+
{ name: 'provider', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
1696
|
+
{ name: 'facility', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
1697
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
1698
|
+
{ name: 'employeeSignature', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1699
|
+
{ name: 'employeeSignedAt', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1700
|
+
{ name: 'managerSignature', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1701
|
+
{ name: 'managerSignedAt', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1702
|
+
];
|
|
1703
|
+
const eventDetailsEditProperties = omitHealthSubjectFromEditLayouts(eventDetailsViewProperties);
|
|
1704
|
+
//#endregion
|
|
1705
|
+
//#region ---- Entity Factory ----
|
|
1706
|
+
async function healthEventFactory() {
|
|
1707
|
+
const entityDef = {
|
|
1708
|
+
module: RootConfig.module.name,
|
|
1709
|
+
name: RootConfig.entities.healthEvent.name,
|
|
1710
|
+
title: RootConfig.entities.healthEvent.title,
|
|
1711
|
+
icon: RootConfig.entities.healthEvent.icon,
|
|
1712
|
+
plugins: [
|
|
1713
|
+
{ name: 'history' },
|
|
1714
|
+
{
|
|
1715
|
+
name: 'attachments',
|
|
1716
|
+
options: {
|
|
1717
|
+
showListAction: false,
|
|
1718
|
+
},
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
name: 'workflow-run',
|
|
1722
|
+
options: {
|
|
1723
|
+
list: {
|
|
1724
|
+
mode: 'workflow-run',
|
|
1725
|
+
},
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
name: 'status',
|
|
1730
|
+
options: {
|
|
1731
|
+
field: 'statusId',
|
|
1732
|
+
definition: 'health-core.status.health-event',
|
|
1733
|
+
},
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
name: 'meta-data-form',
|
|
1737
|
+
options: {
|
|
1738
|
+
title: '@health-core:health-events.entities.health-event.groups.more-information',
|
|
1739
|
+
path: 'recordTypeId',
|
|
1740
|
+
display: 'section',
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
formats: {
|
|
1745
|
+
individual: RootConfig.entities.healthEvent.title,
|
|
1746
|
+
plural: RootConfig.entities.healthEvent.titlePlural,
|
|
1747
|
+
searchResult: {
|
|
1748
|
+
title: '{{ context.eval("recordType.title", { pipes: ["translate"] }) }}',
|
|
1749
|
+
description: '{{ context.eval("subject.title", { pipes: ["translate"] }) }}',
|
|
1750
|
+
},
|
|
1751
|
+
},
|
|
1752
|
+
groups: [
|
|
1753
|
+
{
|
|
1754
|
+
id: 'event-details',
|
|
1755
|
+
title: '@health-core:health-events.entities.health-event.groups.event-details',
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
id: 'sign-off',
|
|
1759
|
+
title: '@health-core:health-events.entities.health-event.groups.sign-off',
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
properties: [
|
|
1763
|
+
{
|
|
1764
|
+
name: 'id',
|
|
1765
|
+
title: 'ID',
|
|
1766
|
+
groupId: 'event-details',
|
|
1767
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
1768
|
+
},
|
|
1769
|
+
createHealthSubjectLookupProperty('event-details', { readonly: true }),
|
|
1770
|
+
{
|
|
1771
|
+
name: 'recordTypeId',
|
|
1772
|
+
title: '@health-core:health-events.entities.health-event.fields.record-type-id',
|
|
1773
|
+
groupId: 'event-details',
|
|
1774
|
+
options: {
|
|
1775
|
+
sort: { enabled: true },
|
|
1776
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1777
|
+
},
|
|
1778
|
+
schema: {
|
|
1779
|
+
dataType: 'string',
|
|
1780
|
+
interface: {
|
|
1781
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
1782
|
+
options: {
|
|
1783
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.healthRecordType.name}`,
|
|
1784
|
+
textField: 'title',
|
|
1785
|
+
valueField: 'id',
|
|
1786
|
+
look: 'select',
|
|
1787
|
+
columns: ['title'],
|
|
1788
|
+
expose: [
|
|
1789
|
+
{ source: 'id', target: 'recordType.id' },
|
|
1790
|
+
{ source: 'title', target: 'recordType.title' },
|
|
1791
|
+
],
|
|
1792
|
+
},
|
|
1793
|
+
},
|
|
1794
|
+
},
|
|
1795
|
+
validations: [{ rule: 'required' }],
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
name: 'occurredDate',
|
|
1799
|
+
title: '@health-core:health-events.entities.health-event.fields.occurred-date',
|
|
1800
|
+
groupId: 'event-details',
|
|
1801
|
+
options: {
|
|
1802
|
+
sort: { enabled: true },
|
|
1803
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1804
|
+
},
|
|
1805
|
+
schema: {
|
|
1806
|
+
dataType: 'date',
|
|
1807
|
+
defaultValue: '{{ date.today() }}',
|
|
1808
|
+
interface: { type: AXPWidgetsList.Editors.DateTimeBox },
|
|
1809
|
+
},
|
|
1810
|
+
validations: [{ rule: 'required' }],
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
name: 'endDate',
|
|
1814
|
+
title: '@health-core:health-events.entities.health-event.fields.end-date',
|
|
1815
|
+
groupId: 'event-details',
|
|
1816
|
+
options: {
|
|
1817
|
+
sort: { enabled: true },
|
|
1818
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1819
|
+
},
|
|
1820
|
+
schema: {
|
|
1821
|
+
dataType: 'date',
|
|
1822
|
+
nullable: true,
|
|
1823
|
+
interface: { type: AXPWidgetsList.Editors.DateTimeBox },
|
|
1824
|
+
},
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
name: 'provider',
|
|
1828
|
+
title: '@health-core:health-events.entities.health-event.fields.provider.title',
|
|
1829
|
+
groupId: 'event-details',
|
|
1830
|
+
options: {
|
|
1831
|
+
sort: { enabled: true },
|
|
1832
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1833
|
+
},
|
|
1834
|
+
schema: {
|
|
1835
|
+
dataType: 'string',
|
|
1836
|
+
interface: {
|
|
1837
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
1838
|
+
options: {
|
|
1839
|
+
placeholder: '@health-core:health-events.entities.health-event.fields.provider.placeholder',
|
|
1840
|
+
},
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
name: 'facility',
|
|
1846
|
+
title: '@health-core:health-events.entities.health-event.fields.facility.title',
|
|
1847
|
+
groupId: 'event-details',
|
|
1848
|
+
options: {
|
|
1849
|
+
sort: { enabled: true },
|
|
1850
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1851
|
+
},
|
|
1852
|
+
schema: {
|
|
1853
|
+
dataType: 'string',
|
|
1854
|
+
interface: {
|
|
1855
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
1856
|
+
options: {
|
|
1857
|
+
placeholder: '@health-core:health-events.entities.health-event.fields.facility.placeholder',
|
|
1858
|
+
},
|
|
1859
|
+
},
|
|
1860
|
+
},
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
name: 'notes',
|
|
1864
|
+
title: '@general:terms.common.notes',
|
|
1865
|
+
groupId: 'event-details',
|
|
1866
|
+
options: {
|
|
1867
|
+
sort: { enabled: false },
|
|
1868
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
1869
|
+
},
|
|
1870
|
+
schema: {
|
|
1871
|
+
dataType: 'string',
|
|
1872
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
|
|
1873
|
+
},
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
name: 'employeeSignature',
|
|
1877
|
+
title: '@health-core:health-events.entities.health-event.fields.employee-signature',
|
|
1878
|
+
groupId: 'sign-off',
|
|
1879
|
+
schema: {
|
|
1880
|
+
dataType: 'string',
|
|
1881
|
+
nullable: true,
|
|
1882
|
+
readonly: true,
|
|
1883
|
+
interface: { type: AXPWidgetsList.Editors.SignatureBox },
|
|
1884
|
+
},
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
name: 'employeeSignedAt',
|
|
1888
|
+
title: '@health-core:health-events.entities.health-event.fields.employee-signed-at',
|
|
1889
|
+
groupId: 'sign-off',
|
|
1890
|
+
schema: {
|
|
1891
|
+
dataType: 'date',
|
|
1892
|
+
nullable: true,
|
|
1893
|
+
readonly: true,
|
|
1894
|
+
interface: { type: AXPWidgetsList.Editors.DateTimeBox },
|
|
1895
|
+
},
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
name: 'managerSignature',
|
|
1899
|
+
title: '@health-core:health-events.entities.health-event.fields.manager-signature',
|
|
1900
|
+
groupId: 'sign-off',
|
|
1901
|
+
schema: {
|
|
1902
|
+
dataType: 'string',
|
|
1903
|
+
nullable: true,
|
|
1904
|
+
readonly: true,
|
|
1905
|
+
interface: { type: AXPWidgetsList.Editors.SignatureBox },
|
|
1906
|
+
},
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
name: 'managerSignedAt',
|
|
1910
|
+
title: '@health-core:health-events.entities.health-event.fields.manager-signed-at',
|
|
1911
|
+
groupId: 'sign-off',
|
|
1912
|
+
schema: {
|
|
1913
|
+
dataType: 'date',
|
|
1914
|
+
nullable: true,
|
|
1915
|
+
readonly: true,
|
|
1916
|
+
interface: { type: AXPWidgetsList.Editors.DateTimeBox },
|
|
1917
|
+
},
|
|
1918
|
+
},
|
|
1919
|
+
],
|
|
1920
|
+
columns: [
|
|
1921
|
+
{ name: 'recordTypeId', options: { dataPath: 'recordType.title' } },
|
|
1922
|
+
{ name: 'occurredDate' },
|
|
1923
|
+
{ name: 'endDate' },
|
|
1924
|
+
{ name: 'provider' },
|
|
1925
|
+
{ name: 'statusId' },
|
|
1926
|
+
{ name: 'subject.id', options: { dataPath: 'subject.title' } },
|
|
1927
|
+
],
|
|
1928
|
+
relatedEntities: [],
|
|
1929
|
+
interfaces: {
|
|
1930
|
+
master: {
|
|
1931
|
+
create: {
|
|
1932
|
+
sections: [{ id: 'event-details' }],
|
|
1933
|
+
properties: eventDetailsEditProperties,
|
|
1934
|
+
},
|
|
1935
|
+
update: {
|
|
1936
|
+
sections: [{ id: 'event-details' }],
|
|
1937
|
+
properties: eventDetailsEditProperties,
|
|
1938
|
+
},
|
|
1939
|
+
single: {
|
|
1940
|
+
title: '{{ context.eval("subject.title", { pipes: ["translate"] }) + " - " + context.eval("recordType.title", { pipes: ["translate"] }) + " - " + context.eval("occurredDate", { pipes: ["date"] }) }}',
|
|
1941
|
+
sections: [
|
|
1942
|
+
{ id: 'event-details', order: 1 },
|
|
1943
|
+
{ id: 'sign-off', order: 2 },
|
|
1944
|
+
],
|
|
1945
|
+
properties: eventDetailsViewProperties,
|
|
1946
|
+
actions: entityMasterRecordActions(),
|
|
1947
|
+
},
|
|
1948
|
+
list: {
|
|
1949
|
+
actions: [...entityMasterCrudActions({ create: false, delete: false, view: false })],
|
|
1950
|
+
views: [createAllQueryView({ sorts: [{ name: 'occurredDate', dir: 'desc' }] })],
|
|
1951
|
+
},
|
|
1952
|
+
},
|
|
1953
|
+
},
|
|
1954
|
+
};
|
|
1955
|
+
return entityDef;
|
|
1956
|
+
}
|
|
1957
|
+
//#endregion
|
|
1958
|
+
|
|
1959
|
+
var healthEvent_entity = /*#__PURE__*/Object.freeze({
|
|
1960
|
+
__proto__: null,
|
|
1961
|
+
healthEventFactory: healthEventFactory
|
|
1962
|
+
});
|
|
1963
|
+
|
|
1964
|
+
//#region ---- Imports ----
|
|
1965
|
+
//#endregion
|
|
1966
|
+
|
|
1967
|
+
//#region ---- Imports ----
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region ---- Entity Factory ----
|
|
1970
|
+
async function healthRecordTypeFactory() {
|
|
1971
|
+
const sections = [{ id: 'basic-info' }];
|
|
1972
|
+
const propertyLayouts = [
|
|
1973
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1974
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1975
|
+
];
|
|
1976
|
+
const entityDef = {
|
|
1977
|
+
module: RootConfig.module.name,
|
|
1978
|
+
name: RootConfig.entities.healthRecordType.name,
|
|
1979
|
+
title: RootConfig.entities.healthRecordType.title,
|
|
1980
|
+
icon: RootConfig.entities.healthRecordType.icon,
|
|
1981
|
+
plugins: [
|
|
1982
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
1983
|
+
{ name: 'icon' },
|
|
1984
|
+
{ name: 'clone' },
|
|
1985
|
+
{ name: 'history' },
|
|
1986
|
+
{
|
|
1987
|
+
name: 'workflow-selector',
|
|
1988
|
+
options: {
|
|
1989
|
+
templateInputNames: ['questionnaireId', 'requireEmployeeSignature', 'requireManagerSignature'],
|
|
1990
|
+
catalogScopeKeys: [HEALTH_CATALOG_SCOPE],
|
|
1991
|
+
templateInputFilters: {
|
|
1992
|
+
questionnaireId: {
|
|
1993
|
+
catalogScopeKeys: [HEALTH_CATALOG_SCOPE],
|
|
1994
|
+
},
|
|
1995
|
+
},
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
],
|
|
1999
|
+
formats: {
|
|
2000
|
+
individual: RootConfig.entities.healthRecordType.title,
|
|
2001
|
+
plural: RootConfig.entities.healthRecordType.titlePlural,
|
|
2002
|
+
searchResult: { title: '{{ title }}', description: '{{ description }}' },
|
|
2003
|
+
},
|
|
2004
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
2005
|
+
properties: [
|
|
2006
|
+
{
|
|
2007
|
+
name: 'id',
|
|
2008
|
+
title: '@general:terms.common.id',
|
|
2009
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
name: 'title',
|
|
2013
|
+
title: '@general:terms.common.title',
|
|
2014
|
+
groupId: 'basic-info',
|
|
2015
|
+
schema: {
|
|
2016
|
+
dataType: 'string',
|
|
2017
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
2018
|
+
},
|
|
2019
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
2020
|
+
validations: [{ rule: 'required' }],
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
name: 'description',
|
|
2024
|
+
title: '@general:terms.common.description',
|
|
2025
|
+
groupId: 'basic-info',
|
|
2026
|
+
options: {
|
|
2027
|
+
sort: { enabled: false },
|
|
2028
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
2029
|
+
},
|
|
2030
|
+
schema: {
|
|
2031
|
+
dataType: 'string',
|
|
2032
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
|
|
2033
|
+
},
|
|
2034
|
+
},
|
|
2035
|
+
],
|
|
2036
|
+
columns: [{ name: 'title' }, { name: 'description' }],
|
|
2037
|
+
interfaces: {
|
|
2038
|
+
master: {
|
|
2039
|
+
create: { sections, properties: propertyLayouts },
|
|
2040
|
+
update: { sections, properties: propertyLayouts },
|
|
2041
|
+
single: {
|
|
2042
|
+
title: '{{ title }}',
|
|
2043
|
+
sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
2044
|
+
properties: propertyLayouts,
|
|
2045
|
+
actions: [...entityMasterRecordActions()],
|
|
2046
|
+
},
|
|
2047
|
+
list: {
|
|
2048
|
+
actions: [...entityMasterCrudActions()],
|
|
2049
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
2050
|
+
},
|
|
2051
|
+
},
|
|
2052
|
+
},
|
|
2053
|
+
};
|
|
2054
|
+
return entityDef;
|
|
2055
|
+
}
|
|
2056
|
+
//#endregion
|
|
2057
|
+
|
|
2058
|
+
var healthRecordType_entity = /*#__PURE__*/Object.freeze({
|
|
2059
|
+
__proto__: null,
|
|
2060
|
+
healthRecordTypeFactory: healthRecordTypeFactory
|
|
2061
|
+
});
|
|
2062
|
+
|
|
2063
|
+
//#region ---- Imports ----
|
|
2064
|
+
//#endregion
|
|
2065
|
+
|
|
2066
|
+
//#region ---- Imports ----
|
|
2067
|
+
//#endregion
|
|
2068
|
+
//#region ---- Form layouts ----
|
|
2069
|
+
const profilePropertyLayouts = [
|
|
2070
|
+
{ name: 'subject.id', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
2071
|
+
// Row 1: 4 + 4 + 4
|
|
2072
|
+
{ name: 'disabilityStatusId', layout: { positions: { lg: { colSpan: 4, colStart: 1 } } } },
|
|
2073
|
+
{ name: 'smokingStatus', layout: { positions: { lg: { colSpan: 4, colStart: 5 } } } },
|
|
2074
|
+
{ name: 'alcoholConsumption', layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
2075
|
+
// Row 2: 4 + 4
|
|
2076
|
+
{ name: 'bloodTypeId', layout: { positions: { lg: { colSpan: 4, colStart: 1 } } } },
|
|
2077
|
+
{ name: 'healthRiskLevel', layout: { positions: { lg: { colSpan: 4, colStart: 5 } } } },
|
|
2078
|
+
// Row 3: 4 + 4
|
|
2079
|
+
{ name: 'doctorName', layout: { positions: { lg: { colSpan: 4, colStart: 1 } } } },
|
|
2080
|
+
{ name: 'doctorNumber', layout: { positions: { lg: { colSpan: 4, colStart: 5 } } } },
|
|
2081
|
+
// Row 4: 4 + 4 + 4
|
|
2082
|
+
{ name: 'emergencyContactName', layout: { positions: { lg: { colSpan: 4, colStart: 1 } } } },
|
|
2083
|
+
{ name: 'emergencyContactPhone', layout: { positions: { lg: { colSpan: 4, colStart: 5 } } } },
|
|
2084
|
+
{ name: 'emergencyContactEmail', layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
2085
|
+
// Row 5: 12
|
|
2086
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },
|
|
2087
|
+
];
|
|
2088
|
+
//#endregion
|
|
2089
|
+
//#region ---- Entity Factory ----
|
|
2090
|
+
async function healthProfileFactory() {
|
|
2091
|
+
const sections = [{ id: 'profile-details', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
2092
|
+
const propertyLayouts = omitHealthSubjectFromEditLayouts(profilePropertyLayouts);
|
|
2093
|
+
const entityDef = {
|
|
2094
|
+
module: RootConfig.module.name,
|
|
2095
|
+
name: RootConfig.entities.healthProfile.name,
|
|
2096
|
+
title: RootConfig.entities.healthProfile.title,
|
|
2097
|
+
icon: RootConfig.entities.healthProfile.icon,
|
|
2098
|
+
formats: {
|
|
2099
|
+
individual: RootConfig.entities.healthProfile.title,
|
|
2100
|
+
plural: RootConfig.entities.healthProfile.titlePlural,
|
|
2101
|
+
searchResult: { title: '{{ subject.title }}', description: RootConfig.module.title },
|
|
2102
|
+
},
|
|
2103
|
+
plugins: [{ name: 'history' }],
|
|
2104
|
+
groups: [
|
|
2105
|
+
{
|
|
2106
|
+
id: 'profile-details',
|
|
2107
|
+
title: '@health-core:health-profiles.entities.health-profile.groups.profile-details',
|
|
2108
|
+
},
|
|
2109
|
+
],
|
|
2110
|
+
properties: [
|
|
2111
|
+
{
|
|
2112
|
+
name: 'id',
|
|
2113
|
+
title: '@general:terms.common.id',
|
|
2114
|
+
groupId: 'profile-details',
|
|
2115
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
2116
|
+
},
|
|
2117
|
+
createHealthSubjectLookupProperty('profile-details', { readonly: true }),
|
|
2118
|
+
{
|
|
2119
|
+
name: 'disabilityStatusId',
|
|
2120
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.disability-status-id',
|
|
2121
|
+
groupId: 'profile-details',
|
|
2122
|
+
options: {
|
|
2123
|
+
sort: { enabled: true },
|
|
2124
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2125
|
+
},
|
|
2126
|
+
schema: {
|
|
2127
|
+
dataType: 'string',
|
|
2128
|
+
interface: {
|
|
2129
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
2130
|
+
options: {
|
|
2131
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.disabilityStatus.name}`,
|
|
2132
|
+
textField: 'title',
|
|
2133
|
+
valueField: 'id',
|
|
2134
|
+
look: 'select',
|
|
2135
|
+
expose: [
|
|
2136
|
+
{ source: 'id', target: 'disabilityStatus.id' },
|
|
2137
|
+
{ source: 'title', target: 'disabilityStatus.title' },
|
|
2138
|
+
],
|
|
2139
|
+
},
|
|
2140
|
+
},
|
|
2141
|
+
},
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
name: 'smokingStatus',
|
|
2145
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.smoking-status',
|
|
2146
|
+
groupId: 'profile-details',
|
|
2147
|
+
options: {
|
|
2148
|
+
sort: { enabled: true },
|
|
2149
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2150
|
+
},
|
|
2151
|
+
schema: {
|
|
2152
|
+
dataType: 'string',
|
|
2153
|
+
interface: {
|
|
2154
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
2155
|
+
options: {
|
|
2156
|
+
dataSource: AXMHealthCoreDataSourceKeys.SmokingStatusOptions,
|
|
2157
|
+
valueField: 'value',
|
|
2158
|
+
textField: 'title',
|
|
2159
|
+
},
|
|
2160
|
+
},
|
|
2161
|
+
},
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
name: 'alcoholConsumption',
|
|
2165
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.alcohol-consumption',
|
|
2166
|
+
groupId: 'profile-details',
|
|
2167
|
+
options: {
|
|
2168
|
+
sort: { enabled: true },
|
|
2169
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2170
|
+
},
|
|
2171
|
+
schema: {
|
|
2172
|
+
dataType: 'string',
|
|
2173
|
+
interface: {
|
|
2174
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
2175
|
+
options: {
|
|
2176
|
+
dataSource: AXMHealthCoreDataSourceKeys.AlcoholConsumptionOptions,
|
|
2177
|
+
valueField: 'value',
|
|
2178
|
+
textField: 'title',
|
|
2179
|
+
},
|
|
2180
|
+
},
|
|
2181
|
+
},
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
name: 'bloodTypeId',
|
|
2185
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.blood-type-id',
|
|
2186
|
+
groupId: 'profile-details',
|
|
2187
|
+
options: {
|
|
2188
|
+
sort: { enabled: true },
|
|
2189
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2190
|
+
},
|
|
2191
|
+
schema: {
|
|
2192
|
+
dataType: 'string',
|
|
2193
|
+
interface: {
|
|
2194
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
2195
|
+
options: {
|
|
2196
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.bloodType.name}`,
|
|
2197
|
+
textField: 'title',
|
|
2198
|
+
valueField: 'id',
|
|
2199
|
+
look: 'select',
|
|
2200
|
+
expose: [
|
|
2201
|
+
{ source: 'id', target: 'bloodType.id' },
|
|
2202
|
+
{ source: 'title', target: 'bloodType.title' },
|
|
2203
|
+
],
|
|
2204
|
+
},
|
|
2205
|
+
},
|
|
2206
|
+
},
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
name: 'healthRiskLevel',
|
|
2210
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.health-risk-level',
|
|
2211
|
+
groupId: 'profile-details',
|
|
2212
|
+
options: {
|
|
2213
|
+
sort: { enabled: true },
|
|
2214
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2215
|
+
},
|
|
2216
|
+
schema: {
|
|
2217
|
+
dataType: 'string',
|
|
2218
|
+
interface: {
|
|
2219
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
2220
|
+
options: {
|
|
2221
|
+
dataSource: AXMHealthCoreDataSourceKeys.HealthRiskLevelOptions,
|
|
2222
|
+
valueField: 'value',
|
|
2223
|
+
textField: 'title',
|
|
2224
|
+
},
|
|
2225
|
+
},
|
|
2226
|
+
},
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
name: 'doctorName',
|
|
2230
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.doctor-name',
|
|
2231
|
+
groupId: 'profile-details',
|
|
2232
|
+
options: {
|
|
2233
|
+
sort: { enabled: true },
|
|
2234
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2235
|
+
},
|
|
2236
|
+
schema: {
|
|
2237
|
+
dataType: 'string',
|
|
2238
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
2239
|
+
},
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
name: 'doctorNumber',
|
|
2243
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.doctor-number',
|
|
2244
|
+
groupId: 'profile-details',
|
|
2245
|
+
options: {
|
|
2246
|
+
sort: { enabled: true },
|
|
2247
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2248
|
+
},
|
|
2249
|
+
schema: {
|
|
2250
|
+
dataType: 'string',
|
|
2251
|
+
interface: {
|
|
2252
|
+
type: AXPWidgetsList.Editors.ContactBox,
|
|
2253
|
+
options: { type: 'phone', hasLabel: false, hasIcon: true },
|
|
2254
|
+
},
|
|
2255
|
+
},
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
name: 'emergencyContactName',
|
|
2259
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.emergency-contact-name',
|
|
2260
|
+
groupId: 'profile-details',
|
|
2261
|
+
options: {
|
|
2262
|
+
sort: { enabled: true },
|
|
2263
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2264
|
+
},
|
|
2265
|
+
schema: {
|
|
2266
|
+
dataType: 'string',
|
|
2267
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
2268
|
+
},
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
name: 'emergencyContactPhone',
|
|
2272
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.emergency-contact-phone',
|
|
2273
|
+
groupId: 'profile-details',
|
|
2274
|
+
options: {
|
|
2275
|
+
sort: { enabled: true },
|
|
2276
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2277
|
+
},
|
|
2278
|
+
schema: {
|
|
2279
|
+
dataType: 'string',
|
|
2280
|
+
interface: {
|
|
2281
|
+
type: AXPWidgetsList.Editors.ContactBox,
|
|
2282
|
+
options: { type: 'phone', hasLabel: false, hasIcon: true },
|
|
2283
|
+
},
|
|
2284
|
+
},
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
name: 'emergencyContactEmail',
|
|
2288
|
+
title: '@health-core:health-profiles.entities.health-profile.fields.emergency-contact-email',
|
|
2289
|
+
groupId: 'profile-details',
|
|
2290
|
+
options: {
|
|
2291
|
+
sort: { enabled: true },
|
|
2292
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
2293
|
+
},
|
|
2294
|
+
schema: {
|
|
2295
|
+
dataType: 'string',
|
|
2296
|
+
interface: {
|
|
2297
|
+
type: AXPWidgetsList.Editors.ContactBox,
|
|
2298
|
+
options: { type: 'email', hasLabel: false, hasIcon: true },
|
|
2299
|
+
},
|
|
2300
|
+
},
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
name: 'notes',
|
|
2304
|
+
title: '@general:terms.common.notes',
|
|
2305
|
+
groupId: 'profile-details',
|
|
2306
|
+
options: {
|
|
2307
|
+
sort: { enabled: false },
|
|
2308
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
2309
|
+
},
|
|
2310
|
+
schema: {
|
|
2311
|
+
dataType: 'string',
|
|
2312
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
|
|
2313
|
+
},
|
|
2314
|
+
},
|
|
2315
|
+
],
|
|
2316
|
+
columns: [
|
|
2317
|
+
{ name: 'subject.id', options: { dataPath: 'subject.title' } },
|
|
2318
|
+
{ name: 'bloodTypeId', options: { dataPath: 'bloodType.title' } },
|
|
2319
|
+
{ name: 'disabilityStatusId', options: { dataPath: 'disabilityStatus.title' } },
|
|
2320
|
+
{ name: 'healthRiskLevel' },
|
|
2321
|
+
],
|
|
2322
|
+
interfaces: {
|
|
2323
|
+
master: {
|
|
2324
|
+
create: { sections, properties: propertyLayouts },
|
|
2325
|
+
update: { sections, properties: propertyLayouts },
|
|
2326
|
+
single: {
|
|
2327
|
+
title: '{{ subject.title }}',
|
|
2328
|
+
sections,
|
|
2329
|
+
properties: propertyLayouts,
|
|
2330
|
+
actions: [...entityMasterRecordActions()],
|
|
2331
|
+
},
|
|
2332
|
+
list: {
|
|
2333
|
+
actions: [...entityMasterCrudActions()],
|
|
2334
|
+
views: [createAllQueryView({ sorts: [{ name: 'subject.id', dir: 'asc' }] })],
|
|
2335
|
+
},
|
|
2336
|
+
},
|
|
2337
|
+
},
|
|
2338
|
+
};
|
|
2339
|
+
return entityDef;
|
|
2340
|
+
}
|
|
2341
|
+
//#endregion
|
|
2342
|
+
|
|
2343
|
+
var healthProfile_entity = /*#__PURE__*/Object.freeze({
|
|
2344
|
+
__proto__: null,
|
|
2345
|
+
healthProfileFactory: healthProfileFactory
|
|
2346
|
+
});
|
|
2347
|
+
|
|
2348
|
+
//#region ---- Imports ----
|
|
2349
|
+
//#endregion
|
|
2350
|
+
//#region ---- Entity Factory ----
|
|
2351
|
+
async function healthRestrictionFactory() {
|
|
2352
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
2353
|
+
const propertyLayouts = [
|
|
2354
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
2355
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
2356
|
+
];
|
|
2357
|
+
const entityDef = {
|
|
2358
|
+
module: RootConfig.module.name,
|
|
2359
|
+
name: RootConfig.entities.healthRestriction.name,
|
|
2360
|
+
title: RootConfig.entities.healthRestriction.title,
|
|
2361
|
+
icon: RootConfig.entities.healthRestriction.icon,
|
|
2362
|
+
formats: {
|
|
2363
|
+
individual: RootConfig.entities.healthRestriction.title,
|
|
2364
|
+
plural: RootConfig.entities.healthRestriction.titlePlural,
|
|
2365
|
+
searchResult: { title: '{{ title }}', description: '{{ description }}' },
|
|
2366
|
+
},
|
|
2367
|
+
plugins: [
|
|
2368
|
+
{ name: 'history' },
|
|
2369
|
+
{ name: 'compare' },
|
|
2370
|
+
{ name: 'clone' },
|
|
2371
|
+
{ name: 'category', options: { appearance: { icon: true, color: true }, metaData: { enabled: true } } },
|
|
2372
|
+
{ name: 'meta-data-form', options: { path: 'categoryIds' } },
|
|
2373
|
+
],
|
|
2374
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
2375
|
+
properties: [
|
|
2376
|
+
{
|
|
2377
|
+
name: 'id',
|
|
2378
|
+
title: '@general:terms.common.id',
|
|
2379
|
+
groupId: 'basic-info',
|
|
2380
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
name: 'title',
|
|
2384
|
+
title: '@general:terms.common.title',
|
|
2385
|
+
groupId: 'basic-info',
|
|
2386
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
2387
|
+
schema: {
|
|
2388
|
+
dataType: 'string',
|
|
2389
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
|
|
2390
|
+
},
|
|
2391
|
+
validations: [{ rule: 'required' }],
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
name: 'description',
|
|
2395
|
+
title: '@general:terms.common.description',
|
|
2396
|
+
groupId: 'basic-info',
|
|
2397
|
+
options: {
|
|
2398
|
+
sort: { enabled: false },
|
|
2399
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
2400
|
+
},
|
|
2401
|
+
schema: {
|
|
2402
|
+
dataType: 'string',
|
|
2403
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
|
|
2404
|
+
},
|
|
2405
|
+
},
|
|
2406
|
+
],
|
|
2407
|
+
columns: [
|
|
2408
|
+
{ name: 'title', options: { width: '260px', order: 1 } },
|
|
2409
|
+
{ name: 'description', options: { width: '320px', order: 2 } },
|
|
2410
|
+
],
|
|
2411
|
+
interfaces: {
|
|
2412
|
+
master: {
|
|
2413
|
+
create: { sections, properties: propertyLayouts },
|
|
2414
|
+
update: { sections, properties: propertyLayouts },
|
|
2415
|
+
single: {
|
|
2416
|
+
title: '{{ title }}',
|
|
2417
|
+
sections,
|
|
2418
|
+
properties: propertyLayouts,
|
|
2419
|
+
actions: [...entityMasterRecordActions()],
|
|
2420
|
+
},
|
|
2421
|
+
list: {
|
|
2422
|
+
actions: [...entityMasterCrudActions()],
|
|
2423
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
2424
|
+
},
|
|
2425
|
+
},
|
|
2426
|
+
},
|
|
2427
|
+
};
|
|
2428
|
+
return entityDef;
|
|
2429
|
+
}
|
|
2430
|
+
//#endregion
|
|
2431
|
+
|
|
2432
|
+
var healthRestriction_entity = /*#__PURE__*/Object.freeze({
|
|
2433
|
+
__proto__: null,
|
|
2434
|
+
healthRestrictionFactory: healthRestrictionFactory
|
|
2435
|
+
});
|
|
2436
|
+
|
|
2437
|
+
//#region ---- Imports ----
|
|
2438
|
+
//#endregion
|
|
2439
|
+
|
|
2440
|
+
//#endregion
|
|
2441
|
+
//#region ---- Entity Factory ----
|
|
2442
|
+
async function injuryTypeFactory() {
|
|
2443
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
2444
|
+
const propertyLayouts = [
|
|
2445
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
2446
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
2447
|
+
];
|
|
2448
|
+
const entityDef = {
|
|
2449
|
+
module: RootConfig.module.name,
|
|
2450
|
+
name: RootConfig.entities.injuryType.name,
|
|
2451
|
+
title: RootConfig.entities.injuryType.title,
|
|
2452
|
+
icon: RootConfig.entities.injuryType.icon,
|
|
2453
|
+
formats: {
|
|
2454
|
+
individual: RootConfig.entities.injuryType.title,
|
|
2455
|
+
plural: RootConfig.entities.injuryType.titlePlural,
|
|
2456
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
2457
|
+
},
|
|
2458
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
2459
|
+
groups: [{ id: 'basic-info', title: '@health-core:injury-types.entities.injury-type.groups.basic-info' }],
|
|
2460
|
+
properties: [
|
|
2461
|
+
{ name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
|
|
2462
|
+
{
|
|
2463
|
+
name: 'title',
|
|
2464
|
+
title: '@general:terms.common.title',
|
|
2465
|
+
groupId: 'basic-info',
|
|
2466
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
2467
|
+
schema: {
|
|
2468
|
+
dataType: 'string',
|
|
2469
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
|
|
2470
|
+
},
|
|
2471
|
+
validations: [{ rule: 'required' }],
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
name: 'description',
|
|
2475
|
+
title: '@general:terms.common.description',
|
|
2476
|
+
groupId: 'basic-info',
|
|
2477
|
+
options: {
|
|
2478
|
+
sort: { enabled: false },
|
|
2479
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
2480
|
+
},
|
|
2481
|
+
schema: {
|
|
2482
|
+
dataType: 'string',
|
|
2483
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
|
|
2484
|
+
},
|
|
2485
|
+
},
|
|
2486
|
+
],
|
|
2487
|
+
columns: [
|
|
2488
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
2489
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
2490
|
+
],
|
|
2491
|
+
interfaces: {
|
|
2492
|
+
master: {
|
|
2493
|
+
create: { sections, properties: propertyLayouts },
|
|
2494
|
+
update: { sections, properties: propertyLayouts },
|
|
2495
|
+
single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
|
|
2496
|
+
list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
|
|
2497
|
+
},
|
|
2498
|
+
},
|
|
2499
|
+
};
|
|
2500
|
+
return entityDef;
|
|
2501
|
+
}
|
|
2502
|
+
//#endregion
|
|
2503
|
+
|
|
2504
|
+
var injuryType_entity = /*#__PURE__*/Object.freeze({
|
|
2505
|
+
__proto__: null,
|
|
2506
|
+
injuryTypeFactory: injuryTypeFactory
|
|
2507
|
+
});
|
|
2508
|
+
|
|
2509
|
+
//#endregion
|
|
2510
|
+
|
|
2511
|
+
//#endregion
|
|
2512
|
+
//#region ---- Entity Factory ----
|
|
2513
|
+
async function vaccinationTypeFactory() {
|
|
2514
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
2515
|
+
const propertyLayouts = [
|
|
2516
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
2517
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
2518
|
+
];
|
|
2519
|
+
const entityDef = {
|
|
2520
|
+
module: RootConfig.module.name,
|
|
2521
|
+
name: RootConfig.entities.vaccinationType.name,
|
|
2522
|
+
title: RootConfig.entities.vaccinationType.title,
|
|
2523
|
+
icon: RootConfig.entities.vaccinationType.icon,
|
|
2524
|
+
formats: {
|
|
2525
|
+
individual: RootConfig.entities.vaccinationType.title,
|
|
2526
|
+
plural: RootConfig.entities.vaccinationType.titlePlural,
|
|
2527
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
2528
|
+
},
|
|
2529
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
2530
|
+
groups: [{ id: 'basic-info', title: '@health-core:vaccination-types.entities.vaccination-type.groups.basic-info' }],
|
|
2531
|
+
properties: [
|
|
2532
|
+
{ name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
|
|
2533
|
+
{
|
|
2534
|
+
name: 'title',
|
|
2535
|
+
title: '@general:terms.common.title',
|
|
2536
|
+
groupId: 'basic-info',
|
|
2537
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
2538
|
+
schema: {
|
|
2539
|
+
dataType: 'string',
|
|
2540
|
+
interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
|
|
2541
|
+
},
|
|
2542
|
+
validations: [{ rule: 'required' }],
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
name: 'description',
|
|
2546
|
+
title: '@general:terms.common.description',
|
|
2547
|
+
groupId: 'basic-info',
|
|
2548
|
+
options: {
|
|
2549
|
+
sort: { enabled: false },
|
|
2550
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
2551
|
+
},
|
|
2552
|
+
schema: {
|
|
2553
|
+
dataType: 'string',
|
|
2554
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
|
|
2555
|
+
},
|
|
2556
|
+
},
|
|
2557
|
+
],
|
|
2558
|
+
columns: [
|
|
2559
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
2560
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
2561
|
+
],
|
|
2562
|
+
interfaces: {
|
|
2563
|
+
master: {
|
|
2564
|
+
create: { sections, properties: propertyLayouts },
|
|
2565
|
+
update: { sections, properties: propertyLayouts },
|
|
2566
|
+
single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
|
|
2567
|
+
list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
|
|
2568
|
+
},
|
|
2569
|
+
},
|
|
2570
|
+
};
|
|
2571
|
+
return entityDef;
|
|
2572
|
+
}
|
|
2573
|
+
//#endregion
|
|
2574
|
+
|
|
2575
|
+
var vaccinationType_entity = /*#__PURE__*/Object.freeze({
|
|
2576
|
+
__proto__: null,
|
|
2577
|
+
vaccinationTypeFactory: vaccinationTypeFactory
|
|
2578
|
+
});
|
|
2579
|
+
|
|
344
2580
|
//#endregion
|
|
345
2581
|
|
|
346
2582
|
//#region ---- Imports ----
|
|
@@ -352,20 +2588,28 @@ class AXMHealthCoreEntityProvider {
|
|
|
352
2588
|
return null;
|
|
353
2589
|
}
|
|
354
2590
|
switch (entityName) {
|
|
355
|
-
case RootConfig.entities.allergyType.name:
|
|
356
|
-
return (await import('./acorex-modules-health-core-allergy-type.entity-Ba06KigW.mjs')).allergyTypeFactory();
|
|
357
2591
|
case RootConfig.entities.bloodType.name:
|
|
358
|
-
return (await
|
|
2592
|
+
return (await Promise.resolve().then(function () { return bloodType_entity; })).bloodTypeFactory();
|
|
359
2593
|
case RootConfig.entities.bodyPart.name:
|
|
360
|
-
return (await
|
|
361
|
-
case RootConfig.entities.chronicConditionType.name:
|
|
362
|
-
return (await import('./acorex-modules-health-core-chronic-condition-type.entity-CHeAJ1Mm.mjs')).chronicConditionTypeFactory();
|
|
2594
|
+
return (await Promise.resolve().then(function () { return bodyPart_entity; })).bodyPartFactory();
|
|
363
2595
|
case RootConfig.entities.disabilityStatus.name:
|
|
364
|
-
return (await
|
|
2596
|
+
return (await Promise.resolve().then(function () { return disabilityStatus_entity; })).disabilityStatusFactory();
|
|
365
2597
|
case RootConfig.entities.injuryType.name:
|
|
366
|
-
return (await
|
|
2598
|
+
return (await Promise.resolve().then(function () { return injuryType_entity; })).injuryTypeFactory();
|
|
367
2599
|
case RootConfig.entities.vaccinationType.name:
|
|
368
|
-
return (await
|
|
2600
|
+
return (await Promise.resolve().then(function () { return vaccinationType_entity; })).vaccinationTypeFactory();
|
|
2601
|
+
case RootConfig.entities.healthConditionType.name:
|
|
2602
|
+
return (await Promise.resolve().then(function () { return healthConditionType_entity; })).healthConditionTypeFactory();
|
|
2603
|
+
case RootConfig.entities.healthRestriction.name:
|
|
2604
|
+
return (await Promise.resolve().then(function () { return healthRestriction_entity; })).healthRestrictionFactory();
|
|
2605
|
+
case RootConfig.entities.healthRecordType.name:
|
|
2606
|
+
return (await Promise.resolve().then(function () { return healthRecordType_entity; })).healthRecordTypeFactory();
|
|
2607
|
+
case RootConfig.entities.healthEvent.name:
|
|
2608
|
+
return (await Promise.resolve().then(function () { return healthEvent_entity; })).healthEventFactory();
|
|
2609
|
+
case RootConfig.entities.healthProfile.name:
|
|
2610
|
+
return (await Promise.resolve().then(function () { return healthProfile_entity; })).healthProfileFactory();
|
|
2611
|
+
case RootConfig.entities.healthCondition.name:
|
|
2612
|
+
return (await Promise.resolve().then(function () { return healthCondition_entity; })).healthConditionFactory();
|
|
369
2613
|
}
|
|
370
2614
|
return null;
|
|
371
2615
|
}
|
|
@@ -381,29 +2625,6 @@ var entity_provider = /*#__PURE__*/Object.freeze({
|
|
|
381
2625
|
AXMHealthCoreEntityProvider: AXMHealthCoreEntityProvider
|
|
382
2626
|
});
|
|
383
2627
|
|
|
384
|
-
const AXMHealthCoreMenuKeys = {
|
|
385
|
-
Root: 'health-core',
|
|
386
|
-
AllergyTypes: 'health-core.allergy-types',
|
|
387
|
-
BloodTypes: 'health-core.blood-types',
|
|
388
|
-
BodyParts: 'health-core.body-parts',
|
|
389
|
-
ChronicConditionTypes: 'health-core.chronic-condition-types',
|
|
390
|
-
DisabilityStatuses: 'health-core.disability-statuses',
|
|
391
|
-
InjuryTypes: 'health-core.injury-types',
|
|
392
|
-
VaccinationTypes: 'health-core.vaccination-types',
|
|
393
|
-
};
|
|
394
|
-
|
|
395
|
-
const AXMHealthCorePermissionKeys = {
|
|
396
|
-
HealthCore: {
|
|
397
|
-
AllergyType: { Management: 'HealthCore:Permission:AllergyType.Management' },
|
|
398
|
-
BloodType: { Management: 'HealthCore:Permission:BloodType.Management' },
|
|
399
|
-
BodyPart: { Management: 'HealthCore:Permission:BodyPart.Management' },
|
|
400
|
-
ChronicConditionType: { Management: 'HealthCore:Permission:ChronicConditionType.Management' },
|
|
401
|
-
DisabilityStatus: { Management: 'HealthCore:Permission:DisabilityStatus.Management' },
|
|
402
|
-
InjuryType: { Management: 'HealthCore:Permission:InjuryType.Management' },
|
|
403
|
-
VaccinationType: { Management: 'HealthCore:Permission:VaccinationType.Management' },
|
|
404
|
-
},
|
|
405
|
-
};
|
|
406
|
-
|
|
407
2628
|
//#region ---- Imports ----
|
|
408
2629
|
//#endregion
|
|
409
2630
|
//#region ---- Menu Provider ----
|
|
@@ -413,16 +2634,85 @@ class AXMHealthCoreMenuProvider {
|
|
|
413
2634
|
}
|
|
414
2635
|
async provide(context) {
|
|
415
2636
|
const module = RootConfig.module;
|
|
416
|
-
|
|
417
|
-
context.find(AXPCommonMenuKeys.
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
2637
|
+
const keys = AXMHealthCorePermissionKeys.HealthCore;
|
|
2638
|
+
const healthMenu = context.find(AXPCommonMenuKeys.Health);
|
|
2639
|
+
if (!healthMenu.exists) {
|
|
2640
|
+
context.find(AXPCommonMenuKeys.Configuration).addItems([
|
|
2641
|
+
{
|
|
2642
|
+
name: AXPCommonMenuKeys.Health,
|
|
2643
|
+
priority: 8445,
|
|
2644
|
+
text: '@general:menus.health.title',
|
|
2645
|
+
icon: 'fa-light fa-heart-pulse',
|
|
2646
|
+
type: 'menu',
|
|
2647
|
+
children: [],
|
|
2648
|
+
},
|
|
2649
|
+
]);
|
|
2650
|
+
}
|
|
2651
|
+
context.find(AXPCommonMenuKeys.Health).addItems([
|
|
2652
|
+
{
|
|
2653
|
+
name: AXMHealthCoreMenuKeys.BloodTypes,
|
|
2654
|
+
text: RootConfig.entities.bloodType.titlePlural,
|
|
2655
|
+
icon: RootConfig.entities.bloodType.icon,
|
|
2656
|
+
priority: 11,
|
|
2657
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.bloodType.name).createPath(),
|
|
2658
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.BloodType.Management] },
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
name: AXMHealthCoreMenuKeys.BodyParts,
|
|
2662
|
+
text: RootConfig.entities.bodyPart.titlePlural,
|
|
2663
|
+
icon: RootConfig.entities.bodyPart.icon,
|
|
2664
|
+
priority: 12,
|
|
2665
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.bodyPart.name).createPath(),
|
|
2666
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.BodyPart.Management] },
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
name: AXMHealthCoreMenuKeys.DisabilityStatuses,
|
|
2670
|
+
text: RootConfig.entities.disabilityStatus.titlePlural,
|
|
2671
|
+
icon: RootConfig.entities.disabilityStatus.icon,
|
|
2672
|
+
priority: 14,
|
|
2673
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.disabilityStatus.name).createPath(),
|
|
2674
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.DisabilityStatus.Management] },
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
name: AXMHealthCoreMenuKeys.InjuryTypes,
|
|
2678
|
+
text: RootConfig.entities.injuryType.titlePlural,
|
|
2679
|
+
icon: RootConfig.entities.injuryType.icon,
|
|
2680
|
+
priority: 15,
|
|
2681
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.injuryType.name).createPath(),
|
|
2682
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.InjuryType.Management] },
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
name: AXMHealthCoreMenuKeys.VaccinationTypes,
|
|
2686
|
+
text: RootConfig.entities.vaccinationType.titlePlural,
|
|
2687
|
+
icon: RootConfig.entities.vaccinationType.icon,
|
|
2688
|
+
priority: 16,
|
|
2689
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.vaccinationType.name).createPath(),
|
|
2690
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.VaccinationType.Management] },
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
name: AXMHealthCoreMenuKeys.HealthConditionTypes,
|
|
2694
|
+
text: RootConfig.entities.healthConditionType.titlePlural,
|
|
2695
|
+
icon: RootConfig.entities.healthConditionType.icon,
|
|
2696
|
+
priority: 17,
|
|
2697
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.healthConditionType.name).createPath(),
|
|
2698
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.HealthConditionType.Management] },
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
name: AXMHealthCoreMenuKeys.HealthRestrictions,
|
|
2702
|
+
text: RootConfig.entities.healthRestriction.titlePlural,
|
|
2703
|
+
icon: RootConfig.entities.healthRestriction.icon,
|
|
2704
|
+
priority: 18,
|
|
2705
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.healthRestriction.name).createPath(),
|
|
2706
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.HealthRestriction.Management] },
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
name: AXMHealthCoreMenuKeys.HealthRecordTypes,
|
|
2710
|
+
text: RootConfig.entities.healthRecordType.titlePlural,
|
|
2711
|
+
icon: RootConfig.entities.healthRecordType.icon,
|
|
2712
|
+
priority: 19,
|
|
2713
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.healthRecordType.name).createPath(),
|
|
2714
|
+
policy: { features: [RootConfig.module.name], permissions: [keys.HealthRecordType.Management] },
|
|
2715
|
+
},
|
|
426
2716
|
]);
|
|
427
2717
|
}
|
|
428
2718
|
}
|
|
@@ -442,29 +2732,57 @@ class AXMHealthCorePermissionDefinitionProvider {
|
|
|
442
2732
|
}
|
|
443
2733
|
async define(context) {
|
|
444
2734
|
const keys = AXMHealthCorePermissionKeys.HealthCore;
|
|
445
|
-
const allergyTypeTrans = (action) => this.translationService.translateAsync(`@health-core:allergy-types.permissions.allergy-type.${action}.title`);
|
|
446
2735
|
const bloodTypeTrans = (action) => this.translationService.translateAsync(`@health-core:blood-types.permissions.blood-type.${action}.title`);
|
|
447
2736
|
const bodyPartTrans = (action) => this.translationService.translateAsync(`@health-core:body-parts.permissions.body-part.${action}.title`);
|
|
448
|
-
const chronicConditionTypeTrans = (action) => this.translationService.translateAsync(`@health-core:chronic-condition-types.permissions.chronic-condition-type.${action}.title`);
|
|
449
2737
|
const disabilityStatusTrans = (action) => this.translationService.translateAsync(`@health-core:disability-statuses.permissions.disability-status.${action}.title`);
|
|
450
2738
|
const injuryTypeTrans = (action) => this.translationService.translateAsync(`@health-core:injury-types.permissions.injury-type.${action}.title`);
|
|
451
2739
|
const vaccinationTypeTrans = (action) => this.translationService.translateAsync(`@health-core:vaccination-types.permissions.vaccination-type.${action}.title`);
|
|
2740
|
+
const healthConditionTypeTrans = (action) => this.translationService.translateAsync(`@health-core:health-condition-types.permissions.health-condition-type.${action}.title`);
|
|
2741
|
+
const healthRestrictionTrans = (action) => this.translationService.translateAsync(`@health-core:health-restrictions.permissions.health-restriction.${action}.title`);
|
|
2742
|
+
const healthRecordTypeTrans = (action) => this.translationService.translateAsync(`@health-core:health-record-types.permissions.health-record-type.${action}.title`);
|
|
2743
|
+
const healthRecordTrans = (entity, action) => this.translationService.translateAsync(`@health-core:${entity}.permissions.${entity}.${action}.title`);
|
|
452
2744
|
context
|
|
453
2745
|
.addGroup(RootConfig.module.name, await this.translationService.translateAsync('@health-core:module.title'))
|
|
454
|
-
.addPermission(keys.AllergyType.Management, await allergyTypeTrans('manage'))
|
|
455
|
-
.endPermission()
|
|
456
2746
|
.addPermission(keys.BloodType.Management, await bloodTypeTrans('manage'))
|
|
457
2747
|
.endPermission()
|
|
458
2748
|
.addPermission(keys.BodyPart.Management, await bodyPartTrans('manage'))
|
|
459
2749
|
.endPermission()
|
|
460
|
-
.addPermission(keys.ChronicConditionType.Management, await chronicConditionTypeTrans('manage'))
|
|
461
|
-
.endPermission()
|
|
462
2750
|
.addPermission(keys.DisabilityStatus.Management, await disabilityStatusTrans('manage'))
|
|
463
2751
|
.endPermission()
|
|
464
2752
|
.addPermission(keys.InjuryType.Management, await injuryTypeTrans('manage'))
|
|
465
2753
|
.endPermission()
|
|
466
2754
|
.addPermission(keys.VaccinationType.Management, await vaccinationTypeTrans('manage'))
|
|
467
2755
|
.endPermission()
|
|
2756
|
+
.addPermission(keys.HealthConditionType.Management, await healthConditionTypeTrans('manage'))
|
|
2757
|
+
.endPermission()
|
|
2758
|
+
.addPermission(keys.HealthRestriction.Management, await healthRestrictionTrans('manage'))
|
|
2759
|
+
.endPermission()
|
|
2760
|
+
.addPermission(keys.HealthRecordType.Management, await healthRecordTypeTrans('manage'))
|
|
2761
|
+
.endPermission()
|
|
2762
|
+
.addPermission(keys.HealthProfile.ViewOwn, await healthRecordTrans('health-profiles', 'view-own'))
|
|
2763
|
+
.endPermission()
|
|
2764
|
+
.addPermission(keys.HealthProfile.EditOwn, await healthRecordTrans('health-profiles', 'edit-own'))
|
|
2765
|
+
.endPermission()
|
|
2766
|
+
.addPermission(keys.HealthProfile.View, await healthRecordTrans('health-profiles', 'view'))
|
|
2767
|
+
.endPermission()
|
|
2768
|
+
.addPermission(keys.HealthProfile.Manage, await healthRecordTrans('health-profiles', 'manage'))
|
|
2769
|
+
.endPermission()
|
|
2770
|
+
.addPermission(keys.HealthCondition.ViewOwn, await healthRecordTrans('health-conditions', 'view-own'))
|
|
2771
|
+
.endPermission()
|
|
2772
|
+
.addPermission(keys.HealthCondition.EditOwn, await healthRecordTrans('health-conditions', 'edit-own'))
|
|
2773
|
+
.endPermission()
|
|
2774
|
+
.addPermission(keys.HealthCondition.View, await healthRecordTrans('health-conditions', 'view'))
|
|
2775
|
+
.endPermission()
|
|
2776
|
+
.addPermission(keys.HealthCondition.Manage, await healthRecordTrans('health-conditions', 'manage'))
|
|
2777
|
+
.endPermission()
|
|
2778
|
+
.addPermission(keys.HealthEvent.ViewOwn, await healthRecordTrans('health-events', 'view-own'))
|
|
2779
|
+
.endPermission()
|
|
2780
|
+
.addPermission(keys.HealthEvent.EditOwn, await healthRecordTrans('health-events', 'edit-own'))
|
|
2781
|
+
.endPermission()
|
|
2782
|
+
.addPermission(keys.HealthEvent.View, await healthRecordTrans('health-events', 'view'))
|
|
2783
|
+
.endPermission()
|
|
2784
|
+
.addPermission(keys.HealthEvent.Manage, await healthRecordTrans('health-events', 'manage'))
|
|
2785
|
+
.endPermission()
|
|
468
2786
|
.endGroup();
|
|
469
2787
|
}
|
|
470
2788
|
}
|
|
@@ -475,14 +2793,11 @@ var permissionDefinition_provider = /*#__PURE__*/Object.freeze({
|
|
|
475
2793
|
AXMHealthCorePermissionDefinitionProvider: AXMHealthCorePermissionDefinitionProvider
|
|
476
2794
|
});
|
|
477
2795
|
|
|
478
|
-
//#region ---- Contracts barrel ----
|
|
479
|
-
//#endregion
|
|
480
|
-
|
|
481
2796
|
// Main Module
|
|
482
2797
|
|
|
483
2798
|
/**
|
|
484
2799
|
* Generated bundle index. Do not edit.
|
|
485
2800
|
*/
|
|
486
2801
|
|
|
487
|
-
export { AXMHealthCoreDataSourceKeys, AXMHealthCoreEntityProvider, AXMHealthCoreMenuKeys, AXMHealthCoreMenuProvider, AXMHealthCoreModule, AXMHealthCorePermissionDefinitionProvider, AXMHealthCorePermissionKeys, RootConfig };
|
|
2802
|
+
export { AXMHealthCoreCommandKeys, AXMHealthCoreDataSourceKeys, AXMHealthCoreEntityProvider, AXMHealthCoreMenuKeys, AXMHealthCoreMenuProvider, AXMHealthCoreModule, AXMHealthCorePermissionDefinitionProvider, AXMHealthCorePermissionKeys, HEALTH_CATALOG_SCOPE, HEALTH_PERSON_SUBJECT_TYPE, HEALTH_SUBJECT_PROPERTY_NAMES, RootConfig, bloodTypeFactory, bodyPartFactory, createHealthSubjectLookupProperty, disabilityStatusFactory, healthConditionFactory, healthConditionTypeFactory, healthEventFactory, healthPersonSubjectReferenceConditions, healthProfileFactory, healthRecordTypeFactory, healthRestrictionFactory, healthSubjectReferenceConditions, injuryTypeFactory, omitHealthSubjectFromEditLayouts, vaccinationTypeFactory };
|
|
488
2803
|
//# sourceMappingURL=acorex-modules-health-core.mjs.map
|