@acorex/modules 21.0.0-next.44 → 21.0.0-next.46
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-agent.entity-D6-0_Ms3.mjs → acorex-modules-ai-management-agent.entity-Bnt9zkci.mjs} +15 -1
- package/fesm2022/acorex-modules-ai-management-agent.entity-Bnt9zkci.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management.mjs +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-c8OrTwDw.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-BD5oxehv.mjs} +59 -75
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BD5oxehv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DEsJE7x3.mjs → acorex-modules-assessment-management-assessment-case.entity-BWj2PB39.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DEsJE7x3.mjs.map → acorex-modules-assessment-management-assessment-case.entity-BWj2PB39.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-eNFfu-Jq.mjs → acorex-modules-assessment-management-assessment-session.entity-BQnYnNOz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-eNFfu-Jq.mjs.map → acorex-modules-assessment-management-assessment-session.entity-BQnYnNOz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BeSUBkI9.mjs → acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BeSUBkI9.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-index-3GB9Xkyv.mjs → acorex-modules-assessment-management-index-BXw0Lf5c.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-index-3GB9Xkyv.mjs.map → acorex-modules-assessment-management-index-BXw0Lf5c.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-QinKZtTz.mjs → acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-QinKZtTz.mjs.map → acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CKZYSyOv.mjs → acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CKZYSyOv.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-qZXANgNr.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BbkWs23A.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-qZXANgNr.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BbkWs23A.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-Dp4eYR3O.mjs → acorex-modules-assessment-management-question-bank-item.entity-X8s42nZH.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-Dp4eYR3O.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-X8s42nZH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-BMB9IEIv.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-d8HUAvWp.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-BMB9IEIv.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-d8HUAvWp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DgC1xuH9.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-YUDOSypz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DgC1xuH9.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-YUDOSypz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-ChUNq9Bc.mjs → acorex-modules-assessment-management-questionnaire.entity-q3Z4VIiA.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-ChUNq9Bc.mjs.map → acorex-modules-assessment-management-questionnaire.entity-q3Z4VIiA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-sji05ut4.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-sji05ut4.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BIpotfIE.mjs → acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BIpotfIE.mjs.map → acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-fQ0rp8vu.mjs → acorex-modules-asset-management-acorex-modules-asset-management-B1mg2dIR.mjs} +8 -19
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-B1mg2dIR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-DuFgujR6.mjs → acorex-modules-asset-management-asset-system-assignment.entity-lL1FBlzA.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-DuFgujR6.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-lL1FBlzA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-sszGMFny.mjs → acorex-modules-asset-management-asset-system-type.entity-DFHVqE7a.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-sszGMFny.mjs.map → acorex-modules-asset-management-asset-system-type.entity-DFHVqE7a.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-tWUPNYQq.mjs → acorex-modules-asset-management-asset-system.entity-DlpOp7Xj.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-tWUPNYQq.mjs.map → acorex-modules-asset-management-asset-system.entity-DlpOp7Xj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-l3xXMo2l.mjs → acorex-modules-asset-management-asset-type-section-component.entity-CIkXc51V.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-l3xXMo2l.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-CIkXc51V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-CldvQBUW.mjs → acorex-modules-asset-management-asset-type-section.entity-Ctxh5hGa.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-CldvQBUW.mjs.map → acorex-modules-asset-management-asset-type-section.entity-Ctxh5hGa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-CP0dryvp.mjs → acorex-modules-asset-management-asset-type.entity-CN6K0Uw3.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-CP0dryvp.mjs.map → acorex-modules-asset-management-asset-type.entity-CN6K0Uw3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset.entity-Du_fWe9V.mjs → acorex-modules-asset-management-asset.entity-2XZut6JS.mjs} +6 -5
- package/fesm2022/acorex-modules-asset-management-asset.entity-2XZut6JS.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +399 -399
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-BJU2_R9O.mjs → acorex-modules-conversation-acorex-modules-conversation-Dm9D7la2.mjs} +478 -316
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-Dm9D7la2.mjs.map +1 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DnKfkEg1.mjs +287 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DnKfkEg1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Bg6m7UTG.mjs → acorex-modules-conversation-comments-page.component-JPIzhBys.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Bg6m7UTG.mjs.map → acorex-modules-conversation-comments-page.component-JPIzhBys.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +8 -5
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-B37ZqEql.mjs} +301 -22
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-B37ZqEql.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs → acorex-modules-human-capital-management-approve-leave-request.command-Bf8iPUE-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-Bf8iPUE-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-DqX9OAq4.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-DqX9OAq4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-DQG0Al0X.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-DQG0Al0X.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management-employee-lifecycle-process.entity-DSsgKG8S.mjs +225 -0
- package/fesm2022/acorex-modules-human-capital-management-employee-lifecycle-process.entity-DSsgKG8S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs → acorex-modules-human-capital-management-employee.entity-C8PaZEDs.mjs} +38 -2
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-C8PaZEDs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs → acorex-modules-human-capital-management-employment-type.entity-DhqHdESk.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs.map → acorex-modules-human-capital-management-employment-type.entity-DhqHdESk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs → acorex-modules-human-capital-management-leave-request.entity-CPdV6kiR.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs.map → acorex-modules-human-capital-management-leave-request.entity-CPdV6kiR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs → acorex-modules-human-capital-management-leave-type.entity-D3iarVMG.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs.map → acorex-modules-human-capital-management-leave-type.entity-D3iarVMG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-EazvPSR6.mjs +175 -0
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-EazvPSR6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs → acorex-modules-human-capital-management-position-assignment.entity-mROyAoz-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-mROyAoz-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs → acorex-modules-human-capital-management-reject-leave-request.command-Bq7OtST6.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-Bq7OtST6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-BpklMLve.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-BpklMLve.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs → acorex-modules-maintenance-management-acorex-modules-maintenance-management-coPYjl8-.mjs} +321 -151
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-coPYjl8-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs → acorex-modules-maintenance-management-failure-effect.entity-BdnnavfB.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-BdnnavfB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-tlcqWco6.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-tlcqWco6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-DivWl32L.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-DivWl32L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-9FiLeySZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-9FiLeySZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-3cq1KeYM.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-3cq1KeYM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-CaVb6rDn.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-CaVb6rDn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-C2UKW63M.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-C2UKW63M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs → acorex-modules-maintenance-management-failure-register.entity-KghFLCIJ.mjs} +16 -3
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-KghFLCIJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs → acorex-modules-maintenance-management-failure-severity.entity-BebswR7S.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-BebswR7S.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs → acorex-modules-maintenance-management-maintenance-template.entity-1V4swUZ4.mjs} +191 -35
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-1V4swUZ4.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-3hlrAtIr.mjs +154 -0
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-3hlrAtIr.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management.mjs +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-B-NoGoOJ.mjs → acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs} +4 -6
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-B-NoGoOJ.mjs.map → acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs.map} +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +36 -19
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-DDUq9FpA.mjs → acorex-modules-task-management-acorex-modules-task-management-BIEMYKVF.mjs} +63 -6
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-BIEMYKVF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-C6j-_aSD.mjs → acorex-modules-task-management-task-board.page-CkVHYIl5.mjs} +2 -2
- package/fesm2022/{acorex-modules-task-management-task-board.page-C6j-_aSD.mjs.map → acorex-modules-task-management-task-board.page-CkVHYIl5.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +252 -57
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +2 -0
- package/types/acorex-modules-common.d.ts +14 -14
- package/types/acorex-modules-conversation.d.ts +25 -39
- package/types/acorex-modules-human-capital-management.d.ts +100 -2
- package/types/acorex-modules-maintenance-management.d.ts +6 -6
- package/types/acorex-modules-report-management.d.ts +8 -0
- package/types/acorex-modules-task-management.d.ts +26 -1
- package/types/acorex-modules-workflow-management.d.ts +51 -4
- package/fesm2022/acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-c8OrTwDw.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-fQ0rp8vu.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-Du_fWe9V.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-BJU2_R9O.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DX2JPckF.mjs +0 -324
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DX2JPckF.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-DTKNtyBF.mjs +0 -54
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-DTKNtyBF.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-DDUq9FpA.mjs.map +0 -1
|
@@ -84,6 +84,17 @@ async function agentFactory() {
|
|
|
84
84
|
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 4 } } },
|
|
85
85
|
description: '@ai-management:agents.entities.agent.fields.description.description',
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
name: 'isAssist',
|
|
89
|
+
title: '@ai-management:agents.entities.agent.fields.is-assist.title',
|
|
90
|
+
description: '@ai-management:agents.entities.agent.fields.is-assist.description',
|
|
91
|
+
groupId: 'basic-info',
|
|
92
|
+
schema: {
|
|
93
|
+
dataType: 'boolean',
|
|
94
|
+
defaultValue: false,
|
|
95
|
+
interface: { type: AXPWidgetsList.Editors.ToggleSwitch },
|
|
96
|
+
},
|
|
97
|
+
},
|
|
87
98
|
{
|
|
88
99
|
name: 'toolIds',
|
|
89
100
|
title: '@ai-management:agents.entities.agent.fields.command-registry.title',
|
|
@@ -186,6 +197,7 @@ async function agentFactory() {
|
|
|
186
197
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
187
198
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
188
199
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
200
|
+
{ name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
189
201
|
{ name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
190
202
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
191
203
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
@@ -205,6 +217,7 @@ async function agentFactory() {
|
|
|
205
217
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
206
218
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
207
219
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
220
|
+
{ name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
208
221
|
{ name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
209
222
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
210
223
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
@@ -225,6 +238,7 @@ async function agentFactory() {
|
|
|
225
238
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
226
239
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
227
240
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
241
|
+
{ name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
228
242
|
{ name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },
|
|
229
243
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },
|
|
230
244
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } }, },
|
|
@@ -245,4 +259,4 @@ async function agentFactory() {
|
|
|
245
259
|
//#endregion
|
|
246
260
|
|
|
247
261
|
export { agentFactory };
|
|
248
|
-
//# sourceMappingURL=acorex-modules-ai-management-agent.entity-
|
|
262
|
+
//# sourceMappingURL=acorex-modules-ai-management-agent.entity-Bnt9zkci.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-ai-management-agent.entity-Bnt9zkci.mjs","sources":["../../../../libs/modules/ai-management/src/lib/entities/agent/agent.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { RootConfig } from '../../const';\nimport { AI_MODEL_CATALOG_DATASOURCE_NAME } from '../../features/datasources/ai-model-catalog.datasource';\n\n//#endregion\n\n//#region ---- Repeater children (registry command / query) ----\n\nconst AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'command',\n name: 'command',\n options: {\n registryKind: 'command',\n label: '@ai-management:agents.entities.agent.fields.command-registry.item-label',\n },\n },\n];\n\nconst AGENT_QUERY_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'query',\n name: 'query',\n options: {\n registryKind: 'query',\n label: '@ai-management:agents.entities.agent.fields.query-registry.item-label',\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity ----\n\nexport async function agentFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.agent.name,\n title: RootConfig.entities.agent.title,\n icon: RootConfig.entities.agent.icon,\n formats: {\n individual: RootConfig.entities.agent.title,\n plural: RootConfig.entities.agent.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n relatedEntities: [],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'registry-commands', title: '@ai-management:agents.entities.agent.groups.registry-commands' },\n { id: 'registry-queries', title: '@ai-management:agents.entities.agent.groups.registry-queries' },\n { id: 'access', title: '@ai-management:agents.entities.agent.groups.access' },\n { id: 'prompt-behaviour', title: '@ai-management:agents.entities.agent.groups.prompt-behaviour' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 4 } } },\n description: '@ai-management:agents.entities.agent.fields.description.description',\n },\n {\n name: 'isAssist',\n title: '@ai-management:agents.entities.agent.fields.is-assist.title',\n description: '@ai-management:agents.entities.agent.fields.is-assist.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch },\n },\n },\n {\n name: 'toolIds',\n title: '@ai-management:agents.entities.agent.fields.command-registry.title',\n description: '@ai-management:agents.entities.agent.fields.command-registry.description',\n groupId: 'registry-commands',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'queryIds',\n title: '@ai-management:agents.entities.agent.fields.query-registry.title',\n description: '@ai-management:agents.entities.agent.fields.query-registry.description',\n groupId: 'registry-queries',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_QUERY_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'modelEntityId',\n title: '@ai-management:agents.entities.agent.fields.model-entity.title',\n description: '@ai-management:agents.entities.agent.fields.model-entity.description',\n groupId: 'access',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.model.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.model-entity.placeholder',\n expose: [\n { source: 'id', target: 'aiModel.id' },\n { source: 'title', target: 'aiModel.title' },\n { source: 'name', target: 'aiModel.name' },\n ],\n },\n },\n },\n },\n {\n name: 'maxSteps',\n title: '@ai-management:agents.entities.agent.fields.max-steps.title',\n description: '@ai-management:agents.entities.agent.fields.max-steps.description',\n groupId: 'access',\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1, maxValue: 50 },\n },\n },\n },\n {\n name: 'systemPrompt',\n title: '@ai-management:assists.entities.assist.fields.system-prompt.title',\n groupId: 'prompt-behaviour',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 8 } },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'description', title: '@general:terms.common.description', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'isAssist', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'toolIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } }, },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AASA;AAEA;AAEA,MAAM,wCAAwC,GAAG;AAC/C,IAAA;AACE,QAAA,IAAI,EAAE,kCAAkC;AACxC,QAAA,IAAI,EAAE,MAAe;AACrB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,OAAO,EAAE;AACP,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,KAAK,EAAE,yEAAyE;AACjF,SAAA;AACF,KAAA;CACF;AAED,MAAM,sCAAsC,GAAG;AAC7C,IAAA;AACE,QAAA,IAAI,EAAE,kCAAkC;AACxC,QAAA,IAAI,EAAE,MAAe;AACrB,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,YAAY,EAAE,OAAO;AACrB,YAAA,KAAK,EAAE,uEAAuE;AAC/E,SAAA;AACF,KAAA;CACF;AAED;AAEA;AAEO,eAAe,YAAY,GAAA;AAChC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI;AACpC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK;AACtC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,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MAiManagementEntityProvider {
|
|
|
115
115
|
case RootConfig.entities.assist.name:
|
|
116
116
|
return (await import('./acorex-modules-ai-management-assist.entity-DfW-FFCt.mjs')).assistFactory();
|
|
117
117
|
case RootConfig.entities.agent.name:
|
|
118
|
-
return (await import('./acorex-modules-ai-management-agent.entity-
|
|
118
|
+
return (await import('./acorex-modules-ai-management-agent.entity-Bnt9zkci.mjs')).agentFactory();
|
|
119
119
|
case RootConfig.entities.openAiEndpoint.name:
|
|
120
120
|
return (await import('./acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs')).openAiEndpointFactory();
|
|
121
121
|
default:
|
|
@@ -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-X8s42nZH.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-q3Z4VIiA.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-BWj2PB39.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-BQnYnNOz.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-d8HUAvWp.mjs')).factory(this.injector);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
return null;
|
|
@@ -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-BbkWs23A.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-BbkWs23A.mjs').then((c) => c.AXMQuestionBankInterfaceEditorWidgetEditComponent),
|
|
484
484
|
},
|
|
485
485
|
column: {
|
|
486
486
|
component: () => import('@acorex/platform/layout/widgets').then((m) => m.AXPWidgetFieldConfiguratorWidgetColumnComponent),
|
|
@@ -1103,6 +1103,30 @@ function resolveQuestionBankItemPlainLabel(details, locale) {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
//#endregion
|
|
1105
1105
|
|
|
1106
|
+
//#region ---- Answer emptiness ----
|
|
1107
|
+
/**
|
|
1108
|
+
* Returns whether a questionnaire widget answer is considered empty for progress, badges, and validation.
|
|
1109
|
+
*
|
|
1110
|
+
* **Dates:** `Date` values are `object` with no enumerable own keys; they must not be treated like `{}`.
|
|
1111
|
+
* Invalid dates (`NaN` time) are treated as empty.
|
|
1112
|
+
*/
|
|
1113
|
+
function isQuestionnaireAnswerValueEmpty(value) {
|
|
1114
|
+
if (value === null || value === undefined || value === '') {
|
|
1115
|
+
return true;
|
|
1116
|
+
}
|
|
1117
|
+
if (Array.isArray(value)) {
|
|
1118
|
+
return value.length === 0;
|
|
1119
|
+
}
|
|
1120
|
+
if (value instanceof Date) {
|
|
1121
|
+
return Number.isNaN(value.getTime());
|
|
1122
|
+
}
|
|
1123
|
+
if (typeof value === 'object') {
|
|
1124
|
+
return Object.keys(value).length === 0;
|
|
1125
|
+
}
|
|
1126
|
+
return false;
|
|
1127
|
+
}
|
|
1128
|
+
//#endregion
|
|
1129
|
+
|
|
1106
1130
|
//#region ---- Imports ----
|
|
1107
1131
|
//#endregion
|
|
1108
1132
|
//#region ---- Service ----
|
|
@@ -1123,7 +1147,7 @@ class AXMQuestionnaireViewerService {
|
|
|
1123
1147
|
* Open questionnaire viewer in a dialog
|
|
1124
1148
|
*/
|
|
1125
1149
|
async open(config) {
|
|
1126
|
-
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-
|
|
1150
|
+
const { AXMQuestionnaireViewerPopupComponent } = await import('./acorex-modules-assessment-management-questionnaire-viewer-popup.component-YUDOSypz.mjs');
|
|
1127
1151
|
const structure = config.structure;
|
|
1128
1152
|
const submitHandler = config.submitHandler ??
|
|
1129
1153
|
((answers) => this.buildSummaryPlaceholderValues(structure, answers, { questionnaireId: config.questionnaireId }));
|
|
@@ -1235,11 +1259,7 @@ class AXMQuestionnaireViewerService {
|
|
|
1235
1259
|
total++;
|
|
1236
1260
|
const key = getQuestionnaireItemAnswerKey(item);
|
|
1237
1261
|
const value = key ? this.resolveStoredAnswer(answers, key) : null;
|
|
1238
|
-
const isEmpty = value
|
|
1239
|
-
value === undefined ||
|
|
1240
|
-
value === '' ||
|
|
1241
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
1242
|
-
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
1262
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
1243
1263
|
if (!isEmpty)
|
|
1244
1264
|
answered++;
|
|
1245
1265
|
}
|
|
@@ -1758,11 +1778,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1758
1778
|
if (!widgetPath)
|
|
1759
1779
|
continue;
|
|
1760
1780
|
const value = get(contextData, widgetPath);
|
|
1761
|
-
const isEmpty = value
|
|
1762
|
-
value === undefined ||
|
|
1763
|
-
value === '' ||
|
|
1764
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
1765
|
-
(typeof value === 'object' && Object.keys(value).length === 0);
|
|
1781
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
1766
1782
|
if (!isEmpty) {
|
|
1767
1783
|
answeredCount++;
|
|
1768
1784
|
}
|
|
@@ -1818,11 +1834,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
1818
1834
|
if (!widgetPath)
|
|
1819
1835
|
continue;
|
|
1820
1836
|
const value = get(contextData, widgetPath);
|
|
1821
|
-
const isEmpty = value
|
|
1822
|
-
value === undefined ||
|
|
1823
|
-
value === '' ||
|
|
1824
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
1825
|
-
(typeof value === 'object' && Object.keys(value).length === 0);
|
|
1837
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
1826
1838
|
if (!isEmpty) {
|
|
1827
1839
|
answeredCount++;
|
|
1828
1840
|
}
|
|
@@ -2147,11 +2159,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2147
2159
|
if (!widgetPath)
|
|
2148
2160
|
continue;
|
|
2149
2161
|
const value = get(contextData, widgetPath);
|
|
2150
|
-
const isEmpty = value
|
|
2151
|
-
value === undefined ||
|
|
2152
|
-
value === '' ||
|
|
2153
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
2154
|
-
(typeof value === 'object' && Object.keys(value).length === 0);
|
|
2162
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
2155
2163
|
if (isEmpty) {
|
|
2156
2164
|
return false;
|
|
2157
2165
|
}
|
|
@@ -2584,11 +2592,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2584
2592
|
if (widgetPath) {
|
|
2585
2593
|
const value = get(contextData, widgetPath);
|
|
2586
2594
|
if (isQuestionnaireItemStaticallyRequired(question.isRequired)) {
|
|
2587
|
-
const isEmpty = value
|
|
2588
|
-
value === undefined ||
|
|
2589
|
-
value === '' ||
|
|
2590
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
2591
|
-
(typeof value === 'object' && Object.keys(value).length === 0);
|
|
2595
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
2592
2596
|
if (isEmpty) {
|
|
2593
2597
|
return 'This field is required.';
|
|
2594
2598
|
}
|
|
@@ -2644,11 +2648,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2644
2648
|
if (widgetPath) {
|
|
2645
2649
|
const value = get(contextData, widgetPath);
|
|
2646
2650
|
if (isQuestionnaireItemStaticallyRequired(question.isRequired)) {
|
|
2647
|
-
const isEmpty = value
|
|
2648
|
-
value === undefined ||
|
|
2649
|
-
value === '' ||
|
|
2650
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
2651
|
-
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
2651
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
2652
2652
|
if (isEmpty) {
|
|
2653
2653
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2654
2654
|
const errorMessage = (await translationService.translateAsync('@acorex:validation.messages.required')) ||
|
|
@@ -2739,11 +2739,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2739
2739
|
if (widgetPath) {
|
|
2740
2740
|
const value = get(contextData, widgetPath);
|
|
2741
2741
|
if (isQuestionnaireItemStaticallyRequired(question.isRequired)) {
|
|
2742
|
-
const isEmpty = value
|
|
2743
|
-
value === undefined ||
|
|
2744
|
-
value === '' ||
|
|
2745
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
2746
|
-
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
2742
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
2747
2743
|
if (isEmpty) {
|
|
2748
2744
|
const questionTitle = resolveQuestionBankItemPlainLabel(question.question, locale);
|
|
2749
2745
|
const errorMessage = (await translationService.translateAsync('@acorex:validation.messages.required')) ||
|
|
@@ -2947,11 +2943,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
2947
2943
|
if (widgetPath) {
|
|
2948
2944
|
const value = get(contextData, widgetPath);
|
|
2949
2945
|
if (isQuestionnaireItemStaticallyRequired(question.isRequired)) {
|
|
2950
|
-
const isEmpty = value
|
|
2951
|
-
value === undefined ||
|
|
2952
|
-
value === '' ||
|
|
2953
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
2954
|
-
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
2946
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
2955
2947
|
if (isEmpty) {
|
|
2956
2948
|
return false;
|
|
2957
2949
|
}
|
|
@@ -3137,11 +3129,7 @@ const AXMQuestionnaireViewerViewModel = signalStore(withState(() => ({
|
|
|
3137
3129
|
if (!widgetPath)
|
|
3138
3130
|
continue;
|
|
3139
3131
|
const value = get(contextData, widgetPath);
|
|
3140
|
-
const isEmpty = value
|
|
3141
|
-
value === undefined ||
|
|
3142
|
-
value === '' ||
|
|
3143
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
3144
|
-
(typeof value === 'object' && Object.keys(value).length === 0);
|
|
3132
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
3145
3133
|
if (isEmpty) {
|
|
3146
3134
|
unansweredCount++;
|
|
3147
3135
|
}
|
|
@@ -3274,11 +3262,7 @@ class AXMQuestionnaireViewerQuestionComponent {
|
|
|
3274
3262
|
try {
|
|
3275
3263
|
const widgetPath = question.question.interface.path;
|
|
3276
3264
|
const value = get(data, widgetPath);
|
|
3277
|
-
const isEmpty = value
|
|
3278
|
-
value === undefined ||
|
|
3279
|
-
value === '' ||
|
|
3280
|
-
(Array.isArray(value) && value.length === 0) ||
|
|
3281
|
-
(typeof value === 'object' && value !== null && Object.keys(value).length === 0);
|
|
3265
|
+
const isEmpty = isQuestionnaireAnswerValueEmpty(value);
|
|
3282
3266
|
return !isEmpty;
|
|
3283
3267
|
}
|
|
3284
3268
|
catch (error) {
|
|
@@ -4903,27 +4887,27 @@ class AXMQuestionnaireViewerFeatureModule {
|
|
|
4903
4887
|
provideCommandSetups([
|
|
4904
4888
|
{
|
|
4905
4889
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
4906
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
4890
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs').then((c) => c.PreviewQuestionnaireCommand),
|
|
4907
4891
|
},
|
|
4908
4892
|
{
|
|
4909
4893
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
4910
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4894
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4911
4895
|
},
|
|
4912
4896
|
{
|
|
4913
4897
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
4914
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4898
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4915
4899
|
},
|
|
4916
4900
|
{
|
|
4917
4901
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
4918
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
4902
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
4919
4903
|
},
|
|
4920
4904
|
{
|
|
4921
4905
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
4922
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4906
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4923
4907
|
},
|
|
4924
4908
|
{
|
|
4925
4909
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
4926
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4910
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4927
4911
|
},
|
|
4928
4912
|
]),
|
|
4929
4913
|
], imports: [AXPWidgetCoreModule,
|
|
@@ -4950,27 +4934,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
4950
4934
|
provideCommandSetups([
|
|
4951
4935
|
{
|
|
4952
4936
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:Preview`,
|
|
4953
|
-
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-
|
|
4937
|
+
command: () => import('./acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs').then((c) => c.PreviewQuestionnaireCommand),
|
|
4954
4938
|
},
|
|
4955
4939
|
{
|
|
4956
4940
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionnaire.name}:PreviewQuestion`,
|
|
4957
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4941
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4958
4942
|
},
|
|
4959
4943
|
{
|
|
4960
4944
|
key: `${RootConfig.module.name}.${RootConfig.entities.questionBankItem.name}:Preview`,
|
|
4961
|
-
command: () => import('./acorex-modules-assessment-management-preview-question.command-
|
|
4945
|
+
command: () => import('./acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs').then((c) => c.PreviewQuestionCommand),
|
|
4962
4946
|
},
|
|
4963
4947
|
{
|
|
4964
4948
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:ViewAnswers`,
|
|
4965
|
-
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-
|
|
4949
|
+
command: () => import('./acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs').then((c) => c.ViewSessionAnswersCommand),
|
|
4966
4950
|
},
|
|
4967
4951
|
{
|
|
4968
4952
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentSession.name}:Fill`,
|
|
4969
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4953
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4970
4954
|
},
|
|
4971
4955
|
{
|
|
4972
4956
|
key: `${RootConfig.module.name}.${RootConfig.entities.assessmentCase.name}:Fill`,
|
|
4973
|
-
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-
|
|
4957
|
+
command: () => import('./acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs').then((c) => c.FillAssessmentSessionCommand),
|
|
4974
4958
|
},
|
|
4975
4959
|
]),
|
|
4976
4960
|
],
|
|
@@ -5023,8 +5007,8 @@ class AXMAssessmentManagementModule {
|
|
|
5023
5007
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMAssessmentManagementPermissionDefinitionProvider)),
|
|
5024
5008
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMAssessmentManagementMenuProvider)),
|
|
5025
5009
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMAssessmentManagementEntityProvider)),
|
|
5026
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-
|
|
5027
|
-
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-
|
|
5010
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-BXw0Lf5c.mjs').then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
5011
|
+
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs').then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
5028
5012
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
5029
5013
|
], imports: [AXMQuestionnaireBuilderFeatureModule,
|
|
5030
5014
|
AXMQuestionnaireViewerFeatureModule] }); }
|
|
@@ -5056,8 +5040,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5056
5040
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMAssessmentManagementPermissionDefinitionProvider)),
|
|
5057
5041
|
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMAssessmentManagementMenuProvider)),
|
|
5058
5042
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMAssessmentManagementEntityProvider)),
|
|
5059
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-
|
|
5060
|
-
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-
|
|
5043
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-modules-assessment-management-index-BXw0Lf5c.mjs').then((m) => m.AXMQuestionnaireQuestionsPageComponentProvider)),
|
|
5044
|
+
provideCommand('Questionnaire:Questions:Save', () => import('./acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs').then((m) => m.AXMSaveQuestionnaireQuestionsCommand)),
|
|
5061
5045
|
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMAssessmentManagementSearchCommandProvider)),
|
|
5062
5046
|
],
|
|
5063
5047
|
}]
|
|
@@ -6379,4 +6363,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
6379
6363
|
*/
|
|
6380
6364
|
|
|
6381
6365
|
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 };
|
|
6382
|
-
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-
|
|
6366
|
+
//# sourceMappingURL=acorex-modules-assessment-management-acorex-modules-assessment-management-BD5oxehv.mjs.map
|