@acorex-platform/module-workplacesafety-management-client 0.0.32 → 0.0.37

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 (126) hide show
  1. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-isnVDChu.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs} +20 -12
  2. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-isnVDChu.mjs.map → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs.map} +1 -1
  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 +465 -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 +1492 -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 +1347 -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 +529 -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 +1392 -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-BI4TLvSE.mjs +170 -0
  34. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs +372 -0
  36. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs +160 -0
  38. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs +294 -0
  40. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs +279 -0
  42. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs +339 -0
  44. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs +328 -0
  46. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs +208 -0
  48. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs +1005 -0
  50. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs +356 -0
  52. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs +211 -0
  54. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs +158 -0
  56. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs +405 -0
  58. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs +392 -0
  60. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs +232 -0
  62. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs +162 -0
  64. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs +256 -0
  66. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.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 +38 -3
  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-CZFCMX6R.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-eDWG-sJ7.mjs} +2 -2
  72. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CZFCMX6R.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-eDWG-sJ7.mjs.map} +1 -1
  73. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-CfxHwZtH.mjs +117 -0
  74. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-CfxHwZtH.mjs.map +1 -0
  75. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs.map +1 -1
  76. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-o4bAwYcq.mjs → acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-6ZWaO5DG.mjs} +3 -3
  77. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-6ZWaO5DG.mjs.map +1 -0
  78. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-risk-status.provider-B6IkRYbW.mjs.map +1 -1
  79. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs → acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs} +316 -375
  80. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs.map +1 -0
  81. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +43 -0
  82. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -0
  83. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs.map +1 -1
  84. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-BqHXrGn9.mjs} +2 -2
  85. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-BqHXrGn9.mjs.map} +1 -1
  86. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-BxcGph1I.mjs} +3 -3
  87. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs.map → acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-BxcGph1I.mjs.map} +1 -1
  88. package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs.map +1 -1
  89. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs.map +1 -1
  90. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs +254 -0
  91. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs.map +1 -0
  92. package/fesm2022/acorex-platform-module-workplacesafety-management-client-publish-safety-plan.command-Ci-zcrmO.mjs.map +1 -1
  93. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs} +10 -10
  94. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs.map} +1 -1
  95. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs +36 -0
  96. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs.map +1 -0
  97. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs +204 -0
  98. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs.map +1 -0
  99. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-status.provider-BpWx3gIf.mjs.map +1 -1
  100. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs} +4 -209
  101. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs.map +1 -0
  102. package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
  103. package/package.json +70 -2
  104. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.d.ts +5 -0
  105. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.d.ts +5 -0
  106. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.d.ts +5 -0
  107. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.d.ts +5 -0
  108. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.d.ts +5 -0
  109. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.d.ts +5 -0
  110. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.d.ts +5 -0
  111. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.d.ts +9 -0
  112. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.d.ts +5 -0
  113. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.d.ts +5 -0
  114. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +5 -0
  115. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.d.ts +5 -0
  116. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.d.ts +5 -0
  117. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.d.ts +5 -0
  118. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.d.ts +5 -0
  119. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.d.ts +10 -0
  120. package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +26 -3
  121. package/types/acorex-platform-module-workplacesafety-management-client-local-entities.d.ts +12 -0
  122. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs +0 -118
  123. package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs.map +0 -1
  124. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-ppe-rule-status.provider-o4bAwYcq.mjs.map +0 -1
  125. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs.map +0 -1
  126. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs.map +0 -1
