@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,405 @@
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
+ const safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;
13
+ const safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;
14
+ const workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;
15
+ const CELLS_REPEATER_CHILDREN = [
16
+ {
17
+ type: AXPWidgetsList.Layouts.GridLayout,
18
+ mode: 'edit',
19
+ options: {
20
+ grid: {
21
+ default: {
22
+ columns: 12,
23
+ gap: '0.75rem',
24
+ },
25
+ },
26
+ },
27
+ children: [
28
+ {
29
+ type: AXPWidgetsList.Layouts.GridItemLayout,
30
+ mode: 'edit',
31
+ options: { colSpan: 3 },
32
+ children: [
33
+ {
34
+ type: AXPWidgetsList.Layouts.FormField,
35
+ mode: 'edit',
36
+ options: {
37
+ label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
38
+ showLabel: true,
39
+ },
40
+ children: [
41
+ {
42
+ type: AXPWidgetsList.Editors.TextBox,
43
+ mode: 'edit',
44
+ path: 'columnKey',
45
+ },
46
+ ],
47
+ },
48
+ ],
49
+ },
50
+ {
51
+ type: AXPWidgetsList.Layouts.GridItemLayout,
52
+ mode: 'edit',
53
+ options: { colSpan: 9 },
54
+ children: [
55
+ {
56
+ type: AXPWidgetsList.Layouts.FormField,
57
+ mode: 'edit',
58
+ options: {
59
+ label: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',
60
+ showLabel: true,
61
+ },
62
+ children: [
63
+ {
64
+ type: AXPWidgetsList.Editors.TextBox,
65
+ mode: 'edit',
66
+ path: 'textValue',
67
+ },
68
+ ],
69
+ },
70
+ ],
71
+ },
72
+ ],
73
+ },
74
+ ];
75
+ //#endregion
76
+ //#region ---- Entity factory ----
77
+ async function safetyPlanWorkStepEntityFactory() {
78
+ const entityDef = {
79
+ module: RootConfig.module.name,
80
+ name: RootConfig.entities.safetyPlanWorkStep.name,
81
+ title: RootConfig.entities.safetyPlanWorkStep.title,
82
+ icon: RootConfig.entities.safetyPlanWorkStep.icon,
83
+ formats: {
84
+ individual: RootConfig.entities.safetyPlanWorkStep.title,
85
+ plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,
86
+ searchResult: {
87
+ title: '{{ title }}',
88
+ description: '{{ code }}',
89
+ },
90
+ },
91
+ plugins: [
92
+ { name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },
93
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
94
+ { name: 'archive' },
95
+ ],
96
+ groups: [
97
+ {
98
+ id: 'plan-folder',
99
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',
100
+ },
101
+ {
102
+ id: 'basic-info',
103
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',
104
+ },
105
+ {
106
+ id: 'table-content',
107
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',
108
+ },
109
+ ],
110
+ properties: [
111
+ {
112
+ name: 'id',
113
+ title: '@general:terms.common.id',
114
+ groupId: 'basic-info',
115
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
116
+ },
117
+ {
118
+ name: 'code',
119
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.title',
120
+ groupId: 'basic-info',
121
+ options: listSortAndFilterOptions,
122
+ schema: {
123
+ dataType: 'string',
124
+ unique: { enabled: true },
125
+ interface: {
126
+ type: AXPWidgetsList.Editors.TextBox,
127
+ options: {
128
+ disabled: true,
129
+ placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',
130
+ },
131
+ },
132
+ },
133
+ validations: [{ rule: 'required' }],
134
+ },
135
+ {
136
+ name: 'safetyPlanId',
137
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',
138
+ groupId: 'plan-folder',
139
+ options: listSortAndFilterOptions,
140
+ schema: {
141
+ dataType: 'string',
142
+ interface: {
143
+ type: AXPWidgetsList.Editors.LookupBox,
144
+ options: {
145
+ look: 'select',
146
+ entity: safetyPlanEntity,
147
+ allowSearch: true,
148
+ textField: 'title',
149
+ valueField: 'id',
150
+ columns: ['code', 'title'],
151
+ expose: [
152
+ { source: 'id', target: 'safetyPlan.id' },
153
+ { source: 'title', target: 'safetyPlan.title' },
154
+ { source: 'code', target: 'safetyPlan.code' },
155
+ ],
156
+ },
157
+ },
158
+ },
159
+ validations: [{ rule: 'required' }],
160
+ },
161
+ {
162
+ name: 'safetyPlanSectionId',
163
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',
164
+ groupId: 'plan-folder',
165
+ options: listSortAndFilterOptions,
166
+ schema: {
167
+ dataType: 'string',
168
+ interface: {
169
+ type: AXPWidgetsList.Editors.LookupBox,
170
+ options: {
171
+ look: 'select',
172
+ entity: safetyPlanSectionEntity,
173
+ allowSearch: true,
174
+ textField: 'title',
175
+ valueField: 'id',
176
+ columns: ['code', 'title'],
177
+ expose: [
178
+ { source: 'id', target: 'safetyPlanSection.id' },
179
+ { source: 'title', target: 'safetyPlanSection.title' },
180
+ { source: 'code', target: 'safetyPlanSection.code' },
181
+ ],
182
+ },
183
+ },
184
+ },
185
+ validations: [{ rule: 'required' }],
186
+ },
187
+ {
188
+ name: 'workStepTypeId',
189
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',
190
+ groupId: 'basic-info',
191
+ options: listSortAndFilterOptions,
192
+ schema: {
193
+ dataType: 'string',
194
+ interface: {
195
+ type: AXPWidgetsList.Editors.LookupBox,
196
+ options: {
197
+ look: 'select',
198
+ entity: workStepTypeEntity,
199
+ allowSearch: true,
200
+ textField: 'title',
201
+ valueField: 'id',
202
+ columns: ['code', 'title'],
203
+ expose: [
204
+ { source: 'id', target: 'workStepType.id' },
205
+ { source: 'title', target: 'workStepType.title' },
206
+ { source: 'code', target: 'workStepType.code' },
207
+ ],
208
+ },
209
+ },
210
+ },
211
+ validations: [{ rule: 'required' }],
212
+ },
213
+ {
214
+ name: 'title',
215
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.title',
216
+ groupId: 'basic-info',
217
+ options: listSortAndFilterOptions,
218
+ schema: {
219
+ dataType: 'string',
220
+ nullable: true,
221
+ interface: {
222
+ type: AXPWidgetsList.Editors.TextBox,
223
+ options: {
224
+ placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',
225
+ },
226
+ },
227
+ },
228
+ },
229
+ {
230
+ name: 'sortOrder',
231
+ title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',
232
+ groupId: 'basic-info',
233
+ options: listSortAndFilterOptions,
234
+ schema: {
235
+ dataType: 'number',
236
+ nullable: true,
237
+ interface: {
238
+ type: AXPWidgetsList.Editors.NumberBox,
239
+ },
240
+ },
241
+ },
242
+ {
243
+ name: 'columns',
244
+ title: '',
245
+ groupId: 'table-content',
246
+ schema: {
247
+ defaultValue: [],
248
+ dataType: 'array',
249
+ nullable: true,
250
+ interface: {
251
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
252
+ options: { hasControls: true, allowReorder: true },
253
+ children: [
254
+ {
255
+ type: AXPWidgetsList.Layouts.GridLayout,
256
+ mode: 'edit',
257
+ options: { grid: { default: { columns: 12, gap: '1rem' } } },
258
+ children: [
259
+ {
260
+ type: AXPWidgetsList.Layouts.GridItemLayout,
261
+ mode: 'edit',
262
+ options: { colSpan: 6 },
263
+ children: [
264
+ {
265
+ type: AXPWidgetsList.Layouts.FormField,
266
+ mode: 'edit',
267
+ options: {
268
+ label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
269
+ showLabel: true,
270
+ },
271
+ children: [
272
+ {
273
+ type: AXPWidgetsList.Editors.LookupBox,
274
+ mode: 'edit',
275
+ path: 'sectionTypeId',
276
+ options: {
277
+ look: 'select',
278
+ entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,
279
+ allowSearch: true,
280
+ textField: 'title',
281
+ valueField: 'id',
282
+ columns: ['code', 'title'],
283
+ expose: [
284
+ { source: 'id', target: 'sectionType.id' },
285
+ { source: 'title', target: 'sectionType.title' },
286
+ { source: 'code', target: 'sectionType.code' },
287
+ { source: 'title', target: 'title' },
288
+ ],
289
+ },
290
+ },
291
+ ],
292
+ },
293
+ ],
294
+ },
295
+ {
296
+ type: AXPWidgetsList.Layouts.GridItemLayout,
297
+ mode: 'edit',
298
+ options: { colSpan: 6 },
299
+ children: [
300
+ {
301
+ type: AXPWidgetsList.Layouts.FormField,
302
+ mode: 'edit',
303
+ options: {
304
+ label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',
305
+ showLabel: true,
306
+ },
307
+ children: [
308
+ {
309
+ type: AXPWidgetsList.Editors.TextBox,
310
+ mode: 'edit',
311
+ path: 'title',
312
+ },
313
+ ],
314
+ },
315
+ ],
316
+ },
317
+ ],
318
+ },
319
+ ],
320
+ },
321
+ },
322
+ },
323
+ {
324
+ name: 'cells',
325
+ title: '',
326
+ groupId: 'table-content',
327
+ schema: {
328
+ defaultValue: [],
329
+ dataType: 'array',
330
+ nullable: true,
331
+ interface: {
332
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
333
+ options: { hasControls: true, allowReorder: true },
334
+ children: [...CELLS_REPEATER_CHILDREN],
335
+ },
336
+ },
337
+ },
338
+ ],
339
+ columns: [
340
+ { name: 'code', options: { width: '120px', order: 1 } },
341
+ { name: 'title', options: { order: 2 } },
342
+ { name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },
343
+ { name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },
344
+ { name: 'sortOrder', options: { width: '100px', order: 5 } },
345
+ ],
346
+ interfaces: {
347
+ master: {
348
+ create: {
349
+ sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
350
+ properties: [
351
+ { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
352
+ { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
353
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
354
+ { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
355
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
356
+ { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
357
+ { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
358
+ { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
359
+ ],
360
+ },
361
+ update: {
362
+ sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
363
+ properties: [
364
+ { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
365
+ { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
366
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
367
+ { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
368
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
369
+ { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
370
+ { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
371
+ { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
372
+ ],
373
+ },
374
+ single: {
375
+ title: '{{ title }}',
376
+ sections: [
377
+ { id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },
378
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
379
+ { id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },
380
+ ],
381
+ properties: [
382
+ { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
383
+ { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
384
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
385
+ { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
386
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
387
+ { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
388
+ { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
389
+ { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
390
+ ],
391
+ actions: [...entityMasterRecordActions()],
392
+ },
393
+ list: {
394
+ actions: [...entityMasterCrudActions()],
395
+ views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }] })],
396
+ },
397
+ },
398
+ },
399
+ };
400
+ return entityDef;
401
+ }
402
+ //#endregion
403
+
404
+ export { safetyPlanWorkStepEntityFactory };
405
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/safety-plan-work-step/safety-plan-work-step.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\nconst safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;\nconst safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;\nconst workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;\n\nconst CELLS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '0.75rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 3 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'columnKey',\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 9 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'textValue',\n },\n ],\n },\n ],\n },\n ],\n },\n];\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function safetyPlanWorkStepEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.safetyPlanWorkStep.name,\n title: RootConfig.entities.safetyPlanWorkStep.title,\n icon: RootConfig.entities.safetyPlanWorkStep.icon,\n formats: {\n individual: RootConfig.entities.safetyPlanWorkStep.title,\n plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'plan-folder',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',\n },\n {\n id: 'basic-info',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',\n },\n {\n id: 'table-content',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n disabled: true,\n placeholder:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlan.id' },\n { source: 'title', target: 'safetyPlan.title' },\n { source: 'code', target: 'safetyPlan.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanSectionId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanSectionEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlanSection.id' },\n { source: 'title', target: 'safetyPlanSection.title' },\n { source: 'code', target: 'safetyPlanSection.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'workStepTypeId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: workStepTypeEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'workStepType.id' },\n { source: 'title', target: 'workStepType.title' },\n { source: 'code', target: 'workStepType.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',\n },\n },\n },\n },\n {\n name: 'sortOrder',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n },\n },\n },\n {\n name: 'columns',\n title: '',\n groupId: 'table-content',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: { grid: { default: { columns: 12, gap: '1rem' } } },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.LookupBox,\n mode: 'edit' as const,\n path: 'sectionTypeId',\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'sectionType.id' },\n { source: 'title', target: 'sectionType.title' },\n { source: 'code', target: 'sectionType.code' },\n { source: 'title', target: 'title' },\n ],\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'title',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n {\n name: 'cells',\n title: '',\n groupId: 'table-content',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: [...CELLS_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { order: 2 } },\n { name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },\n { name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },\n { name: 'sortOrder', options: { width: '100px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n update: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: '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