@acorex-platform/module-workplacesafety-management-client 0.0.38 → 0.0.48

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 (127) 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-C2CZZwOj.mjs} +104 -33
  2. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C2CZZwOj.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-D_LE40Xc.mjs} +130 -398
  77. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-D_LE40Xc.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-show-job-doc-setup.command-UlWyzIXQ.mjs +341 -0
  93. package/fesm2022/acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-UlWyzIXQ.mjs.map +1 -0
  94. package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
  95. package/package.json +6 -6
  96. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.d.ts +5 -0
  97. package/types/acorex-platform-module-workplacesafety-management-client-contracts.d.ts +133 -157
  98. package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs.map +0 -1
  99. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +0 -542
  100. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +0 -1
  101. 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
  102. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-COlCNnyK.mjs.map +0 -1
  103. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-BrXGzqZU.mjs.map +0 -1
  104. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-DHJus7OP.mjs.map +0 -1
  105. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-CogjoDox.mjs.map +0 -1
  106. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-9UWHmIXV.mjs.map +0 -1
  107. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-CNPbxULL.mjs.map +0 -1
  108. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-D5iOBl3P.mjs.map +0 -1
  109. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-TdIMIkM7.mjs.map +0 -1
  110. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-BGZ1VAW3.mjs.map +0 -1
  111. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-B6NYL4xi.mjs.map +0 -1
  112. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs +0 -405
  113. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-BlCbf5qP.mjs.map +0 -1
  114. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-BSUR9jqs.mjs.map +0 -1
  115. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-CIHy_hLh.mjs.map +0 -1
  116. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-Cs4nIHou.mjs.map +0 -1
  117. package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-CJFWDOoh.mjs.map +0 -1
  118. package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-gbDgxqrV.mjs.map +0 -1
  119. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs +0 -254
  120. package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-safety-plan.command-BU95c4xb.mjs.map +0 -1
  121. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-CQ2xB7Va.mjs.map +0 -1
  122. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs +0 -36
  123. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview.service-DJP41MuL.mjs.map +0 -1
  124. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs +0 -204
  125. package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-section-builder.types-LaN1NIgc.mjs.map +0 -1
  126. package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-CLj3y_JD.mjs.map +0 -1
  127. package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +0 -5
