@acorex/modules 21.0.0-next.37 → 21.0.0-next.40

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 (393) hide show
  1. package/fesm2022/{acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs → acorex-modules-ai-management-acorex-modules-ai-management-Bqfx8OTv.mjs} +718 -106
  2. package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-Bqfx8OTv.mjs.map +1 -0
  3. package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-column.component-D0ruV6aJ.mjs +44 -0
  4. package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-column.component-D0ruV6aJ.mjs.map +1 -0
  5. package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-DyczMN-R.mjs +256 -0
  6. package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-DyczMN-R.mjs.map +1 -0
  7. package/fesm2022/{acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs → acorex-modules-ai-management-agent.entity-CpSXisAh.mjs} +83 -94
  8. package/fesm2022/acorex-modules-ai-management-agent.entity-CpSXisAh.mjs.map +1 -0
  9. package/fesm2022/{acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs → acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CYk2rB36.mjs} +62 -20
  10. package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CYk2rB36.mjs.map +1 -0
  11. package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-BDcW8BRI.mjs} +3 -5
  12. package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs.map → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-BDcW8BRI.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs → acorex-modules-ai-management-assist.entity-7uTePpME.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs.map → acorex-modules-ai-management-assist.entity-7uTePpME.mjs.map} +1 -1
  15. package/fesm2022/acorex-modules-ai-management-index-DUojDUau.mjs +2 -0
  16. package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs.map → acorex-modules-ai-management-index-DUojDUau.mjs.map} +1 -1
  17. package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs → acorex-modules-ai-management-model.entity-C9J3trsK.mjs} +2 -2
  18. package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs.map → acorex-modules-ai-management-model.entity-C9J3trsK.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-kHsxkjEd.mjs} +2 -2
  20. package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-kHsxkjEd.mjs.map} +1 -1
  21. package/fesm2022/acorex-modules-ai-management.mjs +1 -1
  22. package/fesm2022/acorex-modules-application-management.mjs +1 -1
  23. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  24. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs} +510 -437
  25. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs.map +1 -0
  26. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs → acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs.map → acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs → acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs.map → acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-assessment-management-index-B2SncZAW.mjs → acorex-modules-assessment-management-index-_fPuBQeK.mjs} +25 -26
  33. package/fesm2022/acorex-modules-assessment-management-index-_fPuBQeK.mjs.map +1 -0
  34. package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs → acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs} +10 -11
  35. package/fesm2022/acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs.map +1 -0
  36. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs → acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs} +2 -2
  37. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs.map} +1 -1
  38. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs} +2 -2
  39. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs.map} +1 -1
  40. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs → acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs} +2 -2
  41. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs.map} +1 -1
  42. package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs} +2 -2
  43. package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs.map} +1 -1
  44. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cc-o6qmY.mjs} +3 -3
  45. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cc-o6qmY.mjs.map} +1 -1
  46. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs → acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs} +3 -3
  47. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs.map → acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs.map} +1 -1
  48. package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs} +2 -2
  49. package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs.map} +1 -1
  50. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs → acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs.map → acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs.map} +1 -1
  52. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  53. package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs → acorex-modules-asset-management-acorex-modules-asset-management-BRap9yt6.mjs} +761 -133
  54. package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BRap9yt6.mjs.map +1 -0
  55. package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-B_QZI3Cy.mjs +302 -0
  56. package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-B_QZI3Cy.mjs.map +1 -0
  57. package/fesm2022/acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs +98 -0
  58. package/fesm2022/acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs.map +1 -0
  59. package/fesm2022/{acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs → acorex-modules-asset-management-asset-system-assignment.entity-BRz8vItS.mjs} +77 -48
  60. package/fesm2022/acorex-modules-asset-management-asset-system-assignment.entity-BRz8vItS.mjs.map +1 -0
  61. package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs → acorex-modules-asset-management-asset-system-type.entity-b_o5UnuE.mjs} +72 -40
  62. package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-b_o5UnuE.mjs.map +1 -0
  63. package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs → acorex-modules-asset-management-asset-system.entity-C6ak4u9z.mjs} +41 -29
  64. package/fesm2022/acorex-modules-asset-management-asset-system.entity-C6ak4u9z.mjs.map +1 -0
  65. package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs → acorex-modules-asset-management-asset-type-section-component.entity-BQjGo1s1.mjs} +2 -2
  66. package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-BQjGo1s1.mjs.map} +1 -1
  67. package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs → acorex-modules-asset-management-asset-type-section.entity-C1DJZZFy.mjs} +6 -48
  68. package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-C1DJZZFy.mjs.map +1 -0
  69. package/fesm2022/{acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs → acorex-modules-asset-management-asset-type.entity-CtOnArR9.mjs} +68 -105
  70. package/fesm2022/acorex-modules-asset-management-asset-type.entity-CtOnArR9.mjs.map +1 -0
  71. package/fesm2022/{acorex-modules-asset-management-asset.entity-CamZGWTM.mjs → acorex-modules-asset-management-asset.entity-BaET-kSd.mjs} +257 -245
  72. package/fesm2022/acorex-modules-asset-management-asset.entity-BaET-kSd.mjs.map +1 -0
  73. package/fesm2022/acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs +192 -0
  74. package/fesm2022/acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs.map +1 -0
  75. package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs +363 -0
  76. package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs.map +1 -0
  77. package/fesm2022/acorex-modules-asset-management.mjs +1 -1
  78. package/fesm2022/acorex-modules-business-core.mjs +17 -11
  79. package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
  80. package/fesm2022/acorex-modules-common.mjs +166 -122
  81. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  82. package/fesm2022/acorex-modules-conversation.mjs +4786 -4080
  83. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  84. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-yqfev--M.mjs +8486 -0
  85. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-yqfev--M.mjs.map +1 -0
  86. package/fesm2022/acorex-modules-dashboard-management-index-CYnWQ2od.mjs +127 -0
  87. package/fesm2022/acorex-modules-dashboard-management-index-CYnWQ2od.mjs.map +1 -0
  88. package/fesm2022/acorex-modules-dashboard-management.mjs +1 -7708
  89. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  90. package/fesm2022/acorex-modules-data-management.mjs +63 -35
  91. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  92. package/fesm2022/acorex-modules-document-management.mjs +131 -62
  93. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  94. package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
  95. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  96. package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
  97. package/fesm2022/{acorex-modules-health-core-allergy-type.entity-CS8a-AUb.mjs → acorex-modules-health-core-allergy-type.entity-BvJmDMcr.mjs} +3 -3
  98. package/fesm2022/acorex-modules-health-core-allergy-type.entity-BvJmDMcr.mjs.map +1 -0
  99. package/fesm2022/{acorex-modules-health-core-blood-type.entity-ZgFOuvG4.mjs → acorex-modules-health-core-blood-type.entity-Vpw9y9J5.mjs} +3 -3
  100. package/fesm2022/acorex-modules-health-core-blood-type.entity-Vpw9y9J5.mjs.map +1 -0
  101. package/fesm2022/{acorex-modules-health-core-body-part.entity-JGLwrFE2.mjs → acorex-modules-health-core-body-part.entity-Cz2NEAqm.mjs} +3 -3
  102. package/fesm2022/acorex-modules-health-core-body-part.entity-Cz2NEAqm.mjs.map +1 -0
  103. package/fesm2022/{acorex-modules-health-core-chronic-condition-type.entity-DrxEPQj1.mjs → acorex-modules-health-core-chronic-condition-type.entity-CKWVW0Rg.mjs} +3 -3
  104. package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CKWVW0Rg.mjs.map +1 -0
  105. package/fesm2022/{acorex-modules-health-core-disability-status.entity-UaAQFFMC.mjs → acorex-modules-health-core-disability-status.entity-C7NwwT0i.mjs} +3 -3
  106. package/fesm2022/acorex-modules-health-core-disability-status.entity-C7NwwT0i.mjs.map +1 -0
  107. package/fesm2022/{acorex-modules-health-core-injury-type.entity-DcIn0rxz.mjs → acorex-modules-health-core-injury-type.entity-bfzL6j8C.mjs} +3 -3
  108. package/fesm2022/acorex-modules-health-core-injury-type.entity-bfzL6j8C.mjs.map +1 -0
  109. package/fesm2022/{acorex-modules-health-core-vaccination-type.entity-zYd6KLRC.mjs → acorex-modules-health-core-vaccination-type.entity-CqymQfWK.mjs} +3 -3
  110. package/fesm2022/acorex-modules-health-core-vaccination-type.entity-CqymQfWK.mjs.map +1 -0
  111. package/fesm2022/acorex-modules-health-core.mjs +7 -7
  112. package/fesm2022/acorex-modules-health-core.mjs.map +1 -1
  113. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Ck9q-IWW.mjs +1922 -0
  114. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Ck9q-IWW.mjs.map +1 -0
  115. package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-BRUrGVh1.mjs → acorex-modules-human-capital-management-approve-leave-request.command-qYSPyG_q.mjs} +2 -2
  116. package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-BRUrGVh1.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-qYSPyG_q.mjs.map} +1 -1
  117. package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Da3u1fo5.mjs +90 -0
  118. package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Da3u1fo5.mjs.map +1 -0
  119. package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-B16M3F8s.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-DstI60jo.mjs} +2 -2
  120. package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-B16M3F8s.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-DstI60jo.mjs.map} +1 -1
  121. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs → acorex-modules-human-capital-management-employee.entity-DjMQm3VC.mjs} +71 -25
  122. package/fesm2022/acorex-modules-human-capital-management-employee.entity-DjMQm3VC.mjs.map +1 -0
  123. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-7ZGZYxGM.mjs → acorex-modules-human-capital-management-employment-type.entity-v8WzEHiE.mjs} +5 -5
  124. package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-v8WzEHiE.mjs.map +1 -0
  125. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-B3Rk84bJ.mjs → acorex-modules-human-capital-management-leave-request.entity-B9Bf-Nnm.mjs} +71 -21
  126. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-B9Bf-Nnm.mjs.map +1 -0
  127. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-OKu8_PP1.mjs → acorex-modules-human-capital-management-leave-type.entity-Bpfd_hNb.mjs} +5 -6
  128. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-Bpfd_hNb.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-D_C459kx.mjs → acorex-modules-human-capital-management-position-assignment.entity-f0IDrLSn.mjs} +81 -7
  130. package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-f0IDrLSn.mjs.map +1 -0
  131. package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C0_moDp9.mjs → acorex-modules-human-capital-management-reject-leave-request.command-DxNsroYI.mjs} +2 -2
  132. package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C0_moDp9.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-DxNsroYI.mjs.map} +1 -1
  133. package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-C3J9pcfh.mjs +97 -0
  134. package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-C3J9pcfh.mjs.map +1 -0
  135. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1629
  136. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  137. package/fesm2022/{acorex-modules-learning-management-certificate-definition.entity-27VKYxw1.mjs → acorex-modules-learning-management-certificate-definition.entity-C_r1Djcx.mjs} +4 -4
  138. package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-C_r1Djcx.mjs.map +1 -0
  139. package/fesm2022/{acorex-modules-learning-management-certificate-type.entity-CBM6N-PD.mjs → acorex-modules-learning-management-certificate-type.entity-DAJNtUya.mjs} +42 -20
  140. package/fesm2022/acorex-modules-learning-management-certificate-type.entity-DAJNtUya.mjs.map +1 -0
  141. package/fesm2022/{acorex-modules-learning-management-certificate.entity-BRBJQYji.mjs → acorex-modules-learning-management-certificate.entity-CSD_CX4V.mjs} +5 -5
  142. package/fesm2022/acorex-modules-learning-management-certificate.entity-CSD_CX4V.mjs.map +1 -0
  143. package/fesm2022/{acorex-modules-learning-management-course-type.entity-B1c6PDLq.mjs → acorex-modules-learning-management-course-type.entity-DmjeLMxV.mjs} +39 -17
  144. package/fesm2022/acorex-modules-learning-management-course-type.entity-DmjeLMxV.mjs.map +1 -0
  145. package/fesm2022/{acorex-modules-learning-management-course.entity-BN8XHAPz.mjs → acorex-modules-learning-management-course.entity-DUUgeikJ.mjs} +3 -3
  146. package/fesm2022/acorex-modules-learning-management-course.entity-DUUgeikJ.mjs.map +1 -0
  147. package/fesm2022/{acorex-modules-learning-management-learning-path.entity-8QlM3R4B.mjs → acorex-modules-learning-management-learning-path.entity-Zo--bDto.mjs} +39 -17
  148. package/fesm2022/acorex-modules-learning-management-learning-path.entity-Zo--bDto.mjs.map +1 -0
  149. package/fesm2022/{acorex-modules-learning-management-skill-level.entity-DXOWslpB.mjs → acorex-modules-learning-management-skill-level.entity-XVCTHW3O.mjs} +10 -10
  150. package/fesm2022/acorex-modules-learning-management-skill-level.entity-XVCTHW3O.mjs.map +1 -0
  151. package/fesm2022/{acorex-modules-learning-management-skill.entity-DrLts807.mjs → acorex-modules-learning-management-skill.entity-VXkLbaD4.mjs} +35 -13
  152. package/fesm2022/acorex-modules-learning-management-skill.entity-VXkLbaD4.mjs.map +1 -0
  153. package/fesm2022/{acorex-modules-learning-management-training-definition.entity-NQqJ5avw.mjs → acorex-modules-learning-management-training-definition.entity-BbVZ9_go.mjs} +3 -3
  154. package/fesm2022/acorex-modules-learning-management-training-definition.entity-BbVZ9_go.mjs.map +1 -0
  155. package/fesm2022/{acorex-modules-learning-management-training-type.entity-CoyDCeen.mjs → acorex-modules-learning-management-training-type.entity-C1otrA63.mjs} +36 -14
  156. package/fesm2022/acorex-modules-learning-management-training-type.entity-C1otrA63.mjs.map +1 -0
  157. package/fesm2022/{acorex-modules-learning-management-training.entity-BCGn0T3H.mjs → acorex-modules-learning-management-training.entity-C4KDv1uh.mjs} +3 -3
  158. package/fesm2022/acorex-modules-learning-management-training.entity-C4KDv1uh.mjs.map +1 -0
  159. package/fesm2022/acorex-modules-learning-management.mjs +716 -19
  160. package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
  161. package/fesm2022/acorex-modules-location-management.mjs +18 -99
  162. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  163. package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-CfHMiVos.mjs +7102 -0
  164. package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-CfHMiVos.mjs.map +1 -0
  165. package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs → acorex-modules-maintenance-management-failure-effect.entity-DKbARwJh.mjs} +2 -2
  166. package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-DKbARwJh.mjs.map} +1 -1
  167. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-Br0lvFfu.mjs} +2 -2
  168. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-Br0lvFfu.mjs.map} +1 -1
  169. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-Dydg4AJ7.mjs} +2 -2
  170. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-Dydg4AJ7.mjs.map} +1 -1
  171. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-DHiVJHFj.mjs} +2 -2
  172. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-DHiVJHFj.mjs.map} +1 -1
  173. package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CZfm0U8u.mjs} +2 -2
  174. package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-CZfm0U8u.mjs.map} +1 -1
  175. package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-DbCAFveJ.mjs} +2 -2
  176. package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-DbCAFveJ.mjs.map} +1 -1
  177. package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-D83Yo6dT.mjs} +2 -2
  178. package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-D83Yo6dT.mjs.map} +1 -1
  179. package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs → acorex-modules-maintenance-management-failure-register.entity-zKGo9bOs.mjs} +4 -4
  180. package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-zKGo9bOs.mjs.map +1 -0
  181. package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs → acorex-modules-maintenance-management-failure-severity.entity-Cnvdmt0N.mjs} +2 -2
  182. package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-Cnvdmt0N.mjs.map} +1 -1
  183. package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-CzX0phT-.mjs +391 -0
  184. package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-CzX0phT-.mjs.map +1 -0
  185. package/fesm2022/acorex-modules-maintenance-management.mjs +1 -3579
  186. package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
  187. package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
  188. package/fesm2022/{acorex-modules-notification-management-notification-page.component-DDhCqJtg.mjs → acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs} +5 -5
  189. package/fesm2022/{acorex-modules-notification-management-notification-page.component-DDhCqJtg.mjs.map → acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs.map} +1 -1
  190. package/fesm2022/acorex-modules-notification-management.mjs +36 -22
  191. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  192. package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs +8 -0
  193. package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs.map +1 -0
  194. package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-CnAHfj2t.mjs +925 -0
  195. package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-CnAHfj2t.mjs.map +1 -0
  196. package/fesm2022/acorex-modules-organization-management-business-unit.entity-Dpf7-aeM.mjs +372 -0
  197. package/fesm2022/acorex-modules-organization-management-business-unit.entity-Dpf7-aeM.mjs.map +1 -0
  198. package/fesm2022/{acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs → acorex-modules-organization-management-chart.entity-CQX81AiE.mjs} +37 -33
  199. package/fesm2022/acorex-modules-organization-management-chart.entity-CQX81AiE.mjs.map +1 -0
  200. package/fesm2022/{acorex-modules-organization-management-company.entity-BohMJQNi.mjs → acorex-modules-organization-management-company.entity-D-RWQ_8O.mjs} +8 -10
  201. package/fesm2022/acorex-modules-organization-management-company.entity-D-RWQ_8O.mjs.map +1 -0
  202. package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs +48 -0
  203. package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs.map +1 -0
  204. package/fesm2022/acorex-modules-organization-management-entity.provider-BdaKwTZq.mjs +61 -0
  205. package/fesm2022/acorex-modules-organization-management-entity.provider-BdaKwTZq.mjs.map +1 -0
  206. package/fesm2022/acorex-modules-organization-management-feature-definition.provider-EzMuHJ2K.mjs +19 -0
  207. package/fesm2022/acorex-modules-organization-management-feature-definition.provider-EzMuHJ2K.mjs.map +1 -0
  208. package/fesm2022/acorex-modules-organization-management-job-definition-matrix-page.utils-DD3jLujN.mjs +61 -0
  209. package/fesm2022/acorex-modules-organization-management-job-definition-matrix-page.utils-DD3jLujN.mjs.map +1 -0
  210. package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-C8_Ab3Q7.mjs +28 -0
  211. package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-C8_Ab3Q7.mjs.map +1 -0
  212. package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-DHUlvoOO.mjs +223 -0
  213. package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-DHUlvoOO.mjs.map +1 -0
  214. package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-BpVESnnH.mjs +219 -0
  215. package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-BpVESnnH.mjs.map +1 -0
  216. package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs → acorex-modules-organization-management-job-definition.entity-H8VAbZ_r.mjs} +21 -154
  217. package/fesm2022/acorex-modules-organization-management-job-definition.entity-H8VAbZ_r.mjs.map +1 -0
  218. package/fesm2022/acorex-modules-organization-management-job-level.datasource-Dxfq0cGw.mjs +95 -0
  219. package/fesm2022/acorex-modules-organization-management-job-level.datasource-Dxfq0cGw.mjs.map +1 -0
  220. package/fesm2022/acorex-modules-organization-management-job-level.entity-Bdja794J.mjs +271 -0
  221. package/fesm2022/acorex-modules-organization-management-job-level.entity-Bdja794J.mjs.map +1 -0
  222. package/fesm2022/acorex-modules-organization-management-menu.provider-DnvNM-pk.mjs +192 -0
  223. package/fesm2022/acorex-modules-organization-management-menu.provider-DnvNM-pk.mjs.map +1 -0
  224. package/fesm2022/acorex-modules-organization-management-org-chart.page-COkMtxFO.mjs +1740 -0
  225. package/fesm2022/acorex-modules-organization-management-org-chart.page-COkMtxFO.mjs.map +1 -0
  226. package/fesm2022/acorex-modules-organization-management-organization-code-identifier-rules.provider-pocBJezL.mjs +37 -0
  227. package/fesm2022/acorex-modules-organization-management-organization-code-identifier-rules.provider-pocBJezL.mjs.map +1 -0
  228. package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BDLIuqxU.mjs +76 -0
  229. package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BDLIuqxU.mjs.map +1 -0
  230. package/fesm2022/{acorex-modules-organization-management-position.entity-DLPufeWz.mjs → acorex-modules-organization-management-position.entity-BpbzqtEY.mjs} +113 -112
  231. package/fesm2022/acorex-modules-organization-management-position.entity-BpbzqtEY.mjs.map +1 -0
  232. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CGkXAtH2.mjs} +26 -29
  233. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CGkXAtH2.mjs.map +1 -0
  234. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Dw-tX5XI.mjs} +2 -2
  235. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Dw-tX5XI.mjs.map} +1 -1
  236. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs → acorex-modules-organization-management-responsibilities-matrix.component-D_ClGAIJ.mjs} +14 -21
  237. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-D_ClGAIJ.mjs.map +1 -0
  238. package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-CzkogsDv.mjs +135 -0
  239. package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-CzkogsDv.mjs.map +1 -0
  240. package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs → acorex-modules-organization-management-responsibility.entity-DfKM6HV7.mjs} +5 -7
  241. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DfKM6HV7.mjs.map +1 -0
  242. package/fesm2022/acorex-modules-organization-management-settings.provider-DaeJkP0y.mjs +228 -0
  243. package/fesm2022/acorex-modules-organization-management-settings.provider-DaeJkP0y.mjs.map +1 -0
  244. package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-Cm9qcAG7.mjs +300 -0
  245. package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-Cm9qcAG7.mjs.map +1 -0
  246. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-B3xgLE6N.mjs +150 -0
  247. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-B3xgLE6N.mjs.map +1 -0
  248. package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs → acorex-modules-organization-management-team-member.entity-Dk9t9S1r.mjs} +6 -17
  249. package/fesm2022/acorex-modules-organization-management-team-member.entity-Dk9t9S1r.mjs.map +1 -0
  250. package/fesm2022/{acorex-modules-organization-management-team.entity-CGR0UlYl.mjs → acorex-modules-organization-management-team.entity-BbcFYP20.mjs} +113 -42
  251. package/fesm2022/acorex-modules-organization-management-team.entity-BbcFYP20.mjs.map +1 -0
  252. package/fesm2022/acorex-modules-organization-management.mjs +1 -2216
  253. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  254. package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs +40 -0
  255. package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs.map +1 -0
  256. package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs +33 -0
  257. package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +1 -0
  258. package/fesm2022/acorex-modules-platform-dev-tools.mjs +14 -94
  259. package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
  260. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs → acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs} +107 -107
  261. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs.map +1 -0
  262. package/fesm2022/acorex-modules-report-management.mjs +3 -3
  263. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  264. package/fesm2022/{acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs → acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs} +65 -76
  265. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs.map +1 -0
  266. package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs} +2 -2
  267. package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs.map → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs.map} +1 -1
  268. package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs} +2 -2
  269. package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs.map → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs.map} +1 -1
  270. package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs} +2 -2
  271. package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs.map → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs.map} +1 -1
  272. package/fesm2022/acorex-modules-reservation-management.mjs +1 -1
  273. package/fesm2022/acorex-modules-security-management.mjs +507 -179
  274. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  275. package/fesm2022/{acorex-modules-task-management-task-board.page-C1H_GTqy.mjs → acorex-modules-task-management-task-board.page-DA2563QE.mjs} +15 -10
  276. package/fesm2022/acorex-modules-task-management-task-board.page-DA2563QE.mjs.map +1 -0
  277. package/fesm2022/acorex-modules-task-management.mjs +280 -226
  278. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  279. package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +5 -0
  280. package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +1 -0
  281. package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs} +14 -6
  282. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs.map +1 -0
  283. package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs} +31 -16
  284. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs.map +1 -0
  285. package/fesm2022/{acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs → acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs} +10 -12
  286. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs.map +1 -0
  287. package/fesm2022/acorex-modules-workflow-management-index-Bx2uYraH.mjs +295 -0
  288. package/fesm2022/acorex-modules-workflow-management-index-Bx2uYraH.mjs.map +1 -0
  289. package/fesm2022/{acorex-modules-workflow-management-index-DWIDQsWq.mjs → acorex-modules-workflow-management-index-C9Qc07oK.mjs} +125 -3
  290. package/fesm2022/acorex-modules-workflow-management-index-C9Qc07oK.mjs.map +1 -0
  291. package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs +726 -0
  292. package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs.map +1 -0
  293. package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs +56 -0
  294. package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs.map +1 -0
  295. package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs → acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs} +101 -140
  296. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs.map +1 -0
  297. package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs → acorex-modules-workflow-management-workflow-instance.entity-D-KnWlsU.mjs} +10 -1
  298. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-D-KnWlsU.mjs.map +1 -0
  299. package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs → acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs} +11 -7
  300. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs.map +1 -0
  301. package/fesm2022/acorex-modules-workflow-management.mjs +996 -423
  302. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  303. package/organization-management/README.md +5 -1
  304. package/package.json +2 -2
  305. package/types/acorex-modules-ai-management.d.ts +91 -16
  306. package/types/acorex-modules-asset-management.d.ts +214 -83
  307. package/types/acorex-modules-business-core.d.ts +8 -11
  308. package/types/acorex-modules-common.d.ts +20 -8
  309. package/types/acorex-modules-conversation.d.ts +1 -0
  310. package/types/acorex-modules-dashboard-management.d.ts +348 -177
  311. package/types/acorex-modules-data-management.d.ts +2 -2
  312. package/types/acorex-modules-document-management.d.ts +7 -4
  313. package/types/acorex-modules-financial-core.d.ts +26 -19
  314. package/types/acorex-modules-form-template-management.d.ts +3 -3
  315. package/types/acorex-modules-health-core.d.ts +23 -29
  316. package/types/acorex-modules-human-capital-management.d.ts +28 -2
  317. package/types/acorex-modules-learning-management.d.ts +242 -105
  318. package/types/acorex-modules-maintenance-management.d.ts +563 -41
  319. package/types/acorex-modules-measurement-core.d.ts +95 -33
  320. package/types/acorex-modules-notification-management.d.ts +7 -3
  321. package/types/acorex-modules-organization-management.d.ts +272 -109
  322. package/types/acorex-modules-security-management.d.ts +40 -1
  323. package/types/acorex-modules-task-management.d.ts +20 -15
  324. package/types/acorex-modules-workflow-management.d.ts +121 -15
  325. package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs.map +0 -1
  326. package/fesm2022/acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs.map +0 -1
  327. package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs.map +0 -1
  328. package/fesm2022/acorex-modules-ai-management-index-KX3TVRXr.mjs +0 -2
  329. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs.map +0 -1
  330. package/fesm2022/acorex-modules-assessment-management-index-B2SncZAW.mjs.map +0 -1
  331. package/fesm2022/acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs.map +0 -1
  332. package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs.map +0 -1
  333. package/fesm2022/acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs.map +0 -1
  334. package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs.map +0 -1
  335. package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs.map +0 -1
  336. package/fesm2022/acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs.map +0 -1
  337. package/fesm2022/acorex-modules-asset-management-asset.entity-CamZGWTM.mjs.map +0 -1
  338. package/fesm2022/acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs.map +0 -1
  339. package/fesm2022/acorex-modules-health-core-allergy-type.entity-CS8a-AUb.mjs.map +0 -1
  340. package/fesm2022/acorex-modules-health-core-blood-type.entity-ZgFOuvG4.mjs.map +0 -1
  341. package/fesm2022/acorex-modules-health-core-body-part.entity-JGLwrFE2.mjs.map +0 -1
  342. package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-DrxEPQj1.mjs.map +0 -1
  343. package/fesm2022/acorex-modules-health-core-disability-status.entity-UaAQFFMC.mjs.map +0 -1
  344. package/fesm2022/acorex-modules-health-core-injury-type.entity-DcIn0rxz.mjs.map +0 -1
  345. package/fesm2022/acorex-modules-health-core-vaccination-type.entity-zYd6KLRC.mjs.map +0 -1
  346. package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs.map +0 -1
  347. package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-7ZGZYxGM.mjs.map +0 -1
  348. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-B3Rk84bJ.mjs.map +0 -1
  349. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-OKu8_PP1.mjs.map +0 -1
  350. package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-D_C459kx.mjs.map +0 -1
  351. package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-27VKYxw1.mjs.map +0 -1
  352. package/fesm2022/acorex-modules-learning-management-certificate-type.entity-CBM6N-PD.mjs.map +0 -1
  353. package/fesm2022/acorex-modules-learning-management-certificate.entity-BRBJQYji.mjs.map +0 -1
  354. package/fesm2022/acorex-modules-learning-management-course-type.entity-B1c6PDLq.mjs.map +0 -1
  355. package/fesm2022/acorex-modules-learning-management-course.entity-BN8XHAPz.mjs.map +0 -1
  356. package/fesm2022/acorex-modules-learning-management-learning-path.entity-8QlM3R4B.mjs.map +0 -1
  357. package/fesm2022/acorex-modules-learning-management-skill-level.entity-DXOWslpB.mjs.map +0 -1
  358. package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-edit.component-CaeZ9P_I.mjs +0 -162
  359. package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-edit.component-CaeZ9P_I.mjs.map +0 -1
  360. package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-view.component-1oWMtdrN.mjs +0 -70
  361. package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-view.component-1oWMtdrN.mjs.map +0 -1
  362. package/fesm2022/acorex-modules-learning-management-skill-matrix.component-_cFwIN-z.mjs +0 -468
  363. package/fesm2022/acorex-modules-learning-management-skill-matrix.component-_cFwIN-z.mjs.map +0 -1
  364. package/fesm2022/acorex-modules-learning-management-skill.entity-DrLts807.mjs.map +0 -1
  365. package/fesm2022/acorex-modules-learning-management-training-definition.entity-NQqJ5avw.mjs.map +0 -1
  366. package/fesm2022/acorex-modules-learning-management-training-type.entity-CoyDCeen.mjs.map +0 -1
  367. package/fesm2022/acorex-modules-learning-management-training.entity-BCGn0T3H.mjs.map +0 -1
  368. package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs.map +0 -1
  369. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs +0 -91
  370. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs.map +0 -1
  371. package/fesm2022/acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs.map +0 -1
  372. package/fesm2022/acorex-modules-organization-management-company.entity-BohMJQNi.mjs.map +0 -1
  373. package/fesm2022/acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs.map +0 -1
  374. package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs +0 -784
  375. package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map +0 -1
  376. package/fesm2022/acorex-modules-organization-management-position.entity-DLPufeWz.mjs.map +0 -1
  377. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs.map +0 -1
  378. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs.map +0 -1
  379. package/fesm2022/acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs.map +0 -1
  380. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs +0 -88
  381. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs.map +0 -1
  382. package/fesm2022/acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs.map +0 -1
  383. package/fesm2022/acorex-modules-organization-management-team.entity-CGR0UlYl.mjs.map +0 -1
  384. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs.map +0 -1
  385. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs.map +0 -1
  386. package/fesm2022/acorex-modules-task-management-task-board.page-C1H_GTqy.mjs.map +0 -1
  387. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs.map +0 -1
  388. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs.map +0 -1
  389. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs.map +0 -1
  390. package/fesm2022/acorex-modules-workflow-management-index-DWIDQsWq.mjs.map +0 -1
  391. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs.map +0 -1
  392. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs.map +0 -1
  393. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs.map +0 -1
