@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
|
@@ -6,7 +6,7 @@ import { AXPSearchCommandProvider, createEntityCommandOptions, AXPFileStorageSer
|
|
|
6
6
|
import { AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER, AXPSessionService } from '@acorex/platform/auth';
|
|
7
7
|
import { AXPStateMessageComponent, AXP_PAGE_COMPONENT_PROVIDER, AXPThemeLayoutBlockComponent, AXPStopwatchComponent } from '@acorex/platform/layout/components';
|
|
8
8
|
import { provideCommandSetups, provideCommand } from '@acorex/platform/runtime';
|
|
9
|
-
import {
|
|
9
|
+
import { AXPExpressionEvaluatorService, AXPDeviceService, containsHtmlMarkup, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER, AXPContextStore } from '@acorex/platform/core';
|
|
10
10
|
import { ROUTES, ActivatedRoute, Router } from '@angular/router';
|
|
11
11
|
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
|
12
12
|
import { AXMMetaDataDefinitionEntityModule } from '@acorex/modules/data-management';
|
|
@@ -14,22 +14,22 @@ import * as i1 from '@acorex/platform/layout/widget-core';
|
|
|
14
14
|
import { AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER, AXPWidgetContainerComponent, AXPWidgetCoreService } from '@acorex/platform/layout/widget-core';
|
|
15
15
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
16
16
|
import * as i3 from '@angular/common';
|
|
17
|
-
import { CommonModule } from '@angular/common';
|
|
17
|
+
import { CommonModule, AsyncPipe } from '@angular/common';
|
|
18
18
|
import * as i1$3 from '@acorex/components/form';
|
|
19
19
|
import { AXFormModule } from '@acorex/components/form';
|
|
20
20
|
import * as i4$1 from '@acorex/core/translation';
|
|
21
|
-
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
|
21
|
+
import { resolveMultiLanguageString, AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
|
22
22
|
import * as i2$1 from '@acorex/components/decorators';
|
|
23
23
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
24
24
|
import { AXToastService } from '@acorex/components/toast';
|
|
25
25
|
import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
|
|
26
26
|
import { cloneDeep, get } from 'lodash-es';
|
|
27
27
|
import { AXPopupService } from '@acorex/components/popup';
|
|
28
|
-
import { AXSafePipe } from '@acorex/core/pipes';
|
|
29
28
|
import * as i2 from '@acorex/components/alert';
|
|
30
29
|
import { AXAlertModule } from '@acorex/components/alert';
|
|
31
30
|
import * as i4 from '@acorex/components/text-area';
|
|
32
31
|
import { AXTextAreaModule } from '@acorex/components/text-area';
|
|
32
|
+
import { AXSafePipe } from '@acorex/core/pipes';
|
|
33
33
|
import * as i5 from '@angular/forms';
|
|
34
34
|
import { FormsModule } from '@angular/forms';
|
|
35
35
|
import { AXDrawerDirectiveModule } from '@acorex/cdk/drawer';
|
|
@@ -102,15 +102,15 @@ class AXMAssessmentManagementEntityProvider {
|
|
|
102
102
|
if (moduleName === RootConfig.module.name) {
|
|
103
103
|
switch (entityName) {
|
|
104
104
|
case RootConfig.entities.questionBankItem.name:
|
|
105
|
-
return (await import('./acorex-modules-assessment-management-question-bank-item.entity-
|
|
105
|
+
return (await import('./acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs')).factory(this.injector);
|
|
106
106
|
case RootConfig.entities.questionnaire.name:
|
|
107
|
-
return (await import('./acorex-modules-assessment-management-questionnaire.entity-
|
|
107
|
+
return (await import('./acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs')).factory();
|
|
108
108
|
case RootConfig.entities.assessmentCase.name:
|
|
109
|
-
return (await import('./acorex-modules-assessment-management-assessment-case.entity-
|
|
109
|
+
return (await import('./acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs')).factory(this.injector);
|
|
110
110
|
case RootConfig.entities.assessmentSession.name:
|
|
111
|
-
return (await import('./acorex-modules-assessment-management-assessment-session.entity-
|
|
111
|
+
return (await import('./acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs')).factory(this.injector);
|
|
112
112
|
case RootConfig.entities.questionnaireCalculation.name:
|
|
113
|
-
return (await import('./acorex-modules-assessment-management-questionnaire-calculation.entity-
|
|
113
|
+
return (await import('./acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs')).factory(this.injector);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
return null;
|
|
@@ -417,7 +417,7 @@ const AssessmentManagementManifest = {
|
|
|
417
417
|
const AXMQuestionBankInterfaceEditorWidget = {
|
|
418
418
|
name: 'question-bank-interface-editor',
|
|
419
419
|
title: '@assessment-management:question-bank.entities.question-bank-item.fields.interface.title',
|
|
420
|
-
icon: 'fa-
|
|
420
|
+
icon: 'fa-light fa-puzzle-piece',
|
|
421
421
|
description: '@assessment-management:question-bank.entities.question-bank-item.fields.interface.description',
|
|
422
422
|
categories: AXP_WIDGETS_EDITOR_CATEGORY,
|
|
423
423
|
groups: [AXPWidgetGroupEnum.UtilityWidget],
|
|
@@ -477,10 +477,10 @@ const AXMQuestionBankInterfaceEditorWidget = {
|
|
|
477
477
|
],
|
|
478
478
|
components: {
|
|
479
479
|
edit: {
|
|
480
|
-
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-
|
|
480
|
+
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
481
481
|
},
|
|
482
482
|
designer: {
|
|
483
|
-
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-
|
|
483
|
+
component: () => import('./acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
484
484
|
},
|
|
485
485
|
column: {
|
|
486
486
|
component: () => import('@acorex/platform/layout/widgets').then((m) => m.AXPWidgetFieldConfiguratorWidgetColumnComponent),
|
|
@@ -1047,8 +1047,7 @@ function resolveSummaryPlaceholders(content, values) {
|
|
|
1047
1047
|
if (!content)
|
|
1048
1048
|
return '';
|
|
1049
1049
|
const elapsed = values.totalTimeSeconds;
|
|
1050
|
-
const totalTimeStr = values.totalTimeFormatted ??
|
|
1051
|
-
(elapsed !== undefined && elapsed !== null ? formatElapsedDuration(elapsed) : '');
|
|
1050
|
+
const totalTimeStr = values.totalTimeFormatted ?? (elapsed !== undefined && elapsed !== null ? formatElapsedDuration(elapsed) : '');
|
|
1052
1051
|
let result = content
|
|
1053
1052
|
.replace(/\{\{totalQuestions\}\}/g, String(values.totalQuestions ?? ''))
|
|
1054
1053
|
.replace(/\{\{answeredCount\}\}/g, String(values.answeredCount ?? ''))
|
|
@@ -1083,7 +1082,10 @@ function stripHtmlToPlain(html) {
|
|
|
1083
1082
|
catch {
|
|
1084
1083
|
/* ignore */
|
|
1085
1084
|
}
|
|
1086
|
-
return html
|
|
1085
|
+
return html
|
|
1086
|
+
.replace(/<[^>]+>/g, ' ')
|
|
1087
|
+
.replace(/\s+/g, ' ')
|
|
1088
|
+
.trim();
|
|
1087
1089
|
}
|
|
1088
1090
|
/**
|
|
1089
1091
|
* Human-readable label for a question bank item: prefer plain text from rich `question`, else `title`.
|
|
@@ -1121,7 +1123,7 @@ class AXMQuestionnaireViewerService {
|
|
|
1121
1123
|
* Open questionnaire viewer in a dialog
|
|
1122
1124
|
*/
|
|
1123
1125
|
async open(config) {
|
|
1124
|
-
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-
|
|
1126
|
+
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cc-o6qmY.mjs');
|
|
1125
1127
|
const structure = config.structure;
|
|
1126
1128
|
const submitHandler = config.submitHandler ??
|
|
1127
1129
|
((answers) => this.buildSummaryPlaceholderValues(structure, answers, { questionnaireId: config.questionnaireId }));
|
|
@@ -1562,7 +1564,10 @@ function normalizeValidationStrategy$1(value) {
|
|
|
1562
1564
|
if (value === 'step' || value === 'end') {
|
|
1563
1565
|
return value;
|
|
1564
1566
|
}
|
|
1565
|
-
if (value != null &&
|
|
1567
|
+
if (value != null &&
|
|
1568
|
+
typeof value === 'object' &&
|
|
1569
|
+
'id' in value &&
|
|
1570
|
+
typeof value.id === 'string') {
|
|
1566
1571
|
return normalizeValidationStrategy$1(value.id);
|
|
1567
1572
|
}
|
|
1568
1573
|
return 'step';
|
|
@@ -1666,7 +1671,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1666
1671
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
1667
1672
|
return configMode !== undefined
|
|
1668
1673
|
? configMode
|
|
1669
|
-
:
|
|
1674
|
+
: displaySettingsViewMode !== undefined
|
|
1675
|
+
? displaySettingsViewMode
|
|
1676
|
+
: 'single-page';
|
|
1670
1677
|
}),
|
|
1671
1678
|
//#endregion
|
|
1672
1679
|
//#region ---- Sections & Questions ----
|
|
@@ -1728,7 +1735,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1728
1735
|
const displaySettingsValue = displaySettings?.progressMode;
|
|
1729
1736
|
return configValue !== undefined
|
|
1730
1737
|
? configValue
|
|
1731
|
-
:
|
|
1738
|
+
: displaySettingsValue !== undefined
|
|
1739
|
+
? displaySettingsValue
|
|
1740
|
+
: 'answered';
|
|
1732
1741
|
}),
|
|
1733
1742
|
answeredQuestionsCount: computed(() => {
|
|
1734
1743
|
const data = store.questionnaireData();
|
|
@@ -1783,13 +1792,17 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1783
1792
|
const displaySettingsValue = displaySettings?.progressMode;
|
|
1784
1793
|
const progressMode = configValue !== undefined
|
|
1785
1794
|
? configValue
|
|
1786
|
-
:
|
|
1795
|
+
: displaySettingsValue !== undefined
|
|
1796
|
+
? displaySettingsValue
|
|
1797
|
+
: 'answered';
|
|
1787
1798
|
// Calculate view mode
|
|
1788
1799
|
const configMode = config?.viewMode;
|
|
1789
1800
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
1790
1801
|
const viewMode = configMode !== undefined
|
|
1791
1802
|
? configMode
|
|
1792
|
-
:
|
|
1803
|
+
: displaySettingsViewMode !== undefined
|
|
1804
|
+
? displaySettingsViewMode
|
|
1805
|
+
: 'single-page';
|
|
1793
1806
|
if (progressMode === 'answered') {
|
|
1794
1807
|
// Calculate answered count directly
|
|
1795
1808
|
const container = store.widgetContainer();
|
|
@@ -1849,9 +1862,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1849
1862
|
const structure = store.structure();
|
|
1850
1863
|
const displaySettings = structure?.displaySettings;
|
|
1851
1864
|
const displaySettingsValue = displaySettings?.showProgressBar;
|
|
1852
|
-
return configValue !== undefined
|
|
1853
|
-
? configValue
|
|
1854
|
-
: (displaySettingsValue !== undefined ? displaySettingsValue : true);
|
|
1865
|
+
return configValue !== undefined ? configValue : displaySettingsValue !== undefined ? displaySettingsValue : true;
|
|
1855
1866
|
}),
|
|
1856
1867
|
showTimer: computed(() => {
|
|
1857
1868
|
const config = store.config();
|
|
@@ -1861,7 +1872,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1861
1872
|
const displaySettingsValue = displaySettings?.showTimer;
|
|
1862
1873
|
return configValue !== undefined
|
|
1863
1874
|
? configValue
|
|
1864
|
-
:
|
|
1875
|
+
: displaySettingsValue !== undefined
|
|
1876
|
+
? displaySettingsValue
|
|
1877
|
+
: false;
|
|
1865
1878
|
}),
|
|
1866
1879
|
timerTimeLimit: computed(() => {
|
|
1867
1880
|
const config = store.config();
|
|
@@ -1873,9 +1886,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1873
1886
|
const structure = store.structure();
|
|
1874
1887
|
const displaySettings = structure?.displaySettings;
|
|
1875
1888
|
const displaySettingsValue = displaySettings?.showQuestionNumbers;
|
|
1876
|
-
return configValue !== undefined
|
|
1877
|
-
? configValue
|
|
1878
|
-
: (displaySettingsValue !== undefined ? displaySettingsValue : true);
|
|
1889
|
+
return configValue !== undefined ? configValue : displaySettingsValue !== undefined ? displaySettingsValue : true;
|
|
1879
1890
|
}),
|
|
1880
1891
|
showQuestionCounter: computed(() => {
|
|
1881
1892
|
const config = store.config();
|
|
@@ -1885,7 +1896,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1885
1896
|
const displaySettingsValue = displaySettings?.showQuestionCounter;
|
|
1886
1897
|
return configValue !== undefined
|
|
1887
1898
|
? configValue
|
|
1888
|
-
:
|
|
1899
|
+
: displaySettingsValue !== undefined
|
|
1900
|
+
? displaySettingsValue
|
|
1901
|
+
: false;
|
|
1889
1902
|
}),
|
|
1890
1903
|
currentQuestionPosition: computed(() => {
|
|
1891
1904
|
const data = store.questionnaireData();
|
|
@@ -1899,7 +1912,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1899
1912
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
1900
1913
|
const viewMode = configMode !== undefined
|
|
1901
1914
|
? configMode
|
|
1902
|
-
:
|
|
1915
|
+
: displaySettingsViewMode !== undefined
|
|
1916
|
+
? displaySettingsViewMode
|
|
1917
|
+
: 'single-page';
|
|
1903
1918
|
const sc = store.sectionVisibilityById();
|
|
1904
1919
|
const qc = store.questionVisibilityById();
|
|
1905
1920
|
const total = countAllVisibleQuestions(data, sc, qc);
|
|
@@ -1974,7 +1989,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1974
1989
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
1975
1990
|
const viewMode = configMode !== undefined
|
|
1976
1991
|
? configMode
|
|
1977
|
-
:
|
|
1992
|
+
: displaySettingsViewMode !== undefined
|
|
1993
|
+
? displaySettingsViewMode
|
|
1994
|
+
: 'single-page';
|
|
1978
1995
|
const sections = data.sections;
|
|
1979
1996
|
if (viewMode === 'page-per-group' || viewMode === 'side-menu') {
|
|
1980
1997
|
const sc = store.sectionVisibilityById();
|
|
@@ -2020,7 +2037,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2020
2037
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
2021
2038
|
const viewMode = configMode !== undefined
|
|
2022
2039
|
? configMode
|
|
2023
|
-
:
|
|
2040
|
+
: displaySettingsViewMode !== undefined
|
|
2041
|
+
? displaySettingsViewMode
|
|
2042
|
+
: 'single-page';
|
|
2024
2043
|
if (viewMode === 'page-per-group' || viewMode === 'side-menu') {
|
|
2025
2044
|
const sc = store.sectionVisibilityById();
|
|
2026
2045
|
const qc = store.questionVisibilityById();
|
|
@@ -2065,7 +2084,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2065
2084
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
2066
2085
|
const viewMode = configMode !== undefined
|
|
2067
2086
|
? configMode
|
|
2068
|
-
:
|
|
2087
|
+
: displaySettingsViewMode !== undefined
|
|
2088
|
+
? displaySettingsViewMode
|
|
2089
|
+
: 'single-page';
|
|
2069
2090
|
const sections = data.sections;
|
|
2070
2091
|
if (viewMode === 'single-page') {
|
|
2071
2092
|
// For single-page, we're always on the last step
|
|
@@ -2188,7 +2209,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2188
2209
|
const existingValidations = existingOptions.validations || widgetInterface.validations || [];
|
|
2189
2210
|
const validations = [...existingValidations];
|
|
2190
2211
|
if (item.isRequired === true) {
|
|
2191
|
-
const hasRequiredValidation = validations.some(v => v.rule === 'required');
|
|
2212
|
+
const hasRequiredValidation = validations.some((v) => v.rule === 'required');
|
|
2192
2213
|
if (!hasRequiredValidation) {
|
|
2193
2214
|
validations.push({
|
|
2194
2215
|
rule: 'required',
|
|
@@ -2315,7 +2336,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2315
2336
|
const existingValidations = existingOptions.validations || widgetInterface.validations || [];
|
|
2316
2337
|
const validations = [...existingValidations];
|
|
2317
2338
|
if (item.isRequired === true) {
|
|
2318
|
-
const hasRequiredValidation = validations.some(v => v.rule === 'required');
|
|
2339
|
+
const hasRequiredValidation = validations.some((v) => v.rule === 'required');
|
|
2319
2340
|
if (!hasRequiredValidation) {
|
|
2320
2341
|
validations.push({
|
|
2321
2342
|
rule: 'required',
|
|
@@ -2527,7 +2548,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2527
2548
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
2528
2549
|
const viewMode = configMode !== undefined
|
|
2529
2550
|
? configMode
|
|
2530
|
-
:
|
|
2551
|
+
: displaySettingsViewMode !== undefined
|
|
2552
|
+
? displaySettingsViewMode
|
|
2553
|
+
: 'single-page';
|
|
2531
2554
|
const sections = data.sections;
|
|
2532
2555
|
if (viewMode === 'single-page') {
|
|
2533
2556
|
const visibleQuestions = [];
|
|
@@ -2575,9 +2598,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2575
2598
|
if (commentPolicy.enabled && commentPolicy.required) {
|
|
2576
2599
|
const cPath = getQuestionAnswerCommentStoragePath(question.name);
|
|
2577
2600
|
const cVal = get(contextData, cPath);
|
|
2578
|
-
const commentEmpty = cVal === null ||
|
|
2579
|
-
cVal === undefined ||
|
|
2580
|
-
(typeof cVal === 'string' && cVal.trim() === '');
|
|
2601
|
+
const commentEmpty = cVal === null || cVal === undefined || (typeof cVal === 'string' && cVal.trim() === '');
|
|
2581
2602
|
if (commentEmpty) {
|
|
2582
2603
|
return 'Comment is required.';
|
|
2583
2604
|
}
|
|
@@ -2630,7 +2651,8 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2630
2651
|
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
2631
2652
|
if (isEmpty) {
|
|
2632
2653
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2633
|
-
const errorMessage = await translationService.translateAsync('@acorex:validation.messages.required') ||
|
|
2654
|
+
const errorMessage = (await translationService.translateAsync('@acorex:validation.messages.required')) ||
|
|
2655
|
+
`${questionTitle} is required`;
|
|
2634
2656
|
// Replace {{ title }} placeholder if present, otherwise use the message as-is
|
|
2635
2657
|
const finalErrorMessage = errorMessage.includes('{{ title }}')
|
|
2636
2658
|
? errorMessage.replace('{{ title }}', questionTitle)
|
|
@@ -2639,9 +2661,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2639
2661
|
name: question.name,
|
|
2640
2662
|
questionTitle,
|
|
2641
2663
|
sectionName: section?.name,
|
|
2642
|
-
sectionTitle: section
|
|
2643
|
-
? resolveMultiLanguageString(section.title, locale)
|
|
2644
|
-
: undefined,
|
|
2664
|
+
sectionTitle: section ? resolveMultiLanguageString(section.title, locale) : undefined,
|
|
2645
2665
|
error: finalErrorMessage,
|
|
2646
2666
|
});
|
|
2647
2667
|
}
|
|
@@ -2651,9 +2671,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2651
2671
|
if (commentPolicy.enabled && commentPolicy.required) {
|
|
2652
2672
|
const cPath = getQuestionAnswerCommentStoragePath(question.name);
|
|
2653
2673
|
const cVal = get(contextData, cPath);
|
|
2654
|
-
const commentEmpty = cVal === null ||
|
|
2655
|
-
cVal === undefined ||
|
|
2656
|
-
(typeof cVal === 'string' && cVal.trim() === '');
|
|
2674
|
+
const commentEmpty = cVal === null || cVal === undefined || (typeof cVal === 'string' && cVal.trim() === '');
|
|
2657
2675
|
if (commentEmpty) {
|
|
2658
2676
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2659
2677
|
const errorMessage = (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.comment-required')) || 'A comment is required for this question.';
|
|
@@ -2661,9 +2679,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2661
2679
|
name: question.name,
|
|
2662
2680
|
questionTitle,
|
|
2663
2681
|
sectionName: section?.name,
|
|
2664
|
-
sectionTitle: section
|
|
2665
|
-
? resolveMultiLanguageString(section.title, locale)
|
|
2666
|
-
: undefined,
|
|
2682
|
+
sectionTitle: section ? resolveMultiLanguageString(section.title, locale) : undefined,
|
|
2667
2683
|
error: errorMessage.includes('{{ title }}')
|
|
2668
2684
|
? errorMessage.replace('{{ title }}', questionTitle)
|
|
2669
2685
|
: errorMessage,
|
|
@@ -2675,10 +2691,10 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2675
2691
|
}
|
|
2676
2692
|
patchState(store, { validationErrors: errors });
|
|
2677
2693
|
if (errors.length > 0) {
|
|
2678
|
-
const errorMessage = await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.current-page-error') || `Please complete ${errors.length} required question(s) on this page.`;
|
|
2694
|
+
const errorMessage = (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.current-page-error')) || `Please complete ${errors.length} required question(s) on this page.`;
|
|
2679
2695
|
toastService.show({
|
|
2680
2696
|
color: 'danger',
|
|
2681
|
-
title: await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.error-title') || 'Validation Error',
|
|
2697
|
+
title: (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.error-title')) || 'Validation Error',
|
|
2682
2698
|
content: errorMessage,
|
|
2683
2699
|
location: 'bottom-center',
|
|
2684
2700
|
closeButton: true,
|
|
@@ -2730,7 +2746,8 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2730
2746
|
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
2731
2747
|
if (isEmpty) {
|
|
2732
2748
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2733
|
-
const errorMessage = await translationService.translateAsync('@acorex:validation.messages.required') ||
|
|
2749
|
+
const errorMessage = (await translationService.translateAsync('@acorex:validation.messages.required')) ||
|
|
2750
|
+
`${questionTitle} is required`;
|
|
2734
2751
|
// Replace {{ title }} placeholder if present, otherwise use the message as-is
|
|
2735
2752
|
const finalErrorMessage = errorMessage.includes('{{ title }}')
|
|
2736
2753
|
? errorMessage.replace('{{ title }}', questionTitle)
|
|
@@ -2749,9 +2766,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2749
2766
|
if (commentPolicy.enabled && commentPolicy.required) {
|
|
2750
2767
|
const cPath = getQuestionAnswerCommentStoragePath(question.name);
|
|
2751
2768
|
const cVal = get(contextData, cPath);
|
|
2752
|
-
const commentEmpty = cVal === null ||
|
|
2753
|
-
cVal === undefined ||
|
|
2754
|
-
(typeof cVal === 'string' && cVal.trim() === '');
|
|
2769
|
+
const commentEmpty = cVal === null || cVal === undefined || (typeof cVal === 'string' && cVal.trim() === '');
|
|
2755
2770
|
if (commentEmpty) {
|
|
2756
2771
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2757
2772
|
const errorMessage = (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.comment-required')) || 'A comment is required for this question.';
|
|
@@ -2772,10 +2787,10 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2772
2787
|
}
|
|
2773
2788
|
patchState(store, { validationErrors: errors });
|
|
2774
2789
|
if (errors.length > 0) {
|
|
2775
|
-
const errorMessage = await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.all-questions-error') || `Please complete ${errors.length} required question(s) in the questionnaire.`;
|
|
2790
|
+
const errorMessage = (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.all-questions-error')) || `Please complete ${errors.length} required question(s) in the questionnaire.`;
|
|
2776
2791
|
toastService.show({
|
|
2777
2792
|
color: 'danger',
|
|
2778
|
-
title: await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.error-title') || 'Validation Error',
|
|
2793
|
+
title: (await translationService.translateAsync('@assessment-management:questionnaires.components.questionnaire-viewer.validation.error-title')) || 'Validation Error',
|
|
2779
2794
|
content: errorMessage,
|
|
2780
2795
|
location: 'bottom-center',
|
|
2781
2796
|
closeButton: true,
|
|
@@ -2808,7 +2823,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2808
2823
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
2809
2824
|
const viewMode = configMode !== undefined
|
|
2810
2825
|
? configMode
|
|
2811
|
-
:
|
|
2826
|
+
: displaySettingsViewMode !== undefined
|
|
2827
|
+
? displaySettingsViewMode
|
|
2828
|
+
: 'single-page';
|
|
2812
2829
|
const sections = data.sections;
|
|
2813
2830
|
if (viewMode === 'page-per-group' || viewMode === 'side-menu') {
|
|
2814
2831
|
const sc = store.sectionVisibilityById();
|
|
@@ -2862,7 +2879,9 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2862
2879
|
const displaySettingsViewMode = displaySettings?.viewMode;
|
|
2863
2880
|
const viewMode = configMode !== undefined
|
|
2864
2881
|
? configMode
|
|
2865
|
-
:
|
|
2882
|
+
: displaySettingsViewMode !== undefined
|
|
2883
|
+
? displaySettingsViewMode
|
|
2884
|
+
: 'single-page';
|
|
2866
2885
|
const sections = data.sections;
|
|
2867
2886
|
if (viewMode === 'page-per-group' || viewMode === 'side-menu') {
|
|
2868
2887
|
const sc = store.sectionVisibilityById();
|
|
@@ -2942,9 +2961,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2942
2961
|
if (commentPolicy.enabled && commentPolicy.required) {
|
|
2943
2962
|
const cPath = getQuestionAnswerCommentStoragePath(question.name);
|
|
2944
2963
|
const cVal = get(contextData, cPath);
|
|
2945
|
-
const commentEmpty = cVal === null ||
|
|
2946
|
-
cVal === undefined ||
|
|
2947
|
-
(typeof cVal === 'string' && cVal.trim() === '');
|
|
2964
|
+
const commentEmpty = cVal === null || cVal === undefined || (typeof cVal === 'string' && cVal.trim() === '');
|
|
2948
2965
|
if (commentEmpty) {
|
|
2949
2966
|
return false;
|
|
2950
2967
|
}
|
|
@@ -3228,12 +3245,18 @@ class AXMQuestionnaireViewerQuestionComponent {
|
|
|
3228
3245
|
}
|
|
3229
3246
|
const mode = hShown.mode;
|
|
3230
3247
|
switch (mode) {
|
|
3231
|
-
case 'info':
|
|
3232
|
-
|
|
3233
|
-
case '
|
|
3234
|
-
|
|
3235
|
-
case '
|
|
3236
|
-
|
|
3248
|
+
case 'info':
|
|
3249
|
+
return 'primary';
|
|
3250
|
+
case 'warning':
|
|
3251
|
+
return 'warning';
|
|
3252
|
+
case 'danger':
|
|
3253
|
+
return 'danger';
|
|
3254
|
+
case 'success':
|
|
3255
|
+
return 'success';
|
|
3256
|
+
case 'neutral':
|
|
3257
|
+
return 'default';
|
|
3258
|
+
default:
|
|
3259
|
+
return 'default';
|
|
3237
3260
|
}
|
|
3238
3261
|
}, ...(ngDevMode ? [{ debugName: "hintModeClass" }] : /* istanbul ignore next */ []));
|
|
3239
3262
|
/** Show "Required" when statically required or when a required expression is configured. */
|
|
@@ -3353,261 +3376,270 @@ class AXMQuestionnaireViewerQuestionComponent {
|
|
|
3353
3376
|
}
|
|
3354
3377
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerQuestionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3355
3378
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerQuestionComponent, isStandalone: true, selector: "axm-questionnaire-viewer-question", inputs: { question: { classPropertyName: "question", publicName: "question", isSignal: true, isRequired: true, transformFunction: null }, contextData: { classPropertyName: "contextData", publicName: "contextData", isSignal: true, isRequired: false, transformFunction: null }, sectionOrder: { classPropertyName: "sectionOrder", publicName: "sectionOrder", isSignal: true, isRequired: true, transformFunction: null }, questionIndex: { classPropertyName: "questionIndex", publicName: "questionIndex", isSignal: true, isRequired: true, transformFunction: null }, showQuestionNumbers: { classPropertyName: "showQuestionNumbers", publicName: "showQuestionNumbers", isSignal: true, isRequired: false, transformFunction: null }, showQuestionCounter: { classPropertyName: "showQuestionCounter", publicName: "showQuestionCounter", isSignal: true, isRequired: false, transformFunction: null }, currentPosition: { classPropertyName: "currentPosition", publicName: "currentPosition", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
@if (showQuestionCounter() && currentPosition()) {
|
|
3368
|
-
<span class="__question-counter">
|
|
3369
|
-
Question {{ currentPosition()!.current }} of {{ currentPosition()!.total }}
|
|
3370
|
-
</span>
|
|
3371
|
-
}
|
|
3372
|
-
</div>
|
|
3373
|
-
}
|
|
3374
|
-
<div class="__question-header-right">
|
|
3375
|
-
<div class="__question-title-block ax-flex ax-flex-col ax-gap-1 ax-flex-1 ax-min-w-0 ax-items-stretch">
|
|
3376
|
-
@if (question().question.question; as qBody) {
|
|
3377
|
-
@if (qBody !== '' && (qBody | axpResolveMultiLanguageString).trim().length > 0) {
|
|
3378
|
-
@if (containsHtmlMarkup((qBody | axpResolveMultiLanguageString).trim())) {
|
|
3379
|
-
<div
|
|
3380
|
-
class="__question-title __question-title--rich"
|
|
3381
|
-
[innerHTML]="qBody | axpResolveMultiLanguageString | safe: 'html'"
|
|
3382
|
-
></div>
|
|
3383
|
-
} @else {
|
|
3384
|
-
<h3 class="__question-title">{{ (qBody | axpResolveMultiLanguageString).trim() }}</h3>
|
|
3385
|
-
}
|
|
3386
|
-
} @else {
|
|
3387
|
-
<h3 class="__question-title">
|
|
3388
|
-
{{ question().question.title | axpResolveMultiLanguageString }}
|
|
3389
|
-
</h3>
|
|
3390
|
-
}
|
|
3391
|
-
} @else {
|
|
3392
|
-
<h3 class="__question-title">
|
|
3393
|
-
{{ question().question.title | axpResolveMultiLanguageString }}
|
|
3394
|
-
</h3>
|
|
3395
|
-
}
|
|
3396
|
-
</div>
|
|
3397
|
-
@if (isAnswered()) {
|
|
3398
|
-
<span class="__answered-badge">{{
|
|
3399
|
-
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.answered' | translate | async
|
|
3400
|
-
}}</span>
|
|
3401
|
-
} @else if (showRequiredBadge()) {
|
|
3402
|
-
<span class="__required-badge">{{
|
|
3403
|
-
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.required' | translate | async
|
|
3404
|
-
}}</span>
|
|
3405
|
-
}
|
|
3406
|
-
</div>
|
|
3407
|
-
</div>
|
|
3408
|
-
<!-- Question Note -->
|
|
3409
|
-
@if (question().question.note; as noteRaw) {
|
|
3410
|
-
@if (noteRaw !== '' && (noteRaw | axpResolveMultiLanguageString).trim()) {
|
|
3411
|
-
<div
|
|
3412
|
-
class="__question-note"
|
|
3413
|
-
[innerHTML]="noteRaw | axpResolveMultiLanguageString | safe: 'html'"
|
|
3414
|
-
></div>
|
|
3415
|
-
}
|
|
3379
|
+
<div class="__question-item" [class.__answered]="isAnswered()" [class.__view-mode]="mode() === 'view'">
|
|
3380
|
+
<div class="__question-header">
|
|
3381
|
+
@if (showQuestionNumbers() || (showQuestionCounter() && currentPosition())) {
|
|
3382
|
+
<div class="__question-header-left">
|
|
3383
|
+
@if (showQuestionNumbers()) {
|
|
3384
|
+
<span class="__question-number">{{ sectionOrder() }}.{{ questionIndex() }}</span>
|
|
3385
|
+
}
|
|
3386
|
+
@if (showQuestionCounter() && currentPosition()) {
|
|
3387
|
+
<span class="__question-counter">
|
|
3388
|
+
Question {{ currentPosition()!.current }} of {{ currentPosition()!.total }}
|
|
3389
|
+
</span>
|
|
3416
3390
|
}
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3391
|
+
</div>
|
|
3392
|
+
}
|
|
3393
|
+
<div class="__question-header-right">
|
|
3394
|
+
<div class="__question-title-block ax-flex ax-flex-col ax-gap-1 ax-flex-1 ax-min-w-0 ax-items-stretch">
|
|
3395
|
+
@if (question().question.question; as qBody) {
|
|
3396
|
+
@if (qBody !== '' && (qBody | translate | async)?.trim()!.length > 0) {
|
|
3397
|
+
@if (containsHtmlMarkup((qBody | translate | async)?.trim())) {
|
|
3398
|
+
<div
|
|
3399
|
+
class="__question-title __question-title--rich"
|
|
3400
|
+
[innerHTML]="qBody | translate | async | safe: 'html'"
|
|
3401
|
+
></div>
|
|
3421
3402
|
} @else {
|
|
3422
|
-
|
|
3403
|
+
<h3 class="__question-title">{{ (qBody | translate | async)?.trim() }}</h3>
|
|
3423
3404
|
}
|
|
3424
|
-
|
|
3405
|
+
} @else {
|
|
3406
|
+
<h3 class="__question-title">
|
|
3407
|
+
{{ question().question.title | translate | async }}
|
|
3408
|
+
</h3>
|
|
3409
|
+
}
|
|
3410
|
+
} @else {
|
|
3411
|
+
<h3 class="__question-title">
|
|
3412
|
+
{{ question().question.title | translate | async }}
|
|
3413
|
+
</h3>
|
|
3414
|
+
}
|
|
3415
|
+
</div>
|
|
3416
|
+
@if (isAnswered()) {
|
|
3417
|
+
<span class="__answered-badge">{{
|
|
3418
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.answered'
|
|
3419
|
+
| translate
|
|
3420
|
+
| async
|
|
3421
|
+
}}</span>
|
|
3422
|
+
} @else if (showRequiredBadge()) {
|
|
3423
|
+
<span class="__required-badge">{{
|
|
3424
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.required'
|
|
3425
|
+
| translate
|
|
3426
|
+
| async
|
|
3427
|
+
}}</span>
|
|
3428
|
+
}
|
|
3429
|
+
</div>
|
|
3430
|
+
</div>
|
|
3431
|
+
<!-- Question Note -->
|
|
3432
|
+
@if (question().question.note; as noteRaw) {
|
|
3433
|
+
@if (noteRaw !== '' && (noteRaw | translate | async)?.trim()) {
|
|
3434
|
+
<div class="__question-note" [innerHTML]="noteRaw | translate | async | safe: 'html'"></div>
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
<!-- Question Widget -->
|
|
3438
|
+
<div class="__question-widget">
|
|
3439
|
+
@if (question().question.interface) {
|
|
3440
|
+
<ng-container axp-widget-renderer [node]="question().question.interface" [mode]="mode()"></ng-container>
|
|
3441
|
+
} @else {
|
|
3442
|
+
<p class="__widget-placeholder">No widget interface configured</p>
|
|
3443
|
+
}
|
|
3444
|
+
</div>
|
|
3425
3445
|
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3446
|
+
@if (hintShown(); as hShown) {
|
|
3447
|
+
@if (hShown.content; as hintRaw) {
|
|
3448
|
+
@if (hintRaw !== '' && (hintRaw | translate | async)?.trim()) {
|
|
3429
3449
|
<ax-alert [color]="hintModeClass()" role="note">
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3450
|
+
<!-- <ax-title>{{ '@assessment-management:questionnaires.components.questionnaire-builder.fields.hint.title' | translate | async }}</ax-title> -->
|
|
3451
|
+
<ax-icon></ax-icon>
|
|
3452
|
+
<ax-content>
|
|
3453
|
+
<div [innerHTML]="hintRaw | translate | async | safe: 'html'"></div>
|
|
3454
|
+
</ax-content>
|
|
3435
3455
|
</ax-alert>
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3439
3459
|
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3460
|
+
@if (question().comment.enabled) {
|
|
3461
|
+
@if (mode() === 'view') {
|
|
3462
|
+
@if (respondentCommentText().trim(); as commentView) {
|
|
3443
3463
|
<div class="__question-comment __question-comment--readonly">
|
|
3444
|
-
|
|
3464
|
+
<p class="__question-comment-text">{{ commentView }}</p>
|
|
3445
3465
|
</div>
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3466
|
+
}
|
|
3467
|
+
} @else {
|
|
3468
|
+
<div class="__question-comment">
|
|
3469
|
+
<ax-text-area
|
|
3470
|
+
[rows]="2"
|
|
3471
|
+
[ngModel]="respondentCommentText()"
|
|
3472
|
+
(onValueChanged)="onRespondentCommentChanged($event)"
|
|
3473
|
+
[placeholder]="
|
|
3474
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.comment.placeholder'
|
|
3475
|
+
| translate
|
|
3476
|
+
| async
|
|
3477
|
+
"
|
|
3478
|
+
></ax-text-area>
|
|
3479
|
+
</div>
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3460
3482
|
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3483
|
+
@if (questionAttachments().length > 0) {
|
|
3484
|
+
<div class="__attachments">
|
|
3485
|
+
<span class="__attachments-label"
|
|
3486
|
+
>{{
|
|
3487
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.attachments.title'
|
|
3488
|
+
| translate
|
|
3489
|
+
| async
|
|
3490
|
+
}}:</span
|
|
3491
|
+
>
|
|
3492
|
+
<ul class="__attachments-list">
|
|
3493
|
+
@for (att of questionAttachments(); track att.id) {
|
|
3494
|
+
<li>
|
|
3495
|
+
<a class="__attachment-link" href="#" (click)="openAttachment($event, att)" role="button">
|
|
3496
|
+
<i class="fa-light fa-paperclip"></i>
|
|
3497
|
+
{{ att.name || att.id }}
|
|
3498
|
+
</a>
|
|
3499
|
+
</li>
|
|
3500
|
+
}
|
|
3501
|
+
</ul>
|
|
3476
3502
|
</div>
|
|
3477
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-question{display:block}axm-questionnaire-viewer-question .__question-item{display:flex;flex-direction:column;gap:.25rem;padding:1rem;text-align:start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}axm-questionnaire-viewer-question .__question-item.__answered{border-radius:.5rem;background:rgba(var(--ax-sys-color-primary-surface),.14)}axm-questionnaire-viewer-question .__question-item.__answered:not(.__view-mode){border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1))}axm-questionnaire-viewer-question .__question-item .__question-header{display:flex;width:100%;min-width:0px;align-items:flex-start;justify-content:space-between;gap:1rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left{display:flex;flex-shrink:0;align-items:center;gap:.75rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-number{font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-counter{font-size:.75rem;line-height:1rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right{display:flex;min-width:0px;flex:1 1 0%;flex-wrap:wrap;align-items:flex-start;gap:.5rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block{min-width:0px;flex:1 1 0%;text-align:start}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title{margin:0;min-width:0px;flex:1 1 0%;text-align:start;font-size:1rem;line-height:1.5rem;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block h3.__question-title{font-weight:500}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich{width:100%;max-width:100%;text-align:start;font-size:1rem;line-height:1.5rem;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul ul{list-style-type:circle;margin-block:.25rem 0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title.__question-title--rich{font-weight:400}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__answered-badge{border-radius:.25rem;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;background-color:rgb(var(--ax-sys-color-success-lighter-surface));color:rgb(var(--ax-sys-color-on-success-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__required-badge{border-radius:.25rem;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;background-color:rgb(var(--ax-sys-color-warning-lighter-surface));color:rgb(var(--ax-sys-color-on-warning-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-note{font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-note p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-note p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-note ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note li{margin-block:.125rem}axm-questionnaire-viewer-question .__question-item .__question-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-widget{text-align:start}axm-questionnaire-viewer-question .__question-item .__question-widget>*{margin-bottom:0}axm-questionnaire-viewer-question .__question-item .__widget-placeholder{border-radius:.25rem;border-width:1px;border-style:dashed;padding:1rem;font-size:.875rem;line-height:1.25rem;font-style:italic;color:rgb(var(--ax-sys-color-on-surface-variant));--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment{display:flex;width:100%;flex-direction:column;gap:.25rem}axm-questionnaire-viewer-question .__question-item .__question-comment ax-text-area{margin-top:.5rem}axm-questionnaire-viewer-question .__question-item .__question-comment--readonly{margin-top:.5rem}axm-questionnaire-viewer-question .__question-item .__question-comment-text{margin:0;width:100%;font-size:.875rem;line-height:1.25rem;white-space:pre-wrap;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment-label{font-size:.875rem;line-height:1.25rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-comment-required{color:rgb(var(--ax-sys-color-danger-600))}axm-questionnaire-viewer-question .__question-item .__attachments{border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding-top:.75rem}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-label{margin-inline-end:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list{margin:0;margin-top:.25rem;list-style-type:none;padding-left:0}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li{margin-top:.25rem}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;text-decoration-line:underline;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:rgb(var(--ax-sys-color-primary-dark-surface))}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link:hover{opacity:.9}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link i{flex-shrink:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXAlertModule }, { kind: "component", type: i2.AXAlertComponent, selector: "ax-alert", inputs: ["color", "timeOut"], outputs: ["colorChange", "onClosed", "timeOutChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3503
|
+
}
|
|
3504
|
+
</div>
|
|
3505
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-question{display:block}axm-questionnaire-viewer-question .__question-item{display:flex;flex-direction:column;gap:.25rem;padding:1rem;text-align:start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}axm-questionnaire-viewer-question .__question-item.__answered{border-radius:.5rem;background:rgba(var(--ax-sys-color-primary-surface),.14)}axm-questionnaire-viewer-question .__question-item.__answered:not(.__view-mode){border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1))}axm-questionnaire-viewer-question .__question-item .__question-header{display:flex;width:100%;min-width:0px;align-items:flex-start;justify-content:space-between;gap:1rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left{display:flex;flex-shrink:0;align-items:center;gap:.75rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-number{font-size:.875rem;line-height:1.25rem;font-weight:600;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-left .__question-counter{font-size:.75rem;line-height:1rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right{display:flex;min-width:0px;flex:1 1 0%;flex-wrap:wrap;align-items:flex-start;gap:.5rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block{min-width:0px;flex:1 1 0%;text-align:start}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title{margin:0;min-width:0px;flex:1 1 0%;text-align:start;font-size:1rem;line-height:1.5rem;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block h3.__question-title{font-weight:500}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich{width:100%;max-width:100%;text-align:start;font-size:1rem;line-height:1.5rem;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title--rich ul ul{list-style-type:circle;margin-block:.25rem 0}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__question-title-block .__question-title.__question-title--rich{font-weight:400}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__answered-badge{border-radius:.25rem;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;background-color:rgb(var(--ax-sys-color-success-lighter-surface));color:rgb(var(--ax-sys-color-on-success-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-header .__question-header-right .__required-badge{border-radius:.25rem;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;background-color:rgb(var(--ax-sys-color-warning-lighter-surface));color:rgb(var(--ax-sys-color-on-warning-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-note{font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-note p{margin:0}axm-questionnaire-viewer-question .__question-item .__question-note p:first-child{margin-top:0}axm-questionnaire-viewer-question .__question-item .__question-note ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-question .__question-item .__question-note li{margin-block:.125rem}axm-questionnaire-viewer-question .__question-item .__question-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-widget{text-align:start}axm-questionnaire-viewer-question .__question-item .__question-widget>*{margin-bottom:0}axm-questionnaire-viewer-question .__question-item .__widget-placeholder{border-radius:.25rem;border-width:1px;border-style:dashed;padding:1rem;font-size:.875rem;line-height:1.25rem;font-style:italic;color:rgb(var(--ax-sys-color-on-surface-variant));--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment{display:flex;width:100%;flex-direction:column;gap:.25rem}axm-questionnaire-viewer-question .__question-item .__question-comment ax-text-area{margin-top:.5rem}axm-questionnaire-viewer-question .__question-item .__question-comment--readonly{margin-top:.5rem}axm-questionnaire-viewer-question .__question-item .__question-comment-text{margin:0;width:100%;font-size:.875rem;line-height:1.25rem;white-space:pre-wrap;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-question .__question-item .__question-comment-label{font-size:.875rem;line-height:1.25rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__question-comment-required{color:rgb(var(--ax-sys-color-danger-600))}axm-questionnaire-viewer-question .__question-item .__attachments{border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding-top:.75rem}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-label{margin-inline-end:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list{margin:0;margin-top:.25rem;list-style-type:none;padding-left:0}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li{margin-top:.25rem}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;text-decoration-line:underline;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:rgb(var(--ax-sys-color-primary-dark-surface))}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link:hover{opacity:.9}axm-questionnaire-viewer-question .__question-item .__attachments .__attachments-list li .__attachment-link i{flex-shrink:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXAlertModule }, { kind: "component", type: i2.AXAlertComponent, selector: "ax-alert", inputs: ["color", "timeOut"], outputs: ["colorChange", "onClosed", "timeOutChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3478
3506
|
}
|
|
3479
3507
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerQuestionComponent, decorators: [{
|
|
3480
3508
|
type: Component,
|
|
3481
3509
|
args: [{ selector: 'axm-questionnaire-viewer-question', template: `
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
@if (showQuestionCounter() && currentPosition()) {
|
|
3494
|
-
<span class="__question-counter">
|
|
3495
|
-
Question {{ currentPosition()!.current }} of {{ currentPosition()!.total }}
|
|
3496
|
-
</span>
|
|
3497
|
-
}
|
|
3498
|
-
</div>
|
|
3499
|
-
}
|
|
3500
|
-
<div class="__question-header-right">
|
|
3501
|
-
<div class="__question-title-block ax-flex ax-flex-col ax-gap-1 ax-flex-1 ax-min-w-0 ax-items-stretch">
|
|
3502
|
-
@if (question().question.question; as qBody) {
|
|
3503
|
-
@if (qBody !== '' && (qBody | axpResolveMultiLanguageString).trim().length > 0) {
|
|
3504
|
-
@if (containsHtmlMarkup((qBody | axpResolveMultiLanguageString).trim())) {
|
|
3505
|
-
<div
|
|
3506
|
-
class="__question-title __question-title--rich"
|
|
3507
|
-
[innerHTML]="qBody | axpResolveMultiLanguageString | safe: 'html'"
|
|
3508
|
-
></div>
|
|
3509
|
-
} @else {
|
|
3510
|
-
<h3 class="__question-title">{{ (qBody | axpResolveMultiLanguageString).trim() }}</h3>
|
|
3511
|
-
}
|
|
3512
|
-
} @else {
|
|
3513
|
-
<h3 class="__question-title">
|
|
3514
|
-
{{ question().question.title | axpResolveMultiLanguageString }}
|
|
3515
|
-
</h3>
|
|
3516
|
-
}
|
|
3517
|
-
} @else {
|
|
3518
|
-
<h3 class="__question-title">
|
|
3519
|
-
{{ question().question.title | axpResolveMultiLanguageString }}
|
|
3520
|
-
</h3>
|
|
3521
|
-
}
|
|
3522
|
-
</div>
|
|
3523
|
-
@if (isAnswered()) {
|
|
3524
|
-
<span class="__answered-badge">{{
|
|
3525
|
-
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.answered' | translate | async
|
|
3526
|
-
}}</span>
|
|
3527
|
-
} @else if (showRequiredBadge()) {
|
|
3528
|
-
<span class="__required-badge">{{
|
|
3529
|
-
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.required' | translate | async
|
|
3530
|
-
}}</span>
|
|
3531
|
-
}
|
|
3532
|
-
</div>
|
|
3533
|
-
</div>
|
|
3534
|
-
<!-- Question Note -->
|
|
3535
|
-
@if (question().question.note; as noteRaw) {
|
|
3536
|
-
@if (noteRaw !== '' && (noteRaw | axpResolveMultiLanguageString).trim()) {
|
|
3537
|
-
<div
|
|
3538
|
-
class="__question-note"
|
|
3539
|
-
[innerHTML]="noteRaw | axpResolveMultiLanguageString | safe: 'html'"
|
|
3540
|
-
></div>
|
|
3541
|
-
}
|
|
3510
|
+
<div class="__question-item" [class.__answered]="isAnswered()" [class.__view-mode]="mode() === 'view'">
|
|
3511
|
+
<div class="__question-header">
|
|
3512
|
+
@if (showQuestionNumbers() || (showQuestionCounter() && currentPosition())) {
|
|
3513
|
+
<div class="__question-header-left">
|
|
3514
|
+
@if (showQuestionNumbers()) {
|
|
3515
|
+
<span class="__question-number">{{ sectionOrder() }}.{{ questionIndex() }}</span>
|
|
3516
|
+
}
|
|
3517
|
+
@if (showQuestionCounter() && currentPosition()) {
|
|
3518
|
+
<span class="__question-counter">
|
|
3519
|
+
Question {{ currentPosition()!.current }} of {{ currentPosition()!.total }}
|
|
3520
|
+
</span>
|
|
3542
3521
|
}
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3522
|
+
</div>
|
|
3523
|
+
}
|
|
3524
|
+
<div class="__question-header-right">
|
|
3525
|
+
<div class="__question-title-block ax-flex ax-flex-col ax-gap-1 ax-flex-1 ax-min-w-0 ax-items-stretch">
|
|
3526
|
+
@if (question().question.question; as qBody) {
|
|
3527
|
+
@if (qBody !== '' && (qBody | translate | async)?.trim()!.length > 0) {
|
|
3528
|
+
@if (containsHtmlMarkup((qBody | translate | async)?.trim())) {
|
|
3529
|
+
<div
|
|
3530
|
+
class="__question-title __question-title--rich"
|
|
3531
|
+
[innerHTML]="qBody | translate | async | safe: 'html'"
|
|
3532
|
+
></div>
|
|
3547
3533
|
} @else {
|
|
3548
|
-
|
|
3534
|
+
<h3 class="__question-title">{{ (qBody | translate | async)?.trim() }}</h3>
|
|
3549
3535
|
}
|
|
3550
|
-
|
|
3536
|
+
} @else {
|
|
3537
|
+
<h3 class="__question-title">
|
|
3538
|
+
{{ question().question.title | translate | async }}
|
|
3539
|
+
</h3>
|
|
3540
|
+
}
|
|
3541
|
+
} @else {
|
|
3542
|
+
<h3 class="__question-title">
|
|
3543
|
+
{{ question().question.title | translate | async }}
|
|
3544
|
+
</h3>
|
|
3545
|
+
}
|
|
3546
|
+
</div>
|
|
3547
|
+
@if (isAnswered()) {
|
|
3548
|
+
<span class="__answered-badge">{{
|
|
3549
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.answered'
|
|
3550
|
+
| translate
|
|
3551
|
+
| async
|
|
3552
|
+
}}</span>
|
|
3553
|
+
} @else if (showRequiredBadge()) {
|
|
3554
|
+
<span class="__required-badge">{{
|
|
3555
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.badges.required'
|
|
3556
|
+
| translate
|
|
3557
|
+
| async
|
|
3558
|
+
}}</span>
|
|
3559
|
+
}
|
|
3560
|
+
</div>
|
|
3561
|
+
</div>
|
|
3562
|
+
<!-- Question Note -->
|
|
3563
|
+
@if (question().question.note; as noteRaw) {
|
|
3564
|
+
@if (noteRaw !== '' && (noteRaw | translate | async)?.trim()) {
|
|
3565
|
+
<div class="__question-note" [innerHTML]="noteRaw | translate | async | safe: 'html'"></div>
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
<!-- Question Widget -->
|
|
3569
|
+
<div class="__question-widget">
|
|
3570
|
+
@if (question().question.interface) {
|
|
3571
|
+
<ng-container axp-widget-renderer [node]="question().question.interface" [mode]="mode()"></ng-container>
|
|
3572
|
+
} @else {
|
|
3573
|
+
<p class="__widget-placeholder">No widget interface configured</p>
|
|
3574
|
+
}
|
|
3575
|
+
</div>
|
|
3551
3576
|
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3577
|
+
@if (hintShown(); as hShown) {
|
|
3578
|
+
@if (hShown.content; as hintRaw) {
|
|
3579
|
+
@if (hintRaw !== '' && (hintRaw | translate | async)?.trim()) {
|
|
3555
3580
|
<ax-alert [color]="hintModeClass()" role="note">
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3581
|
+
<!-- <ax-title>{{ '@assessment-management:questionnaires.components.questionnaire-builder.fields.hint.title' | translate | async }}</ax-title> -->
|
|
3582
|
+
<ax-icon></ax-icon>
|
|
3583
|
+
<ax-content>
|
|
3584
|
+
<div [innerHTML]="hintRaw | translate | async | safe: 'html'"></div>
|
|
3585
|
+
</ax-content>
|
|
3561
3586
|
</ax-alert>
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3565
3590
|
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3591
|
+
@if (question().comment.enabled) {
|
|
3592
|
+
@if (mode() === 'view') {
|
|
3593
|
+
@if (respondentCommentText().trim(); as commentView) {
|
|
3569
3594
|
<div class="__question-comment __question-comment--readonly">
|
|
3570
|
-
|
|
3571
|
-
</div>
|
|
3572
|
-
}
|
|
3573
|
-
} @else {
|
|
3574
|
-
<div class="__question-comment">
|
|
3575
|
-
<ax-text-area
|
|
3576
|
-
[rows]="2"
|
|
3577
|
-
[ngModel]="respondentCommentText()"
|
|
3578
|
-
(onValueChanged)="onRespondentCommentChanged($event)"
|
|
3579
|
-
[placeholder]="
|
|
3580
|
-
'@assessment-management:questionnaires.components.questionnaire-viewer.comment.placeholder' | translate | async
|
|
3581
|
-
"
|
|
3582
|
-
></ax-text-area>
|
|
3595
|
+
<p class="__question-comment-text">{{ commentView }}</p>
|
|
3583
3596
|
</div>
|
|
3584
|
-
|
|
3585
|
-
|
|
3597
|
+
}
|
|
3598
|
+
} @else {
|
|
3599
|
+
<div class="__question-comment">
|
|
3600
|
+
<ax-text-area
|
|
3601
|
+
[rows]="2"
|
|
3602
|
+
[ngModel]="respondentCommentText()"
|
|
3603
|
+
(onValueChanged)="onRespondentCommentChanged($event)"
|
|
3604
|
+
[placeholder]="
|
|
3605
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.comment.placeholder'
|
|
3606
|
+
| translate
|
|
3607
|
+
| async
|
|
3608
|
+
"
|
|
3609
|
+
></ax-text-area>
|
|
3610
|
+
</div>
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3586
3613
|
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3614
|
+
@if (questionAttachments().length > 0) {
|
|
3615
|
+
<div class="__attachments">
|
|
3616
|
+
<span class="__attachments-label"
|
|
3617
|
+
>{{
|
|
3618
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.attachments.title'
|
|
3619
|
+
| translate
|
|
3620
|
+
| async
|
|
3621
|
+
}}:</span
|
|
3622
|
+
>
|
|
3623
|
+
<ul class="__attachments-list">
|
|
3624
|
+
@for (att of questionAttachments(); track att.id) {
|
|
3625
|
+
<li>
|
|
3626
|
+
<a class="__attachment-link" href="#" (click)="openAttachment($event, att)" role="button">
|
|
3627
|
+
<i class="fa-light fa-paperclip"></i>
|
|
3628
|
+
{{ att.name || att.id }}
|
|
3629
|
+
</a>
|
|
3630
|
+
</li>
|
|
3631
|
+
}
|
|
3632
|
+
</ul>
|
|
3602
3633
|
</div>
|
|
3603
|
-
|
|
3634
|
+
}
|
|
3635
|
+
</div>
|
|
3636
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
3604
3637
|
CommonModule,
|
|
3605
3638
|
AXTranslationModule,
|
|
3606
3639
|
AXPWidgetCoreModule,
|
|
3607
3640
|
AXAlertModule,
|
|
3608
3641
|
AXDecoratorModule,
|
|
3609
3642
|
AXSafePipe,
|
|
3610
|
-
AXPResolveMultiLanguageStringPipe,
|
|
3611
3643
|
AXTextAreaModule,
|
|
3612
3644
|
AXFormModule,
|
|
3613
3645
|
FormsModule,
|
|
@@ -3627,8 +3659,6 @@ class AXMQuestionnaireViewerSectionHeaderComponent {
|
|
|
3627
3659
|
this.containsHtmlMarkup = containsHtmlMarkup;
|
|
3628
3660
|
this.title = input.required(...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
3629
3661
|
this.description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : /* istanbul ignore next */ []));
|
|
3630
|
-
/** When set, resolves strings for this locale instead of the active app language. */
|
|
3631
|
-
this.locale = input(undefined, ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
3632
3662
|
/**
|
|
3633
3663
|
* Typography for the section title.
|
|
3634
3664
|
* - `lg`: matches page-per-group / side-menu main heading
|
|
@@ -3654,52 +3684,52 @@ class AXMQuestionnaireViewerSectionHeaderComponent {
|
|
|
3654
3684
|
}, ...(ngDevMode ? [{ debugName: "headerSectionClass" }] : /* istanbul ignore next */ []));
|
|
3655
3685
|
}
|
|
3656
3686
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3657
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerSectionHeaderComponent, isStandalone: true, selector: "axm-questionnaire-viewer-section-header", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null },
|
|
3687
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerSectionHeaderComponent, isStandalone: true, selector: "axm-questionnaire-viewer-section-header", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, titleSize: { classPropertyName: "titleSize", publicName: "titleSize", isSignal: true, isRequired: false, transformFunction: null }, marginBottom: { classPropertyName: "marginBottom", publicName: "marginBottom", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "axm-questionnaire-viewer-section-header ax-block" }, ngImport: i0, template: `
|
|
3658
3688
|
<div [class]="headerSectionClass()">
|
|
3659
3689
|
<h2 [class]="titleHeadingClass()">
|
|
3660
|
-
{{ title() |
|
|
3690
|
+
{{ title() | translate | async }}
|
|
3661
3691
|
</h2>
|
|
3662
3692
|
@if (description(); as desc) {
|
|
3663
|
-
@if ((desc |
|
|
3664
|
-
@if (containsHtmlMarkup((desc |
|
|
3693
|
+
@if ((desc | translate | async)?.trim()!.length > 0) {
|
|
3694
|
+
@if (containsHtmlMarkup((desc | translate | async)?.trim())) {
|
|
3665
3695
|
<div
|
|
3666
3696
|
class="__section-description __section-description--rich"
|
|
3667
|
-
[innerHTML]="desc |
|
|
3697
|
+
[innerHTML]="desc | translate | async | safe: 'html'"
|
|
3668
3698
|
></div>
|
|
3669
3699
|
} @else {
|
|
3670
3700
|
<p class="__section-description">
|
|
3671
|
-
{{ (desc |
|
|
3701
|
+
{{ (desc | translate | async)?.trim() }}
|
|
3672
3702
|
</p>
|
|
3673
3703
|
}
|
|
3674
3704
|
}
|
|
3675
3705
|
}
|
|
3676
3706
|
</div>
|
|
3677
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-section-header{display:block;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-header{display:flex;flex-shrink:0;flex-direction:column;gap:.125rem;text-align:start}axm-questionnaire-viewer-section-header .__section-title-lg{margin:0;font-size:1.5rem;line-height:2rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-title-md{margin:0;font-size:1.25rem;line-height:1.75rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-description{margin:0;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich{font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich p{margin:0}axm-questionnaire-viewer-section-header .__section-description--rich p:first-child{margin-top:0}axm-questionnaire-viewer-section-header .__section-description--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-section-header .__mb-sm{margin-bottom:.5rem}axm-questionnaire-viewer-section-header .__mb-md{margin-bottom:1rem}\n"], dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }, { kind: "pipe", type:
|
|
3707
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-section-header{display:block;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-header{display:flex;flex-shrink:0;flex-direction:column;gap:.125rem;text-align:start}axm-questionnaire-viewer-section-header .__section-title-lg{margin:0;font-size:1.5rem;line-height:2rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-title-md{margin:0;font-size:1.25rem;line-height:1.75rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-description{margin:0;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich{font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich p{margin:0}axm-questionnaire-viewer-section-header .__section-description--rich p:first-child{margin-top:0}axm-questionnaire-viewer-section-header .__section-description--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-section-header .__mb-sm{margin-bottom:.5rem}axm-questionnaire-viewer-section-header .__mb-md{margin-bottom:1rem}\n"], dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3678
3708
|
}
|
|
3679
3709
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerSectionHeaderComponent, decorators: [{
|
|
3680
3710
|
type: Component,
|
|
3681
3711
|
args: [{ selector: 'axm-questionnaire-viewer-section-header', template: `
|
|
3682
3712
|
<div [class]="headerSectionClass()">
|
|
3683
3713
|
<h2 [class]="titleHeadingClass()">
|
|
3684
|
-
{{ title() |
|
|
3714
|
+
{{ title() | translate | async }}
|
|
3685
3715
|
</h2>
|
|
3686
3716
|
@if (description(); as desc) {
|
|
3687
|
-
@if ((desc |
|
|
3688
|
-
@if (containsHtmlMarkup((desc |
|
|
3717
|
+
@if ((desc | translate | async)?.trim()!.length > 0) {
|
|
3718
|
+
@if (containsHtmlMarkup((desc | translate | async)?.trim())) {
|
|
3689
3719
|
<div
|
|
3690
3720
|
class="__section-description __section-description--rich"
|
|
3691
|
-
[innerHTML]="desc |
|
|
3721
|
+
[innerHTML]="desc | translate | async | safe: 'html'"
|
|
3692
3722
|
></div>
|
|
3693
3723
|
} @else {
|
|
3694
3724
|
<p class="__section-description">
|
|
3695
|
-
{{ (desc |
|
|
3725
|
+
{{ (desc | translate | async)?.trim() }}
|
|
3696
3726
|
</p>
|
|
3697
3727
|
}
|
|
3698
3728
|
}
|
|
3699
3729
|
}
|
|
3700
3730
|
</div>
|
|
3701
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXTranslationModule, AXSafePipe,
|
|
3702
|
-
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }],
|
|
3731
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXTranslationModule, AXSafePipe, AsyncPipe], encapsulation: ViewEncapsulation.None, host: { class: 'axm-questionnaire-viewer-section-header ax-block' }, styles: ["axm-questionnaire-viewer-section-header{display:block;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-header{display:flex;flex-shrink:0;flex-direction:column;gap:.125rem;text-align:start}axm-questionnaire-viewer-section-header .__section-title-lg{margin:0;font-size:1.5rem;line-height:2rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-title-md{margin:0;font-size:1.25rem;line-height:1.75rem;font-weight:600;color:rgb(var(--ax-sys-color-on-surface))}axm-questionnaire-viewer-section-header .__section-description{margin:0;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich{font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-section-header .__section-description--rich p{margin:0}axm-questionnaire-viewer-section-header .__section-description--rich p:first-child{margin-top:0}axm-questionnaire-viewer-section-header .__section-description--rich ul{list-style-type:disc;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich ol{list-style-type:decimal;list-style-position:outside;margin-block:.375rem 0;padding-inline-start:1.25rem}axm-questionnaire-viewer-section-header .__section-description--rich li{margin-block:.125rem;padding-inline-start:.25rem}axm-questionnaire-viewer-section-header .__mb-sm{margin-bottom:.5rem}axm-questionnaire-viewer-section-header .__mb-md{margin-bottom:1rem}\n"] }]
|
|
3732
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], titleSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleSize", required: false }] }], marginBottom: [{ type: i0.Input, args: [{ isSignal: true, alias: "marginBottom", required: false }] }] } });
|
|
3703
3733
|
|
|
3704
3734
|
//#region ---- Imports ----
|
|
3705
3735
|
//#endregion
|
|
@@ -3765,7 +3795,7 @@ class AXMQuestionnaireViewerSinglePageViewComponent {
|
|
|
3765
3795
|
</div>
|
|
3766
3796
|
}
|
|
3767
3797
|
}
|
|
3768
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-single-page-view{display:flex;min-height:0px;width:100%;flex-direction:column;gap:1.5rem;padding:1rem}axm-questionnaire-viewer-single-page-view .__single-page-section{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}axm-questionnaire-viewer-single-page-view .__questions-list{display:flex;flex-direction:column;gap:.5rem}axm-questionnaire-viewer-single-page-view .__questions-list .__question-item{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}\n"], dependencies: [{ kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "
|
|
3798
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-single-page-view{display:flex;min-height:0px;width:100%;flex-direction:column;gap:1.5rem;padding:1rem}axm-questionnaire-viewer-single-page-view .__single-page-section{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-single-page-view .__single-page-section .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}axm-questionnaire-viewer-single-page-view .__questions-list{display:flex;flex-direction:column;gap:.5rem}axm-questionnaire-viewer-single-page-view .__questions-list .__question-item{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}\n"], dependencies: [{ kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3769
3799
|
}
|
|
3770
3800
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerSinglePageViewComponent, decorators: [{
|
|
3771
3801
|
type: Component,
|
|
@@ -3868,7 +3898,7 @@ class AXMQuestionnaireViewerPagePerGroupViewComponent {
|
|
|
3868
3898
|
</div>
|
|
3869
3899
|
}
|
|
3870
3900
|
}
|
|
3871
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-page-per-group-view{display:flex;min-height:0px;width:100%;flex-direction:column;gap:1rem;padding:1rem}axm-questionnaire-viewer-page-per-group-view .__page-section{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}axm-questionnaire-viewer-page-per-group-view .__questions-list{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-page-per-group-view .__questions-list .__question-item{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axm-questionnaire-viewer-page-per-group-view .__navigation{display:flex;align-items:center;justify-content:space-between;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "
|
|
3901
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-page-per-group-view{display:flex;min-height:0px;width:100%;flex-direction:column;gap:1rem;padding:1rem}axm-questionnaire-viewer-page-per-group-view .__page-section{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}axm-questionnaire-viewer-page-per-group-view .__page-section .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}axm-questionnaire-viewer-page-per-group-view .__questions-list{display:flex;flex-shrink:0;flex-direction:column;gap:1rem}axm-questionnaire-viewer-page-per-group-view .__questions-list .__question-item{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axm-questionnaire-viewer-page-per-group-view .__navigation{display:flex;align-items:center;justify-content:space-between;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:1rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3872
3902
|
}
|
|
3873
3903
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerPagePerGroupViewComponent, decorators: [{
|
|
3874
3904
|
type: Component,
|
|
@@ -3944,7 +3974,7 @@ class AXMQuestionnaireViewerPagePerQuestionViewComponent {
|
|
|
3944
3974
|
</axm-questionnaire-viewer-question>
|
|
3945
3975
|
</div>
|
|
3946
3976
|
}
|
|
3947
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;flex-direction:column;gap:1rem;padding:1rem;flex-shrink:0;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "
|
|
3977
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-page-per-question-view{display:flex;flex-direction:column;gap:1rem;padding:1rem;flex-shrink:0;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3948
3978
|
}
|
|
3949
3979
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerPagePerQuestionViewComponent, decorators: [{
|
|
3950
3980
|
type: Component,
|
|
@@ -4093,7 +4123,7 @@ class AXMQuestionnaireViewerSideMenuViewComponent {
|
|
|
4093
4123
|
<ax-tabs class="__sidebar-tabs" [look]="'with-line-color'" [location]="'end'" [fitParent]="true">
|
|
4094
4124
|
@for (sectionIndex of vm.sectionIndicesWithVisibleContent(); track sectionIndex) {
|
|
4095
4125
|
<ax-tab-item
|
|
4096
|
-
[text]="vm.sections()[sectionIndex].title |
|
|
4126
|
+
[text]="(vm.sections()[sectionIndex].title | translate | async) || ''"
|
|
4097
4127
|
(onClick)="handleSectionClick(sectionIndex)"
|
|
4098
4128
|
[disabled]="isSectionDisabled(sectionIndex)"
|
|
4099
4129
|
>
|
|
@@ -4127,7 +4157,7 @@ class AXMQuestionnaireViewerSideMenuViewComponent {
|
|
|
4127
4157
|
<ax-tabs class="__sidebar-tabs" [look]="'with-line-color'" [location]="'end'" [fitParent]="true">
|
|
4128
4158
|
@for (sectionIndex of vm.sectionIndicesWithVisibleContent(); track sectionIndex) {
|
|
4129
4159
|
<ax-tab-item
|
|
4130
|
-
[text]="vm.sections()[sectionIndex].title |
|
|
4160
|
+
[text]="(vm.sections()[sectionIndex].title | translate | async) || ''"
|
|
4131
4161
|
(onClick)="handleSectionClick(sectionIndex)"
|
|
4132
4162
|
[active]="vm.currentSectionIndex() === sectionIndex"
|
|
4133
4163
|
[disabled]="isSectionDisabled(sectionIndex)"
|
|
@@ -4230,7 +4260,7 @@ class AXMQuestionnaireViewerSideMenuViewComponent {
|
|
|
4230
4260
|
</div>
|
|
4231
4261
|
}
|
|
4232
4262
|
</div>
|
|
4233
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-side-menu-view{display:block;min-height:0px;width:100%;overflow:hidden}@media(min-width:640px){axm-questionnaire-viewer-side-menu-view{height:100%}}@media(min-width:1024px){axm-questionnaire-viewer-side-menu-view{height:65vh}}.__side-menu-container{display:flex;height:100%;min-height:0px;width:100%;overflow:hidden}.__drawer-container{display:flex;height:100%;width:100%;overflow:hidden}.__sidebar-drawer{height:100%;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-content{height:100%;overflow-y:auto}.__desktop-sidebar{display:flex;height:100%;min-height:0px;flex-shrink:0;flex-direction:column;overflow:hidden;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-tabs{--ax-comp-tabs-default-border-radius: 0;height:100%;min-height:0px;flex:1 1 0%;overflow-y:auto}.__sidebar-tabs ax-tab-item{margin-top:0;margin-bottom:0;padding-top:.75rem;padding-bottom:.75rem;font-weight:600}.__main-content{display:flex;max-height:83vh;min-height:0px;flex:1 1 0%;flex-direction:column;overflow-y:auto}@media(min-width:768px){.__main-content{max-height:75vh}}.__mobile-header-row{position:sticky;top:0;z-index:10;display:flex;flex-shrink:0;align-items:flex-start;gap:.5rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:.25rem .5rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__mobile-header-row.--stuck{box-shadow:0 1px 2px #0000000a,0 10px 28px -16px #0000002e}.__mobile-menu-button{flex-shrink:0}.__questions-container{display:flex;flex-direction:column;gap:1rem;padding:1rem}.__questions-container .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}.__questions-container .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){.__questions-container .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}.__questions-container .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}.__questions-container .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__questions-container .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.__questions-list{display:flex;flex-direction:column;gap:1rem}\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "
|
|
4263
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-side-menu-view{display:block;min-height:0px;width:100%;overflow:hidden}@media(min-width:640px){axm-questionnaire-viewer-side-menu-view{height:100%}}@media(min-width:1024px){axm-questionnaire-viewer-side-menu-view{height:65vh}}.__side-menu-container{display:flex;height:100%;min-height:0px;width:100%;overflow:hidden}.__drawer-container{display:flex;height:100%;width:100%;overflow:hidden}.__sidebar-drawer{height:100%;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-content{height:100%;overflow-y:auto}.__desktop-sidebar{display:flex;height:100%;min-height:0px;flex-shrink:0;flex-direction:column;overflow:hidden;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-tabs{--ax-comp-tabs-default-border-radius: 0;height:100%;min-height:0px;flex:1 1 0%;overflow-y:auto}.__sidebar-tabs ax-tab-item{margin-top:0;margin-bottom:0;padding-top:.75rem;padding-bottom:.75rem;font-weight:600}.__main-content{display:flex;max-height:83vh;min-height:0px;flex:1 1 0%;flex-direction:column;overflow-y:auto}@media(min-width:768px){.__main-content{max-height:75vh}}.__mobile-header-row{position:sticky;top:0;z-index:10;display:flex;flex-shrink:0;align-items:flex-start;gap:.5rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:.25rem .5rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__mobile-header-row.--stuck{box-shadow:0 1px 2px #0000000a,0 10px 28px -16px #0000002e}.__mobile-menu-button{flex-shrink:0}.__questions-container{display:flex;flex-direction:column;gap:1rem;padding:1rem}.__questions-container .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}.__questions-container .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){.__questions-container .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}.__questions-container .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}.__questions-container .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__questions-container .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.__questions-list{display:flex;flex-direction:column;gap:1rem}\n"], dependencies: [{ kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i1$1.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i1$1.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i3$1.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "transition", "closeOnBackdropClick", "backdropClass", "collapsed", "singleOpenMode"], outputs: ["onBackdropClick", "collapsedStateChanged"] }, { kind: "component", type: i3$1.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXDrawerDirectiveModule }, { kind: "directive", type: AXResizableDirective, selector: "[axResizable]", inputs: ["axResizable", "minWidth", "maxWidth", "dblClickAction", "width", "defaultWidth"], outputs: ["axResizableChange", "minWidthChange", "maxWidthChange", "dblClickActionChange", "widthChange", "defaultWidthChange", "onResizingStarted", "onResizingEnded", "onResizingDblClick"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.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$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4234
4264
|
}
|
|
4235
4265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerSideMenuViewComponent, decorators: [{
|
|
4236
4266
|
type: Component,
|
|
@@ -4242,7 +4272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4242
4272
|
<ax-tabs class="__sidebar-tabs" [look]="'with-line-color'" [location]="'end'" [fitParent]="true">
|
|
4243
4273
|
@for (sectionIndex of vm.sectionIndicesWithVisibleContent(); track sectionIndex) {
|
|
4244
4274
|
<ax-tab-item
|
|
4245
|
-
[text]="vm.sections()[sectionIndex].title |
|
|
4275
|
+
[text]="(vm.sections()[sectionIndex].title | translate | async) || ''"
|
|
4246
4276
|
(onClick)="handleSectionClick(sectionIndex)"
|
|
4247
4277
|
[disabled]="isSectionDisabled(sectionIndex)"
|
|
4248
4278
|
>
|
|
@@ -4276,7 +4306,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4276
4306
|
<ax-tabs class="__sidebar-tabs" [look]="'with-line-color'" [location]="'end'" [fitParent]="true">
|
|
4277
4307
|
@for (sectionIndex of vm.sectionIndicesWithVisibleContent(); track sectionIndex) {
|
|
4278
4308
|
<ax-tab-item
|
|
4279
|
-
[text]="vm.sections()[sectionIndex].title |
|
|
4309
|
+
[text]="(vm.sections()[sectionIndex].title | translate | async) || ''"
|
|
4280
4310
|
(onClick)="handleSectionClick(sectionIndex)"
|
|
4281
4311
|
[active]="vm.currentSectionIndex() === sectionIndex"
|
|
4282
4312
|
[disabled]="isSectionDisabled(sectionIndex)"
|
|
@@ -4382,7 +4412,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4382
4412
|
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
|
|
4383
4413
|
AXMQuestionnaireViewerQuestionComponent,
|
|
4384
4414
|
AXMQuestionnaireViewerSectionHeaderComponent,
|
|
4385
|
-
AXPResolveMultiLanguageStringPipe,
|
|
4386
4415
|
AXTabsModule,
|
|
4387
4416
|
AXBadgeModule,
|
|
4388
4417
|
AXDrawerModule,
|
|
@@ -4391,6 +4420,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4391
4420
|
AXButtonModule,
|
|
4392
4421
|
AXDecoratorModule,
|
|
4393
4422
|
AXPStickyDirective,
|
|
4423
|
+
AsyncPipe,
|
|
4424
|
+
AXTranslationModule,
|
|
4394
4425
|
], styles: ["axm-questionnaire-viewer-side-menu-view{display:block;min-height:0px;width:100%;overflow:hidden}@media(min-width:640px){axm-questionnaire-viewer-side-menu-view{height:100%}}@media(min-width:1024px){axm-questionnaire-viewer-side-menu-view{height:65vh}}.__side-menu-container{display:flex;height:100%;min-height:0px;width:100%;overflow:hidden}.__drawer-container{display:flex;height:100%;width:100%;overflow:hidden}.__sidebar-drawer{height:100%;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-content{height:100%;overflow-y:auto}.__desktop-sidebar{display:flex;height:100%;min-height:0px;flex-shrink:0;flex-direction:column;overflow:hidden;border-inline-end-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__sidebar-tabs{--ax-comp-tabs-default-border-radius: 0;height:100%;min-height:0px;flex:1 1 0%;overflow-y:auto}.__sidebar-tabs ax-tab-item{margin-top:0;margin-bottom:0;padding-top:.75rem;padding-bottom:.75rem;font-weight:600}.__main-content{display:flex;max-height:83vh;min-height:0px;flex:1 1 0%;flex-direction:column;overflow-y:auto}@media(min-width:768px){.__main-content{max-height:75vh}}.__mobile-header-row{position:sticky;top:0;z-index:10;display:flex;flex-shrink:0;align-items:flex-start;gap:.5rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));padding:.25rem .5rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__mobile-header-row.--stuck{box-shadow:0 1px 2px #0000000a,0 10px 28px -16px #0000002e}.__mobile-menu-button{flex-shrink:0}.__questions-container{display:flex;flex-direction:column;gap:1rem;padding:1rem}.__questions-container .__section-title-sticky{position:sticky;top:0;z-index:10;isolation:isolate;min-width:0px;align-self:stretch;border-bottom-width:1px;padding-top:.5rem;padding-bottom:.5rem;transition:padding-block .28s cubic-bezier(.33,1,.68,1),border-color .22s ease-out}.__questions-container .__section-title-sticky:before{content:\"\";position:absolute;z-index:-1;inset-block:0;inset-inline:0;pointer-events:none;box-shadow:none;transition:inset-inline .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.33,1,.68,1)}@media(prefers-reduced-motion:reduce){.__questions-container .__section-title-sticky{transition-duration:1ms;transition-timing-function:linear}.__questions-container .__section-title-sticky:before{transition-duration:1ms;transition-timing-function:linear}}.__questions-container .__section-title-sticky.--stuck{border-bottom-width:1px;border-style:none;padding-top:.75rem;padding-bottom:.75rem;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}.__questions-container .__section-title-sticky.--stuck:before{inset-inline:-1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.__questions-list{display:flex;flex-direction:column;gap:1rem}\n"] }]
|
|
4395
4426
|
}], ctorParameters: () => [], propDecorators: { tabRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXTabsComponent), { isSignal: true }] }] } });
|
|
4396
4427
|
|
|
@@ -4677,7 +4708,7 @@ const INTERFACE_TO_FILTER_WIDGET = {
|
|
|
4677
4708
|
'date-time-box': 'datetime-filter',
|
|
4678
4709
|
};
|
|
4679
4710
|
function resolveInterface(itemInterfaceOverride, questionInterface) {
|
|
4680
|
-
const resolved =
|
|
4711
|
+
const resolved = itemInterfaceOverride ?? questionInterface ?? {};
|
|
4681
4712
|
const widgetType = INTERFACE_TO_FILTER_WIDGET[resolved.type ?? ''] ?? 'string-filter';
|
|
4682
4713
|
const options = (resolved.options ?? {});
|
|
4683
4714
|
return {
|
|
@@ -4711,9 +4742,7 @@ class AXMQuestionnaireEvaluatorScopeProvider {
|
|
|
4711
4742
|
return [];
|
|
4712
4743
|
}
|
|
4713
4744
|
try {
|
|
4714
|
-
const dataAccessor = this.entityService
|
|
4715
|
-
.withEntity(questionnaireEntity)
|
|
4716
|
-
.data();
|
|
4745
|
+
const dataAccessor = this.entityService.withEntity(questionnaireEntity).data();
|
|
4717
4746
|
const questionnaire = (await dataAccessor.byKey(questionnaireId));
|
|
4718
4747
|
const structure = questionnaire?.questions;
|
|
4719
4748
|
if (!structure?.sections?.length) {
|
|
@@ -4730,9 +4759,7 @@ class AXMQuestionnaireEvaluatorScopeProvider {
|
|
|
4730
4759
|
const questionBankMap = new Map();
|
|
4731
4760
|
if (questionBankItemIds.size > 0) {
|
|
4732
4761
|
const ids = Array.from(questionBankItemIds);
|
|
4733
|
-
const qbDataAccessor = this.entityService
|
|
4734
|
-
.withEntity(questionBankEntity)
|
|
4735
|
-
.data();
|
|
4762
|
+
const qbDataAccessor = this.entityService.withEntity(questionBankEntity).data();
|
|
4736
4763
|
try {
|
|
4737
4764
|
const queryResult = await qbDataAccessor.query({
|
|
4738
4765
|
skip: 0,
|
|
@@ -4767,9 +4794,7 @@ class AXMQuestionnaireEvaluatorScopeProvider {
|
|
|
4767
4794
|
for (const item of items) {
|
|
4768
4795
|
const itemId = item.name ?? item.questionBankItemId ?? `item-${order}`;
|
|
4769
4796
|
const field = `answers.${itemId}`;
|
|
4770
|
-
const question = item.questionBankItemId
|
|
4771
|
-
? questionBankMap.get(item.questionBankItemId)
|
|
4772
|
-
: undefined;
|
|
4797
|
+
const question = item.questionBankItemId ? questionBankMap.get(item.questionBankItemId) : undefined;
|
|
4773
4798
|
const title = question?.title ??
|
|
4774
4799
|
(sectionTitleResolved ? `${sectionTitleResolved} - ${itemId}` : `Question ${order + 1}`);
|
|
4775
4800
|
const { type: widgetType, options: widgetOptions } = resolveInterface(item.interfaceOverride, question?.interface);
|
|
@@ -4808,9 +4833,7 @@ class AXMQuestionnaireEvaluatorScopeProvider {
|
|
|
4808
4833
|
return [];
|
|
4809
4834
|
}
|
|
4810
4835
|
try {
|
|
4811
|
-
const dataAccessor = this.entityService
|
|
4812
|
-
.withEntity(questionnaireCalculationEntity)
|
|
4813
|
-
.data();
|
|
4836
|
+
const dataAccessor = this.entityService.withEntity(questionnaireCalculationEntity).data();
|
|
4814
4837
|
const queryResult = await dataAccessor.query({
|
|
4815
4838
|
skip: 0,
|
|
4816
4839
|
take: 500,
|
|
@@ -4880,27 +4903,27 @@ class AXMQuestionnaireViewerFeatureModule {
|
|
|
4880
4903
|
provideCommandSetups([
|
|
4881
4904
|
{
|
|
4882
4905
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
4883
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
4906
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs').then((c) => c.PreviewQuestionnaireCommand),
|
|
4884
4907
|
},
|
|
4885
4908
|
{
|
|
4886
4909
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
4887
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4910
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4888
4911
|
},
|
|
4889
4912
|
{
|
|
4890
4913
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
4891
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4914
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4892
4915
|
},
|
|
4893
4916
|
{
|
|
4894
4917
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
4895
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
4918
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
4896
4919
|
},
|
|
4897
4920
|
{
|
|
4898
4921
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
4899
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4922
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4900
4923
|
},
|
|
4901
4924
|
{
|
|
4902
4925
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
4903
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4926
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4904
4927
|
},
|
|
4905
4928
|
]),
|
|
4906
4929
|
], imports: [AXPWidgetCoreModule,
|
|
@@ -4927,27 +4950,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4927
4950
|
provideCommandSetups([
|
|
4928
4951
|
{
|
|
4929
4952
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
4930
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
4953
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs').then((c) => c.PreviewQuestionnaireCommand),
|
|
4931
4954
|
},
|
|
4932
4955
|
{
|
|
4933
4956
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
4934
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4957
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4935
4958
|
},
|
|
4936
4959
|
{
|
|
4937
4960
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
4938
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4961
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4939
4962
|
},
|
|
4940
4963
|
{
|
|
4941
4964
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
4942
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
4965
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
4943
4966
|
},
|
|
4944
4967
|
{
|
|
4945
4968
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
4946
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4969
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4947
4970
|
},
|
|
4948
4971
|
{
|
|
4949
4972
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
4950
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4973
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4951
4974
|
},
|
|
4952
4975
|
]),
|
|
4953
4976
|
],
|
|
@@ -5000,8 +5023,8 @@ class AXMAssessmentManagementModule {
|
|
|
5000
5023
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMAssessmentManagementPermissionDefinitionProvider)),
|
|
5001
5024
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMAssessmentManagementMenuProvider)),
|
|
5002
5025
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMAssessmentManagementEntityProvider)),
|
|
5003
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-
|
|
5004
|
-
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-
|
|
5026
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-_fPuBQeK.mjs').then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
5027
|
+
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs').then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
5005
5028
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
5006
5029
|
], imports: [AXMQuestionnaireBuilderFeatureModule,
|
|
5007
5030
|
AXMQuestionnaireViewerFeatureModule] }); }
|
|
@@ -5033,8 +5056,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5033
5056
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMAssessmentManagementPermissionDefinitionProvider)),
|
|
5034
5057
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMAssessmentManagementMenuProvider)),
|
|
5035
5058
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMAssessmentManagementEntityProvider)),
|
|
5036
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-
|
|
5037
|
-
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-
|
|
5059
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-_fPuBQeK.mjs').then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
5060
|
+
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs').then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
5038
5061
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
5039
5062
|
],
|
|
5040
5063
|
}]
|
|
@@ -5144,37 +5167,39 @@ class AXMPreQuestionnaireContentComponent {
|
|
|
5144
5167
|
//#region ---- Inputs ----
|
|
5145
5168
|
/** Rich text content. Supports multi-language: Record<locale, string>. */
|
|
5146
5169
|
this.content = input(null, ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
|
|
5147
|
-
/** Locale for multi-language content. Defaults to active lang. */
|
|
5148
|
-
this.locale = input(undefined, ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
5149
5170
|
}
|
|
5150
5171
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPreQuestionnaireContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5151
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: AXMPreQuestionnaireContentComponent, isStandalone: true, selector: "axm-pre-questionnaire-content", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }
|
|
5152
|
-
<div
|
|
5172
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: AXMPreQuestionnaireContentComponent, isStandalone: true, selector: "axm-pre-questionnaire-content", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "axm-pre-questionnaire-content" }, ngImport: i0, template: `
|
|
5173
|
+
<div
|
|
5174
|
+
class="axm-pre-questionnaire-content ax-flex ax-flex-col ax-items-center ax-justify-center ax-p-8 ax-min-h-[200px] ax-text-on-surface"
|
|
5175
|
+
>
|
|
5153
5176
|
<div
|
|
5154
5177
|
class="ax-max-w-2xl ax-w-full ax-prose ax-text-on-surface"
|
|
5155
|
-
[innerHTML]="content() |
|
|
5178
|
+
[innerHTML]="content() | translate | async | safe: 'html'"
|
|
5156
5179
|
></div>
|
|
5157
5180
|
</div>
|
|
5158
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }, { kind: "pipe", type:
|
|
5181
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5159
5182
|
}
|
|
5160
5183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPreQuestionnaireContentComponent, decorators: [{
|
|
5161
5184
|
type: Component,
|
|
5162
5185
|
args: [{
|
|
5163
5186
|
selector: 'axm-pre-questionnaire-content',
|
|
5164
5187
|
template: `
|
|
5165
|
-
<div
|
|
5188
|
+
<div
|
|
5189
|
+
class="axm-pre-questionnaire-content ax-flex ax-flex-col ax-items-center ax-justify-center ax-p-8 ax-min-h-[200px] ax-text-on-surface"
|
|
5190
|
+
>
|
|
5166
5191
|
<div
|
|
5167
5192
|
class="ax-max-w-2xl ax-w-full ax-prose ax-text-on-surface"
|
|
5168
|
-
[innerHTML]="content() |
|
|
5193
|
+
[innerHTML]="content() | translate | async | safe: 'html'"
|
|
5169
5194
|
></div>
|
|
5170
5195
|
</div>
|
|
5171
5196
|
`,
|
|
5172
5197
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5173
|
-
imports: [AXTranslationModule, AXSafePipe,
|
|
5198
|
+
imports: [AXTranslationModule, AXSafePipe, AsyncPipe],
|
|
5174
5199
|
encapsulation: ViewEncapsulation.None,
|
|
5175
5200
|
host: { class: 'axm-pre-questionnaire-content' },
|
|
5176
5201
|
}]
|
|
5177
|
-
}], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }]
|
|
5202
|
+
}], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }] } });
|
|
5178
5203
|
|
|
5179
5204
|
//#region ---- Imports ----
|
|
5180
5205
|
//#endregion
|
|
@@ -5295,14 +5320,57 @@ class AXMPostQuestionnaireContentComponent {
|
|
|
5295
5320
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPostQuestionnaireContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5296
5321
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMPostQuestionnaireContentComponent, isStandalone: true, selector: "axm-post-questionnaire-content", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, questionsWithAnswers: { classPropertyName: "questionsWithAnswers", publicName: "questionsWithAnswers", isSignal: true, isRequired: false, transformFunction: null }, reviewContext: { classPropertyName: "reviewContext", publicName: "reviewContext", isSignal: true, isRequired: false, transformFunction: null }, summaryContent: { classPropertyName: "summaryContent", publicName: "summaryContent", isSignal: true, isRequired: false, transformFunction: null }, placeholderValues: { classPropertyName: "placeholderValues", publicName: "placeholderValues", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, showQuestionNumbers: { classPropertyName: "showQuestionNumbers", publicName: "showQuestionNumbers", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "axm-post-questionnaire-content" }, ngImport: i0, template: `
|
|
5297
5322
|
@if (mode() === 'review') {
|
|
5298
|
-
<div
|
|
5323
|
+
<div
|
|
5324
|
+
class="axm-post-questionnaire-content __review ax-flex ax-flex-col ax-overflow-auto ax-min-h-full ax-text-on-surface"
|
|
5325
|
+
>
|
|
5299
5326
|
<div class="ax-p-4 ax-border-b ax-border-surface">
|
|
5300
|
-
<h2 class="ax-text-lg ax-font-semibold ax-text-on-surface">
|
|
5327
|
+
<h2 class="ax-text-lg ax-font-semibold ax-text-on-surface">
|
|
5328
|
+
{{
|
|
5329
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.flow.review-title'
|
|
5330
|
+
| translate
|
|
5331
|
+
| async
|
|
5332
|
+
}}
|
|
5333
|
+
</h2>
|
|
5301
5334
|
</div>
|
|
5302
5335
|
<div class="ax-flex-1 ax-overflow-auto ax-p-4 ax-flex ax-flex-col ax-gap-6">
|
|
5303
5336
|
@if (reviewContext(); as ctx) {
|
|
5304
5337
|
<axp-widgets-container [context]="ctx" class="ax-flex ax-flex-col ax-gap-6">
|
|
5305
5338
|
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5339
|
+
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5340
|
+
<axm-questionnaire-viewer-section-header
|
|
5341
|
+
[title]="group.sectionTitle"
|
|
5342
|
+
[description]="group.sectionDescription"
|
|
5343
|
+
titleSize="md"
|
|
5344
|
+
marginBottom="sm"
|
|
5345
|
+
/>
|
|
5346
|
+
@for (item of group.items; track item.name; let qi = $index) {
|
|
5347
|
+
@if (item.question?.question?.interface) {
|
|
5348
|
+
<div
|
|
5349
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-overflow-hidden ax-shadow-sm"
|
|
5350
|
+
>
|
|
5351
|
+
<axm-questionnaire-viewer-question
|
|
5352
|
+
[question]="item.question!"
|
|
5353
|
+
[sectionOrder]="group.sectionOrder"
|
|
5354
|
+
[questionIndex]="qi + 1"
|
|
5355
|
+
[showQuestionNumbers]="showQuestionNumbers()"
|
|
5356
|
+
[mode]="'view'"
|
|
5357
|
+
[contextData]="ctx"
|
|
5358
|
+
></axm-questionnaire-viewer-question>
|
|
5359
|
+
</div>
|
|
5360
|
+
} @else {
|
|
5361
|
+
<div
|
|
5362
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm"
|
|
5363
|
+
>
|
|
5364
|
+
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5365
|
+
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5366
|
+
</div>
|
|
5367
|
+
}
|
|
5368
|
+
}
|
|
5369
|
+
</section>
|
|
5370
|
+
}
|
|
5371
|
+
</axp-widgets-container>
|
|
5372
|
+
} @else {
|
|
5373
|
+
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5306
5374
|
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5307
5375
|
<axm-questionnaire-viewer-section-header
|
|
5308
5376
|
[title]="group.sectionTitle"
|
|
@@ -5310,44 +5378,15 @@ class AXMPostQuestionnaireContentComponent {
|
|
|
5310
5378
|
titleSize="md"
|
|
5311
5379
|
marginBottom="sm"
|
|
5312
5380
|
/>
|
|
5313
|
-
@for (item of group.items; track item.name
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
[question]="item.question!"
|
|
5318
|
-
[sectionOrder]="group.sectionOrder"
|
|
5319
|
-
[questionIndex]="qi + 1"
|
|
5320
|
-
[showQuestionNumbers]="showQuestionNumbers()"
|
|
5321
|
-
[mode]="'view'"
|
|
5322
|
-
[contextData]="ctx"
|
|
5323
|
-
></axm-questionnaire-viewer-question>
|
|
5324
|
-
</div>
|
|
5325
|
-
} @else {
|
|
5326
|
-
<div class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm">
|
|
5381
|
+
@for (item of group.items; track item.name) {
|
|
5382
|
+
<div
|
|
5383
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm"
|
|
5384
|
+
>
|
|
5327
5385
|
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5328
5386
|
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5329
5387
|
</div>
|
|
5330
|
-
}
|
|
5331
5388
|
}
|
|
5332
5389
|
</section>
|
|
5333
|
-
}
|
|
5334
|
-
</axp-widgets-container>
|
|
5335
|
-
} @else {
|
|
5336
|
-
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5337
|
-
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5338
|
-
<axm-questionnaire-viewer-section-header
|
|
5339
|
-
[title]="group.sectionTitle"
|
|
5340
|
-
[description]="group.sectionDescription"
|
|
5341
|
-
titleSize="md"
|
|
5342
|
-
marginBottom="sm"
|
|
5343
|
-
/>
|
|
5344
|
-
@for (item of group.items; track item.name) {
|
|
5345
|
-
<div class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm">
|
|
5346
|
-
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5347
|
-
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5348
|
-
</div>
|
|
5349
|
-
}
|
|
5350
|
-
</section>
|
|
5351
5390
|
}
|
|
5352
5391
|
}
|
|
5353
5392
|
</div>
|
|
@@ -5365,18 +5404,28 @@ class AXMPostQuestionnaireContentComponent {
|
|
|
5365
5404
|
| async
|
|
5366
5405
|
}}
|
|
5367
5406
|
</h3>
|
|
5368
|
-
<ul
|
|
5407
|
+
<ul
|
|
5408
|
+
class="ax-list-none ax-p-0 ax-m-0 ax-flex ax-flex-col ax-gap-1 ax-rounded-lg ax-border ax-border-surface ax-lighter-surface ax-overflow-hidden"
|
|
5409
|
+
>
|
|
5369
5410
|
@for (row of outcomeEntries(); track row.key) {
|
|
5370
|
-
<li
|
|
5411
|
+
<li
|
|
5412
|
+
class="ax-flex ax-justify-between ax-gap-4 ax-py-3 ax-px-4 ax-border-b ax-border-surface last:ax-border-b-0"
|
|
5413
|
+
>
|
|
5371
5414
|
<span class="ax-text-sm ax-font-medium __post-text-muted">{{ row.label }}</span>
|
|
5372
|
-
<span class="ax-text-sm ax-text-on-surface ax-text-right ax-break-all">{{
|
|
5415
|
+
<span class="ax-text-sm ax-text-on-surface ax-text-right ax-break-all">{{
|
|
5416
|
+
formatAnswer(row.value)
|
|
5417
|
+
}}</span>
|
|
5373
5418
|
</li>
|
|
5374
5419
|
}
|
|
5375
5420
|
</ul>
|
|
5376
5421
|
</div>
|
|
5377
5422
|
} @else {
|
|
5378
5423
|
<p class="ax-text-sm __post-text-muted">
|
|
5379
|
-
{{
|
|
5424
|
+
{{
|
|
5425
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.flow.no-outcomes'
|
|
5426
|
+
| translate
|
|
5427
|
+
| async
|
|
5428
|
+
}}
|
|
5380
5429
|
</p>
|
|
5381
5430
|
}
|
|
5382
5431
|
</div>
|
|
@@ -5387,20 +5436,63 @@ class AXMPostQuestionnaireContentComponent {
|
|
|
5387
5436
|
<div class="ax-max-w-2xl ax-w-full ax-prose ax-text-on-surface" [innerHTML]="summaryContentHtml()"></div>
|
|
5388
5437
|
</div>
|
|
5389
5438
|
}
|
|
5390
|
-
`, isInline: true, styles: [".axm-post-questionnaire-content .__post-text-muted{color:rgb(var(--ax-sys-color-on-surface-variant))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "
|
|
5439
|
+
`, isInline: true, styles: [".axm-post-questionnaire-content .__post-text-muted{color:rgb(var(--ax-sys-color-on-surface-variant))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "component", type: AXMQuestionnaireViewerQuestionComponent, selector: "axm-questionnaire-viewer-question", inputs: ["question", "contextData", "sectionOrder", "questionIndex", "showQuestionNumbers", "showQuestionCounter", "currentPosition", "mode"] }, { kind: "component", type: AXMQuestionnaireViewerSectionHeaderComponent, selector: "axm-questionnaire-viewer-section-header", inputs: ["title", "description", "titleSize", "marginBottom"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5391
5440
|
}
|
|
5392
5441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPostQuestionnaireContentComponent, decorators: [{
|
|
5393
5442
|
type: Component,
|
|
5394
5443
|
args: [{ selector: 'axm-post-questionnaire-content', template: `
|
|
5395
5444
|
@if (mode() === 'review') {
|
|
5396
|
-
<div
|
|
5445
|
+
<div
|
|
5446
|
+
class="axm-post-questionnaire-content __review ax-flex ax-flex-col ax-overflow-auto ax-min-h-full ax-text-on-surface"
|
|
5447
|
+
>
|
|
5397
5448
|
<div class="ax-p-4 ax-border-b ax-border-surface">
|
|
5398
|
-
<h2 class="ax-text-lg ax-font-semibold ax-text-on-surface">
|
|
5449
|
+
<h2 class="ax-text-lg ax-font-semibold ax-text-on-surface">
|
|
5450
|
+
{{
|
|
5451
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.flow.review-title'
|
|
5452
|
+
| translate
|
|
5453
|
+
| async
|
|
5454
|
+
}}
|
|
5455
|
+
</h2>
|
|
5399
5456
|
</div>
|
|
5400
5457
|
<div class="ax-flex-1 ax-overflow-auto ax-p-4 ax-flex ax-flex-col ax-gap-6">
|
|
5401
5458
|
@if (reviewContext(); as ctx) {
|
|
5402
5459
|
<axp-widgets-container [context]="ctx" class="ax-flex ax-flex-col ax-gap-6">
|
|
5403
5460
|
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5461
|
+
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5462
|
+
<axm-questionnaire-viewer-section-header
|
|
5463
|
+
[title]="group.sectionTitle"
|
|
5464
|
+
[description]="group.sectionDescription"
|
|
5465
|
+
titleSize="md"
|
|
5466
|
+
marginBottom="sm"
|
|
5467
|
+
/>
|
|
5468
|
+
@for (item of group.items; track item.name; let qi = $index) {
|
|
5469
|
+
@if (item.question?.question?.interface) {
|
|
5470
|
+
<div
|
|
5471
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-overflow-hidden ax-shadow-sm"
|
|
5472
|
+
>
|
|
5473
|
+
<axm-questionnaire-viewer-question
|
|
5474
|
+
[question]="item.question!"
|
|
5475
|
+
[sectionOrder]="group.sectionOrder"
|
|
5476
|
+
[questionIndex]="qi + 1"
|
|
5477
|
+
[showQuestionNumbers]="showQuestionNumbers()"
|
|
5478
|
+
[mode]="'view'"
|
|
5479
|
+
[contextData]="ctx"
|
|
5480
|
+
></axm-questionnaire-viewer-question>
|
|
5481
|
+
</div>
|
|
5482
|
+
} @else {
|
|
5483
|
+
<div
|
|
5484
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm"
|
|
5485
|
+
>
|
|
5486
|
+
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5487
|
+
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5488
|
+
</div>
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
</section>
|
|
5492
|
+
}
|
|
5493
|
+
</axp-widgets-container>
|
|
5494
|
+
} @else {
|
|
5495
|
+
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5404
5496
|
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5405
5497
|
<axm-questionnaire-viewer-section-header
|
|
5406
5498
|
[title]="group.sectionTitle"
|
|
@@ -5408,44 +5500,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5408
5500
|
titleSize="md"
|
|
5409
5501
|
marginBottom="sm"
|
|
5410
5502
|
/>
|
|
5411
|
-
@for (item of group.items; track item.name
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
[question]="item.question!"
|
|
5416
|
-
[sectionOrder]="group.sectionOrder"
|
|
5417
|
-
[questionIndex]="qi + 1"
|
|
5418
|
-
[showQuestionNumbers]="showQuestionNumbers()"
|
|
5419
|
-
[mode]="'view'"
|
|
5420
|
-
[contextData]="ctx"
|
|
5421
|
-
></axm-questionnaire-viewer-question>
|
|
5422
|
-
</div>
|
|
5423
|
-
} @else {
|
|
5424
|
-
<div class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm">
|
|
5503
|
+
@for (item of group.items; track item.name) {
|
|
5504
|
+
<div
|
|
5505
|
+
class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm"
|
|
5506
|
+
>
|
|
5425
5507
|
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5426
5508
|
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5427
5509
|
</div>
|
|
5428
|
-
}
|
|
5429
5510
|
}
|
|
5430
5511
|
</section>
|
|
5431
|
-
}
|
|
5432
|
-
</axp-widgets-container>
|
|
5433
|
-
} @else {
|
|
5434
|
-
@for (group of reviewSectionGroups(); track group.trackKey) {
|
|
5435
|
-
<section class="ax-flex ax-flex-col ax-gap-4">
|
|
5436
|
-
<axm-questionnaire-viewer-section-header
|
|
5437
|
-
[title]="group.sectionTitle"
|
|
5438
|
-
[description]="group.sectionDescription"
|
|
5439
|
-
titleSize="md"
|
|
5440
|
-
marginBottom="sm"
|
|
5441
|
-
/>
|
|
5442
|
-
@for (item of group.items; track item.name) {
|
|
5443
|
-
<div class="__review-question-card ax-lighter-surface ax-rounded-lg ax-border ax-border-surface ax-p-4 ax-shadow-sm">
|
|
5444
|
-
<div class="ax-font-medium ax-mb-2 ax-text-on-surface">{{ item.title }}</div>
|
|
5445
|
-
<div class="ax-text-sm __post-text-muted">{{ formatAnswer(item.answer) }}</div>
|
|
5446
|
-
</div>
|
|
5447
|
-
}
|
|
5448
|
-
</section>
|
|
5449
5512
|
}
|
|
5450
5513
|
}
|
|
5451
5514
|
</div>
|
|
@@ -5463,18 +5526,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5463
5526
|
| async
|
|
5464
5527
|
}}
|
|
5465
5528
|
</h3>
|
|
5466
|
-
<ul
|
|
5529
|
+
<ul
|
|
5530
|
+
class="ax-list-none ax-p-0 ax-m-0 ax-flex ax-flex-col ax-gap-1 ax-rounded-lg ax-border ax-border-surface ax-lighter-surface ax-overflow-hidden"
|
|
5531
|
+
>
|
|
5467
5532
|
@for (row of outcomeEntries(); track row.key) {
|
|
5468
|
-
<li
|
|
5533
|
+
<li
|
|
5534
|
+
class="ax-flex ax-justify-between ax-gap-4 ax-py-3 ax-px-4 ax-border-b ax-border-surface last:ax-border-b-0"
|
|
5535
|
+
>
|
|
5469
5536
|
<span class="ax-text-sm ax-font-medium __post-text-muted">{{ row.label }}</span>
|
|
5470
|
-
<span class="ax-text-sm ax-text-on-surface ax-text-right ax-break-all">{{
|
|
5537
|
+
<span class="ax-text-sm ax-text-on-surface ax-text-right ax-break-all">{{
|
|
5538
|
+
formatAnswer(row.value)
|
|
5539
|
+
}}</span>
|
|
5471
5540
|
</li>
|
|
5472
5541
|
}
|
|
5473
5542
|
</ul>
|
|
5474
5543
|
</div>
|
|
5475
5544
|
} @else {
|
|
5476
5545
|
<p class="ax-text-sm __post-text-muted">
|
|
5477
|
-
{{
|
|
5546
|
+
{{
|
|
5547
|
+
'@assessment-management:questionnaires.components.questionnaire-viewer.flow.no-outcomes'
|
|
5548
|
+
| translate
|
|
5549
|
+
| async
|
|
5550
|
+
}}
|
|
5478
5551
|
</p>
|
|
5479
5552
|
}
|
|
5480
5553
|
</div>
|
|
@@ -5792,7 +5865,7 @@ class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
5792
5865
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5793
5866
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMQuestionnaireViewerPageComponent, isStandalone: true, selector: "axm-questionnaire-viewer-page", host: { classAttribute: "axm-questionnaire-viewer-page" }, providers: [{ provide: AXPPageLayoutBase, useExisting: AXMQuestionnaireViewerPageComponent }], viewQueries: [{ propertyName: "viewer", first: true, predicate: ["viewer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<!-- Page shell layout -->\n<axp-page-layout>\n <!-- Main content area -->\n <axp-page-content class=\"ax-flex ax-flex-col ax-flex-1 ax-min-h-0\"\n [class.ax-overflow-hidden]=\"flowStep() === 'questions'\" [class.ax-overflow-y-auto]=\"flowStep() !== 'questions'\">\n <!-- Loading state -->\n @if (isLoading()) {\n <div class=\"ax-flex ax-items-center ax-justify-center ax-min-h-[200px]\">\n <span>{{ '@assessment-management:questionnaires.components.questionnaire-viewer.loading.title' | translate | async\n }}</span>\n </div>\n }\n <!-- Error state -->\n @else if (loadError()) {\n <div class=\"ax-p-4 ax-text-error-600\">\n {{ loadError() }}\n </div>\n }\n <!-- Content state -->\n @else if (structure()) {\n <!-- Pre-questionnaire introduction content -->\n @if (flowStep() === 'pre') {\n <axm-pre-questionnaire-content [content]=\"prePostConfig()?.pre?.content\"></axm-pre-questionnaire-content>\n }\n <!-- Post-submit results content -->\n @else if (flowStep() === 'results') {\n <axm-post-questionnaire-content mode=\"results\"\n [placeholderValues]=\"submitResult()\"></axm-post-questionnaire-content>\n }\n <!-- Post-submit summary content -->\n @else if (flowStep() === 'summary') {\n <axm-post-questionnaire-content mode=\"summary\" [summaryContent]=\"prePostConfig()?.post?.summaryContent\"\n [placeholderValues]=\"submitResult()\"></axm-post-questionnaire-content>\n }\n <!-- Questionnaire and review flow -->\n @else {\n <!-- Review mode content -->\n @if (flowStep() === 'review') {\n <axm-post-questionnaire-content mode=\"review\" [questionsWithAnswers]=\"reviewSnapshot()\"\n [reviewContext]=\"reviewContext()\"></axm-post-questionnaire-content>\n }\n\n <!-- Questionnaire workspace (hidden while in review mode) -->\n <div class=\"__questions ax-flex ax-flex-col ax-flex-1 ax-min-h-0 ax-overflow-hidden\"\n [class.ax-invisible]=\"flowStep() === 'review'\" [style.position]=\"flowStep() === 'review' ? 'fixed' : null\"\n [style.left]=\"flowStep() === 'review' ? '-9999px' : null\" [class.ax-size-0]=\"flowStep() === 'review'\"\n [class.ax-overflow-hidden]=\"flowStep() === 'review'\">\n\n <!-- Questionnaire rendering container -->\n <div class=\"__content ax-flex ax-flex-col ax-flex-1 ax-min-h-0 ax-overflow-y-auto ax-overflow-x-hidden\">\n <axm-questionnaire-viewer #viewer [structure]=\"structure()!\" [config]=\"viewerConfig()\"\n [initialAnswers]=\"effectiveInitialAnswers()\"\n (answersChanged)=\"handleAnswersChanged($event)\"></axm-questionnaire-viewer>\n </div>\n </div>\n }\n }\n </axp-page-content>\n\n <!-- Footer actions (only when content is ready) -->\n @if (structure() && !isLoading() && !loadError()) {\n <axp-page-footer class=\"--animated\">\n <!-- Footer prefix: progress indicator -->\n <axp-layout-prefix>\n @if (flowStep() === 'questions') {\n <div class=\"__footer-progress ax-text-sm ax-font-mono ax-tabular-nums\" dir=\"ltr\">\n @if (showProgressBar()) {\n {{ answeredQuestionsCount() }} / {{ totalQuestionsCount() }}\n }\n </div>\n }\n <!-- @if (showTimer()) {\n <axp-stopwatch [mode]=\"timerTimeLimit() ? 'count-down' : 'count-up'\" [timeLimit]=\"timerTimeLimit()\"\n [format]=\"timerTimeLimit() && timerTimeLimit()! >= 3600 ? 'hh:mm:ss' : 'mm:ss'\" [autoStart]=\"true\"\n [showControls]=\"false\" [value]=\"timerElapsed()\"\n (valueChange)=\"viewerViewModel()!.updateTimerElapsed($event)\"></axp-stopwatch>\n } -->\n </axp-layout-prefix>\n\n <!-- Footer suffix: flow action buttons -->\n <axp-layout-suffix>\n @if (flowStep() === 'pre') {\n <ax-button look=\"solid\" color=\"primary\"\n [text]=\"'@assessment-management:questionnaires.components.questionnaire-viewer.flow.start' | translate | async\"\n (onClick)=\"flowStep.set('questions')\"></ax-button>\n }\n <!-- Question step actions -->\n @else if (flowStep() === 'questions') {\n <!-- Question navigation buttons -->\n @if (showNavigationButtons()) {\n <ax-button look=\"solid\" [disabled]=\"!canNavigatePrevious()\"\n [text]=\"'@general:actions.previous.title' | translate | async\" (onClick)=\"handlePreviousClick()\"></ax-button>\n @if (!isLastStep()) {\n <ax-button look=\"solid\" color=\"primary\" [disabled]=\"!canNavigateNext()\"\n [text]=\"'@general:actions.next.title' | translate | async\" (onClick)=\"handleNextClick()\"></ax-button>\n }\n }\n\n <!-- Final-step actions -->\n @if (isLastStep() && showReviewButton()) {\n <ax-button look=\"solid\" color=\"primary\"\n [text]=\"'@assessment-management:questionnaires.components.questionnaire-viewer.flow.review' | translate | async\"\n [disabled]=\"!areAllRequiredQuestionsAnswered()\" (onClick)=\"handleReviewClick()\"></ax-button>\n }\n @if (isLastStep() && !showReviewButton()) {\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'@general:actions.submit.title' | translate | async\"\n [disabled]=\"isReadonly() || isSubmitting() || !areAllRequiredQuestionsAnswered()\"\n (onClick)=\"handleSubmitClick()\"></ax-button>\n }\n }\n <!-- Review step actions -->\n @else if (flowStep() === 'review') {\n <ax-button look=\"outline\"\n [text]=\"'@assessment-management:questionnaires.components.questionnaire-viewer.flow.edit' | translate | async\"\n (onClick)=\"flowStep.set('questions')\"></ax-button>\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'@general:actions.submit.title' | translate | async\"\n [disabled]=\"isSubmitting()\" (onClick)=\"handleReviewSubmit()\"></ax-button>\n }\n <!-- Results step actions -->\n @else if (flowStep() === 'results') {\n @if (prePostConfig()?.post?.summaryEnabled) {\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'@general:actions.next.title' | translate | async\"\n (onClick)=\"flowStep.set('summary')\"></ax-button>\n } @else {\n <ax-button look=\"solid\" color=\"primary\"\n [text]=\"'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async\"\n (onClick)=\"handleDone()\"></ax-button>\n }\n }\n <!-- Summary step action -->\n @else if (flowStep() === 'summary') {\n <ax-button look=\"solid\" color=\"primary\"\n [text]=\"'@assessment-management:questionnaires.components.questionnaire-viewer.flow.done' | translate | async\"\n (onClick)=\"handleDone()\"></ax-button>\n }\n </axp-layout-suffix>\n </axp-page-footer>\n }\n</axp-page-layout>", styles: ["axm-questionnaire-viewer-page .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-page .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));position:sticky;top:0;color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-page .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-page .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-page .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-page .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.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: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "component", type:
|
|
5794
5867
|
//AXPStopwatchComponent,
|
|
5795
|
-
AXMQuestionnaireViewerComponent, selector: "axm-questionnaire-viewer", inputs: ["questionnaireId", "structure", "config", "initialAnswers"], outputs: ["answersChanged", "questionAnswered"] }, { kind: "component", type: AXMPreQuestionnaireContentComponent, selector: "axm-pre-questionnaire-content", inputs: ["content"
|
|
5868
|
+
AXMQuestionnaireViewerComponent, selector: "axm-questionnaire-viewer", inputs: ["questionnaireId", "structure", "config", "initialAnswers"], outputs: ["answersChanged", "questionAnswered"] }, { kind: "component", type: AXMPreQuestionnaireContentComponent, selector: "axm-pre-questionnaire-content", inputs: ["content"] }, { kind: "component", type: AXMPostQuestionnaireContentComponent, selector: "axm-post-questionnaire-content", inputs: ["mode", "questionsWithAnswers", "reviewContext", "summaryContent", "placeholderValues", "locale", "showQuestionNumbers"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5796
5869
|
}
|
|
5797
5870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerPageComponent, decorators: [{
|
|
5798
5871
|
type: Component,
|
|
@@ -6168,7 +6241,7 @@ class AXMQuestionnaireViewerStandalonePageComponent {
|
|
|
6168
6241
|
</ax-footer>
|
|
6169
6242
|
}
|
|
6170
6243
|
</div>
|
|
6171
|
-
`, isInline: true, styles: ["axm-questionnaire-viewer-standalone-page{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__body{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content-area{min-height:0px;overflow:hidden}axm-questionnaire-viewer-standalone-page .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-standalone-page .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));color:rgb(var(--ax-sys-color-on-surface-variant));position:sticky;top:0}axm-questionnaire-viewer-standalone-page .__header .__header-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta{display:flex;align-items:center;gap:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item{display:flex;align-items:center;gap:.375rem}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item i{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item span{font-weight:500}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-timer{display:flex;flex-shrink:0;align-items:center}axm-questionnaire-viewer-standalone-page .__content-wrapper{display:flex;min-height:0px;flex:1 1 0%;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-standalone-page .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-standalone-page .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.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$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: AXPStopwatchComponent, selector: "axp-stopwatch", inputs: ["mode", "timeLimit", "format", "autoStart", "showControls", "value"], outputs: ["valueChange", "timeUp"] }, { kind: "component", type: AXMQuestionnaireViewerComponent, selector: "axm-questionnaire-viewer", inputs: ["questionnaireId", "structure", "config", "initialAnswers"], outputs: ["answersChanged", "questionAnswered"] }, { kind: "component", type: AXMPreQuestionnaireContentComponent, selector: "axm-pre-questionnaire-content", inputs: ["content"
|
|
6244
|
+
`, isInline: true, styles: ["axm-questionnaire-viewer-standalone-page{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__body{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content-area{min-height:0px;overflow:hidden}axm-questionnaire-viewer-standalone-page .__questions{min-height:0px;overflow:hidden}axm-questionnaire-viewer-standalone-page .__header{z-index:20;display:flex;flex-shrink:0;flex-direction:column;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface));border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-surface),var(--tw-border-opacity, 1));color:rgb(var(--ax-sys-color-on-surface-variant));position:sticky;top:0}axm-questionnaire-viewer-standalone-page .__header .__header-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta{display:flex;align-items:center;gap:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity, 1))}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item{display:flex;align-items:center;gap:.375rem}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item i{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-primary-600),var(--tw-text-opacity, 1))}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-meta .__meta-item span{font-weight:500}axm-questionnaire-viewer-standalone-page .__header .__header-top .__header-timer{display:flex;flex-shrink:0;align-items:center}axm-questionnaire-viewer-standalone-page .__content-wrapper{display:flex;min-height:0px;flex:1 1 0%;overflow:hidden}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer{display:flex;height:auto;max-height:none;min-height:0px;width:100%;max-width:100%;flex:none;flex-direction:column}axm-questionnaire-viewer-standalone-page .__content axm-questionnaire-viewer .__questionnaire-container{min-height:0px;flex:none;overflow:visible}axm-questionnaire-viewer-standalone-page .__toolbar-meta{color:rgb(var(--ax-sys-color-on-surface-variant))}axm-questionnaire-viewer-standalone-page .__footer-progress{color:rgb(var(--ax-sys-color-on-surface-variant))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.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$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: AXPStopwatchComponent, selector: "axp-stopwatch", inputs: ["mode", "timeLimit", "format", "autoStart", "showControls", "value"], outputs: ["valueChange", "timeUp"] }, { kind: "component", type: AXMQuestionnaireViewerComponent, selector: "axm-questionnaire-viewer", inputs: ["questionnaireId", "structure", "config", "initialAnswers"], outputs: ["answersChanged", "questionAnswered"] }, { kind: "component", type: AXMPreQuestionnaireContentComponent, selector: "axm-pre-questionnaire-content", inputs: ["content"] }, { kind: "component", type: AXMPostQuestionnaireContentComponent, selector: "axm-post-questionnaire-content", inputs: ["mode", "questionsWithAnswers", "reviewContext", "summaryContent", "placeholderValues", "locale", "showQuestionNumbers"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6172
6245
|
}
|
|
6173
6246
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireViewerStandalonePageComponent, decorators: [{
|
|
6174
6247
|
type: Component,
|
|
@@ -6306,4 +6379,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
6306
6379
|
*/
|
|
6307
6380
|
|
|
6308
6381
|
export { AXMQuestionnaireViewerService as A, AXMAssessmentManagementFeatureKeys as B, AXMAssessmentManagementMenuProvider as C, AXMAssessmentManagementModule as D, AXMAssessmentManagementPermissionDefinitionProvider as E, AXMAssessmentManagementPermissionKeys as F, AXMAssessmentManagementSearchCommandProvider as G, AXMQuestionnaireViewerPageComponent as H, AXMQuestionnaireViewerStandalonePageComponent as I, AXPAssessmentManagementMenuKeys as J, DEFAULT_POST_QUESTIONNAIRE_CONFIG as K, DEFAULT_PRE_QUESTIONNAIRE_CONFIG as L, DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY as M, DEFAULT_QUESTION_COMMENT_CONFIG as N, DEFAULT_QUESTION_HINT_CONFIG as O, getQuestionAnswerCommentStoragePath as P, normalizeValidationStrategy as Q, RootConfig as R, normalizeViewMode as S, readHintFieldsFromRecord as T, convertStateToValue as a, convertValueToState as b, createDefaultSection as c, getQuestionnaireItemVisibilityBadgeMode as d, normalizeQuestionHintFromEntityRow as e, mergeQuestionHintForViewer as f, getQuestionnaireItemRequiredBadgeMode as g, collectQuestionnaireItemNames as h, allocateNextQuestionItemName as i, normalizeQuestionHintMode as j, normalizeQuestionHintConfig as k, diffQuestionHintOverride as l, mergeQuestionCommentConfig as m, normalizeQuestionCommentConfig as n, diffQuestionCommentOverride as o, parseQuestionHintPartialFromRecord as p, toPrePostConfig as q, AXMQuestionnaireViewerComponent as r, stripHtmlToPlain as s, toDisplaySettings as t, AXMPreQuestionnaireContentComponent as u, AXMPostQuestionnaireContentComponent as v, stripQuestionBankInterfaceMetadata as w, resolveWidgetNodeFromMetaDataDefinitionInterface as x, AXMAssessmentManagementEntityProvider as y, AXMAssessmentManagementFeatureDefinitionProvider as z };
|
|
6309
|
-
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-
|
|
6382
|
+
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs.map
|