@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.
- package/fesm2022/{acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs → acorex-modules-ai-management-acorex-modules-ai-management-Bqfx8OTv.mjs} +718 -106
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-Bqfx8OTv.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-column.component-D0ruV6aJ.mjs +44 -0
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-column.component-D0ruV6aJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-DyczMN-R.mjs +256 -0
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-DyczMN-R.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs → acorex-modules-ai-management-agent.entity-CpSXisAh.mjs} +83 -94
- package/fesm2022/acorex-modules-ai-management-agent.entity-CpSXisAh.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CYk2rB36.mjs.map +1 -0
- 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
- 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
- package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs → acorex-modules-ai-management-assist.entity-7uTePpME.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs.map → acorex-modules-ai-management-assist.entity-7uTePpME.mjs.map} +1 -1
- package/fesm2022/acorex-modules-ai-management-index-DUojDUau.mjs +2 -0
- package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs.map → acorex-modules-ai-management-index-DUojDUau.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs → acorex-modules-ai-management-model.entity-C9J3trsK.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs.map → acorex-modules-ai-management-model.entity-C9J3trsK.mjs.map} +1 -1
- 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
- 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
- package/fesm2022/acorex-modules-ai-management.mjs +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +1 -1
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- 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
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs → acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs → acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-assessment-management-index-B2SncZAW.mjs → acorex-modules-assessment-management-index-_fPuBQeK.mjs} +25 -26
- package/fesm2022/acorex-modules-assessment-management-index-_fPuBQeK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs → acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs} +10 -11
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs → acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs.map} +1 -1
- 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
- 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
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs → acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs} +2 -2
- 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
- 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
- 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
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs → acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs.map → acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs → acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs} +2 -2
- 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
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs → acorex-modules-asset-management-acorex-modules-asset-management-BRap9yt6.mjs} +761 -133
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BRap9yt6.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-B_QZI3Cy.mjs +302 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-B_QZI3Cy.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs +98 -0
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-BL0Osjqv.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-asset-management-asset-system-assignment.entity-BRz8vItS.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-b_o5UnuE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs → acorex-modules-asset-management-asset-system.entity-C6ak4u9z.mjs} +41 -29
- package/fesm2022/acorex-modules-asset-management-asset-system.entity-C6ak4u9z.mjs.map +1 -0
- 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
- 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
- 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
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-C1DJZZFy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs → acorex-modules-asset-management-asset-type.entity-CtOnArR9.mjs} +68 -105
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-CtOnArR9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-CamZGWTM.mjs → acorex-modules-asset-management-asset.entity-BaET-kSd.mjs} +257 -245
- package/fesm2022/acorex-modules-asset-management-asset.entity-BaET-kSd.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs +192 -0
- package/fesm2022/acorex-modules-asset-management-assetLifecycleState.provider-DZ5r2zx7.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs +363 -0
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs +17 -11
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +166 -122
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +4786 -4080
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-yqfev--M.mjs +8486 -0
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-yqfev--M.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management-index-CYnWQ2od.mjs +127 -0
- package/fesm2022/acorex-modules-dashboard-management-index-CYnWQ2od.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -7708
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +63 -35
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +131 -62
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-health-core-allergy-type.entity-CS8a-AUb.mjs → acorex-modules-health-core-allergy-type.entity-BvJmDMcr.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-BvJmDMcr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-blood-type.entity-ZgFOuvG4.mjs → acorex-modules-health-core-blood-type.entity-Vpw9y9J5.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-blood-type.entity-Vpw9y9J5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-body-part.entity-JGLwrFE2.mjs → acorex-modules-health-core-body-part.entity-Cz2NEAqm.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-body-part.entity-Cz2NEAqm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-chronic-condition-type.entity-DrxEPQj1.mjs → acorex-modules-health-core-chronic-condition-type.entity-CKWVW0Rg.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CKWVW0Rg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-disability-status.entity-UaAQFFMC.mjs → acorex-modules-health-core-disability-status.entity-C7NwwT0i.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-disability-status.entity-C7NwwT0i.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-injury-type.entity-DcIn0rxz.mjs → acorex-modules-health-core-injury-type.entity-bfzL6j8C.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-injury-type.entity-bfzL6j8C.mjs.map +1 -0
- package/fesm2022/{acorex-modules-health-core-vaccination-type.entity-zYd6KLRC.mjs → acorex-modules-health-core-vaccination-type.entity-CqymQfWK.mjs} +3 -3
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-CqymQfWK.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core.mjs +7 -7
- package/fesm2022/acorex-modules-health-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Ck9q-IWW.mjs +1922 -0
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Ck9q-IWW.mjs.map +1 -0
- 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
- 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
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Da3u1fo5.mjs +90 -0
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Da3u1fo5.mjs.map +1 -0
- 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
- 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
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs → acorex-modules-human-capital-management-employee.entity-DjMQm3VC.mjs} +71 -25
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-DjMQm3VC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-7ZGZYxGM.mjs → acorex-modules-human-capital-management-employment-type.entity-v8WzEHiE.mjs} +5 -5
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-v8WzEHiE.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-B9Bf-Nnm.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-Bpfd_hNb.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-f0IDrLSn.mjs.map +1 -0
- 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
- 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
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-C3J9pcfh.mjs +97 -0
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-C3J9pcfh.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1629
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-learning-management-certificate-definition.entity-27VKYxw1.mjs → acorex-modules-learning-management-certificate-definition.entity-C_r1Djcx.mjs} +4 -4
- package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-C_r1Djcx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-certificate-type.entity-CBM6N-PD.mjs → acorex-modules-learning-management-certificate-type.entity-DAJNtUya.mjs} +42 -20
- package/fesm2022/acorex-modules-learning-management-certificate-type.entity-DAJNtUya.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-certificate.entity-BRBJQYji.mjs → acorex-modules-learning-management-certificate.entity-CSD_CX4V.mjs} +5 -5
- package/fesm2022/acorex-modules-learning-management-certificate.entity-CSD_CX4V.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-course-type.entity-B1c6PDLq.mjs → acorex-modules-learning-management-course-type.entity-DmjeLMxV.mjs} +39 -17
- package/fesm2022/acorex-modules-learning-management-course-type.entity-DmjeLMxV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-course.entity-BN8XHAPz.mjs → acorex-modules-learning-management-course.entity-DUUgeikJ.mjs} +3 -3
- package/fesm2022/acorex-modules-learning-management-course.entity-DUUgeikJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-learning-path.entity-8QlM3R4B.mjs → acorex-modules-learning-management-learning-path.entity-Zo--bDto.mjs} +39 -17
- package/fesm2022/acorex-modules-learning-management-learning-path.entity-Zo--bDto.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-skill-level.entity-DXOWslpB.mjs → acorex-modules-learning-management-skill-level.entity-XVCTHW3O.mjs} +10 -10
- package/fesm2022/acorex-modules-learning-management-skill-level.entity-XVCTHW3O.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-skill.entity-DrLts807.mjs → acorex-modules-learning-management-skill.entity-VXkLbaD4.mjs} +35 -13
- package/fesm2022/acorex-modules-learning-management-skill.entity-VXkLbaD4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training-definition.entity-NQqJ5avw.mjs → acorex-modules-learning-management-training-definition.entity-BbVZ9_go.mjs} +3 -3
- package/fesm2022/acorex-modules-learning-management-training-definition.entity-BbVZ9_go.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training-type.entity-CoyDCeen.mjs → acorex-modules-learning-management-training-type.entity-C1otrA63.mjs} +36 -14
- package/fesm2022/acorex-modules-learning-management-training-type.entity-C1otrA63.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-training.entity-BCGn0T3H.mjs → acorex-modules-learning-management-training.entity-C4KDv1uh.mjs} +3 -3
- package/fesm2022/acorex-modules-learning-management-training.entity-C4KDv1uh.mjs.map +1 -0
- package/fesm2022/acorex-modules-learning-management.mjs +716 -19
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +18 -99
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-CfHMiVos.mjs +7102 -0
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-CfHMiVos.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs → acorex-modules-maintenance-management-failure-effect.entity-DKbARwJh.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-DKbARwJh.mjs.map} +1 -1
- 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
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-Dydg4AJ7.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-DHiVJHFj.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CZfm0U8u.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-DbCAFveJ.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-D83Yo6dT.mjs} +2 -2
- 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
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs → acorex-modules-maintenance-management-failure-register.entity-zKGo9bOs.mjs} +4 -4
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-zKGo9bOs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs → acorex-modules-maintenance-management-failure-severity.entity-Cnvdmt0N.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-Cnvdmt0N.mjs.map} +1 -1
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-CzX0phT-.mjs +391 -0
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-CzX0phT-.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management.mjs +1 -3579
- package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-DDhCqJtg.mjs → acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs} +5 -5
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-DDhCqJtg.mjs.map → acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs.map} +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +36 -22
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs +8 -0
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-CnAHfj2t.mjs +925 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-CnAHfj2t.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-Dpf7-aeM.mjs +372 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-Dpf7-aeM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs → acorex-modules-organization-management-chart.entity-CQX81AiE.mjs} +37 -33
- package/fesm2022/acorex-modules-organization-management-chart.entity-CQX81AiE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-BohMJQNi.mjs → acorex-modules-organization-management-company.entity-D-RWQ_8O.mjs} +8 -10
- package/fesm2022/acorex-modules-organization-management-company.entity-D-RWQ_8O.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs +48 -0
- package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-entity.provider-BdaKwTZq.mjs +61 -0
- package/fesm2022/acorex-modules-organization-management-entity.provider-BdaKwTZq.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-EzMuHJ2K.mjs +19 -0
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-EzMuHJ2K.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-matrix-page.utils-DD3jLujN.mjs +61 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-matrix-page.utils-DD3jLujN.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-C8_Ab3Q7.mjs +28 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-C8_Ab3Q7.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-DHUlvoOO.mjs +223 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-DHUlvoOO.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-BpVESnnH.mjs +219 -0
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-BpVESnnH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs → acorex-modules-organization-management-job-definition.entity-H8VAbZ_r.mjs} +21 -154
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-H8VAbZ_r.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-Dxfq0cGw.mjs +95 -0
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-Dxfq0cGw.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-Bdja794J.mjs +271 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-Bdja794J.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-menu.provider-DnvNM-pk.mjs +192 -0
- package/fesm2022/acorex-modules-organization-management-menu.provider-DnvNM-pk.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-COkMtxFO.mjs +1740 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-COkMtxFO.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-organization-code-identifier-rules.provider-pocBJezL.mjs +37 -0
- package/fesm2022/acorex-modules-organization-management-organization-code-identifier-rules.provider-pocBJezL.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BDLIuqxU.mjs +76 -0
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BDLIuqxU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-DLPufeWz.mjs → acorex-modules-organization-management-position.entity-BpbzqtEY.mjs} +113 -112
- package/fesm2022/acorex-modules-organization-management-position.entity-BpbzqtEY.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CGkXAtH2.mjs.map +1 -0
- 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
- 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
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs → acorex-modules-organization-management-responsibilities-matrix.component-D_ClGAIJ.mjs} +14 -21
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-D_ClGAIJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-CzkogsDv.mjs +135 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-CzkogsDv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs → acorex-modules-organization-management-responsibility.entity-DfKM6HV7.mjs} +5 -7
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DfKM6HV7.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-settings.provider-DaeJkP0y.mjs +228 -0
- package/fesm2022/acorex-modules-organization-management-settings.provider-DaeJkP0y.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-Cm9qcAG7.mjs +300 -0
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-Cm9qcAG7.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-B3xgLE6N.mjs +150 -0
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-B3xgLE6N.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs → acorex-modules-organization-management-team-member.entity-Dk9t9S1r.mjs} +6 -17
- package/fesm2022/acorex-modules-organization-management-team-member.entity-Dk9t9S1r.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-CGR0UlYl.mjs → acorex-modules-organization-management-team.entity-BbcFYP20.mjs} +113 -42
- package/fesm2022/acorex-modules-organization-management-team.entity-BbcFYP20.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +1 -2216
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs +40 -0
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs +33 -0
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +14 -94
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- 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
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +3 -3
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs → acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs} +65 -76
- package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs.map +1 -0
- 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
- 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
- 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
- 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
- package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs} +2 -2
- 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
- package/fesm2022/acorex-modules-reservation-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +507 -179
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-C1H_GTqy.mjs → acorex-modules-task-management-task-board.page-DA2563QE.mjs} +15 -10
- package/fesm2022/acorex-modules-task-management-task-board.page-DA2563QE.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +280 -226
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +5 -0
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs.map +1 -0
- 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
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs → acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs} +10 -12
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-Bx2uYraH.mjs +295 -0
- package/fesm2022/acorex-modules-workflow-management-index-Bx2uYraH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-DWIDQsWq.mjs → acorex-modules-workflow-management-index-C9Qc07oK.mjs} +125 -3
- package/fesm2022/acorex-modules-workflow-management-index-C9Qc07oK.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs +726 -0
- package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs +56 -0
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs → acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs} +101 -140
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs → acorex-modules-workflow-management-workflow-instance.entity-D-KnWlsU.mjs} +10 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-D-KnWlsU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs → acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs} +11 -7
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +996 -423
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/organization-management/README.md +5 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +91 -16
- package/types/acorex-modules-asset-management.d.ts +214 -83
- package/types/acorex-modules-business-core.d.ts +8 -11
- package/types/acorex-modules-common.d.ts +20 -8
- package/types/acorex-modules-conversation.d.ts +1 -0
- package/types/acorex-modules-dashboard-management.d.ts +348 -177
- package/types/acorex-modules-data-management.d.ts +2 -2
- package/types/acorex-modules-document-management.d.ts +7 -4
- package/types/acorex-modules-financial-core.d.ts +26 -19
- package/types/acorex-modules-form-template-management.d.ts +3 -3
- package/types/acorex-modules-health-core.d.ts +23 -29
- package/types/acorex-modules-human-capital-management.d.ts +28 -2
- package/types/acorex-modules-learning-management.d.ts +242 -105
- package/types/acorex-modules-maintenance-management.d.ts +563 -41
- package/types/acorex-modules-measurement-core.d.ts +95 -33
- package/types/acorex-modules-notification-management.d.ts +7 -3
- package/types/acorex-modules-organization-management.d.ts +272 -109
- package/types/acorex-modules-security-management.d.ts +40 -1
- package/types/acorex-modules-task-management.d.ts +20 -15
- package/types/acorex-modules-workflow-management.d.ts +121 -15
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-KX3TVRXr.mjs +0 -2
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-B2SncZAW.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-CamZGWTM.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-CS8a-AUb.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-blood-type.entity-ZgFOuvG4.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-body-part.entity-JGLwrFE2.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-DrxEPQj1.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-disability-status.entity-UaAQFFMC.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-injury-type.entity-DcIn0rxz.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-zYd6KLRC.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-7ZGZYxGM.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-B3Rk84bJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-OKu8_PP1.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-D_C459kx.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-27VKYxw1.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate-type.entity-CBM6N-PD.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-certificate.entity-BRBJQYji.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-course-type.entity-B1c6PDLq.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-course.entity-BN8XHAPz.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-learning-path.entity-8QlM3R4B.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill-level.entity-DXOWslpB.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-edit.component-CaeZ9P_I.mjs +0 -162
- package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-edit.component-CaeZ9P_I.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-view.component-1oWMtdrN.mjs +0 -70
- package/fesm2022/acorex-modules-learning-management-skill-matrix-widget-view.component-1oWMtdrN.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill-matrix.component-_cFwIN-z.mjs +0 -468
- package/fesm2022/acorex-modules-learning-management-skill-matrix.component-_cFwIN-z.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-skill.entity-DrLts807.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training-definition.entity-NQqJ5avw.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training-type.entity-CoyDCeen.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-training.entity-BCGn0T3H.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs +0 -91
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-BohMJQNi.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs +0 -784
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-DLPufeWz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs +0 -88
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-CGR0UlYl.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-C1H_GTqy.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-DWIDQsWq.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs.map +0 -1
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, inject, NgModule } from '@angular/core';
|
|
3
|
-
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
4
|
-
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
5
|
-
import
|
|
2
|
+
import { Injectable, inject, NgModule, DestroyRef, signal, input, output, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
3
|
+
import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
|
|
4
|
+
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';
|
|
5
|
+
import * as i4 from '@acorex/core/translation';
|
|
6
|
+
import { AXTranslationService, resolveMultiLanguageString, AXTranslationModule } from '@acorex/core/translation';
|
|
6
7
|
import { createEntityCommandOptions, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
7
|
-
import { AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex/platform/layout/widget-core';
|
|
8
|
+
import { AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER, AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
8
9
|
import { AXP_MODULE_MANIFEST_PROVIDER } from '@acorex/platform/core';
|
|
9
10
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
10
11
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_LABEL_PROPERTY, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
12
|
+
import * as i3 from '@angular/common';
|
|
13
|
+
import { CommonModule } from '@angular/common';
|
|
14
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
15
|
+
import { AXPSpreadsheetComponent } from '@acorex/platform/layout/components';
|
|
16
|
+
import * as i1 from '@acorex/components/button';
|
|
17
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
18
|
+
import * as i2 from '@acorex/components/decorators';
|
|
19
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
20
|
+
import { get } from 'lodash-es';
|
|
11
21
|
|
|
12
22
|
//#region ---- Root Configuration ----
|
|
13
23
|
const config = { i18n: 'learning-management' };
|
|
@@ -131,31 +141,31 @@ class AXMLearningManagementEntityProvider {
|
|
|
131
141
|
if (moduleName === RootConfig.module.name) {
|
|
132
142
|
switch (entityName) {
|
|
133
143
|
case RootConfig.entities.skill.name:
|
|
134
|
-
return (await import('./acorex-modules-learning-management-skill.entity-
|
|
144
|
+
return (await import('./acorex-modules-learning-management-skill.entity-VXkLbaD4.mjs')).factory(this.injector);
|
|
135
145
|
case RootConfig.entities.skillLevel.name:
|
|
136
|
-
return (await import('./acorex-modules-learning-management-skill-level.entity-
|
|
146
|
+
return (await import('./acorex-modules-learning-management-skill-level.entity-XVCTHW3O.mjs')).factory(this.injector);
|
|
137
147
|
case RootConfig.entities.courseType.name:
|
|
138
|
-
return (await import('./acorex-modules-learning-management-course-type.entity-
|
|
148
|
+
return (await import('./acorex-modules-learning-management-course-type.entity-DmjeLMxV.mjs')).factory(this.injector);
|
|
139
149
|
case RootConfig.entities.course.name:
|
|
140
|
-
return (await import('./acorex-modules-learning-management-course.entity-
|
|
150
|
+
return (await import('./acorex-modules-learning-management-course.entity-DUUgeikJ.mjs')).factory(this.injector);
|
|
141
151
|
case RootConfig.entities.trainingType.name:
|
|
142
|
-
return (await import('./acorex-modules-learning-management-training-type.entity-
|
|
152
|
+
return (await import('./acorex-modules-learning-management-training-type.entity-C1otrA63.mjs')).factory(this.injector);
|
|
143
153
|
case RootConfig.entities.trainingDefinition.name:
|
|
144
|
-
return (await import('./acorex-modules-learning-management-training-definition.entity-
|
|
154
|
+
return (await import('./acorex-modules-learning-management-training-definition.entity-BbVZ9_go.mjs')).factory(this.injector);
|
|
145
155
|
case RootConfig.entities.training.name:
|
|
146
|
-
return (await import('./acorex-modules-learning-management-training.entity-
|
|
156
|
+
return (await import('./acorex-modules-learning-management-training.entity-C4KDv1uh.mjs')).factory(this.injector);
|
|
147
157
|
case RootConfig.entities.enrollment.name:
|
|
148
158
|
return (await import('./acorex-modules-learning-management-enrollment.entity-B53AQq_9.mjs')).factory(this.injector);
|
|
149
159
|
case RootConfig.entities.attendance.name:
|
|
150
160
|
return (await import('./acorex-modules-learning-management-attendance.entity-BXm8I4nQ.mjs')).factory(this.injector);
|
|
151
161
|
case RootConfig.entities.certificateType.name:
|
|
152
|
-
return (await import('./acorex-modules-learning-management-certificate-type.entity-
|
|
162
|
+
return (await import('./acorex-modules-learning-management-certificate-type.entity-DAJNtUya.mjs')).factory(this.injector);
|
|
153
163
|
case RootConfig.entities.certificateDefinition.name:
|
|
154
|
-
return (await import('./acorex-modules-learning-management-certificate-definition.entity-
|
|
164
|
+
return (await import('./acorex-modules-learning-management-certificate-definition.entity-C_r1Djcx.mjs')).factory(this.injector);
|
|
155
165
|
case RootConfig.entities.certificate.name:
|
|
156
|
-
return (await import('./acorex-modules-learning-management-certificate.entity-
|
|
166
|
+
return (await import('./acorex-modules-learning-management-certificate.entity-CSD_CX4V.mjs')).factory(this.injector);
|
|
157
167
|
case RootConfig.entities.learningPath.name:
|
|
158
|
-
return (await import('./acorex-modules-learning-management-learning-path.entity-
|
|
168
|
+
return (await import('./acorex-modules-learning-management-learning-path.entity-Zo--bDto.mjs')).factory(this.injector);
|
|
159
169
|
case RootConfig.entities.learningPathCourse.name:
|
|
160
170
|
return (await import('./acorex-modules-learning-management-learning-path-course.entity-DSIGI87P.mjs')).factory(this.injector);
|
|
161
171
|
case RootConfig.entities.mandatoryTrainingRule.name:
|
|
@@ -671,10 +681,10 @@ const AXLSkillMatrixWidget = {
|
|
|
671
681
|
],
|
|
672
682
|
components: {
|
|
673
683
|
view: {
|
|
674
|
-
component: () =>
|
|
684
|
+
component: () => Promise.resolve().then(function () { return skillMatrixWidgetView_component; }).then((c) => c.AXLSkillMatrixWidgetViewComponent),
|
|
675
685
|
},
|
|
676
686
|
edit: {
|
|
677
|
-
component: () =>
|
|
687
|
+
component: () => Promise.resolve().then(function () { return skillMatrixWidgetEdit_component; }).then((c) => c.AXLSkillMatrixWidgetEditComponent),
|
|
678
688
|
},
|
|
679
689
|
},
|
|
680
690
|
};
|
|
@@ -776,6 +786,692 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
776
786
|
}]
|
|
777
787
|
}] });
|
|
778
788
|
|
|
789
|
+
//#region ---- Imports ----
|
|
790
|
+
//#endregion
|
|
791
|
+
class AXMLearningManagementSkillMatrixComponent {
|
|
792
|
+
//#endregion
|
|
793
|
+
//#region ---- Lifecycle Methods ----
|
|
794
|
+
constructor() {
|
|
795
|
+
//#region ---- Services & Dependencies ----
|
|
796
|
+
this.entityService = inject(AXPEntityService);
|
|
797
|
+
this.skillLevelDataAccessor = this.entityService
|
|
798
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.skillLevel.name)
|
|
799
|
+
.data();
|
|
800
|
+
this.skillDataAccessor = this.entityService
|
|
801
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.skill.name)
|
|
802
|
+
.data();
|
|
803
|
+
this.skillCategoryDataAccessor = this.entityService
|
|
804
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.skillCategory.name)
|
|
805
|
+
.data();
|
|
806
|
+
this.entityDataSelectorService = inject(AXPEntityDataSelectorService);
|
|
807
|
+
this.entityResolver = inject(AXPEntityDefinitionRegistryService);
|
|
808
|
+
this.translationService = inject(AXTranslationService);
|
|
809
|
+
this.destroyRef = inject(DestroyRef);
|
|
810
|
+
this.activeLocale = signal(this.translationService.getActiveLang(), ...(ngDevMode ? [{ debugName: "activeLocale" }] : /* istanbul ignore next */ []));
|
|
811
|
+
//#endregion
|
|
812
|
+
//#region ---- Inputs ----
|
|
813
|
+
/**
|
|
814
|
+
* Array of job titles/positions to display as columns (e.g., Senior, Manager, Director)
|
|
815
|
+
*/
|
|
816
|
+
this.titles = input([], ...(ngDevMode ? [{ debugName: "titles" }] : /* istanbul ignore next */ []));
|
|
817
|
+
/**
|
|
818
|
+
* Initial matrix data: { [skillId]: { [title.id]: skillLevelId } }
|
|
819
|
+
*/
|
|
820
|
+
this.value = input({}, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
821
|
+
/**
|
|
822
|
+
* Whether the matrix is in readonly mode
|
|
823
|
+
*/
|
|
824
|
+
this.readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
825
|
+
/**
|
|
826
|
+
* Initial skill IDs (for syncing with parent entity)
|
|
827
|
+
*/
|
|
828
|
+
this.skillIds = input([], ...(ngDevMode ? [{ debugName: "skillIds" }] : /* istanbul ignore next */ []));
|
|
829
|
+
//#endregion
|
|
830
|
+
//#region ---- Outputs ----
|
|
831
|
+
/**
|
|
832
|
+
* Emitted when the matrix value changes
|
|
833
|
+
*/
|
|
834
|
+
this.valueChange = output();
|
|
835
|
+
/**
|
|
836
|
+
* Emitted when a single cell value changes
|
|
837
|
+
*/
|
|
838
|
+
this.cellChange = output();
|
|
839
|
+
/**
|
|
840
|
+
* Emitted when selected skills change (skill IDs array)
|
|
841
|
+
*/
|
|
842
|
+
this.skillIdsChange = output();
|
|
843
|
+
//#endregion
|
|
844
|
+
//#region ---- Class Properties ----
|
|
845
|
+
/**
|
|
846
|
+
* Skill levels loaded from the service
|
|
847
|
+
*/
|
|
848
|
+
this.skillLevels = signal([], ...(ngDevMode ? [{ debugName: "skillLevels" }] : /* istanbul ignore next */ []));
|
|
849
|
+
/**
|
|
850
|
+
* Selected skills (internal state)
|
|
851
|
+
*/
|
|
852
|
+
this.selectedSkills = signal([], ...(ngDevMode ? [{ debugName: "selectedSkills" }] : /* istanbul ignore next */ []));
|
|
853
|
+
/**
|
|
854
|
+
* Skill entity definition
|
|
855
|
+
*/
|
|
856
|
+
this.skillEntityDef = signal(null, ...(ngDevMode ? [{ debugName: "skillEntityDef" }] : /* istanbul ignore next */ []));
|
|
857
|
+
/**
|
|
858
|
+
* Loading state
|
|
859
|
+
*/
|
|
860
|
+
this.isLoading = signal(true, ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
|
|
861
|
+
/**
|
|
862
|
+
* Loading state for skill entity
|
|
863
|
+
*/
|
|
864
|
+
this.isLoadingSkillEntity = signal(false, ...(ngDevMode ? [{ debugName: "isLoadingSkillEntity" }] : /* istanbul ignore next */ []));
|
|
865
|
+
//#endregion
|
|
866
|
+
//#region ---- Computed Properties ----
|
|
867
|
+
/**
|
|
868
|
+
* Vertical titles (skills) - rows of the matrix
|
|
869
|
+
*/
|
|
870
|
+
this.verticalTitles = computed(() => {
|
|
871
|
+
const locale = this.activeLocale();
|
|
872
|
+
const skills = this.selectedSkills();
|
|
873
|
+
const result = (skills ?? []).map((skill) => ({
|
|
874
|
+
id: skill.id,
|
|
875
|
+
title: resolveMultiLanguageString(skill.title, locale),
|
|
876
|
+
description: skill.description != null ? resolveMultiLanguageString(skill.description, locale) : undefined,
|
|
877
|
+
}));
|
|
878
|
+
return result;
|
|
879
|
+
}, ...(ngDevMode ? [{ debugName: "verticalTitles" }] : /* istanbul ignore next */ []));
|
|
880
|
+
/**
|
|
881
|
+
* Horizontal titles (job titles/positions) - columns of the matrix
|
|
882
|
+
*/
|
|
883
|
+
this.horizontalTitles = computed(() => {
|
|
884
|
+
const titlesInput = this.titles();
|
|
885
|
+
const result = (titlesInput ?? []).map((title) => ({
|
|
886
|
+
id: title.id,
|
|
887
|
+
title: title.title,
|
|
888
|
+
description: title.description || undefined,
|
|
889
|
+
}));
|
|
890
|
+
return result;
|
|
891
|
+
}, ...(ngDevMode ? [{ debugName: "horizontalTitles" }] : /* istanbul ignore next */ []));
|
|
892
|
+
/**
|
|
893
|
+
* Cell options (skill levels) - dropdown options for each cell, loaded from service
|
|
894
|
+
*/
|
|
895
|
+
this.cellOptions = computed(() => {
|
|
896
|
+
const locale = this.activeLocale();
|
|
897
|
+
const levels = this.skillLevels();
|
|
898
|
+
return (levels ?? []).map((level) => ({
|
|
899
|
+
id: level.id,
|
|
900
|
+
title: resolveMultiLanguageString(level.title, locale),
|
|
901
|
+
description: level.description != null ? resolveMultiLanguageString(level.description, locale) : undefined,
|
|
902
|
+
}));
|
|
903
|
+
}, ...(ngDevMode ? [{ debugName: "cellOptions" }] : /* istanbul ignore next */ []));
|
|
904
|
+
/**
|
|
905
|
+
* Spreadsheet columns - converted from horizontalTitles (job titles/positions)
|
|
906
|
+
*/
|
|
907
|
+
this.spreadsheetColumns = computed(() => {
|
|
908
|
+
const horizontalTitles = this.horizontalTitles();
|
|
909
|
+
const cellOptions = this.cellOptions();
|
|
910
|
+
// Create SelectBox widget configuration for skill levels
|
|
911
|
+
const selectBoxWidget = {
|
|
912
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
913
|
+
options: {
|
|
914
|
+
valueField: 'id',
|
|
915
|
+
textField: 'title',
|
|
916
|
+
dataSource: cellOptions.map(option => ({
|
|
917
|
+
id: option.id,
|
|
918
|
+
title: option.title,
|
|
919
|
+
description: option.description,
|
|
920
|
+
})),
|
|
921
|
+
},
|
|
922
|
+
};
|
|
923
|
+
// Convert horizontal titles to columns
|
|
924
|
+
return horizontalTitles.map((title) => ({
|
|
925
|
+
name: title.id,
|
|
926
|
+
title: title.title,
|
|
927
|
+
description: title.description,
|
|
928
|
+
path: title.id, // Path to access the value in row object
|
|
929
|
+
widget: selectBoxWidget,
|
|
930
|
+
}));
|
|
931
|
+
}, ...(ngDevMode ? [{ debugName: "spreadsheetColumns" }] : /* istanbul ignore next */ []));
|
|
932
|
+
/**
|
|
933
|
+
* Spreadsheet rows - converted from matrix data and vertical titles
|
|
934
|
+
*/
|
|
935
|
+
this.spreadsheetRows = computed(() => {
|
|
936
|
+
const verticalTitles = this.verticalTitles();
|
|
937
|
+
const horizontalTitles = this.horizontalTitles();
|
|
938
|
+
const matrixData = this.value();
|
|
939
|
+
// Convert matrix data to spreadsheet rows
|
|
940
|
+
return verticalTitles.map((skill) => {
|
|
941
|
+
const row = {
|
|
942
|
+
name: skill.id, // Required for fixed mode row identification
|
|
943
|
+
_skillTitle: skill.title, // For row header display
|
|
944
|
+
_skillDescription: skill.description, // For row header description
|
|
945
|
+
};
|
|
946
|
+
// Add cell values for each horizontal title (column)
|
|
947
|
+
horizontalTitles.forEach((title) => {
|
|
948
|
+
const cellValue = matrixData[skill.id]?.[title.id] ?? null;
|
|
949
|
+
row[title.id] = cellValue;
|
|
950
|
+
});
|
|
951
|
+
return row;
|
|
952
|
+
});
|
|
953
|
+
}, ...(ngDevMode ? [{ debugName: "spreadsheetRows" }] : /* istanbul ignore next */ []));
|
|
954
|
+
this.translationService.langChanges$
|
|
955
|
+
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
956
|
+
.subscribe((lang) => this.activeLocale.set(lang));
|
|
957
|
+
// Load skill levels and skill entity definition when component initializes
|
|
958
|
+
this.loadSkillLevels();
|
|
959
|
+
this.loadSkillEntityDef();
|
|
960
|
+
// Watch for skillIds input changes and sync selected skills
|
|
961
|
+
effect(() => {
|
|
962
|
+
const ids = this.skillIds();
|
|
963
|
+
if (ids && ids.length > 0 && this.skillEntityDef()) {
|
|
964
|
+
this.loadSkillsByIds(ids);
|
|
965
|
+
}
|
|
966
|
+
else if (!ids || ids.length === 0) {
|
|
967
|
+
// Try to extract skill IDs from matrix data keys
|
|
968
|
+
const matrixData = this.value();
|
|
969
|
+
const skillIdsFromMatrix = Object.keys(matrixData || {});
|
|
970
|
+
if (skillIdsFromMatrix.length > 0 && this.skillEntityDef()) {
|
|
971
|
+
this.loadSkillsByIds(skillIdsFromMatrix);
|
|
972
|
+
}
|
|
973
|
+
else {
|
|
974
|
+
this.selectedSkills.set([]);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
// Watch for matrix value changes and extract skill IDs
|
|
979
|
+
effect(() => {
|
|
980
|
+
const matrixData = this.value();
|
|
981
|
+
const currentSkillIds = this.selectedSkills().map((s) => s.id);
|
|
982
|
+
const skillIdsFromMatrix = Object.keys(matrixData || {});
|
|
983
|
+
// If matrix has skills that aren't in selectedSkills, load them
|
|
984
|
+
const missingIds = skillIdsFromMatrix.filter((id) => !currentSkillIds.includes(id));
|
|
985
|
+
if (missingIds.length > 0 && this.skillEntityDef()) {
|
|
986
|
+
this.loadSkillsByIds(missingIds);
|
|
987
|
+
}
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
//#endregion
|
|
991
|
+
//#region ---- Data Loading Methods ----
|
|
992
|
+
/**
|
|
993
|
+
* Load skill levels from the service
|
|
994
|
+
*/
|
|
995
|
+
async loadSkillLevels() {
|
|
996
|
+
try {
|
|
997
|
+
this.isLoading.set(true);
|
|
998
|
+
const query = {
|
|
999
|
+
skip: 0,
|
|
1000
|
+
take: 1000,
|
|
1001
|
+
sort: [{ field: 'levelNumber', dir: 'asc' }],
|
|
1002
|
+
};
|
|
1003
|
+
const result = await this.skillLevelDataAccessor.query(query);
|
|
1004
|
+
this.skillLevels.set(result.items || []);
|
|
1005
|
+
}
|
|
1006
|
+
catch (error) {
|
|
1007
|
+
console.error('Error loading skill levels:', error);
|
|
1008
|
+
this.skillLevels.set([]);
|
|
1009
|
+
}
|
|
1010
|
+
finally {
|
|
1011
|
+
this.isLoading.set(false);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Load skill entity definition
|
|
1016
|
+
*/
|
|
1017
|
+
async loadSkillEntityDef() {
|
|
1018
|
+
try {
|
|
1019
|
+
this.isLoadingSkillEntity.set(true);
|
|
1020
|
+
const entityDef = await this.entityResolver.resolve(RootConfig.module.name, RootConfig.entities.skill.name);
|
|
1021
|
+
this.skillEntityDef.set(entityDef);
|
|
1022
|
+
}
|
|
1023
|
+
catch (error) {
|
|
1024
|
+
console.error('Error loading skill entity definition:', error);
|
|
1025
|
+
this.skillEntityDef.set(null);
|
|
1026
|
+
}
|
|
1027
|
+
finally {
|
|
1028
|
+
this.isLoadingSkillEntity.set(false);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* Load skills by IDs
|
|
1033
|
+
*/
|
|
1034
|
+
async loadSkillsByIds(ids) {
|
|
1035
|
+
try {
|
|
1036
|
+
const skills = [];
|
|
1037
|
+
for (const id of ids) {
|
|
1038
|
+
try {
|
|
1039
|
+
const skill = await this.skillDataAccessor.byKey(id);
|
|
1040
|
+
if (skill) {
|
|
1041
|
+
skills.push(skill);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
catch (error) {
|
|
1045
|
+
console.error(`Error loading skill ${id}:`, error);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
this.selectedSkills.set(skills);
|
|
1049
|
+
}
|
|
1050
|
+
catch (error) {
|
|
1051
|
+
console.error('Error loading skills by IDs:', error);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region ---- Data Transformation Methods ----
|
|
1056
|
+
/**
|
|
1057
|
+
* Convert spreadsheet rows back to matrix data format
|
|
1058
|
+
*/
|
|
1059
|
+
convertSpreadsheetRowsToMatrixData(rows) {
|
|
1060
|
+
const horizontalTitles = this.horizontalTitles();
|
|
1061
|
+
const matrixData = {};
|
|
1062
|
+
rows.forEach((row) => {
|
|
1063
|
+
const skillId = row['name']; // Row identifier (skill ID)
|
|
1064
|
+
if (!skillId) {
|
|
1065
|
+
return;
|
|
1066
|
+
}
|
|
1067
|
+
matrixData[skillId] = {};
|
|
1068
|
+
// Extract cell values for each column
|
|
1069
|
+
horizontalTitles.forEach((title) => {
|
|
1070
|
+
const cellValue = row[title.id] ?? null;
|
|
1071
|
+
matrixData[skillId][title.id] = cellValue;
|
|
1072
|
+
});
|
|
1073
|
+
});
|
|
1074
|
+
return matrixData;
|
|
1075
|
+
}
|
|
1076
|
+
//#endregion
|
|
1077
|
+
//#region ---- Event Handlers ----
|
|
1078
|
+
/**
|
|
1079
|
+
* Handle spreadsheet change event - convert to matrix format
|
|
1080
|
+
*/
|
|
1081
|
+
handleSpreadsheetChange(rows) {
|
|
1082
|
+
const matrixData = this.convertSpreadsheetRowsToMatrixData(rows);
|
|
1083
|
+
this.valueChange.emit(matrixData);
|
|
1084
|
+
// Extract skill IDs from row names and emit
|
|
1085
|
+
const skillIds = rows.map((row) => row['name']).filter((id) => id != null);
|
|
1086
|
+
this.skillIdsChange.emit(skillIds);
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Handle cell change event from spreadsheet
|
|
1090
|
+
*/
|
|
1091
|
+
handleCellChange(event) {
|
|
1092
|
+
this.cellChange.emit(event);
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Open skill selector dialog with category filter
|
|
1096
|
+
*/
|
|
1097
|
+
async handleSelectSkills() {
|
|
1098
|
+
const entityDef = this.skillEntityDef();
|
|
1099
|
+
if (!entityDef) {
|
|
1100
|
+
console.error('Skill entity definition not loaded');
|
|
1101
|
+
return;
|
|
1102
|
+
}
|
|
1103
|
+
try {
|
|
1104
|
+
// Get currently selected skill IDs
|
|
1105
|
+
const selectedItemIds = this.selectedSkills()
|
|
1106
|
+
.map((skill) => skill.id)
|
|
1107
|
+
.filter((id) => id != null);
|
|
1108
|
+
// Create category tree data source
|
|
1109
|
+
const categoryTreeDataSource = {
|
|
1110
|
+
loadRootNodes: async () => {
|
|
1111
|
+
const result = await this.skillCategoryDataAccessor.query({
|
|
1112
|
+
skip: 0,
|
|
1113
|
+
take: 1000,
|
|
1114
|
+
filter: {
|
|
1115
|
+
field: 'parentId',
|
|
1116
|
+
operator: { type: 'isEmpty' },
|
|
1117
|
+
value: true,
|
|
1118
|
+
},
|
|
1119
|
+
sort: [{ field: 'title', dir: 'asc' }],
|
|
1120
|
+
});
|
|
1121
|
+
return (result.items || []).map((item) => ({
|
|
1122
|
+
id: item.id,
|
|
1123
|
+
title: item.title || item.name,
|
|
1124
|
+
description: item.description || '',
|
|
1125
|
+
parentId: item.parentId,
|
|
1126
|
+
childrenCount: item.childrenCount || 0,
|
|
1127
|
+
}));
|
|
1128
|
+
},
|
|
1129
|
+
loadChildNodes: async (parentId) => {
|
|
1130
|
+
const result = await this.skillCategoryDataAccessor.query({
|
|
1131
|
+
skip: 0,
|
|
1132
|
+
take: 1000,
|
|
1133
|
+
filter: {
|
|
1134
|
+
field: 'parentId',
|
|
1135
|
+
operator: { type: 'equal' },
|
|
1136
|
+
value: parentId,
|
|
1137
|
+
},
|
|
1138
|
+
sort: [{ field: 'title', dir: 'asc' }],
|
|
1139
|
+
});
|
|
1140
|
+
return (result.items || []).map((item) => ({
|
|
1141
|
+
id: item.id,
|
|
1142
|
+
title: item.title || item.name,
|
|
1143
|
+
description: item.description || '',
|
|
1144
|
+
parentId: item.parentId,
|
|
1145
|
+
childrenCount: item.childrenCount || 0,
|
|
1146
|
+
}));
|
|
1147
|
+
},
|
|
1148
|
+
searchNodes: async (searchValue) => {
|
|
1149
|
+
const result = await this.skillCategoryDataAccessor.query({
|
|
1150
|
+
skip: 0,
|
|
1151
|
+
take: 1000,
|
|
1152
|
+
filter: {
|
|
1153
|
+
filters: [
|
|
1154
|
+
{
|
|
1155
|
+
field: 'title',
|
|
1156
|
+
operator: { type: 'contains' },
|
|
1157
|
+
value: searchValue,
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
field: 'name',
|
|
1161
|
+
operator: { type: 'contains' },
|
|
1162
|
+
value: searchValue,
|
|
1163
|
+
},
|
|
1164
|
+
],
|
|
1165
|
+
logic: 'or',
|
|
1166
|
+
},
|
|
1167
|
+
});
|
|
1168
|
+
return (result.items || []).map((item) => ({
|
|
1169
|
+
id: item.id,
|
|
1170
|
+
title: item.title || item.name,
|
|
1171
|
+
description: item.description || '',
|
|
1172
|
+
parentId: item.parentId,
|
|
1173
|
+
childrenCount: item.childrenCount || 0,
|
|
1174
|
+
}));
|
|
1175
|
+
},
|
|
1176
|
+
};
|
|
1177
|
+
const result = await this.entityDataSelectorService.open({
|
|
1178
|
+
entity: entityDef,
|
|
1179
|
+
title: 'Select Skills',
|
|
1180
|
+
allowMultiple: true,
|
|
1181
|
+
selectedItemIds: selectedItemIds.length > 0 ? selectedItemIds : undefined,
|
|
1182
|
+
columns: ['title', 'description'],
|
|
1183
|
+
showCategoryFilter: false,
|
|
1184
|
+
categoryFilter: {
|
|
1185
|
+
title: 'Categories',
|
|
1186
|
+
dataSource: categoryTreeDataSource,
|
|
1187
|
+
filterField: 'categoryIds',
|
|
1188
|
+
filterOperator: 'contains',
|
|
1189
|
+
width: '350px',
|
|
1190
|
+
},
|
|
1191
|
+
});
|
|
1192
|
+
if (result && result.items && result.items.length > 0) {
|
|
1193
|
+
// Update selected skills
|
|
1194
|
+
this.selectedSkills.set(result.items);
|
|
1195
|
+
// Emit skill IDs change
|
|
1196
|
+
const skillIds = result.items.map((item) => item.id).filter((id) => id != null);
|
|
1197
|
+
this.skillIdsChange.emit(skillIds);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
catch (error) {
|
|
1201
|
+
console.error('Error opening skill selector:', error);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Remove a skill from selection
|
|
1206
|
+
*/
|
|
1207
|
+
handleRemoveSkill(skillId) {
|
|
1208
|
+
const currentSkills = this.selectedSkills();
|
|
1209
|
+
const updatedSkills = currentSkills.filter((skill) => skill.id !== skillId);
|
|
1210
|
+
this.selectedSkills.set(updatedSkills);
|
|
1211
|
+
// Remove skill data from matrix value
|
|
1212
|
+
const currentMatrixData = this.value();
|
|
1213
|
+
const updatedMatrixData = { ...currentMatrixData };
|
|
1214
|
+
delete updatedMatrixData[skillId];
|
|
1215
|
+
// Emit updated matrix data
|
|
1216
|
+
this.valueChange.emit(updatedMatrixData);
|
|
1217
|
+
// Emit skill IDs change
|
|
1218
|
+
const skillIds = updatedSkills.map((skill) => skill.id).filter((id) => id != null);
|
|
1219
|
+
this.skillIdsChange.emit(skillIds);
|
|
1220
|
+
}
|
|
1221
|
+
/**
|
|
1222
|
+
* Handle row change event from spreadsheet (add/remove)
|
|
1223
|
+
*/
|
|
1224
|
+
handleRowChange(event) {
|
|
1225
|
+
if (event.type === 'remove') {
|
|
1226
|
+
// Remove skill from selection
|
|
1227
|
+
this.handleRemoveSkill(event.rowId);
|
|
1228
|
+
}
|
|
1229
|
+
// Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here
|
|
1230
|
+
}
|
|
1231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMLearningManagementSkillMatrixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1232
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMLearningManagementSkillMatrixComponent, isStandalone: true, selector: "axm-skill-matrix", inputs: { titles: { classPropertyName: "titles", publicName: "titles", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, skillIds: { classPropertyName: "skillIds", publicName: "skillIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", cellChange: "cellChange", skillIdsChange: "skillIdsChange" }, host: { classAttribute: "axm-skill-matrix" }, ngImport: i0, template: "<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@learning-management:skills.components.skill-matrix.actions.choose-skills.title' | translate | async\"\n (onClick)=\"handleSelectSkills()\" [disabled]=\"isLoadingSkillEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@learning-management:skills.components.skill-matrix.messages.loading-skill-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Skill / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_skillTitle'\"\n [rowDescriptionPath]=\"'_skillDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>", styles: [".axm-skill-matrix{display:block;height:100%;width:100%}.axm-skill-matrix .__container,.axm-skill-matrix .__matrix-section{display:flex;flex-direction:column}.axm-skill-matrix .__matrix-header{margin-bottom:.75rem;display:flex;justify-content:flex-end}.axm-skill-matrix .__loading{display:flex;align-items:center;justify-content:center;padding:2rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPSpreadsheetComponent, selector: "axp-spreadsheet", inputs: ["title", "columns", "rowMode", "rowsInput", "rowsModel", "readonly", "emptyCellPlaceholder", "rowTitlePath", "rowDescriptionPath", "allowAddRows", "allowRemoveRows"], outputs: ["rowsModelChange", "cellChange", "rowChange", "spreadsheetChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1233
|
+
}
|
|
1234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMLearningManagementSkillMatrixComponent, decorators: [{
|
|
1235
|
+
type: Component,
|
|
1236
|
+
args: [{ selector: 'axm-skill-matrix', standalone: true, imports: [
|
|
1237
|
+
CommonModule,
|
|
1238
|
+
AXPSpreadsheetComponent,
|
|
1239
|
+
AXButtonModule,
|
|
1240
|
+
AXDecoratorModule,
|
|
1241
|
+
AXTranslationModule,
|
|
1242
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1243
|
+
class: 'axm-skill-matrix',
|
|
1244
|
+
}, template: "<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@learning-management:skills.components.skill-matrix.actions.choose-skills.title' | translate | async\"\n (onClick)=\"handleSelectSkills()\" [disabled]=\"isLoadingSkillEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@learning-management:skills.components.skill-matrix.messages.loading-skill-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Skill / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_skillTitle'\"\n [rowDescriptionPath]=\"'_skillDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>", styles: [".axm-skill-matrix{display:block;height:100%;width:100%}.axm-skill-matrix .__container,.axm-skill-matrix .__matrix-section{display:flex;flex-direction:column}.axm-skill-matrix .__matrix-header{margin-bottom:.75rem;display:flex;justify-content:flex-end}.axm-skill-matrix .__loading{display:flex;align-items:center;justify-content:center;padding:2rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}\n"] }]
|
|
1245
|
+
}], ctorParameters: () => [], propDecorators: { titles: [{ type: i0.Input, args: [{ isSignal: true, alias: "titles", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], skillIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "skillIds", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], cellChange: [{ type: i0.Output, args: ["cellChange"] }], skillIdsChange: [{ type: i0.Output, args: ["skillIdsChange"] }] } });
|
|
1246
|
+
|
|
1247
|
+
//#region ---- Imports ----
|
|
1248
|
+
//#endregion
|
|
1249
|
+
//#region ---- Component Definition ----
|
|
1250
|
+
class AXLSkillMatrixWidgetEditComponent extends AXPValueWidgetComponent {
|
|
1251
|
+
constructor() {
|
|
1252
|
+
super(...arguments);
|
|
1253
|
+
//#endregion
|
|
1254
|
+
//#region ---- Computed Properties ----
|
|
1255
|
+
/**
|
|
1256
|
+
* Titles from context - reactively reads from context data signal
|
|
1257
|
+
* This ensures the titles update immediately when requiredLevels changes in context
|
|
1258
|
+
*/
|
|
1259
|
+
this.titles = computed(() => {
|
|
1260
|
+
// Read directly from context data signal for reactive updates
|
|
1261
|
+
const contextData = this.contextService.data();
|
|
1262
|
+
const requiredLevelsFromContext = get(contextData, 'jobLevels');
|
|
1263
|
+
if (Array.isArray(requiredLevelsFromContext) && requiredLevelsFromContext.length > 0) {
|
|
1264
|
+
// Ensure each item has the required structure
|
|
1265
|
+
return requiredLevelsFromContext.map((item) => {
|
|
1266
|
+
if (typeof item === 'string') {
|
|
1267
|
+
// If item is just a string (ID), convert to proper format
|
|
1268
|
+
return { id: item, title: item };
|
|
1269
|
+
}
|
|
1270
|
+
// If item is an object, ensure it has id and title
|
|
1271
|
+
return {
|
|
1272
|
+
id: item.id || item.value || String(item),
|
|
1273
|
+
title: item.title || item.name || String(item),
|
|
1274
|
+
description: item.description,
|
|
1275
|
+
};
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
// Fallback to options (for initial load or when context is not yet available)
|
|
1279
|
+
const options = this.options();
|
|
1280
|
+
const rawTitles = options?.['titles'];
|
|
1281
|
+
// If titles is not set, return empty array
|
|
1282
|
+
if (!rawTitles) {
|
|
1283
|
+
return [];
|
|
1284
|
+
}
|
|
1285
|
+
// If it's already an array, return it (evaluated expression result)
|
|
1286
|
+
if (Array.isArray(rawTitles)) {
|
|
1287
|
+
// Ensure each item has the required structure
|
|
1288
|
+
return rawTitles.map((item) => {
|
|
1289
|
+
if (typeof item === 'string') {
|
|
1290
|
+
// If item is just a string (ID), convert to proper format
|
|
1291
|
+
return { id: item, title: item };
|
|
1292
|
+
}
|
|
1293
|
+
// If item is an object, ensure it has id and title
|
|
1294
|
+
return {
|
|
1295
|
+
id: item.id || item.value || String(item),
|
|
1296
|
+
title: item.title || item.name || String(item),
|
|
1297
|
+
description: item.description,
|
|
1298
|
+
};
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
// If it's still a string (unevaluated expression), return empty array
|
|
1302
|
+
// The expression will be evaluated by the widget renderer and options will update
|
|
1303
|
+
if (typeof rawTitles === 'string') {
|
|
1304
|
+
return [];
|
|
1305
|
+
}
|
|
1306
|
+
return [];
|
|
1307
|
+
}, ...(ngDevMode ? [{ debugName: "titles" }] : /* istanbul ignore next */ []));
|
|
1308
|
+
/**
|
|
1309
|
+
* Readonly mode from options - properly tracks options signal changes
|
|
1310
|
+
*/
|
|
1311
|
+
this.readonly = computed(() => {
|
|
1312
|
+
const options = this.options();
|
|
1313
|
+
const result = options?.['readonly'] ?? false;
|
|
1314
|
+
return result;
|
|
1315
|
+
}, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
1316
|
+
/**
|
|
1317
|
+
* Current matrix value - tracks getValue signal changes
|
|
1318
|
+
*/
|
|
1319
|
+
this.matrixValue = computed(() => {
|
|
1320
|
+
const result = this.getValue() || {};
|
|
1321
|
+
const keysCount = Object.keys(result).length;
|
|
1322
|
+
return result;
|
|
1323
|
+
}, ...(ngDevMode ? [{ debugName: "matrixValue" }] : /* istanbul ignore next */ []));
|
|
1324
|
+
/**
|
|
1325
|
+
* Skill IDs extracted from matrix data keys or from options
|
|
1326
|
+
*/
|
|
1327
|
+
this.skillIds = computed(() => {
|
|
1328
|
+
const options = this.options();
|
|
1329
|
+
const skillIdsFromOptions = options?.['skillIds'] ?? [];
|
|
1330
|
+
// If skillIds from options is an array, use it
|
|
1331
|
+
if (Array.isArray(skillIdsFromOptions) && skillIdsFromOptions.length > 0) {
|
|
1332
|
+
return skillIdsFromOptions;
|
|
1333
|
+
}
|
|
1334
|
+
// Otherwise, extract from matrix data keys
|
|
1335
|
+
const matrixData = this.matrixValue();
|
|
1336
|
+
return Object.keys(matrixData || {});
|
|
1337
|
+
}, ...(ngDevMode ? [{ debugName: "skillIds" }] : /* istanbul ignore next */ []));
|
|
1338
|
+
}
|
|
1339
|
+
//#endregion
|
|
1340
|
+
//#region ---- Event Handlers ----
|
|
1341
|
+
/**
|
|
1342
|
+
* Handle value change from skill-matrix component
|
|
1343
|
+
*/
|
|
1344
|
+
handleValueChange(data) {
|
|
1345
|
+
const dataKeysCount = Object.keys(data || {}).length;
|
|
1346
|
+
const currentKeysCount = Object.keys(this.getValue() || {}).length;
|
|
1347
|
+
if (data) {
|
|
1348
|
+
this.setValue(data);
|
|
1349
|
+
const afterKeysCount = Object.keys(this.getValue() || {}).length;
|
|
1350
|
+
}
|
|
1351
|
+
else {
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Handle skill IDs change from skill-matrix component
|
|
1356
|
+
* Skill IDs are stored as keys in the matrix data, so this is mainly for tracking
|
|
1357
|
+
*/
|
|
1358
|
+
handleSkillIdsChange(skillIds) {
|
|
1359
|
+
// Skill IDs are already reflected in the matrix data keys
|
|
1360
|
+
// This handler is here for potential future use or side effects
|
|
1361
|
+
console.log('Skill IDs changed:', skillIds);
|
|
1362
|
+
}
|
|
1363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXLSkillMatrixWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1364
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXLSkillMatrixWidgetEditComponent, isStandalone: true, selector: "axm-skill-matrix-widget-edit", host: { classAttribute: "ax-block ax-w-full" }, usesInheritance: true, ngImport: i0, template: `
|
|
1365
|
+
<axm-skill-matrix
|
|
1366
|
+
[titles]="titles()"
|
|
1367
|
+
[value]="matrixValue()"
|
|
1368
|
+
[skillIds]="skillIds()"
|
|
1369
|
+
[readonly]="readonly()"
|
|
1370
|
+
(valueChange)="handleValueChange($any($event))"
|
|
1371
|
+
(skillIdsChange)="handleSkillIdsChange($any($event))"
|
|
1372
|
+
></axm-skill-matrix>
|
|
1373
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AXMLearningManagementSkillMatrixComponent, selector: "axm-skill-matrix", inputs: ["titles", "value", "readonly", "skillIds"], outputs: ["valueChange", "cellChange", "skillIdsChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1374
|
+
}
|
|
1375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXLSkillMatrixWidgetEditComponent, decorators: [{
|
|
1376
|
+
type: Component,
|
|
1377
|
+
args: [{
|
|
1378
|
+
selector: 'axm-skill-matrix-widget-edit',
|
|
1379
|
+
standalone: true,
|
|
1380
|
+
imports: [
|
|
1381
|
+
AXMLearningManagementSkillMatrixComponent
|
|
1382
|
+
],
|
|
1383
|
+
template: `
|
|
1384
|
+
<axm-skill-matrix
|
|
1385
|
+
[titles]="titles()"
|
|
1386
|
+
[value]="matrixValue()"
|
|
1387
|
+
[skillIds]="skillIds()"
|
|
1388
|
+
[readonly]="readonly()"
|
|
1389
|
+
(valueChange)="handleValueChange($any($event))"
|
|
1390
|
+
(skillIdsChange)="handleSkillIdsChange($any($event))"
|
|
1391
|
+
></axm-skill-matrix>
|
|
1392
|
+
`,
|
|
1393
|
+
host: {
|
|
1394
|
+
class: 'ax-block ax-w-full',
|
|
1395
|
+
},
|
|
1396
|
+
encapsulation: ViewEncapsulation.None,
|
|
1397
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1398
|
+
}]
|
|
1399
|
+
}] });
|
|
1400
|
+
|
|
1401
|
+
var skillMatrixWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
1402
|
+
__proto__: null,
|
|
1403
|
+
AXLSkillMatrixWidgetEditComponent: AXLSkillMatrixWidgetEditComponent
|
|
1404
|
+
});
|
|
1405
|
+
|
|
1406
|
+
//#region ---- Imports ----
|
|
1407
|
+
//#endregion
|
|
1408
|
+
//#region ---- Component Definition ----
|
|
1409
|
+
class AXLSkillMatrixWidgetViewComponent extends AXPValueWidgetComponent {
|
|
1410
|
+
constructor() {
|
|
1411
|
+
super(...arguments);
|
|
1412
|
+
//#endregion
|
|
1413
|
+
//#region ---- Computed Properties ----
|
|
1414
|
+
/**
|
|
1415
|
+
* Skill IDs from options
|
|
1416
|
+
*/
|
|
1417
|
+
this.skills = computed(() => {
|
|
1418
|
+
return this.options()['skills'] || [];
|
|
1419
|
+
}, ...(ngDevMode ? [{ debugName: "skills" }] : /* istanbul ignore next */ []));
|
|
1420
|
+
/**
|
|
1421
|
+
* Current matrix value
|
|
1422
|
+
*/
|
|
1423
|
+
this.matrixValue = computed(() => {
|
|
1424
|
+
return this.getValue() || {};
|
|
1425
|
+
}, ...(ngDevMode ? [{ debugName: "matrixValue" }] : /* istanbul ignore next */ []));
|
|
1426
|
+
}
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region ---- Event Handlers ----
|
|
1429
|
+
/**
|
|
1430
|
+
* Handle value change from skill-matrix component
|
|
1431
|
+
*/
|
|
1432
|
+
handleValueChange(data) {
|
|
1433
|
+
if (data) {
|
|
1434
|
+
this.setValue(data);
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXLSkillMatrixWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1438
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXLSkillMatrixWidgetViewComponent, isStandalone: true, selector: "axm-skill-matrix-widget-view", host: { classAttribute: "ax-block ax-w-full " }, usesInheritance: true, ngImport: i0, template: `
|
|
1439
|
+
<axm-skill-matrix
|
|
1440
|
+
[value]="matrixValue()"
|
|
1441
|
+
[readonly]="true"
|
|
1442
|
+
(valueChange)="handleValueChange($any($event))"
|
|
1443
|
+
></axm-skill-matrix>
|
|
1444
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AXMLearningManagementSkillMatrixComponent, selector: "axm-skill-matrix", inputs: ["titles", "value", "readonly", "skillIds"], outputs: ["valueChange", "cellChange", "skillIdsChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1445
|
+
}
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXLSkillMatrixWidgetViewComponent, decorators: [{
|
|
1447
|
+
type: Component,
|
|
1448
|
+
args: [{
|
|
1449
|
+
selector: 'axm-skill-matrix-widget-view',
|
|
1450
|
+
standalone: true,
|
|
1451
|
+
imports: [
|
|
1452
|
+
AXMLearningManagementSkillMatrixComponent
|
|
1453
|
+
],
|
|
1454
|
+
template: `
|
|
1455
|
+
<axm-skill-matrix
|
|
1456
|
+
[value]="matrixValue()"
|
|
1457
|
+
[readonly]="true"
|
|
1458
|
+
(valueChange)="handleValueChange($any($event))"
|
|
1459
|
+
></axm-skill-matrix>
|
|
1460
|
+
`,
|
|
1461
|
+
host: {
|
|
1462
|
+
class: 'ax-block ax-w-full ',
|
|
1463
|
+
},
|
|
1464
|
+
encapsulation: ViewEncapsulation.None,
|
|
1465
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1466
|
+
}]
|
|
1467
|
+
}] });
|
|
1468
|
+
|
|
1469
|
+
var skillMatrixWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
1470
|
+
__proto__: null,
|
|
1471
|
+
AXLSkillMatrixWidgetViewComponent: AXLSkillMatrixWidgetViewComponent
|
|
1472
|
+
});
|
|
1473
|
+
|
|
1474
|
+
//#region ---- Skill Model ----
|
|
779
1475
|
//#endregion
|
|
780
1476
|
|
|
781
1477
|
//#region ---- Skill Level Model ----
|
|
@@ -817,11 +1513,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
817
1513
|
//#region ---- Learning Path Course Model ----
|
|
818
1514
|
//#endregion
|
|
819
1515
|
|
|
1516
|
+
//#region ---- Mandatory Training Rule Model ----
|
|
820
1517
|
//#endregion
|
|
821
1518
|
|
|
822
1519
|
/**
|
|
823
1520
|
* Generated bundle index. Do not edit.
|
|
824
1521
|
*/
|
|
825
1522
|
|
|
826
|
-
export { AXMLearningManagementEntityProvider, AXMLearningManagementMenuKeys, AXMLearningManagementMenuProvider, AXMLearningManagementModule, AXMLearningManagementPermissionDefinitionProvider, AXMLearningManagementPermissionKeys, AXMLearningManagementSearchCommandProvider, RootConfig };
|
|
1523
|
+
export { AXLSkillMatrixWidgetEditComponent, AXLSkillMatrixWidgetViewComponent, AXMLearningManagementEntityProvider, AXMLearningManagementMenuKeys, AXMLearningManagementMenuProvider, AXMLearningManagementModule, AXMLearningManagementPermissionDefinitionProvider, AXMLearningManagementPermissionKeys, AXMLearningManagementSearchCommandProvider, AXMLearningManagementSkillMatrixComponent, RootConfig };
|
|
827
1524
|
//# sourceMappingURL=acorex-modules-learning-management.mjs.map
|