@@ -1,6 +1,7 @@
1
+ import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
1
2
  import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
2
3
  import { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS, AXPSearchCommandProvider, createEntityCommandOptions, AXPStatusProvider } from '@acorex/platform/common';
3
- import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER, AXPDataGenerator, resolveMultiLanguageString } from '@acorex/platform/core';
4
+ import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPDataGenerator } from '@acorex/platform/core';
4
5
  import { AXP_PAGE_COMPONENT_PROVIDER, AXPStandardSectionItemsBuilderComponent } from '@acorex/platform/layout/components';
5
6
  import { AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER, AXPEntityService } from '@acorex/platform/layout/entity';
6
7
  import { provideCommand, AXPCommandService } from '@acorex/platform/runtime';
@@ -12,7 +13,7 @@ import { AXButtonModule } from '@acorex/components/button';
12
13
  import * as i2 from '@acorex/components/decorators';
13
14
  import { AXDecoratorModule } from '@acorex/components/decorators';
14
15
  import * as i4 from '@acorex/core/translation';
15
- import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
16
+ import { AXTranslationService, resolveMultiLanguageString, AXTranslationModule } from '@acorex/core/translation';
16
17
  import { AXPLayoutBuilderService } from '@acorex/platform/layout/builder';
17
18
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
18
19
  import * as i3 from '@angular/common';
