@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,470 @@
1
+ import { AXPSystemStatusType, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ //#region ---- Command keys ----
5
+ const AXMWorkplaceSafetyManagementCommandKeys = {
6
+ SafetyPlan: {
7
+ Publish: 'WorkplaceSafetyManagement.SafetyPlan:Publish',
8
+ ChangeType: 'WorkplaceSafetyManagement.SafetyPlan:ChangeType',
9
+ },
10
+ };
11
+ //#endregion
12
+
13
+ const config = {
14
+ i18n: 'workplacesafety-management',
15
+ module: 'WorkplaceSafetyManagement',
16
+ };
17
+ const RootConfig = {
18
+ config,
19
+ module: {
20
+ name: config.module,
21
+ title: `@${config.i18n}:module.title`,
22
+ icon: 'fa-light fa-building-shield',
23
+ },
24
+ entities: {
25
+ hazard: {
26
+ name: 'Hazard',
27
+ source: `${config.module}.Hazard`,
28
+ title: `@${config.i18n}:hazards.entities.hazard.title`,
29
+ titlePlural: `@${config.i18n}:hazards.entities.hazard.plural`,
30
+ icon: 'fa-light fa-triangle-exclamation',
31
+ },
32
+ hazardRegister: {
33
+ name: 'HazardRegister',
34
+ source: `${config.module}.HazardRegister`,
35
+ title: `@${config.i18n}:hazard-registers.entities.hazard-register.title`,
36
+ titlePlural: `@${config.i18n}:hazard-registers.entities.hazard-register.plural`,
37
+ icon: 'fa-light fa-clipboard-list',
38
+ },
39
+ ppeItem: {
40
+ name: 'PpeItem',
41
+ source: `${config.module}.PpeItem`,
42
+ title: `@${config.i18n}:ppe-items.entities.ppe-item.title`,
43
+ titlePlural: `@${config.i18n}:ppe-items.entities.ppe-item.plural`,
44
+ icon: 'fa-light fa-helmet-safety',
45
+ },
46
+ hazardPpeRule: {
47
+ name: 'HazardPpeRule',
48
+ source: `${config.module}.HazardPpeRule`,
49
+ title: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.title`,
50
+ titlePlural: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.plural`,
51
+ icon: 'fa-light fa-user-helmet-safety',
52
+ },
53
+ hazardRisk: {
54
+ name: 'HazardRisk',
55
+ source: `${config.module}.HazardRisk`,
56
+ title: `@${config.i18n}:hazard-risks.entities.hazard-risk.title`,
57
+ titlePlural: `@${config.i18n}:hazard-risks.entities.hazard-risk.plural`,
58
+ icon: 'fa-light fa-shield-exclamation',
59
+ },
60
+ controlHierarchyLevels: {
61
+ name: 'ControlHierarchyLevels',
62
+ source: `${config.module}.ControlHierarchyLevels`,
63
+ title: `@${config.i18n}:control-measure-types.entities.control-measure-type.title`,
64
+ titlePlural: `@${config.i18n}:control-measure-types.entities.control-measure-type.plural`,
65
+ icon: 'fa-light fa-layer-group',
66
+ },
67
+ controlMeasure: {
68
+ name: 'ControlMeasure',
69
+ source: `${config.module}.ControlMeasure`,
70
+ title: `@${config.i18n}:control-measures.entities.control-measure.title`,
71
+ titlePlural: `@${config.i18n}:control-measures.entities.control-measure.plural`,
72
+ icon: 'fa-light fa-shield-check',
73
+ },
74
+ safetyPlan: {
75
+ name: 'SafetyPlan',
76
+ source: `${config.module}.SafetyPlan`,
77
+ title: `@${config.i18n}:safety-plans.entities.safety-plan.title`,
78
+ titlePlural: `@${config.i18n}:safety-plans.entities.safety-plan.plural`,
79
+ icon: 'fa-light fa-file-shield',
80
+ },
81
+ safetyPlanType: {
82
+ name: 'SafetyPlanType',
83
+ source: `${config.module}.SafetyPlanType`,
84
+ title: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.title`,
85
+ titlePlural: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.plural`,
86
+ icon: 'fa-light fa-file-lines',
87
+ },
88
+ safetyPlanTypeSection: {
89
+ name: 'SafetyPlanTypeSection',
90
+ source: `${config.module}.SafetyPlanTypeSection`,
91
+ title: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.title`,
92
+ titlePlural: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.plural`,
93
+ icon: 'fa-light fa-list-ol',
94
+ },
95
+ sectionType: {
96
+ name: 'SectionType',
97
+ source: `${config.module}.SectionType`,
98
+ title: `@${config.i18n}:section-types.entities.section-type.title`,
99
+ titlePlural: `@${config.i18n}:section-types.entities.section-type.plural`,
100
+ icon: 'fa-light fa-list-tree',
101
+ },
102
+ safetyTemplate: {
103
+ name: 'SafetyTemplate',
104
+ source: `${config.module}.SafetyTemplate`,
105
+ title: `@${config.i18n}:safety-templates.entities.safety-template.title`,
106
+ titlePlural: `@${config.i18n}:safety-templates.entities.safety-template.plural`,
107
+ icon: 'fa-light fa-file-lines',
108
+ },
109
+ safetyPlanSection: {
110
+ name: 'SafetyPlanSection',
111
+ source: `${config.module}.SafetyPlanSection`,
112
+ title: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.title`,
113
+ titlePlural: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.plural`,
114
+ icon: 'fa-light fa-list-ol',
115
+ },
116
+ workStepType: {
117
+ name: 'WorkStepType',
118
+ source: `${config.module}.WorkStepType`,
119
+ title: `@${config.i18n}:work-step-types.entities.work-step-type.title`,
120
+ titlePlural: `@${config.i18n}:work-step-types.entities.work-step-type.plural`,
121
+ icon: 'fa-light fa-list-tree',
122
+ },
123
+ safetyPlanWorkStep: {
124
+ name: 'SafetyPlanWorkStep',
125
+ source: `${config.module}.SafetyPlanWorkStep`,
126
+ title: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.title`,
127
+ titlePlural: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.plural`,
128
+ icon: 'fa-light fa-list-check',
129
+ },
130
+ },
131
+ queries: {
132
+ dashboard: {
133
+ openHazardsKpi: `${config.module}:Dashboard:OpenHazardsKpi`,
134
+ highRisksKpi: `${config.module}:Dashboard:HighRisksKpi`,
135
+ activeSafetyPlansKpi: `${config.module}:Dashboard:ActiveSafetyPlansKpi`,
136
+ take5ChecklistsKpi: `${config.module}:Dashboard:Take5ChecklistsKpi`,
137
+ take5CompletedKpi: `${config.module}:Dashboard:Take5CompletedKpi`,
138
+ hazardsByCategoryDonut: `${config.module}:Dashboard:HazardsByCategoryDonut`,
139
+ risksByRatingBar: `${config.module}:Dashboard:RisksByRatingBar`,
140
+ plansByTypeBar: `${config.module}:Dashboard:PlansByTypeBar`,
141
+ hazardsByStatusBar: `${config.module}:Dashboard:HazardsByStatusBar`,
142
+ ppeCoverageDonut: `${config.module}:Dashboard:PpeCoverageDonut`,
143
+ },
144
+ },
145
+ };
146
+
147
+ /** Component key for the safety plan Sections page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */
148
+ const SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY = 'safety-plan-sections-page';
149
+
150
+ //#region ---- Imports ----
151
+ //#endregion
152
+ //#region ---- Constants ----
153
+ const listSortAndFilterOptions = {
154
+ sort: { enabled: true },
155
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
156
+ };
157
+ const noteFieldOptions = {
158
+ sort: { enabled: false },
159
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
160
+ };
161
+ const safetyPlanPublishAction = {
162
+ title: '@general:actions.publish.title',
163
+ command: {
164
+ name: AXMWorkplaceSafetyManagementCommandKeys.SafetyPlan.Publish,
165
+ options: {
166
+ id: '{{ context.eval("id") }}',
167
+ },
168
+ },
169
+ priority: 'secondary',
170
+ type: 'update',
171
+ icon: 'fa-light fa-upload',
172
+ scope: AXPEntityCommandScope.Individual,
173
+ hidden: `{{ context.eval("status") != "${AXPSystemStatusType.Draft}" }}`,
174
+ };
175
+ //#endregion
176
+ //#region ---- Entity factory ----
177
+ async function safetyPlanEntityFactory() {
178
+ const entityDef = {
179
+ module: RootConfig.module.name,
180
+ name: RootConfig.entities.safetyPlan.name,
181
+ title: RootConfig.entities.safetyPlan.title,
182
+ icon: RootConfig.entities.safetyPlan.icon,
183
+ formats: {
184
+ individual: RootConfig.entities.safetyPlan.title,
185
+ plural: RootConfig.entities.safetyPlan.titlePlural,
186
+ searchResult: {
187
+ title: '{{ title }}',
188
+ description: '{{ code }}',
189
+ },
190
+ },
191
+ plugins: [
192
+ { name: 'identifier', options: { field: 'code', rule: 'safety-plan-code' } },
193
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
194
+ {
195
+ name: 'status',
196
+ options: {
197
+ field: 'status',
198
+ definition: 'workplacesafety-management.status.safety-plan',
199
+ defaultStatus: AXPSystemStatusType.Draft,
200
+ showInCreate: false,
201
+ order: 1,
202
+ },
203
+ },
204
+ {
205
+ name: 'clone',
206
+ },
207
+ ],
208
+ pages: [
209
+ {
210
+ componentKey: SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY,
211
+ field: 'sectionStructure',
212
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',
213
+ icon: RootConfig.entities.safetyPlanSection.icon,
214
+ layout: { order: 1, position: 'after' },
215
+ appearOn: { create: true, update: true },
216
+ options: { order: 2 },
217
+ },
218
+ ],
219
+ groups: [
220
+ {
221
+ id: 'basic-info',
222
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.basic-info',
223
+ },
224
+ {
225
+ id: 'configuration',
226
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.configuration',
227
+ },
228
+ {
229
+ id: 'publication',
230
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.publication',
231
+ },
232
+ ],
233
+ properties: [
234
+ {
235
+ name: 'id',
236
+ title: '@general:terms.common.id',
237
+ groupId: 'basic-info',
238
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
239
+ },
240
+ {
241
+ name: 'code',
242
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.code.title',
243
+ groupId: 'basic-info',
244
+ options: listSortAndFilterOptions,
245
+ schema: {
246
+ dataType: 'string',
247
+ unique: { enabled: true },
248
+ interface: {
249
+ type: AXPWidgetsList.Editors.TextBox,
250
+ options: {
251
+ disabled: true,
252
+ placeholder: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.code.placeholder',
253
+ },
254
+ },
255
+ },
256
+ validations: [{ rule: 'required' }],
257
+ },
258
+ {
259
+ name: 'title',
260
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.title.title',
261
+ groupId: 'basic-info',
262
+ options: listSortAndFilterOptions,
263
+ schema: {
264
+ dataType: 'string',
265
+ interface: {
266
+ type: AXPWidgetsList.Editors.TextBox,
267
+ options: {
268
+ placeholder: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.title.placeholder',
269
+ },
270
+ },
271
+ },
272
+ validations: [{ rule: 'required' }],
273
+ },
274
+ {
275
+ name: 'description',
276
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.description.title',
277
+ groupId: 'basic-info',
278
+ options: noteFieldOptions,
279
+ schema: {
280
+ dataType: 'string',
281
+ nullable: true,
282
+ interface: {
283
+ type: AXPWidgetsList.Editors.LargeTextBox,
284
+ options: {
285
+ rows: 3,
286
+ placeholder: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.description.placeholder',
287
+ },
288
+ },
289
+ },
290
+ },
291
+ {
292
+ name: 'safetyPlanTypeId',
293
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.safety-plan-type.title',
294
+ groupId: 'configuration',
295
+ options: listSortAndFilterOptions,
296
+ schema: {
297
+ dataType: 'string',
298
+ interface: {
299
+ type: AXPWidgetsList.Editors.LookupBox,
300
+ options: {
301
+ entity: `${RootConfig.module.name}.${RootConfig.entities.safetyPlanType.name}`,
302
+ look: 'select',
303
+ allowSearch: true,
304
+ textField: 'title',
305
+ valueField: 'id',
306
+ columns: ['code', 'title'],
307
+ expose: [
308
+ { source: 'id', target: 'safetyPlanType.id' },
309
+ { source: 'title', target: 'safetyPlanType.title' },
310
+ { source: 'code', target: 'safetyPlanType.code' },
311
+ ],
312
+ },
313
+ },
314
+ },
315
+ validations: [{ rule: 'required' }],
316
+ },
317
+ {
318
+ name: 'allowClone',
319
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.allow-clone.title',
320
+ groupId: 'configuration',
321
+ options: listSortAndFilterOptions,
322
+ schema: {
323
+ dataType: 'boolean',
324
+ defaultValue: false,
325
+ interface: {
326
+ type: AXPWidgetsList.Editors.ToggleSwitch,
327
+ },
328
+ },
329
+ },
330
+ {
331
+ name: 'publishedAt',
332
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.published-at.title',
333
+ groupId: 'publication',
334
+ options: listSortAndFilterOptions,
335
+ schema: {
336
+ dataType: 'date',
337
+ nullable: true,
338
+ readonly: true,
339
+ interface: {
340
+ type: AXPWidgetsList.Editors.DateTimeBox,
341
+ options: { format: 'datetime', disabled: true, readonly: true },
342
+ },
343
+ },
344
+ },
345
+ {
346
+ name: 'publishedById',
347
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.published-by.title',
348
+ groupId: 'publication',
349
+ options: listSortAndFilterOptions,
350
+ schema: {
351
+ dataType: 'string',
352
+ nullable: true,
353
+ readonly: true,
354
+ interface: {
355
+ type: AXPWidgetsList.Editors.LookupBox,
356
+ options: {
357
+ entity: 'SecurityManagement.User',
358
+ look: 'select',
359
+ allowSearch: true,
360
+ textField: 'displayName',
361
+ valueField: 'id',
362
+ columns: ['displayName', 'username'],
363
+ disabled: true,
364
+ readonly: true,
365
+ expose: [
366
+ { source: 'id', target: 'publishedBy.id' },
367
+ { source: 'displayName', target: 'publishedBy.displayName' },
368
+ ],
369
+ },
370
+ },
371
+ },
372
+ },
373
+ {
374
+ name: 'sectionStructure',
375
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',
376
+ options: {
377
+ sort: { enabled: false },
378
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
379
+ },
380
+ schema: {
381
+ dataType: 'object',
382
+ defaultValue: { sections: [] },
383
+ visible: false,
384
+ nullable: true,
385
+ },
386
+ },
387
+ {
388
+ name: 'sections',
389
+ title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',
390
+ options: {
391
+ sort: { enabled: false },
392
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
393
+ },
394
+ schema: {
395
+ dataType: 'object',
396
+ defaultValue: { sections: [] },
397
+ visible: false,
398
+ nullable: true,
399
+ },
400
+ },
401
+ ],
402
+ columns: [
403
+ { name: 'code', options: { width: '120px', order: 1 } },
404
+ { name: 'title', options: { width: '240px', order: 2 } },
405
+ { name: 'safetyPlanTypeId', options: { width: '160px', order: 3, dataPath: 'safetyPlanType.title' } },
406
+ { name: 'status', options: { width: '140px', order: 4 } },
407
+ { name: 'publishedAt', options: { width: '160px', order: 5 } },
408
+ { name: 'publishedById', options: { width: '160px', order: 6, dataPath: 'publishedBy.displayName' } },
409
+ ],
410
+ interfaces: {
411
+ master: {
412
+ create: {
413
+ sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'publication' }],
414
+ properties: [
415
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
416
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
417
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
418
+ { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
419
+ { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
420
+ { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
421
+ { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
422
+ ],
423
+ },
424
+ update: {
425
+ sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'publication' }],
426
+ properties: [
427
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
428
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
429
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
430
+ { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
431
+ { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
432
+ { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
433
+ { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
434
+ ],
435
+ },
436
+ single: {
437
+ title: '{{ title }}',
438
+ sections: [
439
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
440
+ { id: 'configuration', layout: { positions: { lg: { colSpan: 12 } } } },
441
+ { id: 'publication', layout: { positions: { lg: { colSpan: 12 } } } },
442
+ ],
443
+ properties: [
444
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
445
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
446
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
447
+ { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
448
+ { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
449
+ { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
450
+ { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
451
+ ],
452
+ actions: [...entityMasterRecordActions()],
453
+ },
454
+ list: {
455
+ actions: [...entityMasterCrudActions(), safetyPlanPublishAction],
456
+ views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
457
+ },
458
+ },
459
+ },
460
+ };
461
+ return entityDef;
462
+ }
463
+ //#endregion
464
+
465
+ /**
466
+ * Generated bundle index. Do not edit.
467
+ */
468
+
469
+ export { safetyPlanEntityFactory };
470
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/commands.keys.ts","../../../../libs/modules/workplacesafety-management/contracts/src/root-config.ts","../../../../libs/modules/workplacesafety-management/contracts/src/SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/safety-plan/safety-plan.entity.ts","../../../../libs/modules/workplacesafety-management/contracts/src/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.ts"],"sourcesContent":["//#region ---- Command keys ----\n\nexport const AXMWorkplaceSafetyManagementCommandKeys = {\n SafetyPlan: {\n Publish: 'WorkplaceSafetyManagement.SafetyPlan:Publish',\n ChangeType: 'WorkplaceSafetyManagement.SafetyPlan:ChangeType',\n },\n} as const;\n\n//#endregion\n","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","/** Component key for the safety plan Sections page tab. Register via AXP_PAGE_COMPONENT_PROVIDER. */\nexport const SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY = 'safety-plan-sections-page';\n","//#region ---- Imports ----\n\nimport { AXPSystemStatusType, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\nimport { AXMWorkplaceSafetyManagementCommandKeys } from '../../commands.keys';\nimport { RootConfig } from '../../root-config';\nimport { SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY } from '../../SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY';\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 noteFieldOptions = {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n};\n\nconst safetyPlanPublishAction = {\n title: '@general:actions.publish.title',\n command: {\n name: AXMWorkplaceSafetyManagementCommandKeys.SafetyPlan.Publish,\n options: {\n id: '{{ context.eval(\"id\") }}',\n },\n },\n priority: 'secondary' as const,\n type: 'update' as const,\n icon: 'fa-light fa-upload',\n scope: AXPEntityCommandScope.Individual as const,\n hidden: `{{ context.eval(\"status\") != \"${AXPSystemStatusType.Draft}\" }}`,\n};\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function safetyPlanEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.safetyPlan.name,\n title: RootConfig.entities.safetyPlan.title,\n icon: RootConfig.entities.safetyPlan.icon,\n formats: {\n individual: RootConfig.entities.safetyPlan.title,\n plural: RootConfig.entities.safetyPlan.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'safety-plan-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n {\n name: 'status',\n options: {\n field: 'status',\n definition: 'workplacesafety-management.status.safety-plan',\n defaultStatus: AXPSystemStatusType.Draft,\n showInCreate: false,\n order: 1,\n },\n },\n {\n name: 'clone',\n },\n ],\n pages: [\n {\n componentKey: SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY,\n field: 'sectionStructure',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',\n icon: RootConfig.entities.safetyPlanSection.icon,\n layout: { order: 1, position: 'after' },\n appearOn: { create: true, update: true },\n options: { order: 2 },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.basic-info',\n },\n {\n id: 'configuration',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.configuration',\n },\n {\n id: 'publication',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.groups.publication',\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-plans.entities.safety-plan.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:safety-plans.entities.safety-plan.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.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:safety-plans.entities.safety-plan.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.description.title',\n groupId: 'basic-info',\n options: noteFieldOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@workplacesafety-management:safety-plans.entities.safety-plan.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'safetyPlanTypeId',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.safety-plan-type.title',\n groupId: 'configuration',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.safetyPlanType.name}`,\n look: 'select',\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlanType.id' },\n { source: 'title', target: 'safetyPlanType.title' },\n { source: 'code', target: 'safetyPlanType.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'allowClone',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.allow-clone.title',\n groupId: 'configuration',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n },\n },\n {\n name: 'publishedAt',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.published-at.title',\n groupId: 'publication',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'date',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { format: 'datetime', disabled: true, readonly: true },\n },\n },\n },\n {\n name: 'publishedById',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.fields.published-by.title',\n groupId: 'publication',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n look: 'select',\n allowSearch: true,\n textField: 'displayName',\n valueField: 'id',\n columns: ['displayName', 'username'],\n disabled: true,\n readonly: true,\n expose: [\n { source: 'id', target: 'publishedBy.id' },\n { source: 'displayName', target: 'publishedBy.displayName' },\n ],\n },\n },\n },\n },\n {\n name: 'sectionStructure',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n defaultValue: { sections: [] },\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'sections',\n title: '@workplacesafety-management:safety-plans.entities.safety-plan.pages.sections.title',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n defaultValue: { sections: [] },\n visible: false,\n nullable: true,\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '240px', order: 2 } },\n { name: 'safetyPlanTypeId', options: { width: '160px', order: 3, dataPath: 'safetyPlanType.title' } },\n { name: 'status', options: { width: '140px', order: 4 } },\n { name: 'publishedAt', options: { width: '160px', order: 5 } },\n { name: 'publishedById', options: { width: '160px', order: 6, dataPath: 'publishedBy.displayName' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'publication' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'publication' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'configuration', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'publication', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyPlanTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'allowClone', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'publishedAt', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'publishedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions(), safetyPlanPublishAction],\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.safety-plan';\n"],"names":[],"mappings":";;;AAAA;AAEO,MAAM,uCAAuC,GAAG;AACrD,IAAA,UAAU,EAAE;AACV,QAAA,OAAO,EAAE,8CAA8C;AACvD,QAAA,UAAU,EAAE,iDAAiD;AAC9D,KAAA;CACO;AAEV;;ACTA,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,MA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