@acorex-platform/module-workplacesafety-management-client 0.0.32 → 0.0.33
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-isnVDChu.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-isnVDChu.mjs.map → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs +509 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs +297 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs +431 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs +416 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs +476 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +482 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs +345 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs +1458 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs +1313 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs +295 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +542 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs +470 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs +369 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs +299 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs +1358 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs +170 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs +372 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs +160 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs +294 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs +279 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs +339 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs +345 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs +208 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs +971 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs +356 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs +211 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs +158 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs +405 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs +333 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs +232 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs +162 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs +256 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CZFCMX6R.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CZFCMX6R.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs +117 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs.map → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +43 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
- package/package.json +70 -2
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.d.ts +9 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-workplacesafety-management-client-local-entities.d.ts +12 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs +0 -118
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs.map +0 -1
|
@@ -0,0 +1,299 @@
|
|
|
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
|
+
//#endregion
|
|
146
|
+
//#region ---- Entity factory ----
|
|
147
|
+
async function sectionTypeEntityFactory() {
|
|
148
|
+
const entityDef = {
|
|
149
|
+
module: RootConfig.module.name,
|
|
150
|
+
name: RootConfig.entities.sectionType.name,
|
|
151
|
+
title: RootConfig.entities.sectionType.title,
|
|
152
|
+
icon: RootConfig.entities.sectionType.icon,
|
|
153
|
+
formats: {
|
|
154
|
+
individual: RootConfig.entities.sectionType.title,
|
|
155
|
+
plural: RootConfig.entities.sectionType.titlePlural,
|
|
156
|
+
searchResult: {
|
|
157
|
+
title: '{{ code }}',
|
|
158
|
+
description: '{{ description }}',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
plugins: [
|
|
162
|
+
{ name: 'identifier', options: { field: 'code', rule: 'section-type-code' } },
|
|
163
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
164
|
+
{ name: 'archive' },
|
|
165
|
+
],
|
|
166
|
+
groups: [
|
|
167
|
+
{
|
|
168
|
+
id: 'basic-info',
|
|
169
|
+
title: '@workplacesafety-management:section-types.entities.section-type.groups.basic-info',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
properties: [
|
|
173
|
+
{
|
|
174
|
+
name: 'id',
|
|
175
|
+
title: '@general:terms.common.id',
|
|
176
|
+
groupId: 'basic-info',
|
|
177
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'code',
|
|
181
|
+
title: '@workplacesafety-management:section-types.entities.section-type.fields.code.title',
|
|
182
|
+
groupId: 'basic-info',
|
|
183
|
+
options: listSortAndFilterOptions,
|
|
184
|
+
schema: {
|
|
185
|
+
dataType: 'string',
|
|
186
|
+
unique: { enabled: true },
|
|
187
|
+
interface: {
|
|
188
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
189
|
+
options: {
|
|
190
|
+
disabled: true,
|
|
191
|
+
placeholder: '@workplacesafety-management:section-types.entities.section-type.fields.code.placeholder',
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
validations: [{ rule: 'required' }],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'title',
|
|
199
|
+
title: '@workplacesafety-management:section-types.entities.section-type.fields.title.title',
|
|
200
|
+
groupId: 'basic-info',
|
|
201
|
+
options: listSortAndFilterOptions,
|
|
202
|
+
schema: {
|
|
203
|
+
dataType: 'string',
|
|
204
|
+
interface: {
|
|
205
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
206
|
+
options: {
|
|
207
|
+
placeholder: '@workplacesafety-management:section-types.entities.section-type.fields.title.placeholder',
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
validations: [{ rule: 'required' }],
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: 'description',
|
|
215
|
+
title: '@workplacesafety-management:section-types.entities.section-type.fields.description.title',
|
|
216
|
+
groupId: 'basic-info',
|
|
217
|
+
options: {
|
|
218
|
+
sort: { enabled: false },
|
|
219
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
220
|
+
},
|
|
221
|
+
schema: {
|
|
222
|
+
dataType: 'string',
|
|
223
|
+
interface: {
|
|
224
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
225
|
+
options: {
|
|
226
|
+
rows: 2,
|
|
227
|
+
placeholder: '@workplacesafety-management:section-types.entities.section-type.fields.description.placeholder',
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'isRepeatable',
|
|
234
|
+
title: '@workplacesafety-management:section-types.entities.section-type.fields.is-repeatable.title',
|
|
235
|
+
groupId: 'basic-info',
|
|
236
|
+
options: listSortAndFilterOptions,
|
|
237
|
+
schema: {
|
|
238
|
+
dataType: 'boolean',
|
|
239
|
+
defaultValue: false,
|
|
240
|
+
interface: {
|
|
241
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
columns: [
|
|
247
|
+
{ name: 'code', options: { width: '120px', order: 1 } },
|
|
248
|
+
{ name: 'title', options: { width: '200px', order: 2 } },
|
|
249
|
+
{ name: 'description', options: { width: '280px', order: 3 } },
|
|
250
|
+
{ name: 'isRepeatable', options: { width: '120px', order: 4 } },
|
|
251
|
+
],
|
|
252
|
+
interfaces: {
|
|
253
|
+
master: {
|
|
254
|
+
create: {
|
|
255
|
+
sections: [{ id: 'basic-info' }],
|
|
256
|
+
properties: [
|
|
257
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
258
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
259
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
260
|
+
{ name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
261
|
+
],
|
|
262
|
+
},
|
|
263
|
+
update: {
|
|
264
|
+
sections: [{ id: 'basic-info' }],
|
|
265
|
+
properties: [
|
|
266
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
267
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
268
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
269
|
+
{ name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
270
|
+
],
|
|
271
|
+
},
|
|
272
|
+
single: {
|
|
273
|
+
title: '{{ title }}',
|
|
274
|
+
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
275
|
+
properties: [
|
|
276
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
277
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
278
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
279
|
+
{ name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
280
|
+
],
|
|
281
|
+
actions: [...entityMasterRecordActions()],
|
|
282
|
+
},
|
|
283
|
+
list: {
|
|
284
|
+
actions: [...entityMasterCrudActions()],
|
|
285
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
};
|
|
290
|
+
return entityDef;
|
|
291
|
+
}
|
|
292
|
+
//#endregion
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Generated bundle index. Do not edit.
|
|
296
|
+
*/
|
|
297
|
+
|
|
298
|
+
export { sectionTypeEntityFactory };
|
|
299
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/root-config.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/section-type/section-type.entity.ts","../../../../libs/modules/workplacesafety-management/contracts/src/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.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\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function sectionTypeEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.sectionType.name,\n title: RootConfig.entities.sectionType.title,\n icon: RootConfig.entities.sectionType.icon,\n formats: {\n individual: RootConfig.entities.sectionType.title,\n plural: RootConfig.entities.sectionType.titlePlural,\n searchResult: {\n title: '{{ code }}',\n description: '{{ description }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'section-type-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:section-types.entities.section-type.groups.basic-info',\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:section-types.entities.section-type.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: '@workplacesafety-management:section-types.entities.section-type.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:section-types.entities.section-type.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@workplacesafety-management:section-types.entities.section-type.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@workplacesafety-management:section-types.entities.section-type.fields.description.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 2,\n placeholder:\n '@workplacesafety-management:section-types.entities.section-type.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'isRepeatable',\n title: '@workplacesafety-management:section-types.entities.section-type.fields.is-repeatable.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '200px', order: 2 } },\n { name: 'description', options: { width: '280px', order: 3 } },\n { name: 'isRepeatable', options: { width: '120px', order: 4 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRepeatable', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', 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.section-type';\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,MAA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