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

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 (125) hide show
  1. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C3a08xjg.mjs} +79 -32
  2. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C3a08xjg.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs +19 -5
  4. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs +19 -5
  6. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs +19 -5
  8. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs +19 -5
  10. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs +22 -72
  12. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +20 -6
  14. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs +19 -5
  16. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.mjs +1516 -0
  18. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs +82 -12
  20. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs +82 -12
  22. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs +19 -5
  24. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs.map +1 -1
  25. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs +39 -6
  26. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map +1 -1
  27. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs +20 -5
  28. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs.map +1 -1
  29. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs +19 -5
  30. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map +1 -1
  31. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs +82 -12
  32. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs.map +1 -1
  33. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs} +21 -21
  34. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs} +16 -2
  36. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs} +16 -2
  38. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs} +16 -2
  40. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs.map +1 -0
  41. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs} +16 -2
  42. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs.map +1 -0
  43. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs} +18 -72
  44. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs.map +1 -0
  45. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs} +17 -3
  46. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs.map +1 -0
  47. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs} +16 -2
  48. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs +7 -0
  50. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-risk-management.integration-CUZIl8zt.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs +324 -0
  52. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs.map +1 -0
  53. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs} +62 -10
  54. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-D0fzHV_L.mjs.map +1 -0
  55. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs} +17 -3
  56. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs.map → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs.map} +1 -1
  57. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs} +17 -3
  58. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs.map +1 -0
  59. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs} +16 -2
  60. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs.map +1 -0
  61. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs} +36 -3
  62. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs.map +1 -0
  63. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs} +17 -2
  64. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs.map +1 -0
  65. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs} +16 -2
  66. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs.map +1 -0
  67. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs → acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs} +17 -3
  68. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +1 -1
  70. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs +144 -168
  71. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs.map +1 -1
  72. package/fesm2022/acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-lJl0qpvT.mjs +165 -0
  73. package/fesm2022/acorex-platform-module-workplacesafety-management-client-fill-safety-plan.command-lJl0qpvT.mjs.map +1 -0
  74. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-TrVl3-T6.mjs +240 -0
  75. package/fesm2022/acorex-platform-module-workplacesafety-management-client-hydrate-safety-plan-activity-sections-TrVl3-T6.mjs.map +1 -0
  76. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs → acorex-platform-module-workplacesafety-management-client-index-CInaiEjw.mjs} +130 -398
  77. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-CInaiEjw.mjs.map +1 -0
  78. package/fesm2022/acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-Ce67NSIZ.mjs +136 -0
  79. package/fesm2022/acorex-platform-module-workplacesafety-management-client-load-safety-plan-preview-structure-Ce67NSIZ.mjs.map +1 -0
  80. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +1 -1
  81. package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -1
  82. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-DJqqiYlD.mjs +102 -0
  83. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-DJqqiYlD.mjs.map +1 -0
  84. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs +33 -0
  85. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-fill-values.util-RLOdySf7.mjs.map +1 -0
  86. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B9lElhxc.mjs} +252 -72
  87. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-B9lElhxc.mjs.map +1 -0
  88. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs +185 -0
  89. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-C0SEJsVM.mjs.map +1 -0
  90. package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs} +30 -94
  91. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-D0aRQHWk.mjs.map +1 -0
  92. package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
  93. package/package.json +6 -6
  94. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.d.ts +5 -0
  95. package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +133 -157
  96. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs.map +0 -1
  97. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +0 -542
  98. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +0 -1
  99. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs.map +0 -1
  100. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map +0 -1
  101. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map +0 -1
  102. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs.map +0 -1
  103. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs.map +0 -1
  104. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs.map +0 -1
  105. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs.map +0 -1
  106. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs.map +0 -1
  107. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs.map +0 -1
  108. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs.map +0 -1
  109. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs.map +0 -1
  110. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs +0 -405
  111. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs.map +0 -1
  112. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs.map +0 -1
  113. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs.map +0 -1
  114. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs.map +0 -1
  115. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs.map +0 -1
  116. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs.map +0 -1
  117. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs +0 -254
  118. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs.map +0 -1
  119. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs.map +0 -1
  120. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs +0 -36
  121. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs.map +0 -1
  122. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs +0 -204
  123. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs.map +0 -1
  124. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs.map +0 -1
  125. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +0 -5
@@ -108,11 +108,11 @@ const RootConfig = {
108
108
  titlePlural: `@${config.i18n}:work-step-types.entities.work-step-type.plural`,
109
109
  icon: 'fa-light fa-list-tree',
110
110
  },
