@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,542 +0,0 @@
|
|
|
1
|
-
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
-
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
|
|
4
|
-
const config = {
|
|
5
|
-
i18n: 'workplacesafety-management',
|
|
6
|
-
module: 'WorkplaceSafetyManagement',
|
|
7
|
-
};
|
|
8
|
-
const RootConfig = {
|
|
9
|
-
config,
|
|
10
|
-
module: {
|
|
11
|
-
name: config.module,
|
|
12
|
-
title: `@${config.i18n}:module.title`,
|
|
13
|
-
icon: 'fa-light fa-building-shield',
|
|
14
|
-
},
|
|
15
|
-
entities: {
|
|
16
|
-
hazard: {
|
|
17
|
-
name: 'Hazard',
|
|
18
|
-
source: `${config.module}.Hazard`,
|
|
19
|
-
title: `@${config.i18n}:hazards.entities.hazard.title`,
|
|
20
|
-
titlePlural: `@${config.i18n}:hazards.entities.hazard.plural`,
|
|
21
|
-
icon: 'fa-light fa-triangle-exclamation',
|
|
22
|
-
},
|
|
23
|
-
hazardRegister: {
|
|
24
|
-
name: 'HazardRegister',
|
|
25
|
-
source: `${config.module}.HazardRegister`,
|
|
26
|
-
title: `@${config.i18n}:hazard-registers.entities.hazard-register.title`,
|
|
27
|
-
titlePlural: `@${config.i18n}:hazard-registers.entities.hazard-register.plural`,
|
|
28
|
-
icon: 'fa-light fa-clipboard-list',
|
|
29
|
-
},
|
|
30
|
-
ppeItem: {
|
|
31
|
-
name: 'PpeItem',
|
|
32
|
-
source: `${config.module}.PpeItem`,
|
|
33
|
-
title: `@${config.i18n}:ppe-items.entities.ppe-item.title`,
|
|
34
|
-
titlePlural: `@${config.i18n}:ppe-items.entities.ppe-item.plural`,
|
|
35
|
-
icon: 'fa-light fa-helmet-safety',
|
|
36
|
-
},
|
|
37
|
-
hazardPpeRule: {
|
|
38
|
-
name: 'HazardPpeRule',
|
|
39
|
-
source: `${config.module}.HazardPpeRule`,
|
|
40
|
-
title: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.title`,
|
|
41
|
-
titlePlural: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.plural`,
|
|
42
|
-
icon: 'fa-light fa-user-helmet-safety',
|
|
43
|
-
},
|
|
44
|
-
hazardRisk: {
|
|
45
|
-
name: 'HazardRisk',
|
|
46
|
-
source: `${config.module}.HazardRisk`,
|
|
47
|
-
title: `@${config.i18n}:hazard-risks.entities.hazard-risk.title`,
|
|
48
|
-
titlePlural: `@${config.i18n}:hazard-risks.entities.hazard-risk.plural`,
|
|
49
|
-
icon: 'fa-light fa-shield-exclamation',
|
|
50
|
-
},
|
|
51
|
-
controlHierarchyLevels: {
|
|
52
|
-
name: 'ControlHierarchyLevels',
|
|
53
|
-
source: `${config.module}.ControlHierarchyLevels`,
|
|
54
|
-
title: `@${config.i18n}:control-measure-types.entities.control-measure-type.title`,
|
|
55
|
-
titlePlural: `@${config.i18n}:control-measure-types.entities.control-measure-type.plural`,
|
|
56
|
-
icon: 'fa-light fa-layer-group',
|
|
57
|
-
},
|
|
58
|
-
controlMeasure: {
|
|
59
|
-
name: 'ControlMeasure',
|
|
60
|
-
source: `${config.module}.ControlMeasure`,
|
|
61
|
-
title: `@${config.i18n}:control-measures.entities.control-measure.title`,
|
|
62
|
-
titlePlural: `@${config.i18n}:control-measures.entities.control-measure.plural`,
|
|
63
|
-
icon: 'fa-light fa-shield-check',
|
|
64
|
-
},
|
|
65
|
-
safetyPlan: {
|
|
66
|
-
name: 'SafetyPlan',
|
|
67
|
-
source: `${config.module}.SafetyPlan`,
|
|
68
|
-
title: `@${config.i18n}:safety-plans.entities.safety-plan.title`,
|
|
69
|
-
titlePlural: `@${config.i18n}:safety-plans.entities.safety-plan.plural`,
|
|
70
|
-
icon: 'fa-light fa-file-shield',
|
|
71
|
-
},
|
|
72
|
-
safetyPlanType: {
|
|
73
|
-
name: 'SafetyPlanType',
|
|
74
|
-
source: `${config.module}.SafetyPlanType`,
|
|
75
|
-
title: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.title`,
|
|
76
|
-
titlePlural: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.plural`,
|
|
77
|
-
icon: 'fa-light fa-file-lines',
|
|
78
|
-
},
|
|
79
|
-
safetyPlanTypeSection: {
|
|
80
|
-
name: 'SafetyPlanTypeSection',
|
|
81
|
-
source: `${config.module}.SafetyPlanTypeSection`,
|
|
82
|
-
title: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.title`,
|
|
83
|
-
titlePlural: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.plural`,
|
|
84
|
-
icon: 'fa-light fa-list-ol',
|
|
85
|
-
},
|
|
86
|
-
sectionType: {
|
|
87
|
-
name: 'SectionType',
|
|
88
|
-
source: `${config.module}.SectionType`,
|
|
89
|
-
title: `@${config.i18n}:section-types.entities.section-type.title`,
|
|
90
|
-
titlePlural: `@${config.i18n}:section-types.entities.section-type.plural`,
|
|
91
|
-
icon: 'fa-light fa-list-tree',
|
|
92
|
-
},
|
|
93
|
-
safetyTemplate: {
|
|
94
|
-
name: 'SafetyTemplate',
|
|
95
|
-
source: `${config.module}.SafetyTemplate`,
|
|
96
|
-
title: `@${config.i18n}:safety-templates.entities.safety-template.title`,
|
|
97
|
-
titlePlural: `@${config.i18n}:safety-templates.entities.safety-template.plural`,
|
|
98
|
-
icon: 'fa-light fa-file-lines',
|
|
99
|
-
},
|
|
100
|
-
safetyPlanSection: {
|
|
101
|
-
name: 'SafetyPlanSection',
|
|
102
|
-
source: `${config.module}.SafetyPlanSection`,
|
|
103
|
-
title: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.title`,
|
|
104
|
-
titlePlural: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.plural`,
|
|
105
|
-
icon: 'fa-light fa-list-ol',
|
|
106
|
-
},
|
|
107
|
-
workStepType: {
|
|
108
|
-
name: 'WorkStepType',
|
|
109
|
-
source: `${config.module}.WorkStepType`,
|
|
110
|
-
title: `@${config.i18n}:work-step-types.entities.work-step-type.title`,
|
|
111
|
-
titlePlural: `@${config.i18n}:work-step-types.entities.work-step-type.plural`,
|
|
112
|
-
icon: 'fa-light fa-list-tree',
|
|
113
|
-
},
|
|
114
|
-
safetyPlanWorkStep: {
|
|
115
|
-
name: 'SafetyPlanWorkStep',
|
|
116
|
-
source: `${config.module}.SafetyPlanWorkStep`,
|
|
117
|
-
title: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.title`,
|
|
118
|
-
titlePlural: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.plural`,
|
|
119
|
-
icon: 'fa-light fa-list-check',
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
queries: {
|
|
123
|
-
dashboard: {
|
|
124
|
-
openHazardsKpi: `${config.module}:Dashboard:OpenHazardsKpi`,
|
|
125
|
-
highRisksKpi: `${config.module}:Dashboard:HighRisksKpi`,
|
|
126
|
-
activeSafetyPlansKpi: `${config.module}:Dashboard:ActiveSafetyPlansKpi`,
|
|
127
|
-
take5ChecklistsKpi: `${config.module}:Dashboard:Take5ChecklistsKpi`,
|
|
128
|
-
take5CompletedKpi: `${config.module}:Dashboard:Take5CompletedKpi`,
|
|
129
|
-
hazardsByCategoryDonut: `${config.module}:Dashboard:HazardsByCategoryDonut`,
|
|
130
|
-
risksByRatingBar: `${config.module}:Dashboard:RisksByRatingBar`,
|
|
131
|
-
plansByTypeBar: `${config.module}:Dashboard:PlansByTypeBar`,
|
|
132
|
-
hazardsByStatusBar: `${config.module}:Dashboard:HazardsByStatusBar`,
|
|
133
|
-
ppeCoverageDonut: `${config.module}:Dashboard:PpeCoverageDonut`,
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
//#region ---- Imports ----
|
|
139
|
-
//#endregion
|
|
140
|
-
//#region ---- Constants ----
|
|
141
|
-
const listSortAndFilterOptions = {
|
|
142
|
-
sort: { enabled: true },
|
|
143
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
144
|
-
};
|
|
145
|
-
const safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;
|
|
146
|
-
const safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;
|
|
147
|
-
const workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;
|
|
148
|
-
const CELLS_REPEATER_CHILDREN = [
|
|
149
|
-
{
|
|
150
|
-
type: AXPWidgetsList.Layouts.GridLayout,
|
|
151
|
-
mode: 'edit',
|
|
152
|
-
options: {
|
|
153
|
-
grid: {
|
|
154
|
-
default: {
|
|
155
|
-
columns: 12,
|
|
156
|
-
gap: '0.75rem',
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
children: [
|
|
161
|
-
{
|
|
162
|
-
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
163
|
-
mode: 'edit',
|
|
164
|
-
options: { colSpan: 3 },
|
|
165
|
-
children: [
|
|
166
|
-
{
|
|
167
|
-
type: AXPWidgetsList.Layouts.FormField,
|
|
168
|
-
mode: 'edit',
|
|
169
|
-
options: {
|
|
170
|
-
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
|
|
171
|
-
showLabel: true,
|
|
172
|
-
},
|
|
173
|
-
children: [
|
|
174
|
-
{
|
|
175
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
176
|
-
mode: 'edit',
|
|
177
|
-
path: 'columnKey',
|
|
178
|
-
},
|
|
179
|
-
],
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
185
|
-
mode: 'edit',
|
|
186
|
-
options: { colSpan: 9 },
|
|
187
|
-
children: [
|
|
188
|
-
{
|
|
189
|
-
type: AXPWidgetsList.Layouts.FormField,
|
|
190
|
-
mode: 'edit',
|
|
191
|
-
options: {
|
|
192
|
-
label: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',
|
|
193
|
-
showLabel: true,
|
|
194
|
-
},
|
|
195
|
-
children: [
|
|
196
|
-
{
|
|
197
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
198
|
-
mode: 'edit',
|
|
199
|
-
path: 'textValue',
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
},
|
|
203
|
-
],
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
},
|
|
207
|
-
];
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region ---- Entity factory ----
|
|
210
|
-
async function safetyPlanWorkStepEntityFactory() {
|
|
211
|
-
const entityDef = {
|
|
212
|
-
module: RootConfig.module.name,
|
|
213
|
-
name: RootConfig.entities.safetyPlanWorkStep.name,
|
|
214
|
-
title: RootConfig.entities.safetyPlanWorkStep.title,
|
|
215
|
-
icon: RootConfig.entities.safetyPlanWorkStep.icon,
|
|
216
|
-
formats: {
|
|
217
|
-
individual: RootConfig.entities.safetyPlanWorkStep.title,
|
|
218
|
-
plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,
|
|
219
|
-
searchResult: {
|
|
220
|
-
title: '{{ title }}',
|
|
221
|
-
description: '{{ code }}',
|
|
222
|
-
},
|
|
223
|
-
},
|
|
224
|
-
plugins: [
|
|
225
|
-
{ name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },
|
|
226
|
-
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
227
|
-
{ name: 'archive' },
|
|
228
|
-
],
|
|
229
|
-
groups: [
|
|
230
|
-
{
|
|
231
|
-
id: 'plan-folder',
|
|
232
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
id: 'basic-info',
|
|
236
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
id: 'table-content',
|
|
240
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
properties: [
|
|
244
|
-
{
|
|
245
|
-
name: 'id',
|
|
246
|
-
title: '@general:terms.common.id',
|
|
247
|
-
groupId: 'basic-info',
|
|
248
|
-
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: 'code',
|
|
252
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.title',
|
|
253
|
-
groupId: 'basic-info',
|
|
254
|
-
options: listSortAndFilterOptions,
|
|
255
|
-
schema: {
|
|
256
|
-
dataType: 'string',
|
|
257
|
-
unique: { enabled: true },
|
|
258
|
-
interface: {
|
|
259
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
260
|
-
options: {
|
|
261
|
-
disabled: true,
|
|
262
|
-
placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
|
-
validations: [{ rule: 'required' }],
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
name: 'safetyPlanId',
|
|
270
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',
|
|
271
|
-
groupId: 'plan-folder',
|
|
272
|
-
options: listSortAndFilterOptions,
|
|
273
|
-
schema: {
|
|
274
|
-
dataType: 'string',
|
|
275
|
-
interface: {
|
|
276
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
277
|
-
options: {
|
|
278
|
-
look: 'select',
|
|
279
|
-
entity: safetyPlanEntity,
|
|
280
|
-
allowSearch: true,
|
|
281
|
-
textField: 'title',
|
|
282
|
-
valueField: 'id',
|
|
283
|
-
columns: ['code', 'title'],
|
|
284
|
-
expose: [
|
|
285
|
-
{ source: 'id', target: 'safetyPlan.id' },
|
|
286
|
-
{ source: 'title', target: 'safetyPlan.title' },
|
|
287
|
-
{ source: 'code', target: 'safetyPlan.code' },
|
|
288
|
-
],
|
|
289
|
-
},
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
validations: [{ rule: 'required' }],
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: 'safetyPlanSectionId',
|
|
296
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',
|
|
297
|
-
groupId: 'plan-folder',
|
|
298
|
-
options: listSortAndFilterOptions,
|
|
299
|
-
schema: {
|
|
300
|
-
dataType: 'string',
|
|
301
|
-
interface: {
|
|
302
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
303
|
-
options: {
|
|
304
|
-
look: 'select',
|
|
305
|
-
entity: safetyPlanSectionEntity,
|
|
306
|
-
allowSearch: true,
|
|
307
|
-
textField: 'title',
|
|
308
|
-
valueField: 'id',
|
|
309
|
-
columns: ['code', 'title'],
|
|
310
|
-
expose: [
|
|
311
|
-
{ source: 'id', target: 'safetyPlanSection.id' },
|
|
312
|
-
{ source: 'title', target: 'safetyPlanSection.title' },
|
|
313
|
-
{ source: 'code', target: 'safetyPlanSection.code' },
|
|
314
|
-
],
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
validations: [{ rule: 'required' }],
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: 'workStepTypeId',
|
|
322
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',
|
|
323
|
-
groupId: 'basic-info',
|
|
324
|
-
options: listSortAndFilterOptions,
|
|
325
|
-
schema: {
|
|
326
|
-
dataType: 'string',
|
|
327
|
-
interface: {
|
|
328
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
329
|
-
options: {
|
|
330
|
-
look: 'select',
|
|
331
|
-
entity: workStepTypeEntity,
|
|
332
|
-
allowSearch: true,
|
|
333
|
-
textField: 'title',
|
|
334
|
-
valueField: 'id',
|
|
335
|
-
columns: ['code', 'title'],
|
|
336
|
-
expose: [
|
|
337
|
-
{ source: 'id', target: 'workStepType.id' },
|
|
338
|
-
{ source: 'title', target: 'workStepType.title' },
|
|
339
|
-
{ source: 'code', target: 'workStepType.code' },
|
|
340
|
-
],
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
},
|
|
344
|
-
validations: [{ rule: 'required' }],
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
name: 'title',
|
|
348
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.title',
|
|
349
|
-
groupId: 'basic-info',
|
|
350
|
-
options: listSortAndFilterOptions,
|
|
351
|
-
schema: {
|
|
352
|
-
dataType: 'string',
|
|
353
|
-
nullable: true,
|
|
354
|
-
interface: {
|
|
355
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
356
|
-
options: {
|
|
357
|
-
placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
name: 'sortOrder',
|
|
364
|
-
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',
|
|
365
|
-
groupId: 'basic-info',
|
|
366
|
-
options: listSortAndFilterOptions,
|
|
367
|
-
schema: {
|
|
368
|
-
dataType: 'number',
|
|
369
|
-
nullable: true,
|
|
370
|
-
interface: {
|
|
371
|
-
type: AXPWidgetsList.Editors.NumberBox,
|
|
372
|
-
},
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
name: 'columns',
|
|
377
|
-
title: '',
|
|
378
|
-
groupId: 'table-content',
|
|
379
|
-
schema: {
|
|
380
|
-
defaultValue: [],
|
|
381
|
-
dataType: 'array',
|
|
382
|
-
nullable: true,
|
|
383
|
-
interface: {
|
|
384
|
-
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
385
|
-
options: { hasControls: true, allowReorder: true },
|
|
386
|
-
children: [
|
|
387
|
-
{
|
|
388
|
-
type: AXPWidgetsList.Layouts.GridLayout,
|
|
389
|
-
mode: 'edit',
|
|
390
|
-
options: { grid: { default: { columns: 12, gap: '1rem' } } },
|
|
391
|
-
children: [
|
|
392
|
-
{
|
|
393
|
-
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
394
|
-
mode: 'edit',
|
|
395
|
-
options: { colSpan: 6 },
|
|
396
|
-
children: [
|
|
397
|
-
{
|
|
398
|
-
type: AXPWidgetsList.Layouts.FormField,
|
|
399
|
-
mode: 'edit',
|
|
400
|
-
options: {
|
|
401
|
-
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
|
|
402
|
-
showLabel: true,
|
|
403
|
-
},
|
|
404
|
-
children: [
|
|
405
|
-
{
|
|
406
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
407
|
-
mode: 'edit',
|
|
408
|
-
path: 'sectionTypeId',
|
|
409
|
-
options: {
|
|
410
|
-
look: 'select',
|
|
411
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,
|
|
412
|
-
allowSearch: true,
|
|
413
|
-
textField: 'title',
|
|
414
|
-
valueField: 'id',
|
|
415
|
-
columns: ['code', 'title'],
|
|
416
|
-
expose: [
|
|
417
|
-
{ source: 'id', target: 'sectionType.id' },
|
|
418
|
-
{ source: 'title', target: 'sectionType.title' },
|
|
419
|
-
{ source: 'code', target: 'sectionType.code' },
|
|
420
|
-
{ source: 'title', target: 'title' },
|
|
421
|
-
],
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
],
|
|
425
|
-
},
|
|
426
|
-
],
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
430
|
-
mode: 'edit',
|
|
431
|
-
options: { colSpan: 6 },
|
|
432
|
-
children: [
|
|
433
|
-
{
|
|
434
|
-
type: AXPWidgetsList.Layouts.FormField,
|
|
435
|
-
mode: 'edit',
|
|
436
|
-
options: {
|
|
437
|
-
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',
|
|
438
|
-
showLabel: true,
|
|
439
|
-
},
|
|
440
|
-
children: [
|
|
441
|
-
{
|
|
442
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
443
|
-
mode: 'edit',
|
|
444
|
-
path: 'title',
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
},
|
|
452
|
-
],
|
|
453
|
-
},
|
|
454
|
-
},
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
name: 'cells',
|
|
458
|
-
title: '',
|
|
459
|
-
groupId: 'table-content',
|
|
460
|
-
schema: {
|
|
461
|
-
defaultValue: [],
|
|
462
|
-
dataType: 'array',
|
|
463
|
-
nullable: true,
|
|
464
|
-
interface: {
|
|
465
|
-
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
466
|
-
options: { hasControls: true, allowReorder: true },
|
|
467
|
-
children: [...CELLS_REPEATER_CHILDREN],
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
},
|
|
471
|
-
],
|
|
472
|
-
columns: [
|
|
473
|
-
{ name: 'code', options: { width: '120px', order: 1 } },
|
|
474
|
-
{ name: 'title', options: { order: 2 } },
|
|
475
|
-
{ name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },
|
|
476
|
-
{ name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },
|
|
477
|
-
{ name: 'sortOrder', options: { width: '100px', order: 5 } },
|
|
478
|
-
],
|
|
479
|
-
interfaces: {
|
|
480
|
-
master: {
|
|
481
|
-
create: {
|
|
482
|
-
sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
|
|
483
|
-
properties: [
|
|
484
|
-
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
485
|
-
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
486
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
487
|
-
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
488
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
489
|
-
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
490
|
-
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
491
|
-
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
492
|
-
],
|
|
493
|
-
},
|
|
494
|
-
update: {
|
|
495
|
-
sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
|
|
496
|
-
properties: [
|
|
497
|
-
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
498
|
-
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
499
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
500
|
-
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
501
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
502
|
-
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
503
|
-
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
504
|
-
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
505
|
-
],
|
|
506
|
-
},
|
|
507
|
-
single: {
|
|
508
|
-
title: '{{ title }}',
|
|
509
|
-
sections: [
|
|
510
|
-
{ id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
511
|
-
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
512
|
-
{ id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
513
|
-
],
|
|
514
|
-
properties: [
|
|
515
|
-
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
516
|
-
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
517
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
518
|
-
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
519
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
520
|
-
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
521
|
-
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
522
|
-
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
523
|
-
],
|
|
524
|
-
actions: [...entityMasterRecordActions()],
|
|
525
|
-
},
|
|
526
|
-
list: {
|
|
527
|
-
actions: [...entityMasterCrudActions()],
|
|
528
|
-
views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }] })],
|
|
529
|
-
},
|
|
530
|
-
},
|
|
531
|
-
},
|
|
532
|
-
};
|
|
533
|
-
return entityDef;
|
|
534
|
-
}
|
|
535
|
-
//#endregion
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Generated bundle index. Do not edit.
|
|
539
|
-
*/
|
|
540
|
-
|
|
541
|
-
export { safetyPlanWorkStepEntityFactory };
|
|
542
|
-
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/root-config.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/safety-plan-work-step/safety-plan-work-step.entity.ts","../../../../libs/modules/workplacesafety-management/contracts/src/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.ts"],"sourcesContent":["const config = {\n i18n: 'workplacesafety-management',\n module: 'WorkplaceSafetyManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building-shield',\n },\n entities: {\n hazard: {\n name: 'Hazard',\n source: `${config.module}.Hazard`,\n title: `@${config.i18n}:hazards.entities.hazard.title`,\n titlePlural: `@${config.i18n}:hazards.entities.hazard.plural`,\n icon: 'fa-light fa-triangle-exclamation',\n },\n hazardRegister: {\n name: 'HazardRegister',\n source: `${config.module}.HazardRegister`,\n title: `@${config.i18n}:hazard-registers.entities.hazard-register.title`,\n titlePlural: `@${config.i18n}:hazard-registers.entities.hazard-register.plural`,\n icon: 'fa-light fa-clipboard-list',\n },\n ppeItem: {\n name: 'PpeItem',\n source: `${config.module}.PpeItem`,\n title: `@${config.i18n}:ppe-items.entities.ppe-item.title`,\n titlePlural: `@${config.i18n}:ppe-items.entities.ppe-item.plural`,\n icon: 'fa-light fa-helmet-safety',\n },\n hazardPpeRule: {\n name: 'HazardPpeRule',\n source: `${config.module}.HazardPpeRule`,\n title: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.title`,\n titlePlural: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.plural`,\n icon: 'fa-light fa-user-helmet-safety',\n },\n hazardRisk: {\n name: 'HazardRisk',\n source: `${config.module}.HazardRisk`,\n title: `@${config.i18n}:hazard-risks.entities.hazard-risk.title`,\n titlePlural: `@${config.i18n}:hazard-risks.entities.hazard-risk.plural`,\n icon: 'fa-light fa-shield-exclamation',\n },\n controlHierarchyLevels: {\n name: 'ControlHierarchyLevels',\n source: `${config.module}.ControlHierarchyLevels`,\n title: `@${config.i18n}:control-measure-types.entities.control-measure-type.title`,\n titlePlural: `@${config.i18n}:control-measure-types.entities.control-measure-type.plural`,\n icon: 'fa-light fa-layer-group',\n },\n controlMeasure: {\n name: 'ControlMeasure',\n source: `${config.module}.ControlMeasure`,\n title: `@${config.i18n}:control-measures.entities.control-measure.title`,\n titlePlural: `@${config.i18n}:control-measures.entities.control-measure.plural`,\n icon: 'fa-light fa-shield-check',\n },\n safetyPlan: {\n name: 'SafetyPlan',\n source: `${config.module}.SafetyPlan`,\n title: `@${config.i18n}:safety-plans.entities.safety-plan.title`,\n titlePlural: `@${config.i18n}:safety-plans.entities.safety-plan.plural`,\n icon: 'fa-light fa-file-shield',\n },\n safetyPlanType: {\n name: 'SafetyPlanType',\n source: `${config.module}.SafetyPlanType`,\n title: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.title`,\n titlePlural: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.plural`,\n icon: 'fa-light fa-file-lines',\n },\n safetyPlanTypeSection: {\n name: 'SafetyPlanTypeSection',\n source: `${config.module}.SafetyPlanTypeSection`,\n title: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.title`,\n titlePlural: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.plural`,\n icon: 'fa-light fa-list-ol',\n },\n sectionType: {\n name: 'SectionType',\n source: `${config.module}.SectionType`,\n title: `@${config.i18n}:section-types.entities.section-type.title`,\n titlePlural: `@${config.i18n}:section-types.entities.section-type.plural`,\n icon: 'fa-light fa-list-tree',\n },\n safetyTemplate: {\n name: 'SafetyTemplate',\n source: `${config.module}.SafetyTemplate`,\n title: `@${config.i18n}:safety-templates.entities.safety-template.title`,\n titlePlural: `@${config.i18n}:safety-templates.entities.safety-template.plural`,\n icon: 'fa-light fa-file-lines',\n },\n safetyPlanSection: {\n name: 'SafetyPlanSection',\n source: `${config.module}.SafetyPlanSection`,\n title: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.title`,\n titlePlural: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.plural`,\n icon: 'fa-light fa-list-ol',\n },\n workStepType: {\n name: 'WorkStepType',\n source: `${config.module}.WorkStepType`,\n title: `@${config.i18n}:work-step-types.entities.work-step-type.title`,\n titlePlural: `@${config.i18n}:work-step-types.entities.work-step-type.plural`,\n icon: 'fa-light fa-list-tree',\n },\n safetyPlanWorkStep: {\n name: 'SafetyPlanWorkStep',\n source: `${config.module}.SafetyPlanWorkStep`,\n title: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.title`,\n titlePlural: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.plural`,\n icon: 'fa-light fa-list-check',\n },\n },\n queries: {\n dashboard: {\n openHazardsKpi: `${config.module}:Dashboard:OpenHazardsKpi`,\n highRisksKpi: `${config.module}:Dashboard:HighRisksKpi`,\n activeSafetyPlansKpi: `${config.module}:Dashboard:ActiveSafetyPlansKpi`,\n take5ChecklistsKpi: `${config.module}:Dashboard:Take5ChecklistsKpi`,\n take5CompletedKpi: `${config.module}:Dashboard:Take5CompletedKpi`,\n hazardsByCategoryDonut: `${config.module}:Dashboard:HazardsByCategoryDonut`,\n risksByRatingBar: `${config.module}:Dashboard:RisksByRatingBar`,\n plansByTypeBar: `${config.module}:Dashboard:PlansByTypeBar`,\n hazardsByStatusBar: `${config.module}:Dashboard:HazardsByStatusBar`,\n ppeCoverageDonut: `${config.module}:Dashboard:PpeCoverageDonut`,\n },\n },\n};\n","//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\nconst safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;\nconst safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;\nconst workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;\n\nconst CELLS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '0.75rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 3 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'columnKey',\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 9 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'textValue',\n },\n ],\n },\n ],\n },\n ],\n },\n];\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function safetyPlanWorkStepEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.safetyPlanWorkStep.name,\n title: RootConfig.entities.safetyPlanWorkStep.title,\n icon: RootConfig.entities.safetyPlanWorkStep.icon,\n formats: {\n individual: RootConfig.entities.safetyPlanWorkStep.title,\n plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'plan-folder',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',\n },\n {\n id: 'basic-info',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',\n },\n {\n id: 'table-content',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n disabled: true,\n placeholder:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlan.id' },\n { source: 'title', target: 'safetyPlan.title' },\n { source: 'code', target: 'safetyPlan.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanSectionId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanSectionEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlanSection.id' },\n { source: 'title', target: 'safetyPlanSection.title' },\n { source: 'code', target: 'safetyPlanSection.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'workStepTypeId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: workStepTypeEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'workStepType.id' },\n { source: 'title', target: 'workStepType.title' },\n { source: 'code', target: 'workStepType.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',\n },\n },\n },\n },\n {\n name: 'sortOrder',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n },\n },\n },\n {\n name: 'columns',\n title: '',\n groupId: 'table-content',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: { grid: { default: { columns: 12, gap: '1rem' } } },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.LookupBox,\n mode: 'edit' as const,\n path: 'sectionTypeId',\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'sectionType.id' },\n { source: 'title', target: 'sectionType.title' },\n { source: 'code', target: 'sectionType.code' },\n { source: 'title', target: 'title' },\n ],\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'title',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n {\n name: 'cells',\n title: '',\n groupId: 'table-content',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: [...CELLS_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { order: 2 } },\n { name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },\n { name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },\n { name: 'sortOrder', options: { width: '100px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n update: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.safety-plan-work-step';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,4BAA4B;AAClC,IAAA,MAAM,EAAE,2BAA2B;CAC3B;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,6BAA6B;AACpC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,OAAA,CAAS;AACjC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;AACtD,YAAA,WAAW,EAAE,CAAA,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