@acorex/modules 20.2.4-next.0 → 20.2.4-next.1
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/auth/index.d.ts +1 -0
- package/common/index.d.ts +16 -13
- package/contact-management/index.d.ts +0 -6
- package/conversation/index.d.ts +8 -0
- package/dashboard-management/index.d.ts +3 -79
- package/data-management/index.d.ts +2 -69
- package/document-management/index.d.ts +20 -5
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-C8p1VeqM.mjs → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs} +18 -14
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-C8p1VeqM.mjs.map → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CDKLbD_u.mjs → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CDKLbD_u.mjs.map → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DGPRxnXo.mjs → acorex-modules-auth-login.module-Bq2itSg_.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DGPRxnXo.mjs.map → acorex-modules-auth-login.module-Bq2itSg_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-BNFGuQQs.mjs → acorex-modules-auth-master.layout-DONbu77t.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-BNFGuQQs.mjs.map → acorex-modules-auth-master.layout-DONbu77t.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B3sSFdOA.mjs → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B3sSFdOA.mjs.map → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dyox9sR4.mjs → acorex-modules-auth-password.component-B9LqFrEG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dyox9sR4.mjs.map → acorex-modules-auth-password.component-B9LqFrEG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-ln2kDKPR.mjs → acorex-modules-auth-password.component-BuGTsfLH.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-ln2kDKPR.mjs.map → acorex-modules-auth-password.component-BuGTsfLH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-7vr8T08D.mjs → acorex-modules-auth-routes-833kPM6o.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-7vr8T08D.mjs.map → acorex-modules-auth-routes-833kPM6o.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-D6XCUP_A.mjs → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-D6XCUP_A.mjs.map → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs +137 -0
- package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +12 -40
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs +71 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs.map +1 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs +47 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs → acorex-modules-common-search-popup.component-BSQyjDKA.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs.map → acorex-modules-common-search-popup.component-BSQyjDKA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs} +5 -5
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs.map → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +532 -91
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs → acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs} +15 -41
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs → acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs} +13 -90
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +793 -1
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +3 -3
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +82 -22
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +29 -325
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +157 -1006
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-D9oPjJnn.mjs → acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs} +170 -282
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-CcWvTWv0.mjs → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-CcWvTWv0.mjs.map → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DPFIPNE_.mjs → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DPFIPNE_.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-BKNvUhdl.mjs → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-BKNvUhdl.mjs.map → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs → acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs} +42 -2
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOPjvKlN.mjs → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOPjvKlN.mjs.map → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DutBXTtm.mjs → acorex-modules-document-management-drive.component-DZhd1DUn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-DutBXTtm.mjs.map → acorex-modules-document-management-drive.component-DZhd1DUn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DX2_xsbq.mjs → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DX2_xsbq.mjs.map → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CshjCgG5.mjs → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CshjCgG5.mjs.map → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-DdLTVccZ.mjs → acorex-modules-document-management-list-view.component-oDeeGScM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-DdLTVccZ.mjs.map → acorex-modules-document-management-list-view.component-oDeeGScM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BomZu2bT.mjs → acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs} +6 -6
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-_AXz3sdF.mjs → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-_AXz3sdF.mjs.map → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DZRAXwFy.mjs → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DZRAXwFy.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DG3AbQJO.mjs → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DG3AbQJO.mjs.map → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cx9jczo-.mjs → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cx9jczo-.mjs.map → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-CLSHVjDE.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs} +13 -85
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-I8BY9RVh.mjs → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-I8BY9RVh.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-B8ip0Ou_.mjs → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-B8ip0Ou_.mjs.map → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BNM3RyDv.mjs → acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs} +6 -4
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DFfvdZqJ.mjs → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DFfvdZqJ.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-BCpgfVMz.mjs → acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs} +15 -85
- package/fesm2022/acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDfjwbrL.mjs → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDfjwbrL.mjs.map → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CAibWOZT.mjs → acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs} +5 -5
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BSBozesT.mjs → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BSBozesT.mjs.map → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +16 -29
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +87 -89
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs +855 -0
- package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +20 -20
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs → acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-UAn44WCP.mjs → acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-D1A1HSkC.mjs → acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxCyXNtv.mjs → acorex-modules-organization-management-department.entity-BbBrK4BN.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-department.entity-BbBrK4BN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-DzQT2jpz.mjs → acorex-modules-organization-management-division.entity-DdX7LcCU.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-division.entity-DdX7LcCU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-CRc2YjNR.mjs → acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs} +71 -50
- package/fesm2022/acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs → acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role.entity-CruQeObl.mjs → acorex-modules-organization-management-position.entity-DT7EyvrR.mjs} +96 -79
- package/fesm2022/acorex-modules-organization-management-position.entity-DT7EyvrR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs → acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs} +19 -91
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs → acorex-modules-organization-management-role.entity-BdjgFsgo.mjs} +68 -51
- package/fesm2022/acorex-modules-organization-management-role.entity-BdjgFsgo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs → acorex-modules-organization-management-skill.entity-O1453j6I.mjs} +14 -105
- package/fesm2022/acorex-modules-organization-management-skill.entity-O1453j6I.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-DMCfAZsr.mjs → acorex-modules-organization-management-team.entity-DkRLWl0u.mjs} +13 -32
- package/fesm2022/acorex-modules-organization-management-team.entity-DkRLWl0u.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +13 -254
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BUc-9XOG.mjs → acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs} +11 -21
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-Bgq-y9TN.mjs → acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs} +20 -19
- package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-CP47qbc-.mjs → acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs} +9 -12
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-pGea5plN.mjs → acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs} +9 -14
- package/fesm2022/acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-role.entity-CDt7Rxu7.mjs → acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs} +9 -12
- package/fesm2022/acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party.entity-DAvqOPic.mjs → acorex-modules-party-management-party.entity-BwAAZRJc.mjs} +43 -43
- package/fesm2022/acorex-modules-party-management-party.entity-BwAAZRJc.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +2 -2
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +60 -48
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +56 -57
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +6 -7
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +7 -5
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-DbpqZaC7.mjs → acorex-modules-task-management-task-board.page-BBbHu2jz.mjs} +311 -71
- package/fesm2022/acorex-modules-task-management-task-board.page-BBbHu2jz.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +619 -241
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +4 -6
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +35 -35
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/form-template-management/index.d.ts +6 -32
- package/organization-management/index.d.ts +3 -111
- package/package.json +9 -9
- package/task-management/README.md +1 -1
- package/task-management/index.d.ts +80 -6
- package/fesm2022/acorex-modules-auth-user-sessions.component-B5aBDmdR.mjs +0 -135
- package/fesm2022/acorex-modules-auth-user-sessions.component-B5aBDmdR.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs +0 -863
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs +0 -680
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-D9oPjJnn.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BomZu2bT.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-CLSHVjDE.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-BBjVWSJ_.mjs +0 -245
- package/fesm2022/acorex-modules-form-template-management-category.entity-BBjVWSJ_.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BNM3RyDv.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-BCpgfVMz.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-CAibWOZT.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification-management-notification-page.component-TLxLpxzE.mjs +0 -544
- package/fesm2022/acorex-modules-notification-management-notification-page.component-TLxLpxzE.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-CRc2YjNR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs +0 -305
- package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs +0 -526
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs +0 -338
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-CruQeObl.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs +0 -305
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BUc-9XOG.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-Bgq-y9TN.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-CP47qbc-.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-relationship.entity-pGea5plN.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-role.entity-CDt7Rxu7.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party.entity-DAvqOPic.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-DbpqZaC7.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
2
2
|
import { AXPSearchCommandProvider, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, AXPSettingService, AXPLockService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
3
|
-
import { AXPEntityService, AXMEntityCrudServiceImpl,
|
|
3
|
+
import { AXPEntityService, AXMEntityCrudServiceImpl, ensureListActions, actionExists, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_ACTION_PLUGIN } from '@acorex/platform/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, Injector, Injectable, NgModule, ChangeDetectionStrategy, Component, signal, viewChild, afterNextRender, computed, input, effect, ViewEncapsulation, output, HostBinding } from '@angular/core';
|
|
6
6
|
import { firstValueFrom } from 'rxjs';
|
|
@@ -147,6 +147,8 @@ class AXMEntityProvider {
|
|
|
147
147
|
return (await Promise.resolve().then(function () { return index$1; })).reviewFactory(this.injector);
|
|
148
148
|
case RootConfig.entities.distribution.name:
|
|
149
149
|
return (await Promise.resolve().then(function () { return index$1; })).distributionFactory(this.injector);
|
|
150
|
+
case RootConfig.entities.distributionInteraction.name:
|
|
151
|
+
return (await Promise.resolve().then(function () { return index$1; })).distributionInteractionFactory(this.injector);
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
return null;
|
|
@@ -454,11 +456,10 @@ async function documentFactory(injector) {
|
|
|
454
456
|
],
|
|
455
457
|
},
|
|
456
458
|
{
|
|
457
|
-
name: '
|
|
459
|
+
name: 'fileId',
|
|
458
460
|
title: `t("file", { scope: "${i18n}" })`,
|
|
459
461
|
groupId: 'section',
|
|
460
462
|
schema: {
|
|
461
|
-
// defaultValue: "{{ uploader.convert(context.eval('file'), context.eval('name'), context.eval('size')) }}",
|
|
462
463
|
dataType: 'string',
|
|
463
464
|
readonly: true,
|
|
464
465
|
interface: {
|
|
@@ -591,7 +592,7 @@ async function documentFactory(injector) {
|
|
|
591
592
|
{ name: 'name' },
|
|
592
593
|
{ name: 'status' },
|
|
593
594
|
{ name: 'version' },
|
|
594
|
-
{ name: '
|
|
595
|
+
{ name: 'fileId' },
|
|
595
596
|
{
|
|
596
597
|
name: 'documentReviewReviewer',
|
|
597
598
|
title: `t("reviewer", { scope: "${i18n}" })`,
|
|
@@ -710,7 +711,7 @@ async function documentFactory(injector) {
|
|
|
710
711
|
},
|
|
711
712
|
},
|
|
712
713
|
{
|
|
713
|
-
name: '
|
|
714
|
+
name: 'fileId',
|
|
714
715
|
layout: {
|
|
715
716
|
positions: {
|
|
716
717
|
lg: {
|
|
@@ -759,7 +760,7 @@ async function documentFactory(injector) {
|
|
|
759
760
|
// },
|
|
760
761
|
// },
|
|
761
762
|
// {
|
|
762
|
-
// name: '
|
|
763
|
+
// name: 'file',
|
|
763
764
|
// layout: {
|
|
764
765
|
// positions: {
|
|
765
766
|
// lg: {
|
|
@@ -816,7 +817,7 @@ async function documentFactory(injector) {
|
|
|
816
817
|
},
|
|
817
818
|
},
|
|
818
819
|
{
|
|
819
|
-
name: '
|
|
820
|
+
name: 'fileId',
|
|
820
821
|
layout: {
|
|
821
822
|
positions: {
|
|
822
823
|
lg: {
|
|
@@ -1252,8 +1253,8 @@ async function documentTypeFactory(injector) {
|
|
|
1252
1253
|
{
|
|
1253
1254
|
event: "{{ events.context('requiresReview') }}",
|
|
1254
1255
|
action: "{{ context.set('enableVersioning', true) }}",
|
|
1255
|
-
}
|
|
1256
|
-
]
|
|
1256
|
+
},
|
|
1257
|
+
],
|
|
1257
1258
|
},
|
|
1258
1259
|
},
|
|
1259
1260
|
},
|
|
@@ -1285,7 +1286,8 @@ async function documentTypeFactory(injector) {
|
|
|
1285
1286
|
commands: {
|
|
1286
1287
|
create: {
|
|
1287
1288
|
execute: async (data) => {
|
|
1288
|
-
data.meta = data.meta
|
|
1289
|
+
data.meta = data.meta
|
|
1290
|
+
.filter((item) => item.status !== 'deleted')
|
|
1289
1291
|
.map((item) => ({
|
|
1290
1292
|
...item,
|
|
1291
1293
|
status: 'active',
|
|
@@ -1301,7 +1303,8 @@ async function documentTypeFactory(injector) {
|
|
|
1301
1303
|
},
|
|
1302
1304
|
update: {
|
|
1303
1305
|
execute: async (data) => {
|
|
1304
|
-
data.meta = data.meta
|
|
1306
|
+
data.meta = data.meta
|
|
1307
|
+
.filter((item) => item.status !== 'deleted')
|
|
1305
1308
|
.map((item) => ({
|
|
1306
1309
|
...item,
|
|
1307
1310
|
status: 'active',
|
|
@@ -1319,7 +1322,7 @@ async function documentTypeFactory(injector) {
|
|
|
1319
1322
|
},
|
|
1320
1323
|
list: {
|
|
1321
1324
|
execute: async (e) => {
|
|
1322
|
-
return await dataService.query(
|
|
1325
|
+
return await dataService.query(e);
|
|
1323
1326
|
},
|
|
1324
1327
|
type: AXPEntityQueryType.List,
|
|
1325
1328
|
},
|
|
@@ -1844,7 +1847,7 @@ async function documentTypeMetaDefinitionfactory(injector) {
|
|
|
1844
1847
|
},
|
|
1845
1848
|
list: {
|
|
1846
1849
|
execute: async (e) => {
|
|
1847
|
-
return await dataService.query(
|
|
1850
|
+
return await dataService.query(e);
|
|
1848
1851
|
},
|
|
1849
1852
|
type: AXPEntityQueryType.List,
|
|
1850
1853
|
},
|
|
@@ -2113,7 +2116,7 @@ async function documentTypeMetaValueFactory(injector) {
|
|
|
2113
2116
|
},
|
|
2114
2117
|
list: {
|
|
2115
2118
|
execute: async (e) => {
|
|
2116
|
-
return await dataService.query(
|
|
2119
|
+
return await dataService.query(e);
|
|
2117
2120
|
},
|
|
2118
2121
|
type: AXPEntityQueryType.List,
|
|
2119
2122
|
},
|
|
@@ -2382,7 +2385,7 @@ async function documentTypeStatusDefinitionFactory(injector) {
|
|
|
2382
2385
|
},
|
|
2383
2386
|
list: {
|
|
2384
2387
|
execute: async (e) => {
|
|
2385
|
-
return await dataService.query(
|
|
2388
|
+
return await dataService.query(e);
|
|
2386
2389
|
},
|
|
2387
2390
|
type: AXPEntityQueryType.List,
|
|
2388
2391
|
},
|
|
@@ -2657,7 +2660,7 @@ async function folderFactory(injector) {
|
|
|
2657
2660
|
},
|
|
2658
2661
|
list: {
|
|
2659
2662
|
execute: async (e) => {
|
|
2660
|
-
return await dataService.query(
|
|
2663
|
+
return await dataService.query(e);
|
|
2661
2664
|
},
|
|
2662
2665
|
type: AXPEntityQueryType.List,
|
|
2663
2666
|
},
|
|
@@ -2874,8 +2877,8 @@ async function reviewFactory(injector) {
|
|
|
2874
2877
|
interface: {
|
|
2875
2878
|
type: AXPWidgetsCatalog.textBlockLayout,
|
|
2876
2879
|
options: {
|
|
2877
|
-
content: `{{ context.eval('version') }}
|
|
2878
|
-
}
|
|
2880
|
+
content: `{{ context.eval('version') }}`,
|
|
2881
|
+
},
|
|
2879
2882
|
},
|
|
2880
2883
|
},
|
|
2881
2884
|
},
|
|
@@ -2917,8 +2920,8 @@ async function reviewFactory(injector) {
|
|
|
2917
2920
|
{
|
|
2918
2921
|
event: "{{ events.context('documentId') }}",
|
|
2919
2922
|
action: "{{ context.set('version' , context.eval('document').version ) }}",
|
|
2920
|
-
}
|
|
2921
|
-
]
|
|
2923
|
+
},
|
|
2924
|
+
],
|
|
2922
2925
|
},
|
|
2923
2926
|
},
|
|
2924
2927
|
validations: [
|
|
@@ -2933,7 +2936,7 @@ async function reviewFactory(injector) {
|
|
|
2933
2936
|
groupId: 'section',
|
|
2934
2937
|
schema: {
|
|
2935
2938
|
dataType: 'string',
|
|
2936
|
-
defaultValue:
|
|
2939
|
+
defaultValue: '{{ session.currentUser().id }}',
|
|
2937
2940
|
interface: {
|
|
2938
2941
|
type: AXPWidgetsCatalog.lookup,
|
|
2939
2942
|
options: {
|
|
@@ -3084,7 +3087,7 @@ async function reviewFactory(injector) {
|
|
|
3084
3087
|
{ name: 'comment' },
|
|
3085
3088
|
{ name: 'reviewedAt' },
|
|
3086
3089
|
{ name: 'modifiedAt' },
|
|
3087
|
-
{ name: 'modifiedBy' }
|
|
3090
|
+
{ name: 'modifiedBy' },
|
|
3088
3091
|
],
|
|
3089
3092
|
commands: {
|
|
3090
3093
|
create: {
|
|
@@ -3093,7 +3096,7 @@ async function reviewFactory(injector) {
|
|
|
3093
3096
|
if (!data.reviewedAt) {
|
|
3094
3097
|
data.reviewedAt = new Date();
|
|
3095
3098
|
}
|
|
3096
|
-
//TODO for test
|
|
3099
|
+
//TODO for test
|
|
3097
3100
|
data.reviewStatus = 'Approved';
|
|
3098
3101
|
// Create the review record
|
|
3099
3102
|
const res = await dataService.insertOne(data);
|
|
@@ -3111,7 +3114,7 @@ async function reviewFactory(injector) {
|
|
|
3111
3114
|
execute: async (data) => {
|
|
3112
3115
|
// Update reviewedAt to current date
|
|
3113
3116
|
data.reviewedAt = new Date();
|
|
3114
|
-
//TODO for test
|
|
3117
|
+
//TODO for test
|
|
3115
3118
|
data.reviewStatus = 'Approved';
|
|
3116
3119
|
// Update the review record
|
|
3117
3120
|
const result = await dataService.updateOne(data.id, data);
|
|
@@ -3134,7 +3137,7 @@ async function reviewFactory(injector) {
|
|
|
3134
3137
|
},
|
|
3135
3138
|
list: {
|
|
3136
3139
|
execute: async (e) => {
|
|
3137
|
-
const a = await dataService.query(
|
|
3140
|
+
const a = await dataService.query(e);
|
|
3138
3141
|
console.log(a);
|
|
3139
3142
|
return a;
|
|
3140
3143
|
},
|
|
@@ -3412,28 +3415,15 @@ async function distributionFactory(injector) {
|
|
|
3412
3415
|
},
|
|
3413
3416
|
relatedEntities: [
|
|
3414
3417
|
{
|
|
3415
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.
|
|
3416
|
-
columns: [
|
|
3418
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.distributionInteraction.name}`,
|
|
3419
|
+
columns: [],
|
|
3417
3420
|
conditions: [
|
|
3418
3421
|
{
|
|
3419
|
-
name: '
|
|
3422
|
+
name: 'documentDistributionId',
|
|
3420
3423
|
operator: {
|
|
3421
3424
|
type: 'equal',
|
|
3422
3425
|
},
|
|
3423
|
-
value: '{{context.eval("
|
|
3424
|
-
},
|
|
3425
|
-
],
|
|
3426
|
-
},
|
|
3427
|
-
{
|
|
3428
|
-
entity: 'SecurityManagement.users',
|
|
3429
|
-
columns: ['username'],
|
|
3430
|
-
conditions: [
|
|
3431
|
-
{
|
|
3432
|
-
name: 'id',
|
|
3433
|
-
operator: {
|
|
3434
|
-
type: 'in',
|
|
3435
|
-
},
|
|
3436
|
-
value: '{{context.eval("assignedTo")}}',
|
|
3426
|
+
value: '{{context.eval("id")}}',
|
|
3437
3427
|
},
|
|
3438
3428
|
],
|
|
3439
3429
|
},
|
|
@@ -3496,8 +3486,40 @@ async function distributionFactory(injector) {
|
|
|
3496
3486
|
},
|
|
3497
3487
|
],
|
|
3498
3488
|
},
|
|
3489
|
+
{
|
|
3490
|
+
name: 'viewedCount',
|
|
3491
|
+
title: `t("viewed-count", { scope: "${i18n}" })`,
|
|
3492
|
+
schema: {
|
|
3493
|
+
dataType: 'string',
|
|
3494
|
+
interface: {
|
|
3495
|
+
type: AXPWidgetsCatalog.text,
|
|
3496
|
+
},
|
|
3497
|
+
},
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
name: 'signedCount',
|
|
3501
|
+
title: `t("signed-count", { scope: "${i18n}" })`,
|
|
3502
|
+
schema: {
|
|
3503
|
+
dataType: 'string',
|
|
3504
|
+
interface: {
|
|
3505
|
+
type: AXPWidgetsCatalog.text,
|
|
3506
|
+
},
|
|
3507
|
+
},
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
name: 'status',
|
|
3511
|
+
title: `t("status", { scope: "${i18n}" })`,
|
|
3512
|
+
schema: {
|
|
3513
|
+
dataType: 'string',
|
|
3514
|
+
interface: {
|
|
3515
|
+
type: AXPWidgetsCatalog.text,
|
|
3516
|
+
},
|
|
3517
|
+
},
|
|
3518
|
+
},
|
|
3519
|
+
],
|
|
3520
|
+
columns: [{ name: 'documentId', options: { dataPath: 'document.name' } }, { name: 'version' },
|
|
3521
|
+
{ name: 'viewedCount' }, { name: 'signedCount' }, { name: 'status' }
|
|
3499
3522
|
],
|
|
3500
|
-
columns: [{ name: 'documentId', options: { dataPath: 'document.name' } }, { name: 'version' }],
|
|
3501
3523
|
commands: {
|
|
3502
3524
|
create: {
|
|
3503
3525
|
execute: async (data) => {
|
|
@@ -3525,7 +3547,7 @@ async function distributionFactory(injector) {
|
|
|
3525
3547
|
},
|
|
3526
3548
|
list: {
|
|
3527
3549
|
execute: async (e) => {
|
|
3528
|
-
const x = await dataService.query(
|
|
3550
|
+
const x = await dataService.query(e);
|
|
3529
3551
|
console.log(x);
|
|
3530
3552
|
return x;
|
|
3531
3553
|
},
|
|
@@ -3597,7 +3619,7 @@ async function distributionFactory(injector) {
|
|
|
3597
3619
|
],
|
|
3598
3620
|
},
|
|
3599
3621
|
single: {
|
|
3600
|
-
title: `{{document.name}}
|
|
3622
|
+
title: `{{document.name}}`,
|
|
3601
3623
|
sections: [
|
|
3602
3624
|
{
|
|
3603
3625
|
id: 'section',
|
|
@@ -3634,22 +3656,7 @@ async function distributionFactory(injector) {
|
|
|
3634
3656
|
},
|
|
3635
3657
|
},
|
|
3636
3658
|
],
|
|
3637
|
-
actions: [
|
|
3638
|
-
{
|
|
3639
|
-
title: `t("document-distribution.sign", { scope: "${i18n}" })`,
|
|
3640
|
-
command: {
|
|
3641
|
-
name: 'document-signature',
|
|
3642
|
-
options: {
|
|
3643
|
-
id: '{{context.eval("id")}}',
|
|
3644
|
-
title: '{{context.eval("document.name")}}',
|
|
3645
|
-
}
|
|
3646
|
-
},
|
|
3647
|
-
priority: 'primary',
|
|
3648
|
-
type: 'sign',
|
|
3649
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
3650
|
-
hidden: '{{context.eval("status") == "Draft"}}',
|
|
3651
|
-
},
|
|
3652
|
-
],
|
|
3659
|
+
actions: [],
|
|
3653
3660
|
},
|
|
3654
3661
|
list: {
|
|
3655
3662
|
actions: [
|
|
@@ -3732,22 +3739,9 @@ async function distributionInteractionFactory(injector) {
|
|
|
3732
3739
|
],
|
|
3733
3740
|
properties: [
|
|
3734
3741
|
{
|
|
3735
|
-
name: '
|
|
3736
|
-
title: `t("
|
|
3742
|
+
name: 'user',
|
|
3743
|
+
title: `t("user", { scope: "common" })`,
|
|
3737
3744
|
groupId: 'section',
|
|
3738
|
-
options: {
|
|
3739
|
-
sort: {
|
|
3740
|
-
enabled: true,
|
|
3741
|
-
},
|
|
3742
|
-
filter: {
|
|
3743
|
-
advance: {
|
|
3744
|
-
enabled: true,
|
|
3745
|
-
},
|
|
3746
|
-
inline: {
|
|
3747
|
-
enabled: false,
|
|
3748
|
-
},
|
|
3749
|
-
},
|
|
3750
|
-
},
|
|
3751
3745
|
schema: {
|
|
3752
3746
|
dataType: 'string',
|
|
3753
3747
|
interface: {
|
|
@@ -3761,36 +3755,55 @@ async function distributionInteractionFactory(injector) {
|
|
|
3761
3755
|
],
|
|
3762
3756
|
},
|
|
3763
3757
|
{
|
|
3764
|
-
name: '
|
|
3765
|
-
title: `t("
|
|
3758
|
+
name: 'hasViewed',
|
|
3759
|
+
title: `t("has-view", { scope: "${i18n}" })`,
|
|
3766
3760
|
groupId: 'section',
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3761
|
+
schema: {
|
|
3762
|
+
dataType: 'boolean',
|
|
3763
|
+
interface: {
|
|
3764
|
+
type: AXPWidgetsCatalog.toggle,
|
|
3770
3765
|
},
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3766
|
+
},
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
name: 'hasSigned',
|
|
3770
|
+
title: `t("has-signed", { scope: "${i18n}" })`,
|
|
3771
|
+
groupId: 'section',
|
|
3772
|
+
schema: {
|
|
3773
|
+
dataType: 'boolean',
|
|
3774
|
+
interface: {
|
|
3775
|
+
type: AXPWidgetsCatalog.toggle,
|
|
3778
3776
|
},
|
|
3779
3777
|
},
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
name: 'lastViewDate',
|
|
3781
|
+
title: `t("view-at", { scope: "${i18n}" })`,
|
|
3782
|
+
groupId: 'section',
|
|
3780
3783
|
schema: {
|
|
3781
|
-
dataType: '
|
|
3784
|
+
dataType: 'date',
|
|
3782
3785
|
interface: {
|
|
3783
|
-
type: AXPWidgetsCatalog.
|
|
3786
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
3784
3787
|
},
|
|
3785
3788
|
},
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
name: 'lastSignDate',
|
|
3792
|
+
title: `t("signed-at", { scope: "${i18n}" })`,
|
|
3793
|
+
groupId: 'section',
|
|
3794
|
+
schema: {
|
|
3795
|
+
dataType: 'date',
|
|
3796
|
+
interface: {
|
|
3797
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
3789
3798
|
},
|
|
3790
|
-
|
|
3799
|
+
},
|
|
3791
3800
|
},
|
|
3792
3801
|
],
|
|
3793
|
-
columns: [{ name: '
|
|
3802
|
+
columns: [{ name: 'user', options: { dataPath: 'user.title' } }, { name: 'hasViewed' },
|
|
3803
|
+
{ name: 'lastViewDate' },
|
|
3804
|
+
{ name: 'hasSigned' },
|
|
3805
|
+
{ name: 'lastSignDate' }
|
|
3806
|
+
],
|
|
3794
3807
|
commands: {
|
|
3795
3808
|
create: {
|
|
3796
3809
|
execute: async (data) => {
|
|
@@ -3818,7 +3831,9 @@ async function distributionInteractionFactory(injector) {
|
|
|
3818
3831
|
},
|
|
3819
3832
|
list: {
|
|
3820
3833
|
execute: async (e) => {
|
|
3821
|
-
|
|
3834
|
+
const x = await dataService.query(e);
|
|
3835
|
+
console.log(x);
|
|
3836
|
+
return x;
|
|
3822
3837
|
},
|
|
3823
3838
|
type: AXPEntityQueryType.List,
|
|
3824
3839
|
},
|
|
@@ -3928,39 +3943,10 @@ async function distributionInteractionFactory(injector) {
|
|
|
3928
3943
|
actions: [],
|
|
3929
3944
|
},
|
|
3930
3945
|
list: {
|
|
3931
|
-
actions: [
|
|
3932
|
-
{
|
|
3933
|
-
title: `t("create", { scope: "common" })`,
|
|
3934
|
-
command: 'create-entity',
|
|
3935
|
-
priority: 'primary',
|
|
3936
|
-
type: 'create',
|
|
3937
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
title: 't("deleteItems", { scope: "common" })',
|
|
3941
|
-
command: 'delete-entity',
|
|
3942
|
-
priority: 'primary',
|
|
3943
|
-
type: 'delete',
|
|
3944
|
-
scope: AXPEntityCommandScope.Selected,
|
|
3945
|
-
},
|
|
3946
|
-
{
|
|
3947
|
-
title: 't("detail", { scope: "common" })',
|
|
3948
|
-
command: 'open-entity',
|
|
3949
|
-
priority: 'secondary',
|
|
3950
|
-
type: 'view',
|
|
3951
|
-
scope: AXPEntityCommandScope.Individual,
|
|
3952
|
-
},
|
|
3953
|
-
{
|
|
3954
|
-
title: 't("delete", { scope: "common" })',
|
|
3955
|
-
command: 'delete-entity',
|
|
3956
|
-
priority: 'secondary',
|
|
3957
|
-
type: 'delete',
|
|
3958
|
-
scope: AXPEntityCommandScope.Individual,
|
|
3959
|
-
},
|
|
3960
|
-
],
|
|
3946
|
+
actions: [],
|
|
3961
3947
|
views: [
|
|
3962
3948
|
createAllQueryView({
|
|
3963
|
-
sorts: [{ name: 'name', dir: 'asc' }]
|
|
3949
|
+
sorts: [{ name: 'name', dir: 'asc' }],
|
|
3964
3950
|
}),
|
|
3965
3951
|
],
|
|
3966
3952
|
},
|
|
@@ -5176,8 +5162,10 @@ class AXMDocumentSignaturePopupAction extends AXPWorkflowAction {
|
|
|
5176
5162
|
async execute(context) {
|
|
5177
5163
|
const documentId = context.getVariable('options.id');
|
|
5178
5164
|
const documentTitle = context.getVariable('options.title');
|
|
5179
|
-
const
|
|
5165
|
+
const fileId = context.getVariable('options.fileId');
|
|
5166
|
+
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs')
|
|
5180
5167
|
.then(x => x.AXMDocumentSignaturePopupComponent);
|
|
5168
|
+
console.log(fileId);
|
|
5181
5169
|
const result = await this.popupService.open(comp, {
|
|
5182
5170
|
title: await this.translationService.translateAsync('document-signature.title', {
|
|
5183
5171
|
scope: 'document-management',
|
|
@@ -5186,7 +5174,8 @@ class AXMDocumentSignaturePopupAction extends AXPWorkflowAction {
|
|
|
5186
5174
|
size: 'md',
|
|
5187
5175
|
data: {
|
|
5188
5176
|
documentId,
|
|
5189
|
-
documentTitle
|
|
5177
|
+
documentTitle,
|
|
5178
|
+
fileId
|
|
5190
5179
|
}
|
|
5191
5180
|
});
|
|
5192
5181
|
context.setOutput('confirmed', result.data?.confirmed || false);
|
|
@@ -5773,7 +5762,7 @@ class AXMDocumentManagerService {
|
|
|
5773
5762
|
* Moves a node to another location
|
|
5774
5763
|
*/
|
|
5775
5764
|
async moveTo(options) {
|
|
5776
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
5765
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-B66hegSh.mjs')).AXMDocumentDriveChooseComponent;
|
|
5777
5766
|
const popup = await this.popupService.open(comp, {
|
|
5778
5767
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
5779
5768
|
data: {
|
|
@@ -5806,7 +5795,7 @@ class AXMDocumentManagerService {
|
|
|
5806
5795
|
* Copies a node to another location
|
|
5807
5796
|
*/
|
|
5808
5797
|
async copyTo(options) {
|
|
5809
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
5798
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-B66hegSh.mjs')).AXMDocumentDriveChooseComponent;
|
|
5810
5799
|
const popup = await this.popupService.open(comp, {
|
|
5811
5800
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
5812
5801
|
data: {
|
|
@@ -6152,7 +6141,7 @@ class AXMDocumentManagerService {
|
|
|
6152
6141
|
* Shows folder edit dialog
|
|
6153
6142
|
*/
|
|
6154
6143
|
async showFolderEditDialog(node) {
|
|
6155
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6144
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs'))
|
|
6156
6145
|
.AXMCreateFolderDialog;
|
|
6157
6146
|
const popup = await this.popupService.open(comp, {
|
|
6158
6147
|
title: await this.translate.translateAsync('@document-management:actions.update-folder'),
|
|
@@ -6166,7 +6155,7 @@ class AXMDocumentManagerService {
|
|
|
6166
6155
|
* Shows create folder dialog
|
|
6167
6156
|
*/
|
|
6168
6157
|
async showCreateFolderDialog(parentId) {
|
|
6169
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6158
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs'))
|
|
6170
6159
|
.AXMCreateFolderDialog;
|
|
6171
6160
|
const popup = await this.popupService.open(comp, {
|
|
6172
6161
|
title: await this.translate.translateAsync('@document-management:actions.create-folder'),
|
|
@@ -6180,7 +6169,7 @@ class AXMDocumentManagerService {
|
|
|
6180
6169
|
* Shows rename popup for a node
|
|
6181
6170
|
*/
|
|
6182
6171
|
async showRenamePopup(node) {
|
|
6183
|
-
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-
|
|
6172
|
+
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs'))
|
|
6184
6173
|
.AXMRenameNodeDialog;
|
|
6185
6174
|
const popup = await this.popupService.open(comp, {
|
|
6186
6175
|
title: 't("actions.rename")',
|
|
@@ -6206,7 +6195,7 @@ class AXMDocumentManagerService {
|
|
|
6206
6195
|
* Shows choose file dialog
|
|
6207
6196
|
*/
|
|
6208
6197
|
async showChooseFileDialog(scope) {
|
|
6209
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6198
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-B66hegSh.mjs')).AXMDocumentDriveChooseComponent;
|
|
6210
6199
|
const result = await this.popupService.open(comp, {
|
|
6211
6200
|
title: await this.translate.translateAsync('@document-management:actions.choose-from-drive'),
|
|
6212
6201
|
data: {
|
|
@@ -7463,13 +7452,13 @@ class AXMDocumentExplorerComponent {
|
|
|
7463
7452
|
this.showContextMenu = input(true, ...(ngDevMode ? [{ debugName: "showContextMenu" }] : []));
|
|
7464
7453
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : []));
|
|
7465
7454
|
this.viewMap = {
|
|
7466
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
|
7467
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
7468
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
7469
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
|
7470
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
|
7471
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
|
7472
|
-
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-
|
|
7455
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-oDeeGScM.mjs')).AXMDocumentExplorerListViewComponent,
|
|
7456
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
7457
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
7458
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-7OR6bXr-.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
7459
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
7460
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
7461
|
+
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs')).AXMDocumentExplorerAttachmentComponent,
|
|
7473
7462
|
};
|
|
7474
7463
|
this.#effect = effect(() => {
|
|
7475
7464
|
if (this.vm.loadingFolderId() == null) {
|
|
@@ -7941,7 +7930,7 @@ class AXPMetaSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
7941
7930
|
* Handle adding new metadata items
|
|
7942
7931
|
*/
|
|
7943
7932
|
async handleAddClick() {
|
|
7944
|
-
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-
|
|
7933
|
+
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs')).AXPMetaChoosePopupComponent;
|
|
7945
7934
|
const result = await this.popupService.open(comp, {
|
|
7946
7935
|
title: 'Meta Selector',
|
|
7947
7936
|
data: {
|
|
@@ -7969,7 +7958,7 @@ class AXPMetaSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
7969
7958
|
* Handle editing a metadata item
|
|
7970
7959
|
*/
|
|
7971
7960
|
async handleMetaEdit(item) {
|
|
7972
|
-
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-
|
|
7961
|
+
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs')).AXPMetaChoosePopupComponent;
|
|
7973
7962
|
const result = await this.popupService.open(comp, {
|
|
7974
7963
|
title: 'Edit Meta Selector',
|
|
7975
7964
|
data: {
|
|
@@ -8259,6 +8248,7 @@ class AXMDocumentDistributionTaskProvider extends AXPWorkflowTaskProvider {
|
|
|
8259
8248
|
constructor() {
|
|
8260
8249
|
super(...arguments);
|
|
8261
8250
|
this.documentService = inject(AXMDistributionService);
|
|
8251
|
+
this.workflowService = inject(AXPWorkflowService);
|
|
8262
8252
|
}
|
|
8263
8253
|
get name() {
|
|
8264
8254
|
return 'document-distribution';
|
|
@@ -8315,6 +8305,7 @@ class AXMDocumentDistributionTaskProvider extends AXPWorkflowTaskProvider {
|
|
|
8315
8305
|
id: item.createdBy ?? '',
|
|
8316
8306
|
type: 'user',
|
|
8317
8307
|
},
|
|
8308
|
+
data: item,
|
|
8318
8309
|
})),
|
|
8319
8310
|
total: filteredList.total,
|
|
8320
8311
|
};
|
|
@@ -8331,17 +8322,22 @@ class AXMDocumentDistributionTaskProvider extends AXPWorkflowTaskProvider {
|
|
|
8331
8322
|
return tasksToUpdate;
|
|
8332
8323
|
}
|
|
8333
8324
|
async executeCommand(command) {
|
|
8334
|
-
if (command.name === '
|
|
8335
|
-
|
|
8325
|
+
if (command.name === 'document-signature') {
|
|
8326
|
+
this.workflowService.execute(command.name, command);
|
|
8336
8327
|
}
|
|
8337
8328
|
return { success: true };
|
|
8338
8329
|
}
|
|
8339
8330
|
async getActions(task) {
|
|
8340
8331
|
const edit = {
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8332
|
+
title: `t("document-distribution.sign", { scope: "${RootConfig.config.i18n}" })`,
|
|
8333
|
+
command: {
|
|
8334
|
+
name: 'document-signature',
|
|
8335
|
+
options: {
|
|
8336
|
+
id: task?.id,
|
|
8337
|
+
title: task?.title,
|
|
8338
|
+
fileId: task?.data?.document?.fileId,
|
|
8339
|
+
}
|
|
8340
|
+
},
|
|
8345
8341
|
};
|
|
8346
8342
|
return [edit];
|
|
8347
8343
|
}
|
|
@@ -8358,121 +8354,8 @@ class AXMDocumentDistributionTaskProvider extends AXPWorkflowTaskProvider {
|
|
|
8358
8354
|
}
|
|
8359
8355
|
}
|
|
8360
8356
|
|
|
8361
|
-
/**
|
|
8362
|
-
* Handles file list fields configured via entity.extensions.attachments.
|
|
8363
|
-
* Works for create and update: uploads pending blob entries after persistence and writes final references.
|
|
8364
|
-
*/
|
|
8365
|
-
const attachmentsUploadMiddleware = {
|
|
8366
|
-
target: { ops: ['create', 'update'], order: 70 },
|
|
8367
|
-
execute: async (ctx, next) => {
|
|
8368
|
-
const registry = inject(AXPEntityDefinitionRegistryService);
|
|
8369
|
-
const storage = inject(AXPFileStorageService);
|
|
8370
|
-
const [moduleName, entityNameOnly] = ctx.entityName.split('.');
|
|
8371
|
-
const def = await registry.resolve(moduleName, entityNameOnly).catch(() => null);
|
|
8372
|
-
const attachCfg = def?.extensions?.attachments;
|
|
8373
|
-
if (!attachCfg || !attachCfg.field) {
|
|
8374
|
-
await next();
|
|
8375
|
-
return;
|
|
8376
|
-
}
|
|
8377
|
-
const field = attachCfg.field;
|
|
8378
|
-
// Pre: normalize input
|
|
8379
|
-
if (ctx.data && typeof ctx.data === 'object') {
|
|
8380
|
-
const list = Array.isArray(ctx.data[field]) ? ctx.data[field] : [];
|
|
8381
|
-
ctx.locals.attach_pending = [];
|
|
8382
|
-
const normalized = [];
|
|
8383
|
-
for (const item of list) {
|
|
8384
|
-
if (item?.source?.kind === 'blob' && item.source.value instanceof Blob) {
|
|
8385
|
-
const blob = item.source.value;
|
|
8386
|
-
const name = item.name || `file-${Date.now()}`;
|
|
8387
|
-
ctx.locals.attach_pending.push({ fileItem: { ...item, name }, blob });
|
|
8388
|
-
normalized.push({
|
|
8389
|
-
tempId: item.id,
|
|
8390
|
-
name,
|
|
8391
|
-
size: item.size ?? blob.size,
|
|
8392
|
-
status: 'pending_upload',
|
|
8393
|
-
});
|
|
8394
|
-
}
|
|
8395
|
-
else if (item?.source?.kind === 'fileId' && item.id && typeof item.source.value === 'string') {
|
|
8396
|
-
normalized.push({
|
|
8397
|
-
id: item.id,
|
|
8398
|
-
name: item.name,
|
|
8399
|
-
size: item.size,
|
|
8400
|
-
status: item.status || 'uploaded',
|
|
8401
|
-
source: { kind: 'fileId', value: item.source.value },
|
|
8402
|
-
});
|
|
8403
|
-
}
|
|
8404
|
-
else if (item?.id && item?.name) {
|
|
8405
|
-
normalized.push({
|
|
8406
|
-
id: item.id,
|
|
8407
|
-
name: item.name,
|
|
8408
|
-
size: item.size,
|
|
8409
|
-
status: item.status || 'uploaded',
|
|
8410
|
-
source: item.source ? { kind: item.source.kind, value: item.source.value } : undefined,
|
|
8411
|
-
});
|
|
8412
|
-
}
|
|
8413
|
-
}
|
|
8414
|
-
ctx.data[field] = normalized;
|
|
8415
|
-
}
|
|
8416
|
-
await next();
|
|
8417
|
-
// Post: upload pending blobs and persist final references
|
|
8418
|
-
const pending = (ctx.locals.attach_pending ?? []);
|
|
8419
|
-
if (!pending.length)
|
|
8420
|
-
return;
|
|
8421
|
-
if (!storage)
|
|
8422
|
-
return;
|
|
8423
|
-
const finalRefs = (ctx.data[field] ?? []).filter((x) => x.status !== 'pending_upload');
|
|
8424
|
-
const refId = ctx.op === 'create' ? String(ctx.result) : String(ctx.id);
|
|
8425
|
-
const refType = ctx.entityName;
|
|
8426
|
-
for (const { fileItem, blob } of pending) {
|
|
8427
|
-
try {
|
|
8428
|
-
const info = await storage.save({ file: blob, refId, refType, category: '', name: fileItem.name });
|
|
8429
|
-
await storage.commit(info.fileId);
|
|
8430
|
-
finalRefs.push({
|
|
8431
|
-
id: info.fileId,
|
|
8432
|
-
name: info.name || fileItem.name,
|
|
8433
|
-
size: info.size || blob.size,
|
|
8434
|
-
type: info.mimeType || blob.type,
|
|
8435
|
-
status: 'uploaded',
|
|
8436
|
-
source: { kind: 'fileId', value: info.fileId },
|
|
8437
|
-
});
|
|
8438
|
-
}
|
|
8439
|
-
catch (err) {
|
|
8440
|
-
finalRefs.push({
|
|
8441
|
-
tempId: fileItem.id,
|
|
8442
|
-
name: fileItem.name,
|
|
8443
|
-
size: fileItem.size,
|
|
8444
|
-
type: blob.type,
|
|
8445
|
-
status: 'upload_failed',
|
|
8446
|
-
error: err?.message,
|
|
8447
|
-
});
|
|
8448
|
-
}
|
|
8449
|
-
}
|
|
8450
|
-
// Write back final references
|
|
8451
|
-
if (ctx.op === 'create') {
|
|
8452
|
-
try {
|
|
8453
|
-
await registry.entityResolver?.get; // noop to avoid unused warnings
|
|
8454
|
-
// Use backend raw update if available, else rely on service update separately
|
|
8455
|
-
// We only have insertOneRaw exposed; so update via public service layer is not here.
|
|
8456
|
-
// Instead, patch ctx.result if present to reflect UI immediately
|
|
8457
|
-
ctx.result = { ...ctx.result, [field]: finalRefs };
|
|
8458
|
-
}
|
|
8459
|
-
catch { }
|
|
8460
|
-
}
|
|
8461
|
-
else {
|
|
8462
|
-
ctx.result = { ...ctx.result, [field]: finalRefs };
|
|
8463
|
-
}
|
|
8464
|
-
},
|
|
8465
|
-
};
|
|
8466
|
-
|
|
8467
8357
|
/**
|
|
8468
8358
|
* attachments plugin
|
|
8469
|
-
* Options:
|
|
8470
|
-
* - field: string (property name to hold file list, e.g., 'imageId')
|
|
8471
|
-
* - accept?: string (e.g., '.jpg,.png')
|
|
8472
|
-
* - multiple?: boolean (default true)
|
|
8473
|
-
* - titleKey?: string (i18n key for action title)
|
|
8474
|
-
* - label?: string (fallback action label)
|
|
8475
|
-
* - fileEditable?: boolean (default true)
|
|
8476
8359
|
* Notes:
|
|
8477
8360
|
* - Always ensures an 'attachments' group and single-view section
|
|
8478
8361
|
* - Always ensures the property exists if missing
|
|
@@ -8484,19 +8367,20 @@ const attachmentsPlugin = {
|
|
|
8484
8367
|
apply: (ctx, options) => {
|
|
8485
8368
|
const opts = options ?? {};
|
|
8486
8369
|
const field = opts.field && opts.field.trim().length > 0 ? opts.field : 'attachments';
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
const
|
|
8370
|
+
const displayTitle = opts.title && opts.title.trim().length > 0 ? opts.title : 'Attachments';
|
|
8371
|
+
// Ensure group and section ids (unique per field)
|
|
8372
|
+
const sectionId = `attachments-${field}`;
|
|
8373
|
+
const groupIdForProperty = `attachments-${field}`;
|
|
8490
8374
|
const existingGroups = ctx.groups.list() ?? [];
|
|
8491
8375
|
if (!existingGroups.some((g) => g.id === groupIdForProperty)) {
|
|
8492
|
-
ctx.groups.add({ id: groupIdForProperty, title:
|
|
8376
|
+
ctx.groups.add({ id: groupIdForProperty, title: displayTitle });
|
|
8493
8377
|
}
|
|
8494
8378
|
// Ensure property exists (using a generic file-uploader interface)
|
|
8495
8379
|
const props = ctx.properties.list();
|
|
8496
8380
|
if (!props.some((p) => p.name === field)) {
|
|
8497
8381
|
ctx.properties.add({
|
|
8498
8382
|
name: field,
|
|
8499
|
-
title:
|
|
8383
|
+
title: displayTitle,
|
|
8500
8384
|
groupId: groupIdForProperty,
|
|
8501
8385
|
schema: {
|
|
8502
8386
|
dataType: 'string',
|
|
@@ -8506,6 +8390,7 @@ const attachmentsPlugin = {
|
|
|
8506
8390
|
multiple: opts.multiple ?? true,
|
|
8507
8391
|
accept: opts.accept,
|
|
8508
8392
|
fileEditable: opts.fileEditable ?? true,
|
|
8393
|
+
fileIds: `{{ context.eval("${field}") }}`,
|
|
8509
8394
|
},
|
|
8510
8395
|
},
|
|
8511
8396
|
},
|
|
@@ -8523,7 +8408,7 @@ const attachmentsPlugin = {
|
|
|
8523
8408
|
const next = single ?? { title: ctx.entity.title, sections: [], properties: [] };
|
|
8524
8409
|
next.sections = next.sections ?? [];
|
|
8525
8410
|
if (!next.sections.some((s) => s.id === sectionId)) {
|
|
8526
|
-
next.sections.push({ id: sectionId });
|
|
8411
|
+
next.sections.push({ id: sectionId, title: displayTitle });
|
|
8527
8412
|
}
|
|
8528
8413
|
next.properties = next.properties ?? [];
|
|
8529
8414
|
if (!next.properties.some((p) => p.name === field)) {
|
|
@@ -8542,7 +8427,7 @@ const attachmentsPlugin = {
|
|
|
8542
8427
|
const next = create ?? { sections: [], properties: [] };
|
|
8543
8428
|
next.sections = next.sections ?? [];
|
|
8544
8429
|
if (!next.sections.some((s) => s.id === sectionId)) {
|
|
8545
|
-
next.sections.push({ id: sectionId });
|
|
8430
|
+
next.sections.push({ id: sectionId, title: displayTitle });
|
|
8546
8431
|
}
|
|
8547
8432
|
next.properties = next.properties ?? [];
|
|
8548
8433
|
if (!next.properties.some((p) => p.name === field)) {
|
|
@@ -8560,7 +8445,7 @@ const attachmentsPlugin = {
|
|
|
8560
8445
|
const next = modify ?? { sections: [], properties: [] };
|
|
8561
8446
|
next.sections = next.sections ?? [];
|
|
8562
8447
|
if (!next.sections.some((s) => s.id === sectionId)) {
|
|
8563
|
-
next.sections.push({ id: sectionId });
|
|
8448
|
+
next.sections.push({ id: sectionId, title: displayTitle });
|
|
8564
8449
|
}
|
|
8565
8450
|
next.properties = next.properties ?? [];
|
|
8566
8451
|
if (!next.properties.some((p) => p.name === field)) {
|
|
@@ -8578,9 +8463,11 @@ const attachmentsPlugin = {
|
|
|
8578
8463
|
ctx.interfaces.update((i) => {
|
|
8579
8464
|
const actions = i.master.list.actions;
|
|
8580
8465
|
const cmdName = 'show-file-uploader-popup';
|
|
8581
|
-
|
|
8466
|
+
const actionName = `attachments-${field}`;
|
|
8467
|
+
if (!actionExists(actions, cmdName, actionName)) {
|
|
8582
8468
|
actions.push({
|
|
8583
|
-
|
|
8469
|
+
name: actionName,
|
|
8470
|
+
title: opts.titleKey ?? opts.label ?? '@document-management:actions.upload-files',
|
|
8584
8471
|
command: {
|
|
8585
8472
|
name: cmdName,
|
|
8586
8473
|
options: {
|
|
@@ -8601,7 +8488,8 @@ const attachmentsPlugin = {
|
|
|
8601
8488
|
});
|
|
8602
8489
|
// Stamp normalized config for middleware
|
|
8603
8490
|
ctx.entity.extensions ??= {};
|
|
8604
|
-
ctx.entity.extensions.attachments
|
|
8491
|
+
ctx.entity.extensions.attachments ??= {};
|
|
8492
|
+
ctx.entity.extensions.attachments[field] = { title: displayTitle };
|
|
8605
8493
|
},
|
|
8606
8494
|
};
|
|
8607
8495
|
|
|
@@ -8618,11 +8506,11 @@ function routesFacory() {
|
|
|
8618
8506
|
children: [
|
|
8619
8507
|
{
|
|
8620
8508
|
path: '',
|
|
8621
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
8509
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DZhd1DUn.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
8622
8510
|
},
|
|
8623
8511
|
{
|
|
8624
8512
|
path: ':id',
|
|
8625
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
8513
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DZhd1DUn.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
8626
8514
|
},
|
|
8627
8515
|
],
|
|
8628
8516
|
},
|
|
@@ -8676,7 +8564,7 @@ class AXMDocumentManagementModule {
|
|
|
8676
8564
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
8677
8565
|
useFactory: async () => {
|
|
8678
8566
|
const injector = inject(Injector);
|
|
8679
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
|
8567
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs')).AXMPermissionDefinitionProvider;
|
|
8680
8568
|
return new provider(injector);
|
|
8681
8569
|
},
|
|
8682
8570
|
multi: true,
|
|
@@ -8696,7 +8584,7 @@ class AXMDocumentManagementModule {
|
|
|
8696
8584
|
useClass: AXMDocumentDistributionTaskProvider,
|
|
8697
8585
|
multi: true,
|
|
8698
8586
|
},
|
|
8699
|
-
{ provide: AXP_ENTITY_STORAGE_MIDDLEWARE, multi: true, useValue: attachmentsUploadMiddleware },
|
|
8587
|
+
//{ provide: AXP_ENTITY_STORAGE_MIDDLEWARE, multi: true, useValue: attachmentsUploadMiddleware },
|
|
8700
8588
|
{ provide: AXP_ENTITY_ACTION_PLUGIN, multi: true, useValue: attachmentsPlugin },
|
|
8701
8589
|
{
|
|
8702
8590
|
provide: ROUTES,
|
|
@@ -8814,7 +8702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
8814
8702
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
8815
8703
|
useFactory: async () => {
|
|
8816
8704
|
const injector = inject(Injector);
|
|
8817
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
|
8705
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs')).AXMPermissionDefinitionProvider;
|
|
8818
8706
|
return new provider(injector);
|
|
8819
8707
|
},
|
|
8820
8708
|
multi: true,
|
|
@@ -8834,7 +8722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
8834
8722
|
useClass: AXMDocumentDistributionTaskProvider,
|
|
8835
8723
|
multi: true,
|
|
8836
8724
|
},
|
|
8837
|
-
{ provide: AXP_ENTITY_STORAGE_MIDDLEWARE, multi: true, useValue: attachmentsUploadMiddleware },
|
|
8725
|
+
//{ provide: AXP_ENTITY_STORAGE_MIDDLEWARE, multi: true, useValue: attachmentsUploadMiddleware },
|
|
8838
8726
|
{ provide: AXP_ENTITY_ACTION_PLUGIN, multi: true, useValue: attachmentsPlugin },
|
|
8839
8727
|
{
|
|
8840
8728
|
provide: ROUTES,
|
|
@@ -8849,5 +8737,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
8849
8737
|
* Generated bundle index. Do not edit.
|
|
8850
8738
|
*/
|
|
8851
8739
|
|
|
8852
|
-
export { AXPDocumentExplorerViewModel as A,
|
|
8853
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
|
8740
|
+
export { AXPDocumentExplorerViewModel as A, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as B, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as C, folderFactory as D, AXMFolderService as E, AXMFolderServiceImpl as F, reviewFactory as G, AXMReviewService as H, AXMReviewServiceImpl as I, distributionFactory as J, AXMDistributionService as K, AXMDistributionServiceImpl as L, distributionInteractionFactory as M, AXMDistributionInteractionServiceImpl as N, AXMEntityProvider as O, AXMMenuProvider as P, AXMSearchCommandProvider as Q, RootConfig as R, AXMSettingProvider as S, AXMDocumentManagerService as a, AXMDocumentExplorerComponent as b, AXMPermissionsKeys as c, AXMDistributionInteractionService as d, AXMFolderPathBreadcrumbsComponent as e, AXMDocumentTypeService as f, AXMDocumentManagementModule as g, documentFactory as h, AXMDocumentManagementDocumentEntityModule as i, AXMDocumentService as j, AXMDocumentServiceImpl as k, getNextStatus as l, canTransition as m, documentTypeFactory as n, AXMDocumentManagementDocumentTypeEntityModule as o, AXMDocumentTypeServiceImpl as p, documentTypeMetaDefinitionfactory as q, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as r, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as s, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as t, documentTypeMetaValueFactory as u, AXMDocumentManagementDocumentTypeMetaValueEntityModule as v, AXMDocumentManagementDocumentTypeMetaValueEntityService as w, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as x, documentTypeStatusDefinitionFactory as y, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as z };
|
|
8741
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map
|