@@ -0,0 +1,372 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs';
4
+
5
+ //#region ---- Imports ----
6
+ //#endregion
7
+ //#region ---- Constants ----
8
+ const CONTROL_HIERARCHY_LEVELS_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}`;
9
+ const HIERARCHY_DIAGRAM_PREVIEW_COMMAND = `${CONTROL_HIERARCHY_LEVELS_ENTITY}:Preview`;
10
+ const HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS = {
11
+ title: '{{ context.eval("title") }}',
12
+ itemIds: '{{ context.eval("itemIds") }}',
13
+ hierarchyDiagramViewType: '{{ context.eval("hierarchyDiagramViewType") ?? "horizontal" }}',
14
+ id: '{{ context.eval("id") }}',
15
+ };
16
+ const HIERARCHY_DIAGRAM_PREVIEW_ACTION = {
17
+ title: '@general:actions.preview.title',
18
+ command: {
19
+ name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,
20
+ options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,
21
+ },
22
+ priority: 'primary',
23
+ type: 'action',
24
+ icon: 'fa-light fa-eye',
25
+ scope: AXPEntityCommandScope.Individual,
26
+ disabled: '{{ !context.eval("itemIds") || context.eval("itemIds").length === 0 }}',
27
+ };
28
+ const HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS = {
29
+ text: '',
30
+ color: 'primary',
31
+ look: 'solid',
32
+ icon: 'fa-light fa-eye',
33
+ disabled: '{{ !context.eval("itemIds") || context.eval("itemIds").length === 0 }}',
34
+ command: {
35
+ name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,
36
+ options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,
37
+ },
38
+ };
39
+ const hierarchyLevelsViewTypeLayout = {
40
+ name: 'hierarchyDiagramViewType',
41
+ layout: { order: 1, positions: { lg: { colSpan: 12 } } },
42
+ };
43
+ const hierarchyLevelsFormPreviewLayouts = [
44
+ {
45
+ name: 'hierarchyDiagramViewType',
46
+ layout: { order: 1, positions: { lg: { colSpan: 11, colStart: 1 } } },
47
+ },
48
+ {
49
+ name: 'hierarchyDiagramPreview',
50
+ layout: {
51
+ order: 1,
52
+ label: { visible: false },
53
+ positions: { lg: { colSpan: 1, colStart: 12 } },
54
+ },
55
+ },
56
+ ];
57
+ const hierarchyLevelsItemIdsLayout = {
58
+ name: 'itemIds',
59
+ layout: { label: { visible: false }, order: 2, positions: { lg: { colSpan: 12 } } },
60
+ };
61
+ //#endregion
62
+ //#region ---- Constants (repeater) ----
63
+ const ITEM_IDS_REPEATER_CHILDREN = [
64
+ {
65
+ type: AXPWidgetsList.Layouts.GridLayout,
66
+ mode: 'edit',
67
+ name: 'itemRow',
68
+ options: {
69
+ grid: {
70
+ default: {
71
+ columns: 12,
72
+ gap: '1rem',
73
+ },
74
+ },
75
+ },
76
+ children: [
77
+ {
78
+ type: AXPWidgetsList.Layouts.GridItemLayout,
79
+ mode: 'edit',
80
+ options: { colSpan: 3 },
81
+ children: [
82
+ {
83
+ type: AXPWidgetsList.Layouts.FormField,
84
+ mode: 'edit',
85
+ options: {
86
+ label: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',
87
+ showLabel: true,
88
+ },
89
+ children: [
90
+ {
91
+ type: AXPWidgetsList.Editors.TextBox,
92
+ mode: 'edit',
93
+ path: 'title',
94
+ name: 'title',
95
+ options: {
96
+ multiLanguage: true,
97
+ placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',
98
+ },
99
+ },
100
+ ],
101
+ },
102
+ ],
103
+ },
104
+ {
105
+ type: AXPWidgetsList.Layouts.GridItemLayout,
106
+ mode: 'edit',
107
+ options: { colSpan: 5 },
108
+ children: [
109
+ {
110
+ type: AXPWidgetsList.Layouts.FormField,
111
+ mode: 'edit',
112
+ options: {
113
+ label: '@general:terms.common.description',
114
+ showLabel: true,
115
+ },
116
+ children: [
117
+ {
118
+ type: AXPWidgetsList.Editors.TextBox,
119
+ mode: 'edit',
120
+ path: 'description',
121
+ name: 'description',
122
+ options: {
123
+ rows: 2,
124
+ multiLanguage: true,
125
+ placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',
126
+ },
127
+ },
128
+ ],
129
+ },
130
+ ],
131
+ },
132
+ {
133
+ type: AXPWidgetsList.Layouts.GridItemLayout,
134
+ mode: 'edit',
135
+ options: { colSpan: 4 },
136
+ children: [
137
+ {
138
+ type: AXPWidgetsList.Layouts.FormField,
139
+ mode: 'edit',
140
+ options: {
141
+ label: '@general:terms.common.color',
142
+ showLabel: true,
143
+ },
144
+ children: [
145
+ {
146
+ type: AXPWidgetsList.Editors.ColorPalette,
147
+ mode: 'edit',
148
+ path: 'color',
149
+ name: 'color',
150
+ options: {},
151
+ },
152
+ ],
153
+ },
154
+ ],
155
+ },
156
+ ],
157
+ },
158
+ ];
159
+ const listSortAndFilterOptions = {
160
+ sort: { enabled: true },
161
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
162
+ };
163
+ const HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS = [
164
+ {
165
+ id: 'horizontal',
166
+ title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',
167
+ },
168
+ {
169
+ id: 'vertical',
170
+ title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',
171
+ },
172
+ {
173
+ id: 'horizontal-chevron',
174
+ title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',
175
+ },
176
+ ];
177
+ //#endregion
178
+ //#region ---- Entity factory ----
179
+ async function controlHierarchyLevelsEntityFactory() {
180
+ const entityDef = {
181
+ module: RootConfig.module.name,
182
+ name: RootConfig.entities.controlHierarchyLevels.name,
183
+ title: RootConfig.entities.controlHierarchyLevels.title,
184
+ icon: RootConfig.entities.controlHierarchyLevels.icon,
185
+ formats: {
186
+ individual: RootConfig.entities.controlHierarchyLevels.title,
187
+ plural: RootConfig.entities.controlHierarchyLevels.titlePlural,
188
+ searchResult: {
189
+ title: '{{ title }}',
190
+ description: '{{ code }}',
191
+ },
192
+ },
193
+ plugins: [
194
+ { name: 'identifier', options: { field: 'code', rule: 'control-hierarchy-levels-code' } },
195
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
196
+ { name: 'archive' },
197
+ ],
198
+ groups: [
199
+ {
200
+ id: 'basic-info',
201
+ title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.basic-info',
202
+ },
203
+ {
204
+ id: 'hierarchy-levels',
205
+ title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.hierarchy-levels',
206
+ },
207
+ ],
208
+ properties: [
209
+ {
210
+ name: 'hierarchyDiagramViewType',
211
+ title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',
212
+ schema: {
213
+ dataType: 'string',
214
+ defaultValue: 'horizontal',
215
+ interface: {
216
+ type: AXPWidgetsList.Editors.SelectBox,
217
+ options: {
218
+ valueField: 'id',
219
+ textField: 'title',
220
+ dataSource: [...HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS],
221
+ },
222
+ },
223
+ },
224
+ },
225
+ {
226
+ name: 'hierarchyDiagramPreview',
227
+ title: '\u00a0',
228
+ groupId: 'hierarchy-levels',
229
+ schema: {
230
+ dataType: 'string',
231
+ nullable: true,
232
+ interface: {
233
+ type: AXPWidgetsList.Actions.ActionButton,
234
+ mode: 'edit',
235
+ options: HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS,
236
+ },
237
+ },
238
+ },
239
+ {
240
+ name: 'id',
241
+ title: '@general:terms.common.id',
242
+ groupId: 'basic-info',
243
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
244
+ },
245
+ {
246
+ name: 'code',
247
+ title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.title',
248
+ groupId: 'basic-info',
249
+ options: listSortAndFilterOptions,
250
+ schema: {
251
+ dataType: 'string',
252
+ unique: { enabled: true },
253
+ interface: {
254
+ type: AXPWidgetsList.Editors.TextBox,
255
+ options: {
256
+ disabled: true,
257
+ placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.placeholder',
258
+ },
259
+ },
260
+ },
261
+ validations: [{ rule: 'required' }],
262
+ },
263
+ {
264
+ name: 'title',
265
+ title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',
266
+ groupId: 'basic-info',
267
+ options: listSortAndFilterOptions,
268
+ schema: {
269
+ dataType: 'string',
270
+ interface: {
271
+ type: AXPWidgetsList.Editors.TextBox,
272
+ options: {
273
+ placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',
274
+ },
275
+ },
276
+ },
277
+ validations: [{ rule: 'required' }],
278
+ },
279
+ {
280
+ name: 'description',
281
+ title: '@general:terms.common.description',
282
+ groupId: 'basic-info',
283
+ options: {
284
+ sort: { enabled: false },
285
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
286
+ },
287
+ schema: {
288
+ dataType: 'string',
289
+ nullable: true,
290
+ interface: {
291
+ type: AXPWidgetsList.Editors.LargeTextBox,
292
+ options: {
293
+ rows: 3,
294
+ placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',
295
+ },
296
+ },
297
+ },
298
+ },
299
+ {
300
+ name: 'itemIds',
301
+ title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.items.title',
302
+ groupId: 'hierarchy-levels',
303
+ schema: {
304
+ defaultValue: [],
305
+ dataType: 'array',
306
+ nullable: true,
307
+ interface: {
308
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
309
+ options: { hasControls: true, allowReorder: true },
310
+ children: [...ITEM_IDS_REPEATER_CHILDREN],
311
+ },
312
+ },
313
+ },
314
+ ],
315
+ columns: [
316
+ { name: 'code', options: { width: '160px', order: 1 } },
317
+ { name: 'title', options: { width: '220px', order: 2 } },
318
+ ],
319
+ interfaces: {
320
+ master: {
321
+ create: {
322
+ sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],
323
+ properties: [
324
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
325
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
326
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
327
+ ...hierarchyLevelsFormPreviewLayouts,
328
+ hierarchyLevelsItemIdsLayout,
329
+ ],
330
+ },
331
+ update: {
332
+ sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],
333
+ properties: [
334
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
335
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
336
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
337
+ ...hierarchyLevelsFormPreviewLayouts,
338
+ hierarchyLevelsItemIdsLayout,
339
+ ],
340
+ },
341
+ single: {
342
+ title: '{{ title }}',
343
+ sections: [
344
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
345
+ { id: 'hierarchy-levels', layout: { positions: { lg: { colSpan: 12 } } } },
346
+ ],
347
+ properties: [
348
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
349
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
350
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
351
+ hierarchyLevelsViewTypeLayout,
352
+ hierarchyLevelsItemIdsLayout,
353
+ ],
354
+ actions: [HIERARCHY_DIAGRAM_PREVIEW_ACTION, ...entityMasterRecordActions()],
355
+ },
356
+ list: {
357
+ actions: [...entityMasterCrudActions()],
358
+ views: [
359
+ createAllQueryView({
360
+ sorts: [{ name: 'code', dir: 'asc' }],
361
+ }),
362
+ ],
363
+ },
364
+ },
365
+ },
366
+ };
367
+ return entityDef;
368
+ }
369
+ //#endregion
370
+
371
+ export { controlHierarchyLevelsEntityFactory };
372
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/control-hierarchy-levels/control-hierarchy-levels.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityAction,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst CONTROL_HIERARCHY_LEVELS_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}`;\nconst HIERARCHY_DIAGRAM_PREVIEW_COMMAND = `${CONTROL_HIERARCHY_LEVELS_ENTITY}:Preview`;\n\nconst HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS = {\n title: '{{ context.eval(\"title\") }}',\n itemIds: '{{ context.eval(\"itemIds\") }}',\n hierarchyDiagramViewType: '{{ context.eval(\"hierarchyDiagramViewType\") ?? \"horizontal\" }}',\n id: '{{ context.eval(\"id\") }}',\n};\n\nconst HIERARCHY_DIAGRAM_PREVIEW_ACTION: AXPEntityAction = {\n title: '@general:actions.preview.title',\n command: {\n name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,\n options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n disabled: '{{ !context.eval(\"itemIds\") || context.eval(\"itemIds\").length === 0 }}',\n};\n\nconst HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS = {\n text: '',\n color: 'primary',\n look: 'solid',\n icon: 'fa-light fa-eye',\n disabled: '{{ !context.eval(\"itemIds\") || context.eval(\"itemIds\").length === 0 }}',\n command: {\n name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,\n options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,\n },\n};\n\nconst hierarchyLevelsViewTypeLayout = {\n name: 'hierarchyDiagramViewType',\n layout: { order: 1, positions: { lg: { colSpan: 12 } } },\n};\n\nconst hierarchyLevelsFormPreviewLayouts = [\n {\n name: 'hierarchyDiagramViewType',\n layout: { order: 1, positions: { lg: { colSpan: 11, colStart: 1 } } },\n },\n {\n name: 'hierarchyDiagramPreview',\n layout: {\n order: 1,\n label: { visible: false },\n positions: { lg: { colSpan: 1, colStart: 12 } },\n },\n },\n] as const;\n\nconst hierarchyLevelsItemIdsLayout = {\n name: 'itemIds',\n layout: { label: { visible: false }, order: 2, positions: { lg: { colSpan: 12 } } },\n};\n\n//#endregion\n\n//#region ---- Constants (repeater) ----\n\nconst ITEM_IDS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n name: 'itemRow',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\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: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'title',\n name: 'title',\n options: {\n multiLanguage: true,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 5 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label: '@general:terms.common.description',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'description',\n name: 'description',\n options: {\n rows: 2,\n multiLanguage: true,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',\n },\n },\n ],\n },\n ],\n }, \n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 4 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label: '@general:terms.common.color',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ColorPalette,\n mode: 'edit' as const,\n path: 'color',\n name: 'color',\n options: {},\n },\n ],\n },\n ],\n },\n ],\n },\n];\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\nconst HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS = [\n {\n id: 'horizontal',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',\n },\n {\n id: 'vertical',\n title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',\n },\n {\n id: 'horizontal-chevron',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',\n },\n] as const;\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function controlHierarchyLevelsEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.controlHierarchyLevels.name,\n title: RootConfig.entities.controlHierarchyLevels.title,\n icon: RootConfig.entities.controlHierarchyLevels.icon,\n formats: {\n individual: RootConfig.entities.controlHierarchyLevels.title,\n plural: RootConfig.entities.controlHierarchyLevels.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'control-hierarchy-levels-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.basic-info',\n },\n {\n id: 'hierarchy-levels',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.hierarchy-levels',\n },\n ],\n properties: [\n {\n name: 'hierarchyDiagramViewType',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',\n schema: {\n dataType: 'string',\n defaultValue: 'horizontal',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [...HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS],\n },\n },\n },\n },\n {\n name: 'hierarchyDiagramPreview',\n title: '\\u00a0',\n groupId: 'hierarchy-levels',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Actions.ActionButton,\n mode: 'edit',\n options: HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS,\n },\n },\n },\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:control-measure-types.entities.control-measure-type.fields.code.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n disabled: true,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'itemIds',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.items.title',\n groupId: 'hierarchy-levels',\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: [...ITEM_IDS_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '160px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],\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: 3 } } } },\n ...hierarchyLevelsFormPreviewLayouts,\n hierarchyLevelsItemIdsLayout,\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],\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: 3 } } } },\n ...hierarchyLevelsFormPreviewLayouts,\n hierarchyLevelsItemIdsLayout,\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'hierarchy-levels', 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: 3 } } } },\n hierarchyLevelsViewTypeLayout,\n hierarchyLevelsItemIdsLayout,\n ],\n actions: [HIERARCHY_DIAGRAM_PREVIEW_ACTION, ...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'code', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAcA;AAEA;AAEA,MAAM,+BAA+B,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,EAAE;AACtH,MAAM,iCAAiC,GAAG,CAAA,EAAG,+BAA+B,UAAU;AAEtF,MAAM,yCAAyC,GAAG;AAChD,IAAA,KAAK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;AAC3E,qBAAA;AACD,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACzE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC1E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACjF,6BAA6B;wBAC7B,4BAA4B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,gCAAgC,EAAE,GAAG,yBAAyB,EAAE,CAAC;AAC5E,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACtC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,160 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs';
4
+
5
+ //#region ---- Imports ----
6
+ //#endregion
7
+ //#region ---- Constants ----
8
+ const listSortAndFilterOptions = {
9
+ sort: { enabled: true },
10
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
11
+ };
12
+ //#endregion
13
+ //#region ---- Entity factory ----
14
+ async function controlMeasureEntityFactory() {
15
+ const entityDef = {
16
+ module: RootConfig.module.name,
17
+ name: RootConfig.entities.controlMeasure.name,
18
+ title: RootConfig.entities.controlMeasure.title,
19
+ icon: RootConfig.entities.controlMeasure.icon,
20
+ formats: {
21
+ individual: RootConfig.entities.controlMeasure.title,
22
+ plural: RootConfig.entities.controlMeasure.titlePlural,
23
+ searchResult: {
24
+ title: '{{ title }}',
25
+ description: '{{ code }}',
26
+ },
27
+ },
28
+ plugins: [
29
+ { name: 'identifier', options: { field: 'code', rule: 'control-measure-code' } },
30
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
31
+ { name: 'archive' },
32
+ {
33
+ name: 'attachments',
34
+ options: {
35
+ accept: '.jpg,.jpeg,.png,.pdf,.doc,.docx',
36
+ fileEditable: true,
37
+ display: 'page'
38
+ },
39
+ },
40
+ ],
41
+ groups: [
42
+ {
43
+ id: 'basic-info',
44
+ title: '@workplacesafety-management:control-measures.entities.control-measure.groups.basic-info',
45
+ },
46
+ {
47
+ id: 'instruction',
48
+ title: '@workplacesafety-management:control-measures.entities.control-measure.groups.instruction',
49
+ },
50
+ ],
51
+ properties: [
52
+ {
53
+ name: 'id',
54
+ title: '@general:terms.common.id',
55
+ groupId: 'basic-info',
56
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
57
+ },
58
+ {
59
+ name: 'code',
60
+ title: '@workplacesafety-management:control-measures.entities.control-measure.fields.code.title',
61
+ groupId: 'basic-info',
62
+ options: listSortAndFilterOptions,
63
+ schema: {
64
+ dataType: 'string',
65
+ unique: { enabled: true },
66
+ interface: {
67
+ type: AXPWidgetsList.Editors.TextBox,
68
+ options: {
69
+ disabled: true,
70
+ placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.code.placeholder',
71
+ },
72
+ },
73
+ },
74
+ validations: [{ rule: 'required' }],
75
+ },
76
+ {
77
+ name: 'title',
78
+ title: '@workplacesafety-management:control-measures.entities.control-measure.fields.title.title',
79
+ groupId: 'basic-info',
80
+ options: listSortAndFilterOptions,
81
+ schema: {
82
+ dataType: 'string',
83
+ interface: {
84
+ type: AXPWidgetsList.Editors.TextBox,
85
+ options: {
86
+ placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.title.placeholder',
87
+ },
88
+ },
89
+ },
90
+ validations: [{ rule: 'required' }],
91
+ },
92
+ {
93
+ name: 'instruction',
94
+ title: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.title',
95
+ groupId: 'instruction',
96
+ options: {
97
+ sort: { enabled: false },
98
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
99
+ },
100
+ schema: {
101
+ dataType: 'string',
102
+ nullable: true,
103
+ interface: {
104
+ type: AXPWidgetsList.Editors.LargeTextBox,
105
+ options: {
106
+ rows: 4,
107
+ placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.placeholder',
108
+ },
109
+ },
110
+ },
111
+ },
112
+ ],
113
+ columns: [
114
+ { name: 'code', options: { width: '140px', order: 1 } },
115
+ { name: 'title', options: { width: '240px', order: 2 } },
116
+ ],
117
+ interfaces: {
118
+ master: {
119
+ create: {
120
+ sections: [{ id: 'basic-info' }, { id: 'instruction' }],
121
+ properties: [
122
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
123
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
124
+ { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
125
+ ],
126
+ },
127
+ update: {
128
+ sections: [{ id: 'basic-info' }, { id: 'instruction' }],
129
+ properties: [
130
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
131
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
132
+ { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
133
+ ],
134
+ },
135
+ single: {
136
+ title: '{{ title }}',
137
+ sections: [
138
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
139
+ { id: 'instruction', layout: { positions: { lg: { colSpan: 12 } } } },
140
+ ],
141
+ properties: [
142
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
143
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
144
+ { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
145
+ ],
146
+ actions: [...entityMasterRecordActions()],
147
+ },
148
+ list: {
149
+ actions: [...entityMasterCrudActions()],
150
+ views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
151
+ },
152
+ },
153
+ },
154
+ };
155
+ return entityDef;
156
+ }
157
+ //#endregion
158
+
159
+ export { controlMeasureEntityFactory };
160
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/control-measure/control-measure.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function controlMeasureEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.controlMeasure.name,\n title: RootConfig.entities.controlMeasure.title,\n icon: RootConfig.entities.controlMeasure.icon,\n formats: {\n individual: RootConfig.entities.controlMeasure.title,\n plural: RootConfig.entities.controlMeasure.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'control-measure-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n {\n name: 'attachments',\n options: {\n accept: '.jpg,.jpeg,.png,.pdf,.doc,.docx',\n fileEditable: true,\n display: 'page'\n },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:control-measures.entities.control-measure.groups.basic-info',\n },\n {\n id: 'instruction',\n title: '@workplacesafety-management:control-measures.entities.control-measure.groups.instruction',\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:control-measures.entities.control-measure.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:control-measures.entities.control-measure.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:control-measures.entities.control-measure.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:control-measures.entities.control-measure.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'instruction',\n title: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.title',\n groupId: 'instruction',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 4,\n placeholder:\n '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '240px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'instruction' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'instruction' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'instruction', 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: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAOA;AAEA;AAEA,MAAM,wBAAwB,GAAG;AAC/B,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;AACvB,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,O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