@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,328 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } 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 ---- GHS symbol options ----
6
+ /** Asset base path for GHS pictograms (served from demo app assets). */
7
+ const GHS_IMAGE_BASE = '/assets/workplacesafety-management/ghs';
8
+ const WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS = [
9
+ {
10
+ id: 'GHS01',
11
+ title: 'GHS01 — Exploding bomb',
12
+ description: 'Explosion, blast or projection hazard.',
13
+ imageUrl: `${GHS_IMAGE_BASE}/explos.gif`,
14
+ },
15
+ {
16
+ id: 'GHS02',
17
+ title: 'GHS02 — Flame',
18
+ description: 'Flammable liquids, solids and gases; including self-reactive substances.',
19
+ imageUrl: `${GHS_IMAGE_BASE}/flamme.gif`,
20
+ },
21
+ {
22
+ id: 'GHS03',
23
+ title: 'GHS03 — Flame over circle',
24
+ description: 'Oxidising liquids, solids and gases; may cause or intensify fire.',
25
+ imageUrl: `${GHS_IMAGE_BASE}/rondflam.gif`,
26
+ },
27
+ {
28
+ id: 'GHS04',
29
+ title: 'GHS04 — Gas cylinder',
30
+ description: 'Gases under pressure.',
31
+ imageUrl: `${GHS_IMAGE_BASE}/bottle.gif`,
32
+ },
33
+ {
34
+ id: 'GHS05',
35
+ title: 'GHS05 — Skull and crossbones',
36
+ description: 'Fatal or toxic if swallowed, inhaled or in contact with skin.',
37
+ imageUrl: `${GHS_IMAGE_BASE}/skull.gif`,
38
+ },
39
+ {
40
+ id: 'GHS06',
41
+ title: 'GHS06 — Exclamation mark',
42
+ description: 'Low level toxicity; irritant or harmful to health.',
43
+ imageUrl: `${GHS_IMAGE_BASE}/exclam.gif`,
44
+ },
45
+ {
46
+ id: 'GHS07',
47
+ title: 'GHS07 — Corrosion',
48
+ description: 'Corrosive chemicals; may cause severe skin and eye damage.',
49
+ imageUrl: `${GHS_IMAGE_BASE}/acid_red.gif`,
50
+ },
51
+ {
52
+ id: 'GHS08',
53
+ title: 'GHS08 — Health hazard',
54
+ description: 'Chronic health hazards; carcinogenicity, mutagenicity, reproductive toxicity.',
55
+ imageUrl: `${GHS_IMAGE_BASE}/silhouete.gif`,
56
+ },
57
+ {
58
+ id: 'GHS09',
59
+ title: 'GHS09 — Environment',
60
+ description: 'Hazardous to aquatic life and the environment.',
61
+ imageUrl: `${GHS_IMAGE_BASE}/Aquatic-pollut-red.gif`,
62
+ },
63
+ ];
64
+ //#endregion
65
+
66
+ //#endregion
67
+ //#region ---- Constants ----
68
+ const listSortAndFilterOptions = {
69
+ sort: { enabled: true },
70
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
71
+ };
72
+ //#endregion
73
+ //#region ---- Entity Factory ----
74
+ async function hazardEntityFactory() {
75
+ const entityDef = {
76
+ module: RootConfig.module.name,
77
+ name: RootConfig.entities.hazard.name,
78
+ title: RootConfig.entities.hazard.title,
79
+ icon: RootConfig.entities.hazard.icon,
80
+ formats: {
81
+ individual: RootConfig.entities.hazard.title,
82
+ plural: RootConfig.entities.hazard.titlePlural,
83
+ searchResult: {
84
+ title: '{{ title }}',
85
+ description: '{{ code }}',
86
+ },
87
+ },
88
+ plugins: [
89
+ { name: 'identifier', options: { field: 'code', rule: 'hazard-code' } },
90
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
91
+ { name: 'archive' },
92
+ { name: 'meta-data-builder', options: { display: 'page', order: 2 } },
93
+ {
94
+ name: 'category',
95
+ options: {
96
+ appearance: { icon: true, color: true },
97
+ },
98
+ },
99
+ {
100
+ name: 'documents',
101
+ options: {
102
+ documentTypeNames: ['SDS'],
103
+ },
104
+ },
105
+ ],
106
+ relatedEntities: [
107
+ {
108
+ entity: `${RootConfig.module.name}.${RootConfig.entities.hazardRisk.name}`,
109
+ title: RootConfig.entities.hazardRisk.titlePlural,
110
+ icon: RootConfig.entities.hazardRisk.icon,
111
+ conditions: [entityDetailsSimpleCondition('hazardId')],
112
+ excludeProperties: ['hazardId'],
113
+ columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }, { name: 'riskMatrixId' }, { name: 'defaultInitialRiskRatingId' }, { name: 'defaultResidualRiskRatingId' }],
114
+ actions: [...entityDetailsCrudActions('hazardId')],
115
+ layout: { type: 'page-list', position: 'after', order: 11 },
116
+ },
117
+ {
118
+ entity: `${RootConfig.module.name}.${RootConfig.entities.hazardPpeRule.name}`,
119
+ title: RootConfig.entities.hazardPpeRule.titlePlural,
120
+ icon: RootConfig.entities.hazardPpeRule.icon,
121
+ conditions: [entityDetailsSimpleCondition('hazardId')],
122
+ excludeProperties: ['hazardId'],
123
+ columns: [{ name: 'code' }, { name: 'ppeItemId' }, { name: 'requirementType' }, { name: 'usageInstruction' }, { name: 'sortOrder' }],
124
+ actions: [...entityDetailsCrudActions('hazardId')],
125
+ layout: { type: 'page-list', position: 'after', order: 12 },
126
+ },
127
+ ],
128
+ groups: [
129
+ {
130
+ id: 'basic-info',
131
+ title: '@workplacesafety-management:hazards.entities.hazard.groups.basic-info',
132
+ },
133
+ {
134
+ id: 'assessment-compliance',
135
+ title: '@workplacesafety-management:hazards.entities.hazard.groups.assessment-compliance',
136
+ },
137
+ {
138
+ id: 'chemical-compliance',
139
+ title: '@workplacesafety-management:hazards.entities.hazard.groups.chemical-compliance',
140
+ },
141
+ ],
142
+ properties: [
143
+ {
144
+ name: 'id',
145
+ title: '@general:terms.common.id',
146
+ groupId: 'basic-info',
147
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
148
+ },
149
+ {
150
+ name: 'code',
151
+ title: '@workplacesafety-management:hazards.entities.hazard.fields.code.title',
152
+ groupId: 'basic-info',
153
+ options: listSortAndFilterOptions,
154
+ schema: {
155
+ dataType: 'string',
156
+ unique: { enabled: true },
157
+ interface: {
158
+ type: AXPWidgetsList.Editors.TextBox,
159
+ options: {
160
+ disabled: true,
161
+ placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.code.placeholder',
162
+ },
163
+ },
164
+ },
165
+ validations: [{ rule: 'required' }],
166
+ },
167
+ {
168
+ name: 'title',
169
+ title: '@workplacesafety-management:hazards.entities.hazard.fields.title.title',
170
+ groupId: 'basic-info',
171
+ options: listSortAndFilterOptions,
172
+ schema: {
173
+ dataType: 'string',
174
+ interface: {
175
+ type: AXPWidgetsList.Editors.TextBox,
176
+ options: {
177
+ placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.title.placeholder',
178
+ },
179
+ },
180
+ },
181
+ validations: [{ rule: 'required' }],
182
+ },
183
+ {
184
+ name: 'description',
185
+ title: '@general:terms.common.description',
186
+ groupId: 'basic-info',
187
+ options: {
188
+ sort: { enabled: false },
189
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
190
+ },
191
+ schema: {
192
+ dataType: 'string',
193
+ interface: {
194
+ type: AXPWidgetsList.Editors.LargeTextBox,
195
+ options: {
196
+ rows: 3,
197
+ placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.description.placeholder',
198
+ },
199
+ },
200
+ },
201
+ },
202
+ {
203
+ name: 'templateId',
204
+ title: '@workplacesafety-management:hazards.entities.hazard.fields.template-id.title',
205
+ groupId: 'assessment-compliance',
206
+ options: listSortAndFilterOptions,
207
+ schema: {
208
+ dataType: 'string',
209
+ nullable: true,
210
+ interface: {
211
+ type: AXPWidgetsList.Editors.LookupBox,
212
+ options: {
213
+ look: 'select',
214
+ entity: 'AssessmentManagement.Questionnaire',
215
+ textField: 'title',
216
+ valueField: 'id',
217
+ columns: ['code', 'title'],
218
+ expose: [
219
+ { source: 'id', target: 'template.id' },
220
+ { source: 'title', target: 'template.title' },
221
+ ],
222
+ },
223
+ },
224
+ },
225
+ },
226
+ {
227
+ name: 'safetyDataSheetAvailable',
228
+ title: '@workplacesafety-management:hazards.entities.hazard.fields.safety-data-sheet-available.title',
229
+ groupId: 'chemical-compliance',
230
+ options: {
231
+ sort: { enabled: true },
232
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
233
+ },
234
+ schema: {
235
+ dataType: 'boolean',
236
+ nullable: true,
237
+ interface: {
238
+ type: AXPWidgetsList.Editors.ToggleSwitch,
239
+ },
240
+ },
241
+ },
242
+ {
243
+ name: 'ghsIds',
244
+ title: '@workplacesafety-management:hazards.entities.hazard.fields.ghs-ids.title',
245
+ groupId: 'chemical-compliance',
246
+ options: {
247
+ sort: { enabled: false },
248
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
249
+ },
250
+ schema: {
251
+ dataType: 'array',
252
+ nullable: true,
253
+ interface: {
254
+ type: AXPWidgetsList.Editors.SelectionList,
255
+ options: {
256
+ multiple: true,
257
+ direction: { id: 'horizontal' },
258
+ imageMode: true,
259
+ showControl: true,
260
+ valueField: 'id',
261
+ textField: 'title',
262
+ imageField: 'imageUrl',
263
+ dataSource: [...WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS],
264
+ },
265
+ },
266
+ },
267
+ },
268
+ ],
269
+ columns: [
270
+ { name: 'code', options: { width: '140px', order: 1 } },
271
+ { name: 'title', options: { width: '220px', order: 2 } },
272
+ { name: 'safetyDataSheetAvailable', options: { width: '160px', order: 3 } },
273
+ { name: 'templateId', options: { dataPath: 'template.title', order: 4 } },
274
+ ],
275
+ interfaces: {
276
+ master: {
277
+ create: {
278
+ sections: [{ id: 'basic-info' }, { id: 'chemical-compliance' }, { id: 'assessment-compliance' }],
279
+ properties: [
280
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
281
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
282
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
283
+ { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
284
+ { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
285
+ { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
286
+ ],
287
+ },
288
+ update: {
289
+ sections: [{ id: 'basic-info' }, { id: 'chemical-compliance' }, { id: 'assessment-compliance' }],
290
+ properties: [
291
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
292
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
293
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
294
+ { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
295
+ { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
296
+ { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
297
+ ],
298
+ },
299
+ single: {
300
+ title: '{{ title }}',
301
+ sections: [
302
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
303
+ { id: 'assessment-compliance', layout: { positions: { lg: { colSpan: 12 } } } },
304
+ { id: 'chemical-compliance', layout: { positions: { lg: { colSpan: 12 } } } },
305
+ ],
306
+ properties: [
307
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
308
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
309
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
310
+ { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
311
+ { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
312
+ { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
313
+ ],
314
+ actions: [...entityMasterRecordActions()],
315
+ },
316
+ list: {
317
+ actions: [...entityMasterCrudActions()],
318
+ views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
319
+ },
320
+ },
321
+ },
322
+ };
323
+ return entityDef;
324
+ }
325
+ //#endregion
326
+
327
+ export { hazardEntityFactory };
328
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/ghs-symbol-options.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/hazard/hazard.entity.ts"],"sourcesContent":["//#region ---- GHS symbol options ----\n\n/** Asset base path for GHS pictograms (served from demo app assets). */\nconst GHS_IMAGE_BASE = '/assets/workplacesafety-management/ghs';\n\nexport const WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS = [\n {\n id: 'GHS01',\n title: 'GHS01 — Exploding bomb',\n description: 'Explosion, blast or projection hazard.',\n imageUrl: `${GHS_IMAGE_BASE}/explos.gif`,\n },\n {\n id: 'GHS02',\n title: 'GHS02 — Flame',\n description: 'Flammable liquids, solids and gases; including self-reactive substances.',\n imageUrl: `${GHS_IMAGE_BASE}/flamme.gif`,\n },\n {\n id: 'GHS03',\n title: 'GHS03 — Flame over circle',\n description: 'Oxidising liquids, solids and gases; may cause or intensify fire.',\n imageUrl: `${GHS_IMAGE_BASE}/rondflam.gif`,\n },\n {\n id: 'GHS04',\n title: 'GHS04 — Gas cylinder',\n description: 'Gases under pressure.',\n imageUrl: `${GHS_IMAGE_BASE}/bottle.gif`,\n },\n {\n id: 'GHS05',\n title: 'GHS05 — Skull and crossbones',\n description: 'Fatal or toxic if swallowed, inhaled or in contact with skin.',\n imageUrl: `${GHS_IMAGE_BASE}/skull.gif`,\n },\n {\n id: 'GHS06',\n title: 'GHS06 — Exclamation mark',\n description: 'Low level toxicity; irritant or harmful to health.',\n imageUrl: `${GHS_IMAGE_BASE}/exclam.gif`,\n },\n {\n id: 'GHS07',\n title: 'GHS07 — Corrosion',\n description: 'Corrosive chemicals; may cause severe skin and eye damage.',\n imageUrl: `${GHS_IMAGE_BASE}/acid_red.gif`,\n },\n {\n id: 'GHS08',\n title: 'GHS08 — Health hazard',\n description: 'Chronic health hazards; carcinogenicity, mutagenicity, reproductive toxicity.',\n imageUrl: `${GHS_IMAGE_BASE}/silhouete.gif`,\n },\n {\n id: 'GHS09',\n title: 'GHS09 — Environment',\n description: 'Hazardous to aquatic life and the environment.',\n imageUrl: `${GHS_IMAGE_BASE}/Aquatic-pollut-red.gif`,\n },\n] as const;\n\nexport type WorkplaceSafetyGhsSymbolId = (typeof WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS)[number]['id'];\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS } from '../../ghs-symbol-options';\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 hazardEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.hazard.name,\n title: RootConfig.entities.hazard.title,\n icon: RootConfig.entities.hazard.icon,\n formats: {\n individual: RootConfig.entities.hazard.title,\n plural: RootConfig.entities.hazard.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'hazard-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { name: 'meta-data-builder', options: { display: 'page', order: 2 } },\n {\n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n },\n },\n {\n name: 'documents',\n options: {\n documentTypeNames: ['SDS'],\n },\n },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.hazardRisk.name}`,\n title: RootConfig.entities.hazardRisk.titlePlural,\n icon: RootConfig.entities.hazardRisk.icon,\n conditions: [entityDetailsSimpleCondition('hazardId')],\n excludeProperties: ['hazardId'],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }, { name: 'riskMatrixId' }, { name: 'defaultInitialRiskRatingId' }, { name: 'defaultResidualRiskRatingId' }],\n actions: [...entityDetailsCrudActions('hazardId')],\n layout: { type: 'page-list', position: 'after', order: 11 },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.hazardPpeRule.name}`,\n title: RootConfig.entities.hazardPpeRule.titlePlural,\n icon: RootConfig.entities.hazardPpeRule.icon,\n conditions: [entityDetailsSimpleCondition('hazardId')],\n excludeProperties: ['hazardId'],\n columns: [{ name: 'code' }, { name: 'ppeItemId' }, { name: 'requirementType' }, { name: 'usageInstruction' }, { name: 'sortOrder' }],\n actions: [...entityDetailsCrudActions('hazardId')],\n layout: { type: 'page-list', position: 'after', order: 12 },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.basic-info',\n },\n {\n id: 'assessment-compliance',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.assessment-compliance',\n },\n {\n id: 'chemical-compliance',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.chemical-compliance',\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:hazards.entities.hazard.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:hazards.entities.hazard.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:hazards.entities.hazard.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:hazards.entities.hazard.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 interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'templateId',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.template-id.title',\n groupId: 'assessment-compliance',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: 'AssessmentManagement.Questionnaire',\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'template.id' },\n { source: 'title', target: 'template.title' },\n ],\n },\n },\n },\n },\n {\n name: 'safetyDataSheetAvailable',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.safety-data-sheet-available.title',\n groupId: 'chemical-compliance',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'boolean',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n },\n },\n {\n name: 'ghsIds',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.ghs-ids.title',\n groupId: 'chemical-compliance',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectionList,\n options: {\n multiple: true,\n direction: { id: 'horizontal' },\n imageMode: true,\n showControl: true,\n valueField: 'id',\n textField: 'title',\n imageField: 'imageUrl',\n dataSource: [...WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'safetyDataSheetAvailable', options: { width: '160px', order: 3 } },\n { name: 'templateId', options: { dataPath: 'template.title', order: 4 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'chemical-compliance' }, { id: 'assessment-compliance' }],\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 { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'chemical-compliance' }, { id: 'assessment-compliance' }],\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 { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'assessment-compliance', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'chemical-compliance', 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 { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\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;AAEA;AACA,MAAM,cAAc,GAAG,wCAAwC;AAExD,MAAM,mCAAmC,GAAG;AACjD,IAAA;AACE,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,KAAK,EAAE,wBAAwB;AAC/B,QAAA,WAAW,EAAE,wCAAwC;QACrD,QAAQ,EAAE,CAAA,EAAG,cAAc,CAAA,WAAA,CAAa;AACzC,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,KAAK,EAAE,eAAe;AACtB,QAAA,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE,CAAA,EAAG,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,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;;"}
@@ -0,0 +1,208 @@
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
+ //#endregion
6
+ //#region ---- Constants ----
7
+ const listSortAndFilterOptions = {
8
+ sort: { enabled: true },
9
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
10
+ };
11
+ //#endregion
12
+ //#region ---- Entity factory ----
13
+ async function ppeItemEntityFactory() {
14
+ const entityDef = {
15
+ module: RootConfig.module.name,
16
+ name: RootConfig.entities.ppeItem.name,
17
+ title: RootConfig.entities.ppeItem.title,
18
+ icon: RootConfig.entities.ppeItem.icon,
19
+ formats: {
20
+ individual: RootConfig.entities.ppeItem.title,
21
+ plural: RootConfig.entities.ppeItem.titlePlural,
22
+ searchResult: {
23
+ title: '{{ title }}',
24
+ description: '{{ code }}',
25
+ },
26
+ },
27
+ plugins: [
28
+ { name: 'identifier', options: { field: 'code', rule: 'ppe-item-code' } },
29
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
30
+ { name: 'archive' },
31
+ {
32
+ name: 'category',
33
+ options: {
34
+ appearance: { icon: true, color: true },
35
+ },
36
+ },
37
+ ],
38
+ groups: [
39
+ {
40
+ id: 'basic-info',
41
+ title: '@workplacesafety-management:ppe-items.entities.ppe-item.groups.basic-info',
42
+ },
43
+ {
44
+ id: 'appearance',
45
+ title: '@general:terms.interface.appearance',
46
+ },
47
+ ],
48
+ properties: [
49
+ {
50
+ name: 'id',
51
+ title: '@general:terms.common.id',
52
+ groupId: 'basic-info',
53
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
54
+ },
55
+ {
56
+ name: 'code',
57
+ title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.title',
58
+ groupId: 'basic-info',
59
+ options: listSortAndFilterOptions,
60
+ schema: {
61
+ dataType: 'string',
62
+ unique: { enabled: true },
63
+ interface: {
64
+ type: AXPWidgetsList.Editors.TextBox,
65
+ options: {
66
+ disabled: true,
67
+ placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.placeholder',
68
+ },
69
+ },
70
+ },
71
+ validations: [{ rule: 'required' }],
72
+ },
73
+ {
74
+ name: 'title',
75
+ title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.title',
76
+ groupId: 'basic-info',
77
+ options: listSortAndFilterOptions,
78
+ schema: {
79
+ dataType: 'string',
80
+ interface: {
81
+ type: AXPWidgetsList.Editors.TextBox,
82
+ options: {
83
+ placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.placeholder',
84
+ },
85
+ },
86
+ },
87
+ validations: [{ rule: 'required' }],
88
+ },
89
+ {
90
+ name: 'serialNumber',
91
+ title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.title',
92
+ groupId: 'basic-info',
93
+ options: listSortAndFilterOptions,
94
+ schema: {
95
+ dataType: 'string',
96
+ nullable: true,
97
+ interface: {
98
+ type: AXPWidgetsList.Editors.TextBox,
99
+ options: {
100
+ placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.placeholder',
101
+ },
102
+ },
103
+ },
104
+ },
105
+ {
106
+ name: 'description',
107
+ title: '@general:terms.common.description',
108
+ groupId: 'basic-info',
109
+ options: {
110
+ sort: { enabled: false },
111
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
112
+ },
113
+ schema: {
114
+ dataType: 'string',
115
+ nullable: true,
116
+ interface: {
117
+ type: AXPWidgetsList.Editors.LargeTextBox,
118
+ options: {
119
+ rows: 3,
120
+ placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.description.placeholder',
121
+ },
122
+ },
123
+ },
124
+ },
125
+ {
126
+ name: 'icon',
127
+ title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.icon.title',
128
+ groupId: 'appearance',
129
+ options: {
130
+ sort: { enabled: true },
131
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
132
+ },
133
+ schema: {
134
+ dataType: 'string',
135
+ nullable: true,
136
+ interface: {
137
+ type: AXPWidgetsList.Advanced.Image,
138
+ options: {
139
+ width: '100%',
140
+ aspectRatio: '1',
141
+ objectFit: 'contain',
142
+ borderRadius: '8px',
143
+ },
144
+ },
145
+ },
146
+ },
147
+ ],
148
+ columns: [
149
+ { name: 'code', options: { width: '140px', order: 1 } },
150
+ { name: 'title', options: { width: '220px', order: 2 } },
151
+ { name: 'serialNumber', options: { width: '140px', order: 3 } },
152
+ ],
153
+ interfaces: {
154
+ master: {
155
+ create: {
156
+ sections: [
157
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
158
+ { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
159
+ ],
160
+ properties: [
161
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
162
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
163
+ { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
164
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
165
+ { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
166
+ ],
167
+ },
168
+ update: {
169
+ sections: [
170
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
171
+ { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
172
+ ],
173
+ properties: [
174
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
175
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
176
+ { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
177
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
178
+ { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
179
+ ],
180
+ },
181
+ single: {
182
+ title: '{{ title }}',
183
+ sections: [
184
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
185
+ { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
186
+ ],
187
+ properties: [
188
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
189
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
190
+ { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
191
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
192
+ { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
193
+ ],
194
+ actions: [...entityMasterRecordActions()],
195
+ },
196
+ list: {
197
+ actions: [...entityMasterCrudActions()],
198
+ views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
199
+ },
200
+ },
201
+ },
202
+ };
203
+ return entityDef;
204
+ }
205
+ //#endregion
206
+
207
+ export { ppeItemEntityFactory };
208
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/ppe-item/ppe-item.entity.ts"],"sourcesContent":["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';\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 ppeItemEntityFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.ppeItem.name,\n title: RootConfig.entities.ppeItem.title,\n icon: RootConfig.entities.ppeItem.icon,\n formats: {\n individual: RootConfig.entities.ppeItem.title,\n plural: RootConfig.entities.ppeItem.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'ppe-item-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { \n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n },\n }, \n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.groups.basic-info',\n },\n {\n id: 'appearance',\n title: '@general:terms.interface.appearance',\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:ppe-items.entities.ppe-item.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:ppe-items.entities.ppe-item.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.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:ppe-items.entities.ppe-item.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'serialNumber',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.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: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.placeholder',\n },\n },\n },\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: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'icon',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.icon.title',\n groupId: 'appearance',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n width: '100%',\n aspectRatio: '1',\n objectFit: 'contain',\n borderRadius: '8px',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'serialNumber', options: { width: '140px', order: 3 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\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: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\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: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\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: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\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":";;;;AAKA;AAEA;AAEA,MAAM,wBAAwB,GAAG;AAC/B,IAAA,IAAI,E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