@@ -32,29 +33,36 @@ const RootConfig = {
32
33
  route: config.route,
33
34
  name: config.module,
34
35
  title: '@asset-management:module.title',
35
- icon: 'fa-light fa-box',
36
+ icon: 'fa-light fa-industry',
36
37
  },
37
38
  entities: {
38
- assetSystemHistory: {
39
- name: 'AssetSystemHistory',
40
- source: `${config.module}.AssetSystemHistory`,
41
- title: '@asset-management:assetSystemHistories.entities.assetSystemHistory.title',
42
- titlePlural: '@asset-management:assetSystemHistories.entities.assetSystemHistory.plural',
43
- icon: 'fa-light fa-history',
39
+ assetRentalHistory: {
40
+ name: 'AssetRentalHistory',
41
+ source: `${config.module}.AssetRentalHistory`,
42
+ title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.title',
43
+ titlePlural: '@asset-management:assetRentalHistories.entities.assetRentalHistory.plural',
44
+ icon: 'fa-light fa-clock-rotate-left',
45
+ },
46
+ assetSystemAssignment: {
47
+ name: 'AssetSystemAssignment',
48
+ source: `${config.module}.AssetSystemAssignment`,
49
+ title: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.title',
50
+ titlePlural: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.plural',
51
+ icon: 'fa-light fa-link',
44
52
  },
45
53
  asset: {
46
54
  name: 'Asset',
47
55
  source: `${config.module}.Asset`,
48
56
  title: '@asset-management:assets.entities.asset.title',
49
57
  titlePlural: '@asset-management:assets.entities.asset.plural',
50
- icon: 'fa-light fa-boxes-stacked',
58
+ icon: 'fa-light fa-box',
51
59
  },
52
60
  assetType: {
53
61
  name: 'AssetType',
54
62
  source: `${config.module}.AssetType`,
55
63
  title: '@asset-management:assetTypes.entities.assetType.title',
56
64
  titlePlural: '@asset-management:assetTypes.entities.assetType.plural',
57
- icon: 'fa-light fa-boxes-stacked',
65
+ icon: 'fa-light fa-cubes',
58
66
  },
59
67
  assetTypeSection: {
60
68
  name: 'AssetTypeSection',
@@ -68,14 +76,14 @@ const RootConfig = {
68
76
  source: `${config.module}.AssetTypeSectionComponent`,
69
77
  title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.title',
70
78
  titlePlural: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.plural',
71
- icon: 'fa-light fa-table-cells-large',
79
+ icon: 'fa-light fa-puzzle-piece',
72
80
  },
73
81
  assetSystemType: {
74
82
  name: 'AssetSystemType',
75
83
  source: `${config.module}.AssetSystemType`,
76
84
  title: '@asset-management:assetSystemTypes.entities.assetSystemType.title',
77
85
  titlePlural: '@asset-management:assetSystemTypes.entities.assetSystemType.plural',
78
- icon: 'fa-light fa-sitemap',
86
+ icon: 'fa-light fa-diagram-subtask',
79
87
  },
80
88
  assetSystem: {
81
89
  name: 'AssetSystem',
@@ -112,39 +120,39 @@ const RootConfig = {
112
120
  //#region ---- Imports ----
113
121
  //#endregion
114
122
  //#region ---- Service ----
115
- class AXMAssetManagementAssetSystemHistoryEntityService extends AXMEntityCrudServiceImpl {
123
+ class AXMAssetManagementAssetRentalHistoryEntityService extends AXMEntityCrudServiceImpl {
116
124
  }
117
- class AXMAssetManagementAssetSystemHistoryEntityServiceImpl extends AXMAssetManagementAssetSystemHistoryEntityService {
125
+ class AXMAssetManagementAssetRentalHistoryEntityServiceImpl extends AXMAssetManagementAssetRentalHistoryEntityService {
118
126
  constructor() {
119
- super(`${RootConfig.module.name}.${RootConfig.entities.assetSystemHistory.name}`);
127
+ super(`${RootConfig.module.name}.${RootConfig.entities.assetRentalHistory.name}`);
120
128
  }
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
122
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityServiceImpl }); }
129
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
130
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityServiceImpl }); }
123
131
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityServiceImpl, decorators: [{
132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityServiceImpl, decorators: [{
125
133
  type: Injectable
126
134
  }], ctorParameters: () => [] });
127
135
 
128
136
  //#region ---- Imports ----
129
137
  //#endregion
130
138
  //#region ---- Module ----
131
- class AXMAssetManagementAssetSystemHistoryEntityModule {
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
133
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityModule }); }
134
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityModule, providers: [
139
+ class AXMAssetManagementAssetRentalHistoryEntityModule {
140
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
141
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityModule }); }
142
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityModule, providers: [
135
143
  {
136
- provide: AXMAssetManagementAssetSystemHistoryEntityService,
137
- useClass: AXMAssetManagementAssetSystemHistoryEntityServiceImpl,
144
+ provide: AXMAssetManagementAssetRentalHistoryEntityService,
145
+ useClass: AXMAssetManagementAssetRentalHistoryEntityServiceImpl,
138
146
  },
139
147
  ] }); }
