@acorex/modules 20.7.13 → 20.7.16

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 (194) hide show
  1. package/application-management/index.d.ts +1 -1
  2. package/assessment-management/README.md +11 -0
  3. package/assessment-management/index.d.ts +122 -24
  4. package/auth/index.d.ts +1 -1
  5. package/common/index.d.ts +9 -3
  6. package/contact-core/index.d.ts +90 -0
  7. package/content-management/index.d.ts +2 -2
  8. package/data-management/index.d.ts +215 -19
  9. package/document-management/index.d.ts +167 -374
  10. package/fesm2022/acorex-modules-application-management.mjs +3 -3
  11. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  12. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs} +950 -468
  13. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +1 -0
  14. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs → acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs} +3 -3
  21. package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map +1 -0
  22. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs} +32 -33
  25. package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map +1 -0
  26. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs → acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs} +24 -8
  27. package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map +1 -0
  28. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs} +20 -4
  31. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map +1 -0
  32. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs} +3 -3
  33. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map +1 -0
  34. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs} +11 -5
  35. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map +1 -0
  36. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs +392 -0
  37. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map +1 -0
  38. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs} +21 -6
  39. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map +1 -0
  40. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs → acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs} +138 -23
  41. package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map +1 -0
  42. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs} +3 -3
  43. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map} +1 -1
  44. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  45. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs → acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs} +18 -18
  46. package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map +1 -0
  47. package/fesm2022/{acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs.map → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-auth-login.module-uUQkWCgY.mjs → acorex-modules-auth-login.module-CI_lkyb7.mjs} +4 -4
  50. package/fesm2022/{acorex-modules-auth-login.module-uUQkWCgY.mjs.map → acorex-modules-auth-login.module-CI_lkyb7.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-auth-master.layout-XkwT3Slv.mjs → acorex-modules-auth-master.layout-CdY380qS.mjs} +5 -4
  52. package/fesm2022/acorex-modules-auth-master.layout-CdY380qS.mjs.map +1 -0
  53. package/fesm2022/{acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs.map → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-auth-password.component-CaH-OaIv.mjs → acorex-modules-auth-password.component-CefISnvd.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-auth-password.component-CaH-OaIv.mjs.map → acorex-modules-auth-password.component-CefISnvd.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-auth-password.component-DDFOsrkt.mjs → acorex-modules-auth-password.component-Dw_v_EFQ.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-auth-password.component-DDFOsrkt.mjs.map → acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-auth-routes-Cik9Y3RJ.mjs → acorex-modules-auth-routes-CwcJHbAi.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-auth-routes-Cik9Y3RJ.mjs.map → acorex-modules-auth-routes-CwcJHbAi.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs.map → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map} +1 -1
  63. package/fesm2022/{acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs} +2 -2
  64. package/fesm2022/{acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs.map → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map} +1 -1
  65. package/fesm2022/{acorex-modules-auth-user-sessions.component-MZJramlf.mjs → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs} +2 -2
  66. package/fesm2022/{acorex-modules-auth-user-sessions.component-MZJramlf.mjs.map → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map} +1 -1
  67. package/fesm2022/acorex-modules-auth.mjs +1 -1
  68. package/fesm2022/acorex-modules-calendar-management.mjs +4 -3
  69. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  70. package/fesm2022/acorex-modules-common.mjs +77 -36
  71. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  72. package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs +318 -0
  73. package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs.map +1 -0
  74. package/fesm2022/acorex-modules-contact-core.mjs +247 -0
  75. package/fesm2022/acorex-modules-contact-core.mjs.map +1 -0
  76. package/fesm2022/acorex-modules-content-management.mjs +66 -19
  77. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  78. package/fesm2022/acorex-modules-data-management.mjs +1013 -505
  79. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  80. package/fesm2022/{acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs → acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs} +3 -7
  81. package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +1 -0
  82. package/fesm2022/acorex-modules-document-management.mjs +688 -2991
  83. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  84. package/fesm2022/acorex-modules-health-core-allergy-type.entity-BaZ4OhHW.mjs +65 -0
  85. package/fesm2022/acorex-modules-health-core-allergy-type.entity-BaZ4OhHW.mjs.map +1 -0
  86. package/fesm2022/acorex-modules-health-core-blood-type.entity-Cu-UIgw4.mjs +120 -0
  87. package/fesm2022/acorex-modules-health-core-blood-type.entity-Cu-UIgw4.mjs.map +1 -0
  88. package/fesm2022/acorex-modules-health-core-body-part.entity-Dc2SIiB3.mjs +65 -0
  89. package/fesm2022/acorex-modules-health-core-body-part.entity-Dc2SIiB3.mjs.map +1 -0
  90. package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-B-9j3pNB.mjs +65 -0
  91. package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-B-9j3pNB.mjs.map +1 -0
  92. package/fesm2022/acorex-modules-health-core-disability-status.entity-hs3vA3zZ.mjs +120 -0
  93. package/fesm2022/acorex-modules-health-core-disability-status.entity-hs3vA3zZ.mjs.map +1 -0
  94. package/fesm2022/acorex-modules-health-core-injury-type.entity-BUA1VsE_.mjs +65 -0
  95. package/fesm2022/acorex-modules-health-core-injury-type.entity-BUA1VsE_.mjs.map +1 -0
  96. package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DBdFkwx6.mjs +65 -0
  97. package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DBdFkwx6.mjs.map +1 -0
  98. package/fesm2022/acorex-modules-health-core.mjs +487 -0
  99. package/fesm2022/acorex-modules-health-core.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs → acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs} +4 -5
  101. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs.map} +1 -1
  102. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs → acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs} +2 -2
  103. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs.map → acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs.map} +1 -1
  104. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  105. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
  106. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
  107. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs → acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs} +6 -2
  108. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs.map +1 -0
  109. package/fesm2022/acorex-modules-human-capital-management.mjs +351 -696
  110. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  111. package/fesm2022/acorex-modules-locale-management.mjs +13 -6
  112. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
  113. package/fesm2022/acorex-modules-notification-management.mjs +4 -4
  114. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  115. package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs +120 -0
  116. package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs.map +1 -0
  117. package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs +120 -0
  118. package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs.map +1 -0
  119. package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs +191 -0
  120. package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs.map +1 -0
  121. package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs +119 -0
  122. package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs.map +1 -0
  123. package/fesm2022/acorex-modules-person-core-religion.entity-Czb5aHb6.mjs +120 -0
  124. package/fesm2022/acorex-modules-person-core-religion.entity-Czb5aHb6.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-person-core.mjs +466 -0
  126. package/fesm2022/acorex-modules-person-core.mjs.map +1 -0
  127. package/fesm2022/{acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs → acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs} +4 -3
  128. package/fesm2022/acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs → acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs} +4 -3
  130. package/fesm2022/acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-person-management.mjs +11 -259
  132. package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
  133. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs} +6 -6
  134. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map} +1 -1
  135. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs} +2 -2
  136. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs.map → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map} +1 -1
  137. package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs} +2 -2
  138. package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs.map → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map} +1 -1
  139. package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs} +2 -2
  140. package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs.map → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map} +1 -1
  141. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  142. package/fesm2022/acorex-modules-system-insight.mjs +4 -3
  143. package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
  144. package/fesm2022/{acorex-modules-task-management-task-board.page-Cgxdk78j.mjs → acorex-modules-task-management-task-board.page-BOOY3qla.mjs} +53 -60
  145. package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +1 -0
  146. package/fesm2022/acorex-modules-task-management.mjs +39 -11
  147. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  148. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
  149. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
  150. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
  151. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
  152. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
  153. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
  154. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-BF9xYEkf.mjs +345 -0
  155. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-BF9xYEkf.mjs.map +1 -0
  156. package/fesm2022/acorex-modules-workflow-management.mjs +733 -2521
  157. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  158. package/health-core/index.d.ts +156 -0
  159. package/help-desk/index.d.ts +1 -1
  160. package/human-capital-management/index.d.ts +19 -79
  161. package/locale-management/index.d.ts +1 -1
  162. package/notification-management/index.d.ts +1 -1
  163. package/package.json +18 -6
  164. package/person-core/index.d.ts +132 -0
  165. package/person-management/index.d.ts +1 -25
  166. package/task-management/index.d.ts +12 -1
  167. package/workflow-management/index.d.ts +239 -265
  168. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +0 -1
  169. package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +0 -1
  170. package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +0 -1
  171. package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map +0 -1
  172. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map +0 -1
  173. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map +0 -1
  174. package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map +0 -1
  175. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs +0 -416
  176. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map +0 -1
  177. package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map +0 -1
  178. package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map +0 -1
  179. package/fesm2022/acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs.map +0 -1
  180. package/fesm2022/acorex-modules-auth-master.layout-XkwT3Slv.mjs.map +0 -1
  181. package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +0 -1
  182. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
  183. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
  184. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
  185. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs.map +0 -1
  186. package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs +0 -498
  187. package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs.map +0 -1
  188. package/fesm2022/acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs.map +0 -1
  189. package/fesm2022/acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs.map +0 -1
  190. package/fesm2022/acorex-modules-task-management-task-board.page-Cgxdk78j.mjs.map +0 -1
  191. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
  192. package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
  193. package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
  194. package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +0 -1
