@acorex/modules 21.0.0-next.41 → 21.0.0-next.43
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-registry-tool-configurator-widget-column.component-D0ruV6aJ.mjs.map +1 -1
- package/fesm2022/{acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C7TQMwX4.mjs → acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C-XsPEIg.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C-XsPEIg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-DwPIKib2.mjs → acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-column.component-DSC48iD0.mjs.map +1 -1
- package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-BozVAuLO.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-u1hZ4P5s.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-u1hZ4P5s.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-CuToMDS_.mjs → acorex-modules-ai-management-assist.entity-DfW-FFCt.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-assist.entity-CuToMDS_.mjs.map → acorex-modules-ai-management-assist.entity-DfW-FFCt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-model.entity-vUNlioDw.mjs → acorex-modules-ai-management-model.entity-DiDaXVa3.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-model.entity-vUNlioDw.mjs.map → acorex-modules-ai-management-model.entity-DiDaXVa3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-BpxRR5ir.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-BpxRR5ir.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-ai-management.mjs +4636 -1
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-application-management-features-widget-view.component-DlfkfOay.mjs → acorex-modules-application-management-features-widget-view.component-uc8eGA-k.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-features-widget-view.component-DlfkfOay.mjs.map → acorex-modules-application-management-features-widget-view.component-uc8eGA-k.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +22 -77
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-c8OrTwDw.mjs} +26 -26
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-CMS2WJDu.mjs.map → acorex-modules-assessment-management-acorex-modules-assessment-management-c8OrTwDw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs → acorex-modules-assessment-management-assessment-case.entity-DEsJE7x3.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-C-Q4hu8o.mjs.map → acorex-modules-assessment-management-assessment-case.entity-DEsJE7x3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs → acorex-modules-assessment-management-assessment-session.entity-eNFfu-Jq.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-CQI_FpUd.mjs.map → acorex-modules-assessment-management-assessment-session.entity-eNFfu-Jq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs → acorex-modules-assessment-management-fill-assessment-session.command-BeSUBkI9.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Bpvco5iD.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-BeSUBkI9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-index-_fPuBQeK.mjs → acorex-modules-assessment-management-index-3GB9Xkyv.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-index-_fPuBQeK.mjs.map → acorex-modules-assessment-management-index-3GB9Xkyv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs → acorex-modules-assessment-management-preview-question.command-QinKZtTz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-drR6nq76.mjs.map → acorex-modules-assessment-management-preview-question.command-QinKZtTz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs → acorex-modules-assessment-management-preview-questionnaire.command-CKZYSyOv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CY8tZWdG.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-CKZYSyOv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-qZXANgNr.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DV9irFZ0.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-qZXANgNr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs → acorex-modules-assessment-management-question-bank-item.entity-Dp4eYR3O.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DO4bTKKo.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-Dp4eYR3O.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-BMB9IEIv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-B-N0v4zs.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-BMB9IEIv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cc-o6qmY.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-DgC1xuH9.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cc-o6qmY.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-DgC1xuH9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs → acorex-modules-assessment-management-questionnaire.entity-ChUNq9Bc.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CJWNlaJs.mjs.map → acorex-modules-assessment-management-questionnaire.entity-ChUNq9Bc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-sji05ut4.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-C3gOkZa5.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-sji05ut4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs → acorex-modules-assessment-management-view-session-answers.command-BIpotfIE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-AvTbWvGE.mjs.map → acorex-modules-assessment-management-view-session-answers.command-BIpotfIE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-DrIhRaZ6.mjs → acorex-modules-asset-management-acorex-modules-asset-management-fQ0rp8vu.mjs} +765 -131
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-fQ0rp8vu.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs +118 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-HqZtfJpe.mjs → acorex-modules-asset-management-asset-system-assignment.entity-DuFgujR6.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-HqZtfJpe.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-DuFgujR6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-fvrbyjXb.mjs → acorex-modules-asset-management-asset-system-type.entity-sszGMFny.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-fvrbyjXb.mjs.map → acorex-modules-asset-management-asset-system-type.entity-sszGMFny.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-DVAaXNWx.mjs → acorex-modules-asset-management-asset-system.entity-tWUPNYQq.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-DVAaXNWx.mjs.map → acorex-modules-asset-management-asset-system.entity-tWUPNYQq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-n-bxBcGz.mjs → acorex-modules-asset-management-asset-type-section-component.entity-l3xXMo2l.mjs} +32 -31
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-l3xXMo2l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-BF7N699p.mjs → acorex-modules-asset-management-asset-type-section.entity-CldvQBUW.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-BF7N699p.mjs.map → acorex-modules-asset-management-asset-type-section.entity-CldvQBUW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-Dt61Rs4F.mjs → acorex-modules-asset-management-asset-type.entity-CP0dryvp.mjs} +108 -28
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-CP0dryvp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-BzlsaEwC.mjs → acorex-modules-asset-management-asset.entity-Du_fWe9V.mjs} +21 -230
- package/fesm2022/acorex-modules-asset-management-asset.entity-Du_fWe9V.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BUtk_RQC.mjs → acorex-modules-auth-acorex-modules-auth-CGiDe3e-.mjs} +13 -13
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BUtk_RQC.mjs.map → acorex-modules-auth-acorex-modules-auth-CGiDe3e-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DnVYLE4q.mjs → acorex-modules-auth-app-chooser.component-Dt_2eXel.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DnVYLE4q.mjs.map → acorex-modules-auth-app-chooser.component-Dt_2eXel.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-Be-fhX-L.mjs → acorex-modules-auth-login.module-Bl8pAhHc.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-Be-fhX-L.mjs.map → acorex-modules-auth-login.module-Bl8pAhHc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-6n06jHF4.mjs → acorex-modules-auth-master.layout-B8GSev0J.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-6n06jHF4.mjs.map → acorex-modules-auth-master.layout-B8GSev0J.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B_u8aKEs.mjs → acorex-modules-auth-oauth-callback.component-DleQ24IP.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B_u8aKEs.mjs.map → acorex-modules-auth-oauth-callback.component-DleQ24IP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Bz6qjJ_G.mjs → acorex-modules-auth-password.component-C1GbARlM.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Bz6qjJ_G.mjs.map → acorex-modules-auth-password.component-C1GbARlM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-w9qdHuT5.mjs → acorex-modules-auth-password.component-D6ALMoO4.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-w9qdHuT5.mjs.map → acorex-modules-auth-password.component-D6ALMoO4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CUbjrK-J.mjs → acorex-modules-auth-routes-FDp1SEZA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CUbjrK-J.mjs.map → acorex-modules-auth-routes-FDp1SEZA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-settings.provider-DkhbuDBO.mjs → acorex-modules-auth-settings.provider-CN7Lb38l.mjs} +26 -31
- package/fesm2022/acorex-modules-auth-settings.provider-CN7Lb38l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-D_cV-RUp.mjs → acorex-modules-auth-tenant-chooser.component-o55sauLG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-D_cV-RUp.mjs.map → acorex-modules-auth-tenant-chooser.component-o55sauLG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-ok-nT2VM.mjs → acorex-modules-auth-two-factor.module-CVrYPw5D.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-ok-nT2VM.mjs.map → acorex-modules-auth-two-factor.module-CVrYPw5D.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Cmrx3_vM.mjs → acorex-modules-auth-user-sessions.component-BVglZAnc.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Cmrx3_vM.mjs.map → acorex-modules-auth-user-sessions.component-BVglZAnc.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-UIz5Bphx.mjs → acorex-modules-common-search-popup.component-BbRyjGia.mjs} +2 -2
- package/fesm2022/{acorex-modules-common-search-popup.component-UIz5Bphx.mjs.map → acorex-modules-common-search-popup.component-BbRyjGia.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +10 -35
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-content-management-acorex-modules-content-management-of3UnjxP.mjs → acorex-modules-content-management-acorex-modules-content-management-CO8lZb34.mjs} +40 -6
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-CO8lZb34.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-DnjtPg6f.mjs → acorex-modules-content-management-permission-definition.provider-Bcq5uOVH.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-DnjtPg6f.mjs.map → acorex-modules-content-management-permission-definition.provider-Bcq5uOVH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-BKHvQiql.mjs → acorex-modules-content-management-template-content-editor-widget-edit.component-D_q_xWeI.mjs} +59 -16
- package/fesm2022/acorex-modules-content-management-template-content-editor-widget-edit.component-D_q_xWeI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-q1Se62Hd.mjs → acorex-modules-content-management-template-content-editor-widget-view.component-DU5y6UxK.mjs} +15 -5
- package/fesm2022/acorex-modules-content-management-template-content-editor-widget-view.component-DU5y6UxK.mjs.map +1 -0
- package/fesm2022/acorex-modules-content-management.mjs +1 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-BJU2_R9O.mjs +6155 -0
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-BJU2_R9O.mjs.map +1 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DX2JPckF.mjs +324 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DX2JPckF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-DnAbpVxZ.mjs → acorex-modules-conversation-comments-page.component-Bg6m7UTG.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-DnAbpVxZ.mjs.map → acorex-modules-conversation-comments-page.component-Bg6m7UTG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -7353
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLndkp6w.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-D11VudG8.mjs} +6 -7
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-D11VudG8.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-c8QzHHtG.mjs → acorex-modules-dashboard-management-index-DB3Uh1wL.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-index-c8QzHHtG.mjs.map → acorex-modules-dashboard-management-index-DB3Uh1wL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +4 -4
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-BZWN7WCX.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-BZWN7WCX.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-DI6QQ2St.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-DI6QQ2St.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +209 -397
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-GHXF4eT3.mjs → acorex-modules-form-template-management-template-picker.component-CtTkFhXf.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-GHXF4eT3.mjs.map → acorex-modules-form-template-management-template-picker.component-CtTkFhXf.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +14 -18
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bgsi3FHG.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs} +90 -79
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-CxpTmb-1.mjs → acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-CxpTmb-1.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-jLGe49dJ.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-jLGe49dJ.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-ChNGu90e.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-ChNGu90e.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-4k7F7_ON.mjs → acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs} +4 -2
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Jo2fB9R3.mjs → acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Jo2fB9R3.mjs.map → acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DhLUXnJu.mjs → acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DhLUXnJu.mjs.map → acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-C-lN2bb0.mjs → acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-C-lN2bb0.mjs.map → acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BD1jN4Mx.mjs → acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BD1jN4Mx.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-D0G6UrqI.mjs → acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-D0G6UrqI.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-CYzqQXja.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs} +28 -17
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +72 -70
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +20 -10
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-acorex-modules-maintenance-management-B5wf4zMI.mjs → acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs} +40 -38
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-Cv5KnboB.mjs → acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-Cv5KnboB.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-BBL3-hfv.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-BBL3-hfv.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-nxOdHZxu.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-nxOdHZxu.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-ApD80Scc.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-ApD80Scc.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CibfwJLG.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CibfwJLG.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DpoqULBf.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DpoqULBf.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-0-J2Hkmn.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-0-J2Hkmn.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-C4Az4Rr9.mjs → acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-C4Az4Rr9.mjs.map → acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BZo6UUun.mjs → acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BZo6UUun.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-DxYY0hpG.mjs → acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-DxYY0hpG.mjs.map → acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-maintenance-management.mjs +1 -1
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs → acorex-modules-notification-management-notification-page.component-B017YY1H.mjs} +2 -2
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-D0we6H1f.mjs.map → acorex-modules-notification-management-notification-page.component-B017YY1H.mjs.map} +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +369 -45
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-order-management-settings.provider-BzNJIZCu.mjs → acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs} +6 -11
- package/fesm2022/acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-Bu8fRj_5.mjs → acorex-modules-organization-management-acorex-modules-organization-management-Dqhk5reQ.mjs} +479 -89
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Dqhk5reQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-pnxqURIQ.mjs +165 -0
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-pnxqURIQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-Qej_boIY.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-DbHKd1Nd.mjs} +32 -2
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-DbHKd1Nd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-BfQ_7JAq.mjs → acorex-modules-organization-management-business-unit.entity-FsF290Im.mjs} +38 -5
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-FsF290Im.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-CNQGGfHV.mjs → acorex-modules-organization-management-chart.entity-_OJkO2zX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-CNQGGfHV.mjs.map → acorex-modules-organization-management-chart.entity-_OJkO2zX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-D_nTKLzu.mjs → acorex-modules-organization-management-company.entity-Dw7_BvxV.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-D_nTKLzu.mjs.map → acorex-modules-organization-management-company.entity-Dw7_BvxV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-entity.provider-B4uYixLQ.mjs → acorex-modules-organization-management-entity.provider-BWw2RN_V.mjs} +15 -15
- package/fesm2022/{acorex-modules-organization-management-entity.provider-B4uYixLQ.mjs.map → acorex-modules-organization-management-entity.provider-BWw2RN_V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-COjc6knz.mjs → acorex-modules-organization-management-feature-definition.provider-D3WYwpy0.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-COjc6knz.mjs.map → acorex-modules-organization-management-feature-definition.provider-D3WYwpy0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-gDpII9TZ.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-CnS_nu1v.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-gDpII9TZ.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-CnS_nu1v.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-CjXV4wrM.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-ZTopEh2M.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-CjXV4wrM.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-ZTopEh2M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-2XBgMms-.mjs → acorex-modules-organization-management-job-definition-skills-page.component-Yyzwqg0v.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-2XBgMms-.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-Yyzwqg0v.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-f0JnkdjP.mjs → acorex-modules-organization-management-job-definition.entity-DJjmv1hf.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-f0JnkdjP.mjs.map → acorex-modules-organization-management-job-definition.entity-DJjmv1hf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-ByHluGvc.mjs → acorex-modules-organization-management-job-level.datasource-DJH3zaNN.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-ByHluGvc.mjs.map → acorex-modules-organization-management-job-level.datasource-DJH3zaNN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-BJJJQxCp.mjs → acorex-modules-organization-management-job-level.entity-DBEFEBzu.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-BJJJQxCp.mjs.map → acorex-modules-organization-management-job-level.entity-DBEFEBzu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-menu.provider-Dd_Z58sY.mjs → acorex-modules-organization-management-menu.provider-yGn338K1.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-menu.provider-Dd_Z58sY.mjs.map → acorex-modules-organization-management-menu.provider-yGn338K1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-fudrNddI.mjs → acorex-modules-organization-management-org-chart.page-C1J123cl.mjs} +35 -48
- package/fesm2022/acorex-modules-organization-management-org-chart.page-C1J123cl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-CoB_RGSa.mjs → acorex-modules-organization-management-permission-definition.provider-B1f668X4.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-CoB_RGSa.mjs.map → acorex-modules-organization-management-permission-definition.provider-B1f668X4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-position.entity-T1DY1fZn.mjs → acorex-modules-organization-management-position.entity-BvSjM5Hs.mjs} +6 -2
- package/fesm2022/acorex-modules-organization-management-position.entity-BvSjM5Hs.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-CPdbVSno.mjs +92 -0
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-CPdbVSno.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-replace-position-assignee.command-CQRcVN6R.mjs +66 -0
- package/fesm2022/acorex-modules-organization-management-replace-position-assignee.command-CQRcVN6R.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CIPzMi3d.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-Ce3T04Qb.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CIPzMi3d.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-Ce3T04Qb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DzdTNVP6.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CIr7JDX-.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DzdTNVP6.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CIr7JDX-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-C850Dz47.mjs → acorex-modules-organization-management-responsibilities-matrix.component-BXWso7Ga.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-C850Dz47.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-BXWso7Ga.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-CVxWva5x.mjs → acorex-modules-organization-management-responsibility-level.entity-DB04XTJ8.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-CVxWva5x.mjs.map → acorex-modules-organization-management-responsibility-level.entity-DB04XTJ8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BmDZhqNl.mjs → acorex-modules-organization-management-responsibility.entity-BMqhYqJS.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BmDZhqNl.mjs.map → acorex-modules-organization-management-responsibility.entity-BMqhYqJS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-settings.provider-wwGKyBrV.mjs → acorex-modules-organization-management-settings.provider-BhIJkbq_.mjs} +21 -24
- package/fesm2022/acorex-modules-organization-management-settings.provider-BhIJkbq_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-BmXLb4RI.mjs → acorex-modules-organization-management-team-business-unit.entity-DkTtZv7y.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-BmXLb4RI.mjs.map → acorex-modules-organization-management-team-business-unit.entity-DkTtZv7y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-C4DGSm2r.mjs → acorex-modules-organization-management-team-member-role.entity-DPqEPpkP.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-C4DGSm2r.mjs.map → acorex-modules-organization-management-team-member-role.entity-DPqEPpkP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-CvVHEzIU.mjs → acorex-modules-organization-management-team-member.entity-IN-CPv5W.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-CvVHEzIU.mjs.map → acorex-modules-organization-management-team-member.entity-IN-CPv5W.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-urjULfNp.mjs → acorex-modules-organization-management-team.entity-D7B8ulFX.mjs} +3 -2
- package/fesm2022/acorex-modules-organization-management-team.entity-D7B8ulFX.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/acorex-modules-person-core-gender.entity-DQVC2nR1.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-gender.entity-DQVC2nR1.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-Bcrni-xU.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-Bcrni-xU.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-title.entity-h53llLF9.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-person-title.entity-h53llLF9.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core.mjs +151 -295
- package/fesm2022/acorex-modules-person-core.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs → acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs} +2 -2
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-CZMqG3Eq.mjs → acorex-modules-platform-management-acorex-modules-platform-management-DkOzj2Oy.mjs} +12 -4
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DkOzj2Oy.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-entity-master-actions-for-ai.util-OCk5eqQz.mjs +56 -0
- package/fesm2022/acorex-modules-platform-management-entity-master-actions-for-ai.util-OCk5eqQz.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-list-platform-navigation-for-ai.query-C3-eBMwF.mjs +198 -0
- package/fesm2022/acorex-modules-platform-management-list-platform-navigation-for-ai.query-C3-eBMwF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-registered-entities.query-B6-zV_Ml.mjs → acorex-modules-platform-management-list-registered-entities.query-BZVD9YPU.mjs} +26 -4
- package/fesm2022/acorex-modules-platform-management-list-registered-entities.query-BZVD9YPU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-BRA7Q50z.mjs → acorex-modules-platform-management-menu-list.component-agWZWchQ.mjs} +3 -3
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-BRA7Q50z.mjs.map → acorex-modules-platform-management-menu-list.component-agWZWchQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs → acorex-modules-report-management-report-runner-root-page.component-B-NoGoOJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs.map → acorex-modules-report-management-report-runner-root-page.component-B-NoGoOJ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +7 -7
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BaDnebTm.mjs → acorex-modules-settings-management-acorex-modules-settings-management-oArHHeSx.mjs} +88 -13
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-oArHHeSx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-cuuhKUJ1.mjs → acorex-modules-settings-management-permission-definition.provider-BsFyZ-gS.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-cuuhKUJ1.mjs.map → acorex-modules-settings-management-permission-definition.provider-BsFyZ-gS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-CWIs93_1.mjs → acorex-modules-settings-management-setting-page.component-BftWms4f.mjs} +5 -4
- package/fesm2022/acorex-modules-settings-management-setting-page.component-BftWms4f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-BTexlmU1.mjs → acorex-modules-settings-management-setting-view.component-paKdiSEr.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-BTexlmU1.mjs.map → acorex-modules-settings-management-setting-view.component-paKdiSEr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-it-Lf0L_.mjs → acorex-modules-task-management-acorex-modules-task-management-CWlgXg_u.mjs} +26 -29
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-CWlgXg_u.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-DF4XWz_0.mjs → acorex-modules-task-management-task-board.page-Bxpga0DN.mjs} +3 -3
- package/fesm2022/{acorex-modules-task-management-task-board.page-DF4XWz_0.mjs.map → acorex-modules-task-management-task-board.page-Bxpga0DN.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +3 -7
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +0 -7
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/organization-management/README.md +1 -1
- package/package.json +2 -2
- package/platform-management/README.md +4 -0
- package/types/acorex-modules-ai-management.d.ts +150 -527
- package/types/acorex-modules-application-management.d.ts +5 -2
- package/types/acorex-modules-asset-management.d.ts +19 -87
- package/types/acorex-modules-common.d.ts +3 -6
- package/types/acorex-modules-content-management.d.ts +22 -5
- package/types/acorex-modules-conversation.d.ts +60 -4
- package/types/acorex-modules-document-management.d.ts +53 -22
- package/types/acorex-modules-human-capital-management.d.ts +15 -10
- package/types/acorex-modules-location-management.d.ts +9 -1
- package/types/acorex-modules-maintenance-management.d.ts +0 -2
- package/types/acorex-modules-notification-management.d.ts +68 -6
- package/types/acorex-modules-organization-management.d.ts +46 -4
- package/types/acorex-modules-person-core.d.ts +61 -4
- package/types/acorex-modules-settings-management.d.ts +3 -0
- package/types/acorex-modules-task-management.d.ts +0 -1
- package/types/acorex-modules-tenant-management.d.ts +0 -1
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-D7_4LOGV.mjs +0 -8666
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-D7_4LOGV.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C7TQMwX4.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent.entity-DwPIKib2.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-D2GJ5qD1.mjs +0 -1254
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-D2GJ5qD1.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-BozVAuLO.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-DaGJVOFw.mjs +0 -2
- package/fesm2022/acorex-modules-ai-management-index-DaGJVOFw.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-DrIhRaZ6.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-95NBXoex.mjs +0 -302
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-95NBXoex.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-state-history.entity-C-z103la.mjs +0 -258
- package/fesm2022/acorex-modules-asset-management-asset-state-history.entity-C-z103la.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-B7KwWQEe.mjs +0 -98
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-B7KwWQEe.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-n-bxBcGz.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-Dt61Rs4F.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-BzlsaEwC.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-assetLifecycle-state.provider-DZ5r2zx7.mjs +0 -192
- package/fesm2022/acorex-modules-asset-management-assetLifecycle-state.provider-DZ5r2zx7.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs +0 -363
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-settings.provider-DkhbuDBO.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-of3UnjxP.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-template-content-editor-widget-edit.component-BKHvQiql.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-template-content-editor-widget-view.component-q1Se62Hd.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLndkp6w.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-CSHUgcLx.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-CSHUgcLx.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-BQSgUw6o.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-BQSgUw6o.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bgsi3FHG.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-4k7F7_ON.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-CYzqQXja.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-B5wf4zMI.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-settings.provider-BzNJIZCu.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Bu8fRj_5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-Qej_boIY.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-BfQ_7JAq.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-fudrNddI.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-T1DY1fZn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-settings.provider-wwGKyBrV.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-urjULfNp.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CZMqG3Eq.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-list-registered-entities.query-B6-zV_Ml.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-BaDnebTm.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-CWIs93_1.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-it-Lf0L_.mjs.map +0 -1
|
@@ -2,7 +2,7 @@ import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } f
|
|
|
2
2
|
import { AXPStateMessageComponent, AXP_PAGE_COMPONENT_PROVIDER, AXPThemeLayoutBlockComponent, AXPQueryFiltersComponent } from '@acorex/platform/layout/components';
|
|
3
3
|
import { AXPEntityService, entityMasterCrudActions, entityMasterRecordActions, AXMEntityCrudServiceImpl, resolveEntityPluginDetailPageOrder, ensureListActions, AXPEntityDefinitionRegistryService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
4
4
|
import { AXPHookService, AXPPlatformScope, AXPDataGenerator, AXPDeviceService, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, resolvePlatformScopeKey, resolvePlatformScopeName } from '@acorex/platform/core';
|
|
5
|
-
import { AXPSearchCommandProvider, createEntitySearchCommand, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, createAllQueryView, AXPFileStorageService,
|
|
5
|
+
import { AXPSearchCommandProvider, createEntitySearchCommand, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, createAllQueryView, AXPFileStorageService, AXPFilterOperatorMiddlewareService, AXPSettingsService, AXPLockService, UploadFromComputerActionProvider, AXP_FILE_ACTION_PROVIDER, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
7
|
import { Injectable, inject, Injector, ChangeDetectionStrategy, Component, signal, NgModule, viewChild, computed, input, effect, ViewEncapsulation, untracked, DestroyRef, HostListener } from '@angular/core';
|
|
8
8
|
import * as i3$2 from '@acorex/core/translation';
|
|
@@ -38,7 +38,6 @@ import * as i2$4 from '@acorex/platform/workflow';
|
|
|
38
38
|
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
|
39
39
|
import { AXFileService, AXFileModule } from '@acorex/core/file';
|
|
40
40
|
import { castArray, get as get$1, set as set$1 } from 'lodash-es';
|
|
41
|
-
import { AXPAiAssistChatModelCatalogService, AXPAiManagementSettings, AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY, AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY, axpAiChatTextMessage } from '@acorex/modules/ai-management';
|
|
42
41
|
import * as i1$3 from '@acorex/components/media-viewer';
|
|
43
42
|
import { AXMediaViewerModule } from '@acorex/components/media-viewer';
|
|
44
43
|
import * as i1$2 from '@acorex/components/button';
|
|
@@ -331,6 +330,104 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
332
|
|
|
333
|
+
//#region ---- Setting Keys ----
|
|
334
|
+
/**
|
|
335
|
+
* Persisted setting keys for the Document Management module (`AXPSettingsService`).
|
|
336
|
+
*/
|
|
337
|
+
var AXPDocumentManagementSettings;
|
|
338
|
+
(function (AXPDocumentManagementSettings) {
|
|
339
|
+
AXPDocumentManagementSettings["ViewMode"] = "DocumentManagement:Setting:DocumentExplorer.Layout.ViewMode";
|
|
340
|
+
AXPDocumentManagementSettings["SortField"] = "DocumentManagement:Setting:DocumentExplorer.Layout.SortField";
|
|
341
|
+
AXPDocumentManagementSettings["SortDirection"] = "DocumentManagement:Setting:DocumentExplorer.Layout.SortDirection";
|
|
342
|
+
})(AXPDocumentManagementSettings || (AXPDocumentManagementSettings = {}));
|
|
343
|
+
//#endregion
|
|
344
|
+
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region ---- Module Constants ----
|
|
347
|
+
const I18N = '@document-management:settings';
|
|
348
|
+
//#endregion
|
|
349
|
+
/**
|
|
350
|
+
* Registers Document Management settings (document explorer defaults and related options).
|
|
351
|
+
*/
|
|
352
|
+
class AXPDocumentManagementSettingProvider {
|
|
353
|
+
//#region ---- AXPSettingDefinitionProvider ----
|
|
354
|
+
async provide(context) {
|
|
355
|
+
context
|
|
356
|
+
.addGroup('document-management', `${I18N}.group.title`, `${I18N}.group.description`, RootConfig.module.icon)
|
|
357
|
+
.addSection('document-explorer-layout', `${I18N}.sections.explorer-layout.title`, `${I18N}.sections.explorer-layout.description`)
|
|
358
|
+
.addSetting({
|
|
359
|
+
key: AXPDocumentManagementSettings.ViewMode,
|
|
360
|
+
title: `${I18N}.items.view-mode.title`,
|
|
361
|
+
description: `${I18N}.items.view-mode.description`,
|
|
362
|
+
scope: 'U',
|
|
363
|
+
isInherited: true,
|
|
364
|
+
defaultValue: 'large-tiles',
|
|
365
|
+
widget: {
|
|
366
|
+
type: AXPWidgetsCatalog.select,
|
|
367
|
+
options: {
|
|
368
|
+
valueField: 'id',
|
|
369
|
+
textField: 'title',
|
|
370
|
+
dataSource: [
|
|
371
|
+
{ id: 'large-tiles', title: `${I18N}.items.view-mode.options.large-tiles` },
|
|
372
|
+
{ id: 'small-tiles', title: `${I18N}.items.view-mode.options.small-tiles` },
|
|
373
|
+
{ id: 'list', title: `${I18N}.items.view-mode.options.list` },
|
|
374
|
+
{ id: 'details', title: `${I18N}.items.view-mode.options.details` },
|
|
375
|
+
{ id: 'large-icons', title: `${I18N}.items.view-mode.options.large-icons` },
|
|
376
|
+
{ id: 'small-icons', title: `${I18N}.items.view-mode.options.small-icons` },
|
|
377
|
+
{ id: 'attachment', title: `${I18N}.items.view-mode.options.attachment` },
|
|
378
|
+
],
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
})
|
|
382
|
+
.addSetting({
|
|
383
|
+
key: AXPDocumentManagementSettings.SortField,
|
|
384
|
+
title: `${I18N}.items.sort-field.title`,
|
|
385
|
+
description: `${I18N}.items.sort-field.description`,
|
|
386
|
+
scope: 'U',
|
|
387
|
+
isInherited: true,
|
|
388
|
+
defaultValue: 'name',
|
|
389
|
+
widget: {
|
|
390
|
+
type: AXPWidgetsCatalog.select,
|
|
391
|
+
options: {
|
|
392
|
+
valueField: 'id',
|
|
393
|
+
textField: 'title',
|
|
394
|
+
dataSource: [
|
|
395
|
+
{ id: 'name', title: `${I18N}.items.sort-field.options.name` },
|
|
396
|
+
{ id: 'modified', title: `${I18N}.items.sort-field.options.modified` },
|
|
397
|
+
{ id: 'size', title: `${I18N}.items.sort-field.options.size` },
|
|
398
|
+
],
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
})
|
|
402
|
+
.addSetting({
|
|
403
|
+
key: AXPDocumentManagementSettings.SortDirection,
|
|
404
|
+
title: `${I18N}.items.sort-direction.title`,
|
|
405
|
+
description: `${I18N}.items.sort-direction.description`,
|
|
406
|
+
scope: 'U',
|
|
407
|
+
isInherited: true,
|
|
408
|
+
defaultValue: 'asc',
|
|
409
|
+
widget: {
|
|
410
|
+
type: AXPWidgetsCatalog.select,
|
|
411
|
+
options: {
|
|
412
|
+
valueField: 'id',
|
|
413
|
+
textField: 'title',
|
|
414
|
+
dataSource: [
|
|
415
|
+
{ id: 'asc', title: `${I18N}.items.sort-direction.options.asc` },
|
|
416
|
+
{ id: 'desc', title: `${I18N}.items.sort-direction.options.desc` },
|
|
417
|
+
],
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
})
|
|
421
|
+
.endSection()
|
|
422
|
+
.endGroup();
|
|
423
|
+
}
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPDocumentManagementSettingProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
425
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPDocumentManagementSettingProvider }); }
|
|
426
|
+
}
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPDocumentManagementSettingProvider, decorators: [{
|
|
428
|
+
type: Injectable
|
|
429
|
+
}] });
|
|
430
|
+
|
|
334
431
|
class AXMImageFileTypeProvider {
|
|
335
432
|
async items() {
|
|
336
433
|
return [
|
|
@@ -1891,286 +1988,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1891
1988
|
type: Injectable
|
|
1892
1989
|
}] });
|
|
1893
1990
|
|
|
1894
|
-
//#region ---- Imports ----
|
|
1895
|
-
//#endregion
|
|
1896
|
-
//#region ---- Field collection ----
|
|
1897
|
-
/**
|
|
1898
|
-
* Flattens metadata selector value into field descriptors for LLM mapping prompts.
|
|
1899
|
-
*/
|
|
1900
|
-
function collectMetadataFieldDescriptors(meta) {
|
|
1901
|
-
if (!meta?.groups?.length) {
|
|
1902
|
-
return [];
|
|
1903
|
-
}
|
|
1904
|
-
const out = [];
|
|
1905
|
-
for (const g of meta.groups) {
|
|
1906
|
-
for (const f of g.fields ?? []) {
|
|
1907
|
-
out.push({
|
|
1908
|
-
name: f.name,
|
|
1909
|
-
title: f.title ?? f.name,
|
|
1910
|
-
interfaceType: f.interface,
|
|
1911
|
-
});
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
return out;
|
|
1915
|
-
}
|
|
1916
|
-
//#endregion
|
|
1917
|
-
//#region ---- Prompt + JSON parsing ----
|
|
1918
|
-
const DOCUMENT_METADATA_MAPPING_SYSTEM_PROMPT = 'You are a precise assistant. Output only a single JSON object with string keys matching the requested field names. No markdown fences, no commentary.';
|
|
1919
|
-
/**
|
|
1920
|
-
* Builds the user message body for OCR → metadata JSON mapping.
|
|
1921
|
-
*/
|
|
1922
|
-
function buildMetadataMappingUserPayload(ocrText, fields) {
|
|
1923
|
-
const lines = fields.map((x) => `- "${x.name}" (${x.title}) [widget: ${x.interfaceType}]`);
|
|
1924
|
-
return [
|
|
1925
|
-
'You map document OCR text to metadata fields.',
|
|
1926
|
-
'Reply with a single JSON object only. Keys must be exactly the "name" values listed below.',
|
|
1927
|
-
'Use null for unknown or not found values. Do not invent unrelated keys.',
|
|
1928
|
-
'',
|
|
1929
|
-
'Fields:',
|
|
1930
|
-
...lines,
|
|
1931
|
-
'',
|
|
1932
|
-
'OCR text:',
|
|
1933
|
-
ocrText,
|
|
1934
|
-
].join('\n');
|
|
1935
|
-
}
|
|
1936
|
-
/**
|
|
1937
|
-
* Parses a JSON object from an assistant reply (strips optional ```json fences).
|
|
1938
|
-
*/
|
|
1939
|
-
function parseMetadataMappingJson(text) {
|
|
1940
|
-
const trimmed = text.trim();
|
|
1941
|
-
const fence = /^```(?:json)?\s*([\s\S]*?)```$/m.exec(trimmed);
|
|
1942
|
-
const raw = fence ? fence[1].trim() : trimmed;
|
|
1943
|
-
try {
|
|
1944
|
-
const parsed = JSON.parse(raw);
|
|
1945
|
-
if (parsed != null && typeof parsed === 'object' && !Array.isArray(parsed)) {
|
|
1946
|
-
return parsed;
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
catch {
|
|
1950
|
-
// ignore
|
|
1951
|
-
}
|
|
1952
|
-
return {};
|
|
1953
|
-
}
|
|
1954
|
-
/**
|
|
1955
|
-
* Shallow merge: only fills keys that are empty in `existing`.
|
|
1956
|
-
*/
|
|
1957
|
-
function mergeMetadataPrefill(existing, partial) {
|
|
1958
|
-
const base = { ...(existing ?? {}) };
|
|
1959
|
-
for (const [k, v] of Object.entries(partial)) {
|
|
1960
|
-
const cur = base[k];
|
|
1961
|
-
const empty = cur === undefined || cur === null || cur === '';
|
|
1962
|
-
if (empty && v !== undefined && v !== null && v !== '') {
|
|
1963
|
-
base[k] = v;
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
return base;
|
|
1967
|
-
}
|
|
1968
|
-
//#endregion
|
|
1969
|
-
//#region ---- File kind ----
|
|
1970
|
-
/**
|
|
1971
|
-
* Returns true when the file list item is an image suitable for vision OCR.
|
|
1972
|
-
*/
|
|
1973
|
-
function isImageFileListItem(item) {
|
|
1974
|
-
if (!item) {
|
|
1975
|
-
return false;
|
|
1976
|
-
}
|
|
1977
|
-
const t = typeof item.type === 'string' ? item.type : '';
|
|
1978
|
-
if (t.startsWith('image/')) {
|
|
1979
|
-
return true;
|
|
1980
|
-
}
|
|
1981
|
-
const name = String(item.name ?? '');
|
|
1982
|
-
return /\.(png|jpe?g|gif|webp|bmp|tif|tiff)$/i.test(name);
|
|
1983
|
-
}
|
|
1984
|
-
//#endregion
|
|
1985
|
-
|
|
1986
|
-
/**
|
|
1987
|
-
* Tenant settings for optional OCR-based metadata prefill on image uploads.
|
|
1988
|
-
*/
|
|
1989
|
-
var AXMDocumentMetadataOcrSettings;
|
|
1990
|
-
(function (AXMDocumentMetadataOcrSettings) {
|
|
1991
|
-
/** When true, image uploads may run OCR + mapping into metadata fields (when document type defines metadata). */
|
|
1992
|
-
AXMDocumentMetadataOcrSettings["Enabled"] = "DocumentManagement:Setting:MetadataOcr.Enabled";
|
|
1993
|
-
/**
|
|
1994
|
-
* Optional assist primary key for OCR/mapping. When empty, {@link AXPAiManagementSettings.DefaultAssistId} is used.
|
|
1995
|
-
*/
|
|
1996
|
-
AXMDocumentMetadataOcrSettings["AssistId"] = "DocumentManagement:Setting:MetadataOcr.AssistId";
|
|
1997
|
-
})(AXMDocumentMetadataOcrSettings || (AXMDocumentMetadataOcrSettings = {}));
|
|
1998
|
-
|
|
1999
|
-
//#region ---- Imports ----
|
|
2000
|
-
//#endregion
|
|
2001
|
-
function toChatTransport(raw) {
|
|
2002
|
-
return String(raw ?? '').toLowerCase() === 'gemini' ? 'gemini' : 'openai';
|
|
2003
|
-
}
|
|
2004
|
-
function readSettingString(raw) {
|
|
2005
|
-
if (typeof raw === 'string') {
|
|
2006
|
-
return raw.trim();
|
|
2007
|
-
}
|
|
2008
|
-
if (raw && typeof raw === 'object' && 'value' in raw && raw.value != null) {
|
|
2009
|
-
return String(raw.value).trim();
|
|
2010
|
-
}
|
|
2011
|
-
return '';
|
|
2012
|
-
}
|
|
2013
|
-
function readSettingBool(raw) {
|
|
2014
|
-
if (typeof raw === 'boolean') {
|
|
2015
|
-
return raw;
|
|
2016
|
-
}
|
|
2017
|
-
if (raw && typeof raw === 'object' && 'value' in raw) {
|
|
2018
|
-
const v = raw.value;
|
|
2019
|
-
return v === true || v === 'true';
|
|
2020
|
-
}
|
|
2021
|
-
return false;
|
|
2022
|
-
}
|
|
2023
|
-
//#region ---- Service ----
|
|
2024
|
-
/**
|
|
2025
|
-
* Runs vision OCR + text-only JSON mapping for document metadata prefill (image files).
|
|
2026
|
-
*/
|
|
2027
|
-
class AXMDocumentMetadataAiPrefillService {
|
|
2028
|
-
constructor() {
|
|
2029
|
-
this.fileStorage = inject(AXPFileStorageService);
|
|
2030
|
-
this.modelCatalog = inject(AXPAiAssistChatModelCatalogService);
|
|
2031
|
-
this.commandService = inject(AXPCommandService);
|
|
2032
|
-
this.settings = inject(AXPSettingsService);
|
|
2033
|
-
}
|
|
2034
|
-
/**
|
|
2035
|
-
* Whether OCR metadata prefill is enabled in tenant settings.
|
|
2036
|
-
* Defaults to true when the setting has never been stored (opt-out via settings UI).
|
|
2037
|
-
*/
|
|
2038
|
-
async isMetadataOcrEnabled() {
|
|
2039
|
-
const raw = await this.settings.get(AXMDocumentMetadataOcrSettings.Enabled);
|
|
2040
|
-
if (raw === undefined || raw === null) {
|
|
2041
|
-
return true;
|
|
2042
|
-
}
|
|
2043
|
-
return readSettingBool(raw);
|
|
2044
|
-
}
|
|
2045
|
-
/**
|
|
2046
|
-
* Resolves assist id: document override, else AI default assist setting.
|
|
2047
|
-
*/
|
|
2048
|
-
async resolveAssistIdForMetadataOcr() {
|
|
2049
|
-
const doc = readSettingString(await this.settings.get(AXMDocumentMetadataOcrSettings.AssistId));
|
|
2050
|
-
if (doc) {
|
|
2051
|
-
return doc;
|
|
2052
|
-
}
|
|
2053
|
-
return readSettingString(await this.settings.get(AXPAiManagementSettings.DefaultAssistId));
|
|
2054
|
-
}
|
|
2055
|
-
/**
|
|
2056
|
-
* Uploads a blob-backed file item to storage for vision APIs that require {@link fileId}.
|
|
2057
|
-
*/
|
|
2058
|
-
async ensureStoredFileId(fileItem, folderId) {
|
|
2059
|
-
const existing = fileItem.source?.kind === 'fileId' && typeof fileItem.source.value === 'string'
|
|
2060
|
-
? fileItem.source.value.trim()
|
|
2061
|
-
: typeof fileItem.id === 'string'
|
|
2062
|
-
? fileItem.id.trim()
|
|
2063
|
-
: '';
|
|
2064
|
-
if (existing) {
|
|
2065
|
-
return existing;
|
|
2066
|
-
}
|
|
2067
|
-
const file = this.resolveFileForUpload(fileItem);
|
|
2068
|
-
if (!file) {
|
|
2069
|
-
return null;
|
|
2070
|
-
}
|
|
2071
|
-
const refId = folderId?.trim() || 'document-metadata-ocr-prefill';
|
|
2072
|
-
const saved = await this.fileStorage.save({
|
|
2073
|
-
file,
|
|
2074
|
-
name: fileItem.name,
|
|
2075
|
-
refId,
|
|
2076
|
-
refType: `${RootConfig.module.name}.${RootConfig.entities.document.name}`,
|
|
2077
|
-
category: 'document',
|
|
2078
|
-
status: AXPFileStorageStatus.Temporary,
|
|
2079
|
-
});
|
|
2080
|
-
return saved.fileId?.trim() || null;
|
|
2081
|
-
}
|
|
2082
|
-
/**
|
|
2083
|
-
* OCR + structured mapping; returns merged metadata (only fills empty keys in {@link existingMeta}).
|
|
2084
|
-
*/
|
|
2085
|
-
async prefillFromImageOcr(options) {
|
|
2086
|
-
const fields = collectMetadataFieldDescriptors(options.metaDataList ?? undefined);
|
|
2087
|
-
if (fields.length === 0) {
|
|
2088
|
-
return { ocrText: '', merged: { ...(options.existingMeta ?? {}) } };
|
|
2089
|
-
}
|
|
2090
|
-
const assistId = await this.resolveAssistIdForMetadataOcr();
|
|
2091
|
-
if (!assistId) {
|
|
2092
|
-
throw new Error('No AI assist is configured for metadata OCR. Set Document Management or AI default assist.');
|
|
2093
|
-
}
|
|
2094
|
-
const models = await this.modelCatalog.listModels({ assistId });
|
|
2095
|
-
const model = this.pickChatModelForMetadataOcr(models);
|
|
2096
|
-
if (!model?.id) {
|
|
2097
|
-
throw new Error('No chat model is available for this assist. Configure models in AI Management.');
|
|
2098
|
-
}
|
|
2099
|
-
const chatTransport = toChatTransport(model.chatTransport);
|
|
2100
|
-
const fileId = await this.ensureStoredFileId(options.fileItem, options.folderId);
|
|
2101
|
-
if (!fileId) {
|
|
2102
|
-
throw new Error('Could not upload the file for OCR.');
|
|
2103
|
-
}
|
|
2104
|
-
const extractResult = await this.commandService.execute(AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY, {
|
|
2105
|
-
fileId,
|
|
2106
|
-
assistId,
|
|
2107
|
-
chatTransport,
|
|
2108
|
-
modelEntityId: model.id,
|
|
2109
|
-
});
|
|
2110
|
-
if (extractResult == null || !extractResult.success || !extractResult.data) {
|
|
2111
|
-
const detail = extractResult != null && typeof extractResult.message?.text === 'string' && extractResult.message.text.trim()
|
|
2112
|
-
? extractResult.message.text
|
|
2113
|
-
: 'Document text extraction failed.';
|
|
2114
|
-
throw new Error(detail);
|
|
2115
|
-
}
|
|
2116
|
-
const ocrText = extractResult.data.text;
|
|
2117
|
-
const userBody = buildMetadataMappingUserPayload(ocrText, fields);
|
|
2118
|
-
const structuredResult = await this.commandService.execute(AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY, {
|
|
2119
|
-
assistId,
|
|
2120
|
-
modelEntityId: model.id,
|
|
2121
|
-
messages: [
|
|
2122
|
-
axpAiChatTextMessage('system', DOCUMENT_METADATA_MAPPING_SYSTEM_PROMPT),
|
|
2123
|
-
axpAiChatTextMessage('user', userBody),
|
|
2124
|
-
],
|
|
2125
|
-
maxTokens: 2048,
|
|
2126
|
-
temperature: 0.1,
|
|
2127
|
-
});
|
|
2128
|
-
if (structuredResult == null || !structuredResult.success || !structuredResult.data) {
|
|
2129
|
-
const detail = structuredResult != null &&
|
|
2130
|
-
typeof structuredResult.message?.text === 'string' &&
|
|
2131
|
-
structuredResult.message.text.trim()
|
|
2132
|
-
? structuredResult.message.text
|
|
2133
|
-
: 'Structured metadata mapping failed.';
|
|
2134
|
-
throw new Error(detail);
|
|
2135
|
-
}
|
|
2136
|
-
const assistantText = structuredResult.data.text;
|
|
2137
|
-
const parsed = parseMetadataMappingJson(assistantText);
|
|
2138
|
-
const merged = mergeMetadataPrefill(options.existingMeta, parsed);
|
|
2139
|
-
return { ocrText, merged };
|
|
2140
|
-
}
|
|
2141
|
-
//#region ---- Utility Methods ----
|
|
2142
|
-
/**
|
|
2143
|
-
* Prefers catalog model `gpt-5.4` (GPT-5.4) when present; otherwise first allowed model.
|
|
2144
|
-
*/
|
|
2145
|
-
pickChatModelForMetadataOcr(models) {
|
|
2146
|
-
if (!models.length) {
|
|
2147
|
-
return undefined;
|
|
2148
|
-
}
|
|
2149
|
-
const preferredName = 'gpt-5.4';
|
|
2150
|
-
return (models.find((m) => String(m.name ?? '')
|
|
2151
|
-
.trim()
|
|
2152
|
-
.toLowerCase() === preferredName) ??
|
|
2153
|
-
models.find((m) => /gpt-5\.4/i.test(String(m.title ?? ''))) ??
|
|
2154
|
-
models[0]);
|
|
2155
|
-
}
|
|
2156
|
-
resolveFileForUpload(item) {
|
|
2157
|
-
const v = item.source?.value;
|
|
2158
|
-
if (v instanceof File) {
|
|
2159
|
-
return v;
|
|
2160
|
-
}
|
|
2161
|
-
if (item.source?.kind === 'blob' && v instanceof Blob) {
|
|
2162
|
-
return new File([v], item.name, { type: item.type ?? v.type ?? 'application/octet-stream' });
|
|
2163
|
-
}
|
|
2164
|
-
return null;
|
|
2165
|
-
}
|
|
2166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentMetadataAiPrefillService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2167
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentMetadataAiPrefillService, providedIn: 'root' }); }
|
|
2168
|
-
}
|
|
2169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentMetadataAiPrefillService, decorators: [{
|
|
2170
|
-
type: Injectable,
|
|
2171
|
-
args: [{ providedIn: 'root' }]
|
|
2172
|
-
}] });
|
|
2173
|
-
|
|
2174
1991
|
class AXMDocumentDialogService {
|
|
2175
1992
|
constructor() {
|
|
2176
1993
|
this.layoutBuilder = inject(AXPLayoutBuilderService);
|
|
@@ -2179,7 +1996,6 @@ class AXMDocumentDialogService {
|
|
|
2179
1996
|
.withEntity(RootConfig.module.name, RootConfig.entities.document.name)
|
|
2180
1997
|
.data();
|
|
2181
1998
|
this.documentTypeService = inject(AXMDocumentTypeService);
|
|
2182
|
-
this.metadataPrefill = inject(AXMDocumentMetadataAiPrefillService);
|
|
2183
1999
|
}
|
|
2184
2000
|
async openAttachmentDialog(title, data) {
|
|
2185
2001
|
const { documentType, files, parentId, metaData, documentId, version, showMeta = true } = data ?? {};
|
|
@@ -2201,9 +2017,6 @@ class AXMDocumentDialogService {
|
|
|
2201
2017
|
}
|
|
2202
2018
|
: { groups: [] };
|
|
2203
2019
|
const hasMetaFields = (editableMetaDataList.groups ?? []).some((g) => (g.fields?.length ?? 0) > 0);
|
|
2204
|
-
const ocrFeatureEnabled = await this.metadataPrefill.isMetadataOcrEnabled();
|
|
2205
|
-
const hasImage = fileList.some((f) => isImageFileListItem(f));
|
|
2206
|
-
const showAiMetadataButton = !!showMeta && hasMetaFields && ocrFeatureEnabled && hasImage;
|
|
2207
2020
|
// Build initial context for all files
|
|
2208
2021
|
const initialContext = {};
|
|
2209
2022
|
if (showMeta) {
|
|
@@ -2222,27 +2035,26 @@ class AXMDocumentDialogService {
|
|
|
2222
2035
|
dialog
|
|
2223
2036
|
.setTitle(title)
|
|
2224
2037
|
.setSize('md')
|
|
2038
|
+
.setOptions({
|
|
2039
|
+
metadata: {
|
|
2040
|
+
showMeta: !!showMeta,
|
|
2041
|
+
hasMetaFields,
|
|
2042
|
+
parentId: parentId ?? '',
|
|
2043
|
+
documentType,
|
|
2044
|
+
},
|
|
2045
|
+
})
|
|
2225
2046
|
.setContext(initialContext)
|
|
2226
2047
|
.content((flex) => {
|
|
2227
2048
|
flex.setDirection('column');
|
|
2228
|
-
if (showAiMetadataButton) {
|
|
2229
|
-
flex.formField('', (field) => {
|
|
2230
|
-
field.customWidget('document-metadata-ai-fill-button', {
|
|
2231
|
-
parentId: parentId ?? '',
|
|
2232
|
-
documentType,
|
|
2233
|
-
});
|
|
2234
|
-
});
|
|
2235
|
-
}
|
|
2236
2049
|
// Add fields for each file dynamically
|
|
2237
2050
|
for (let index = 0; index < fileList.length; index++) {
|
|
2238
2051
|
const item = fileList[index];
|
|
2239
2052
|
if (showMeta) {
|
|
2240
2053
|
if (hasMetaFields) {
|
|
2241
|
-
// Bind meta-data-form-editor to file-${index}.metaDataForm
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
field.customWidget('meta-data-form-editor', editableMetaDataList);
|
|
2054
|
+
// Bind meta-data-form-editor to file-${index}.metaDataForm (no form-field wrapper).
|
|
2055
|
+
flex.customWidget('meta-data-form-editor', (widget) => {
|
|
2056
|
+
widget.path(`file-${index}.metaDataForm`);
|
|
2057
|
+
widget.options(editableMetaDataList);
|
|
2246
2058
|
});
|
|
2247
2059
|
}
|
|
2248
2060
|
if (enableExpiration) {
|
|
@@ -2339,7 +2151,7 @@ class AXMDocumentDialogService {
|
|
|
2339
2151
|
return result;
|
|
2340
2152
|
}
|
|
2341
2153
|
async openAttachmentDialogWithoutSave(title, data) {
|
|
2342
|
-
const { documentType, files, parentId, metaData,
|
|
2154
|
+
const { documentType, files, parentId, metaData, showMeta = true } = data ?? {};
|
|
2343
2155
|
const accept = (documentType?.type?.selectedItems ?? [])
|
|
2344
2156
|
.map((f) => `.${f.name.split('.')[1]}`)
|
|
2345
2157
|
.join(',');
|
|
@@ -2348,9 +2160,6 @@ class AXMDocumentDialogService {
|
|
|
2348
2160
|
/** Get metaDataForm from a file item (widget may store under meta or metaDataForm). */
|
|
2349
2161
|
const getFileMeta = (item) => item?.metaDataForm ?? (item?.meta && typeof item.meta === 'object' && !Array.isArray(item.meta) ? item.meta : undefined);
|
|
2350
2162
|
const hasMetaFields = (documentType?.metaDataList?.groups ?? []).some((g) => (g.fields?.length ?? 0) > 0);
|
|
2351
|
-
const ocrFeatureEnabled = await this.metadataPrefill.isMetadataOcrEnabled();
|
|
2352
|
-
const hasImage = fileList.some((f) => isImageFileListItem(f));
|
|
2353
|
-
const showAiMetadataButton = !!showMeta && hasMetaFields && ocrFeatureEnabled && hasImage;
|
|
2354
2163
|
// Build initial context for all files: each file-${index} gets that file's metaDataForm so form shows existing meta
|
|
2355
2164
|
const initialContext = {};
|
|
2356
2165
|
if (showMeta) {
|
|
@@ -2374,25 +2183,26 @@ class AXMDocumentDialogService {
|
|
|
2374
2183
|
dialog
|
|
2375
2184
|
.setTitle(title)
|
|
2376
2185
|
.setSize('md')
|
|
2186
|
+
.setOptions({
|
|
2187
|
+
metadata: {
|
|
2188
|
+
showMeta: !!showMeta,
|
|
2189
|
+
hasMetaFields,
|
|
2190
|
+
parentId: parentId ?? '',
|
|
2191
|
+
documentType,
|
|
2192
|
+
},
|
|
2193
|
+
})
|
|
2377
2194
|
.setContext(initialContext)
|
|
2378
2195
|
.content((flex) => {
|
|
2379
2196
|
flex.setDirection('column');
|
|
2380
|
-
if (showAiMetadataButton) {
|
|
2381
|
-
flex.formField('', (field) => {
|
|
2382
|
-
field.customWidget('document-metadata-ai-fill-button', {
|
|
2383
|
-
parentId: parentId ?? '',
|
|
2384
|
-
documentType,
|
|
2385
|
-
});
|
|
2386
|
-
});
|
|
2387
|
-
}
|
|
2388
2197
|
// Add fields for each file dynamically
|
|
2389
2198
|
for (let index = 0; index < fileList.length; index++) {
|
|
2390
2199
|
const item = fileList[index];
|
|
2391
2200
|
if (showMeta) {
|
|
2392
2201
|
if (hasMetaFields) {
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2202
|
+
const metaListForWidget = documentType?.metaDataList ?? { groups: [] };
|
|
2203
|
+
flex.customWidget('meta-data-form-editor', (widget) => {
|
|
2204
|
+
widget.path(`file-${index}.metaDataForm`);
|
|
2205
|
+
widget.options(metaListForWidget);
|
|
2396
2206
|
});
|
|
2397
2207
|
}
|
|
2398
2208
|
if (enableExpiration) {
|
|
@@ -2684,6 +2494,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
2684
2494
|
description: folder.description != null ? this.translate.resolve(folder.description) : undefined,
|
|
2685
2495
|
childrenCount: folder.childrenCount,
|
|
2686
2496
|
size: folder.size,
|
|
2497
|
+
color: folder.color,
|
|
2687
2498
|
documentTypes: folder.documentTypes || [],
|
|
2688
2499
|
storageType: 'physical',
|
|
2689
2500
|
inherit: folder.inherit,
|
|
@@ -3575,7 +3386,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3575
3386
|
*/
|
|
3576
3387
|
async searchNodes(searchTerm, scope, options) {
|
|
3577
3388
|
const hasSearchTerm = searchTerm?.trim().length > 0;
|
|
3578
|
-
const hasMetadataFilters = options?.metadataFilters
|
|
3389
|
+
const hasMetadataFilters = Boolean(options?.metadataFilters?.length);
|
|
3579
3390
|
const hasDocTypeFilter = Boolean(options?.documentTypeIds && options.documentTypeIds.length > 0);
|
|
3580
3391
|
let folders = [];
|
|
3581
3392
|
let files = [];
|
|
@@ -3734,6 +3545,17 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3734
3545
|
const unlocked = result.getOutput('unlocked');
|
|
3735
3546
|
return unlocked;
|
|
3736
3547
|
}
|
|
3548
|
+
/**
|
|
3549
|
+
* Document types picker: keeps current selection when non-empty; otherwise defaults to the
|
|
3550
|
+
* catalog entry whose programmatic name is `any` (mock title "Document").
|
|
3551
|
+
*/
|
|
3552
|
+
initialFolderDialogDocumentTypes(items, existing) {
|
|
3553
|
+
if (Array.isArray(existing) && existing.length > 0) {
|
|
3554
|
+
return existing;
|
|
3555
|
+
}
|
|
3556
|
+
const anyType = items.find((it) => it?.name === 'any');
|
|
3557
|
+
return anyType ? [anyType] : [];
|
|
3558
|
+
}
|
|
3737
3559
|
/**
|
|
3738
3560
|
* Shows folder edit dialog
|
|
3739
3561
|
*/
|
|
@@ -3750,8 +3572,8 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3750
3572
|
name: node.name,
|
|
3751
3573
|
description: node.description ?? '',
|
|
3752
3574
|
inherit: node.inherit ?? 'None',
|
|
3753
|
-
documentTypes: node.documentTypes
|
|
3754
|
-
color: '#FFFFFF',
|
|
3575
|
+
documentTypes: this.initialFolderDialogDocumentTypes(items, node.documentTypes),
|
|
3576
|
+
color: node.color ?? '#FFFFFF',
|
|
3755
3577
|
})
|
|
3756
3578
|
.content((flex) => {
|
|
3757
3579
|
flex
|
|
@@ -3784,6 +3606,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3784
3606
|
dataSource: items,
|
|
3785
3607
|
multiple: true,
|
|
3786
3608
|
allowSearch: true,
|
|
3609
|
+
validations: [{ rule: 'required' }],
|
|
3787
3610
|
});
|
|
3788
3611
|
})
|
|
3789
3612
|
.formField('@general:terms.common.color', (field) => {
|
|
@@ -3802,6 +3625,9 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3802
3625
|
}
|
|
3803
3626
|
const form = context;
|
|
3804
3627
|
const selected = Array.isArray(form.documentTypes) ? form.documentTypes : [];
|
|
3628
|
+
if (selected.length === 0) {
|
|
3629
|
+
return false;
|
|
3630
|
+
}
|
|
3805
3631
|
const selectedTypes = selected.map((v) => typeof v === 'object' ? v : items.find((it) => it.name === v) || { name: v, title: v, id: v });
|
|
3806
3632
|
await this.updateFolder(node.id, {
|
|
3807
3633
|
title: form.title ?? form.name,
|
|
@@ -3829,12 +3655,19 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3829
3655
|
const set = new Set(allowedNames);
|
|
3830
3656
|
items = items.filter((it) => it?.name && set.has(it.name));
|
|
3831
3657
|
}
|
|
3658
|
+
const defaultDocumentTypes = this.initialFolderDialogDocumentTypes(items, []);
|
|
3832
3659
|
const result = await this.layoutBuilder
|
|
3833
3660
|
.create()
|
|
3834
3661
|
.dialog((dialog) => {
|
|
3835
3662
|
dialog
|
|
3836
3663
|
.setTitle('@document-management:actions.create-folder')
|
|
3837
|
-
.setContext({
|
|
3664
|
+
.setContext({
|
|
3665
|
+
title: '',
|
|
3666
|
+
description: '',
|
|
3667
|
+
inherit: 'None',
|
|
3668
|
+
documentTypes: defaultDocumentTypes,
|
|
3669
|
+
color: '#FFFFFF',
|
|
3670
|
+
})
|
|
3838
3671
|
.content((flex) => {
|
|
3839
3672
|
flex
|
|
3840
3673
|
.setDirection('column')
|
|
@@ -3866,6 +3699,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3866
3699
|
dataSource: items,
|
|
3867
3700
|
multiple: true,
|
|
3868
3701
|
allowSearch: true,
|
|
3702
|
+
validations: [{ rule: 'required' }],
|
|
3869
3703
|
});
|
|
3870
3704
|
})
|
|
3871
3705
|
.formField('@general:terms.common.color', (field) => {
|
|
@@ -3883,13 +3717,18 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3883
3717
|
return null;
|
|
3884
3718
|
}
|
|
3885
3719
|
const form = context;
|
|
3720
|
+
const selectedTypesRaw = Array.isArray(form.documentTypes) ? form.documentTypes : [];
|
|
3721
|
+
if (selectedTypesRaw.length === 0) {
|
|
3722
|
+
return null;
|
|
3723
|
+
}
|
|
3724
|
+
const selectedTypes = selectedTypesRaw.map((v) => typeof v === 'object' ? v : items.find((it) => it.name === v) || { name: v, title: v, id: v });
|
|
3886
3725
|
try {
|
|
3887
3726
|
const folder = await this.createFolder({
|
|
3888
3727
|
title: form.title,
|
|
3889
3728
|
color: form.color,
|
|
3890
3729
|
parentId,
|
|
3891
3730
|
description: form.description,
|
|
3892
|
-
documentTypes:
|
|
3731
|
+
documentTypes: selectedTypes,
|
|
3893
3732
|
size: 0,
|
|
3894
3733
|
inherit: form.inherit,
|
|
3895
3734
|
});
|
|
@@ -4198,13 +4037,6 @@ class ScopedDriveService {
|
|
|
4198
4037
|
}
|
|
4199
4038
|
}
|
|
4200
4039
|
|
|
4201
|
-
var AXPDocumentExplorerSettings;
|
|
4202
|
-
(function (AXPDocumentExplorerSettings) {
|
|
4203
|
-
AXPDocumentExplorerSettings["ViewMode"] = "DocumentManagement:Setting:DocumentExplorer.Layout.ViewMode";
|
|
4204
|
-
AXPDocumentExplorerSettings["SortField"] = "DocumentManagement:Setting:DocumentExplorer.Layout.SortField";
|
|
4205
|
-
AXPDocumentExplorerSettings["SortDirection"] = "DocumentManagement:Setting:DocumentExplorer.Layout.SortDirection";
|
|
4206
|
-
})(AXPDocumentExplorerSettings || (AXPDocumentExplorerSettings = {}));
|
|
4207
|
-
|
|
4208
4040
|
const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withState(() => ({
|
|
4209
4041
|
// View State
|
|
4210
4042
|
viewMode: 'large-tiles',
|
|
@@ -4301,9 +4133,9 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
4301
4133
|
patchState(store, { fileTypes });
|
|
4302
4134
|
// Load initial settings (use same scope for get/set so persistence works after refresh)
|
|
4303
4135
|
const scopedSettings = settingsService.scope(scope);
|
|
4304
|
-
const viewMode = await scopedSettings.get(
|
|
4305
|
-
const sortField = await scopedSettings.get(
|
|
4306
|
-
const sortDirection = await scopedSettings.get(
|
|
4136
|
+
const viewMode = await scopedSettings.get(AXPDocumentManagementSettings.ViewMode);
|
|
4137
|
+
const sortField = await scopedSettings.get(AXPDocumentManagementSettings.SortField);
|
|
4138
|
+
const sortDirection = await scopedSettings.get(AXPDocumentManagementSettings.SortDirection);
|
|
4307
4139
|
patchState(store, {
|
|
4308
4140
|
viewMode: viewMode ?? 'large-tiles',
|
|
4309
4141
|
sortField: sortField ?? 'name',
|
|
@@ -4398,19 +4230,19 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
4398
4230
|
},
|
|
4399
4231
|
setViewMode(mode) {
|
|
4400
4232
|
patchState(store, { viewMode: mode });
|
|
4401
|
-
settingsService.scope(store.scope()).set(
|
|
4233
|
+
settingsService.scope(store.scope()).set(AXPDocumentManagementSettings.ViewMode, mode);
|
|
4402
4234
|
},
|
|
4403
4235
|
isViewMode(mode) {
|
|
4404
4236
|
return store.viewMode() === mode;
|
|
4405
4237
|
},
|
|
4406
4238
|
setSortField(field) {
|
|
4407
4239
|
patchState(store, { sortField: field });
|
|
4408
|
-
settingsService.scope(store.scope()).set(
|
|
4240
|
+
settingsService.scope(store.scope()).set(AXPDocumentManagementSettings.SortField, field);
|
|
4409
4241
|
this.refresh();
|
|
4410
4242
|
},
|
|
4411
4243
|
setSortDirection(direction) {
|
|
4412
4244
|
patchState(store, { sortDirection: direction });
|
|
4413
|
-
settingsService.scope(store.scope()).set(
|
|
4245
|
+
settingsService.scope(store.scope()).set(AXPDocumentManagementSettings.SortDirection, direction);
|
|
4414
4246
|
this.refresh();
|
|
4415
4247
|
},
|
|
4416
4248
|
setSelectionMode(mode) {
|
|
@@ -4548,7 +4380,7 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
4548
4380
|
},
|
|
4549
4381
|
{
|
|
4550
4382
|
title: 'Items',
|
|
4551
|
-
content: node.
|
|
4383
|
+
content: node.children?.length ?? 0,
|
|
4552
4384
|
icon: 'fa-solid fa-file-lines',
|
|
4553
4385
|
},
|
|
4554
4386
|
{
|
|
@@ -5322,8 +5154,8 @@ class AXMDocumentExplorerComponent {
|
|
|
5322
5154
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : /* istanbul ignore next */ []));
|
|
5323
5155
|
this.viewMap = {
|
|
5324
5156
|
list: async () => (await import('./acorex-modules-document-management-list-view.component-_4qlp2zS.mjs')).AXMDocumentExplorerListViewComponent,
|
|
5325
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
5326
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
5157
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-DI6QQ2St.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
5158
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-BZWN7WCX.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
5327
5159
|
details: async () => (await import('./acorex-modules-document-management-details-view.component-lFZrUj3W.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
5328
5160
|
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-Ba2iLe4s.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
5329
5161
|
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-BS9YW1SX.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
@@ -5394,7 +5226,7 @@ class AXMDocumentExplorerComponent {
|
|
|
5394
5226
|
}
|
|
5395
5227
|
}
|
|
5396
5228
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5397
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMDocumentExplorerComponent, isStandalone: true, selector: "axm-document-explorer", inputs: { browseMode: { classPropertyName: "browseMode", publicName: "browseMode", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showContextMenu: { classPropertyName: "showContextMenu", publicName: "showContextMenu", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["itemsContextMenu"], descendants: true, isSignal: true }, { propertyName: "rootContextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Empty State -->\n<div class=\"view-container\">\n @if (vm.filteredFolders().length === 0 && vm.filteredFiles().length === 0) {\n <axp-state-message\n icon=\"fa-light fa-folder-open\"\n [title]=\"'@document-management:empty-states.no-items.title'\"\n [description]=\"'@document-management:empty-states.no-items.description'\"\n >\n </axp-state-message>\n } @else {\n <ng-container [ngComponentOutlet]=\"view()\"></ng-container>\n }\n</div>\n\n<!-- Context Menu -->\n@if (showContextMenu()) {\n <!-- Item Context Menu-->\n <ax-context-menu\n #itemsContextMenu\n [target]=\"'.__explorer-item'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n >\n </ax-context-menu>\n <!-- Root Context Menu-->\n <ax-context-menu\n #rootContextMenu\n [target]=\"'.view-container'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuRootOnOpening($event)\"\n >\n </ax-context-menu>\n}\n", styles: ["axm-document-explorer{display:flex;height:max-content;min-height:100%;width:100%;flex-direction:row;gap:1rem}axm-document-explorer>.view-container{display:flex;flex:1 1 0%;-webkit-user-select:none;user-select:none;flex-direction:column;gap:1rem}axm-document-explorer .animation-duration-2s{--fa-animation-duration: 2s}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i2$1.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening", "onClose"] }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "
|
|
5229
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMDocumentExplorerComponent, isStandalone: true, selector: "axm-document-explorer", inputs: { browseMode: { classPropertyName: "browseMode", publicName: "browseMode", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showContextMenu: { classPropertyName: "showContextMenu", publicName: "showContextMenu", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["itemsContextMenu"], descendants: true, isSignal: true }, { propertyName: "rootContextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Empty State -->\n<div class=\"view-container\">\n @if (vm.filteredFolders().length === 0 && vm.filteredFiles().length === 0) {\n <axp-state-message\n icon=\"fa-light fa-folder-open\"\n [title]=\"'@document-management:empty-states.no-items.title'\"\n [description]=\"'@document-management:empty-states.no-items.description'\"\n >\n </axp-state-message>\n } @else {\n <ng-container [ngComponentOutlet]=\"view()\"></ng-container>\n }\n</div>\n\n<!-- Context Menu -->\n@if (showContextMenu()) {\n <!-- Item Context Menu-->\n <ax-context-menu\n #itemsContextMenu\n [target]=\"'.__explorer-item'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n >\n </ax-context-menu>\n <!-- Root Context Menu-->\n <ax-context-menu\n #rootContextMenu\n [target]=\"'.view-container'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuRootOnOpening($event)\"\n >\n </ax-context-menu>\n}\n", styles: ["axm-document-explorer{display:flex;height:max-content;min-height:100%;width:100%;flex-direction:row;gap:1rem}axm-document-explorer>.view-container{display:flex;flex:1 1 0%;-webkit-user-select:none;user-select:none;flex-direction:column;gap:1rem}axm-document-explorer .animation-duration-2s{--fa-animation-duration: 2s}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i2$1.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening", "onClose"] }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "look"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
5398
5230
|
}
|
|
5399
5231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerComponent, decorators: [{
|
|
5400
5232
|
type: Component,
|
|
@@ -5426,6 +5258,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5426
5258
|
], template: "<!-- Breadcrumbs Section -->\n<div class=\"__breadcrumb ax-xs\">\n <!-- Desktop Breadcrumb -->\n @for (item of vm.currentPath(); track item.id; let i = $index;let last = $last) {\n <!-- Navigation Button -->\n <ax-button look=\"blank\" (onClick)=\"vm.navigateToFolder(item.id)\" [text]=\"item.name\" [disabled]=\"last\">\n @if(i === 0) {\n <ax-icon icon=\"fa-light fa-cloud\"></ax-icon>\n }@else {\n <ax-icon icon=\"fa-light fa-folder-closed\"></ax-icon>\n }\n </ax-button>\n <!-- Separator -->\n @if(!last) {\n <i class=\"far fa-chevron-right rtl:ax-rotate-180 fa-fw fa-xs ax-me-2\"></i>\n }\n <!-- End Navigation Button -->\n }\n</div>\n", styles: [":host{display:flex;width:100%;align-items:center}:host .__nav{display:flex;flex-direction:row;align-items:center;gap:.25rem;border-inline-end-width:1px;padding-inline-start:.25rem;padding-inline-end:.5rem}:host .__breadcrumb{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding-inline-start:.5rem;padding-inline-end:.25rem}:host .__breadcrumb .ax-state-disabled button,:host .__breadcrumb .ax-state-loading button{cursor:default!important}\n"] }]
|
|
5427
5259
|
}] });
|
|
5428
5260
|
|
|
5261
|
+
//#region ---- Imports ----
|
|
5262
|
+
//#endregion
|
|
5263
|
+
//#region ---- Dialog surfaces ----
|
|
5264
|
+
/** `dialogSurface` for attachment dialog with save (layout builder options). */
|
|
5265
|
+
const AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT = 'document-management.attachment-dialog';
|
|
5266
|
+
/** `dialogSurface` for attachment dialog without save. */
|
|
5267
|
+
const AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT_NO_SAVE = 'document-management.attachment-dialog-no-save';
|
|
5268
|
+
//#endregion
|
|
5269
|
+
//#region ---- On-action hook (extensions handle custom commands, e.g. AI metadata fill) ----
|
|
5270
|
+
/**
|
|
5271
|
+
* Runs when the user triggers a footer/dialog action, before the default attachment-dialog handler.
|
|
5272
|
+
* Extensions may set {@link AXMDocumentAttachmentDialogOnActionPayload.result} to short-circuit (e.g. keep dialog open after patching context).
|
|
5273
|
+
*/
|
|
5274
|
+
const AXM_DOCUMENT_ATTACHMENT_DIALOG_ON_ACTION_HOOK_KEY = 'document-management.attachment-dialog.on-action';
|
|
5275
|
+
//#endregion
|
|
5276
|
+
|
|
5429
5277
|
/**
|
|
5430
5278
|
* Build a Blob for "clone" attachment from drive file metadata (storage fileId, url, or existing blob).
|
|
5431
5279
|
*/
|
|
@@ -6317,51 +6165,6 @@ const attachmentsUploadMiddleware = {
|
|
|
6317
6165
|
},
|
|
6318
6166
|
};
|
|
6319
6167
|
|
|
6320
|
-
class AXMSettingProvider {
|
|
6321
|
-
constructor(injector) {
|
|
6322
|
-
this.injector = injector;
|
|
6323
|
-
this.translateService = this.injector.get(AXTranslationService);
|
|
6324
|
-
}
|
|
6325
|
-
async provide(context) {
|
|
6326
|
-
const t = async (key) => await this.translateService.translateAsync(`@document-management:settings.metadata-ocr.${key}`);
|
|
6327
|
-
context
|
|
6328
|
-
.addGroup('document-management-metadata-ocr', await t('group-title'), await t('group-description'), RootConfig.module.icon)
|
|
6329
|
-
.addSection('metadata-ocr', await t('section-title'), await t('section-description'))
|
|
6330
|
-
.addSetting({
|
|
6331
|
-
key: AXMDocumentMetadataOcrSettings.Enabled,
|
|
6332
|
-
title: await t('enabled-title'),
|
|
6333
|
-
scope: 'T',
|
|
6334
|
-
isInherited: true,
|
|
6335
|
-
defaultValue: true,
|
|
6336
|
-
widget: {
|
|
6337
|
-
type: AXPWidgetsCatalog.toggle,
|
|
6338
|
-
},
|
|
6339
|
-
description: await t('enabled-description'),
|
|
6340
|
-
})
|
|
6341
|
-
.addSetting({
|
|
6342
|
-
key: AXMDocumentMetadataOcrSettings.AssistId,
|
|
6343
|
-
title: await t('assist-id-title'),
|
|
6344
|
-
scope: 'T',
|
|
6345
|
-
isInherited: true,
|
|
6346
|
-
defaultValue: '',
|
|
6347
|
-
widget: {
|
|
6348
|
-
type: AXPWidgetsCatalog.text,
|
|
6349
|
-
options: {
|
|
6350
|
-
placeholder: await t('assist-id-placeholder'),
|
|
6351
|
-
},
|
|
6352
|
-
},
|
|
6353
|
-
description: await t('assist-id-description'),
|
|
6354
|
-
})
|
|
6355
|
-
.endSection()
|
|
6356
|
-
.endGroup();
|
|
6357
|
-
}
|
|
6358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6359
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMSettingProvider }); }
|
|
6360
|
-
}
|
|
6361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMSettingProvider, decorators: [{
|
|
6362
|
-
type: Injectable
|
|
6363
|
-
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
6364
|
-
|
|
6365
6168
|
function getFileIdFromFileInfo(fileInfo) {
|
|
6366
6169
|
if (fileInfo == null)
|
|
6367
6170
|
return undefined;
|
|
@@ -6703,7 +6506,7 @@ class AXMDocumentManagementModule {
|
|
|
6703
6506
|
},
|
|
6704
6507
|
{
|
|
6705
6508
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
6706
|
-
useClass:
|
|
6509
|
+
useClass: AXPDocumentManagementSettingProvider,
|
|
6707
6510
|
multi: true,
|
|
6708
6511
|
},
|
|
6709
6512
|
{
|
|
@@ -6801,7 +6604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
6801
6604
|
},
|
|
6802
6605
|
{
|
|
6803
6606
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
6804
|
-
useClass:
|
|
6607
|
+
useClass: AXPDocumentManagementSettingProvider,
|
|
6805
6608
|
multi: true,
|
|
6806
6609
|
},
|
|
6807
6610
|
{
|
|
@@ -6848,8 +6651,8 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6848
6651
|
this.driveRootIds = null;
|
|
6849
6652
|
/** Filter definitions: document type (cascade parent) + metadata + search + file type. */
|
|
6850
6653
|
this.advancedFilterDefinitions = signal([], ...(ngDevMode ? [{ debugName: "advancedFilterDefinitions" }] : /* istanbul ignore next */ []));
|
|
6851
|
-
/** Active metadata
|
|
6852
|
-
this.activeMetadataFilters = signal(
|
|
6654
|
+
/** Active metadata filters from the query filter panel (same shape as {@link AXPFilterQuery}). */
|
|
6655
|
+
this.activeMetadataFilters = signal([], ...(ngDevMode ? [{ debugName: "activeMetadataFilters" }] : /* istanbul ignore next */ []));
|
|
6853
6656
|
/** Options for the document type filter (drive search). */
|
|
6854
6657
|
this.documentTypeFilterOptions = signal([], ...(ngDevMode ? [{ debugName: "documentTypeFilterOptions" }] : /* istanbul ignore next */ []));
|
|
6855
6658
|
/**
|
|
@@ -6969,7 +6772,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6969
6772
|
this.previousFolderId = currentNode?.id ?? null;
|
|
6970
6773
|
}
|
|
6971
6774
|
const metadataFilters = this.activeMetadataFilters();
|
|
6972
|
-
const hasMetadataFilters =
|
|
6775
|
+
const hasMetadataFilters = metadataFilters.length > 0;
|
|
6973
6776
|
const documentTypeIds = this.activeDocumentTypeFilterIds();
|
|
6974
6777
|
const hasDocTypeFilter = documentTypeIds.length > 0;
|
|
6975
6778
|
const result = await this.driveService.searchNodes(searchValue, this.vm.scope(), {
|
|
@@ -7010,17 +6813,26 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
7010
6813
|
const fileTypeFilter = filters.find((f) => f.field === 'fileType');
|
|
7011
6814
|
const fileTypeValue = fileTypeFilter?.value != null ? String(fileTypeFilter.value) : 'all';
|
|
7012
6815
|
this.vm.setFileTypeFilter(fileTypeValue);
|
|
7013
|
-
const metaFilters =
|
|
6816
|
+
const metaFilters = [];
|
|
7014
6817
|
for (const filter of filters) {
|
|
7015
|
-
if (filter.field
|
|
7016
|
-
filter.field
|
|
7017
|
-
filter.field
|
|
7018
|
-
filter.field
|
|
7019
|
-
filter.field
|
|
7020
|
-
|
|
7021
|
-
filter.value !== '') {
|
|
7022
|
-
metaFilters[filter.field] = filter.value;
|
|
6818
|
+
if (!filter.field ||
|
|
6819
|
+
filter.field === 'all' ||
|
|
6820
|
+
filter.field === 'title' ||
|
|
6821
|
+
filter.field === 'fileType' ||
|
|
6822
|
+
filter.field === 'documentTypeId') {
|
|
6823
|
+
continue;
|
|
7023
6824
|
}
|
|
6825
|
+
const opType = filter.operator?.type;
|
|
6826
|
+
const isValuelessOperator = opType === 'isEmpty' || opType === 'isNotEmpty' || opType === 'isNull';
|
|
6827
|
+
if (!isValuelessOperator && (filter.value == null || filter.value === '')) {
|
|
6828
|
+
continue;
|
|
6829
|
+
}
|
|
6830
|
+
metaFilters.push({
|
|
6831
|
+
field: filter.field,
|
|
6832
|
+
value: filter.value,
|
|
6833
|
+
operator: filter.operator,
|
|
6834
|
+
logic: filter.logic,
|
|
6835
|
+
});
|
|
7024
6836
|
}
|
|
7025
6837
|
this.activeMetadataFilters.set(metaFilters);
|
|
7026
6838
|
const app = this.sessionService.application?.name;
|
|
@@ -7043,7 +6855,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
7043
6855
|
});
|
|
7044
6856
|
}
|
|
7045
6857
|
const hasDocTypeFilter = documentTypeIds.length > 0;
|
|
7046
|
-
if (searchValue.length > 0 ||
|
|
6858
|
+
if (searchValue.length > 0 || metaFilters.length > 0 || hasDocTypeFilter) {
|
|
7047
6859
|
await this.performSearch(searchValue);
|
|
7048
6860
|
}
|
|
7049
6861
|
else if (this.vm.isVirtual()) {
|
|
@@ -7504,5 +7316,5 @@ var drive_component = /*#__PURE__*/Object.freeze({
|
|
|
7504
7316
|
* Generated bundle index. Do not edit.
|
|
7505
7317
|
*/
|
|
7506
7318
|
|
|
7507
|
-
export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentDrivePageComponent, AXMDocumentDrivePageComponentProvider, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentStatusValues, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentManagerServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderPathBreadcrumbsComponent, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMSearchCommandProvider,
|
|
7319
|
+
export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentDrivePageComponent, AXMDocumentDrivePageComponentProvider, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentStatusValues, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentManagerServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderPathBreadcrumbsComponent, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMSearchCommandProvider, AXMVideoFileTypeProvider, AXM_DOCUMENT_ATTACHMENT_DIALOG_ON_ACTION_HOOK_KEY, AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT, AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT_NO_SAVE, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXPDocumentManagementSettingProvider, AXPDocumentManagementSettings, AXmFileTypeExtensionWidget, DOCUMENT_DRIVE_PAGE_COMPONENT_KEY, RootConfig, ScopedDriveService, documentEntityFactory, documentPlugin, documentTypeFactory, folderEntityFactory };
|
|
7508
7320
|
//# sourceMappingURL=acorex-modules-document-management.mjs.map
|