140
148
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemHistoryEntityModule, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityModule, decorators: [{
142
150
  type: NgModule,
143
151
  args: [{
144
152
  providers: [
145
153
  {
146
- provide: AXMAssetManagementAssetSystemHistoryEntityService,
147
- useClass: AXMAssetManagementAssetSystemHistoryEntityServiceImpl,
154
+ provide: AXMAssetManagementAssetRentalHistoryEntityService,
155
+ useClass: AXMAssetManagementAssetRentalHistoryEntityServiceImpl,
148
156
  },
149
157
  ],
150
158
  }]
@@ -153,39 +161,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
153
161
  //#region ---- Imports ----
154
162
  //#endregion
155
163
  //#region ---- Service ----
156
- class AXMAssetManagementAssetSystemEntityService extends AXMEntityCrudServiceImpl {
164
+ class AXMAssetManagementAssetSystemAssignmentEntityService extends AXMEntityCrudServiceImpl {
157
165
  }
158
- class AXMAssetManagementAssetSystemEntityServiceImpl extends AXMAssetManagementAssetSystemEntityService {
166
+ class AXMAssetManagementAssetSystemAssignmentEntityServiceImpl extends AXMAssetManagementAssetSystemAssignmentEntityService {
159
167
  constructor() {
160
- super(`${RootConfig.module.name}.${RootConfig.entities.assetSystem.name}`);
168
+ super(`${RootConfig.module.name}.${RootConfig.entities.assetSystemAssignment.name}`);
161
169
  }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
163
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl }); }
170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
171
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityServiceImpl }); }
164
172
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityServiceImpl, decorators: [{
166
174
  type: Injectable
167
175
  }], ctorParameters: () => [] });
168
176
 
169
177
  //#region ---- Imports ----
170
178
  //#endregion
171
179
  //#region ---- Module ----
172
- class AXMAssetManagementAssetSystemEntityModule {
173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
174
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule }); }
175
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, providers: [
180
+ class AXMAssetManagementAssetSystemAssignmentEntityModule {
181
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
182
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityModule }); }
183
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityModule, providers: [
176
184
  {
177
- provide: AXMAssetManagementAssetSystemEntityService,
178
- useClass: AXMAssetManagementAssetSystemEntityServiceImpl,
185
+ provide: AXMAssetManagementAssetSystemAssignmentEntityService,
186
+ useClass: AXMAssetManagementAssetSystemAssignmentEntityServiceImpl,
179
187
  },
180
188
  ] }); }
181
189
  }
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemAssignmentEntityModule, decorators: [{
183
191
  type: NgModule,
184
192
  args: [{
185
193
  providers: [
186
194
  {
187
- provide: AXMAssetManagementAssetSystemEntityService,
188
- useClass: AXMAssetManagementAssetSystemEntityServiceImpl,
195
+ provide: AXMAssetManagementAssetSystemAssignmentEntityService,
196
+ useClass: AXMAssetManagementAssetSystemAssignmentEntityServiceImpl,
189
197
  },
190
198
  ],
191
199
  }]
@@ -232,6 +240,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
232
240
  }]
233
241
  }] });
234
242
 
243
+ //#region ---- Imports ----
244
+ //#endregion
245
+ //#region ---- Service ----
246
+ class AXMAssetManagementAssetSystemEntityService extends AXMEntityCrudServiceImpl {
247
+ }
248
+ class AXMAssetManagementAssetSystemEntityServiceImpl extends AXMAssetManagementAssetSystemEntityService {
249
+ constructor() {
250
+ super(`${RootConfig.module.name}.${RootConfig.entities.assetSystem.name}`);
251
+ }
252
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
253
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl }); }
254
+ }
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityServiceImpl, decorators: [{
256
+ type: Injectable
257
+ }], ctorParameters: () => [] });
258
+
259
+ //#region ---- Imports ----
260
+ //#endregion
261
+ //#region ---- Module ----
262
+ class AXMAssetManagementAssetSystemEntityModule {
263
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
264
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule }); }
265
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, providers: [
266
+ {
267
+ provide: AXMAssetManagementAssetSystemEntityService,
268
+ useClass: AXMAssetManagementAssetSystemEntityServiceImpl,
269
+ },
270
+ ] }); }
271
+ }
272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetSystemEntityModule, decorators: [{
273
+ type: NgModule,
274
+ args: [{
275
+ providers: [
276
+ {
277
+ provide: AXMAssetManagementAssetSystemEntityService,
278
+ useClass: AXMAssetManagementAssetSystemEntityServiceImpl,
279
+ },
280
+ ],
281
+ }]
282
+ }] });
283
+
235
284
  //#region ---- Imports ----
236
285
  //#endregion
237
286
  //#region ---- Service ----
@@ -396,6 +445,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
396
445
  }]
397
446
  }] });
398
447
 
448
+ const AXM_ASSET_CODE_IDENTIFIER_RULE = {
449
+ id: 'asset-code',
450
+ title: 'Asset Code',
451
+ entity: 'AssetManagement.Asset',
452
+ /** `AST-` + asset type `code` (from request `payload.assetTypeCode`) + padded sequence. */
453
+ pattern: 'ASST-{date:YYYYMM}-{seq:4}',
454
+ enabled: true,
455
+ priority: 1,
456
+ scopeConfig: { byTenant: true, period: 'yearly', minValue: 1, blockSize: 0 },
457
+ };
458
+
459
+ const AXM_ASSET_SYSTEMTYPE_CODE_IDENTIFIER_RULE = {
460
+ id: 'asset-system-type-code',
461
+ title: 'Asset System Type Code',
462
+ entity: 'AssetManagement.AssetSystemType',
463
+ pattern: 'ASYS-{seq:2}',
464
+ enabled: true,
465
+ priority: 1,
466
+ scopeConfig: { byTenant: false, minValue: 1, blockSize: 0 },
467
+ };
468
+
469
+ const AXM_ASSET_TYPE_CODE_IDENTIFIER_RULE = {
470
+ id: 'asset-type-code',
471
+ title: 'Asset Type Code',
472
+ entity: 'AssetManagement.AssetType',
473
+ pattern: 'AST-{seq:2}',
474
+ enabled: true,
475
+ priority: 1,
476
+ scopeConfig: { byTenant: false, minValue: 1, blockSize: 0 },
477
+ };
478
+
399
479
  //#region ---- Imports ----
400
480
  //#endregion
401
481
  //#region ---- Manifest Definition ----
@@ -420,13 +500,29 @@ const AssetManagementManifest = {
420
500
  class AXMAssetManagementModule {
421
501
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
422
502
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementModule, imports: [AXMAssetManagementAssetEntityModule,
503
+ AXMAssetManagementAssetRentalHistoryEntityModule,
423
504
  AXMAssetManagementAssetSystemEntityModule,
424
- AXMAssetManagementAssetSystemHistoryEntityModule,
505
+ AXMAssetManagementAssetSystemAssignmentEntityModule,
425
506
  AXMAssetManagementAssetSystemTypeEntityModule,
426
507
  AXMAssetManagementAssetTypeEntityModule,
427
508
  AXMAssetManagementAssetTypeSectionEntityModule,
428
509
  AXMAssetManagementAssetTypeSectionComponentEntityModule] }); }
429
510
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementModule, providers: [
511
+ {
512
+ provide: AXP_IDENTIFIER_RULES,
513
+ multi: true,
514
+ useValue: AXM_ASSET_CODE_IDENTIFIER_RULE,
515
+ },
516
+ {
517
+ provide: AXP_IDENTIFIER_RULES,
518
+ multi: true,
519
+ useValue: AXM_ASSET_TYPE_CODE_IDENTIFIER_RULE,
520
+ },
521
+ {
522
+ provide: AXP_IDENTIFIER_RULES,
523
+ multi: true,
524
+ useValue: AXM_ASSET_SYSTEMTYPE_CODE_IDENTIFIER_RULE,
525
+ },
430
526
  // Module Manifest Provider
431
527
  {
432
528
  provide: AXP_MODULE_MANIFEST_PROVIDER,
@@ -445,11 +541,15 @@ class AXMAssetManagementModule {
445
541
  provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssetManagementSearchCommandProvider)),
446
542
  provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index; }).then((m) => m.AXMAssetTypeComponentsPageComponentProvider)),
447
543
  provideCommand('AssetType:Components:Save', () => Promise.resolve().then(function () { return saveAssetTypeComponents_command; }).then((m) => m.AXMSaveAssetTypeComponentsCommand)),
544
+ provideLazyProvider(AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, () => import('./acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs').then((m) => m.AXMAssetManagementAssetStatusRulesExpressionScopeProvider)),
448
545
  // Status Providers
449
546
  provideLazyProvider(AXP_STATUS_PROVIDERS, () => Promise.resolve().then(function () { return assetStatus_provider; }).then((m) => m.AXMAssetManagementAssetStatusProvider)),
547
+ provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs').then((m) => m.AXMAssetManagementAssetLifecycleStatusProvider)),
548
+ provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-status.provider-C41t4e2U.mjs').then((m) => m.AXMAssetManagementAssetStatusProvider)),
450
549
  ], imports: [AXMAssetManagementAssetEntityModule,
550
+ AXMAssetManagementAssetRentalHistoryEntityModule,
451
551
  AXMAssetManagementAssetSystemEntityModule,
452
- AXMAssetManagementAssetSystemHistoryEntityModule,
552
+ AXMAssetManagementAssetSystemAssignmentEntityModule,
453
553
  AXMAssetManagementAssetSystemTypeEntityModule,
454
554
  AXMAssetManagementAssetTypeEntityModule,
455
555
  AXMAssetManagementAssetTypeSectionEntityModule,
@@ -460,14 +560,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
460
560
  args: [{
461
561
  imports: [
462
562
  AXMAssetManagementAssetEntityModule,
563
+ AXMAssetManagementAssetRentalHistoryEntityModule,
463
564
  AXMAssetManagementAssetSystemEntityModule,
464
- AXMAssetManagementAssetSystemHistoryEntityModule,
565
+ AXMAssetManagementAssetSystemAssignmentEntityModule,
465
566
  AXMAssetManagementAssetSystemTypeEntityModule,
466
567
  AXMAssetManagementAssetTypeEntityModule,
467
568
  AXMAssetManagementAssetTypeSectionEntityModule,
468
569
  AXMAssetManagementAssetTypeSectionComponentEntityModule,
469
570
  ],
470
571
  providers: [
572
+ {
573
+ provide: AXP_IDENTIFIER_RULES,
574
+ multi: true,
575
+ useValue: AXM_ASSET_CODE_IDENTIFIER_RULE,
576
+ },
577
+ {
578
+ provide: AXP_IDENTIFIER_RULES,
579
+ multi: true,
580
+ useValue: AXM_ASSET_TYPE_CODE_IDENTIFIER_RULE,
581
+ },
582
+ {
583
+ provide: AXP_IDENTIFIER_RULES,
584
+ multi: true,
585
+ useValue: AXM_ASSET_SYSTEMTYPE_CODE_IDENTIFIER_RULE,
586
+ },
471
587
  // Module Manifest Provider
472
588
  {
473
589
  provide: AXP_MODULE_MANIFEST_PROVIDER,
@@ -486,8 +602,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
486
602
  provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssetManagementSearchCommandProvider)),
487
603
  provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return index; }).then((m) => m.AXMAssetTypeComponentsPageComponentProvider)),
488
604
  provideCommand('AssetType:Components:Save', () => Promise.resolve().then(function () { return saveAssetTypeComponents_command; }).then((m) => m.AXMSaveAssetTypeComponentsCommand)),
605
+ provideLazyProvider(AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, () => import('./acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs').then((m) => m.AXMAssetManagementAssetStatusRulesExpressionScopeProvider)),
489
606
  // Status Providers
490
607
  provideLazyProvider(AXP_STATUS_PROVIDERS, () => Promise.resolve().then(function () { return assetStatus_provider; }).then((m) => m.AXMAssetManagementAssetStatusProvider)),
608
+ provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs').then((m) => m.AXMAssetManagementAssetLifecycleStatusProvider)),
609
+ provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-status.provider-C41t4e2U.mjs').then((m) => m.AXMAssetManagementAssetStatusProvider)),
491
610
  ],
492
611
  }]
493
612
  }] });
