@acorex-platform/module-workplacesafety-management-client 1.0.2 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-BM1x8qua.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Bsyyn-al.mjs} +134 -30
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Bsyyn-al.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-5xvF3Yvw.mjs} +16 -16
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-5xvF3Yvw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Bp8WxGds.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Bp8WxGds.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BPEVWX3t.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BPEVWX3t.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-CwoiGFyJ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-CwoiGFyJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-D_DNr3E1.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-D_DNr3E1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-Cw1hRgfr.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-Cw1hRgfr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-BieryjkE.mjs} +3 -3
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-BieryjkE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-BM6hh1Ng.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-BM6hh1Ng.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-T7XtDUR4.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-T7XtDUR4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-DAUPFoMX.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-DAUPFoMX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-7ue7iLix.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-7ue7iLix.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-Bjc0NeUT.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-Bjc0NeUT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BdunBI16.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BdunBI16.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-x_FEbNre.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-x_FEbNre.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-XvLsWmcd.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-XvLsWmcd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-xBOZ9HQN.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-xBOZ9HQN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-CbEagwww.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-CbEagwww.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-dlnMABo2.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-dlnMABo2.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs +47 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-nsOufvaz.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CLmWHTfS.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-nsOufvaz.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CLmWHTfS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-CmyssHtY.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-bohOkOIV.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-CmyssHtY.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-bohOkOIV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-B0aLa6KF.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-B0aLa6KF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-BLktbCMG.mjs → acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-By_pSGSY.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-BLktbCMG.mjs.map → acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-By_pSGSY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-6ZWaO5DG.mjs → acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-XUpvOWyt.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-6ZWaO5DG.mjs.map → acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-XUpvOWyt.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-B6IkRYbW.mjs → acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-hCnzjOe7.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-B6IkRYbW.mjs.map → acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-hCnzjOe7.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-D4K0RBpR.mjs → acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-SFRvQ81J.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-D4K0RBpR.mjs.map → acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-SFRvQ81J.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-DA9w-vaB.mjs → acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-072LSKo7.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-DA9w-vaB.mjs.map → acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-072LSKo7.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D4bhgV8u.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D4bhgV8u.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-BqHXrGn9.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-BqHXrGn9.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-print.component-Bmr8LhoF.mjs +29 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-print.component-Bmr8LhoF.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-BxcGph1I.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-B_TuM6zB.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-BxcGph1I.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-B_TuM6zB.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-BTR9I8Te.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-BTR9I8Te.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs → acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-BfuvjV_F.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs.map → acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-BfuvjV_F.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-CAlLZvLx.mjs → acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-B6HKY2jC.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-CAlLZvLx.mjs.map → acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-B6HKY2jC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-Ci-zcrmO.mjs → acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-BiBLNqr4.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-Ci-zcrmO.mjs.map → acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-BiBLNqr4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-m4eQ5zx3.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-m4eQ5zx3.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B3SJDR9q.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-omdGHrWD.mjs} +19 -19
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B3SJDR9q.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-omdGHrWD.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-DQX6nPWP.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-DQX6nPWP.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-CwdK4rX8.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-sections-page-DlULCH_5.mjs} +8 -8
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-sections-page-DlULCH_5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BpWx3gIf.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BjdJDKHn.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BpWx3gIf.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BjdJDKHn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CQqJ-p5u.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs.map → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CQqJ-p5u.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-B0g4JL0B.mjs → acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-BY_NOprP.mjs} +88 -118
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-BY_NOprP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
- package/i18n/en-AU/workplacesafety-management.json +14 -1
- package/i18n/en-US/workplacesafety-management.json +14 -1
- package/i18n/fa-IR/workplacesafety-management.json +14 -1
- package/package.json +2 -2
- package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +37 -2
- package/types/acorex-platform-module-workplacesafety-management-client.d.ts +11 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-BM1x8qua.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-CwdK4rX8.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-B0g4JL0B.mjs.map +0 -1
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
|
|
2
2
|
import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';
|
|
3
|
-
import { AXP_HOOK_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';
|
|
3
|
+
import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_HOOK_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';
|
|
4
4
|
import { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';
|
|
5
5
|
import { AXPEntityService, AXP_ENTITY_STORAGE_MIDDLEWARE } from '@acorex-platform/framework-client/layout/entity';
|
|
6
6
|
import { AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_EDITOR_SUB_CHOICE, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/layout/widget-core';
|
|
7
7
|
import { provideCommand, provideCommandSetups } from '@acorex-platform/framework-client/runtime';
|
|
8
|
+
import { AXP_TASK_WORKSPACE_STEPPED_TYPES } from '@acorex-platform/module-task-management-client';
|
|
8
9
|
import * as i0 from '@angular/core';
|
|
9
10
|
import { inject, Injectable, NgModule } from '@angular/core';
|
|
10
|
-
import { RootConfig, AXPSafetyRiskPermissionKeys, AXMWorkplaceSafetyManagementMenuKeys } from '@acorex-platform/module-workplacesafety-management-client/contracts';
|
|
11
|
+
import { RootConfig, AXPSafetyRiskPermissionKeys, AXMWorkplaceSafetyManagementMenuKeys, JOB_DOC_TASK_TYPE_ID } from '@acorex-platform/module-workplacesafety-management-client/contracts';
|
|
11
12
|
import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
|
|
12
13
|
import { createSelectProperty, AXPWidgetGroupEnum } from '@acorex-platform/framework-shared/widget-core';
|
|
13
14
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY, AXP_TRIGGERS_PROPERTY, AXP_REQUIRED_VALIDATION_PROPERTY } from '@acorex-platform/framework-client/layout/widgets';
|
|
14
15
|
import { AXPWidgetsCatalog, AXPSystemStatusType } from '@acorex-platform/framework-shared/core';
|
|
15
16
|
import { unset, isEmpty } from 'lodash';
|
|
16
17
|
import { ONBOARDING_STEPS_HOOK } from '@acorex-platform/module-auth-client';
|
|
18
|
+
import { AXToastService } from '@acorex/components/toast';
|
|
19
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
20
|
+
import { RootConfig as RootConfig$1 } from '@acorex-platform/module-customer-management-client/contracts';
|
|
21
|
+
import { RootConfig as RootConfig$2 } from '@acorex-platform/module-project-management-client/contracts';
|
|
17
22
|
|
|
18
23
|
//#region ---- Imports ----
|
|
19
24
|
//#endregion
|
|
@@ -238,9 +243,10 @@ const AXMControlHierarchyDiagramWidget = {
|
|
|
238
243
|
],
|
|
239
244
|
components: {
|
|
240
245
|
view: {
|
|
241
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-
|
|
246
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CLmWHTfS.mjs').then((c) => c.AXMControlHierarchyDiagramWidgetViewComponent),
|
|
242
247
|
},
|
|
243
248
|
},
|
|
249
|
+
toString: `display(value)`,
|
|
244
250
|
};
|
|
245
251
|
//#endregion
|
|
246
252
|
|
|
@@ -316,21 +322,23 @@ const AXMPpeItemViewerWidget = {
|
|
|
316
322
|
],
|
|
317
323
|
components: {
|
|
318
324
|
edit: {
|
|
319
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-
|
|
325
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs').then((c) => c.AXMPpeItemViewerWidgetEditComponent),
|
|
320
326
|
},
|
|
321
327
|
view: {
|
|
322
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-
|
|
328
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs').then((c) => c.AXMPpeItemViewerWidgetEditComponent),
|
|
323
329
|
},
|
|
324
330
|
designer: {
|
|
325
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-
|
|
331
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs').then((c) => c.AXMPpeItemViewerWidgetEditComponent),
|
|
326
332
|
},
|
|
333
|
+
formPrint: { component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-print.component-Bmr8LhoF.mjs').then(m => m.AXPPpeItemViewerPrintComponent) },
|
|
327
334
|
print: {
|
|
328
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-
|
|
335
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CUwa70wq.mjs').then((c) => c.AXMPpeItemViewerWidgetEditComponent),
|
|
329
336
|
},
|
|
330
337
|
column: {
|
|
331
|
-
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-
|
|
338
|
+
component: () => import('./acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D4bhgV8u.mjs').then((c) => c.AXMPpeItemViewerWidgetColumnComponent),
|
|
332
339
|
},
|
|
333
340
|
},
|
|
341
|
+
toString: `display(value)`,
|
|
334
342
|
};
|
|
335
343
|
//#endregion
|
|
336
344
|
|
|
@@ -481,10 +489,102 @@ const WorkplaceSafetyOnboardingStepsHookProvider = {
|
|
|
481
489
|
};
|
|
482
490
|
//#endregion
|
|
483
491
|
|
|
492
|
+
//#region ----- Imports -----
|
|
493
|
+
//#endregion
|
|
494
|
+
class JobDocIntegrationService {
|
|
495
|
+
constructor() {
|
|
496
|
+
//#region ----- Services & Dependencies -----
|
|
497
|
+
this.entities = inject(AXPEntityService);
|
|
498
|
+
this.toasts = inject(AXToastService);
|
|
499
|
+
this.translation = inject(AXTranslationService);
|
|
500
|
+
}
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region ----- Form Hydration -----
|
|
503
|
+
async provide(context) {
|
|
504
|
+
context.addScope('jobDocIntegration', { resolveProject: (id) => this.resolveProject(id) });
|
|
505
|
+
}
|
|
506
|
+
async resolveProject(id) {
|
|
507
|
+
const project = await this.readProject(id, true);
|
|
508
|
+
if (!project)
|
|
509
|
+
return undefined;
|
|
510
|
+
return jobDocProjectSelection(project, await this.customerPartyId(project));
|
|
511
|
+
}
|
|
512
|
+
async resolveProjectDefaults(id) {
|
|
513
|
+
const project = await this.readProject(id, false);
|
|
514
|
+
if (!project)
|
|
515
|
+
return undefined;
|
|
516
|
+
const partyId = await this.customerPartyId(project);
|
|
517
|
+
return { ...jobDocProjectDefaults(project), customer: partyId ? { partyId } : null };
|
|
518
|
+
}
|
|
519
|
+
async customerPartyId(project) {
|
|
520
|
+
if (project.customer?.partyId || !project.customerId)
|
|
521
|
+
return project.customer?.partyId;
|
|
522
|
+
return (await this.entities.withEntity(RootConfig$1.module.name, RootConfig$1.entities.customer.name)
|
|
523
|
+
.data()
|
|
524
|
+
.byKey(project.customerId, { fields: ['id', 'partyId'] }).catch(() => null))?.partyId;
|
|
525
|
+
}
|
|
526
|
+
async readProject(id, includeCustomerParty) {
|
|
527
|
+
if (!id)
|
|
528
|
+
return undefined;
|
|
529
|
+
try {
|
|
530
|
+
const project = await this.entities.withEntity(RootConfig$2.module.name, RootConfig$2.entities.project.name)
|
|
531
|
+
.data().byKey(id, {
|
|
532
|
+
fields: ['id', 'title', 'customerId', 'contactAssignmentId', 'locationAssignmentId',
|
|
533
|
+
...(includeCustomerParty ? ['customer.partyId'] : [])],
|
|
534
|
+
});
|
|
535
|
+
if (project)
|
|
536
|
+
return project;
|
|
537
|
+
}
|
|
538
|
+
catch {
|
|
539
|
+
// Missing and unreadable projects both prevent using this selection.
|
|
540
|
+
}
|
|
541
|
+
const content = await this.translation.translateAsync(includeCustomerParty
|
|
542
|
+
? '@workplacesafety-management:job-doc.setup.integration-selection-failed'
|
|
543
|
+
: '@workplacesafety-management:job-doc.setup.project-load-failed');
|
|
544
|
+
this.toasts.show({ color: 'danger', content });
|
|
545
|
+
return undefined;
|
|
546
|
+
}
|
|
547
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: JobDocIntegrationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
548
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: JobDocIntegrationService, providedIn: 'root' }); }
|
|
549
|
+
}
|
|
550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: JobDocIntegrationService, decorators: [{
|
|
551
|
+
type: Injectable,
|
|
552
|
+
args: [{ providedIn: 'root' }]
|
|
553
|
+
}] });
|
|
554
|
+
function jobDocProjectDefaults(project) {
|
|
555
|
+
return {
|
|
556
|
+
projectId: project.id,
|
|
557
|
+
projectTitle: project.title,
|
|
558
|
+
customerId: project.customerId ?? null,
|
|
559
|
+
contactAssignmentId: project.contactAssignmentId ?? null,
|
|
560
|
+
locationAssignmentId: project.locationAssignmentId ?? null,
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
/** Build one context patch for imported projects. */
|
|
564
|
+
function jobDocProjectSelection(project, partyId) {
|
|
565
|
+
const defaults = jobDocProjectDefaults(project);
|
|
566
|
+
const { customerId } = defaults;
|
|
567
|
+
const contactAssignmentId = customerId ? defaults.contactAssignmentId : null;
|
|
568
|
+
const locationAssignmentId = customerId ? defaults.locationAssignmentId : null;
|
|
569
|
+
return {
|
|
570
|
+
...defaults,
|
|
571
|
+
customer: customerId ? { id: customerId, partyId: partyId ?? null } : null,
|
|
572
|
+
contactAssignmentId,
|
|
573
|
+
contactAssignment: null,
|
|
574
|
+
projectContactAssignmentId: contactAssignmentId,
|
|
575
|
+
locationAssignmentId,
|
|
576
|
+
locationAssignment: null,
|
|
577
|
+
projectLocationAssignmentId: locationAssignmentId,
|
|
578
|
+
choiceId: `${project.id}:${locationAssignmentId ?? ''}`,
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
|
|
484
582
|
class AXMWorkplaceSafetyManagementModule {
|
|
485
583
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
486
584
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, imports: [AXPWidgetCoreModule] }); }
|
|
487
585
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, providers: [
|
|
586
|
+
{ provide: AXP_TASK_WORKSPACE_STEPPED_TYPES, useValue: JOB_DOC_TASK_TYPE_ID, multi: true },
|
|
587
|
+
{ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useExisting: JobDocIntegrationService, multi: true },
|
|
488
588
|
{
|
|
489
589
|
provide: AXP_HOOK_PROVIDER,
|
|
490
590
|
useValue: WorkplaceSafetyOnboardingStepsHookProvider,
|
|
@@ -515,11 +615,11 @@ class AXMWorkplaceSafetyManagementModule {
|
|
|
515
615
|
useClass: AXMWorkplaceSafetyManagementSearchCommandProvider,
|
|
516
616
|
multi: true,
|
|
517
617
|
},
|
|
518
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-
|
|
519
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-
|
|
520
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-
|
|
521
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-workplacesafety-management-client-
|
|
522
|
-
provideCommand('SafetyPlan:Sections:Save', () => import('./acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-
|
|
618
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-XUpvOWyt.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardPpeRuleStatusProvider)),
|
|
619
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-hCnzjOe7.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardRiskStatusProvider)),
|
|
620
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BjdJDKHn.mjs').then((m) => m.AXMWorkplaceSafetyManagementSafetyPlanStatusProvider)),
|
|
621
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-sections-page-DlULCH_5.mjs').then((m) => m.AXMSafetyPlanSectionsPageComponentProvider)),
|
|
622
|
+
provideCommand('SafetyPlan:Sections:Save', () => import('./acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CQqJ-p5u.mjs').then((m) => m.AXMSaveSafetyPlanSectionsCommand)),
|
|
523
623
|
{
|
|
524
624
|
provide: AXP_WIDGET_DEFINITION_PROVIDER,
|
|
525
625
|
useClass: AXMWorkplaceSafetyManagementWidgetsProvider,
|
|
@@ -528,23 +628,23 @@ class AXMWorkplaceSafetyManagementModule {
|
|
|
528
628
|
provideCommandSetups([
|
|
529
629
|
{
|
|
530
630
|
key: `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}:Preview`,
|
|
531
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-
|
|
631
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-BfuvjV_F.mjs').then((c) => c.AXMPreviewControlHierarchyDiagramCommand),
|
|
532
632
|
},
|
|
533
633
|
{
|
|
534
634
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Preview`,
|
|
535
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-
|
|
635
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-B6HKY2jC.mjs').then((c) => c.AXMPreviewSafetyPlanCommand),
|
|
536
636
|
},
|
|
537
637
|
{
|
|
538
638
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Fill`,
|
|
539
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-
|
|
639
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-By_pSGSY.mjs').then((c) => c.AXMFillSafetyPlanCommand),
|
|
540
640
|
},
|
|
541
641
|
{
|
|
542
642
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Publish`,
|
|
543
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-
|
|
643
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-BiBLNqr4.mjs').then((c) => c.AXMPublishSafetyPlanCommand),
|
|
544
644
|
},
|
|
545
645
|
{
|
|
546
646
|
key: 'WorkplaceSafetyManagement.JobDoc:ShowSetup',
|
|
547
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-
|
|
647
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-BY_NOprP.mjs').then((c) => c.AXMShowJobDocSetupCommand),
|
|
548
648
|
},
|
|
549
649
|
]),
|
|
550
650
|
], imports: [AXPWidgetCoreModule] }); }
|
|
@@ -554,6 +654,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
554
654
|
args: [{
|
|
555
655
|
imports: [AXPWidgetCoreModule],
|
|
556
656
|
providers: [
|
|
657
|
+
{ provide: AXP_TASK_WORKSPACE_STEPPED_TYPES, useValue: JOB_DOC_TASK_TYPE_ID, multi: true },
|
|
658
|
+
{ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useExisting: JobDocIntegrationService, multi: true },
|
|
557
659
|
{
|
|
558
660
|
provide: AXP_HOOK_PROVIDER,
|
|
559
661
|
useValue: WorkplaceSafetyOnboardingStepsHookProvider,
|
|
@@ -584,11 +686,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
584
686
|
useClass: AXMWorkplaceSafetyManagementSearchCommandProvider,
|
|
585
687
|
multi: true,
|
|
586
688
|
},
|
|
587
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-
|
|
588
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-
|
|
589
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-
|
|
590
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-workplacesafety-management-client-
|
|
591
|
-
provideCommand('SafetyPlan:Sections:Save', () => import('./acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-
|
|
689
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-XUpvOWyt.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardPpeRuleStatusProvider)),
|
|
690
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-hCnzjOe7.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardRiskStatusProvider)),
|
|
691
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BjdJDKHn.mjs').then((m) => m.AXMWorkplaceSafetyManagementSafetyPlanStatusProvider)),
|
|
692
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-workplacesafety-management-client-safety-plan-sections-page-DlULCH_5.mjs').then((m) => m.AXMSafetyPlanSectionsPageComponentProvider)),
|
|
693
|
+
provideCommand('SafetyPlan:Sections:Save', () => import('./acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CQqJ-p5u.mjs').then((m) => m.AXMSaveSafetyPlanSectionsCommand)),
|
|
592
694
|
{
|
|
593
695
|
provide: AXP_WIDGET_DEFINITION_PROVIDER,
|
|
594
696
|
useClass: AXMWorkplaceSafetyManagementWidgetsProvider,
|
|
@@ -597,32 +699,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
597
699
|
provideCommandSetups([
|
|
598
700
|
{
|
|
599
701
|
key: `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}:Preview`,
|
|
600
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-
|
|
702
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-BfuvjV_F.mjs').then((c) => c.AXMPreviewControlHierarchyDiagramCommand),
|
|
601
703
|
},
|
|
602
704
|
{
|
|
603
705
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Preview`,
|
|
604
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-
|
|
706
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-B6HKY2jC.mjs').then((c) => c.AXMPreviewSafetyPlanCommand),
|
|
605
707
|
},
|
|
606
708
|
{
|
|
607
709
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Fill`,
|
|
608
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-
|
|
710
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-By_pSGSY.mjs').then((c) => c.AXMFillSafetyPlanCommand),
|
|
609
711
|
},
|
|
610
712
|
{
|
|
611
713
|
key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Publish`,
|
|
612
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-
|
|
714
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-BiBLNqr4.mjs').then((c) => c.AXMPublishSafetyPlanCommand),
|
|
613
715
|
},
|
|
614
716
|
{
|
|
615
717
|
key: 'WorkplaceSafetyManagement.JobDoc:ShowSetup',
|
|
616
|
-
command: () => import('./acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-
|
|
718
|
+
command: () => import('./acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-BY_NOprP.mjs').then((c) => c.AXMShowJobDocSetupCommand),
|
|
617
719
|
},
|
|
618
720
|
]),
|
|
619
721
|
],
|
|
620
722
|
}]
|
|
621
723
|
}] });
|
|
622
724
|
|
|
725
|
+
const AXM_JOB_DOC_PROJECT_SOURCES_HOOK = 'job-doc.setup.project-sources';
|
|
726
|
+
|
|
623
727
|
/**
|
|
624
728
|
* Generated bundle index. Do not edit.
|
|
625
729
|
*/
|
|
626
730
|
|
|
627
|
-
export {
|
|
628
|
-
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-
|
|
731
|
+
export { AXM_JOB_DOC_PROJECT_SOURCES_HOOK as A, JobDocIntegrationService as J, PPE_ITEM_VIEWER_WIDGET_NAME as P, AXMWorkplaceSafetyManagementMenuProvider as a, AXMWorkplaceSafetyManagementModule as b, AXMWorkplaceSafetyManagementSearchCommandProvider as c };
|
|
732
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Bsyyn-al.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Bsyyn-al.mjs","sources":["../../../../libs/modules/workplacesafety-management/client/src/lib/menu.provider.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/control-hierarchy-diagram/control-hierarchy-diagram-widget.config.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/ppe-item-viewer/ppe-item-viewer.types.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/ppe-item-viewer/ppe-item-viewer-widget.config.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/widget-definition.provider.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/middlewares/control-hierarchy-levels-ui-cleanup.middleware.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/middlewares/safety-plan-publication.middleware.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/onboarding/workplace-safety-onboarding-steps.hook.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/job-doc/job-doc-integration.service.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/workplacesafety-management.module.ts","../../../../libs/modules/workplacesafety-management/client/src/lib/features/job-doc/job-doc-project-sources.hook.ts","../../../../libs/modules/workplacesafety-management/client/src/acorex-platform-module-workplacesafety-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPSafetyRiskPermissionKeys\n} from '@acorex-platform/module-workplacesafety-management-client/contracts';\nimport { AXMWorkplaceSafetyManagementMenuKeys } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\n//#endregion\n\n//#region ---- Menu provider ----\n\nexport class AXMWorkplaceSafetyManagementMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n public async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPSafetyRiskPermissionKeys;\n\n //#region ---- Main menu: Workplace Safety ----\n\n const workplaceSafetyRoot = context.find(AXMWorkplaceSafetyManagementMenuKeys.Root);\n if (!workplaceSafetyRoot.exists) {\n context.addItems([\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.Root,\n priority: 8150,\n text: `@${RootConfig.config.i18n}:module.menus.workplace-safety`,\n icon: module.icon,\n type: 'menu',\n policy: {\n features: [module.name],\n },\n children: [],\n },\n ]);\n }\n\n context.find(AXMWorkplaceSafetyManagementMenuKeys.Root).addItems([\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.SafetyPlans,\n text: RootConfig.entities.safetyPlan.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.safetyPlan.name),\n icon: RootConfig.entities.safetyPlan.icon,\n priority: 1,\n policy: {\n permissions: [keys.MaintainSafety],\n },\n },\n ]);\n\n //#endregion\n\n //#region ---- Configuration: Workplace Safety ----\n\n const workplaceSafetyConfiguration = context.find(AXMWorkplaceSafetyManagementMenuKeys.Configuration);\n if (!workplaceSafetyConfiguration.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.Configuration,\n priority: 8945,\n text: `@${RootConfig.config.i18n}:module.menus.workplace-safety`,\n icon: module.icon,\n type: 'menu',\n policy: {\n features: [module.name],\n },\n children: [],\n },\n ]);\n }\n\n context.find(AXMWorkplaceSafetyManagementMenuKeys.Configuration).addItems([\n {\n text: RootConfig.entities.hazard.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.hazard.name),\n icon: RootConfig.entities.hazard.icon,\n priority: 1,\n policy: {\n permissions: [keys.MaintainSafety],\n },\n },\n {\n text: RootConfig.entities.ppeItem.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.ppeItem.name),\n icon: RootConfig.entities.ppeItem.icon,\n priority: 2,\n policy: {\n permissions: [keys.MaintainSafety],\n },\n },\n {\n text: RootConfig.entities.controlHierarchyLevels.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.controlHierarchyLevels.name),\n icon: RootConfig.entities.controlHierarchyLevels.icon,\n priority: 3,\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n text: RootConfig.entities.controlMeasure.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.controlMeasure.name),\n icon: RootConfig.entities.controlMeasure.icon,\n priority: 4,\n policy: {\n permissions: [keys.MaintainSafety],\n },\n },\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.SafetyPlanTypes,\n text: RootConfig.entities.safetyPlanType.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.safetyPlanType.name),\n icon: RootConfig.entities.safetyPlanType.icon,\n priority: 5,\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.SectionTypes,\n text: RootConfig.entities.sectionType.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.sectionType.name),\n icon: RootConfig.entities.sectionType.icon,\n priority: 6,\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMWorkplaceSafetyManagementMenuKeys.SafetyPlanActivities,\n text: RootConfig.entities.safetyPlanActivity.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.safetyPlanActivity.name),\n icon: RootConfig.entities.safetyPlanActivity.icon,\n priority: 7,\n policy: {\n permissions: [keys.Setup],\n },\n },\n ]);\n\n //#endregion\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPSafetyRiskPermissionKeys } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers workplace safety capabilities into the shared Safety & Risk group.\n */\n@Injectable()\nexport class AXMWorkplaceSafetyManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPSafetyRiskPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:safety-risk.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.SafetyRisk.Root, `${G}.safety-risk.title`, `${G}.safety-risk.description`, { order: 30 });\n\n context\n .addGroup(groups.SafetyRisk.WorkplaceSafety, `${G}.safety-risk-workplace-safety.title`, `${G}.safety-risk-workplace-safety.description`, { parent: groups.SafetyRisk.Root, order: 10 })\n .addPermission(keys.Access, `${P}.access.title`, `${P}.access.description`)\n .endPermission()\n .addPermission(keys.MaintainSafety, `${P}.maintain-safety.title`, `${P}.maintain-safety.description`)\n .endPermission()\n .addPermission(keys.Setup, `${P}.setup.title`, `${P}.setup.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex-platform/framework-client/common';\n\n/** Matches the seeded workflow name `create-job-doc`. */\nconst CREATE_JOB_DOC_WORKFLOW_NAME = 'create-job-doc';\n\nexport class AXMWorkplaceSafetyManagementSearchCommandProvider extends AXPSearchCommandProvider {\n public commands: AXPSearchResult[] = [\n {\n id: 'create-job-doc',\n group: 'command',\n title: '@workplacesafety-management:job-doc.search-commands.create.title',\n description: '@workplacesafety-management:job-doc.search-commands.create.description',\n icon: 'fa-light fa-file-lines',\n command: {\n name: 'WorkflowManagement.WorkflowDefinition:Execute',\n options: {\n workflowId: CREATE_JOB_DOC_WORKFLOW_NAME,\n },\n },\n },\n ];\n}\n","//#region ---- Imports ----\n\nimport { AXPWidgetConfig, AXPWidgetGroupEnum, createSelectProperty } from '@acorex-platform/framework-shared/widget-core';\nimport { AXP_WIDGETS_EDITOR_CATEGORY } from '@acorex-platform/framework-client/layout/widget-core';\nimport {\n AXP_BEHAVIOR_PROPERTY_GROUP,\n AXP_DATA_PATH_PROPERTY,\n AXP_NAME_PROPERTY,\n} from '@acorex-platform/framework-client/layout/widgets';\n\nimport { type AXMControlHierarchyDiagramViewTypeOption } from './control-hierarchy-diagram.types';\n\n//#endregion\n\n//#region ---- Widget Config ----\n\nexport const AXMControlHierarchyDiagramWidget: AXPWidgetConfig = {\n name: 'control-hierarchy-diagram-editor',\n title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.widget-title',\n description: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.widget-description',\n icon: 'fa-light fa-layer-group',\n categories: AXP_WIDGETS_EDITOR_CATEGORY,\n groups: [AXPWidgetGroupEnum.UtilityWidget],\n type: 'view',\n options: {\n needLabel: false,\n },\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n createSelectProperty({\n name: 'viewType',\n title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',\n group: AXP_BEHAVIOR_PROPERTY_GROUP,\n path: 'options.viewType',\n defaultValue: { id: 'horizontal', title: 'Horizontal cards' },\n dataSource: [\n {\n id: 'horizontal',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',\n },\n {\n id: 'vertical',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',\n },\n {\n id: 'horizontal-chevron',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',\n },\n ],\n }),\n ],\n components: {\n view: {\n component: () =>\n import('./control-hierarchy-diagram-widget-view.component').then(\n (c) => c.AXMControlHierarchyDiagramWidgetViewComponent,\n ),\n },\n },\n toString: `display(value)`,\n};\n\nexport type AXMControlHierarchyDiagramWidgetOptions = {\n /** Default layout when context has no `hierarchyDiagramViewType`. */\n viewType?: AXMControlHierarchyDiagramViewTypeOption;\n highlightLevelId?: string;\n showTitle?: boolean;\n showViewTypeSelector?: boolean;\n};\n\n//#endregion\n","//#region ----- Types -----\n\nexport const PPE_ITEM_VIEWER_WIDGET_NAME = 'ppe-item-viewer';\n\nexport type AXMPpeItemViewerLayout = 'horizontal' | 'vertical';\n\nexport type AXMPpeItemViewerLayoutOption =\n | AXMPpeItemViewerLayout\n | { id: AXMPpeItemViewerLayout; title?: string };\n\nexport type AXMPpeItemViewerLook = 'card' | 'list';\n\nexport interface AXMPpeItemViewerDisplayItem {\n id: string;\n title: string;\n code?: string;\n serialNumber?: string;\n imageUrl: string | null;\n}\n\nexport interface AXMPpeItemViewerWidgetOptions {\n ppeItems?: unknown;\n layout?: AXMPpeItemViewerLayoutOption;\n disabled?: boolean;\n readonly?: boolean;\n label?: string;\n}\n\n//#endregion\n","//#region ----- Imports -----\n\nimport { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPWidgetConfig, AXPWidgetGroupEnum, createSelectProperty } from '@acorex-platform/framework-shared/widget-core';\nimport { AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_EDITOR_SUB_CHOICE } from '@acorex-platform/framework-client/layout/widget-core';\nimport {\n AXP_BEHAVIOR_PROPERTY_GROUP,\n AXP_DATA_PATH_PROPERTY,\n AXP_DISABLED_PROPERTY,\n AXP_NAME_PROPERTY,\n AXP_READONLY_PROPERTY,\n AXP_REQUIRED_VALIDATION_PROPERTY,\n AXP_TRIGGERS_PROPERTY,\n} from '@acorex-platform/framework-client/layout/widgets';\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\nimport { PPE_ITEM_VIEWER_WIDGET_NAME } from './ppe-item-viewer.types';\n\n//#endregion\n\n//#region ----- Widget Config -----\n\nexport const AXMPpeItemViewerWidget: AXPWidgetConfig = {\n name: PPE_ITEM_VIEWER_WIDGET_NAME,\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.widget-title',\n description: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.widget-description',\n icon: 'fa-light fa-helmet-safety',\n categories: AXP_WIDGETS_EDITOR_CATEGORY,\n subCategory: AXP_WIDGETS_EDITOR_SUB_CHOICE,\n groups: [AXPWidgetGroupEnum.FormElement],\n defaultFilterWidgetName: 'lookup-filter',\n type: 'editor',\n options: {\n needLabel: false,\n },\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n {\n name: 'ppeItems',\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.fields.ppe-items.title',\n group: AXP_BEHAVIOR_PROPERTY_GROUP,\n schema: {\n dataType: 'array',\n interface: {\n name: 'ppeItems',\n path: 'options.ppeItems',\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.ppeItem.name}`,\n look: 'select',\n multiple: true,\n allowSearch: true,\n valueField: 'id',\n textField: 'title',\n },\n },\n },\n visible: true,\n },\n createSelectProperty({\n name: 'layout',\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.fields.layout.title',\n group: AXP_BEHAVIOR_PROPERTY_GROUP,\n path: 'options.layout',\n defaultValue: {\n id: 'horizontal',\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.layouts.horizontal',\n },\n dataSource: [\n {\n id: 'horizontal',\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.layouts.horizontal',\n },\n {\n id: 'vertical',\n title: '@workplacesafety-management:ppe-items.components.ppe-item-viewer.layouts.vertical',\n },\n ],\n }),\n AXP_READONLY_PROPERTY,\n AXP_DISABLED_PROPERTY,\n AXP_TRIGGERS_PROPERTY,\n AXP_REQUIRED_VALIDATION_PROPERTY,\n ],\n components: {\n edit: {\n component: () =>\n import('./ppe-item-viewer-widget-edit.component').then((c) => c.AXMPpeItemViewerWidgetEditComponent),\n },\n view: {\n component: () =>\n import('./ppe-item-viewer-widget-edit.component').then((c) => c.AXMPpeItemViewerWidgetEditComponent),\n },\n designer: {\n component: () =>\n import('./ppe-item-viewer-widget-edit.component').then((c) => c.AXMPpeItemViewerWidgetEditComponent),\n },\n formPrint: { component: () => import('./ppe-item-viewer-widget-print.component').then(m => m.AXPPpeItemViewerPrintComponent) },\n print: {\n component: () =>\n import('./ppe-item-viewer-widget-edit.component').then((c) => c.AXMPpeItemViewerWidgetEditComponent),\n },\n column: {\n component: () =>\n import('./ppe-item-viewer-widget-column.component').then((c) => c.AXMPpeItemViewerWidgetColumnComponent),\n },\n },\n toString: `display(value)`,\n};\n\ndeclare module '@acorex-platform/framework-shared/widget-core' {\n interface AXPWidgetTypesMap {\n ppeItemViewer: 'ppe-item-viewer';\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPWidgetDefinitionProvider } from '@acorex-platform/framework-client/layout/widget-core';\nimport { Injectable } from '@angular/core';\n\nimport { AXMControlHierarchyDiagramWidget } from './features/control-hierarchy-diagram/control-hierarchy-diagram-widget.config';\nimport { AXMPpeItemViewerWidget } from './features/ppe-item-viewer/ppe-item-viewer-widget.config';\n\n//#endregion\n\n//#region ---- Widget Provider ----\n\n@Injectable()\nexport class AXMWorkplaceSafetyManagementWidgetsProvider implements AXPWidgetDefinitionProvider {\n getWidgets() {\n return [AXMControlHierarchyDiagramWidget, AXMPpeItemViewerWidget];\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPEntityStorageMiddleware } from '@acorex-platform/framework-client/layout/entity';\nimport { unset } from 'lodash';\n\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\n//#endregion\n\n//#region ---- Middleware ----\n\n/**\n * Strips transient hierarchy diagram UI fields before persisting Control Hierarchy records.\n * View type and diagram preview exist only on the entity form and must not be stored.\n */\nexport const controlHierarchyLevelsUiCleanupMiddleware: AXPEntityStorageMiddleware = {\n target: {\n ops: ['create', 'update'],\n order: 10,\n },\n\n execute: async (ctx, next) => {\n const entityFullName = `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}`;\n\n if (ctx.entityName !== entityFullName || !ctx.data) {\n await next();\n return;\n }\n\n unset(ctx.data, 'hierarchyDiagramViewType');\n unset(ctx.data, 'hierarchyDiagram');\n\n await next();\n },\n};\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPEntityStorageMiddleware } from '@acorex-platform/framework-client/layout/entity';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\nimport { inject } from '@angular/core';\nimport { isEmpty, unset } from 'lodash';\n\n//#endregion\n\n//#region ---- Middleware ----\n\nconst safetyPlanEntityName = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;\n\n/**\n * Safety plan publication metadata is system-managed: stamped when status transitions to Published.\n */\nexport const safetyPlanPublicationMiddleware: AXPEntityStorageMiddleware = {\n target: {\n ops: ['create', 'update'],\n entity: safetyPlanEntityName,\n order: 15,\n },\n\n execute: async (ctx, next) => {\n if (!ctx.data || typeof ctx.data !== 'object') {\n await next();\n return;\n }\n\n const data = ctx.data as Record<string, unknown>;\n\n if (ctx.op === 'create') {\n unset(data, 'publishedAt');\n unset(data, 'publishedById');\n unset(data, 'publishedBy');\n if (!data['status']) {\n data['status'] = AXPSystemStatusType.Draft;\n }\n await next();\n return;\n }\n\n const previous =\n ctx.previous ??\n (ctx.id != null ? await ctx.backend.getOne(ctx.entityName, ctx.id).catch(() => null) : null);\n const previousRecord = (previous ?? {}) as Record<string, unknown>;\n const previousStatus =\n typeof previousRecord['status'] === 'string' ? (previousRecord['status'] as string) : undefined;\n const nextStatus = typeof data['status'] === 'string' ? (data['status'] as string) : previousStatus;\n\n unset(data, 'publishedAt');\n unset(data, 'publishedById');\n unset(data, 'publishedBy');\n\n if (\n nextStatus === AXPSystemStatusType.Published &&\n previousStatus !== AXPSystemStatusType.Published\n ) {\n data['publishedAt'] = new Date().toISOString();\n const currentUserId = inject(AXPSessionService, { optional: true })?.user?.id;\n if (!isEmpty(currentUserId)) {\n data['publishedById'] = currentUserId;\n }\n } else if (previousStatus === AXPSystemStatusType.Published) {\n if (previousRecord['publishedAt']) {\n data['publishedAt'] = previousRecord['publishedAt'];\n }\n if (previousRecord['publishedById']) {\n data['publishedById'] = previousRecord['publishedById'];\n }\n if (previousRecord['publishedBy']) {\n data['publishedBy'] = previousRecord['publishedBy'];\n }\n }\n\n await next();\n },\n};\n\n//#endregion\n","import { AXPHookProvider } from '@acorex-platform/framework-client/core';\nimport {\n ONBOARDING_STEPS_HOOK,\n type AXPOnboardingStepsPayload,\n} from '@acorex-platform/module-auth-client';\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\n//#region ----- Workplace safety orientation step -----\n\nconst MODULE_NAME = RootConfig.module.name;\nconst SAFETY_PLAN_ENTITY = RootConfig.entities.safetyPlan.name;\n\n/**\n * Application-scoped Workplace Safety orientation when WHS is loaded\n * (e.g. Safetyminder). Regular-user safe: where to find day-to-day safety\n * tools — not admin register/plan configuration.\n */\nexport const WorkplaceSafetyOnboardingStepsHookProvider: AXPHookProvider<\n AXPOnboardingStepsPayload,\n AXPOnboardingStepsPayload\n> = {\n key: ONBOARDING_STEPS_HOOK,\n priority: 45,\n execute: (payload) => ({\n ...payload,\n steps: [\n ...payload.steps,\n {\n id: 'whs-orientation',\n scope: 'application',\n title: '@workplacesafety-management:onboarding.steps.whs-orientation.title',\n description:\n '@workplacesafety-management:onboarding.steps.whs-orientation.description',\n icon: 'far fa-helmet-safety',\n priority: 45,\n actions: [\n {\n text: '@workplacesafety-management:onboarding.steps.whs-orientation.open-safety-plans',\n icon: 'fa-regular fa-file-shield',\n command: {\n name: 'navigate',\n options: {\n path: `/{app}/m/${MODULE_NAME}/e/${SAFETY_PLAN_ENTITY}/list`,\n },\n },\n },\n {\n text: '@workplacesafety-management:onboarding.steps.whs-orientation.open-my-drive',\n icon: 'fa-regular fa-folder-open',\n command: {\n name: 'navigate',\n options: { path: '/{app}/drive/user' },\n },\n },\n ],\n },\n ],\n }),\n};\n\n//#endregion\n","//#region ----- Imports -----\n\nimport { Injectable, inject } from '@angular/core';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport type { AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex-platform/framework-shared/core';\nimport { RootConfig as CustomerConfig, type AXMCustomerManagementCustomerEntityModel } from '@acorex-platform/module-customer-management-client/contracts';\nimport { RootConfig, type AXMProjectManagementProjectEntityModel } from '@acorex-platform/module-project-management-client/contracts';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class JobDocIntegrationService implements AXPExpressionEvaluatorScopeProvider {\n //#region ----- Services & Dependencies -----\n\n private readonly entities = inject(AXPEntityService);\n private readonly toasts = inject(AXToastService);\n private readonly translation = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- Form Hydration -----\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope('jobDocIntegration', { resolveProject: (id: string) => this.resolveProject(id) });\n }\n\n async resolveProject(id: string): Promise<ReturnType<typeof jobDocProjectSelection> | undefined> {\n const project = await this.readProject(id, true);\n if (!project) return undefined;\n\n return jobDocProjectSelection(project, await this.customerPartyId(project));\n }\n\n async resolveProjectDefaults(id: string) {\n const project = await this.readProject(id, false);\n if (!project) return undefined;\n const partyId = await this.customerPartyId(project);\n return { ...jobDocProjectDefaults(project), customer: partyId ? { partyId } : null };\n }\n\n private async customerPartyId(project: AXMProjectManagementProjectEntityModel): Promise<string | undefined> {\n if (project.customer?.partyId || !project.customerId) return project.customer?.partyId;\n return (await this.entities.withEntity(CustomerConfig.module.name, CustomerConfig.entities.customer.name)\n .data<string, AXMCustomerManagementCustomerEntityModel>()\n .byKey(project.customerId, { fields: ['id', 'partyId'] }).catch(() => null))?.partyId;\n }\n\n private async readProject(id: string, includeCustomerParty: boolean): Promise<AXMProjectManagementProjectEntityModel | undefined> {\n if (!id) return undefined;\n try {\n const project = await this.entities.withEntity(RootConfig.module.name, RootConfig.entities.project.name)\n .data<string, AXMProjectManagementProjectEntityModel>().byKey(id, {\n fields: ['id', 'title', 'customerId', 'contactAssignmentId', 'locationAssignmentId',\n ...(includeCustomerParty ? ['customer.partyId'] : [])],\n });\n if (project) return project;\n } catch {\n // Missing and unreadable projects both prevent using this selection.\n }\n const content = await this.translation.translateAsync(includeCustomerParty\n ? '@workplacesafety-management:job-doc.setup.integration-selection-failed'\n : '@workplacesafety-management:job-doc.setup.project-load-failed');\n this.toasts.show({ color: 'danger', content });\n return undefined;\n }\n\n //#endregion\n}\n\nfunction jobDocProjectDefaults(project: AXMProjectManagementProjectEntityModel) {\n return {\n projectId: project.id,\n projectTitle: project.title,\n customerId: project.customerId ?? null,\n contactAssignmentId: project.contactAssignmentId ?? null,\n locationAssignmentId: project.locationAssignmentId ?? null,\n };\n}\n\n/** Build one context patch for imported projects. */\nfunction jobDocProjectSelection(project: AXMProjectManagementProjectEntityModel, partyId?: string) {\n const defaults = jobDocProjectDefaults(project);\n const { customerId } = defaults;\n const contactAssignmentId = customerId ? defaults.contactAssignmentId : null;\n const locationAssignmentId = customerId ? defaults.locationAssignmentId : null;\n return {\n ...defaults,\n customer: customerId ? { id: customerId, partyId: partyId ?? null } : null,\n contactAssignmentId,\n contactAssignment: null,\n projectContactAssignmentId: contactAssignmentId,\n locationAssignmentId,\n locationAssignment: null,\n projectLocationAssignmentId: locationAssignmentId,\n choiceId: `${project.id}:${locationAssignmentId ?? ''}`,\n };\n}\n","import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';\nimport { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_HOOK_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';\nimport { AXP_ENTITY_STORAGE_MIDDLEWARE } from '@acorex-platform/framework-client/layout/entity';\nimport { AXP_WIDGET_DEFINITION_PROVIDER, AXPWidgetCoreModule } from '@acorex-platform/framework-client/layout/widget-core';\nimport { provideCommand, provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { AXP_TASK_WORKSPACE_STEPPED_TYPES } from '@acorex-platform/module-task-management-client';\nimport { NgModule } from '@angular/core';\n\nimport { JOB_DOC_TASK_TYPE_ID, RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\nimport { AXMWorkplaceSafetyManagementMenuProvider } from './menu.provider';\nimport { AXMWorkplaceSafetyManagementPermissionDefinitionProvider } from './permission-definition.provider';\nimport { AXMWorkplaceSafetyManagementSearchCommandProvider } from './search-command.provider';\nimport { AXMWorkplaceSafetyManagementWidgetsProvider } from './widget-definition.provider';\nimport { controlHierarchyLevelsUiCleanupMiddleware, safetyPlanPublicationMiddleware } from './middlewares';\nimport { WorkplaceSafetyOnboardingStepsHookProvider } from './features/onboarding/workplace-safety-onboarding-steps.hook';\nimport { JobDocIntegrationService } from './features/job-doc/job-doc-integration.service';\n\n@NgModule({\n imports: [AXPWidgetCoreModule],\n providers: [\n { provide: AXP_TASK_WORKSPACE_STEPPED_TYPES, useValue: JOB_DOC_TASK_TYPE_ID, multi: true },\n { provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useExisting: JobDocIntegrationService, multi: true },\n {\n provide: AXP_HOOK_PROVIDER,\n useValue: WorkplaceSafetyOnboardingStepsHookProvider,\n multi: true,\n },\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMWorkplaceSafetyManagementPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMWorkplaceSafetyManagementMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_ENTITY_STORAGE_MIDDLEWARE,\n useValue: controlHierarchyLevelsUiCleanupMiddleware,\n multi: true,\n },\n {\n provide: AXP_ENTITY_STORAGE_MIDDLEWARE,\n useValue: safetyPlanPublicationMiddleware,\n multi: true,\n },\n {\n provide: AXP_SEARCH_PROVIDER,\n useClass: AXMWorkplaceSafetyManagementSearchCommandProvider,\n multi: true,\n },\n provideLazyProvider(AXP_STATUS_PROVIDERS, () =>\n import('./features/hazard-ppe-rule-status.provider').then(\n (m) => m.AXMWorkplaceSafetyManagementHazardPpeRuleStatusProvider,\n ),\n ),\n provideLazyProvider(AXP_STATUS_PROVIDERS, () =>\n import('./features/hazard-risk-status.provider').then(\n (m) => m.AXMWorkplaceSafetyManagementHazardRiskStatusProvider,\n ),\n ),\n provideLazyProvider(AXP_STATUS_PROVIDERS, () =>\n import('./features/safety-plan-status.provider').then(\n (m) => m.AXMWorkplaceSafetyManagementSafetyPlanStatusProvider,\n ),\n ),\n provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () =>\n import('./features/safety-plan-sections-page').then((m) => m.AXMSafetyPlanSectionsPageComponentProvider),\n ),\n provideCommand('SafetyPlan:Sections:Save', () =>\n import('./features/safety-plan-sections-page/save-safety-plan-sections.command').then(\n (m) => m.AXMSaveSafetyPlanSectionsCommand,\n ),\n ),\n {\n provide: AXP_WIDGET_DEFINITION_PROVIDER,\n useClass: AXMWorkplaceSafetyManagementWidgetsProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}:Preview`,\n command: () =>\n import('./features/control-hierarchy-diagram/commands/preview-control-hierarchy-diagram.command').then(\n (c) => c.AXMPreviewControlHierarchyDiagramCommand,\n ),\n },\n {\n key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Preview`,\n command: () =>\n import('./features/safety-plan/commands/preview-safety-plan.command').then(\n (c) => c.AXMPreviewSafetyPlanCommand,\n ),\n },\n {\n key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Fill`,\n command: () =>\n import('./features/safety-plan/commands/fill-safety-plan.command').then(\n (c) => c.AXMFillSafetyPlanCommand,\n ),\n },\n {\n key: `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}:Publish`,\n command: () =>\n import('./features/safety-plan/commands/publish-safety-plan.command').then(\n (c) => c.AXMPublishSafetyPlanCommand,\n ),\n },\n {\n key: 'WorkplaceSafetyManagement.JobDoc:ShowSetup',\n command: () =>\n import('./features/job-doc/show-job-doc-setup.command').then((c) => c.AXMShowJobDocSetupCommand),\n },\n ]),\n ],\n})\nexport class AXMWorkplaceSafetyManagementModule {}\n","import type { AXPWidgetNode } from '@acorex-platform/framework-shared/core';\n\nexport const AXM_JOB_DOC_PROJECT_SOURCES_HOOK = 'job-doc.setup.project-sources';\n\n/** Contributions render before the manual Project field, in hook order. */\nexport interface AXMJobDocProjectSources {\n widgets: readonly AXPWidgetNode[];\n /** Connects a widget's selection event and project-ID output to the form. */\n selectionTrigger(eventName: string, outputName: string): NonNullable<AXPWidgetNode['triggers']>[number];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CustomerConfig","RootConfig"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAcA;AAEA;MAEa,wCAAwC,CAAA;AAArD,IAAA,WAAA,GAAA;AACU,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAkIlD;IAhIS,MAAM,OAAO,CAAC,OAA+B,EAAA;AAClD,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;QAChC,MAAM,IAAI,GAAG,2BAA2B;;QAIxC,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,oCAAoC,CAAC,IAAI,CAAC;AACnF,QAAA,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE;YAC/B,OAAO,CAAC,QAAQ,CAAC;AACf,gBAAA;oBACE,IAAI,EAAE,oCAAoC,CAAC,IAAI;AAC/C,oBAAA,QAAQ,EAAE,IAAI;AACd,oBAAA,IAAI,EAAE,CAAA,CAAA,EAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;oBAChE,IAAI,EAAE,MAAM,CAAC,IAAI;AACjB,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,MAAM,EAAE;AACN,wBAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;AACxB,qBAAA;AACD,oBAAA,QAAQ,EAAE,EAAE;AACb,iBAAA;AACF,aAAA,CAAC;QACJ;QAEA,OAAO,CAAC,IAAI,CAAC,oCAAoC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;AAC/D,YAAA;gBACE,IAAI,EAAE,oCAAoC,CAAC,WAAW;AACtD,gBAAA,IAAI,EAAE,UAAU,CAAC,QA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AAC,wBAAwB,CAClC;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAA,QAAA,CAAU;AAC/E,gCAAA,OAAO,EAAE,MACP,OAAO,qGAA6D,CAAC,CAAC,IAAI,CACxE,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,CACrC;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,4CAA4C;AACjD,gCAAA,OAAO,EAAE,MACP,OAAO,oGAA+C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AACnG,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACrHM,MAAM,gCAAgC,GAAG;;ACFhD;;AAEG;;"}
|
|
@@ -352,7 +352,7 @@ async function hazardEntityFactory() {
|
|
|
352
352
|
groupId: 'assessment-compliance',
|
|
353
353
|
options: listSortAndFilterOptions,
|
|
354
354
|
schema: {
|
|
355
|
-
dataType: '
|
|
355
|
+
dataType: 'reference',
|
|
356
356
|
nullable: true,
|
|
357
357
|
interface: {
|
|
358
358
|
type: AXPWidgetsList.Editors.LookupBox,
|