@@ -0,0 +1,341 @@
1
+ import { AXPDialogRendererComponent } from '@acorex-platform/framework-client/layout/builder';
2
+ import { AXMFormTemplateTypes } from '@acorex-platform/module-assessment-management-client/contracts';
3
+ import { AXPopupService } from '@acorex/components/popup';
4
+ import * as i0 from '@angular/core';
5
+ import { inject, Injectable } from '@angular/core';
6
+
7
+ //#region ----- Imports -----
8
+ //#endregion
9
+ //#region ----- Constants -----
10
+ /** Frontend workflow activity. Layout is built here so dialog expressions are not pre-evaluated. */
11
+ const SHOW_JOB_DOC_SETUP_COMMAND_KEY = 'WorkplaceSafetyManagement.JobDoc:ShowSetup';
12
+ const I18N = '@workplacesafety-management:job-doc';
13
+ const REQUIRED = [{ rule: 'required', message: '@general:validation.messages.required' }];
14
+ const IMPOSSIBLE_PARTY_ID = '00000000-0000-0000-0000-000000000000';
15
+ const PROJECT_ENTITY = 'ProjectManagement.Project';
16
+ const key = (suffix) => `${I18N}.${suffix}`;
17
+ //#endregion
18
+ //#region ----- Layout -----
19
+ function field(label, child, extra, visible) {
20
+ return {
21
+ type: 'form-field',
22
+ ...(visible ? { visible } : {}),
23
+ options: {
24
+ label,
25
+ showLabel: true,
26
+ ...(visible ? { visible } : {}),
27
+ ...extra,
28
+ },
29
+ children: [child],
30
+ };
31
+ }
32
+ function gridItem(child, visible) {
33
+ return {
34
+ type: 'grid-item-layout',
35
+ ...(visible ? { visible } : {}),
36
+ options: {
37
+ colSpan: 12,
38
+ ...(visible ? { visible } : {}),
39
+ },
40
+ children: [child],
41
+ };
42
+ }
43
+ function lookup(path, options) {
44
+ return {
45
+ type: 'lookup-editor',
46
+ path,
47
+ name: path,
48
+ options,
49
+ };
50
+ }
51
+ /** Same shape as entity-form visibility, for example `{{ context.eval("hasAttachments") }}`. */
52
+ function sourceIs(source) {
53
+ return `{{ context.eval("contentSource") == "${source}" }}`;
54
+ }
55
+ function buildJobDocSetupLayout() {
56
+ return {
57
+ type: 'grid-layout',
58
+ mode: 'edit',
59
+ options: {
60
+ grid: {
61
+ default: {
62
+ columns: 'repeat(12, 1fr)',
63
+ rows: 'repeat(9, auto)',
64
+ gap: '20px',
65
+ },
66
+ },
67
+ },
68
+ children: [
69
+ gridItem(field(key('setup.source'), {
70
+ type: 'selection-list-editor',
71
+ path: 'contentSource',
72
+ name: 'contentSource',
73
+ options: {
74
+ multiple: false,
75
+ direction: { id: 'horizontal' },
76
+ valueField: 'id',
77
+ textField: 'title',
78
+ dataSource: [
79
+ { id: 'questionnaire', title: key('setup.sources.questionnaire') },
80
+ { id: 'form', title: key('setup.sources.form') },
81
+ ],
82
+ validations: REQUIRED,
83
+ },
84
+ triggers: [
85
+ {
86
+ event: "{{ events.context('contentSource') }}",
87
+ action: "{{ context.set('questionnaireId', context.eval('contentSource') == 'questionnaire' ? context.eval('questionnaireId') : null); context.set('templateId', context.eval('contentSource') == 'form' ? context.eval('templateId') : null); }}",
88
+ },
89
+ ],
90
+ })),
91
+ gridItem(field(key('setup.questionnaire'), lookup('questionnaireId', {
92
+ entity: 'AssessmentManagement.Questionnaire',
93
+ textField: 'title',
94
+ valueField: 'id',
95
+ look: 'select',
96
+ expose: [{ source: 'id', target: 'questionnaireId' }],
97
+ validations: REQUIRED,
98
+ }), undefined, sourceIs('questionnaire')), sourceIs('questionnaire')),
99
+ gridItem(field(key('setup.form'), lookup('templateId', {
100
+ entity: 'AssessmentManagement.Template',
101
+ textField: 'title',
102
+ valueField: 'id',
103
+ look: 'select',
104
+ expose: [
105
+ { source: 'id', target: 'templateId' },
106
+ { source: 'title', target: 'templateTitle' },
107
+ ],
108
+ filter: {
109
+ logic: 'and',
110
+ filters: [
111
+ {
112
+ field: 'type.id',
113
+ operator: { type: 'equal' },
114
+ value: AXMFormTemplateTypes.Form.id,
115
+ },
116
+ ],
117
+ },
118
+ validations: REQUIRED,
119
+ }), undefined, sourceIs('form')), sourceIs('form')),
120
+ gridItem(field(key('setup.assignee'), lookup('assigneeUserId', {
121
+ entity: 'SecurityManagement.User',
122
+ textField: 'displayName',
123
+ valueField: 'id',
124
+ look: 'select',
125
+ columns: ['displayName', 'username'],
126
+ expose: [
127
+ { source: 'id', target: 'assigneeUserId' },
128
+ { source: 'displayName', target: 'assigneeUser.displayName' },
129
+ ],
130
+ validations: REQUIRED,
131
+ }))),
132
+ gridItem(field(key('setup.sign-offs'), lookup('signOffUserIds', {
133
+ entity: 'SecurityManagement.User',
134
+ textField: 'displayName',
135
+ valueField: 'id',
136
+ look: 'select',
137
+ multiple: true,
138
+ allowClear: true,
139
+ columns: ['displayName', 'username'],
140
+ expose: [{ source: 'id', target: 'signOffUserIds' }],
141
+ }), { description: key('setup.sign-off-help') })),
142
+ gridItem(field(key('setup.project'), lookup('projectId', {
143
+ entity: PROJECT_ENTITY,
144
+ textField: 'title',
145
+ valueField: 'id',
146
+ look: 'select',
147
+ columns: [
148
+ 'code',
149
+ 'title',
150
+ { name: 'customerId', visible: false },
151
+ { name: 'contactAssignmentId', visible: false },
152
+ { name: 'locationAssignmentId', visible: false },
153
+ ],
154
+ expose: [
155
+ { source: 'id', target: 'projectId' },
156
+ { source: 'title', target: 'projectTitle' },
157
+ { source: 'customerId', target: 'customerId' },
158
+ { source: 'customer.partyId', target: 'customer.partyId' },
159
+ { source: 'contactAssignmentId', target: 'projectContactAssignmentId' },
160
+ { source: 'locationAssignmentId', target: 'projectLocationAssignmentId' },
161
+ ],
162
+ validations: REQUIRED,
163
+ }))),
164
+ gridItem(field(key('setup.customer'), lookup('customerId', {
165
+ entity: 'CustomerManagement.Customer',
166
+ textField: 'party.title',
167
+ valueField: 'id',
168
+ look: 'select',
169
+ columns: ['party.code', 'party.title', { name: 'partyId', visible: false }],
170
+ expose: [
171
+ { source: 'id', target: 'customer.id' },
172
+ { source: 'party.title', target: 'customer.title' },
173
+ { source: 'partyId', target: 'customer.partyId' },
174
+ ],
175
+ }))),
176
+ gridItem(field(key('setup.contact'), {
177
+ ...lookup('contactAssignmentId', {
178
+ entity: 'PersonCore.ContactAssignment',
179
+ textField: 'person.fullName',
180
+ valueField: 'id',
181
+ look: 'select',
182
+ disabled: '{{ !context.eval("customerId") }}',
183
+ columns: ['person.fullName', 'role.title'],
184
+ expose: [
185
+ { source: 'id', target: 'contactAssignment.id' },
186
+ { source: 'person.fullName', target: 'contactAssignment.person.fullName' },
187
+ ],
188
+ filter: {
189
+ logic: 'and',
190
+ filters: [
191
+ {
192
+ field: 'partyId',
193
+ operator: { type: 'equal' },
194
+ value: `{{ context.eval("customer.partyId") || "${IMPOSSIBLE_PARTY_ID}" }}`,
195
+ },
196
+ ],
197
+ },
198
+ }),
199
+ triggers: [
200
+ {
201
+ event: "{{ events.context('customerId') }}",
202
+ action: "{{ widget.setValue(null); context.set('contactAssignmentId', null); context.set('contactAssignment', null); widget.refresh(); }}",
203
+ },
204
+ {
205
+ event: "{{ events.context('customer.partyId') }}",
206
+ action: '{{ widget.refresh(); }}',
207
+ },
208
+ {
209
+ event: "{{ events.context('projectContactAssignmentId') }}",
210
+ action: "{{ setTimeout(() => { widget.setValue(context.eval('projectContactAssignmentId')); context.set('contactAssignmentId', context.eval('projectContactAssignmentId')); widget.refresh(); }, 0); }}",
211
+ },
212
+ ],
213
+ })),
214
+ gridItem(field(key('setup.location'), {
215
+ ...lookup('locationAssignmentId', {
216
+ entity: 'LocationManagement.LocationAssignment',
217
+ textField: 'location.title',
218
+ valueField: 'id',
219
+ look: 'select',
220
+ disabled: '{{ !context.eval("customerId") }}',
221
+ columns: ['location.title', 'role.title', 'location.street1', 'location.city.title'],
222
+ expose: [
223
+ { source: 'id', target: 'locationAssignment.id' },
224
+ { source: 'location.title', target: 'locationAssignment.title' },
225
+ ],
226
+ filter: {
227
+ logic: 'and',
228
+ filters: [
229
+ {
230
+ field: 'ownerRef.type',
231
+ operator: { type: 'equal' },
232
+ value: 'CustomerManagement.Customer',
233
+ },
234
+ {
235
+ field: 'ownerRef.id',
236
+ operator: { type: 'equal' },
237
+ value: '{{ context.eval("customerId") }}',
238
+ },
239
+ ],
240
+ },
241
+ }),
242
+ triggers: [
243
+ {
244
+ event: "{{ events.context('customerId') }}",
245
+ action: "{{ widget.setValue(null); context.set('locationAssignmentId', null); context.set('locationAssignment', null); widget.refresh(); }}",
246
+ },
247
+ {
248
+ event: "{{ events.context('projectLocationAssignmentId') }}",
249
+ action: "{{ setTimeout(() => { widget.setValue(context.eval('projectLocationAssignmentId')); context.set('locationAssignmentId', context.eval('projectLocationAssignmentId')); widget.refresh(); }, 0); }}",
250
+ },
251
+ ],
252
+ })),
253
+ ],
254
+ };
255
+ }
256
+ const setupActions = {
257
+ prefix: [],
258
+ suffix: [
259
+ {
260
+ title: '@general:actions.cancel.title',
261
+ icon: 'fa-times',
262
+ color: 'default',
263
+ command: { name: 'cancel' },
264
+ },
265
+ {
266
+ title: '@general:actions.submit.title',
267
+ icon: 'fa-check',
268
+ color: 'primary',
269
+ command: { name: 'submit', options: { validate: true } },
270
+ },
271
+ ],
272
+ };
273
+ //#endregion
274
+ //#region ----- Command -----
275
+ class AXMShowJobDocSetupCommand {
276
+ constructor() {
277
+ //#region ----- Services & Dependencies -----
278
+ this.popupService = inject(AXPopupService);
279
+ }
280
+ //#endregion
281
+ //#region ----- Command -----
282
+ async execute() {
283
+ const dialogConfig = {
284
+ title: key('setup.title'),
285
+ context: { contentSource: 'questionnaire' },
286
+ definition: buildJobDocSetupLayout(),
287
+ actions: {
288
+ footer: {
289
+ prefix: setupActions.prefix,
290
+ suffix: setupActions.suffix,
291
+ },
292
+ },
293
+ };
294
+ const dialogResult = await new Promise((resolve) => {
295
+ this.popupService.open(AXPDialogRendererComponent, {
296
+ title: dialogConfig.title,
297
+ size: 'md',
298
+ closeButton: true,
299
+ closeOnBackdropClick: false,
300
+ draggable: true,
301
+ data: {
302
+ config: dialogConfig,
303
+ callBack: (result) => {
304
+ if (typeof result?.close === 'function') {
305
+ result.close();
306
+ }
307
+ const actionName = result?.action?.();
308
+ resolve({
309
+ context: result?.context?.() ?? dialogConfig.context,
310
+ action: typeof actionName === 'string' && actionName.length > 0 ? actionName : 'cancel',
311
+ });
312
+ },
313
+ },
314
+ });
315
+ });
316
+ const data = (dialogResult?.context ?? {});
317
+ const rawAction = dialogResult?.action;
318
+ let action = 'cancel';
319
+ if (typeof rawAction === 'string' && rawAction.length > 0) {
320
+ action = rawAction;
321
+ }
322
+ else if (rawAction && typeof rawAction === 'object' && 'name' in rawAction) {
323
+ const name = rawAction.name;
324
+ action = name && name.length > 0 ? name : 'cancel';
325
+ }
326
+ return {
327
+ success: true,
328
+ kind: 'object',
329
+ data,
330
+ metadata: { outcome: action },
331
+ };
332
+ }
333
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMShowJobDocSetupCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
334
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMShowJobDocSetupCommand }); }
335
+ }
336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMShowJobDocSetupCommand, decorators: [{
337
+ type: Injectable
338
+ }] });
339
+
340
+ export { AXMShowJobDocSetupCommand, SHOW_JOB_DOC_SETUP_COMMAND_KEY };
341
+ //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-UlWyzIXQ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workplacesafety-management-client-show-job-doc-setup.command-UlWyzIXQ.mjs","sources":["../../../../libs/modules/workplacesafety-management/client/src/lib/features/job-doc/show-job-doc-setup.command.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport {\n AXPDialogRendererComponent,\n type DialogRendererConfig,\n type DialogRendererResult,\n} from '@acorex-platform/framework-client/layout/builder';\nimport type { AXPActionMenuItem, AXPWidgetNode } from '@acorex-platform/framework-shared/core';\nimport type { AXPCommand, AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { AXMFormTemplateTypes } from '@acorex-platform/module-assessment-management-client/contracts';\nimport { AXPopupService } from '@acorex/components/popup';\nimport { Injectable, inject } from '@angular/core';\n\n//#endregion\n\n//#region ----- Constants -----\n\n/** Frontend workflow activity. Layout is built here so dialog expressions are not pre-evaluated. */\nexport const SHOW_JOB_DOC_SETUP_COMMAND_KEY = 'WorkplaceSafetyManagement.JobDoc:ShowSetup';\n\nconst I18N = '@workplacesafety-management:job-doc';\nconst REQUIRED = [{ rule: 'required', message: '@general:validation.messages.required' }];\nconst IMPOSSIBLE_PARTY_ID = '00000000-0000-0000-0000-000000000000';\nconst PROJECT_ENTITY = 'ProjectManagement.Project';\n\nconst key = (suffix: string): string => `${I18N}.${suffix}`;\n\n//#endregion\n\n//#region ----- Layout -----\n\nfunction field(\n label: string,\n child: AXPWidgetNode,\n extra?: AXPWidgetNode['options'],\n visible?: string,\n): AXPWidgetNode {\n return {\n type: 'form-field',\n ...(visible ? { visible } : {}),\n options: {\n label,\n showLabel: true,\n ...(visible ? { visible } : {}),\n ...extra,\n },\n children: [child],\n };\n}\n\nfunction gridItem(child: AXPWidgetNode, visible?: string): AXPWidgetNode {\n return {\n type: 'grid-item-layout',\n ...(visible ? { visible } : {}),\n options: {\n colSpan: 12,\n ...(visible ? { visible } : {}),\n },\n children: [child],\n };\n}\n\nfunction lookup(path: string, options: AXPWidgetNode['options']): AXPWidgetNode {\n return {\n type: 'lookup-editor',\n path,\n name: path,\n options,\n };\n}\n\n/** Same shape as entity-form visibility, for example `{{ context.eval(\"hasAttachments\") }}`. */\nfunction sourceIs(source: 'questionnaire' | 'form'): string {\n return `{{ context.eval(\"contentSource\") == \"${source}\" }}`;\n}\n\nfunction buildJobDocSetupLayout(): AXPWidgetNode {\n return {\n type: 'grid-layout',\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 'repeat(12, 1fr)',\n rows: 'repeat(9, auto)',\n gap: '20px',\n },\n },\n },\n children: [\n gridItem(\n field(key('setup.source'), {\n type: 'selection-list-editor',\n path: 'contentSource',\n name: 'contentSource',\n options: {\n multiple: false,\n direction: { id: 'horizontal' },\n valueField: 'id',\n textField: 'title',\n dataSource: [\n { id: 'questionnaire', title: key('setup.sources.questionnaire') },\n { id: 'form', title: key('setup.sources.form') },\n ],\n validations: REQUIRED,\n },\n triggers: [\n {\n event: \"{{ events.context('contentSource') }}\",\n action:\n \"{{ context.set('questionnaireId', context.eval('contentSource') == 'questionnaire' ? context.eval('questionnaireId') : null); context.set('templateId', context.eval('contentSource') == 'form' ? context.eval('templateId') : null); }}\",\n },\n ],\n }),\n ),\n gridItem(\n field(\n key('setup.questionnaire'),\n lookup('questionnaireId', {\n entity: 'AssessmentManagement.Questionnaire',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [{ source: 'id', target: 'questionnaireId' }],\n validations: REQUIRED,\n }),\n undefined,\n sourceIs('questionnaire'),\n ),\n sourceIs('questionnaire'),\n ),\n gridItem(\n field(\n key('setup.form'),\n lookup('templateId', {\n entity: 'AssessmentManagement.Template',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'templateId' },\n { source: 'title', target: 'templateTitle' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'type.id',\n operator: { type: 'equal' },\n value: AXMFormTemplateTypes.Form.id,\n },\n ],\n },\n validations: REQUIRED,\n }),\n undefined,\n sourceIs('form'),\n ),\n sourceIs('form'),\n ),\n gridItem(\n field(\n key('setup.assignee'),\n lookup('assigneeUserId', {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n columns: ['displayName', 'username'],\n expose: [\n { source: 'id', target: 'assigneeUserId' },\n { source: 'displayName', target: 'assigneeUser.displayName' },\n ],\n validations: REQUIRED,\n }),\n ),\n ),\n gridItem(\n field(\n key('setup.sign-offs'),\n lookup('signOffUserIds', {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n multiple: true,\n allowClear: true,\n columns: ['displayName', 'username'],\n expose: [{ source: 'id', target: 'signOffUserIds' }],\n }),\n { description: key('setup.sign-off-help') },\n ),\n ),\n gridItem(\n field(\n key('setup.project'),\n lookup('projectId', {\n entity: PROJECT_ENTITY,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: [\n 'code',\n 'title',\n { name: 'customerId', visible: false },\n { name: 'contactAssignmentId', visible: false },\n { name: 'locationAssignmentId', visible: false },\n ],\n expose: [\n { source: 'id', target: 'projectId' },\n { source: 'title', target: 'projectTitle' },\n { source: 'customerId', target: 'customerId' },\n { source: 'customer.partyId', target: 'customer.partyId' },\n { source: 'contactAssignmentId', target: 'projectContactAssignmentId' },\n { source: 'locationAssignmentId', target: 'projectLocationAssignmentId' },\n ],\n validations: REQUIRED,\n }),\n ),\n ),\n gridItem(\n field(\n key('setup.customer'),\n lookup('customerId', {\n entity: 'CustomerManagement.Customer',\n textField: 'party.title',\n valueField: 'id',\n look: 'select',\n columns: ['party.code', 'party.title', { name: 'partyId', visible: false }],\n expose: [\n { source: 'id', target: 'customer.id' },\n { source: 'party.title', target: 'customer.title' },\n { source: 'partyId', target: 'customer.partyId' },\n ],\n }),\n ),\n ),\n gridItem(\n field(key('setup.contact'), {\n ...lookup('contactAssignmentId', {\n entity: 'PersonCore.ContactAssignment',\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n disabled: '{{ !context.eval(\"customerId\") }}',\n columns: ['person.fullName', 'role.title'],\n expose: [\n { source: 'id', target: 'contactAssignment.id' },\n { source: 'person.fullName', target: 'contactAssignment.person.fullName' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'partyId',\n operator: { type: 'equal' },\n value: `{{ context.eval(\"customer.partyId\") || \"${IMPOSSIBLE_PARTY_ID}\" }}`,\n },\n ],\n },\n }),\n triggers: [\n {\n event: \"{{ events.context('customerId') }}\",\n action:\n \"{{ widget.setValue(null); context.set('contactAssignmentId', null); context.set('contactAssignment', null); widget.refresh(); }}\",\n },\n {\n event: \"{{ events.context('customer.partyId') }}\",\n action: '{{ widget.refresh(); }}',\n },\n {\n event: \"{{ events.context('projectContactAssignmentId') }}\",\n action:\n \"{{ setTimeout(() => { widget.setValue(context.eval('projectContactAssignmentId')); context.set('contactAssignmentId', context.eval('projectContactAssignmentId')); widget.refresh(); }, 0); }}\",\n },\n ],\n }),\n ),\n gridItem(\n field(key('setup.location'), {\n ...lookup('locationAssignmentId', {\n entity: 'LocationManagement.LocationAssignment',\n textField: 'location.title',\n valueField: 'id',\n look: 'select',\n disabled: '{{ !context.eval(\"customerId\") }}',\n columns: ['location.title', 'role.title', 'location.street1', 'location.city.title'],\n expose: [\n { source: 'id', target: 'locationAssignment.id' },\n { source: 'location.title', target: 'locationAssignment.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'ownerRef.type',\n operator: { type: 'equal' },\n value: 'CustomerManagement.Customer',\n },\n {\n field: 'ownerRef.id',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"customerId\") }}',\n },\n ],\n },\n }),\n triggers: [\n {\n event: \"{{ events.context('customerId') }}\",\n action:\n \"{{ widget.setValue(null); context.set('locationAssignmentId', null); context.set('locationAssignment', null); widget.refresh(); }}\",\n },\n {\n event: \"{{ events.context('projectLocationAssignmentId') }}\",\n action:\n \"{{ setTimeout(() => { widget.setValue(context.eval('projectLocationAssignmentId')); context.set('locationAssignmentId', context.eval('projectLocationAssignmentId')); widget.refresh(); }, 0); }}\",\n },\n ],\n }),\n ),\n ],\n };\n}\n\nconst setupActions: { prefix: AXPActionMenuItem[]; suffix: AXPActionMenuItem[] } = {\n prefix: [],\n suffix: [\n {\n title: '@general:actions.cancel.title',\n icon: 'fa-times',\n color: 'default',\n command: { name: 'cancel' },\n },\n {\n title: '@general:actions.submit.title',\n icon: 'fa-check',\n color: 'primary',\n command: { name: 'submit', options: { validate: true } },\n },\n ],\n};\n\n//#endregion\n\n//#region ----- Command -----\n\n@Injectable()\nexport class AXMShowJobDocSetupCommand implements AXPCommand<void, Record<string, unknown>> {\n //#region ----- Services & Dependencies -----\n\n private readonly popupService = inject(AXPopupService);\n\n //#endregion\n\n //#region ----- Command -----\n\n async execute(): AXPCommandExecuteResultPromise<Record<string, unknown>> {\n const dialogConfig: DialogRendererConfig = {\n title: key('setup.title'),\n context: { contentSource: 'questionnaire' },\n definition: buildJobDocSetupLayout(),\n actions: {\n footer: {\n prefix: setupActions.prefix,\n suffix: setupActions.suffix,\n },\n },\n };\n\n const dialogResult = await new Promise<DialogRendererResult>((resolve) => {\n this.popupService.open(AXPDialogRendererComponent, {\n title: dialogConfig.title,\n size: 'md',\n closeButton: true,\n closeOnBackdropClick: false,\n draggable: true,\n data: {\n config: dialogConfig,\n callBack: (result: { close?: () => void; context?: () => Record<string, unknown>; action?: () => string | undefined }) => {\n if (typeof result?.close === 'function') {\n result.close();\n }\n const actionName = result?.action?.();\n resolve({\n context: result?.context?.() ?? dialogConfig.context,\n action: typeof actionName === 'string' && actionName.length > 0 ? actionName : 'cancel',\n });\n },\n },\n });\n });\n\n const data = (dialogResult?.context ?? {}) as Record<string, unknown>;\n const rawAction = dialogResult?.action;\n let action = 'cancel';\n if (typeof rawAction === 'string' && rawAction.length > 0) {\n action = rawAction;\n } else if (rawAction && typeof rawAction === 'object' && 'name' in rawAction) {\n const name = (rawAction as { name?: string }).name;\n action = name && name.length > 0 ? name : 'cancel';\n }\n\n return {\n success: true,\n kind: 'object',\n data,\n metadata: { outcome: action },\n };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;AAAA;AAaA;AAEA;AAEA;AACO,MAAM,8BAA8B,GAAG;AAE9C,MAAM,IAAI,GAAG,qCAAqC;AAClD,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,uC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@
1
- export { A as AXMWorkplaceSafetyManagementMenuProvider, a as AXMWorkplaceSafetyManagementModule, b as AXMWorkplaceSafetyManagementSearchCommandProvider } from './acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-Ds0Fkspp.mjs';
1
+ export { A as AXMWorkplaceSafetyManagementMenuProvider, a as AXMWorkplaceSafetyManagementModule, b as AXMWorkplaceSafetyManagementSearchCommandProvider } from './acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-C2CZZwOj.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-workplacesafety-management-client.mjs.map
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-workplacesafety-management-client",
3
- "version": "0.0.38",
3
+ "version": "0.0.48",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@acorex-platform/module-data-management-client": "0.0.38",
6
+ "@acorex-platform/module-data-management-client": "0.0.48",
7
7
  "@angular/common": "^21.0.0 || ^22.0.0",
8
8
  "@angular/core": "^21.0.0 || ^22.0.0"
9
9
  },
@@ -56,6 +56,10 @@
56
56
  "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.d.ts",
57
57
  "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs"
58
58
  },
59
+ "./contracts/entities/safety-plan-activity": {
60
+ "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.d.ts",
61
+ "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-activity.mjs"
62
+ },
59
63
  "./contracts/entities/safety-plan-section": {
60
64
  "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.d.ts",
61
65
  "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs"
@@ -68,10 +72,6 @@
68
72
  "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.d.ts",
69
73
  "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs"
70
74
  },
71
- "./contracts/entities/safety-plan-work-step": {
72
- "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts",
73
- "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs"
74
- },
75
75
  "./contracts/entities/safety-template": {
76
76
  "types": "./types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.d.ts",
77
77
  "default": "./fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function safetyPlanActivityEntityFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { safetyPlanActivityEntityFactory };