@@ -503,19 +622,21 @@ class AXMAssetManagementEntityProvider {
503
622
  if (moduleName === RootConfig.module.name) {
504
623
  switch (entityName) {
505
624
  case RootConfig.entities.asset.name:
506
- return (await import('./acorex-modules-asset-management-asset.entity-CamZGWTM.mjs')).factory(this.injector);
625
+ return (await import('./acorex-modules-asset-management-asset.entity-BaET-kSd.mjs')).factory(this.injector);
507
626
  case RootConfig.entities.assetType.name:
508
- return (await import('./acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs')).factory(this.injector);
627
+ return (await import('./acorex-modules-asset-management-asset-type.entity-CtOnArR9.mjs')).factory(this.injector);
509
628
  case RootConfig.entities.assetTypeSection.name:
510
- return (await import('./acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs')).factory(this.injector);
629
+ return (await import('./acorex-modules-asset-management-asset-type-section.entity-C1DJZZFy.mjs')).factory(this.injector);
511
630
  case RootConfig.entities.assetTypeSectionComponent.name:
512
- return (await import('./acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs')).factory(this.injector);
631
+ return (await import('./acorex-modules-asset-management-asset-type-section-component.entity-BQjGo1s1.mjs')).factory(this.injector);
513
632
  case RootConfig.entities.assetSystemType.name:
514
- return (await import('./acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs')).factory(this.injector);
633
+ return (await import('./acorex-modules-asset-management-asset-system-type.entity-b_o5UnuE.mjs')).factory(this.injector);
515
634
  case RootConfig.entities.assetSystem.name:
516
- return (await import('./acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs')).factory(this.injector);
517
- case RootConfig.entities.assetSystemHistory.name:
518
- return (await import('./acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs')).factory(this.injector);
635
+ return (await import('./acorex-modules-asset-management-asset-system.entity-C6ak4u9z.mjs')).factory(this.injector);
636
+ case RootConfig.entities.assetSystemAssignment.name:
637
+ return (await import('./acorex-modules-asset-management-asset-system-assignment.entity-BRz8vItS.mjs')).factory(this.injector);
638
+ case RootConfig.entities.assetRentalHistory.name:
639
+ return (await import('./acorex-modules-asset-management-asset-rental-history.entity-B_QZI3Cy.mjs')).factory(this.injector);
519
640
  }
520
641
  }
521
642
  return null;
@@ -587,6 +708,10 @@ var featureDefinition_provider = /*#__PURE__*/Object.freeze({
587
708
 
588
709
  const AXMAssetManagementMenuKeys = {
589
710
  Root: 'AssetManagement:Menu',
711
+ MainPlanEquipmentAssetsSectionGroup: 'AssetManagement:Menu:MainPlanEquipment:AssetsSectionGroup',
712
+ MainPlanEquipmentAssetsMaintenanceDivider: 'AssetManagement:Menu:MainPlanEquipment:AssetsMaintenanceDivider',
713
+ PlanEquipmentAssets: 'AssetManagement:Menu:PlanEquipment:Assets',
714
+ PlanEquipmentAssetsMaintenanceDivider: 'AssetManagement:Menu:PlanEquipment:AssetsMaintenanceDivider',
590
715
  Assets: 'AssetManagement:Menu:Assets',
591
716
  AssetSystems: 'AssetManagement:Menu:AssetSystems',
592
717
  AssetTypes: 'AssetManagement:Menu:AssetTypes',
@@ -608,73 +733,106 @@ class AXMAssetManagementMenuProvider {
608
733
  }
609
734
  async provide(context) {
610
735
  const module = RootConfig.module;
611
- const assetConfigMenu = context.find(AXPCommonMenuKeys.AssetConfig);
612
- if (!assetConfigMenu.exists) {
736
+ const PLAN_EQUIPMENT_MENU_KEY = 'Configuration:Menu:PlanEquipment';
737
+ const mainAssetsSectionGroup = context.find(AXMAssetManagementMenuKeys.MainPlanEquipmentAssetsSectionGroup);
738
+ if (!mainAssetsSectionGroup.exists) {
739
+ context.find(AXPCommonMenuKeys.PlanEquipment).addItems([
740
+ {
741
+ name: AXMAssetManagementMenuKeys.MainPlanEquipmentAssetsSectionGroup,
742
+ priority: 1,
743
+ text: '@general:menus.assets.title',
744
+ type: 'group',
745
+ },
746
+ ]);
747
+ }
748
+ context.find(AXPCommonMenuKeys.PlanEquipment).addItems([
749
+ {
750
+ name: AXMAssetManagementMenuKeys.Assets,
751
+ text: '@asset-management:assets.menus.root.title',
752
+ path: this.entityService.createPath(module.name, RootConfig.entities.asset.name),
753
+ priority: 2,
754
+ icon: RootConfig.entities.asset.icon,
755
+ policy: {
756
+ features: [module.name],
757
+ },
758
+ },
759
+ {
760
+ name: AXMAssetManagementMenuKeys.AssetSystems,
761
+ text: '@asset-management:assetSystems.menus.root.title',
762
+ path: this.entityService.createPath(module.name, RootConfig.entities.assetSystem.name),
763
+ priority: 3,
764
+ icon: RootConfig.entities.assetSystem.icon,
765
+ policy: {
766
+ features: [module.name],
767
+ },
768
+ },
769
+ ]);
770
+ const mainAssetsMaintenanceDivider = context.find(AXMAssetManagementMenuKeys.MainPlanEquipmentAssetsMaintenanceDivider);
771
+ if (!mainAssetsMaintenanceDivider.exists) {
772
+ context.find(AXPCommonMenuKeys.PlanEquipment).addItems([
773
+ {
774
+ name: AXMAssetManagementMenuKeys.MainPlanEquipmentAssetsMaintenanceDivider,
775
+ text: '',
776
+ type: 'break',
777
+ priority: 10,
778
+ },
779
+ ]);
780
+ }
781
+ const planEquipmentMenu = context.find(PLAN_EQUIPMENT_MENU_KEY);
782
+ if (!planEquipmentMenu.exists) {
613
783
  context.find(AXPCommonMenuKeys.Configuration).addItems([
614
784
  {
615
- name: AXPCommonMenuKeys.AssetConfig,
785
+ name: PLAN_EQUIPMENT_MENU_KEY,
616
786
  priority: 9000,
617
- text: '@asset-management:assetSetup.menus.assetSetup.title',
787
+ text: '@general:menus.plan-equipment.title',
618
788
  icon: module.icon,
619
- children: [
620
- {
621
- name: AXMAssetManagementMenuKeys.AssetTypes,
622
- text: '@asset-management:assetTypes.menus.root.title',
623
- path: this.entityService.createPath(module.name, RootConfig.entities.assetType.name),
624
- priority: 10,
625
- icon: RootConfig.entities.assetType.icon,
626
- policy: {
627
- features: [module.name],
628
- },
629
- },
630
- {
631
- name: AXMAssetManagementMenuKeys.AssetSystemTypes,
632
- text: '@asset-management:assetSystemTypes.menus.root.title',
633
- path: this.entityService.createPath(module.name, RootConfig.entities.assetSystemType.name),
634
- priority: 15,
635
- icon: RootConfig.entities.assetSystemType.icon,
636
- policy: {
637
- features: [module.name],
638
- },
639
- },
640
- ],
641
789
  },
642
790
  ]);
643
791
  }
644
- context.addItems([
792
+ const assetsSectionGroup = context.find(AXMAssetManagementMenuKeys.PlanEquipmentAssets);
793
+ if (!assetsSectionGroup.exists) {
794
+ context.find(PLAN_EQUIPMENT_MENU_KEY).addItems([
795
+ {
796
+ name: AXMAssetManagementMenuKeys.PlanEquipmentAssets,
797
+ priority: 1,
798
+ text: '@general:menus.assets.title',
799
+ type: 'group',
800
+ },
801
+ ]);
802
+ }
803
+ context.find(PLAN_EQUIPMENT_MENU_KEY).addItems([
645
804
  {
646
- name: AXMAssetManagementMenuKeys.Root,
647
- priority: 9050,
648
- text: '@general:menus.assets.title', //module.title,
649
- icon: module.icon,
650
- // path: this.entityService.createPath(module.name, RootConfig.entities.asset.name),
805
+ name: AXMAssetManagementMenuKeys.AssetTypes,
806
+ text: '@asset-management:assetTypes.menus.root.title',
807
+ path: this.entityService.createPath(module.name, RootConfig.entities.assetType.name),
808
+ priority: 2,
809
+ icon: RootConfig.entities.assetType.icon,
810
+ policy: {
811
+ features: [module.name],
812
+ },
813
+ },
814
+ {
815
+ name: AXMAssetManagementMenuKeys.AssetSystemTypes,
816
+ text: '@asset-management:assetSystemTypes.menus.root.title',
817
+ path: this.entityService.createPath(module.name, RootConfig.entities.assetSystemType.name),
818
+ priority: 3,
819
+ icon: RootConfig.entities.assetSystemType.icon,
651
820
  policy: {
652
821
  features: [module.name],
653
822
  },
654
- children: [
655
- {
656
- name: AXMAssetManagementMenuKeys.AssetTypes,
657
- text: '@asset-management:assets.menus.root.title',
658
- path: this.entityService.createPath(module.name, RootConfig.entities.asset.name),
659
- priority: 10,
660
- icon: RootConfig.entities.asset.icon,
661
- policy: {
662
- features: [module.name],
663
- },
664
- },
665
- {
666
- name: AXMAssetManagementMenuKeys.AssetSystems,
667
- text: '@asset-management:assetSystems.menus.root.title',
668
- path: this.entityService.createPath(module.name, RootConfig.entities.assetSystem.name),
669
- priority: 15,
670
- icon: RootConfig.entities.assetSystem.icon,
671
- policy: {
672
- features: [module.name],
673
- },
674
- },
675
- ],
676
823
  },
677
824
  ]);
825
+ const planEquipmentAssetsMaintenanceDivider = context.find(AXMAssetManagementMenuKeys.PlanEquipmentAssetsMaintenanceDivider);
826
+ if (!planEquipmentAssetsMaintenanceDivider.exists) {
827
+ context.find(PLAN_EQUIPMENT_MENU_KEY).addItems([
828
+ {
829
+ name: AXMAssetManagementMenuKeys.PlanEquipmentAssetsMaintenanceDivider,
830
+ text: '',
831
+ type: 'break',
832
+ priority: 10,
833
+ },
834
+ ]);
835
+ }
678
836
  }
679
837
  }
680
838
  //#endregion
@@ -1012,13 +1170,21 @@ function normalizeAssetTypeSectionBuilderValue(value, assetTypeId) {
1012
1170
  description: normalizeAssetTypeBuilderLocalizedField(sectionData.description, ''),
1013
1171
  items: sectionItems.map((item, itemIndex) => {
1014
1172
  const itemData = (item ?? {});
1015
- const normalizedAssetTypeId = typeof itemData.assetTypeId === 'string' && itemData.assetTypeId
1016
- ? itemData.assetTypeId
1017
- : assetTypeId ?? '';
1018
1173
  const rawAt = itemData.assetType;
1174
+ const assetTypeIdFromRef = rawAt &&
1175
+ typeof rawAt === 'object' &&
1176
+ typeof rawAt.id === 'string' &&
1177
+ String(rawAt.id).trim()
1178
+ ? String(rawAt.id).trim()
1179
+ : '';
1180
+ const normalizedAssetTypeId = typeof itemData.assetTypeId === 'string' && itemData.assetTypeId.trim()
1181
+ ? itemData.assetTypeId.trim()
1182
+ : assetTypeIdFromRef || (assetTypeId ?? '');
1019
1183
  const assetTypeRef = rawAt && typeof rawAt === 'object'
1020
1184
  ? {
1021
- id: typeof rawAt.id === 'string' ? rawAt.id : normalizedAssetTypeId,
1185
+ id: typeof rawAt.id === 'string' && String(rawAt.id).trim()
1186
+ ? String(rawAt.id).trim()
1187
+ : normalizedAssetTypeId,
1022
1188
  name: normalizeAssetTypeBuilderLocalizedField(rawAt.name, ''),
1023
1189
  }
1024
1190
  : {
@@ -1030,12 +1196,27 @@ function normalizeAssetTypeSectionBuilderValue(value, assetTypeId) {
1030
1196
  assetTypeSectionId: typeof itemData.assetTypeSectionId === 'string' && itemData.assetTypeSectionId
1031
1197
  ? itemData.assetTypeSectionId
1032
1198
  : id,
1199
+ assetTypeSectionComponentId: typeof itemData.assetTypeSectionComponentId === 'string' && itemData.assetTypeSectionComponentId
1200
+ ? itemData.assetTypeSectionComponentId
1201
+ : undefined,
1033
1202
  assetTypeId: normalizedAssetTypeId,
1034
1203
  assetType: assetTypeRef,
1035
1204
  assetTypeSection: itemData.assetTypeSection,
1036
1205
  roleName: normalizeAssetTypeBuilderLocalizedField(itemData.roleName, `Component ${itemIndex + 1}`),
1037
1206
  count: typeof itemData.count === 'number' ? itemData.count : 1,
1038
1207
  hasMaintenance: itemData.hasMaintenance === true,
1208
+ assetId: typeof itemData.assetId === 'string' && itemData.assetId ? itemData.assetId : undefined,
1209
+ asset: itemData.asset && typeof itemData.asset === 'object'
1210
+ ? {
1211
+ id: typeof itemData.asset.id === 'string'
1212
+ ? (itemData.asset.id ?? '')
1213
+ : '',
1214
+ code: typeof itemData.asset.code === 'string'
1215
+ ? itemData.asset.code
1216
+ : undefined,
1217
+ title: normalizeAssetTypeBuilderLocalizedField(itemData.asset.title, ''),
1218
+ }
1219
+ : undefined,
1039
1220
  };
1040
1221
  }),
1041
1222
  };
@@ -1052,8 +1233,9 @@ class AXMAssetTypeSectionBuilderComponent {
1052
1233
  this.standardRef = viewChild(AXPStandardSectionItemsBuilderComponent, ...(ngDevMode ? [{ debugName: "standardRef" }] : /* istanbul ignore next */ []));
1053
1234
  this.layoutBuilder = inject(AXPLayoutBuilderService);
1054
1235
  this.translationService = inject(AXTranslationService);
1055
- this.disabledSectionPrompt = null;
1056
- this.disabledAddSectionPrompt = null;
1236
+ this.entityService = inject(AXPEntityService);
1237
+ this.disabledSectionPrompt = false;
1238
+ this.disabledAddSectionPrompt = async () => null;
1057
1239
  this.builderValue = signal({ sections: [] }, ...(ngDevMode ? [{ debugName: "builderValue" }] : /* istanbul ignore next */ []));
1058
1240
  this.standardConfig = computed(() => ({
1059
1241
  mapItemToView: (item, _section) => this.mapItemToView(item),
@@ -1062,7 +1244,13 @@ class AXMAssetTypeSectionBuilderComponent {
1062
1244
  ? (section, value) => this.promptEditSection(section, value)
1063
1245
  : this.disabledSectionPrompt,
1064
1246
  promptAddItems: this.allowAddItems() ? (sectionId, value) => this.promptAddItems(sectionId, value) : undefined,
1065
- promptEditItem: (item, sectionId, value) => this.promptEditItem(item, sectionId, value),
1247
+ promptEditItem: (item, sectionId, value) => this.linkAssetMode()
1248
+ ? this.promptEditLinkedAssetItem(item, sectionId, value)
1249
+ : this.promptEditItem(item, sectionId, value),
1250
+ confirmRemoveSection: this.linkAssetMode() ? async () => false : undefined,
1251
+ confirmRemoveItem: this.linkAssetMode()
1252
+ ? (item, sectionId) => this.confirmRemoveLinkedAssetItem(item, sectionId)
1253
+ : undefined,
1066
1254
  showSectionTechnicalName: false,
1067
1255
  allowReorderSections: this.allowReorderSections(),
1068
1256
  minSectionCount: this.allowAddSection() ? 1 : Number.MAX_SAFE_INTEGER,
@@ -1073,13 +1261,20 @@ class AXMAssetTypeSectionBuilderComponent {
1073
1261
  }), ...(ngDevMode ? [{ debugName: "standardConfig" }] : /* istanbul ignore next */ []));
1074
1262
  this.hideHeaderActions = computed(() => this.options()['hideHeaderActions'] === true, ...(ngDevMode ? [{ debugName: "hideHeaderActions" }] : /* istanbul ignore next */ []));
1075
1263
  this.allowAddSection = computed(() => this.options()['allowAddSection'] !== false, ...(ngDevMode ? [{ debugName: "allowAddSection" }] : /* istanbul ignore next */ []));
1076
- this.allowEditSection = computed(() => this.options()['allowEditSection'] !== false, ...(ngDevMode ? [{ debugName: "allowEditSection" }] : /* istanbul ignore next */ []));
1264
+ this.allowEditSection = computed(() => {
1265
+ if (this.linkAssetMode()) {
1266
+ return false;
1267
+ }
1268
+ return this.options()['allowEditSection'] !== false;
1269
+ }, ...(ngDevMode ? [{ debugName: "allowEditSection" }] : /* istanbul ignore next */ []));
1077
1270
  this.allowAddItems = computed(() => this.options()['allowAddItems'] !== false, ...(ngDevMode ? [{ debugName: "allowAddItems" }] : /* istanbul ignore next */ []));
1078
1271
  this.allowReorderSections = computed(() => {
1079
1272
  const option = this.options()['allowReorderSections'];
1080
1273
  return typeof option === 'boolean' ? option : true;
1081
1274
  }, ...(ngDevMode ? [{ debugName: "allowReorderSections" }] : /* istanbul ignore next */ []));
1082
1275
  this.readonly = computed(() => this.options()['readonly'] === true, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1276
+ this.linkAssetMode = computed(() => this.options()['linkAssetMode'] === true, ...(ngDevMode ? [{ debugName: "linkAssetMode" }] : /* istanbul ignore next */ []));
1277
+ this.selectedLinkedAssetTypeId = signal('', ...(ngDevMode ? [{ debugName: "selectedLinkedAssetTypeId" }] : /* istanbul ignore next */ []));
1083
1278
  this.#syncValueToBuilder = effect(() => {
1084
1279
  const normalized = normalizeAssetTypeSectionBuilderValue(this.value(), this.assetTypeId());
1085
1280
  this.builderValue.set(this.toBuilderValue(normalized));
@@ -1196,6 +1391,40 @@ class AXMAssetTypeSectionBuilderComponent {
1196
1391
  const assetTypeName = this.resolveLocalizedTextForDialog(item['assetType']?.name ?? '');
1197
1392
  const count = Number(item['count'] ?? 0);
1198
1393
  const hasMaintenance = item['hasMaintenance'] === true;
1394
+ const linkedAsset = item['asset'];
1395
+ const linkedAssetCode = typeof linkedAsset?.code === 'string' ? linkedAsset.code : '';
1396
+ const linkedAssetTitle = this.resolveLocalizedTextForDialog(linkedAsset?.title ?? '');
1397
+ if (this.linkAssetMode()) {
1398
+ const hasLinkedAsset = !!item['assetId'];
1399
+ const linkedAssetName = linkedAssetTitle || '@asset-management:assets.entities.asset.components.asset-component.no-link';
1400
+ const linkedAssetDisplay = linkedAssetCode ? `${linkedAssetName} (${linkedAssetCode})` : linkedAssetName;
1401
+ return {
1402
+ icon: hasLinkedAsset ? 'fa-light fa-link' : 'fa-light fa-link-slash',
1403
+ iconTone: hasLinkedAsset ? 'easy' : 'hard',
1404
+ title: roleName,
1405
+ name: linkedAssetDisplay,
1406
+ badges: [
1407
+ {
1408
+ text: hasLinkedAsset
1409
+ ? '@asset-management:assets.entities.asset.components.asset-component.assigned'
1410
+ : '@asset-management:assets.entities.asset.components.asset-component.unassigned',
1411
+ variant: hasLinkedAsset ? 'success' : 'warning',
1412
+ },
1413
+ ...(hasLinkedAsset && linkedAssetTitle
1414
+ ? [
1415
+ {
1416
+ text: linkedAssetTitle,
1417
+ variant: 'neutral',
1418
+ },
1419
+ ]
1420
+ : []),
1421
+ {
1422
+ text: assetTypeName,
1423
+ variant: 'neutral',
1424
+ },
1425
+ ],
1426
+ };
1427
+ }
1199
1428
  return {
1200
1429
  icon: 'fa-light fa-cube',
1201
1430
  title: roleName,
@@ -1262,6 +1491,189 @@ class AXMAssetTypeSectionBuilderComponent {
1262
1491
  assetType: dialogValue.assetType,
1263
1492
  };
1264
1493
  }
1494
+ /**
1495
+ * When a slot already has a linked asset, the filter should match that asset's type so the
1496
+ * asset lookup stays consistent after reassignment (slot template type may differ).
1497
+ */
1498
+ async resolveFilterAssetTypeIdForLinkDialog(item) {
1499
+ const assetId = String(item['assetId'] ?? '').trim();
1500
+ if (assetId) {
1501
+ try {
1502
+ const record = await this.entityService
1503
+ .withEntity(`${RootConfig.module.name}.${RootConfig.entities.asset.name}`)
1504
+ .data()
1505
+ .byKey(assetId);
1506
+ const raw = record;
1507
+ const fromAsset = record && typeof raw['assetTypeId'] === 'string' ? String(raw['assetTypeId']).trim() : '';
1508
+ if (fromAsset) {
1509
+ return fromAsset;
1510
+ }
1511
+ }
1512
+ catch {
1513
+ // Fall back to slot template / stored filter below.
1514
+ }
1515
+ }
1516
+ return String(item['filterAssetTypeId'] ?? item['assetTypeId'] ?? '').trim();
1517
+ }
1518
+ async promptEditLinkedAssetItem(item, _sectionId, _value) {
1519
+ const typeFilterId = await this.resolveFilterAssetTypeIdForLinkDialog(item);
1520
+ const seed = {
1521
+ assetId: String(item['assetId'] ?? ''),
1522
+ assetTypeId: String(item['assetTypeId'] ?? ''),
1523
+ filterAssetTypeId: typeFilterId || undefined,
1524
+ asset: item['asset'] ?? {
1525
+ id: '',
1526
+ code: '',
1527
+ title: '',
1528
+ },
1529
+ };
1530
+ const result = await this.promptLinkAssetForm(seed);
1531
+ if (!result) {
1532
+ return null;
1533
+ }
1534
+ return {
1535
+ ...item,
1536
+ assetId: result.assetId || undefined,
1537
+ asset: result.assetId ? result.asset : undefined,
1538
+ };
1539
+ }
1540
+ async promptLinkAssetForm(seed) {
1541
+ const title = (await this.translationService.translateAsync('@asset-management:assets.entities.asset.components.asset-component.actions.edit.title')) || 'Edit Component Asset';
1542
+ const linkedAssetTypeFilterId = String(seed.filterAssetTypeId ?? seed.assetTypeId ?? '').trim();
1543
+ this.selectedLinkedAssetTypeId.set(linkedAssetTypeFilterId || seed.assetTypeId);
1544
+ const result = await this.layoutBuilder
1545
+ .create()
1546
+ .dialog((dialog) => {
1547
+ dialog
1548
+ .setTitle(title)
1549
+ .setSize('sm')
1550
+ .setCloseButton(true)
1551
+ .setContext({ ...seed })
1552
+ .content((layout) => {
1553
+ layout.mode('edit');
1554
+ layout.dynamicForm(this.buildLinkAssetFormDefinition());
1555
+ })
1556
+ .setActions((actions) => {
1557
+ actions.cancel('@general:actions.cancel.title').submit('@general:actions.save.title');
1558
+ })
1559
+ .onAction((dialogRef) => {
1560
+ if (dialogRef.action() === 'cancel') {
1561
+ return { success: false };
1562
+ }
1563
+ const context = dialogRef.context();
1564
+ const assetId = String(context.assetId ?? '').trim();
1565
+ const asset = context.asset ?? { id: assetId, code: '', title: '' };
1566
+ return {
1567
+ success: true,
1568
+ value: {
1569
+ assetId,
1570
+ assetTypeId: String(context.assetTypeId ?? ''),
1571
+ asset: {
1572
+ id: String(asset.id ?? assetId),
1573
+ code: String(asset.code ?? ''),
1574
+ title: String(asset.title ?? ''),
1575
+ },
1576
+ },
1577
+ };
1578
+ });
1579
+ })
1580
+ .show();
1581
+ this.selectedLinkedAssetTypeId.set('');
1582
+ return result?.success && result.value ? result.value : null;
1583
+ }
1584
+ async confirmRemoveLinkedAssetItem(item, sectionId) {
1585
+ const hasLinkedAsset = typeof item['assetId'] === 'string' && item['assetId'].length > 0;
1586
+ if (!hasLinkedAsset) {
1587
+ return false;
1588
+ }
1589
+ const deleteTitle = (await this.translationService.translateAsync('@asset-management:assets.entities.asset.components.asset-component.actions.delete.title')) || 'Remove Component Asset';
1590
+ const linkedAsset = item['asset'];
1591
+ const linkedAssetTitle = this.resolveLocalizedTextForDialog(linkedAsset?.title ?? '');
1592
+ const linkedAssetCode = typeof linkedAsset?.code === 'string' ? linkedAsset.code : '';
1593
+ const assetDisplay = linkedAssetTitle || linkedAssetCode || String(item['assetId'] ?? '');
1594
+ const assetLabel = `${assetDisplay}${linkedAssetCode && linkedAssetTitle ? ` (${linkedAssetCode})` : ''}`;
1595
+ const deleteResult = await this.layoutBuilder
1596
+ .create()
1597
+ .dialog((dialog) => {
1598
+ dialog
1599
+ .setTitle(deleteTitle)
1600
+ .setMessage('@general:workflow.confirm-delete')
1601
+ .setSize('sm')
1602
+ .setCloseButton(true)
1603
+ .setContext({ assetLabel })
1604
+ .content((layout) => {
1605
+ layout.mode('edit');
1606
+ layout.dynamicForm(this.buildRemoveLinkedAssetFormDefinition());
1607
+ })
1608
+ .setActions((actions) => {
1609
+ actions.cancel('@general:actions.cancel.title').custom({
1610
+ title: '@general:actions.delete.title',
1611
+ color: 'danger',
1612
+ command: {
1613
+ name: 'delete',
1614
+ options: {
1615
+ validate: false,
1616
+ },
1617
+ },
1618
+ });
1619
+ })
1620
+ .onAction((dialogRef) => {
1621
+ if (dialogRef.action() !== 'delete') {
1622
+ return { success: false };
1623
+ }
1624
+ return { success: true };
1625
+ });
1626
+ })
1627
+ .show();
1628
+ if (deleteResult?.success === true) {
1629
+ this.unlinkLinkedAssetItem(item.id, sectionId);
1630
+ }
1631
+ // Prevent structural row removal; only unlink asset assignment.
1632
+ return false;
1633
+ }
1634
+ buildRemoveLinkedAssetFormDefinition() {
1635
+ const group = {
1636
+ name: 'unlink-asset',
1637
+ title: '@asset-management:assets.entities.asset.components.asset-component.title',
1638
+ parameters: [
1639
+ {
1640
+ path: 'assetLabel',
1641
+ title: '@asset-management:assets.entities.asset.title',
1642
+ widget: {
1643
+ path: 'assetLabel',
1644
+ type: AXPWidgetsCatalog.text,
1645
+ options: {
1646
+ disabled: true,
1647
+ },
1648
+ },
1649
+ },
1650
+ ],
1651
+ };
1652
+ return { groups: [group] };
1653
+ }
1654
+ unlinkLinkedAssetItem(itemId, sectionId) {
1655
+ const nextValue = {
1656
+ sections: this.builderValue().sections.map((section) => {
1657
+ if (section.id !== sectionId) {
1658
+ return section;
1659
+ }
1660
+ return {
1661
+ ...section,
1662
+ items: section.items.map((item) => {
1663
+ if (item.id !== itemId) {
1664
+ return item;
1665
+ }
1666
+ return {
1667
+ ...item,
1668
+ assetId: undefined,
1669
+ asset: undefined,
1670
+ };
1671
+ }),
1672
+ };
1673
+ }),
1674
+ };
1675
+ this.onBuilderValueChange(nextValue);
1676
+ }
1265
1677
  async promptItemForm(mode, seed) {
1266
1678
  const defaultSeed = seed ?? {
1267
1679
  assetTypeId: '',
@@ -1373,6 +1785,74 @@ class AXMAssetTypeSectionBuilderComponent {
1373
1785
  };
1374
1786
  return { groups: [group] };
1375
1787
  }
1788
+ buildLinkAssetFormDefinition() {
1789
+ const currentAssetId = this.options()['mainAssetId'];
1790
+ const filters = [
1791
+ ...(typeof currentAssetId === 'string' && currentAssetId
1792
+ ? [{ field: 'id', operator: { type: 'notEqual' }, value: currentAssetId }]
1793
+ : []),
1794
+ {
1795
+ field: 'assetTypeId',
1796
+ operator: { type: 'equal' },
1797
+ // Primary: user-selected `filterAssetTypeId`; fallback: component's `assetTypeId`
1798
+ value: "{{ context.eval('filterAssetTypeId') || context.eval('assetTypeId') }}",
1799
+ },
1800
+ ];
1801
+ const group = {
1802
+ name: 'asset-link',
1803
+ title: '@asset-management:assets.entities.asset.title',
1804
+ parameters: [
1805
+ {
1806
+ path: 'filterAssetTypeId',
1807
+ title: '@asset-management:assetTypes.entities.assetType.title',
1808
+ widget: {
1809
+ path: 'filterAssetTypeId',
1810
+ type: AXPWidgetsCatalog.lookup,
1811
+ options: {
1812
+ entity: `${RootConfig.module.name}.${RootConfig.entities.assetType.name}`,
1813
+ textField: 'title',
1814
+ valueField: 'id',
1815
+ look: 'lookup',
1816
+ allowSearch: true,
1817
+ hasClearButton: true,
1818
+ columns: ['code', 'title'],
1819
+ },
1820
+ },
1821
+ },
1822
+ {
1823
+ path: 'assetId',
1824
+ title: '@asset-management:assets.entities.asset.title',
1825
+ widget: {
1826
+ path: 'assetId',
1827
+ type: AXPWidgetsCatalog.lookup,
1828
+ options: {
1829
+ entity: `${RootConfig.module.name}.${RootConfig.entities.asset.name}`,
1830
+ textField: 'title',
1831
+ valueField: 'id',
1832
+ look: 'lookup',
1833
+ allowSearch: true,
1834
+ hasClearButton: true,
1835
+ columns: ['code', 'title', 'assetTypeId', 'statusId', 'locationId'],
1836
+ expose: [
1837
+ { source: 'id', target: 'asset.id' },
1838
+ { source: 'code', target: 'asset.code' },
1839
+ { source: 'title', target: 'asset.title' },
1840
+ ],
1841
+ filter: filters.length === 1 ? filters[0] : { logic: 'and', filters },
1842
+ validations: [{ rule: 'required' }],
1843
+ },
1844
+ triggers: [
1845
+ {
1846
+ event: "{{ events.context('filterAssetTypeId') }}",
1847
+ action: '{{ widget.refresh() }}',
1848
+ },
1849
+ ],
1850
+ },
1851
+ },
1852
+ ],
1853
+ };
1854
+ return { groups: [group] };
1855
+ }
1376
1856
  toFieldDefinition(path, title, widgetType, validations = []) {
1377
1857
  return {
1378
1858
  path,
@@ -1403,6 +1883,9 @@ class AXMAssetTypeSectionBuilderComponent {
1403
1883
  hasMaintenance: item.hasMaintenance,
1404
1884
  assetTypeId: item.assetTypeId,
1405
1885
  assetTypeSectionId: item.assetTypeSectionId || section.id,
1886
+ assetTypeSectionComponentId: item.assetTypeSectionComponentId || item.id,
1887
+ assetId: item.assetId,
1888
+ asset: item.asset,
1406
1889
  })),
1407
1890
  })),
1408
1891
  };
@@ -1426,8 +1909,16 @@ class AXMAssetTypeSectionBuilderComponent {
1426
1909
  };
1427
1910
  }
1428
1911
  mapBuilderItemToDomain(item, sectionId, assetTypeId) {
1429
- const normalizedAssetTypeId = String(item['assetTypeId'] ?? assetTypeId);
1430
1912
  const rawAt = item['assetType'];
1913
+ const normalizedAssetTypeId = (() => {
1914
+ const fromField = typeof item['assetTypeId'] === 'string' ? String(item['assetTypeId']).trim() : '';
1915
+ if (fromField)
1916
+ return fromField;
1917
+ const fromRef = typeof rawAt?.id === 'string' ? String(rawAt.id).trim() : '';
1918
+ if (fromRef)
1919
+ return fromRef;
1920
+ return String(assetTypeId ?? '');
1921
+ })();
1431
1922
  return {
1432
1923
  id: item.id || AXPDataGenerator.uuid(),
1433
1924
  assetTypeSectionId: String(item['assetTypeSectionId'] ?? sectionId),
@@ -1439,6 +1930,17 @@ class AXMAssetTypeSectionBuilderComponent {
1439
1930
  roleName: normalizeAssetTypeBuilderLocalizedField(item['roleName'], 'Component'),
1440
1931
  count: Number(item['count'] ?? 1),
1441
1932
  hasMaintenance: item['hasMaintenance'] === true,
1933
+ assetTypeSectionComponentId: String(item['assetTypeSectionComponentId'] ?? ''),
1934
+ assetId: typeof item['assetId'] === 'string' ? item['assetId'] : undefined,
1935
+ asset: item['asset'] && typeof item['asset'] === 'object'
1936
+ ? {
1937
+ id: String(item['asset'].id ?? ''),
1938
+ code: typeof item['asset'].code === 'string'
1939
+ ? (item['asset'].code ?? '')
1940
+ : undefined,
1941
+ title: normalizeAssetTypeBuilderLocalizedField(item['asset'].title, ''),
1942
+ }
1943
+ : undefined,
1442
1944
  };
1443
1945
  }
1444
1946
  resolveLocalizedTextForDialog(value) {
@@ -1487,6 +1989,11 @@ class AXMSaveAssetTypeComponentsCommand {
1487
1989
  const payload = { [field]: value };
1488
1990
  const isAssetTypeComponentsUpdate = entityRef === `${RootConfig.module.name}.${RootConfig.entities.assetType.name}` && field === 'components';
1489
1991
  if (isAssetTypeComponentsUpdate) {
1992
+ const context = input?.__context__;
1993
+ payload['name'] = this.ensureLatinName(context?.name, {
1994
+ fallback: context?.title,
1995
+ id,
1996
+ });
1490
1997
  payload['hasMaintenance'] = this.hasMaintenanceByComponents(value);
1491
1998
  }
1492
1999
  await this.entityService.withEntity(entityRef).data().update(id, payload);
@@ -1513,6 +2020,30 @@ class AXMSaveAssetTypeComponentsCommand {
1513
2020
  hasMaintenanceByComponents(value) {
1514
2021
  return value.sections.some((section) => section.items.some((item) => item.hasMaintenance === true));
1515
2022
  }
2023
+ ensureLatinName(raw, context) {
2024
+ const fromRaw = this.toLatinIdentifier(raw);
2025
+ if (fromRaw) {
2026
+ return fromRaw;
2027
+ }
2028
+ const fromTitle = this.toLatinIdentifier(context?.fallback);
2029
+ if (fromTitle) {
2030
+ return fromTitle;
2031
+ }
2032
+ const fromId = this.toLatinIdentifier(context?.id);
2033
+ if (fromId) {
2034
+ return fromId;
2035
+ }
2036
+ return 'asset_type';
2037
+ }
2038
+ toLatinIdentifier(value) {
2039
+ if (typeof value !== 'string') {
2040
+ return '';
2041
+ }
2042
+ return value
2043
+ .replace(/[^A-Za-z0-9_-]+/g, '_')
2044
+ .replace(/^_+|_+$/g, '')
2045
+ .replace(/_{2,}/g, '_');
2046
+ }
1516
2047
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMSaveAssetTypeComponentsCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1517
2048
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMSaveAssetTypeComponentsCommand, providedIn: 'root' }); }
1518
2049
  }
@@ -1535,7 +2066,8 @@ const ASSET_TYPE_SECTIONS_SAVE_COMMAND = 'AssetType:Sections:Save';
1535
2066
  class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent {
1536
2067
  constructor() {
1537
2068
  super(...arguments);
1538
- this.rootContext = input.required(...(ngDevMode ? [{ debugName: "rootContext" }] : /* istanbul ignore next */ []));
2069
+ /** Default `{}`: required inputs throw (NG0950) if read before `AXPPageComponentRendererDirective` calls `setInput` after `createComponent`. */
2070
+ this.rootContext = input({}, ...(ngDevMode ? [{ debugName: "rootContext" }] : /* istanbul ignore next */ []));
1539
2071
  this.pageConfig = input(...(ngDevMode ? [undefined, { debugName: "pageConfig" }] : /* istanbul ignore next */ []));
1540
2072
  this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
1541
2073
  this.builderRef = viewChild('builderRef', ...(ngDevMode ? [{ debugName: "builderRef" }] : /* istanbul ignore next */ []));
@@ -1574,7 +2106,7 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1574
2106
  const entity = this.readStringConfig('targetEntity');
1575
2107
  return entity || this.sourceEntityRef();
1576
2108
  }, ...(ngDevMode ? [{ debugName: "targetEntityRef" }] : /* istanbul ignore next */ []));
1577
- this.context = computed(() => this.rootContext() ?? {}, ...(ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []));
2109
+ this.context = computed(() => this.rootContext(), ...(ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []));
1578
2110
  this.sourceRecordId = computed(() => {
1579
2111
  const id = get(this.context(), this.sourceIdPath());
1580
2112
  return typeof id === 'string' ? id : undefined;
@@ -1584,6 +2116,7 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1584
2116
  return typeof id === 'string' ? id : undefined;
1585
2117
  }, ...(ngDevMode ? [{ debugName: "targetRecordId" }] : /* istanbul ignore next */ []));
1586
2118
  this.readonly = computed(() => this.readBooleanConfig('readonly'), ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
2119
+ this.linkAssetMode = computed(() => this.readBooleanConfig('linkAssetMode'), ...(ngDevMode ? [{ debugName: "linkAssetMode" }] : /* istanbul ignore next */ []));
1587
2120
  this.allowAddSection = computed(() => this.readBooleanConfig('allowAddSection', true), ...(ngDevMode ? [{ debugName: "allowAddSection" }] : /* istanbul ignore next */ []));
1588
2121
  this.allowAddItems = computed(() => this.readBooleanConfig('allowAddItems', true), ...(ngDevMode ? [{ debugName: "allowAddItems" }] : /* istanbul ignore next */ []));
1589
2122
  this.allowEditSection = computed(() => this.readBooleanConfig('allowEditSection', true), ...(ngDevMode ? [{ debugName: "allowEditSection" }] : /* istanbul ignore next */ []));
@@ -1591,6 +2124,8 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1591
2124
  this.builderOptions = computed(() => ({
1592
2125
  hideHeaderActions: true,
1593
2126
  readonly: this.readonly(),
2127
+ linkAssetMode: this.linkAssetMode(),
2128
+ mainAssetId: this.targetRecordId(),
1594
2129
  allowAddSection: this.allowAddSection(),
1595
2130
  allowEditSection: this.allowEditSection(),
1596
2131
  allowAddItems: this.allowAddItems(),
@@ -1605,9 +2140,14 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1605
2140
  const ctx = this.context();
1606
2141
  const id = this.sourceRecordId();
1607
2142
  const value = get(ctx, this.fieldName());
2143
+ const linkedValue = get(ctx, this.fieldName());
2144
+ const sourceValue = get(ctx, this.sourceFieldName());
1608
2145
  const sourceField = this.sourceFieldName();
1609
- this.baselineValue.set(value ?? null);
1610
- this.committedValue.set(value ?? null);
2146
+ const immediateValue = this.linkAssetMode()
2147
+ ? this.buildLinkedAssetValue(sourceValue ?? null, linkedValue ?? null)
2148
+ : (value ?? null);
2149
+ this.baselineValue.set(immediateValue);
2150
+ this.committedValue.set(immediateValue);
1611
2151
  untracked(() => this.recompute());
1612
2152
  if (!id) {
1613
2153
  return;
@@ -1621,8 +2161,14 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1621
2161
  .then((record) => {
1622
2162
  if (cancelled)
1623
2163
  return;
2164
+ const targetField = this.fieldName();
2165
+ const targetValue = get(record, targetField);
1624
2166
  const fallbackValue = get(record, sourceField);
1625
- const resolved = this.hasSections(value) ? value : (fallbackValue ?? null);
2167
+ const resolved = this.linkAssetMode()
2168
+ ? this.buildLinkedAssetValue(sourceValue ?? fallbackValue ?? null, linkedValue ?? targetValue ?? null)
2169
+ : this.hasSections(value)
2170
+ ? value
2171
+ : (fallbackValue ?? null);
1626
2172
  this.baselineValue.set(resolved);
1627
2173
  this.committedValue.set(resolved);
1628
2174
  untracked(() => this.recompute());
@@ -1630,8 +2176,8 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1630
2176
  .catch(() => {
1631
2177
  if (cancelled)
1632
2178
  return;
1633
- this.baselineValue.set(value ?? null);
1634
- this.committedValue.set(value ?? null);
2179
+ this.baselineValue.set(immediateValue);
2180
+ this.committedValue.set(immediateValue);
1635
2181
  untracked(() => this.recompute());
1636
2182
  });
1637
2183
  onCleanup(() => {
@@ -1719,13 +2265,14 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1719
2265
  id,
1720
2266
  entity,
1721
2267
  field,
1722
- value: value ?? { sections: [] },
2268
+ value: this.linkAssetMode() ? this.toAssetComponentValue(value ?? { sections: [] }) : (value ?? { sections: [] }),
2269
+ __context__: this.rootContext(),
1723
2270
  });
1724
2271
  if (result?.success) {
1725
2272
  const saved = value ?? { sections: [] };
1726
2273
  this.baselineValue.set(saved);
1727
2274
  this.committedValue.set(saved);
1728
- this.updateRootContextField(field, saved);
2275
+ this.updateRootContextField(field, this.linkAssetMode() ? this.toAssetComponentValue(saved) : saved);
1729
2276
  this.recompute();
1730
2277
  if (!silent) {
1731
2278
  this.toastService.show({
@@ -1745,7 +2292,7 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1745
2292
  recompute() {
1746
2293
  super.recompute();
1747
2294
  const layout = this.hostPageLayout;
1748
- layout.recompute?.();
2295
+ layout?.recompute?.();
1749
2296
  }
1750
2297
  updateRootContextField(field, value) {
1751
2298
  const ctx = this.rootContext();
@@ -1753,6 +2300,85 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1753
2300
  return;
1754
2301
  ctx[field] = value;
1755
2302
  }
2303
+ buildLinkedAssetValue(source, links) {
2304
+ if (!source || !Array.isArray(source.sections)) {
2305
+ return { sections: [] };
2306
+ }
2307
+ const groupedLinks = new Map();
2308
+ for (const link of links ?? []) {
2309
+ const key = String(link.assetTypeSectionComponentId ?? '');
2310
+ if (!key)
2311
+ continue;
2312
+ if (!groupedLinks.has(key))
2313
+ groupedLinks.set(key, []);
2314
+ groupedLinks.get(key).push(link);
2315
+ }
2316
+ return {
2317
+ sections: source.sections.map((section) => ({
2318
+ ...section,
2319
+ items: (section.items ?? []).flatMap((item) => {
2320
+ const componentId = String(item.id ?? '');
2321
+ const count = Math.max(1, Number(item.count ?? 1));
2322
+ const existing = groupedLinks.get(componentId) ?? [];
2323
+ return Array.from({ length: count }).map((_, index) => {
2324
+ const linked = existing[index];
2325
+ return {
2326
+ ...item,
2327
+ id: `${componentId}__slot_${index + 1}`,
2328
+ count: 1,
2329
+ assetTypeSectionComponentId: componentId,
2330
+ roleName: this.withSlotSuffix(item.roleName, index + 1),
2331
+ assetId: linked?.assetId,
2332
+ asset: linked?.asset
2333
+ ? {
2334
+ id: linked.asset.id,
2335
+ code: linked.asset.code,
2336
+ title: linked.asset.title,
2337
+ }
2338
+ : undefined,
2339
+ };
2340
+ });
2341
+ }),
2342
+ })),
2343
+ };
2344
+ }
2345
+ withSlotSuffix(value, slotIndex) {
2346
+ const normalized = normalizeAssetTypeBuilderLocalizedField(value, 'Component');
2347
+ const suffix = `#${slotIndex}`;
2348
+ if (typeof normalized === 'string') {
2349
+ return `${normalized} ${suffix}`;
2350
+ }
2351
+ return Object.fromEntries(Object.entries(normalized).map(([locale, text]) => {
2352
+ const safeText = typeof text === 'string' && text.trim().length > 0 ? text : 'Component';
2353
+ return [locale, `${safeText} ${suffix}`];
2354
+ }));
2355
+ }
2356
+ toAssetComponentValue(value) {
2357
+ const mainAssetId = this.targetRecordId() ?? '';
2358
+ return value.sections.flatMap((section) => (section.items ?? [])
2359
+ .filter((item) => typeof item.assetId === 'string' && item.assetId)
2360
+ .map((item) => ({
2361
+ id: item.id,
2362
+ assetId: String(item.assetId),
2363
+ asset: {
2364
+ id: String(item.asset?.id ?? item.assetId),
2365
+ code: String(item.asset?.code ?? ''),
2366
+ title: String(item.asset?.title ?? ''),
2367
+ },
2368
+ mainAssetId,
2369
+ mainAsset: {
2370
+ id: mainAssetId,
2371
+ code: '',
2372
+ title: '',
2373
+ },
2374
+ assetTypeSectionComponentId: String(item.assetTypeSectionComponentId ?? ''),
2375
+ assetTypeSectionComponent: {
2376
+ id: String(item.assetTypeSectionComponentId ?? ''),
2377
+ code: String(item.assetTypeSectionId ?? ''),
2378
+ title: String(item.roleName ?? ''),
2379
+ },
2380
+ })));
2381
+ }
1756
2382
  async enqueueAutoSave() {
1757
2383
  this.pendingAutoSave = true;
1758
2384
  if (this.autoSaveInFlight)
@@ -1786,7 +2412,7 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1786
2412
  return !!value && Array.isArray(value.sections) && value.sections.length > 0;
1787
2413
  }
1788
2414
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetTypeSectionBuilderPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1789
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXMAssetTypeSectionBuilderPageComponent, isStandalone: true, selector: "axm-asset-type-section-builder-page", inputs: { rootContext: { classPropertyName: "rootContext", publicName: "rootContext", isSignal: true, isRequired: true, transformFunction: null }, pageConfig: { classPropertyName: "pageConfig", publicName: "pageConfig", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.axp-page-layout-base": "true" } }, providers: [
2415
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXMAssetTypeSectionBuilderPageComponent, isStandalone: true, selector: "axm-asset-type-section-builder-page", inputs: { rootContext: { classPropertyName: "rootContext", publicName: "rootContext", isSignal: true, isRequired: false, transformFunction: null }, pageConfig: { classPropertyName: "pageConfig", publicName: "pageConfig", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.axp-page-layout-base": "true" } }, providers: [
1790
2416
  {
1791
2417
  provide: AXPPageLayoutBase,
1792
2418
  useExisting: AXMAssetTypeSectionBuilderPageComponent,
@@ -1797,7 +2423,8 @@ class AXMAssetTypeSectionBuilderPageComponent extends AXPPageLayoutBaseComponent
1797
2423
  [value]="committedValue()"
1798
2424
  [assetTypeId]="sourceRecordId()"
1799
2425
  [options]="builderOptions()"
1800
- (valueChange)="onValueChange($event)" />
2426
+ (valueChange)="onValueChange($event)"
2427
+ />
1801
2428
  `, isInline: true, dependencies: [{ kind: "component", type: AXMAssetTypeSectionBuilderComponent, selector: "axm-asset-type-section-builder", inputs: ["value", "assetTypeId", "options"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1802
2429
  }
1803
2430
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetTypeSectionBuilderPageComponent, decorators: [{
@@ -1818,14 +2445,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
1818
2445
  [value]="committedValue()"
1819
2446
  [assetTypeId]="sourceRecordId()"
1820
2447
  [options]="builderOptions()"
1821
- (valueChange)="onValueChange($event)" />
2448
+ (valueChange)="onValueChange($event)"
2449
+ />
1822
2450
  `,
1823
2451
  host: {
1824
2452
  '[class.axp-page-layout-base]': 'true',
1825
2453
  },
1826
2454
  changeDetection: ChangeDetectionStrategy.OnPush,
1827
2455
  }]
1828
- }], propDecorators: { rootContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootContext", required: true }] }], pageConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageConfig", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], builderRef: [{ type: i0.ViewChild, args: ['builderRef', { isSignal: true }] }] } });
2456
+ }], propDecorators: { rootContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootContext", required: false }] }], pageConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageConfig", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], builderRef: [{ type: i0.ViewChild, args: ['builderRef', { isSignal: true }] }] } });
1829
2457
 
1830
2458
  var assetTypeSectionBuilderPage_component = /*#__PURE__*/Object.freeze({
1831
2459
  __proto__: null,
@@ -1865,5 +2493,5 @@ var index = /*#__PURE__*/Object.freeze({
1865
2493
  * Generated bundle index. Do not edit.
1866
2494
  */
1867
2495
 
1868
- export { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY as A, RootConfig as R, AXMAssetManagementAssetTypeEntityService as a, ASSET_TYPE_COMPONENTS_SAVE_COMMAND as b, AXMAssetManagementAssetStatusProvider as c, AXMAssetManagementEntityProvider as d, AXMAssetManagementFeatureDefinitionProvider as e, AXMAssetManagementFeatureKeys as f, AXMAssetManagementMenuKeys as g, AXMAssetManagementMenuProvider as h, AXMAssetManagementModule as i, AXMAssetManagementPermissionDefinitionProvider as j, AXMAssetManagementPermissionKeys as k, AXMAssetManagementSearchCommandProvider as l, AXMAssetStatus as m, AXMAssetTypeComponentsPageComponentProvider as n, AXMAssetTypeSectionBuilderComponent as o, AXMAssetTypeSectionBuilderPageComponent as p, AXMSaveAssetTypeComponentsCommand as q, createAssetTypeSectionBuilderDefaultValue as r, normalizeAssetTypeBuilderLocalizedField as s, normalizeAssetTypeSectionBuilderValue as t };
1869
- //# sourceMappingURL=acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs.map
2496
+ export { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY as A, RootConfig as R, AXMAssetManagementAssetTypeEntityService as a, AXMAssetManagementAssetSystemTypeEntityService as b, ASSET_TYPE_COMPONENTS_SAVE_COMMAND as c, AXMAssetManagementAssetStatusProvider as d, AXMAssetManagementEntityProvider as e, AXMAssetManagementFeatureDefinitionProvider as f, AXMAssetManagementFeatureKeys as g, AXMAssetManagementMenuKeys as h, AXMAssetManagementMenuProvider as i, AXMAssetManagementModule as j, AXMAssetManagementPermissionDefinitionProvider as k, AXMAssetManagementPermissionKeys as l, AXMAssetManagementSearchCommandProvider as m, AXMAssetStatus as n, AXMAssetTypeComponentsPageComponentProvider as o, AXMAssetTypeSectionBuilderComponent as p, AXMAssetTypeSectionBuilderPageComponent as q, AXMSaveAssetTypeComponentsCommand as r, createAssetTypeSectionBuilderDefaultValue as s, normalizeAssetTypeBuilderLocalizedField as t, normalizeAssetTypeSectionBuilderValue as u };
2497
+ //# sourceMappingURL=acorex-modules-asset-management-acorex-modules-asset-management-BRap9yt6.mjs.map