@acorex-platform/module-workplacesafety-management-client 0.0.38 → 0.0.48
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-Ds0Fkspp.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C2CZZwOj.mjs} +104 -33
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C2CZZwOj.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs +22 -72
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +20 -6
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.mjs +1516 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs +82 -12
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs +82 -12
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs +39 -6
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs +20 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs +19 -5
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs +82 -12
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs} +21 -21
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs} +18 -72
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs} +17 -3
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs +7 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs +324 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs} +62 -10
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs} +17 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs} +17 -3
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs} +36 -3
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs} +17 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs} +16 -2
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs} +17 -3
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs +144 -168
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-lJl0qpvT.mjs +165 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-lJl0qpvT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-TrVl3-T6.mjs +240 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-TrVl3-T6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs → acorex-platform-module-workplacesafety-management-client-index-D_LE40Xc.mjs} +130 -398
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-D_LE40Xc.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-Ce67NSIZ.mjs +136 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-Ce67NSIZ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-DJqqiYlD.mjs +102 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-DJqqiYlD.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs +33 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B9lElhxc.mjs} +252 -72
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B9lElhxc.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs +185 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs} +30 -94
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-UlWyzIXQ.mjs +341 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-UlWyzIXQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
- package/package.json +6 -6
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +133 -157
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +0 -542
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs +0 -405
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs +0 -254
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs +0 -36
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs +0 -204
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs.map +0 -1
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPSystemStatusType, AXPMultiLanguageString, AXPCategoryListItem } from '@acorex-platform/framework-shared/core';
|
|
1
|
+
import { AXPModuleManifest, AXPSystemStatusType, AXPMultiLanguageString, AXPFileListItem, AXPCategoryListItem } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
import { AXMMetaDataBuilderValue } from '@acorex-platform/module-data-management-client/contracts';
|
|
4
4
|
|
|
@@ -142,6 +142,13 @@ declare const AXMWorkplaceSafetyManagementPermissionKeys: {
|
|
|
142
142
|
readonly Update: "SafetyRisk:Permission:Setup";
|
|
143
143
|
readonly Delete: "SafetyRisk:Permission:Setup";
|
|
144
144
|
};
|
|
145
|
+
readonly SafetyPlanActivity: {
|
|
146
|
+
readonly Management: "SafetyRisk:Permission:Setup";
|
|
147
|
+
readonly View: "SafetyRisk:Permission:Setup";
|
|
148
|
+
readonly Create: "SafetyRisk:Permission:Setup";
|
|
149
|
+
readonly Update: "SafetyRisk:Permission:Setup";
|
|
150
|
+
readonly Delete: "SafetyRisk:Permission:Setup";
|
|
151
|
+
};
|
|
145
152
|
readonly SafetyPlanSection: {
|
|
146
153
|
readonly Management: "SafetyRisk:Permission:MaintainSafety";
|
|
147
154
|
readonly View: "SafetyRisk:Permission:MaintainSafety";
|
|
@@ -155,6 +162,7 @@ declare const AXMWorkplaceSafetyManagementPermissionKeys: {
|
|
|
155
162
|
declare const AXMWorkplaceSafetyManagementCommandKeys: {
|
|
156
163
|
readonly SafetyPlan: {
|
|
157
164
|
readonly Preview: "WorkplaceSafetyManagement.SafetyPlan:Preview";
|
|
165
|
+
readonly Fill: "WorkplaceSafetyManagement.SafetyPlan:Fill";
|
|
158
166
|
readonly Publish: "WorkplaceSafetyManagement.SafetyPlan:Publish";
|
|
159
167
|
readonly ChangeType: "WorkplaceSafetyManagement.SafetyPlan:ChangeType";
|
|
160
168
|
};
|
|
@@ -166,6 +174,7 @@ declare const AXMWorkplaceSafetyManagementMenuKeys: {
|
|
|
166
174
|
readonly SafetyPlanSections: "WorkplaceSafetyManagement:Menu:SafetyPlanSections";
|
|
167
175
|
readonly SectionTypes: "WorkplaceSafetyManagement:Menu:SectionTypes";
|
|
168
176
|
readonly WorkStepTypes: "WorkplaceSafetyManagement:Menu:WorkStepTypes";
|
|
177
|
+
readonly SafetyPlanActivities: "WorkplaceSafetyManagement:Menu:SafetyPlanActivities";
|
|
169
178
|
readonly SafetyPlanTypes: "WorkplaceSafetyManagement:Menu:SafetyPlanTypes";
|
|
170
179
|
readonly SafetyPlanTypeSections: "WorkplaceSafetyManagement:Menu:SafetyPlanTypeSections";
|
|
171
180
|
readonly Configuration: "WorkplaceSafetyManagement:Menu:Configuration";
|
|
@@ -280,7 +289,7 @@ declare const RootConfig: {
|
|
|
280
289
|
titlePlural: string;
|
|
281
290
|
icon: string;
|
|
282
291
|
};
|
|
283
|
-
|
|
292
|
+
safetyPlanActivity: {
|
|
284
293
|
name: string;
|
|
285
294
|
source: string;
|
|
286
295
|
title: string;
|
|
@@ -304,6 +313,8 @@ declare const RootConfig: {
|
|
|
304
313
|
};
|
|
305
314
|
};
|
|
306
315
|
|
|
316
|
+
declare const WorkplaceSafetyManagementManifest: AXPModuleManifest;
|
|
317
|
+
|
|
307
318
|
declare enum AXMHazardPpeRuleRequirementType {
|
|
308
319
|
Required = "required",
|
|
309
320
|
Recommended = "recommended",
|
|
@@ -341,10 +352,8 @@ declare const WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS: readonl
|
|
|
341
352
|
readonly title: "@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.requirement-type.options.conditional";
|
|
342
353
|
}];
|
|
343
354
|
|
|
344
|
-
/** Risk
|
|
345
|
-
declare const
|
|
346
|
-
/** Risk matrix cell entity key in the risk-management module. */
|
|
347
|
-
declare const RISK_MANAGEMENT_RISK_MATRIX_CELL_ENTITY = "RiskManagement.RiskMatrixCell";
|
|
355
|
+
/** Risk matrix entity key in the risk-management module. */
|
|
356
|
+
declare const RISK_MANAGEMENT_RISK_MATRIX_ENTITY = "RiskManagement.RiskMatrix";
|
|
348
357
|
/** Hazard catalog scope for risk matrix lookup filtering. */
|
|
349
358
|
declare const RISK_MANAGEMENT_HAZARD_CATALOG_SCOPE = "risk-management.hazard";
|
|
350
359
|
|
|
@@ -355,7 +364,7 @@ declare const WORKPLACE_SAFETY_TEMPLATE_TYPE_OPTIONS: ReadonlyArray<{
|
|
|
355
364
|
}>;
|
|
356
365
|
|
|
357
366
|
/** Stable semantic keys for built-in section types (used by dependencies and lookups). */
|
|
358
|
-
type AXMSectionTypeCode = 'Hazard' | 'HazardRisk' | 'Ppe' | 'PpeHazards' | 'HazardRiskPpe' | 'Control' | 'HierarchyLevel' | 'RiskMatrix' | 'Custom' | '
|
|
367
|
+
type AXMSectionTypeCode = 'Hazard' | 'HazardRisk' | 'Ppe' | 'PpeHazards' | 'HazardRiskPpe' | 'Control' | 'HierarchyLevel' | 'RiskMatrix' | 'Custom' | 'Activity';
|
|
359
368
|
interface AXMWorkplaceSafetyManagementSectionTypeEntityModel extends AXPEntityModel<string> {
|
|
360
369
|
/** Business code (seeded built-ins use the title with spaces removed; new rows use `section-type-code`). */
|
|
361
370
|
code: string;
|
|
@@ -392,7 +401,7 @@ declare const WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_IDS: {
|
|
|
392
401
|
readonly ppeHazards: "c1d2e3f4-a5b6-4789-c001-000000000007";
|
|
393
402
|
readonly riskMatrix: "c1d2e3f4-a5b6-4789-c001-000000000008";
|
|
394
403
|
readonly hazardRiskPpe: "c1d2e3f4-a5b6-4789-c001-000000000009";
|
|
395
|
-
readonly
|
|
404
|
+
readonly activity: "c1d2e3f4-a5b6-4789-c001-00000000000a";
|
|
396
405
|
};
|
|
397
406
|
interface AXMBuiltInSectionTypeMeta {
|
|
398
407
|
sectionTypeKey: AXMSectionTypeCode;
|
|
@@ -407,6 +416,12 @@ declare const WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_BY_ID: Readonly<Record<stri
|
|
|
407
416
|
/** Default entity so the lookup widget mounts before a section type is chosen. */
|
|
408
417
|
declare const WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_FALLBACK: string;
|
|
409
418
|
declare function resolveSectionTypeKey(sectionTypeId: string | undefined, snapshot?: AXMSectionTypeSnapshot): AXMSectionTypeCode | undefined;
|
|
419
|
+
/** Formats a section type key for display (e.g. `HierarchyLevel` → `Hierarchy Level`). */
|
|
420
|
+
declare function formatSectionTypeKeyAsTitle(key: string | undefined | null): string;
|
|
421
|
+
/**
|
|
422
|
+
* Resolves a section type label for UI/preview: snapshot title → key display title → spaced code.
|
|
423
|
+
*/
|
|
424
|
+
declare function resolveSectionTypeDisplayTitle(sectionTypeId?: string, snapshot?: AXMSectionTypeSnapshot | null): string;
|
|
410
425
|
declare function resolveSectionItemEntityName(sectionTypeId: string | undefined, snapshot?: AXMSectionTypeSnapshot): string | undefined;
|
|
411
426
|
/** Adds runtime lookup metadata (`sectionTypeKey`, `itemEntityName`) from built-in id map. */
|
|
412
427
|
declare function enrichSectionTypeSnapshot(sectionTypeId: string | undefined, snapshot?: AXMSectionTypeSnapshot): AXMSectionTypeSnapshot | undefined;
|
|
@@ -415,108 +430,29 @@ declare function enrichSectionTypeSnapshot(sectionTypeId: string | undefined, sn
|
|
|
415
430
|
*/
|
|
416
431
|
declare const WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION: string;
|
|
417
432
|
/**
|
|
418
|
-
*
|
|
433
|
+
* Entity expression keyed by the bound `sectionTypeId` field (repeater-safe).
|
|
434
|
+
* Prefer this when expose snapshots may not live on the same path the lookup evaluates.
|
|
419
435
|
*/
|
|
420
|
-
declare
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* Column definition shared by WorkStepType (template) and SafetyPlanWorkStep (snapshot).
|
|
424
|
-
* Each column is backed by a SectionType (lookup options + item entity mapping).
|
|
425
|
-
*/
|
|
426
|
-
interface AXMStepTableColumnDef {
|
|
427
|
-
/** Selected SectionType id — stable cell key for this column. */
|
|
428
|
-
sectionTypeId: string;
|
|
429
|
-
sectionType?: AXMSectionTypeSnapshot;
|
|
430
|
-
/** Optional display override; defaults to section type title. */
|
|
431
|
-
title?: string;
|
|
432
|
-
sortOrder: number;
|
|
433
|
-
required?: boolean;
|
|
434
|
-
}
|
|
435
|
-
interface AXMWorkplaceSafetyManagementWorkStepTypeEntityModel extends AXPEntityModel<string> {
|
|
436
|
-
code: string;
|
|
437
|
-
title: string;
|
|
438
|
-
description?: string;
|
|
439
|
-
/** Default column schema copied onto new SafetyPlanWorkStep rows. */
|
|
440
|
-
columns: AXMStepTableColumnDef[];
|
|
441
|
-
isArchived?: boolean;
|
|
442
|
-
}
|
|
443
|
-
interface AXMWorkStepTypeSnapshot {
|
|
444
|
-
id: string;
|
|
445
|
-
title?: string;
|
|
446
|
-
code?: string;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
interface AXMStepTableCellRef {
|
|
450
|
-
id: string;
|
|
451
|
-
title?: string;
|
|
452
|
-
code?: string;
|
|
453
|
-
}
|
|
454
|
-
/** One cell value keyed by column (`sectionTypeId`). */
|
|
455
|
-
interface AXMStepTableCellValue {
|
|
456
|
-
columnKey: string;
|
|
457
|
-
textValue?: string;
|
|
458
|
-
numberValue?: number;
|
|
459
|
-
refIds?: string[];
|
|
460
|
-
refs?: AXMStepTableCellRef[];
|
|
461
|
-
}
|
|
462
|
-
/** @deprecated Prefer cells on SafetyPlanWorkStep row entity — kept for transitional builders. */
|
|
463
|
-
interface AXMStepTableRow {
|
|
464
|
-
id: string;
|
|
465
|
-
sortOrder: number;
|
|
466
|
-
cells: AXMStepTableCellValue[];
|
|
467
|
-
}
|
|
436
|
+
declare function buildWorkplaceSafetySectionTypeEntityExpression(sectionTypeIdPath: string): string;
|
|
468
437
|
/**
|
|
469
|
-
*
|
|
470
|
-
* Column schema comes from the section’s selected Work Step (WorkStepType).
|
|
438
|
+
* For flat dialog / dynamic forms — sibling fields share the same context (no parent path).
|
|
471
439
|
*/
|
|
472
|
-
|
|
473
|
-
/** Business code from identifier rule `safety-plan-work-step-code` (`SPWS-{seq:4}`). */
|
|
474
|
-
code: string;
|
|
475
|
-
safetyPlanId: string;
|
|
476
|
-
safetyPlan?: {
|
|
477
|
-
id: string;
|
|
478
|
-
title?: string;
|
|
479
|
-
code?: string;
|
|
480
|
-
};
|
|
481
|
-
/** Parent SafetyPlanSection of type Step Table. */
|
|
482
|
-
safetyPlanSectionId: string;
|
|
483
|
-
safetyPlanSection?: {
|
|
484
|
-
id: string;
|
|
485
|
-
title?: string;
|
|
486
|
-
code?: string;
|
|
487
|
-
};
|
|
488
|
-
/** Selected Work Step (WorkStepType) for this section’s table. */
|
|
489
|
-
workStepTypeId: string;
|
|
490
|
-
workStepType?: AXMWorkStepTypeSnapshot;
|
|
491
|
-
/** Optional display label (defaults to row order / first cell). */
|
|
492
|
-
title?: string;
|
|
493
|
-
/** Optional column snapshot at save time (display / history). */
|
|
494
|
-
columns?: AXMStepTableColumnDef[];
|
|
495
|
-
/** Cell values for this single table row. */
|
|
496
|
-
cells: AXMStepTableCellValue[];
|
|
497
|
-
sortOrder?: number;
|
|
498
|
-
isArchived?: boolean;
|
|
499
|
-
}
|
|
440
|
+
declare const WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION_SIBLING: string;
|
|
500
441
|
|
|
501
442
|
interface AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel {
|
|
502
443
|
sectionTypeId: string;
|
|
503
444
|
sectionType?: AXMSectionTypeSnapshot;
|
|
504
|
-
/**
|
|
505
|
-
* Step Table only — selected Work Step (WorkStepType) that defines table columns.
|
|
506
|
-
* Persisted on the section items slot alongside row entity ids.
|
|
507
|
-
*/
|
|
508
|
-
workStepTypeId?: string;
|
|
509
|
-
workStepType?: {
|
|
510
|
-
id: string;
|
|
511
|
-
title?: string;
|
|
512
|
-
code?: string;
|
|
513
|
-
};
|
|
514
445
|
itemIds?: string[];
|
|
515
446
|
items?: {
|
|
516
447
|
id: string;
|
|
517
448
|
title?: string;
|
|
518
449
|
code?: string;
|
|
519
450
|
}[];
|
|
451
|
+
sortOrder?: number;
|
|
452
|
+
title?: string;
|
|
453
|
+
code?: string;
|
|
454
|
+
/** Copied from SafetyPlanActivity.description for Activity section rows. */
|
|
455
|
+
description?: string;
|
|
520
456
|
}
|
|
521
457
|
/** Display options for section widgets (PPE layout, control-hierarchy viewType). Item ids stay on `items`. */
|
|
522
458
|
interface AXMSafetyPlanSectionWidgetOptions {
|
|
@@ -552,13 +488,50 @@ interface AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel extends AXPEn
|
|
|
552
488
|
isArchived?: boolean;
|
|
553
489
|
}
|
|
554
490
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
491
|
+
interface AXMWorkplaceSafetyManagementSafetyPlanActivityEntityModel extends AXPEntityModel<string> {
|
|
492
|
+
/** Business code from identifier rule `safety-plan-activity-code` (`SPA-{seq:4}`). */
|
|
493
|
+
code: string;
|
|
494
|
+
title: string;
|
|
495
|
+
description?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Section line items — same shape + repeater widget as {@link AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel.items}.
|
|
498
|
+
*/
|
|
499
|
+
items: AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel[];
|
|
500
|
+
/** Managed by the archive plugin (`isArchived`). */
|
|
501
|
+
isArchived?: boolean;
|
|
502
|
+
}
|
|
503
|
+
interface AXMSafetyPlanActivitySnapshot {
|
|
504
|
+
id: string;
|
|
505
|
+
title?: string;
|
|
506
|
+
code?: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/** One predefined section line from {@link AXMWorkplaceSafetyManagementSafetyPlanActivityEntityModel.items}. */
|
|
510
|
+
interface AXMSafetyPlanActivitySectionSnapshot {
|
|
511
|
+
sectionTypeId: string;
|
|
512
|
+
sectionType?: AXMSectionTypeSnapshot;
|
|
513
|
+
itemIds?: string[];
|
|
514
|
+
items?: {
|
|
515
|
+
id: string;
|
|
516
|
+
title?: string;
|
|
517
|
+
code?: string;
|
|
518
|
+
}[];
|
|
519
|
+
sortOrder?: number;
|
|
520
|
+
title?: string;
|
|
521
|
+
}
|
|
522
|
+
/** One Activity section body row in the section builder. */
|
|
523
|
+
interface AXMSafetyPlanActivityRowBuilderPayload {
|
|
558
524
|
/** Persisted business code when loaded from storage. */
|
|
559
525
|
code?: string;
|
|
560
526
|
sortOrder?: number;
|
|
561
527
|
title?: string;
|
|
528
|
+
/** Copied from SafetyPlanActivity.description when the row is an activity. */
|
|
529
|
+
description?: string;
|
|
530
|
+
/**
|
|
531
|
+
* Sections configured on the SafetyPlanActivity catalog row (`items`).
|
|
532
|
+
* Hydrated for edit/preview; not required on every persisted plan section item.
|
|
533
|
+
*/
|
|
534
|
+
sections?: AXMSafetyPlanActivitySectionSnapshot[];
|
|
562
535
|
}
|
|
563
536
|
interface AXMSafetyPlanSectionBuilderItemValue {
|
|
564
537
|
id: string;
|
|
@@ -568,8 +541,8 @@ interface AXMSafetyPlanSectionBuilderItemValue {
|
|
|
568
541
|
title?: string;
|
|
569
542
|
code?: string;
|
|
570
543
|
}[];
|
|
571
|
-
/**
|
|
572
|
-
|
|
544
|
+
/** Activity section body row (embedded on the section item). */
|
|
545
|
+
activityRow?: AXMSafetyPlanActivityRowBuilderPayload;
|
|
573
546
|
}
|
|
574
547
|
interface AXMSafetyPlanSectionBuilderSectionValue {
|
|
575
548
|
id: string;
|
|
@@ -586,14 +559,9 @@ interface AXMSafetyPlanSectionBuilderSectionValue {
|
|
|
586
559
|
sortOrder?: number;
|
|
587
560
|
/** When true, section came from a default type template and must remain. */
|
|
588
561
|
required?: boolean;
|
|
589
|
-
/**
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
*/
|
|
593
|
-
workStepTypeId?: string;
|
|
594
|
-
workStepType?: AXMWorkStepTypeSnapshot;
|
|
595
|
-
/** Columns loaded from the selected Work Step configuration. */
|
|
596
|
-
columns?: AXMStepTableColumnDef[];
|
|
562
|
+
/** Activity section only — selected SafetyPlanActivity for this section. */
|
|
563
|
+
safetyPlanActivityId?: string;
|
|
564
|
+
safetyPlanActivity?: AXMSafetyPlanActivitySnapshot;
|
|
597
565
|
/** Widget display options (PPE layout, control-hierarchy view). */
|
|
598
566
|
widgetOptions?: AXMSafetyPlanSectionWidgetOptions;
|
|
599
567
|
items: AXMSafetyPlanSectionBuilderItemValue[];
|
|
@@ -706,6 +674,11 @@ declare function isPpeRuleSectionTypeId(sectionTypeId: string): boolean;
|
|
|
706
674
|
/** Component key for the safety plan Sections page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
|
|
707
675
|
declare const SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY = "safety-plan-sections-page";
|
|
708
676
|
|
|
677
|
+
/**
|
|
678
|
+
* Maps SafetyPlanActivity.`items` (section type + catalog item ids) into preview/builder snapshots.
|
|
679
|
+
*/
|
|
680
|
+
declare function mapSafetyPlanActivityItemsToSectionSnapshots(items: AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel[] | null | undefined): AXMSafetyPlanActivitySectionSnapshot[];
|
|
681
|
+
|
|
709
682
|
/** Section type row managed via repeater on Safety Plan Type Section. */
|
|
710
683
|
interface AXMWorkplaceSafetyManagementSafetyPlanTypeSectionTypeItemModel {
|
|
711
684
|
sectionTypeId: string;
|
|
@@ -852,39 +825,8 @@ declare function isSafetyPlanSectionTypeRepeatable(sectionTypeId: string, option
|
|
|
852
825
|
/** Built-in section type ids that are always treated as repeatable. */
|
|
853
826
|
declare function collectBuiltInRepeatableSectionTypeIds(): string[];
|
|
854
827
|
|
|
855
|
-
/** True when the section type is the
|
|
856
|
-
declare function
|
|
857
|
-
/** Stable key used on cells for this column (`sectionTypeId`). */
|
|
858
|
-
declare function stepTableColumnKey(column: AXMStepTableColumnDef): string;
|
|
859
|
-
declare function stepTableColumnTitle(column: AXMStepTableColumnDef): string;
|
|
860
|
-
/** Resolves the catalog entity for a column from its SectionType mapping. */
|
|
861
|
-
declare function resolveStepTableColumnLookupEntity(column: AXMStepTableColumnDef): string | undefined;
|
|
862
|
-
/** Multi-select when the mapped section type typically holds many items. */
|
|
863
|
-
declare function isStepTableColumnMultiLookup(column: AXMStepTableColumnDef): boolean;
|
|
864
|
-
declare function sortStepTableColumns(columns: readonly AXMStepTableColumnDef[]): AXMStepTableColumnDef[];
|
|
865
|
-
declare function createEmptyStepTableRow(columns: readonly AXMStepTableColumnDef[], sortOrder?: number): AXMStepTableRow;
|
|
866
|
-
declare function createEmptyStepTableCell(columnKey: string): AXMStepTableCellValue;
|
|
867
|
-
/** Builds a new work-step payload from a WorkStepType (columns snapshot + one empty row). */
|
|
868
|
-
declare function buildWorkStepContentFromType(type: Pick<AXMWorkplaceSafetyManagementWorkStepTypeEntityModel, 'columns'>): {
|
|
869
|
-
columns: AXMStepTableColumnDef[];
|
|
870
|
-
rows: AXMStepTableRow[];
|
|
871
|
-
};
|
|
872
|
-
declare function normalizeStepTableColumns(columns: readonly AXMStepTableColumnDef[] | null | undefined): AXMStepTableColumnDef[];
|
|
873
|
-
declare function normalizeStepTableRows(rows: readonly AXMStepTableRow[] | null | undefined, columns: readonly AXMStepTableColumnDef[]): AXMStepTableRow[];
|
|
874
|
-
declare function toWorkStepBuilderPayload(entity: AXMWorkplaceSafetyManagementSafetyPlanWorkStepEntityModel): {
|
|
875
|
-
id: string;
|
|
876
|
-
code?: string;
|
|
877
|
-
workStepTypeId: string;
|
|
878
|
-
workStepType?: {
|
|
879
|
-
id: string;
|
|
880
|
-
title?: string;
|
|
881
|
-
code?: string;
|
|
882
|
-
};
|
|
883
|
-
title?: string;
|
|
884
|
-
columns: AXMStepTableColumnDef[];
|
|
885
|
-
cells: AXMStepTableCellValue[];
|
|
886
|
-
sortOrder?: number;
|
|
887
|
-
};
|
|
828
|
+
/** True when the section type is the Activity host for embedded activity rows. */
|
|
829
|
+
declare function isActivitySectionType(sectionTypeId: string | undefined, snapshot?: AXMSectionTypeSnapshot): boolean;
|
|
888
830
|
|
|
889
831
|
/** Stable IDs for seeded Work Step Types (shared by server mocks and client). */
|
|
890
832
|
declare const WORKPLACE_SAFETY_BUILT_IN_WORK_STEP_TYPE_IDS: {
|
|
@@ -893,6 +835,16 @@ declare const WORKPLACE_SAFETY_BUILT_IN_WORK_STEP_TYPE_IDS: {
|
|
|
893
835
|
readonly performWork: "c1d2e5f4-a5b6-4789-d001-000000000003";
|
|
894
836
|
};
|
|
895
837
|
|
|
838
|
+
/** Stable IDs for seeded Safety Plan Activities (shared by server mocks and client). */
|
|
839
|
+
declare const WORKPLACE_SAFETY_BUILT_IN_SAFETY_PLAN_ACTIVITY_IDS: {
|
|
840
|
+
readonly plantInspection: "c1d2e6f4-a5b6-4789-e001-000000000001";
|
|
841
|
+
readonly excavationWorks: "c1d2e6f4-a5b6-4789-e001-000000000002";
|
|
842
|
+
readonly cableInstallation: "c1d2e6f4-a5b6-4789-e001-000000000003";
|
|
843
|
+
readonly hydroExcavation: "c1d2e6f4-a5b6-4789-e001-000000000004";
|
|
844
|
+
readonly backfilling: "c1d2e6f4-a5b6-4789-e001-000000000005";
|
|
845
|
+
readonly workingAtHeight: "c1d2e6f4-a5b6-4789-e001-000000000006";
|
|
846
|
+
};
|
|
847
|
+
|
|
896
848
|
interface AXMControlHierarchyLevelItemModel {
|
|
897
849
|
title: AXPMultiLanguageString;
|
|
898
850
|
description?: AXPMultiLanguageString;
|
|
@@ -919,6 +871,8 @@ interface AXMWorkplaceSafetyManagementControlMeasureEntityModel extends AXPEntit
|
|
|
919
871
|
title: AXPMultiLanguageString;
|
|
920
872
|
instruction?: AXPMultiLanguageString;
|
|
921
873
|
status?: string;
|
|
874
|
+
/** Populated by the attachments plugin (`field: attachments`). */
|
|
875
|
+
attachments?: AXPFileListItem[];
|
|
922
876
|
}
|
|
923
877
|
|
|
924
878
|
type AXMHazardStatus = AXPSystemStatusType.Draft | AXPSystemStatusType.Active | AXPSystemStatusType.Inactive | AXPSystemStatusType.Archived;
|
|
@@ -987,18 +941,6 @@ interface AXMWorkplaceSafetyManagementHazardRiskEntityModel extends AXPEntityMod
|
|
|
987
941
|
};
|
|
988
942
|
title: string;
|
|
989
943
|
description?: string;
|
|
990
|
-
defaultInitialRiskRatingId?: string;
|
|
991
|
-
defaultInitialRiskRating?: {
|
|
992
|
-
id: string;
|
|
993
|
-
title?: string;
|
|
994
|
-
code?: string;
|
|
995
|
-
};
|
|
996
|
-
defaultResidualRiskRatingId?: string;
|
|
997
|
-
defaultResidualRiskRating?: {
|
|
998
|
-
id: string;
|
|
999
|
-
title?: string;
|
|
1000
|
-
code?: string;
|
|
1001
|
-
};
|
|
1002
944
|
status?: AXPSystemStatusType.Active | AXPSystemStatusType.Inactive;
|
|
1003
945
|
}
|
|
1004
946
|
|
|
@@ -1014,6 +956,8 @@ interface AXMWorkplaceSafetyManagementPpeItemEntityModel extends AXPEntityModel<
|
|
|
1014
956
|
}
|
|
1015
957
|
|
|
1016
958
|
type AXMSafetyPlanStatus = AXPSystemStatusType.Draft | AXPSystemStatusType.Published | AXPSystemStatusType.Archived;
|
|
959
|
+
/** Section id → widget value (PPE id[], text, or a later widget value). */
|
|
960
|
+
type AXMSafetyPlanFillValues = Record<string, unknown>;
|
|
1017
961
|
interface AXMWorkplaceSafetyManagementSafetyPlanEntityModel extends AXPEntityModel<string> {
|
|
1018
962
|
/** Business code from identifier rule `safety-plan-code` (`SP-{seq:4}`). */
|
|
1019
963
|
code: string;
|
|
@@ -1050,6 +994,11 @@ interface AXMWorkplaceSafetyManagementSafetyPlanEntityModel extends AXPEntityMod
|
|
|
1050
994
|
sectionStructure?: AXMSafetyPlanSectionStructureValue | AXMSafetyPlanSectionBuilderValue;
|
|
1051
995
|
/** @deprecated Prefer {@link sectionStructure}; kept for wizard page field compatibility. */
|
|
1052
996
|
sections?: AXMSafetyPlanSectionBuilderValue;
|
|
997
|
+
/**
|
|
998
|
+
* Workflow edits on a cloned job plan, keyed by SafetyPlanSection id.
|
|
999
|
+
* Catalog `itemIds` stay on the section. Absent on published source plans.
|
|
1000
|
+
*/
|
|
1001
|
+
fillValues?: AXMSafetyPlanFillValues;
|
|
1053
1002
|
}
|
|
1054
1003
|
|
|
1055
1004
|
interface AXMWorkplaceSafetyManagementSafetyPlanTypeEntityModel extends AXPEntityModel<string> {
|
|
@@ -1079,5 +1028,32 @@ interface AXMWorkplaceSafetyManagementSafetyTemplateEntityModel extends AXPEntit
|
|
|
1079
1028
|
}[];
|
|
1080
1029
|
}
|
|
1081
1030
|
|
|
1082
|
-
|
|
1083
|
-
|
|
1031
|
+
/**
|
|
1032
|
+
* Column definition shared by WorkStepType (template) and embedded Activity rows.
|
|
1033
|
+
* Each column is backed by a SectionType (lookup options + item entity mapping).
|
|
1034
|
+
*/
|
|
1035
|
+
interface AXMActivityColumnDef {
|
|
1036
|
+
/** Selected SectionType id — stable cell key for this column. */
|
|
1037
|
+
sectionTypeId: string;
|
|
1038
|
+
sectionType?: AXMSectionTypeSnapshot;
|
|
1039
|
+
/** Optional display override; defaults to section type title. */
|
|
1040
|
+
title?: string;
|
|
1041
|
+
sortOrder: number;
|
|
1042
|
+
required?: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
interface AXMWorkplaceSafetyManagementWorkStepTypeEntityModel extends AXPEntityModel<string> {
|
|
1045
|
+
code: string;
|
|
1046
|
+
title: string;
|
|
1047
|
+
description?: string;
|
|
1048
|
+
/** Default column schema copied onto new Activity sections. */
|
|
1049
|
+
columns: AXMActivityColumnDef[];
|
|
1050
|
+
isArchived?: boolean;
|
|
1051
|
+
}
|
|
1052
|
+
interface AXMWorkStepTypeSnapshot {
|
|
1053
|
+
id: string;
|
|
1054
|
+
title?: string;
|
|
1055
|
+
code?: string;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
export { AXMHazardPpeRuleRequirementType, AXMHazardRegisterContextType, AXMWorkplaceSafetyManagementCommandKeys, AXMWorkplaceSafetyManagementMenuKeys, AXMWorkplaceSafetyManagementPermissionKeys, AXPSafetyRiskPermissionKeys, PARENT_HAZARD_IDS_CONTEXT_KEY, PARENT_HAZARD_RISK_IDS_CONTEXT_KEY, RISK_MANAGEMENT_HAZARD_CATALOG_SCOPE, RISK_MANAGEMENT_RISK_MATRIX_ENTITY, RootConfig, SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY, WORKPLACE_SAFETY_BUILT_IN_SAFETY_PLAN_ACTIVITY_IDS, WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_BY_ID, WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_IDS, WORKPLACE_SAFETY_BUILT_IN_WORK_STEP_TYPE_IDS, WORKPLACE_SAFETY_DOWNSTREAM_FROM_HAZARD, WORKPLACE_SAFETY_DOWNSTREAM_FROM_HAZARD_RISK, WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS, WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_CLEAR_ON_SECTION_TYPE_TRIGGERS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_REFRESH_ON_SECTION_TYPE_EXPOSE_TRIGGERS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_SECTION_TYPE_TRIGGERS, WORKPLACE_SAFETY_SECTION_TYPE_DEPENDENCIES, WORKPLACE_SAFETY_SECTION_TYPE_DESCRIPTION_SYNC_TRIGGERS, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_BY_CODE, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION_SIBLING, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_FALLBACK, WORKPLACE_SAFETY_SECTION_TYPE_LOOKUP_EXPOSE, WORKPLACE_SAFETY_SECTION_TYPE_LOOKUP_WIDGET_OPTIONS, WORKPLACE_SAFETY_SECTION_TYPE_TITLE_SYNC_TRIGGERS, WORKPLACE_SAFETY_TEMPLATE_TYPE_OPTIONS, WorkplaceSafetyManagementManifest, asSafetyPlanDisplayText, buildSafetyPlanSectionItemLookupOptions, buildSafetyPlanSectionItemSelectorOptions, buildSectionStructureFromTypeSections, buildSectionTypeRelationSnapshot, buildWorkplaceSafetySectionTypeEntityExpression, clearDependentItemsOnParentChange, collectAllowedSectionTypeIds, collectBuiltInRepeatableSectionTypeIds, collectRequiredSourceTypeSectionIds, dedupeSafetyPlanSectionItemSelection, dedupeSafetyPlanSectionStructure, enrichSectionTypeSnapshot, extractRiskMatrixIdsFromHazardRisks, formatSectionTypeKeyAsTitle, getSectionTypeDependency, isActivitySectionType, isPpeRuleSectionTypeId, isSafetyPlanSectionTypeRepeatable, isSafetyPlanTypeSectionDefault, mapSafetyPlanActivityItemsToSectionSnapshots, mapSafetyPlanSectionSelectedItems, pickSafetyPlanTypeSectionsForStructure, resolveDefaultSafetyPlanTypeSection, resolveEntityRefId, resolveParentHazardIds, resolveParentHazardRiskIds, resolveParentItemIds, resolveSafetyPlanSectionItemColumns, resolveSafetyPlanSectionItemEntityKey, resolveSafetyPlanSectionItemFilter, resolveSafetyPlanSectionItemFilterAsync, resolveSafetyPlanSectionPersistedTitle, resolveSectionItemEntityName, resolveSectionTypeDisplayTitle, resolveSectionTypeKey, sectionTypeKeyFromSection, toBuilderValueFromStructure, validateSafetyPlanSectionStructure, validateSafetyPlanTypeSectionTemplate };
|
|
1059
|
+
export type { AXMActivityColumnDef, AXMBuiltInSectionTypeMeta, AXMControlHierarchyLevelItemModel, AXMHazardRiskRecordLoader, AXMHazardStatus, AXMSafetyPlanActivityRowBuilderPayload, AXMSafetyPlanActivitySectionSnapshot, AXMSafetyPlanActivitySnapshot, AXMSafetyPlanFillValues, AXMSafetyPlanSectionBuilderItemValue, AXMSafetyPlanSectionBuilderSectionValue, AXMSafetyPlanSectionBuilderValue, AXMSafetyPlanSectionItemColumn, AXMSafetyPlanSectionStructureItem, AXMSafetyPlanSectionStructureValidationContext, AXMSafetyPlanSectionStructureValidationIssue, AXMSafetyPlanSectionStructureValidationIssueCode, AXMSafetyPlanSectionStructureValue, AXMSafetyPlanSectionWidgetOptions, AXMSafetyPlanStatus, AXMSafetyTemplateType, AXMSectionTypeCode, AXMSectionTypeDependency, AXMSectionTypeDerivedFilterDependency, AXMSectionTypeParentFilterDependency, AXMSectionTypeSnapshot, AXMWorkStepTypeSnapshot, AXMWorkplaceSafetyManagementControlHierarchyLevelsEntityModel, AXMWorkplaceSafetyManagementControlMeasureEntityModel, AXMWorkplaceSafetyManagementHazardEntityModel, AXMWorkplaceSafetyManagementHazardPpeRuleEntityModel, AXMWorkplaceSafetyManagementHazardRegisterEntityModel, AXMWorkplaceSafetyManagementHazardRiskEntityModel, AXMWorkplaceSafetyManagementPpeItemEntityModel, AXMWorkplaceSafetyManagementSafetyPlanActivityEntityModel, AXMWorkplaceSafetyManagementSafetyPlanEntityModel, AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel, AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel, AXMWorkplaceSafetyManagementSafetyPlanTypeEntityModel, AXMWorkplaceSafetyManagementSafetyPlanTypeSectionEntityModel, AXMWorkplaceSafetyManagementSafetyPlanTypeSectionTypeItemModel, AXMWorkplaceSafetyManagementSafetyTemplateEntityModel, AXMWorkplaceSafetyManagementSectionTypeEntityModel, AXMWorkplaceSafetyManagementWorkStepTypeEntityModel, WorkplaceSafetyGhsSymbolId };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs","sources":["../../../../libs/modules/workplacesafety-management/client/src/lib/manifest.ts","../../../../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/workplacesafety-management.module.ts","../../../../libs/modules/workplacesafety-management/client/src/acorex-platform-module-workplacesafety-management-client.ts"],"sourcesContent":["import { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\n\nexport const WorkplaceSafetyManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'domain',\n domain: 'workplace-safety',\n};\n","//#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.WorkStepTypes,\n // text: RootConfig.entities.workStepType.titlePlural,\n // path: this.entityService.createPath(module.name, RootConfig.entities.workStepType.name),\n // icon: RootConfig.entities.workStepType.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\nexport class AXMWorkplaceSafetyManagementSearchCommandProvider extends AXPSearchCommandProvider {\n public commands: AXPSearchResult[] = [];\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};\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 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};\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 { 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_MODULE_MANIFEST_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 { NgModule } from '@angular/core';\n\nimport { RootConfig } from '@acorex-platform/module-workplacesafety-management-client/contracts';\nimport { WorkplaceSafetyManagementManifest } from './manifest';\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';\n\n@NgModule({\n imports: [AXPWidgetCoreModule],\n providers: [\n\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: WorkplaceSafetyManagementManifest,\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}:Publish`,\n command: () =>\n import('./features/safety-plan/commands/publish-safety-plan.command').then(\n (c) => c.AXMPublishSafetyPlanCommand,\n ),\n },\n ]),\n ],\n})\nexport class AXMWorkplaceSafetyManagementModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGO,MAAM,iCAAiC,GAAsB;AAClE,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MA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