@acorex-platform/module-workplacesafety-management-client 0.0.30 → 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.
Files changed (123) hide show
  1. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs +549 -0
  2. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs +509 -0
  4. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs +297 -0
  6. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs +431 -0
  8. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs +416 -0
  10. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs +476 -0
  12. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +482 -0
  14. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs +345 -0
  16. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs +1458 -0
  18. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs +1313 -0
  20. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs +295 -0
  22. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +542 -0
  24. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs +470 -0
  26. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs +369 -0
  28. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs +299 -0
  30. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs +1358 -0
  32. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs +170 -0
  34. 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
  35. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs +372 -0
  36. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs +160 -0
  38. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs +294 -0
  40. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs +279 -0
  42. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs +339 -0
  44. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs +345 -0
  46. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs +208 -0
  48. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs +971 -0
  50. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs +356 -0
  52. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs +211 -0
  54. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs +158 -0
  56. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs +405 -0
  58. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs +333 -0
  60. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs +232 -0
  62. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs +162 -0
  64. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs +256 -0
  66. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +2 -0
  68. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs +739 -806
  70. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs.map +1 -1
  71. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs +93 -0
  72. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs.map +1 -0
  73. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs +117 -0
  74. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs.map +1 -0
  75. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-BBhH7KP1.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs} +48 -1
  76. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs.map +1 -0
  77. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-kF37zgd4.mjs → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs} +391 -92
  78. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs.map +1 -0
  79. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +43 -0
  80. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -0
  81. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs +42 -0
  82. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs.map +1 -0
  83. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs +101 -0
  84. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs.map +1 -0
  85. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs +221 -0
  86. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs.map +1 -0
  87. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs +61 -0
  88. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs.map +1 -0
  89. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-C2X3VpEt.mjs → acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs} +3 -7
  90. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs.map +1 -0
  91. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs +557 -0
  92. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs.map +1 -0
  93. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BJsg3pHZ.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs} +13 -25
  94. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs.map +1 -0
  95. package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -460
  96. package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs.map +1 -1
  97. package/package.json +70 -2
  98. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.d.ts +5 -0
  99. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.d.ts +5 -0
  100. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.d.ts +5 -0
  101. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.d.ts +5 -0
  102. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.d.ts +5 -0
  103. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.d.ts +5 -0
  104. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.d.ts +5 -0
  105. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.d.ts +9 -0
  106. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.d.ts +5 -0
  107. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.d.ts +5 -0
  108. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +5 -0
  109. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.d.ts +5 -0
  110. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.d.ts +5 -0
  111. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.d.ts +5 -0
  112. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.d.ts +5 -0
  113. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.d.ts +10 -0
  114. package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +89 -140
  115. package/types/acorex-platform-module-workplacesafety-management-client-local-entities.d.ts +12 -0
  116. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-C-qrrqOV.mjs +0 -203
  117. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-C-qrrqOV.mjs.map +0 -1
  118. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-BBhH7KP1.mjs.map +0 -1
  119. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-risk-ppe-rule-status.provider-DtqzcWh0.mjs +0 -42
  120. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-risk-ppe-rule-status.provider-DtqzcWh0.mjs.map +0 -1
  121. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-kF37zgd4.mjs.map +0 -1
  122. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-C2X3VpEt.mjs.map +0 -1
  123. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BJsg3pHZ.mjs.map +0 -1
@@ -0,0 +1,542 @@
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
@@ -0,0 +1 @@
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,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;AAC7D,YAAA,IAAI,EAAE,kCAAkC;AACzC,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gDAAA,CAAkD;AACxE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,iDAAA,CAAmD;AAC/E,YAAA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,QAAA,CAAU;AAClC,YAAA,K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