111
- safetyPlanWorkStep: {
112
- name: 'SafetyPlanWorkStep',
113
- source: `${config.module}.SafetyPlanWorkStep`,
114
- title: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.title`,
115
- titlePlural: `@${config.i18n}:safety-plan-work-steps.entities.safety-plan-work-step.plural`,
111
+ safetyPlanActivity: {
112
+ name: 'SafetyPlanActivity',
113
+ source: `${config.module}.SafetyPlanActivity`,
114
+ title: `@${config.i18n}:safety-plan-activities.entities.safety-plan-activity.title`,
115
+ titlePlural: `@${config.i18n}:safety-plan-activities.entities.safety-plan-activity.plural`,
116
116
  icon: 'fa-light fa-list-check',
117
117
  },
118
118
  },
@@ -143,21 +143,21 @@ const RootConfig = {
143
143
  const workplacesafetyManagementLocalEntityCatalog = {
144
144
  moduleName: RootConfig.module.name,
145
145
  loaders: {
146
- [RootConfig.entities.controlHierarchyLevels.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs').then((m) => m.controlHierarchyLevelsEntityFactory()),
147
- [RootConfig.entities.controlMeasure.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs').then((m) => m.controlMeasureEntityFactory()),
148
- [RootConfig.entities.hazard.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs').then((m) => m.hazardEntityFactory()),
149
- [RootConfig.entities.hazardPpeRule.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs').then((m) => m.hazardPpeRuleEntityFactory()),
150
- [RootConfig.entities.hazardRegister.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs').then((m) => m.hazardRegisterEntityFactory()),
151
- [RootConfig.entities.hazardRisk.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs').then((m) => m.hazardRiskEntityFactory()),
152
- [RootConfig.entities.ppeItem.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs').then((m) => m.ppeItemEntityFactory()),
153
- [RootConfig.entities.safetyPlan.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs').then((m) => m.safetyPlanEntityFactory()),
154
- [RootConfig.entities.safetyPlanSection.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-DJAI-7lB.mjs').then((m) => m.safetyPlanSectionEntityFactory()),
155
- [RootConfig.entities.safetyPlanType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs').then((m) => m.safetyPlanTypeEntityFactory()),
156
- [RootConfig.entities.safetyPlanTypeSection.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs').then((m) => m.safetyPlanTypeSectionEntityFactory()),
157
- [RootConfig.entities.safetyPlanWorkStep.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs').then((m) => m.safetyPlanWorkStepEntityFactory()),
158
- [RootConfig.entities.safetyTemplate.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs').then((m) => m.safetyTemplateEntityFactory()),
159
- [RootConfig.entities.sectionType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs').then((m) => m.sectionTypeEntityFactory()),
160
- [RootConfig.entities.workStepType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs').then((m) => m.workStepTypeEntityFactory()),
146
+ [RootConfig.entities.controlHierarchyLevels.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs').then((m) => m.controlHierarchyLevelsEntityFactory()),
147
+ [RootConfig.entities.controlMeasure.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs').then((m) => m.controlMeasureEntityFactory()),
148
+ [RootConfig.entities.hazard.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-Cogwbd1P.mjs').then((m) => m.hazardEntityFactory()),
149
+ [RootConfig.entities.hazardPpeRule.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs').then((m) => m.hazardPpeRuleEntityFactory()),
150
+ [RootConfig.entities.hazardRegister.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs').then((m) => m.hazardRegisterEntityFactory()),
151
+ [RootConfig.entities.hazardRisk.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-BwNlWbnC.mjs').then((m) => m.hazardRiskEntityFactory()),
152
+ [RootConfig.entities.ppeItem.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-0xqGaPnk.mjs').then((m) => m.ppeItemEntityFactory()),
153
+ [RootConfig.entities.safetyPlan.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-DaRnWCin.mjs').then((m) => m.safetyPlanEntityFactory()),
154
+ [RootConfig.entities.safetyPlanSection.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BpziBgGf.mjs').then((m) => m.safetyPlanSectionEntityFactory()),
155
+ [RootConfig.entities.safetyPlanType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-DrqQDYn9.mjs').then((m) => m.safetyPlanTypeEntityFactory()),
156
+ [RootConfig.entities.safetyPlanTypeSection.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-D8wL0ned.mjs').then((m) => m.safetyPlanTypeSectionEntityFactory()),
157
+ [RootConfig.entities.safetyTemplate.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-Coj5Rzry.mjs').then((m) => m.safetyTemplateEntityFactory()),
158
+ [RootConfig.entities.sectionType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-BU5roQ5-.mjs').then((m) => m.sectionTypeEntityFactory()),
159
+ [RootConfig.entities.workStepType.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-DijGV30H.mjs').then((m) => m.workStepTypeEntityFactory()),
160
+ [RootConfig.entities.safetyPlanActivity.name]: () => import('./acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-activity.entity-CZCYupQT.mjs').then((m) => m.safetyPlanActivityEntityFactory()),
161
161
  },
162
162
  };
163
163
  //#endregion
@@ -167,4 +167,4 @@ const workplacesafetyManagementLocalEntityCatalog = {
167
167
  */
168
168
 
169
169
  export { RootConfig as R, workplacesafetyManagementLocalEntityCatalog as w };
170
- //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-BI4TLvSE.mjs.map
170
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/root-config.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entity-catalog.ts","../../../../libs/modules/workplacesafety-management/contracts/src/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'workplacesafety-management',\n module: 'WorkplaceSafetyManagement',\n} as const;\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building-shield',\n },\n entities: {\n hazard: {\n name: 'Hazard',\n source: `${config.module}.Hazard`,\n title: `@${config.i18n}:hazards.entities.hazard.title`,\n titlePlural: `@${config.i18n}:hazards.entities.hazard.plural`,\n icon: 'fa-light fa-triangle-exclamation',\n },\n hazardRegister: {\n name: 'HazardRegister',\n source: `${config.module}.HazardRegister`,\n title: `@${config.i18n}:hazard-registers.entities.hazard-register.title`,\n titlePlural: `@${config.i18n}:hazard-registers.entities.hazard-register.plural`,\n icon: 'fa-light fa-clipboard-list',\n },\n ppeItem: {\n name: 'PpeItem',\n source: `${config.module}.PpeItem`,\n title: `@${config.i18n}:ppe-items.entities.ppe-item.title`,\n titlePlural: `@${config.i18n}:ppe-items.entities.ppe-item.plural`,\n icon: 'fa-light fa-helmet-safety',\n },\n hazardPpeRule: {\n name: 'HazardPpeRule',\n source: `${config.module}.HazardPpeRule`,\n title: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.title`,\n titlePlural: `@${config.i18n}:hazard-ppe-rules.entities.hazard-ppe-rule.plural`,\n icon: 'fa-light fa-user-helmet-safety',\n },\n hazardRisk: {\n name: 'HazardRisk',\n source: `${config.module}.HazardRisk`,\n title: `@${config.i18n}:hazard-risks.entities.hazard-risk.title`,\n titlePlural: `@${config.i18n}:hazard-risks.entities.hazard-risk.plural`,\n icon: 'fa-light fa-shield-exclamation',\n },\n controlHierarchyLevels: {\n name: 'ControlHierarchyLevels',\n source: `${config.module}.ControlHierarchyLevels`,\n title: `@${config.i18n}:control-measure-types.entities.control-measure-type.title`,\n titlePlural: `@${config.i18n}:control-measure-types.entities.control-measure-type.plural`,\n icon: 'fa-light fa-layer-group',\n },\n controlMeasure: {\n name: 'ControlMeasure',\n source: `${config.module}.ControlMeasure`,\n title: `@${config.i18n}:control-measures.entities.control-measure.title`,\n titlePlural: `@${config.i18n}:control-measures.entities.control-measure.plural`,\n icon: 'fa-light fa-shield-check',\n },\n safetyPlan: {\n name: 'SafetyPlan',\n source: `${config.module}.SafetyPlan`,\n title: `@${config.i18n}:safety-plans.entities.safety-plan.title`,\n titlePlural: `@${config.i18n}:safety-plans.entities.safety-plan.plural`,\n icon: 'fa-light fa-file-shield',\n },\n safetyPlanType: {\n name: 'SafetyPlanType',\n source: `${config.module}.SafetyPlanType`,\n title: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.title`,\n titlePlural: `@${config.i18n}:safety-plan-types.entities.safety-plan-type.plural`,\n icon: 'fa-light fa-file-lines',\n },\n safetyPlanTypeSection: {\n name: 'SafetyPlanTypeSection',\n source: `${config.module}.SafetyPlanTypeSection`,\n title: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.title`,\n titlePlural: `@${config.i18n}:safety-plan-type-sections.entities.safety-plan-type-section.plural`,\n icon: 'fa-light fa-list-ol',\n },\n sectionType: {\n name: 'SectionType',\n source: `${config.module}.SectionType`,\n title: `@${config.i18n}:section-types.entities.section-type.title`,\n titlePlural: `@${config.i18n}:section-types.entities.section-type.plural`,\n icon: 'fa-light fa-list-tree',\n },\n safetyTemplate: {\n name: 'SafetyTemplate',\n source: `${config.module}.SafetyTemplate`,\n title: `@${config.i18n}:safety-templates.entities.safety-template.title`,\n titlePlural: `@${config.i18n}:safety-templates.entities.safety-template.plural`,\n icon: 'fa-light fa-file-lines',\n },\n safetyPlanSection: {\n name: 'SafetyPlanSection',\n source: `${config.module}.SafetyPlanSection`,\n title: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.title`,\n titlePlural: `@${config.i18n}:safety-plan-sections.entities.safety-plan-section.plural`,\n icon: 'fa-light fa-list-ol',\n },\n workStepType: {\n name: 'WorkStepType',\n source: `${config.module}.WorkStepType`,\n title: `@${config.i18n}:work-step-types.entities.work-step-type.title`,\n titlePlural: `@${config.i18n}:work-step-types.entities.work-step-type.plural`,\n icon: 'fa-light fa-list-tree',\n },\n safetyPlanActivity: {\n name: 'SafetyPlanActivity',\n source: `${config.module}.SafetyPlanActivity`,\n title: `@${config.i18n}:safety-plan-activities.entities.safety-plan-activity.title`,\n titlePlural: `@${config.i18n}:safety-plan-activities.entities.safety-plan-activity.plural`,\n icon: 'fa-light fa-list-check',\n },\n },\n queries: {\n dashboard: {\n openHazardsKpi: `${config.module}:Dashboard:OpenHazardsKpi`,\n highRisksKpi: `${config.module}:Dashboard:HighRisksKpi`,\n activeSafetyPlansKpi: `${config.module}:Dashboard:ActiveSafetyPlansKpi`,\n take5ChecklistsKpi: `${config.module}:Dashboard:Take5ChecklistsKpi`,\n take5CompletedKpi: `${config.module}:Dashboard:Take5CompletedKpi`,\n hazardsByCategoryDonut: `${config.module}:Dashboard:HazardsByCategoryDonut`,\n risksByRatingBar: `${config.module}:Dashboard:RisksByRatingBar`,\n plansByTypeBar: `${config.module}:Dashboard:PlansByTypeBar`,\n hazardsByStatusBar: `${config.module}:Dashboard:HazardsByStatusBar`,\n ppeCoverageDonut: `${config.module}:Dashboard:PpeCoverageDonut`,\n },\n },\n};\n","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const workplacesafetyManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.controlHierarchyLevels.name]: () =>\n import('./entities/control-hierarchy-levels/control-hierarchy-levels.entity.js').then((m) => m.controlHierarchyLevelsEntityFactory()),\n [RootConfig.entities.controlMeasure.name]: () =>\n import('./entities/control-measure/control-measure.entity.js').then((m) => m.controlMeasureEntityFactory()),\n [RootConfig.entities.hazard.name]: () =>\n import('./entities/hazard/hazard.entity.js').then((m) => m.hazardEntityFactory()),\n [RootConfig.entities.hazardPpeRule.name]: () =>\n import('./entities/hazard-ppe-rule/hazard-ppe-rule.entity.js').then((m) => m.hazardPpeRuleEntityFactory()),\n [RootConfig.entities.hazardRegister.name]: () =>\n import('./entities/hazard-register/hazard-register.entity.js').then((m) => m.hazardRegisterEntityFactory()),\n [RootConfig.entities.hazardRisk.name]: () =>\n import('./entities/hazard-risk/hazard-risk.entity.js').then((m) => m.hazardRiskEntityFactory()),\n [RootConfig.entities.ppeItem.name]: () =>\n import('./entities/ppe-item/ppe-item.entity.js').then((m) => m.ppeItemEntityFactory()),\n [RootConfig.entities.safetyPlan.name]: () =>\n import('./entities/safety-plan/safety-plan.entity.js').then((m) => m.safetyPlanEntityFactory()),\n [RootConfig.entities.safetyPlanSection.name]: () =>\n import('./entities/safety-plan-section/safety-plan-section.entity.js').then((m) => m.safetyPlanSectionEntityFactory()),\n [RootConfig.entities.safetyPlanType.name]: () =>\n import('./entities/safety-plan-type/safety-plan-type.entity.js').then((m) => m.safetyPlanTypeEntityFactory()),\n [RootConfig.entities.safetyPlanTypeSection.name]: () =>\n import('./entities/safety-plan-type-section/safety-plan-type-section.entity.js').then((m) => m.safetyPlanTypeSectionEntityFactory()),\n [RootConfig.entities.safetyTemplate.name]: () =>\n import('./entities/safety-template/safety-template.entity.js').then((m) => m.safetyTemplateEntityFactory()),\n [RootConfig.entities.sectionType.name]: () =>\n import('./entities/section-type/section-type.entity.js').then((m) => m.sectionTypeEntityFactory()),\n [RootConfig.entities.workStepType.name]: () =>\n import('./entities/work-step-type/work-step-type.entity.js').then((m) => m.workStepTypeEntityFactory()),\n [RootConfig.entities.safetyPlanActivity.name]: () =>\n import('./entities/safety-plan-activity/safety-plan-activity.entity.js').then(\n (m) => m.safetyPlanActivityEntityFactory(),\n ),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,4BAA4B;AAClC,IAAA,MAAM,EAAE,2BAA2B;CAC3B;AAEH,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,6BAA6B;AACpC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,OAAA,CAAS;AACjC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;AACtD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;AAC7D,YAAA,IAAI,EAAE,kCAAkC;AACzC,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gDAAA,CAAkD;AACxE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,iDAAA,CAAmD;AAC/E,YAAA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,MAAM,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,CAAC;AACpG,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,wHAAoD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AACzG,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,GAAG,MAC7C,OAAO,8HAAgE,CAAC,CAAC,IAAI,CAC3E,CAAC,CAAC,KAAK,CAAC,CAAC,+BAA+B,EAAE,CAC3C;AACJ,KAAA;;AAGH;;ACrDA;;AAEG;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
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';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs';
4
4
 
5
5
  //#region ---- Imports ----
6
6
  //#endregion
@@ -182,6 +182,20 @@ async function controlHierarchyLevelsEntityFactory() {
182
182
  name: RootConfig.entities.controlHierarchyLevels.name,
183
183
  title: RootConfig.entities.controlHierarchyLevels.title,
184
184
  icon: RootConfig.entities.controlHierarchyLevels.icon,
185
+ searchTags: [
186
+ 'control-hierarchy',
187
+ 'control hierarchy',
188
+ 'hierarchy of controls',
189
+ 'control measure hierarchy',
190
+ 'risk control',
191
+ 'workplace safety',
192
+ 'سلسله مراتب کنترل',
193
+ 'سلسله مراتب‌های کنترل',
194
+ 'اقدامات کنترلی',
195
+ 'ایمنی محیط کار',
196
+ 'elimination substitution',
197
+ 'engineering controls',
198
+ ],
185
199
  formats: {
186
200
  individual: RootConfig.entities.controlHierarchyLevels.title,
187
201
  plural: RootConfig.entities.controlHierarchyLevels.titlePlural,
@@ -369,4 +383,4 @@ async function controlHierarchyLevelsEntityFactory() {
369
383
  //#endregion
370
384
 
371
385
  export { controlHierarchyLevelsEntityFactory };
372
- //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map
386
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-oylKTsgJ.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 searchTags: [\n 'control-hierarchy',\n 'control hierarchy',\n 'hierarchy of controls',\n 'control measure hierarchy',\n 'risk control',\n 'workplace safety',\n 'سلسله مراتب کنترل',\n 'سلسله مراتب‌های کنترل',\n 'اقدامات کنترلی',\n 'ایمنی محیط کار',\n 'elimination substitution',\n 'engineering controls',\n ],\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,EAAE,6BAA6B;AACpC,IAAA,OAAO,EAAE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asterRecordActions } 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';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs';
4
4
 
5
5
  //#region ---- Imports ----
6
6
  //#endregion
@@ -17,6 +17,20 @@ async function controlMeasureEntityFactory() {
17
17
  name: RootConfig.entities.controlMeasure.name,
18
18
  title: RootConfig.entities.controlMeasure.title,
19
19
  icon: RootConfig.entities.controlMeasure.icon,
20
+ searchTags: [
21
+ 'control-measure',
22
+ 'control measure',
23
+ 'hazard control',
24
+ 'safety control',
25
+ 'risk mitigation',
26
+ 'workplace safety',
27
+ 'اقدام کنترلی',
28
+ 'اقدامات کنترلی',
29
+ 'خطر',
30
+ 'ایمنی محیط کار',
31
+ 'instruction',
32
+ 'control action',
33
+ ],
20
34
  formats: {
21
35
  individual: RootConfig.entities.controlMeasure.title,
22
36
  plural: RootConfig.entities.controlMeasure.titlePlural,
@@ -157,4 +171,4 @@ async function controlMeasureEntityFactory() {
157
171
  //#endregion
158
172
 
159
173
  export { controlMeasureEntityFactory };
160
- //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map
174
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-DHm1nRwW.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 searchTags: [\n 'control-measure',\n 'control measure',\n 'hazard control',\n 'safety control',\n 'risk mitigation',\n 'workplace safety',\n 'اقدام کنترلی',\n 'اقدامات کنترلی',\n 'خطر',\n 'ایمنی محیط کار',\n 'instruction',\n 'control action',\n ],\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,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CAClE;AAED;AAEA;AAEO,eAAe,2BAA2B,GAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AAC/C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,UAAU,EAAE;YACV,iBAAiB;YACjB,iBAAiB;YACjB,gBAAgB;YAChB,gBAAgB;YAChB,iBAAiB;YACjB,kBAAkB;YAClB,cAAc;YACd,gBAAgB;YAChB,KAAK;YACL,gBAAgB;YAChB,aAAa;YACb,gBAAgB;AACjB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AACpD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,WAAW;AACtD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AE,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;AAClF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
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';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs';
4
4
 
5
5
  //#region ---- Imports ----
6
6
  //#endregion
@@ -44,6 +44,20 @@ async function hazardPpeRuleEntityFactory() {
44
44
  name: RootConfig.entities.hazardPpeRule.name,
45
45
  title: RootConfig.entities.hazardPpeRule.title,
46
46
  icon: RootConfig.entities.hazardPpeRule.icon,
47
+ searchTags: [
48
+ 'hazard-ppe-rule',
49
+ 'hazard PPE rule',
50
+ 'PPE requirement',
51
+ 'protective equipment rule',
52
+ 'hazard ppe',
53
+ 'PPE item',
54
+ 'requirement type',
55
+ 'قانون PPE خطر',
56
+ 'قوانین PPE خطر',
57
+ 'خطر',
58
+ 'قلم PPE',
59
+ 'تجهیزات حفاظت فردی',
60
+ ],
47
61
  formats: {
48
62
  individual: RootConfig.entities.hazardPpeRule.title,
49
63
  plural: RootConfig.entities.hazardPpeRule.titlePlural,
@@ -291,4 +305,4 @@ async function hazardPpeRuleEntityFactory() {
291
305
  //#endregion
292
306
 
293
307
  export { hazardPpeRuleEntityFactory };
294
- //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs.map
308
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DH-hPuAD.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/hazard-ppe-rule.types.ts","../../../../libs/modules/workplacesafety-management/contracts/src/hazard-ppe-rule-requirement-type-options.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/hazard-ppe-rule/hazard-ppe-rule.entity.ts"],"sourcesContent":["import { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\n//#endregion\n\n//#region ---- Enums ----\n\nexport enum AXMHazardPpeRuleRequirementType {\n Required = 'required',\n Recommended = 'recommended',\n Conditional = 'conditional',\n}\n\n//#endregion\n\n//#region ---- Entity model ----\n\nexport interface AXMWorkplaceSafetyManagementHazardPpeRuleEntityModel extends AXPEntityModel<string> {\n code: string;\n hazardId: string;\n hazard?: { id: string; title?: string; code?: string };\n ppeItemId: string;\n ppeItem?: { id: string; title?: string; code?: string };\n requirementType: AXMHazardPpeRuleRequirementType;\n conditionNote?: string;\n usageInstruction?: string;\n sortOrder?: number;\n status?: AXPSystemStatusType.Active | AXPSystemStatusType.Inactive;\n}\n\n//#endregion\n","//#region ---- Hazard PPE requirement type options ----\n\nimport { AXMHazardPpeRuleRequirementType } from './hazard-ppe-rule.types';\n\nexport const WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS = [\n {\n id: AXMHazardPpeRuleRequirementType.Required,\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.requirement-type.options.required',\n },\n {\n id: AXMHazardPpeRuleRequirementType.Recommended,\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.requirement-type.options.recommended',\n },\n {\n id: AXMHazardPpeRuleRequirementType.Conditional,\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.requirement-type.options.conditional',\n },\n] as const;\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\nimport { WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS } from '../../hazard-ppe-rule-requirement-type-options';\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 hazardPpeRuleEntityFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.hazardPpeRule.name,\n title: RootConfig.entities.hazardPpeRule.title,\n icon: RootConfig.entities.hazardPpeRule.icon,\n searchTags: [\n 'hazard-ppe-rule',\n 'hazard PPE rule',\n 'PPE requirement',\n 'protective equipment rule',\n 'hazard ppe',\n 'PPE item',\n 'requirement type',\n 'قانون PPE خطر',\n 'قوانین PPE خطر',\n 'خطر',\n 'قلم PPE',\n 'تجهیزات حفاظت فردی',\n ],\n formats: {\n individual: RootConfig.entities.hazardPpeRule.title,\n plural: RootConfig.entities.hazardPpeRule.titlePlural,\n searchResult: {\n title: '{{ code }}',\n description: '{{ ppeItem.title }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'hazard-ppe-rule-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n {\n name: 'status',\n options: {\n field: 'status',\n definition: 'workplacesafety-management.status.hazard-ppe-rule',\n order: 1,\n },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.groups.basic-info',\n },\n {\n id: 'configuration',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.groups.configuration',\n },\n {\n id: 'notes',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.groups.notes',\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:hazard-ppe-rules.entities.hazard-ppe-rule.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:hazard-ppe-rules.entities.hazard-ppe-rule.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'hazardId',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.hazard-id.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: `${RootConfig.module.name}.${RootConfig.entities.hazard.name}`,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'hazard.id' },\n { source: 'title', target: 'hazard.title' },\n { source: 'code', target: 'hazard.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'ppeItemId',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.ppe-item-id.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: `${RootConfig.module.name}.${RootConfig.entities.ppeItem.name}`,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'ppeItem.id' },\n { source: 'title', target: 'ppeItem.title' },\n { source: 'code', target: 'ppeItem.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'requirementType',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.requirement-type.title',\n groupId: 'configuration',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [...WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'sortOrder',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.sort-order.title',\n groupId: 'configuration',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.sort-order.placeholder',\n },\n },\n },\n },\n {\n name: 'conditionNote',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.condition-note.title',\n groupId: 'notes',\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: 2,\n placeholder: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.condition-note.placeholder',\n },\n },\n },\n },\n {\n name: 'usageInstruction',\n title: '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.usage-instruction.title',\n groupId: 'notes',\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: 2,\n placeholder:\n '@workplacesafety-management:hazard-ppe-rules.entities.hazard-ppe-rule.fields.usage-instruction.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'ppeItemId', options: { dataPath: 'ppeItem.title', order: 2 } },\n { name: 'requirementType', options: { width: '140px', order: 3 } },\n { name: 'sortOrder', options: { width: '100px', order: 4 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'notes' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'hazardId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'ppeItemId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'requirementType', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'conditionNote', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'usageInstruction', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }, { id: 'notes' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'hazardId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'ppeItemId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'requirementType', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'conditionNote', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'usageInstruction', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ code }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'configuration', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'hazardId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'ppeItemId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'requirementType', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'conditionNote', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'usageInstruction', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }, { name: 'code', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAEA;AACA;AAEA;AAEA,IAAY,+BAIX;AAJD,CAAA,UAAY,+BAA+B,EAAA;AACzC,IAAA,+BAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,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KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1G,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
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';
3
+ import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-C46YEBVd.mjs';
4
4
 
5
5
  //#region ---- Imports ----
6
6
  //#endregion
@@ -43,6 +43,20 @@ async function hazardRegisterEntityFactory() {
43
43
  name: RootConfig.entities.hazardRegister.name,
44
44
  title: RootConfig.entities.hazardRegister.title,
45
45
  icon: RootConfig.entities.hazardRegister.icon,
46
+ searchTags: [
47
+ 'hazard-register',
48
+ 'hazard register',
49
+ 'hazard registration',
50
+ 'workplace hazard log',
51
+ 'asset hazard',
52
+ 'site hazard',
53
+ 'project hazard',
54
+ 'ثبت خطر',
55
+ 'ثبت‌های خطر',
56
+ 'خطر',
57
+ 'زمینه',
58
+ 'ایمنی محیط کار',
59
+ ],
46
60
  formats: {
47
61
  individual: RootConfig.entities.hazardRegister.title,
48
62
  plural: RootConfig.entities.hazardRegister.titlePlural,
@@ -276,4 +290,4 @@ async function hazardRegisterEntityFactory() {
276
290
  //#endregion
277
291
 
278
292
  export { hazardRegisterEntityFactory };
279
- //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs.map
293
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-g4AT_IiT.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/hazard-register/hazard-register.types.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/hazard-register/hazard-register.entity.ts"],"sourcesContent":["import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\n//#endregion\n\n//#region ---- Enums ----\n\nexport enum AXMHazardRegisterContextType {\n Asset = 'asset',\n Site = 'site',\n WorkOrder = 'work-order',\n Project = 'project',\n}\n\n//#endregion\n\n//#region ---- Entity model ----\n\nexport interface AXMWorkplaceSafetyManagementHazardRegisterEntityModel extends AXPEntityModel<string> {\n /** Business code from identifier rule `hazard-register-code` (`HR-{date:YYYY}-{seq:4}`). */\n code: string;\n title: string;\n description?: string;\n /** Hazard category id (`WorkplaceSafetyManagement.HazardCategory`). */\n registerType: string;\n registerTypeCategory?: { id: string; title?: string; code?: string };\n hazardId: string;\n hazard?: { id: string; title?: string; code?: string };\n /** Merged hazard + category metadata field values keyed by field name. */\n metaDataForm?: Record<string, unknown>;\n contextType: AXMHazardRegisterContextType;\n contextId: string;\n}\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\nimport { AXMHazardRegisterContextType } from './hazard-register.types';\n\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 hazardCategoryEntity = `${RootConfig.module.name}.${RootConfig.entities.hazard.name}Category`;\n\nconst contextTypeDataSource = [\n {\n id: AXMHazardRegisterContextType.Asset,\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-type.options.asset',\n },\n {\n id: AXMHazardRegisterContextType.Site,\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-type.options.site',\n },\n {\n id: AXMHazardRegisterContextType.Project,\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-type.options.project',\n },\n];\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function hazardRegisterEntityFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.hazardRegister.name,\n title: RootConfig.entities.hazardRegister.title,\n icon: RootConfig.entities.hazardRegister.icon,\n searchTags: [\n 'hazard-register',\n 'hazard register',\n 'hazard registration',\n 'workplace hazard log',\n 'asset hazard',\n 'site hazard',\n 'project hazard',\n 'ثبت خطر',\n 'ثبت‌های خطر',\n 'خطر',\n 'زمینه',\n 'ایمنی محیط کار',\n ],\n formats: {\n individual: RootConfig.entities.hazardRegister.title,\n plural: RootConfig.entities.hazardRegister.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'hazard-register-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n {\n name: 'meta-data-form',\n options: {\n path: 'hazardId',\n mergeCategoryPath: 'registerType',\n title:\n '@workplacesafety-management:hazard-registers.entities.hazard-register.components.hazard-meta-data-form.title',\n display: {\n section: {\n order: 20,\n },\n },\n },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.groups.basic-info',\n },\n {\n id: 'hazard-link',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.groups.hazard-link',\n },\n {\n id: 'context',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.groups.context',\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:hazard-registers.entities.hazard-register.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:hazard-registers.entities.hazard-register.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.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:hazard-registers.entities.hazard-register.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:hazard-registers.entities.hazard-register.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'registerType',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.register-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: hazardCategoryEntity,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'registerTypeCategory.id' },\n { source: 'title', target: 'registerTypeCategory.title' },\n { source: 'code', target: 'registerTypeCategory.code' },\n ],\n },\n },\n },\n },\n {\n name: 'hazardId',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.hazard-id.title',\n groupId: 'hazard-link',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.hazard.name}`,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'hazard.id' },\n { source: 'title', target: 'hazard.title' },\n { source: 'code', target: 'hazard.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'contextType',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-type.title',\n groupId: 'context',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: contextTypeDataSource,\n },\n },\n },\n },\n {\n name: 'contextId',\n title: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-id.title',\n groupId: 'context',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@workplacesafety-management:hazard-registers.entities.hazard-register.fields.context-id.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '200px', order: 2 } },\n { name: 'hazardId', options: { dataPath: 'hazard.title', order: 4 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'hazard-link' }, { id: 'context' }],\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: 4 } } } },\n { name: 'hazardId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'hazard-link' }, { id: 'context' }],\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: 4 } } } },\n { name: 'hazardId', 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: 'hazard-link', 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: 4 } } } },\n { name: 'hazardId', 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":";;;;AACA;AACA;AAEA;AAEA,IAAY,4BAKX;AALD,CAAA,UAAY,4BAA4B,EAAA;AACtC,IAAA,4BAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,4BAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,4BAAA,CAAA,WAAA,CAAA,GAAA,YAAwB;AACxB,IAAA,4BAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACrB,CAAC,EALW,4BAA4B,KAA5B,4BAA4B,GAAA,EAAA,CAAA,CAAA;AA2BxC;;AC1BA;AAEA;AAEA,MAAM,wBAAwB,GAAG;AAC/B,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;AACvB,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACl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