@acorex/modules 21.0.0-next.57 → 21.0.0-next.63
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/assessment-management/README.md +4 -4
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DlhSQ0cB.mjs} +3657 -422
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DlhSQ0cB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs → acorex-modules-assessment-management-assessment-case.entity-B6C2PRZw.mjs} +93 -82
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-B6C2PRZw.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BRdwcIvw.mjs +47 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BRdwcIvw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs → acorex-modules-assessment-management-assessment-session.entity-DquzZNaQ.mjs} +22 -42
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-DquzZNaQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CRE8SxzC.mjs} +32 -7
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-CRE8SxzC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs → acorex-modules-assessment-management-preview-question.command-Ce7yOnJY.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-Ce7yOnJY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs → acorex-modules-assessment-management-preview-questionnaire.command-S-8MDeB7.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-S-8MDeB7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-wdHMGBxi.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-wdHMGBxi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs → acorex-modules-assessment-management-question-bank-item.entity-1Pm9O0kv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-1Pm9O0kv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Dwx0y7WY.mjs} +36 -65
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-Dwx0y7WY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs → acorex-modules-assessment-management-questionnaire.entity-BI_jc4C6.mjs} +12 -36
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BI_jc4C6.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-Ds-QGMPy.mjs +157 -0
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-Ds-QGMPy.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-COTVoRRG.mjs +172 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-COTVoRRG.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-outcomes.command-2buH7ydV.mjs +239 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-outcomes.command-2buH7ydV.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs → acorex-modules-auth-acorex-modules-auth-D4IBi_VD.mjs} +39 -30
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-D4IBi_VD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BY281-Cl.mjs → acorex-modules-auth-app-chooser.component-BEktaBWD.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BY281-Cl.mjs.map → acorex-modules-auth-app-chooser.component-BEktaBWD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CjgYlyOv.mjs → acorex-modules-auth-login.module-aAwHzXPj.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CjgYlyOv.mjs.map → acorex-modules-auth-login.module-aAwHzXPj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-Clx8QDYW.mjs → acorex-modules-auth-master.layout-BapDYFZ_.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-Clx8QDYW.mjs.map → acorex-modules-auth-master.layout-BapDYFZ_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs → acorex-modules-auth-oauth-callback.component-Cyu2vqyK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs.map → acorex-modules-auth-oauth-callback.component-Cyu2vqyK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-8eEX0lRP.mjs → acorex-modules-auth-password.component-DB-ac0Rn.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-8eEX0lRP.mjs.map → acorex-modules-auth-password.component-DB-ac0Rn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CUxwThnN.mjs → acorex-modules-auth-password.component-cPmwNpuq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CUxwThnN.mjs.map → acorex-modules-auth-password.component-cPmwNpuq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CYLKJm9g.mjs → acorex-modules-auth-routes-r72zIRTa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CYLKJm9g.mjs.map → acorex-modules-auth-routes-r72zIRTa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs → acorex-modules-auth-tenant-chooser.component-AQA2o6Ty.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs.map → acorex-modules-auth-tenant-chooser.component-AQA2o6Ty.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs → acorex-modules-auth-two-factor.module-Dx0CC5ic.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs.map → acorex-modules-auth-two-factor.module-Dx0CC5ic.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sKDANprs.mjs → acorex-modules-auth-user-sessions.component-3Wr7DUDQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sKDANprs.mjs.map → acorex-modules-auth-user-sessions.component-3Wr7DUDQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +8 -3
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs → acorex-modules-conversation-acorex-modules-conversation-DkdNLMKa.mjs} +8 -7
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DkdNLMKa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-VKPbkRqI.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-VKPbkRqI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs → acorex-modules-conversation-comments-page.component-ehUCjoFD.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs.map → acorex-modules-conversation-comments-page.component-ehUCjoFD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs → acorex-modules-conversation-send-assist-chat-message.command-ZNcVi54N.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-ZNcVi54N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs → acorex-modules-conversation-start-assist-chat.command-CX6lm1lG.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs.map → acorex-modules-conversation-start-assist-chat.command-CX6lm1lG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-customer-management.mjs +2 -0
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +6 -5
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Bfjo-ENr.mjs → acorex-modules-help-desk-acorex-modules-help-desk-DVlO9JZw.mjs} +3 -2
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-DVlO9JZw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CsACFkPq.mjs → acorex-modules-help-desk-capture-screen.component-rNPehEf8.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CsACFkPq.mjs.map → acorex-modules-help-desk-capture-screen.component-rNPehEf8.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs} +131 -112
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs → acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs → acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs} +8 -8
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs → acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs.map → acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs → acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs.map → acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs → acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs.map → acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs → acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs} +13 -13
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs → acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs} +45 -56
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs → acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs → acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs +237 -0
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/{acorex-modules-learning-management-enrollment.entity-B53AQq_9.mjs → acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs} +4 -22
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs.map +1 -0
- package/fesm2022/acorex-modules-learning-management.mjs +1 -1
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +1 -0
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs → acorex-modules-platform-management-acorex-modules-platform-management-Cbf1rlEK.mjs} +4 -4
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-Cbf1rlEK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs → acorex-modules-platform-management-menu-list.component-DIf_-oaM.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs.map → acorex-modules-platform-management-menu-list.component-DIf_-oaM.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +3 -0
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-supplier-management.mjs +1 -0
- package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs → acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs} +32 -2
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-B2xxXscG.mjs → acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs} +33 -3
- package/fesm2022/acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-B4DLmioy.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs.map → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-B4DLmioy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-RRzkvrNM.mjs → acorex-modules-workflow-management-index-BhVZ1Bcw.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-RRzkvrNM.mjs.map → acorex-modules-workflow-management-index-BhVZ1Bcw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-Eh5DDK-V.mjs → acorex-modules-workflow-management-index-DC_9M9dk.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-Eh5DDK-V.mjs.map → acorex-modules-workflow-management-index-DC_9M9dk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs → acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs} +2 -2
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs.map → acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs.map} +1 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DjYDwHWU.mjs +255 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DjYDwHWU.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1819 -745
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-assessment-management.d.ts +387 -278
- package/types/acorex-modules-common.d.ts +2 -0
- package/types/acorex-modules-human-capital-management.d.ts +31 -30
- package/types/acorex-modules-learning-management.d.ts +0 -1
- package/types/acorex-modules-task-management.d.ts +41 -2
- package/types/acorex-modules-workflow-management.d.ts +280 -34
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-XdJCIYG3.mjs +0 -1509
- package/fesm2022/acorex-modules-assessment-management-index-XdJCIYG3.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs +0 -236
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs +0 -61
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs +0 -112
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bfjo-ENr.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-B53AQq_9.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-B2xxXscG.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs +0 -356
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPEntity, AXPMenuProvider, AXPMenuProviderContext, AXPSearchCommandProvider, AXPSearchResult } from '@acorex/platform/common';
|
|
2
2
|
import { AXPEntityDefinitionLoader, AXPEntityModel } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
4
|
-
import { AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext, AXPMultiLanguageString, AXPExpression,
|
|
4
|
+
import { AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext, AXPMultiLanguageString, AXPExpression, AXPDeviceService, AXPEntityReference } from '@acorex/platform/core';
|
|
5
5
|
import { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';
|
|
6
6
|
import * as _angular_core from '@angular/core';
|
|
7
7
|
import { OnInit } from '@angular/core';
|
|
@@ -51,12 +51,6 @@ declare const RootConfig: {
|
|
|
51
51
|
titlePlural: string;
|
|
52
52
|
icon: string;
|
|
53
53
|
};
|
|
54
|
-
questionnaireCalculation: {
|
|
55
|
-
name: string;
|
|
56
|
-
title: string;
|
|
57
|
-
titlePlural: string;
|
|
58
|
-
icon: string;
|
|
59
|
-
};
|
|
60
54
|
};
|
|
61
55
|
};
|
|
62
56
|
|
|
@@ -109,18 +103,9 @@ declare const AXMAssessmentManagementPermissionKeys: {
|
|
|
109
103
|
};
|
|
110
104
|
readonly Case: {
|
|
111
105
|
readonly Management: "AssessmentManagement:Case:Management";
|
|
112
|
-
readonly Create: "AssessmentManagement:Case:Create";
|
|
113
|
-
readonly Edit: "AssessmentManagement:Case:Edit";
|
|
114
|
-
readonly Delete: "AssessmentManagement:Case:Delete";
|
|
115
106
|
};
|
|
116
107
|
readonly Session: {
|
|
117
108
|
readonly Management: "AssessmentManagement:Session:Management";
|
|
118
|
-
readonly Create: "AssessmentManagement:Session:Create";
|
|
119
|
-
readonly Edit: "AssessmentManagement:Session:Edit";
|
|
120
|
-
readonly Delete: "AssessmentManagement:Session:Delete";
|
|
121
|
-
};
|
|
122
|
-
readonly QuestionnaireCalculation: {
|
|
123
|
-
readonly Management: "AssessmentManagement:QuestionnaireCalculation:Management";
|
|
124
109
|
};
|
|
125
110
|
readonly Automation: {
|
|
126
111
|
readonly Management: "AssessmentManagement:Automation:Management";
|
|
@@ -310,6 +295,378 @@ interface QuestionnaireBuilderValue {
|
|
|
310
295
|
displaySettings?: QuestionnaireDisplaySettings;
|
|
311
296
|
}
|
|
312
297
|
|
|
298
|
+
/**
|
|
299
|
+
* Pre- / post-questionnaire rich text (welcome, summary, etc.).
|
|
300
|
+
* @alias AXPMultiLanguageString
|
|
301
|
+
*/
|
|
302
|
+
type PrePostContentValue = AXPMultiLanguageString;
|
|
303
|
+
/**
|
|
304
|
+
* Pre-questionnaire configuration (shown before questions).
|
|
305
|
+
*/
|
|
306
|
+
interface PreQuestionnaireConfig {
|
|
307
|
+
enabled: boolean;
|
|
308
|
+
/** Rich text content. Supports multi-language: Record<locale, string>. */
|
|
309
|
+
content?: PrePostContentValue;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Post-questionnaire configuration (review before submit, summary after submit).
|
|
313
|
+
* Summary content supports placeholders: {{totalQuestions}}, {{answeredCount}}, {{totalTime}}, {{elapsedSeconds}}, and {{outcomeName}} from configured outcomes.
|
|
314
|
+
*/
|
|
315
|
+
interface PostQuestionnaireConfig {
|
|
316
|
+
/** Show review step before submit (all answers, edit/submit). */
|
|
317
|
+
reviewEnabled: boolean;
|
|
318
|
+
/** Show summary screen after submit. */
|
|
319
|
+
summaryEnabled: boolean;
|
|
320
|
+
/** When true, show a separate step with outcome results (name/value list). */
|
|
321
|
+
showOutcomeResults?: boolean;
|
|
322
|
+
/** Rich text content for summary. Supports multi-language and placeholders. */
|
|
323
|
+
summaryContent?: PrePostContentValue;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Entity-level display options (viewer / builder preview). Subset of {@link QuestionnaireDisplaySettings}.
|
|
327
|
+
*/
|
|
328
|
+
type QuestionnaireCompletionMode = 'submit-only' | 'save-and-continue';
|
|
329
|
+
type QuestionnaireEntityDisplaySettings = Pick<QuestionnaireDisplaySettings, 'viewMode' | 'showProgressBar' | 'showTimer' | 'showQuestionNumbers' | 'validationStrategy' | 'completionMode'>;
|
|
330
|
+
declare const DEFAULT_PRE_QUESTIONNAIRE_CONFIG: PreQuestionnaireConfig;
|
|
331
|
+
declare const DEFAULT_POST_QUESTIONNAIRE_CONFIG: PostQuestionnaireConfig;
|
|
332
|
+
declare const DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY: QuestionnaireEntityDisplaySettings;
|
|
333
|
+
/**
|
|
334
|
+
* Pre/post configuration for viewer flow (from {@link toPrePostConfig}).
|
|
335
|
+
*/
|
|
336
|
+
interface PrePostConfig {
|
|
337
|
+
pre: PreQuestionnaireConfig;
|
|
338
|
+
post: PostQuestionnaireConfig;
|
|
339
|
+
}
|
|
340
|
+
/** Primitive type of an evaluated outcome value (coercion after expression runs). */
|
|
341
|
+
type QuestionnaireOutcomeResultKind = 'number' | 'string' | 'boolean';
|
|
342
|
+
/** Text emphasis for outcome result display rules. */
|
|
343
|
+
type QuestionnaireOutcomeDisplayEmphasis = 'normal' | 'medium' | 'bold';
|
|
344
|
+
/** Comparison operator for display rule conditions against the evaluated outcome `value`. */
|
|
345
|
+
type QuestionnaireOutcomeDisplayOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
346
|
+
/**
|
|
347
|
+
* Theme color chooser value: `"foreground background border"` (hex or utility classes).
|
|
348
|
+
*/
|
|
349
|
+
type QuestionnaireOutcomeDisplayColor = string;
|
|
350
|
+
/** Icon chooser value or resolved Font Awesome class string. */
|
|
351
|
+
type QuestionnaireOutcomeDisplayIcon = string | {
|
|
352
|
+
label?: string;
|
|
353
|
+
styleClass?: string;
|
|
354
|
+
iconClass?: string;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Conditional styling for an outcome value in the results step.
|
|
358
|
+
* Rules are evaluated in order; the first matching condition wins.
|
|
359
|
+
*/
|
|
360
|
+
interface QuestionnaireOutcomeDisplayRule {
|
|
361
|
+
id: string;
|
|
362
|
+
order: number;
|
|
363
|
+
operator: QuestionnaireOutcomeDisplayOperator;
|
|
364
|
+
compareValue: number | string | boolean;
|
|
365
|
+
/** Theme color chooser value applied to the outcome value in results. */
|
|
366
|
+
color: QuestionnaireOutcomeDisplayColor;
|
|
367
|
+
emphasis?: QuestionnaireOutcomeDisplayEmphasis;
|
|
368
|
+
icon?: QuestionnaireOutcomeDisplayIcon;
|
|
369
|
+
}
|
|
370
|
+
/** Parses a theme color chooser value into foreground, background, and border parts. */
|
|
371
|
+
declare function parseQuestionnaireOutcomeDisplayColor(value: string | null | undefined): {
|
|
372
|
+
foreground: string;
|
|
373
|
+
background: string;
|
|
374
|
+
border: string;
|
|
375
|
+
} | null;
|
|
376
|
+
declare function isQuestionnaireOutcomeDisplayColorHex(value: string): boolean;
|
|
377
|
+
/**
|
|
378
|
+
* Returns true when the evaluated outcome value matches the display rule condition.
|
|
379
|
+
*/
|
|
380
|
+
declare function matchesQuestionnaireOutcomeDisplayRule(value: unknown, rule: Pick<QuestionnaireOutcomeDisplayRule, 'operator' | 'compareValue'>): boolean;
|
|
381
|
+
declare function normalizeQuestionnaireOutcomeDisplayRules(rules: QuestionnaireOutcomeDisplayRule[] | null | undefined): QuestionnaireOutcomeDisplayRule[];
|
|
382
|
+
/**
|
|
383
|
+
* Named outcome rule embedded on a questionnaire.
|
|
384
|
+
* Referenced in expressions via outcome.eval('name') and in summary placeholders as {{name}}.
|
|
385
|
+
*/
|
|
386
|
+
interface QuestionnaireOutcomeItem {
|
|
387
|
+
id: string;
|
|
388
|
+
/** Unique programmatic name within the questionnaire (variable-name style). */
|
|
389
|
+
name: string;
|
|
390
|
+
title?: AXPMultiLanguageString;
|
|
391
|
+
description?: AXPMultiLanguageString;
|
|
392
|
+
resultKind: QuestionnaireOutcomeResultKind;
|
|
393
|
+
/**
|
|
394
|
+
* Use `{{ ... }}` or plain expression body; scope includes `answer.eval`, `outcome.eval`, and `fn.*`.
|
|
395
|
+
*/
|
|
396
|
+
expression: string;
|
|
397
|
+
/** Optional ordered display rules applied to the evaluated value in the results step. */
|
|
398
|
+
displayRules?: QuestionnaireOutcomeDisplayRule[];
|
|
399
|
+
}
|
|
400
|
+
/** Section grouping outcome rules (same builder pattern as questionnaire questions). */
|
|
401
|
+
interface QuestionnaireOutcomeSection {
|
|
402
|
+
/** Unique technical section name. */
|
|
403
|
+
name: string;
|
|
404
|
+
title?: AXPMultiLanguageString;
|
|
405
|
+
description?: AXPMultiLanguageString;
|
|
406
|
+
order: number;
|
|
407
|
+
items: QuestionnaireOutcomeItem[];
|
|
408
|
+
isNewlyAdded?: boolean;
|
|
409
|
+
}
|
|
410
|
+
/** Embedded outcome rules on questionnaire. */
|
|
411
|
+
interface QuestionnaireOutcomesValue {
|
|
412
|
+
sections: QuestionnaireOutcomeSection[];
|
|
413
|
+
}
|
|
414
|
+
declare const DEFAULT_QUESTIONNAIRE_OUTCOMES: QuestionnaireOutcomesValue;
|
|
415
|
+
declare function normalizeQuestionnaireOutcomesValue(value: QuestionnaireOutcomesValue | null | undefined): QuestionnaireOutcomesValue;
|
|
416
|
+
/** All outcome items across sections (evaluation, automations, duplicate checks). */
|
|
417
|
+
declare function flattenQuestionnaireOutcomeItems(value: QuestionnaireOutcomesValue | null | undefined): QuestionnaireOutcomeItem[];
|
|
418
|
+
declare function findDuplicateOutcomeNames(value: QuestionnaireOutcomesValue | null | undefined): string[];
|
|
419
|
+
interface AXMAssessmentManagementQuestionnaireEntityModel extends AXPEntityModel<string> {
|
|
420
|
+
title: AXPMultiLanguageString;
|
|
421
|
+
description?: AXPMultiLanguageString;
|
|
422
|
+
type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
|
|
423
|
+
questions?: QuestionnaireBuilderValue;
|
|
424
|
+
/** Named outcome rules evaluated from answers (outcome.eval / summary placeholders). */
|
|
425
|
+
outcomes?: QuestionnaireOutcomesValue;
|
|
426
|
+
/** Viewer / preview display. */
|
|
427
|
+
display?: QuestionnaireEntityDisplaySettings;
|
|
428
|
+
/** Welcome screen before questions. */
|
|
429
|
+
pre?: PreQuestionnaireConfig;
|
|
430
|
+
/** Review before submit, summary / results after submit. */
|
|
431
|
+
post?: PostQuestionnaireConfig;
|
|
432
|
+
categoryId?: string;
|
|
433
|
+
tags?: string[];
|
|
434
|
+
color?: string;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Maps entity pre/post to viewer config (defaults when omitted).
|
|
438
|
+
*/
|
|
439
|
+
declare function toPrePostConfig(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): PrePostConfig | null;
|
|
440
|
+
declare const VIEW_MODE_VALUES: readonly ["single-page", "page-per-group", "page-per-question", "side-menu"];
|
|
441
|
+
type ViewModeValue = (typeof VIEW_MODE_VALUES)[number];
|
|
442
|
+
declare const VALIDATION_STRATEGY_VALUES: readonly ["step", "end"];
|
|
443
|
+
type ValidationStrategyValue = (typeof VALIDATION_STRATEGY_VALUES)[number];
|
|
444
|
+
declare const COMPLETION_MODE_VALUES: readonly ["submit-only", "save-and-continue"];
|
|
445
|
+
type CompletionModeValue = (typeof COMPLETION_MODE_VALUES)[number];
|
|
446
|
+
/**
|
|
447
|
+
* Coerces stored view mode (string or SelectBox `{ id }`) to a known value.
|
|
448
|
+
*/
|
|
449
|
+
declare function normalizeViewMode(value: unknown): ViewModeValue;
|
|
450
|
+
/**
|
|
451
|
+
* Coerces stored validation strategy (string or SelectBox `{ id }`) to a known value.
|
|
452
|
+
*/
|
|
453
|
+
declare function normalizeValidationStrategy(value: unknown): ValidationStrategyValue;
|
|
454
|
+
/**
|
|
455
|
+
* Coerces stored completion mode (string or SelectBox `{ id }`) to a known value.
|
|
456
|
+
*/
|
|
457
|
+
declare function normalizeCompletionMode(value: unknown): CompletionModeValue;
|
|
458
|
+
/**
|
|
459
|
+
* Maps entity `display` to {@link QuestionnaireDisplaySettings} (defaults when omitted).
|
|
460
|
+
*/
|
|
461
|
+
declare function toDisplaySettings(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): QuestionnaireDisplaySettings | null;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Resolved display styling for an outcome value row.
|
|
465
|
+
*/
|
|
466
|
+
interface OutcomeResultDisplay {
|
|
467
|
+
color?: string;
|
|
468
|
+
emphasis: QuestionnaireOutcomeDisplayEmphasis;
|
|
469
|
+
iconClass?: string;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* One evaluated outcome row for the post-submit results step.
|
|
473
|
+
*/
|
|
474
|
+
interface OutcomeResultEntry {
|
|
475
|
+
key: string;
|
|
476
|
+
value: unknown;
|
|
477
|
+
label: string;
|
|
478
|
+
display?: OutcomeResultDisplay;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Outcome results grouped under a questionnaire outcomes section.
|
|
482
|
+
*/
|
|
483
|
+
interface OutcomeResultSectionGroup {
|
|
484
|
+
trackKey: string;
|
|
485
|
+
sectionName: string;
|
|
486
|
+
sectionOrder: number;
|
|
487
|
+
sectionTitle: AXPMultiLanguageString;
|
|
488
|
+
sectionDescription?: AXPMultiLanguageString;
|
|
489
|
+
items: OutcomeResultEntry[];
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Placeholder values for post-questionnaire summary content.
|
|
493
|
+
* Fixed keys plus any {{name}} from questionnaire outcomes.
|
|
494
|
+
*/
|
|
495
|
+
interface SummaryPlaceholderValues {
|
|
496
|
+
totalQuestions?: number;
|
|
497
|
+
answeredCount?: number;
|
|
498
|
+
/** Elapsed questionnaire time in whole seconds (e.g. from the viewer timer). */
|
|
499
|
+
totalTimeSeconds?: number;
|
|
500
|
+
/** Pre-formatted duration for {{totalTime}}. */
|
|
501
|
+
totalTimeFormatted?: string;
|
|
502
|
+
/** Computed outcome values (name -> value) for placeholders like {{bmi}}. */
|
|
503
|
+
outcomes?: Record<string, unknown>;
|
|
504
|
+
/** Display label per outcome `name` (title); used in the outcomes list UI. */
|
|
505
|
+
outcomeTitles?: Record<string, string>;
|
|
506
|
+
/** Outcome rows grouped by configured outcomes section (when available). */
|
|
507
|
+
outcomeSections?: OutcomeResultSectionGroup[];
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/** Named values produced by questionnaire outcome rules (outcome `name` → evaluated value). */
|
|
511
|
+
type QuestionnaireOutcomeValues = Record<string, unknown>;
|
|
512
|
+
interface AXMQuestionnaireViewerServiceConfig {
|
|
513
|
+
/**
|
|
514
|
+
* Dialog title
|
|
515
|
+
*/
|
|
516
|
+
title: string;
|
|
517
|
+
/**
|
|
518
|
+
* Questionnaire structure data
|
|
519
|
+
*/
|
|
520
|
+
structure: QuestionnaireBuilderValue;
|
|
521
|
+
/**
|
|
522
|
+
* Pre/post questionnaire config (welcome, review, summary)
|
|
523
|
+
*/
|
|
524
|
+
prePostConfig?: PrePostConfig | null;
|
|
525
|
+
/**
|
|
526
|
+
* Optional viewer configuration
|
|
527
|
+
* If not provided, displaySettings from structure will be used
|
|
528
|
+
*/
|
|
529
|
+
config?: QuestionnaireViewerConfig;
|
|
530
|
+
/**
|
|
531
|
+
* Initial answers to pre-fill the questionnaire
|
|
532
|
+
*/
|
|
533
|
+
initialAnswers?: Record<string, any>;
|
|
534
|
+
/**
|
|
535
|
+
* Persisted questionnaire entity id — used to load embedded outcome rules when inline rules are not provided.
|
|
536
|
+
*/
|
|
537
|
+
questionnaireId?: string;
|
|
538
|
+
/**
|
|
539
|
+
* Inline outcome rules (e.g. unsaved builder state). Takes precedence over loading from the questionnaire entity.
|
|
540
|
+
*/
|
|
541
|
+
outcomeRules?: QuestionnaireOutcomeItem[];
|
|
542
|
+
/**
|
|
543
|
+
* When provided, called on submit. Should save and return result for summary.
|
|
544
|
+
*/
|
|
545
|
+
submitHandler?: (answers: Record<string, any>) => Promise<SummaryPlaceholderValues | null | void>;
|
|
546
|
+
/**
|
|
547
|
+
* When provided, called on save-and-continue (draft). Should persist without final validation.
|
|
548
|
+
*/
|
|
549
|
+
saveHandler?: (answers: Record<string, any>) => Promise<void>;
|
|
550
|
+
/**
|
|
551
|
+
* Assessment case/session ids for fill popup persistence (popup cannot receive function handlers).
|
|
552
|
+
*/
|
|
553
|
+
assessmentFillContext?: QuestionnaireAssessmentFillContext;
|
|
554
|
+
}
|
|
555
|
+
interface AXMQuestionnaireViewerServiceResult {
|
|
556
|
+
/**
|
|
557
|
+
* All answers from the questionnaire
|
|
558
|
+
*/
|
|
559
|
+
answers: Record<string, any>;
|
|
560
|
+
/**
|
|
561
|
+
* Questions with their corresponding answers
|
|
562
|
+
*/
|
|
563
|
+
questions: Array<{
|
|
564
|
+
name: string;
|
|
565
|
+
questionBankItemId: string;
|
|
566
|
+
sectionName: string;
|
|
567
|
+
title: string;
|
|
568
|
+
note?: string;
|
|
569
|
+
answer: any;
|
|
570
|
+
isRequired?: boolean | string;
|
|
571
|
+
}>;
|
|
572
|
+
/**
|
|
573
|
+
* Whether the dialog was submitted (true) or closed (false)
|
|
574
|
+
*/
|
|
575
|
+
submitted: boolean;
|
|
576
|
+
/**
|
|
577
|
+
* Draft saved via save-and-continue without final submit.
|
|
578
|
+
*/
|
|
579
|
+
saved?: boolean;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Opens the questionnaire viewer dialog and evaluates questionnaire outcomes when a questionnaire id is provided.
|
|
583
|
+
*/
|
|
584
|
+
declare class AXMQuestionnaireViewerService {
|
|
585
|
+
private readonly popupService;
|
|
586
|
+
private readonly entityService;
|
|
587
|
+
private readonly expressionEvaluator;
|
|
588
|
+
protected readonly deviceService: AXPDeviceService;
|
|
589
|
+
/**
|
|
590
|
+
* Open questionnaire viewer in a dialog
|
|
591
|
+
*/
|
|
592
|
+
open(config: AXMQuestionnaireViewerServiceConfig): Promise<AXMQuestionnaireViewerServiceResult | null>;
|
|
593
|
+
/**
|
|
594
|
+
* Evaluate all questionnaire outcomes for the given questionnaire and answers.
|
|
595
|
+
* Pass `structure` so expressions can use `answer.byId`, `answer.byTag`, and `answer.allByTag`.
|
|
596
|
+
*/
|
|
597
|
+
/**
|
|
598
|
+
* Resolves `isVisible` for a section or question: `false` hides; `true`/undefined shows;
|
|
599
|
+
* non-empty string is evaluated with the same scope as questionnaire outcomes (`answer.*`, `fn.*`, etc.).
|
|
600
|
+
*/
|
|
601
|
+
evaluateQuestionnaireVisibilityFlag(isVisible: boolean | string | undefined | null, answers: Record<string, unknown>, structure: QuestionnaireBuilderValue | null | undefined): Promise<boolean>;
|
|
602
|
+
/**
|
|
603
|
+
* Evaluates questionnaire outcome rules and returns values plus display titles.
|
|
604
|
+
*/
|
|
605
|
+
evaluateOutcomes(answers: Record<string, unknown>, options?: {
|
|
606
|
+
questionnaireId?: string;
|
|
607
|
+
outcomeRules?: QuestionnaireOutcomeItem[];
|
|
608
|
+
structure?: QuestionnaireBuilderValue | null;
|
|
609
|
+
}): Promise<{
|
|
610
|
+
values: QuestionnaireOutcomeValues;
|
|
611
|
+
outcomeTitles: Record<string, string>;
|
|
612
|
+
}>;
|
|
613
|
+
/**
|
|
614
|
+
* Progress metrics and optional outcome results for summary / preview.
|
|
615
|
+
*/
|
|
616
|
+
buildSummaryPlaceholderValues(structure: QuestionnaireBuilderValue, answers: Record<string, any>, options?: {
|
|
617
|
+
questionnaireId?: string;
|
|
618
|
+
outcomeRules?: QuestionnaireOutcomeItem[];
|
|
619
|
+
elapsedSeconds?: number;
|
|
620
|
+
}): Promise<SummaryPlaceholderValues>;
|
|
621
|
+
/**
|
|
622
|
+
* Builds outcome section rows from stored session values (no expression re-evaluation).
|
|
623
|
+
*/
|
|
624
|
+
buildOutcomeResultsFromStoredValues(storedOutcomes: Record<string, unknown>, options: {
|
|
625
|
+
questionnaireId: string;
|
|
626
|
+
}): Promise<Pick<SummaryPlaceholderValues, 'outcomes' | 'outcomeTitles' | 'outcomeSections'>>;
|
|
627
|
+
/**
|
|
628
|
+
* Count answered questions using the same paths as the viewer session (item id or answers.itemId).
|
|
629
|
+
*/
|
|
630
|
+
calculateProgressFromStructure(structure: QuestionnaireBuilderValue, answers: Record<string, any>): {
|
|
631
|
+
answeredQuestionsCount: number;
|
|
632
|
+
progressPercentage: number;
|
|
633
|
+
};
|
|
634
|
+
private resolveOutcomeRules;
|
|
635
|
+
private resolveOutcomeSections;
|
|
636
|
+
private loadQuestionnaire;
|
|
637
|
+
private buildOutcomeResultSections;
|
|
638
|
+
/**
|
|
639
|
+
* First matching display rule for an evaluated outcome value.
|
|
640
|
+
*/
|
|
641
|
+
private resolveOutcomeDisplay;
|
|
642
|
+
/**
|
|
643
|
+
* Display label for an outcome rule: `title` when set, otherwise a humanized `name`.
|
|
644
|
+
*/
|
|
645
|
+
private resolveOutcomeDisplayTitle;
|
|
646
|
+
private humanizeOutcomeKey;
|
|
647
|
+
private computeResult;
|
|
648
|
+
/** Non-empty trimmed `expression`, or empty string if missing. */
|
|
649
|
+
private outcomeExpressionText;
|
|
650
|
+
private inferResultKind;
|
|
651
|
+
private coerceOutcome;
|
|
652
|
+
private evaluateOutcomeExpression;
|
|
653
|
+
/**
|
|
654
|
+
* Resolves an answer the same way as the viewer session (`key` or `answers.key`).
|
|
655
|
+
*/
|
|
656
|
+
private resolveStoredAnswer;
|
|
657
|
+
/** Sections and items ordered by `order` for deterministic `byTag` matching. */
|
|
658
|
+
private flattenQuestionnaireItems;
|
|
659
|
+
private normalizeQuestionnaireTag;
|
|
660
|
+
/**
|
|
661
|
+
* Scope: answer.eval (path), answer.byId / byTag / allByTag, formula.eval / outcome.eval, fn.* helpers.
|
|
662
|
+
*/
|
|
663
|
+
private buildExpressionScope;
|
|
664
|
+
private expressionOutcomeRefs;
|
|
665
|
+
private topologicalSort;
|
|
666
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMQuestionnaireViewerService, never>;
|
|
667
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMQuestionnaireViewerService>;
|
|
668
|
+
}
|
|
669
|
+
|
|
313
670
|
type AXMAssessmentSessionRole = 'responder' | 'supervisor' | 'reviewer';
|
|
314
671
|
type AXMAssessmentSessionStatus = 'not-started' | 'in-progress' | 'submitted' | 'under-review' | 'approved' | 'rejected' | 'completed';
|
|
315
672
|
interface AXMAssessmentManagementAssessmentSessionEntityModel extends AXPEntityModel<string> {
|
|
@@ -324,6 +681,10 @@ interface AXMAssessmentManagementAssessmentSessionEntityModel extends AXPEntityM
|
|
|
324
681
|
progressPercentage: number;
|
|
325
682
|
answeredQuestionsCount: number;
|
|
326
683
|
answers: Record<string, unknown>;
|
|
684
|
+
/**
|
|
685
|
+
* Evaluated questionnaire outcome values (rule `name` → value), snapshot at submit.
|
|
686
|
+
*/
|
|
687
|
+
outcomes?: Record<string, unknown>;
|
|
327
688
|
previousId?: string;
|
|
328
689
|
}
|
|
329
690
|
|
|
@@ -513,6 +874,7 @@ declare class AXMQuestionnaireViewerComponent {
|
|
|
513
874
|
sectionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
514
875
|
questionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
515
876
|
viewMode: _angular_core.Signal<QuestionnaireViewMode>;
|
|
877
|
+
isReadonly: _angular_core.Signal<boolean>;
|
|
516
878
|
sections: _angular_core.Signal<QuestionnaireViewerSection[]>;
|
|
517
879
|
sectionIndicesWithVisibleContent: _angular_core.Signal<number[]>;
|
|
518
880
|
currentSection: _angular_core.Signal<QuestionnaireViewerSection | null>;
|
|
@@ -660,6 +1022,7 @@ declare class AXMQuestionnaireViewerComponent {
|
|
|
660
1022
|
sectionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
661
1023
|
questionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
662
1024
|
viewMode: _angular_core.Signal<QuestionnaireViewMode>;
|
|
1025
|
+
isReadonly: _angular_core.Signal<boolean>;
|
|
663
1026
|
sections: _angular_core.Signal<QuestionnaireViewerSection[]>;
|
|
664
1027
|
sectionIndicesWithVisibleContent: _angular_core.Signal<number[]>;
|
|
665
1028
|
currentSection: _angular_core.Signal<QuestionnaireViewerSection | null>;
|
|
@@ -883,7 +1246,7 @@ interface AXMAssessmentManagementQuestionBankItemEntityModel extends AXPEntityMo
|
|
|
883
1246
|
* Not used as the respondent-facing question text; see `question`.
|
|
884
1247
|
*/
|
|
885
1248
|
title: AXPMultiLanguageString;
|
|
886
|
-
/** Unique variable name for questionnaire
|
|
1249
|
+
/** Unique variable name for questionnaire outcomes (answer.eval('name')). */
|
|
887
1250
|
name?: string;
|
|
888
1251
|
/** Respondent-facing question body (rich text). */
|
|
889
1252
|
question?: AXPMultiLanguageString;
|
|
@@ -910,90 +1273,6 @@ declare function stripQuestionBankInterfaceMetadata(value: AXMQuestionBankItemIn
|
|
|
910
1273
|
*/
|
|
911
1274
|
declare function resolveWidgetNodeFromMetaDataDefinitionInterface(raw: string | AXPWidgetNode | (() => Promise<AXPWidgetNode>) | null | undefined): Promise<AXPWidgetNode | null>;
|
|
912
1275
|
|
|
913
|
-
/**
|
|
914
|
-
* Pre- / post-questionnaire rich text (welcome, summary, etc.).
|
|
915
|
-
* @alias AXPMultiLanguageString
|
|
916
|
-
*/
|
|
917
|
-
type PrePostContentValue = AXPMultiLanguageString;
|
|
918
|
-
/**
|
|
919
|
-
* Pre-questionnaire configuration (shown before questions).
|
|
920
|
-
*/
|
|
921
|
-
interface PreQuestionnaireConfig {
|
|
922
|
-
enabled: boolean;
|
|
923
|
-
/** Rich text content. Supports multi-language: Record<locale, string>. */
|
|
924
|
-
content?: PrePostContentValue;
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
* Post-questionnaire configuration (review before submit, summary after submit).
|
|
928
|
-
* Summary content supports placeholders: {{totalQuestions}}, {{answeredCount}}, {{totalTime}}, {{elapsedSeconds}}, and {{calculationName}} from configured calculations.
|
|
929
|
-
*/
|
|
930
|
-
interface PostQuestionnaireConfig {
|
|
931
|
-
/** Show review step before submit (all answers, edit/submit). */
|
|
932
|
-
reviewEnabled: boolean;
|
|
933
|
-
/** Show summary screen after submit. */
|
|
934
|
-
summaryEnabled: boolean;
|
|
935
|
-
/** When true, show a separate step after the summary with calculation results (name/value list). */
|
|
936
|
-
showCalculationResults?: boolean;
|
|
937
|
-
/** Rich text content for summary. Supports multi-language and placeholders. */
|
|
938
|
-
summaryContent?: PrePostContentValue;
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Entity-level display options (viewer / builder preview). Subset of {@link QuestionnaireDisplaySettings}.
|
|
942
|
-
*/
|
|
943
|
-
type QuestionnaireCompletionMode = 'submit-only' | 'save-and-continue';
|
|
944
|
-
type QuestionnaireEntityDisplaySettings = Pick<QuestionnaireDisplaySettings, 'viewMode' | 'showProgressBar' | 'showTimer' | 'showQuestionNumbers' | 'validationStrategy' | 'completionMode'>;
|
|
945
|
-
declare const DEFAULT_PRE_QUESTIONNAIRE_CONFIG: PreQuestionnaireConfig;
|
|
946
|
-
declare const DEFAULT_POST_QUESTIONNAIRE_CONFIG: PostQuestionnaireConfig;
|
|
947
|
-
declare const DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY: QuestionnaireEntityDisplaySettings;
|
|
948
|
-
/**
|
|
949
|
-
* Pre/post configuration for viewer flow (from {@link toPrePostConfig}).
|
|
950
|
-
*/
|
|
951
|
-
interface PrePostConfig {
|
|
952
|
-
pre: PreQuestionnaireConfig;
|
|
953
|
-
post: PostQuestionnaireConfig;
|
|
954
|
-
}
|
|
955
|
-
interface AXMAssessmentManagementQuestionnaireEntityModel extends AXPEntityModel<string> {
|
|
956
|
-
title: AXPMultiLanguageString;
|
|
957
|
-
description?: AXPMultiLanguageString;
|
|
958
|
-
type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
|
|
959
|
-
questions?: QuestionnaireBuilderValue;
|
|
960
|
-
/** Viewer / preview display. */
|
|
961
|
-
display?: QuestionnaireEntityDisplaySettings;
|
|
962
|
-
/** Welcome screen before questions. */
|
|
963
|
-
pre?: PreQuestionnaireConfig;
|
|
964
|
-
/** Review before submit, summary / results after submit. */
|
|
965
|
-
post?: PostQuestionnaireConfig;
|
|
966
|
-
categoryId?: string;
|
|
967
|
-
tags?: string[];
|
|
968
|
-
color?: string;
|
|
969
|
-
}
|
|
970
|
-
/**
|
|
971
|
-
* Maps entity pre/post to viewer config (defaults when omitted).
|
|
972
|
-
*/
|
|
973
|
-
declare function toPrePostConfig(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): PrePostConfig | null;
|
|
974
|
-
declare const VIEW_MODE_VALUES: readonly ["single-page", "page-per-group", "page-per-question", "side-menu"];
|
|
975
|
-
type ViewModeValue = (typeof VIEW_MODE_VALUES)[number];
|
|
976
|
-
declare const VALIDATION_STRATEGY_VALUES: readonly ["step", "end"];
|
|
977
|
-
type ValidationStrategyValue = (typeof VALIDATION_STRATEGY_VALUES)[number];
|
|
978
|
-
declare const COMPLETION_MODE_VALUES: readonly ["submit-only", "save-and-continue"];
|
|
979
|
-
type CompletionModeValue = (typeof COMPLETION_MODE_VALUES)[number];
|
|
980
|
-
/**
|
|
981
|
-
* Coerces stored view mode (string or SelectBox `{ id }`) to a known value.
|
|
982
|
-
*/
|
|
983
|
-
declare function normalizeViewMode(value: unknown): ViewModeValue;
|
|
984
|
-
/**
|
|
985
|
-
* Coerces stored validation strategy (string or SelectBox `{ id }`) to a known value.
|
|
986
|
-
*/
|
|
987
|
-
declare function normalizeValidationStrategy(value: unknown): ValidationStrategyValue;
|
|
988
|
-
/**
|
|
989
|
-
* Coerces stored completion mode (string or SelectBox `{ id }`) to a known value.
|
|
990
|
-
*/
|
|
991
|
-
declare function normalizeCompletionMode(value: unknown): CompletionModeValue;
|
|
992
|
-
/**
|
|
993
|
-
* Maps entity `display` to {@link QuestionnaireDisplaySettings} (defaults when omitted).
|
|
994
|
-
*/
|
|
995
|
-
declare function toDisplaySettings(q: Partial<AXMAssessmentManagementQuestionnaireEntityModel> | null | undefined): QuestionnaireDisplaySettings | null;
|
|
996
|
-
|
|
997
1276
|
type AXMAssessmentCaseStatus = 'draft' | 'active' | 'in-progress' | 'closed' | 'cancelled';
|
|
998
1277
|
interface AXMAssessmentManagementAssessmentCaseEntityModel extends AXPEntityModel<string> {
|
|
999
1278
|
/**
|
|
@@ -1004,7 +1283,6 @@ interface AXMAssessmentManagementAssessmentCaseEntityModel extends AXPEntityMode
|
|
|
1004
1283
|
* Optional friendly title for lists/search.
|
|
1005
1284
|
*/
|
|
1006
1285
|
title: string;
|
|
1007
|
-
description?: string;
|
|
1008
1286
|
/**
|
|
1009
1287
|
* Target entity (e.g. AssetManagement.Asset, HumanCapital.Employee).
|
|
1010
1288
|
*/
|
|
@@ -1013,180 +1291,6 @@ interface AXMAssessmentManagementAssessmentCaseEntityModel extends AXPEntityMode
|
|
|
1013
1291
|
statusId?: AXMAssessmentCaseStatus;
|
|
1014
1292
|
}
|
|
1015
1293
|
|
|
1016
|
-
/** Primitive type of the evaluated value (coercion after expression runs). */
|
|
1017
|
-
type QuestionnaireCalculationResultKind = 'number' | 'string' | 'boolean';
|
|
1018
|
-
interface AXMAssessmentManagementQuestionnaireCalculationEntityModel extends AXPEntityModel<string> {
|
|
1019
|
-
questionnaireId?: string;
|
|
1020
|
-
questionnaire?: {
|
|
1021
|
-
id?: string;
|
|
1022
|
-
title?: AXPMultiLanguageString;
|
|
1023
|
-
type?: string;
|
|
1024
|
-
};
|
|
1025
|
-
name?: string;
|
|
1026
|
-
title?: AXPMultiLanguageString;
|
|
1027
|
-
description?: AXPMultiLanguageString;
|
|
1028
|
-
resultKind?: QuestionnaireCalculationResultKind;
|
|
1029
|
-
/**
|
|
1030
|
-
* Use `{{ ... }}` or plain expression body; scope includes `answer.eval`, `outcome.eval` / `formula.eval`, and `fn.SUM`, `fn.AVERAGE`, etc.
|
|
1031
|
-
*/
|
|
1032
|
-
expression?: string;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* Placeholder values for post-questionnaire summary content.
|
|
1037
|
-
* Fixed keys plus any {{name}} from questionnaire calculation outcomes.
|
|
1038
|
-
*/
|
|
1039
|
-
interface SummaryPlaceholderValues {
|
|
1040
|
-
totalQuestions?: number;
|
|
1041
|
-
answeredCount?: number;
|
|
1042
|
-
/** Elapsed questionnaire time in whole seconds (e.g. from the viewer timer). */
|
|
1043
|
-
totalTimeSeconds?: number;
|
|
1044
|
-
/** Pre-formatted duration for {{totalTime}}. */
|
|
1045
|
-
totalTimeFormatted?: string;
|
|
1046
|
-
/** Computed calculation values (name -> value) for placeholders like {{bmi}}. */
|
|
1047
|
-
outcomes?: Record<string, unknown>;
|
|
1048
|
-
/** Display label per calculation `name` (entity title); used in the outcomes list UI. */
|
|
1049
|
-
outcomeTitles?: Record<string, string>;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/** Named values produced by questionnaire calculations (calculation `name` → evaluated value). */
|
|
1053
|
-
type QuestionnaireCalculationValues = Record<string, unknown>;
|
|
1054
|
-
interface AXMQuestionnaireViewerServiceConfig {
|
|
1055
|
-
/**
|
|
1056
|
-
* Dialog title
|
|
1057
|
-
*/
|
|
1058
|
-
title: string;
|
|
1059
|
-
/**
|
|
1060
|
-
* Questionnaire structure data
|
|
1061
|
-
*/
|
|
1062
|
-
structure: QuestionnaireBuilderValue;
|
|
1063
|
-
/**
|
|
1064
|
-
* Pre/post questionnaire config (welcome, review, summary)
|
|
1065
|
-
*/
|
|
1066
|
-
prePostConfig?: PrePostConfig | null;
|
|
1067
|
-
/**
|
|
1068
|
-
* Optional viewer configuration
|
|
1069
|
-
* If not provided, displaySettings from structure will be used
|
|
1070
|
-
*/
|
|
1071
|
-
config?: QuestionnaireViewerConfig;
|
|
1072
|
-
/**
|
|
1073
|
-
* Initial answers to pre-fill the questionnaire
|
|
1074
|
-
*/
|
|
1075
|
-
initialAnswers?: Record<string, any>;
|
|
1076
|
-
/**
|
|
1077
|
-
* Persisted questionnaire entity id — used to load and evaluate questionnaire calculations on submit.
|
|
1078
|
-
*/
|
|
1079
|
-
questionnaireId?: string;
|
|
1080
|
-
/**
|
|
1081
|
-
* When provided, called on submit. Should save and return result for summary.
|
|
1082
|
-
*/
|
|
1083
|
-
submitHandler?: (answers: Record<string, any>) => Promise<SummaryPlaceholderValues | null | void>;
|
|
1084
|
-
/**
|
|
1085
|
-
* When provided, called on save-and-continue (draft). Should persist without final validation.
|
|
1086
|
-
*/
|
|
1087
|
-
saveHandler?: (answers: Record<string, any>) => Promise<void>;
|
|
1088
|
-
/**
|
|
1089
|
-
* Assessment case/session ids for fill popup persistence (popup cannot receive function handlers).
|
|
1090
|
-
*/
|
|
1091
|
-
assessmentFillContext?: QuestionnaireAssessmentFillContext;
|
|
1092
|
-
}
|
|
1093
|
-
interface AXMQuestionnaireViewerServiceResult {
|
|
1094
|
-
/**
|
|
1095
|
-
* All answers from the questionnaire
|
|
1096
|
-
*/
|
|
1097
|
-
answers: Record<string, any>;
|
|
1098
|
-
/**
|
|
1099
|
-
* Questions with their corresponding answers
|
|
1100
|
-
*/
|
|
1101
|
-
questions: Array<{
|
|
1102
|
-
name: string;
|
|
1103
|
-
questionBankItemId: string;
|
|
1104
|
-
sectionName: string;
|
|
1105
|
-
title: string;
|
|
1106
|
-
note?: string;
|
|
1107
|
-
answer: any;
|
|
1108
|
-
isRequired?: boolean | string;
|
|
1109
|
-
}>;
|
|
1110
|
-
/**
|
|
1111
|
-
* Whether the dialog was submitted (true) or closed (false)
|
|
1112
|
-
*/
|
|
1113
|
-
submitted: boolean;
|
|
1114
|
-
/**
|
|
1115
|
-
* Draft saved via save-and-continue without final submit.
|
|
1116
|
-
*/
|
|
1117
|
-
saved?: boolean;
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* Opens the questionnaire viewer dialog and evaluates questionnaire calculations when a questionnaire id is provided.
|
|
1121
|
-
*/
|
|
1122
|
-
declare class AXMQuestionnaireViewerService {
|
|
1123
|
-
private readonly popupService;
|
|
1124
|
-
private readonly entityService;
|
|
1125
|
-
private readonly expressionEvaluator;
|
|
1126
|
-
protected readonly deviceService: AXPDeviceService;
|
|
1127
|
-
/**
|
|
1128
|
-
* Open questionnaire viewer in a dialog
|
|
1129
|
-
*/
|
|
1130
|
-
open(config: AXMQuestionnaireViewerServiceConfig): Promise<AXMQuestionnaireViewerServiceResult | null>;
|
|
1131
|
-
/**
|
|
1132
|
-
* Evaluate all questionnaire calculations for the given questionnaire and answers.
|
|
1133
|
-
* Pass `structure` so expressions can use `answer.byId`, `answer.byTag`, and `answer.allByTag`.
|
|
1134
|
-
*/
|
|
1135
|
-
/**
|
|
1136
|
-
* Resolves `isVisible` for a section or question: `false` hides; `true`/undefined shows;
|
|
1137
|
-
* non-empty string is evaluated with the same scope as questionnaire calculations (`answer.*`, `fn.*`, etc.).
|
|
1138
|
-
*/
|
|
1139
|
-
evaluateQuestionnaireVisibilityFlag(isVisible: boolean | string | undefined | null, answers: Record<string, unknown>, structure: QuestionnaireBuilderValue | null | undefined): Promise<boolean>;
|
|
1140
|
-
/**
|
|
1141
|
-
* Evaluates questionnaire calculations and returns values plus display titles from calculation entities.
|
|
1142
|
-
*/
|
|
1143
|
-
evaluateOutcomes(questionnaireId: string, answers: Record<string, unknown>, structure?: QuestionnaireBuilderValue | null): Promise<{
|
|
1144
|
-
values: QuestionnaireCalculationValues;
|
|
1145
|
-
outcomeTitles: Record<string, string>;
|
|
1146
|
-
}>;
|
|
1147
|
-
/**
|
|
1148
|
-
* Progress metrics and optional calculation results for summary / preview.
|
|
1149
|
-
*/
|
|
1150
|
-
buildSummaryPlaceholderValues(structure: QuestionnaireBuilderValue, answers: Record<string, any>, options?: {
|
|
1151
|
-
questionnaireId?: string;
|
|
1152
|
-
elapsedSeconds?: number;
|
|
1153
|
-
}): Promise<SummaryPlaceholderValues>;
|
|
1154
|
-
/**
|
|
1155
|
-
* Count answered questions using the same paths as the viewer session (item id or answers.itemId).
|
|
1156
|
-
*/
|
|
1157
|
-
calculateProgressFromStructure(structure: QuestionnaireBuilderValue, answers: Record<string, any>): {
|
|
1158
|
-
answeredQuestionsCount: number;
|
|
1159
|
-
progressPercentage: number;
|
|
1160
|
-
};
|
|
1161
|
-
private loadCalculationsForQuestionnaire;
|
|
1162
|
-
/**
|
|
1163
|
-
* Display label for a calculation: entity `title` when set, otherwise a humanized `name`.
|
|
1164
|
-
*/
|
|
1165
|
-
private resolveOutcomeDisplayTitle;
|
|
1166
|
-
private humanizeCalculationKey;
|
|
1167
|
-
private computeResult;
|
|
1168
|
-
/** Non-empty trimmed `expression`, or empty string if missing. */
|
|
1169
|
-
private calculationExpressionText;
|
|
1170
|
-
private inferResultKind;
|
|
1171
|
-
private coerceOutcome;
|
|
1172
|
-
private evaluateOutcomeExpression;
|
|
1173
|
-
/**
|
|
1174
|
-
* Resolves an answer the same way as the viewer session (`key` or `answers.key`).
|
|
1175
|
-
*/
|
|
1176
|
-
private resolveStoredAnswer;
|
|
1177
|
-
/** Sections and items ordered by `order` for deterministic `byTag` matching. */
|
|
1178
|
-
private flattenQuestionnaireItems;
|
|
1179
|
-
private normalizeQuestionnaireTag;
|
|
1180
|
-
/**
|
|
1181
|
-
* Scope: answer.eval (path), answer.byId / byTag / allByTag, formula.eval / outcome.eval, fn.* helpers.
|
|
1182
|
-
*/
|
|
1183
|
-
private buildExpressionScope;
|
|
1184
|
-
private expressionOutcomeRefs;
|
|
1185
|
-
private topologicalSort;
|
|
1186
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMQuestionnaireViewerService, never>;
|
|
1187
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMQuestionnaireViewerService>;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
1294
|
interface QuestionWithAnswer {
|
|
1191
1295
|
name: string;
|
|
1192
1296
|
title: string;
|
|
@@ -1216,6 +1320,7 @@ declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseCompo
|
|
|
1216
1320
|
protected readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
1217
1321
|
protected readonly loadError: _angular_core.WritableSignal<string | null>;
|
|
1218
1322
|
protected readonly currentSessionId: _angular_core.WritableSignal<string | null>;
|
|
1323
|
+
protected readonly existingSession: _angular_core.WritableSignal<AXMAssessmentManagementAssessmentSessionEntityModel | null>;
|
|
1219
1324
|
protected readonly flowStep: _angular_core.WritableSignal<FlowStep$1>;
|
|
1220
1325
|
protected readonly reviewSnapshot: _angular_core.WritableSignal<QuestionWithAnswer[]>;
|
|
1221
1326
|
protected readonly reviewContext: _angular_core.WritableSignal<Record<string, any> | null>;
|
|
@@ -1243,6 +1348,7 @@ declare class AXMQuestionnaireViewerPageComponent extends AXPPageLayoutBaseCompo
|
|
|
1243
1348
|
sectionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
1244
1349
|
questionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
1245
1350
|
viewMode: _angular_core.Signal<QuestionnaireViewMode>;
|
|
1351
|
+
isReadonly: _angular_core.Signal<boolean>;
|
|
1246
1352
|
sections: _angular_core.Signal<QuestionnaireViewerSection[]>;
|
|
1247
1353
|
sectionIndicesWithVisibleContent: _angular_core.Signal<number[]>;
|
|
1248
1354
|
currentSection: _angular_core.Signal<QuestionnaireViewerSection | null>;
|
|
@@ -1379,6 +1485,8 @@ declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
|
1379
1485
|
protected readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
1380
1486
|
protected readonly loadError: _angular_core.WritableSignal<string | null>;
|
|
1381
1487
|
protected readonly isSubmitting: _angular_core.WritableSignal<boolean>;
|
|
1488
|
+
protected readonly sessionId: _angular_core.WritableSignal<string | null>;
|
|
1489
|
+
protected readonly existingSession: _angular_core.WritableSignal<AXMAssessmentManagementAssessmentSessionEntityModel | null>;
|
|
1382
1490
|
protected readonly flowStep: _angular_core.WritableSignal<FlowStep>;
|
|
1383
1491
|
protected readonly reviewSnapshot: _angular_core.WritableSignal<QuestionWithAnswer[]>;
|
|
1384
1492
|
protected readonly reviewContext: _angular_core.WritableSignal<Record<string, any> | null>;
|
|
@@ -1405,6 +1513,7 @@ declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
|
1405
1513
|
sectionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
1406
1514
|
questionVisibilityById: _angular_core.Signal<Record<string, boolean>>;
|
|
1407
1515
|
viewMode: _angular_core.Signal<QuestionnaireViewMode>;
|
|
1516
|
+
isReadonly: _angular_core.Signal<boolean>;
|
|
1408
1517
|
sections: _angular_core.Signal<QuestionnaireViewerSection[]>;
|
|
1409
1518
|
sectionIndicesWithVisibleContent: _angular_core.Signal<number[]>;
|
|
1410
1519
|
currentSection: _angular_core.Signal<QuestionnaireViewerSection | null>;
|
|
@@ -1519,5 +1628,5 @@ declare class AXMQuestionnaireViewerStandalonePageComponent implements OnInit {
|
|
|
1519
1628
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMQuestionnaireViewerStandalonePageComponent, "axm-questionnaire-viewer-standalone-page", never, {}, {}, never, never, true, never>;
|
|
1520
1629
|
}
|
|
1521
1630
|
|
|
1522
|
-
export { AXMAssessmentManagementEntityProvider, AXMAssessmentManagementFeatureDefinitionProvider, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementMenuProvider, AXMAssessmentManagementModule, AXMAssessmentManagementPermissionDefinitionProvider, AXMAssessmentManagementPermissionKeys, AXMAssessmentManagementSearchCommandProvider, AXMQuestionnaireViewerPageComponent, AXMQuestionnaireViewerService, AXMQuestionnaireViewerStandalonePageComponent, AXPAssessmentManagementMenuKeys, DEFAULT_POST_QUESTIONNAIRE_CONFIG, DEFAULT_PRE_QUESTIONNAIRE_CONFIG, DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY, DEFAULT_QUESTION_COMMENT_CONFIG, DEFAULT_QUESTION_HINT_CONFIG, RootConfig, diffQuestionCommentOverride, diffQuestionHintOverride, getQuestionAnswerCommentStoragePath, mergeQuestionCommentConfig, mergeQuestionHintForViewer, normalizeCompletionMode, normalizeQuestionCommentConfig, normalizeQuestionHintConfig, normalizeQuestionHintFromEntityRow, normalizeQuestionHintMode, normalizeValidationStrategy, normalizeViewMode, parseQuestionHintPartialFromRecord, readHintFieldsFromRecord, resolveWidgetNodeFromMetaDataDefinitionInterface, stripQuestionBankInterfaceMetadata, toDisplaySettings, toPrePostConfig };
|
|
1523
|
-
export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel,
|
|
1631
|
+
export { AXMAssessmentManagementEntityProvider, AXMAssessmentManagementFeatureDefinitionProvider, AXMAssessmentManagementFeatureKeys, AXMAssessmentManagementMenuProvider, AXMAssessmentManagementModule, AXMAssessmentManagementPermissionDefinitionProvider, AXMAssessmentManagementPermissionKeys, AXMAssessmentManagementSearchCommandProvider, AXMQuestionnaireViewerPageComponent, AXMQuestionnaireViewerService, AXMQuestionnaireViewerStandalonePageComponent, AXPAssessmentManagementMenuKeys, DEFAULT_POST_QUESTIONNAIRE_CONFIG, DEFAULT_PRE_QUESTIONNAIRE_CONFIG, DEFAULT_QUESTIONNAIRE_ENTITY_DISPLAY, DEFAULT_QUESTIONNAIRE_OUTCOMES, DEFAULT_QUESTION_COMMENT_CONFIG, DEFAULT_QUESTION_HINT_CONFIG, RootConfig, diffQuestionCommentOverride, diffQuestionHintOverride, findDuplicateOutcomeNames, flattenQuestionnaireOutcomeItems, getQuestionAnswerCommentStoragePath, isQuestionnaireOutcomeDisplayColorHex, matchesQuestionnaireOutcomeDisplayRule, mergeQuestionCommentConfig, mergeQuestionHintForViewer, normalizeCompletionMode, normalizeQuestionCommentConfig, normalizeQuestionHintConfig, normalizeQuestionHintFromEntityRow, normalizeQuestionHintMode, normalizeQuestionnaireOutcomeDisplayRules, normalizeQuestionnaireOutcomesValue, normalizeValidationStrategy, normalizeViewMode, parseQuestionHintPartialFromRecord, parseQuestionnaireOutcomeDisplayColor, readHintFieldsFromRecord, resolveWidgetNodeFromMetaDataDefinitionInterface, stripQuestionBankInterfaceMetadata, toDisplaySettings, toPrePostConfig };
|
|
1632
|
+
export type { AXMAssessmentCaseStatus, AXMAssessmentManagementAssessmentCaseEntityModel, AXMAssessmentManagementAssessmentSessionEntityModel, AXMAssessmentManagementQuestionBankItemEntityModel, AXMAssessmentManagementQuestionnaireEntityModel, AXMAssessmentQuestionCommentConfig, AXMAssessmentQuestionHintConfig, AXMAssessmentQuestionHintConfigOff, AXMAssessmentQuestionHintConfigShown, AXMAssessmentQuestionHintMode, AXMAssessmentQuestionHintPartial, AXMAssessmentQuestionHintVisualMode, AXMAssessmentSessionRole, AXMAssessmentSessionStatus, AXMQuestionBankItemInterfaceMetadata, AXMQuestionBankItemInterfaceValue, AXMQuestionnaireViewerServiceConfig, AXMQuestionnaireViewerServiceResult, PostQuestionnaireConfig, PrePostConfig, PrePostContentValue, PreQuestionnaireConfig, QuestionnaireCompletionMode, QuestionnaireEntityDisplaySettings, QuestionnaireOutcomeDisplayColor, QuestionnaireOutcomeDisplayEmphasis, QuestionnaireOutcomeDisplayIcon, QuestionnaireOutcomeDisplayOperator, QuestionnaireOutcomeDisplayRule, QuestionnaireOutcomeItem, QuestionnaireOutcomeResultKind, QuestionnaireOutcomeSection, QuestionnaireOutcomeValues, QuestionnaireOutcomesValue };
|