@@ -0,0 +1,487 @@
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule, inject, Injector } from '@angular/core';
3
+ import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
4
+ import { AXP_ENTITY_DEFINITION_LOADER, AXPEntityService } from '@acorex/platform/layout/entity';
5
+ import { AXP_MENU_PROVIDER } from '@acorex/platform/common';
6
+ import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
7
+ import { AXDataSource } from '@acorex/cdk/common';
8
+ import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
9
+ import { AXPCommonMenuKeys } from '@acorex/modules/common';
10
+ import { AXTranslationService } from '@acorex/core/translation';
11
+
12
+ const config = {
13
+ i18n: 'health-core',
14
+ module: 'HealthCore',
15
+ };
16
+ const RootConfig = {
17
+ config,
18
+ module: {
19
+ name: config.module,
20
+ title: `@${config.i18n}:module.title`,
21
+ icon: 'fa-light fa-heart-pulse',
22
+ },
23
+ entities: {
24
+ allergyType: {
25
+ name: 'AllergyType',
26
+ title: `@${config.i18n}:allergy-types.entities.allergy-type.title`,
27
+ titlePlural: `@${config.i18n}:allergy-types.entities.allergy-type.plural`,
28
+ icon: 'fa-light fa-allergies',
29
+ },
30
+ bloodType: {
31
+ name: 'BloodType',
32
+ title: `@${config.i18n}:blood-types.entities.blood-type.title`,
33
+ titlePlural: `@${config.i18n}:blood-types.entities.blood-type.plural`,
34
+ icon: 'fa-light fa-droplet',
35
+ },
36
+ bodyPart: {
37
+ name: 'BodyPart',
38
+ title: `@${config.i18n}:body-parts.entities.body-part.title`,
39
+ titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,
40
+ icon: 'fa-light fa-person',
41
+ },
42
+ chronicConditionType: {
43
+ name: 'ChronicConditionType',
44
+ title: `@${config.i18n}:chronic-condition-types.entities.chronic-condition-type.title`,
45
+ titlePlural: `@${config.i18n}:chronic-condition-types.entities.chronic-condition-type.plural`,
46
+ icon: 'fa-light fa-file-medical',
47
+ },
48
+ disabilityStatus: {
49
+ name: 'DisabilityStatus',
50
+ title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,
51
+ titlePlural: `@${config.i18n}:disability-statuses.entities.disability-status.plural`,
52
+ icon: 'fa-light fa-wheelchair',
53
+ },
54
+ injuryType: {
55
+ name: 'InjuryType',
56
+ title: `@${config.i18n}:injury-types.entities.injury-type.title`,
57
+ titlePlural: `@${config.i18n}:injury-types.entities.injury-type.plural`,
58
+ icon: 'fa-light fa-bandage',
59
+ },
60
+ vaccinationType: {
61
+ name: 'VaccinationType',
62
+ title: `@${config.i18n}:vaccination-types.entities.vaccination-type.title`,
63
+ titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,
64
+ icon: 'fa-light fa-syringe',
65
+ },
66
+ },
67
+ };
68
+
69
+ //#region ---- Imports ----
70
+ //#endregion
71
+ //#region ---- Manifest Definition ----
72
+ /**
73
+ * Health Core Module Manifest.
74
+ * Defines module metadata for health-related reference data (blood type, disability status, etc.).
75
+ */
76
+ const HealthCoreManifest = {
77
+ name: RootConfig.module.name,
78
+ version: '1.0.0',
79
+ title: RootConfig.module.title,
80
+ icon: RootConfig.module.icon,
81
+ i18n: RootConfig.config.i18n,
82
+ };
83
+ //#endregion
84
+
85
+ /**
86
+ * Medication form options datasource (Tablet, Capsule, Syrup, Injection, etc.).
87
+ */
88
+ class AXMMedicationFormOptionsDataSourceDefinition {
89
+ constructor() {
90
+ this.definition = {
91
+ name: 'medication-form-options',
92
+ title: '@health-core:datasources.medication-form-options.title',
93
+ columns: [
94
+ { name: 'value', title: '@health-core:datasources.medication-form-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
95
+ { name: 'title', title: '@health-core:datasources.medication-form-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
96
+ ],
97
+ filters: [],
98
+ textField: { name: 'title', title: '@health-core:datasources.medication-form-options.columns.title.title' },
99
+ valueField: { name: 'value', title: '@health-core:datasources.medication-form-options.columns.value.title' },
100
+ samples: [
101
+ { value: 'tablet', title: '@health-core:datasources.medication-form-options.samples.tablet' },
102
+ { value: 'capsule', title: '@health-core:datasources.medication-form-options.samples.capsule' },
103
+ { value: 'syrup', title: '@health-core:datasources.medication-form-options.samples.syrup' },
104
+ { value: 'injection', title: '@health-core:datasources.medication-form-options.samples.injection' },
105
+ { value: 'cream', title: '@health-core:datasources.medication-form-options.samples.cream' },
106
+ { value: 'drops', title: '@health-core:datasources.medication-form-options.samples.drops' },
107
+ { value: 'inhaler', title: '@health-core:datasources.medication-form-options.samples.inhaler' },
108
+ { value: 'patch', title: '@health-core:datasources.medication-form-options.samples.patch' },
109
+ { value: 'other', title: '@health-core:datasources.medication-form-options.samples.other' },
110
+ ],
111
+ source: () => {
112
+ const items = [
113
+ { value: 'tablet', title: '@health-core:datasources.medication-form-options.samples.tablet' },
114
+ { value: 'capsule', title: '@health-core:datasources.medication-form-options.samples.capsule' },
115
+ { value: 'syrup', title: '@health-core:datasources.medication-form-options.samples.syrup' },
116
+ { value: 'injection', title: '@health-core:datasources.medication-form-options.samples.injection' },
117
+ { value: 'cream', title: '@health-core:datasources.medication-form-options.samples.cream' },
118
+ { value: 'drops', title: '@health-core:datasources.medication-form-options.samples.drops' },
119
+ { value: 'inhaler', title: '@health-core:datasources.medication-form-options.samples.inhaler' },
120
+ { value: 'patch', title: '@health-core:datasources.medication-form-options.samples.patch' },
121
+ { value: 'other', title: '@health-core:datasources.medication-form-options.samples.other' },
122
+ ];
123
+ return new AXDataSource({ pageSize: 10, key: 'value', load: async () => ({ items, total: items.length }), byKey: async (key) => items.find((item) => item.value === key) });
124
+ },
125
+ };
126
+ }
127
+ async items() {
128
+ return [this.definition];
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Health risk level options datasource (Low, Medium, High, Critical).
134
+ */
135
+ class AXMHealthRiskLevelOptionsDataSourceDefinition {
136
+ constructor() {
137
+ this.definition = {
138
+ name: 'health-risk-level-options',
139
+ title: '@health-core:datasources.health-risk-level-options.title',
140
+ columns: [
141
+ { name: 'value', title: '@health-core:datasources.health-risk-level-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
142
+ { name: 'title', title: '@health-core:datasources.health-risk-level-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
143
+ ],
144
+ filters: [],
145
+ textField: { name: 'title', title: '@health-core:datasources.health-risk-level-options.columns.title.title' },
146
+ valueField: { name: 'value', title: '@health-core:datasources.health-risk-level-options.columns.value.title' },
147
+ samples: [
148
+ { value: 'low', title: '@health-core:datasources.health-risk-level-options.samples.low' },
149
+ { value: 'medium', title: '@health-core:datasources.health-risk-level-options.samples.medium' },
150
+ { value: 'high', title: '@health-core:datasources.health-risk-level-options.samples.high' },
151
+ { value: 'critical', title: '@health-core:datasources.health-risk-level-options.samples.critical' },
152
+ ],
153
+ source: () => {
154
+ const items = [
155
+ { value: 'low', title: '@health-core:datasources.health-risk-level-options.samples.low' },
156
+ { value: 'medium', title: '@health-core:datasources.health-risk-level-options.samples.medium' },
157
+ { value: 'high', title: '@health-core:datasources.health-risk-level-options.samples.high' },
158
+ { value: 'critical', title: '@health-core:datasources.health-risk-level-options.samples.critical' },
159
+ ];
160
+ return new AXDataSource({ pageSize: 10, key: 'value', load: async () => ({ items, total: items.length }), byKey: async (key) => items.find((item) => item.value === key) });
161
+ },
162
+ };
163
+ }
164
+ async items() {
165
+ return [this.definition];
166
+ }
167
+ }
168
+
169
+ /**
170
+ * Alcohol consumption options datasource (Never, Occasional, Regular, etc.).
171
+ */
172
+ class AXMAlcoholConsumptionOptionsDataSourceDefinition {
173
+ constructor() {
174
+ this.definition = {
175
+ name: 'alcohol-consumption-options',
176
+ title: '@health-core:datasources.alcohol-consumption-options.title',
177
+ columns: [
178
+ { name: 'value', title: '@health-core:datasources.alcohol-consumption-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
179
+ { name: 'title', title: '@health-core:datasources.alcohol-consumption-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
180
+ ],
181
+ filters: [],
182
+ textField: { name: 'title', title: '@health-core:datasources.alcohol-consumption-options.columns.title.title' },
183
+ valueField: { name: 'value', title: '@health-core:datasources.alcohol-consumption-options.columns.value.title' },
184
+ samples: [
185
+ { value: 'never', title: '@health-core:datasources.alcohol-consumption-options.samples.never' },
186
+ { value: 'occasional', title: '@health-core:datasources.alcohol-consumption-options.samples.occasional' },
187
+ { value: 'regular', title: '@health-core:datasources.alcohol-consumption-options.samples.regular' },
188
+ { value: 'heavy', title: '@health-core:datasources.alcohol-consumption-options.samples.heavy' },
189
+ { value: 'prefer-not-to-say', title: '@health-core:datasources.alcohol-consumption-options.samples.prefer-not-to-say' },
190
+ ],
191
+ source: () => {
192
+ const items = [
193
+ { value: 'never', title: '@health-core:datasources.alcohol-consumption-options.samples.never' },
194
+ { value: 'occasional', title: '@health-core:datasources.alcohol-consumption-options.samples.occasional' },
195
+ { value: 'regular', title: '@health-core:datasources.alcohol-consumption-options.samples.regular' },
196
+ { value: 'heavy', title: '@health-core:datasources.alcohol-consumption-options.samples.heavy' },
197
+ { value: 'prefer-not-to-say', title: '@health-core:datasources.alcohol-consumption-options.samples.prefer-not-to-say' },
198
+ ];
199
+ return new AXDataSource({ pageSize: 10, key: 'value', load: async () => ({ items, total: items.length }), byKey: async (key) => items.find((item) => item.value === key) });
200
+ },
201
+ };
202
+ }
203
+ async items() {
204
+ return [this.definition];
205
+ }
206
+ }
207
+
208
+ /**
209
+ * Smoking status options datasource (Never, Former, Current, Prefer not to say).
210
+ */
211
+ class AXMSmokingStatusOptionsDataSourceDefinition {
212
+ constructor() {
213
+ this.definition = {
214
+ name: 'smoking-status-options',
215
+ title: '@health-core:datasources.smoking-status-options.title',
216
+ columns: [
217
+ { name: 'value', title: '@health-core:datasources.smoking-status-options.columns.value.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
218
+ { name: 'title', title: '@health-core:datasources.smoking-status-options.columns.title.title', type: AXPWidgetsCatalog.text, datatype: 'string' },
219
+ ],
220
+ filters: [],
221
+ textField: { name: 'title', title: '@health-core:datasources.smoking-status-options.columns.title.title' },
222
+ valueField: { name: 'value', title: '@health-core:datasources.smoking-status-options.columns.value.title' },
223
+ samples: [
224
+ { value: 'never', title: '@health-core:datasources.smoking-status-options.samples.never' },
225
+ { value: 'former', title: '@health-core:datasources.smoking-status-options.samples.former' },
226
+ { value: 'current', title: '@health-core:datasources.smoking-status-options.samples.current' },
227
+ { value: 'prefer-not-to-say', title: '@health-core:datasources.smoking-status-options.samples.prefer-not-to-say' },
228
+ ],
229
+ source: () => {
230
+ const items = [
231
+ { value: 'never', title: '@health-core:datasources.smoking-status-options.samples.never' },
232
+ { value: 'former', title: '@health-core:datasources.smoking-status-options.samples.former' },
233
+ { value: 'current', title: '@health-core:datasources.smoking-status-options.samples.current' },
234
+ { value: 'prefer-not-to-say', title: '@health-core:datasources.smoking-status-options.samples.prefer-not-to-say' },
235
+ ];
236
+ return new AXDataSource({ pageSize: 10, key: 'value', load: async () => ({ items, total: items.length }), byKey: async (key) => items.find((item) => item.value === key) });
237
+ },
238
+ };
239
+ }
240
+ async items() {
241
+ return [this.definition];
242
+ }
243
+ }
244
+
245
+ //#region ---- Imports ----
246
+ //#endregion
247
+ //#region ---- Data Source Provider ----
248
+ /**
249
+ * Health Core Data Source Provider.
250
+ * Provides health-related choice datasources (medication form, risk level, alcohol, smoking).
251
+ */
252
+ class AXMHealthCoreDataSourceProvider {
253
+ constructor() {
254
+ this.medicationFormOptions = new AXMMedicationFormOptionsDataSourceDefinition();
255
+ this.healthRiskLevelOptions = new AXMHealthRiskLevelOptionsDataSourceDefinition();
256
+ this.alcoholConsumptionOptions = new AXMAlcoholConsumptionOptionsDataSourceDefinition();
257
+ this.smokingStatusOptions = new AXMSmokingStatusOptionsDataSourceDefinition();
258
+ }
259
+ async items() {
260
+ const items = await Promise.all([
261
+ this.medicationFormOptions.items(),
262
+ this.healthRiskLevelOptions.items(),
263
+ this.alcoholConsumptionOptions.items(),
264
+ this.smokingStatusOptions.items(),
265
+ ]);
266
+ return items.flat();
267
+ }
268
+ }
269
+ //#endregion
270
+
271
+ //#region ---- Imports ----
272
+ //#endregion
273
+ //#region ---- Module ----
274
+ class AXMHealthCoreModule {
275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMHealthCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
276
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXMHealthCoreModule }); }
277
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMHealthCoreModule, providers: [
278
+ {
279
+ provide: AXP_MODULE_MANIFEST_PROVIDER,
280
+ useValue: HealthCoreManifest,
281
+ multi: true,
282
+ },
283
+ provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMHealthCorePermissionDefinitionProvider)),
284
+ provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMHealthCoreMenuProvider)),
285
+ provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMHealthCoreEntityProvider)),
286
+ {
287
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
288
+ useClass: AXMHealthCoreDataSourceProvider,
289
+ multi: true,
290
+ },
291
+ ] }); }
292
+ }
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMHealthCoreModule, decorators: [{
294
+ type: NgModule,
295
+ args: [{
296
+ imports: [],
297
+ providers: [
298
+ {
299
+ provide: AXP_MODULE_MANIFEST_PROVIDER,
300
+ useValue: HealthCoreManifest,
301
+ multi: true,
302
+ },
303
+ provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMHealthCorePermissionDefinitionProvider)),
304
+ provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMHealthCoreMenuProvider)),
305
+ provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMHealthCoreEntityProvider)),
306
+ {
307
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
308
+ useClass: AXMHealthCoreDataSourceProvider,
309
+ multi: true,
310
+ },
311
+ ],
312
+ }]
313
+ }] });
314
+
315
+ //#region ---- Allergy Type Model ----
316
+ //#endregion
317
+
318
+ //#region ---- Blood Type Model ----
319
+ //#endregion
320
+
321
+ //#region ---- Body Part Model ----
322
+ //#endregion
323
+
324
+ //#region ---- Chronic Condition Type Model ----
325
+ //#endregion
326
+
327
+ //#region ---- Disability Status Model ----
328
+ //#endregion
329
+
330
+ //#region ---- Injury Type Model ----
331
+ //#endregion
332
+
333
+ //#region ---- Vaccination Type Model ----
334
+ //#endregion
335
+
336
+ //#region ---- Imports ----
337
+ //#endregion
338
+ //#region ---- Entity Provider ----
339
+ class AXMHealthCoreEntityProvider {
340
+ constructor() {
341
+ this.injector = inject(Injector);
342
+ }
343
+ async get(moduleName, entityName) {
344
+ if (moduleName !== RootConfig.module.name) {
345
+ return null;
346
+ }
347
+ switch (entityName) {
348
+ case RootConfig.entities.allergyType.name:
349
+ return (await import('./acorex-modules-health-core-allergy-type.entity-BaZ4OhHW.mjs')).allergyTypeFactory(this.injector);
350
+ case RootConfig.entities.bloodType.name:
351
+ return (await import('./acorex-modules-health-core-blood-type.entity-Cu-UIgw4.mjs')).bloodTypeFactory(this.injector);
352
+ case RootConfig.entities.bodyPart.name:
353
+ return (await import('./acorex-modules-health-core-body-part.entity-Dc2SIiB3.mjs')).bodyPartFactory(this.injector);
354
+ case RootConfig.entities.chronicConditionType.name:
355
+ return (await import('./acorex-modules-health-core-chronic-condition-type.entity-B-9j3pNB.mjs')).chronicConditionTypeFactory(this.injector);
356
+ case RootConfig.entities.disabilityStatus.name:
357
+ return (await import('./acorex-modules-health-core-disability-status.entity-hs3vA3zZ.mjs')).disabilityStatusFactory(this.injector);
358
+ case RootConfig.entities.injuryType.name:
359
+ return (await import('./acorex-modules-health-core-injury-type.entity-BUA1VsE_.mjs')).injuryTypeFactory(this.injector);
360
+ case RootConfig.entities.vaccinationType.name:
361
+ return (await import('./acorex-modules-health-core-vaccination-type.entity-DBdFkwx6.mjs')).vaccinationTypeFactory(this.injector);
362
+ }
363
+ return null;
364
+ }
365
+ async list() {
366
+ const m = RootConfig.module.name;
367
+ return Promise.resolve(Object.values(RootConfig.entities).map((e) => ({ name: e.name, module: m })));
368
+ }
369
+ }
370
+ //#endregion
371
+
372
+ var entity_provider = /*#__PURE__*/Object.freeze({
373
+ __proto__: null,
374
+ AXMHealthCoreEntityProvider: AXMHealthCoreEntityProvider
375
+ });
376
+
377
+ const AXMHealthCoreMenuKeys = {
378
+ Root: 'health-core',
379
+ AllergyTypes: 'health-core.allergy-types',
380
+ BloodTypes: 'health-core.blood-types',
381
+ BodyParts: 'health-core.body-parts',
382
+ ChronicConditionTypes: 'health-core.chronic-condition-types',
383
+ DisabilityStatuses: 'health-core.disability-statuses',
384
+ InjuryTypes: 'health-core.injury-types',
385
+ VaccinationTypes: 'health-core.vaccination-types',
386
+ };
387
+
388
+ const AXMHealthCorePermissionKeys = {
389
+ HealthCore: {
390
+ AllergyType: { Management: 'HealthCore:Permission:AllergyType.Management' },
391
+ BloodType: { Management: 'HealthCore:Permission:BloodType.Management' },
392
+ BodyPart: { Management: 'HealthCore:Permission:BodyPart.Management' },
393
+ ChronicConditionType: { Management: 'HealthCore:Permission:ChronicConditionType.Management' },
394
+ DisabilityStatus: { Management: 'HealthCore:Permission:DisabilityStatus.Management' },
395
+ InjuryType: { Management: 'HealthCore:Permission:InjuryType.Management' },
396
+ VaccinationType: { Management: 'HealthCore:Permission:VaccinationType.Management' },
397
+ },
398
+ };
399
+
400
+ //#region ---- Imports ----
401
+ //#endregion
402
+ //#region ---- Menu Provider ----
403
+ class AXMHealthCoreMenuProvider {
404
+ constructor() {
405
+ this.entityService = inject(AXPEntityService);
406
+ }
407
+ async provide(context) {
408
+ const module = RootConfig.module;
409
+ context.find(AXPCommonMenuKeys.Configuration).addItems([
410
+ {
411
+ name: AXMHealthCoreMenuKeys.Root,
412
+ priority: 8440,
413
+ text: '@health-core:module.menus.root.title',
414
+ icon: module.icon,
415
+ policy: {
416
+ features: [RootConfig.module.name],
417
+ },
418
+ children: [
419
+ { name: AXMHealthCoreMenuKeys.AllergyTypes, text: RootConfig.entities.allergyType.titlePlural, icon: RootConfig.entities.allergyType.icon, priority: 1, path: this.entityService.withEntity(module.name, RootConfig.entities.allergyType.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.AllergyType.Management] } },
420
+ { name: AXMHealthCoreMenuKeys.BloodTypes, text: RootConfig.entities.bloodType.titlePlural, icon: RootConfig.entities.bloodType.icon, priority: 2, path: this.entityService.withEntity(module.name, RootConfig.entities.bloodType.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.BloodType.Management] } },
421
+ { name: AXMHealthCoreMenuKeys.BodyParts, text: RootConfig.entities.bodyPart.titlePlural, icon: RootConfig.entities.bodyPart.icon, priority: 3, path: this.entityService.withEntity(module.name, RootConfig.entities.bodyPart.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.BodyPart.Management] } },
422
+ { name: AXMHealthCoreMenuKeys.ChronicConditionTypes, text: RootConfig.entities.chronicConditionType.titlePlural, icon: RootConfig.entities.chronicConditionType.icon, priority: 4, path: this.entityService.withEntity(module.name, RootConfig.entities.chronicConditionType.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.ChronicConditionType.Management] } },
423
+ { name: AXMHealthCoreMenuKeys.DisabilityStatuses, text: RootConfig.entities.disabilityStatus.titlePlural, icon: RootConfig.entities.disabilityStatus.icon, priority: 5, path: this.entityService.withEntity(module.name, RootConfig.entities.disabilityStatus.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.DisabilityStatus.Management] } },
424
+ { name: AXMHealthCoreMenuKeys.InjuryTypes, text: RootConfig.entities.injuryType.titlePlural, icon: RootConfig.entities.injuryType.icon, priority: 6, path: this.entityService.withEntity(module.name, RootConfig.entities.injuryType.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.InjuryType.Management] } },
425
+ { name: AXMHealthCoreMenuKeys.VaccinationTypes, text: RootConfig.entities.vaccinationType.titlePlural, icon: RootConfig.entities.vaccinationType.icon, priority: 7, path: this.entityService.withEntity(module.name, RootConfig.entities.vaccinationType.name).createPath(), policy: { permissions: [AXMHealthCorePermissionKeys.HealthCore.VaccinationType.Management] } },
426
+ ],
427
+ },
428
+ ]);
429
+ }
430
+ }
431
+ //#endregion
432
+
433
+ var menu_provider = /*#__PURE__*/Object.freeze({
434
+ __proto__: null,
435
+ AXMHealthCoreMenuProvider: AXMHealthCoreMenuProvider
436
+ });
437
+
438
+ //#region ---- Imports ----
439
+ //#endregion
440
+ //#region ---- Permission Definition Provider ----
441
+ class AXMHealthCorePermissionDefinitionProvider {
442
+ constructor() {
443
+ this.translationService = inject(AXTranslationService);
444
+ }
445
+ async define(context) {
446
+ const keys = AXMHealthCorePermissionKeys.HealthCore;
447
+ const allergyTypeTrans = (action) => this.translationService.translateAsync(`@health-core:allergy-types.permissions.allergy-type.${action}.title`);
448
+ const bloodTypeTrans = (action) => this.translationService.translateAsync(`@health-core:blood-types.permissions.blood-type.${action}.title`);
449
+ const bodyPartTrans = (action) => this.translationService.translateAsync(`@health-core:body-parts.permissions.body-part.${action}.title`);
450
+ const chronicConditionTypeTrans = (action) => this.translationService.translateAsync(`@health-core:chronic-condition-types.permissions.chronic-condition-type.${action}.title`);
451
+ const disabilityStatusTrans = (action) => this.translationService.translateAsync(`@health-core:disability-statuses.permissions.disability-status.${action}.title`);
452
+ const injuryTypeTrans = (action) => this.translationService.translateAsync(`@health-core:injury-types.permissions.injury-type.${action}.title`);
453
+ const vaccinationTypeTrans = (action) => this.translationService.translateAsync(`@health-core:vaccination-types.permissions.vaccination-type.${action}.title`);
454
+ context
455
+ .addGroup(RootConfig.module.name, await this.translationService.translateAsync('@health-core:module.title'))
456
+ .addPermission(keys.AllergyType.Management, await allergyTypeTrans('manage'))
457
+ .endPermission()
458
+ .addPermission(keys.BloodType.Management, await bloodTypeTrans('manage'))
459
+ .endPermission()
460
+ .addPermission(keys.BodyPart.Management, await bodyPartTrans('manage'))
461
+ .endPermission()
462
+ .addPermission(keys.ChronicConditionType.Management, await chronicConditionTypeTrans('manage'))
463
+ .endPermission()
464
+ .addPermission(keys.DisabilityStatus.Management, await disabilityStatusTrans('manage'))
465
+ .endPermission()
466
+ .addPermission(keys.InjuryType.Management, await injuryTypeTrans('manage'))
467
+ .endPermission()
468
+ .addPermission(keys.VaccinationType.Management, await vaccinationTypeTrans('manage'))
469
+ .endPermission()
470
+ .endGroup();
471
+ }
472
+ }
473
+ //#endregion
474
+
475
+ var permissionDefinition_provider = /*#__PURE__*/Object.freeze({
476
+ __proto__: null,
477
+ AXMHealthCorePermissionDefinitionProvider: AXMHealthCorePermissionDefinitionProvider
478
+ });
479
+
480
+ // Main Module
481
+
482
+ /**
483
+ * Generated bundle index. Do not edit.
484
+ */
485
+
486
+ export { AXMHealthCoreEntityProvider, AXMHealthCoreMenuProvider, AXMHealthCoreModule, AXMHealthCorePermissionDefinitionProvider, AXMHealthCorePermissionKeys, RootConfig };
487
+ //# sourceMappingURL=acorex-modules-health-core.mjs.map