@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,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, Injector, Injectable, computed, effect, HostBinding, ChangeDetectionStrategy, Component, EventEmitter, signal, Output, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
4
|
-
import { AXPSearchCommandProvider, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType,
|
|
4
|
+
import { AXPSearchCommandProvider, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
5
5
|
import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
6
6
|
import * as i4 from '@acorex/platform/layout/builder';
|
|
7
|
-
import {
|
|
7
|
+
import { AXPWidgetRegistryService, AXPWidgetsCatalog, AXP_WIDGETS_EDITOR_CATEGORY, AXPValueWidgetComponent, AXPLayoutBuilderModule, AXPWidgetGroupEnum } from '@acorex/platform/layout/builder';
|
|
8
8
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
9
9
|
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
10
10
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
@@ -64,23 +64,12 @@ const RootConfig = {
|
|
|
64
64
|
titlePlural: `t("dataSourceCategoryPlural", { scope: "${config.i18n}" })`,
|
|
65
65
|
icon: 'fa-regular fa-layer-group',
|
|
66
66
|
},
|
|
67
|
-
metaDataDefinitionCategory: {
|
|
68
|
-
name: 'MetaDataDefinitionCategory',
|
|
69
|
-
title: `t('metaDataDefinitionCategory', { scope: "${config.i18n}" })`,
|
|
70
|
-
titlePlural: `t('metaDataDefinitionCategoryPlural', { scope: "${config.i18n}" })`,
|
|
71
|
-
icon: 'fa-light fa-list',
|
|
72
|
-
},
|
|
73
67
|
metaDataDefinition: {
|
|
74
68
|
name: 'MetaDataDefinition',
|
|
75
69
|
title: `t('metaDataDefinition', { scope: "${config.i18n}" })`,
|
|
76
70
|
titlePlural: `t('metaDataDefinitionPlural', { scope: "${config.i18n}" })`,
|
|
77
71
|
icon: 'fa-light fa-server',
|
|
78
72
|
},
|
|
79
|
-
// category: {
|
|
80
|
-
// name: 'Category',
|
|
81
|
-
// title: 't("category", { scope: "common" })',
|
|
82
|
-
// icon: 'fa-light fa-list'
|
|
83
|
-
// },
|
|
84
73
|
},
|
|
85
74
|
};
|
|
86
75
|
|
|
@@ -96,12 +85,6 @@ class AXMMenuProvider {
|
|
|
96
85
|
icon: module.icon,
|
|
97
86
|
priority: 90001,
|
|
98
87
|
children: [
|
|
99
|
-
{
|
|
100
|
-
text: RootConfig.entities.queryCategory.title,
|
|
101
|
-
path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.queryCategory.name),
|
|
102
|
-
icon: RootConfig.entities.queryCategory.icon,
|
|
103
|
-
priority: 9001,
|
|
104
|
-
},
|
|
105
88
|
{
|
|
106
89
|
text: RootConfig.entities.query.title,
|
|
107
90
|
path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.query.name),
|
|
@@ -114,24 +97,12 @@ class AXMMenuProvider {
|
|
|
114
97
|
icon: RootConfig.entities.dataSource.icon,
|
|
115
98
|
priority: 9003,
|
|
116
99
|
},
|
|
117
|
-
{
|
|
118
|
-
text: RootConfig.entities.dataSourceCategory.title,
|
|
119
|
-
path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.dataSourceCategory.name),
|
|
120
|
-
icon: RootConfig.entities.dataSourceCategory.icon,
|
|
121
|
-
priority: 9004,
|
|
122
|
-
},
|
|
123
100
|
{
|
|
124
101
|
text: RootConfig.entities.metaDataDefinition.title,
|
|
125
102
|
path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.metaDataDefinition.name),
|
|
126
103
|
icon: RootConfig.entities.metaDataDefinition.icon,
|
|
127
104
|
priority: 9005,
|
|
128
105
|
},
|
|
129
|
-
{
|
|
130
|
-
text: RootConfig.entities.metaDataDefinitionCategory.title,
|
|
131
|
-
path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.metaDataDefinitionCategory.name),
|
|
132
|
-
icon: RootConfig.entities.metaDataDefinitionCategory.icon,
|
|
133
|
-
priority: 9006,
|
|
134
|
-
},
|
|
135
106
|
]
|
|
136
107
|
}
|
|
137
108
|
]);
|
|
@@ -152,16 +123,10 @@ class AXMEntityProvider {
|
|
|
152
123
|
async get(moduleName, entityName) {
|
|
153
124
|
if (moduleName == RootConfig.module.name) {
|
|
154
125
|
switch (entityName) {
|
|
155
|
-
case RootConfig.entities.queryCategory.name:
|
|
156
|
-
return (await Promise.resolve().then(function () { return queryCategory_entity; })).queryCategoryFactory(this.injector);
|
|
157
126
|
case RootConfig.entities.query.name:
|
|
158
127
|
return (await Promise.resolve().then(function () { return query_entity; })).queryFactory(this.injector);
|
|
159
128
|
case RootConfig.entities.dataSource.name:
|
|
160
129
|
return (await Promise.resolve().then(function () { return dataSource_entity; })).dataSourceEntityFactory(this.injector);
|
|
161
|
-
case RootConfig.entities.dataSourceCategory.name:
|
|
162
|
-
return (await Promise.resolve().then(function () { return dataSourceCategory_entity; })).dataSourceCategoryFactory(this.injector);
|
|
163
|
-
case RootConfig.entities.metaDataDefinitionCategory.name:
|
|
164
|
-
return (await Promise.resolve().then(function () { return metaDataDefinitionCategory_entity; })).metaDataDefinitionCategoryEntityFactory(this.injector);
|
|
165
130
|
case RootConfig.entities.metaDataDefinition.name:
|
|
166
131
|
return (await Promise.resolve().then(function () { return metaDataDefinition_entity; })).metaDataDefinitionFactory(this.injector);
|
|
167
132
|
}
|
|
@@ -234,243 +199,6 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
|
234
199
|
}
|
|
235
200
|
}
|
|
236
201
|
|
|
237
|
-
class AXMQueryCategoryService extends AXMEntityCrudServiceImpl {
|
|
238
|
-
}
|
|
239
|
-
class AXMQueryCategoryServiceImpl extends AXMQueryCategoryService {
|
|
240
|
-
constructor() {
|
|
241
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.queryCategory.name}`);
|
|
242
|
-
}
|
|
243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMQueryCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
244
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMQueryCategoryServiceImpl }); }
|
|
245
|
-
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMQueryCategoryServiceImpl, decorators: [{
|
|
247
|
-
type: Injectable
|
|
248
|
-
}], ctorParameters: () => [] });
|
|
249
|
-
|
|
250
|
-
async function queryCategoryFactory(injector) {
|
|
251
|
-
const dataService = injector.get(AXMQueryCategoryService);
|
|
252
|
-
const i18n = RootConfig.config.i18n;
|
|
253
|
-
const entityDef = {
|
|
254
|
-
module: RootConfig.module.name,
|
|
255
|
-
name: RootConfig.entities.queryCategory.name,
|
|
256
|
-
parentKey: 'parentId',
|
|
257
|
-
source: '',
|
|
258
|
-
title: RootConfig.entities.queryCategory.title,
|
|
259
|
-
formats: {
|
|
260
|
-
individual: RootConfig.entities.queryCategory.title,
|
|
261
|
-
plural: RootConfig.entities.queryCategory.titlePlural,
|
|
262
|
-
searchResult: {
|
|
263
|
-
title: '{{ title }}',
|
|
264
|
-
description: RootConfig.module.title,
|
|
265
|
-
},
|
|
266
|
-
},
|
|
267
|
-
relatedEntities: [],
|
|
268
|
-
groups: [
|
|
269
|
-
{
|
|
270
|
-
id: 'section',
|
|
271
|
-
title: `t("queryCategory", { scope: "common" })`,
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
properties: [
|
|
275
|
-
{
|
|
276
|
-
name: 'title',
|
|
277
|
-
title: `t("title", { scope: "common" })`,
|
|
278
|
-
groupId: 'section',
|
|
279
|
-
schema: {
|
|
280
|
-
dataType: 'string',
|
|
281
|
-
interface: {
|
|
282
|
-
type: AXPWidgetsCatalog.text,
|
|
283
|
-
options: {
|
|
284
|
-
width: '400px',
|
|
285
|
-
},
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
validations: [
|
|
289
|
-
{
|
|
290
|
-
rule: 'required',
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: 'parentId',
|
|
296
|
-
title: `t("parent", { scope: "${i18n}" })`,
|
|
297
|
-
groupId: 'section',
|
|
298
|
-
schema: {
|
|
299
|
-
dataType: 'string',
|
|
300
|
-
interface: {
|
|
301
|
-
type: AXPWidgetsCatalog.lookup,
|
|
302
|
-
options: {
|
|
303
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.queryCategory.name}`,
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
],
|
|
309
|
-
columns: [{ name: 'title' }],
|
|
310
|
-
commands: {
|
|
311
|
-
create: {
|
|
312
|
-
execute: async (data) => {
|
|
313
|
-
const res = await dataService.insertOne(data);
|
|
314
|
-
return { id: res };
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
delete: {
|
|
318
|
-
execute: async (id) => {
|
|
319
|
-
return await dataService.deleteOne(id);
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
update: {
|
|
323
|
-
execute: async (data) => {
|
|
324
|
-
return await dataService.updateOne(data.id, data);
|
|
325
|
-
},
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
queries: {
|
|
329
|
-
byKey: {
|
|
330
|
-
execute: async (id) => {
|
|
331
|
-
return await dataService.getOne(id);
|
|
332
|
-
},
|
|
333
|
-
type: AXPEntityQueryType.Single,
|
|
334
|
-
},
|
|
335
|
-
list: {
|
|
336
|
-
execute: async (e) => {
|
|
337
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
338
|
-
},
|
|
339
|
-
type: AXPEntityQueryType.List,
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
interfaces: {
|
|
343
|
-
master: {
|
|
344
|
-
create: {
|
|
345
|
-
sections: [
|
|
346
|
-
{
|
|
347
|
-
id: 'section',
|
|
348
|
-
},
|
|
349
|
-
],
|
|
350
|
-
properties: [
|
|
351
|
-
{
|
|
352
|
-
name: 'title',
|
|
353
|
-
layout: {
|
|
354
|
-
positions: {
|
|
355
|
-
lg: {
|
|
356
|
-
colSpan: 12,
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
name: 'parentId',
|
|
363
|
-
layout: {
|
|
364
|
-
positions: {
|
|
365
|
-
lg: {
|
|
366
|
-
colSpan: 12,
|
|
367
|
-
},
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
},
|
|
371
|
-
],
|
|
372
|
-
},
|
|
373
|
-
update: {
|
|
374
|
-
sections: [
|
|
375
|
-
{
|
|
376
|
-
id: 'section',
|
|
377
|
-
},
|
|
378
|
-
],
|
|
379
|
-
properties: [
|
|
380
|
-
{
|
|
381
|
-
name: 'title',
|
|
382
|
-
layout: {
|
|
383
|
-
positions: {
|
|
384
|
-
lg: {
|
|
385
|
-
colSpan: 12,
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
name: 'parentId',
|
|
392
|
-
layout: {
|
|
393
|
-
positions: {
|
|
394
|
-
lg: {
|
|
395
|
-
colSpan: 12,
|
|
396
|
-
},
|
|
397
|
-
},
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
],
|
|
401
|
-
},
|
|
402
|
-
single: {
|
|
403
|
-
title: '{{title}}',
|
|
404
|
-
sections: [
|
|
405
|
-
{
|
|
406
|
-
id: 'section',
|
|
407
|
-
layout: {
|
|
408
|
-
positions: {
|
|
409
|
-
lg: {
|
|
410
|
-
colSpan: 12,
|
|
411
|
-
},
|
|
412
|
-
},
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
properties: [
|
|
417
|
-
{
|
|
418
|
-
name: 'title',
|
|
419
|
-
layout: {
|
|
420
|
-
positions: {
|
|
421
|
-
lg: {
|
|
422
|
-
colSpan: 6,
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
},
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
actions: [],
|
|
429
|
-
},
|
|
430
|
-
list: {
|
|
431
|
-
actions: [
|
|
432
|
-
{
|
|
433
|
-
title: `t("create", { scope: "common" })`,
|
|
434
|
-
command: 'create-entity',
|
|
435
|
-
priority: 'primary',
|
|
436
|
-
type: 'create',
|
|
437
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
title: 't("deleteItems", { scope: "common" })',
|
|
441
|
-
command: 'delete-entity',
|
|
442
|
-
priority: 'primary',
|
|
443
|
-
type: 'delete',
|
|
444
|
-
scope: AXPEntityCommandScope.Selected,
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
title: 't("detail", { scope: "common" })',
|
|
448
|
-
command: 'open-entity',
|
|
449
|
-
priority: 'secondary',
|
|
450
|
-
type: 'view',
|
|
451
|
-
scope: AXPEntityCommandScope.Individual,
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
title: 't("delete", { scope: "common" })',
|
|
455
|
-
command: 'delete-entity',
|
|
456
|
-
priority: 'secondary',
|
|
457
|
-
type: 'delete',
|
|
458
|
-
scope: AXPEntityCommandScope.Individual,
|
|
459
|
-
},
|
|
460
|
-
],
|
|
461
|
-
views: [createAllQueryView()],
|
|
462
|
-
},
|
|
463
|
-
},
|
|
464
|
-
},
|
|
465
|
-
};
|
|
466
|
-
return entityDef;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
var queryCategory_entity = /*#__PURE__*/Object.freeze({
|
|
470
|
-
__proto__: null,
|
|
471
|
-
queryCategoryFactory: queryCategoryFactory
|
|
472
|
-
});
|
|
473
|
-
|
|
474
202
|
//#region ---- Column Definition Widget ----
|
|
475
203
|
const AXM_COLUMN_DEF_WIDGET = [
|
|
476
204
|
{
|
|
@@ -604,6 +332,36 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
|
604
332
|
];
|
|
605
333
|
//#endregion
|
|
606
334
|
|
|
335
|
+
class AXMDataSourceService extends AXMEntityCrudServiceImpl {
|
|
336
|
+
}
|
|
337
|
+
class AXMDataSourceServiceImpl extends AXMEntityCrudServiceImpl {
|
|
338
|
+
constructor() {
|
|
339
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.dataSource.name}`);
|
|
340
|
+
}
|
|
341
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
342
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl }); }
|
|
343
|
+
}
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl, decorators: [{
|
|
345
|
+
type: Injectable
|
|
346
|
+
}], ctorParameters: () => [] });
|
|
347
|
+
|
|
348
|
+
//#region ---- Output Types ----
|
|
349
|
+
var AXMDataSourceOutputType;
|
|
350
|
+
(function (AXMDataSourceOutputType) {
|
|
351
|
+
AXMDataSourceOutputType["Table"] = "table";
|
|
352
|
+
AXMDataSourceOutputType["SingleObject"] = "single_object";
|
|
353
|
+
AXMDataSourceOutputType["Value"] = "value";
|
|
354
|
+
})(AXMDataSourceOutputType || (AXMDataSourceOutputType = {}));
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region ---- Source Types ----
|
|
357
|
+
var AXMDataSourceType;
|
|
358
|
+
(function (AXMDataSourceType) {
|
|
359
|
+
AXMDataSourceType["Static"] = "static";
|
|
360
|
+
AXMDataSourceType["Query"] = "query";
|
|
361
|
+
// ExternalApi = 'external_api' // TODO: Will be implemented later
|
|
362
|
+
})(AXMDataSourceType || (AXMDataSourceType = {}));
|
|
363
|
+
//#endregion
|
|
364
|
+
|
|
607
365
|
//#region ---- Filter Definition Widget ----
|
|
608
366
|
const AXM_FILTER_DEF_WIDGET = [
|
|
609
367
|
{
|
|
@@ -669,36 +427,6 @@ const AXM_FILTER_DEF_WIDGET = [
|
|
|
669
427
|
];
|
|
670
428
|
//#endregion
|
|
671
429
|
|
|
672
|
-
class AXMDataSourceService extends AXMEntityCrudServiceImpl {
|
|
673
|
-
}
|
|
674
|
-
class AXMDataSourceServiceImpl extends AXMEntityCrudServiceImpl {
|
|
675
|
-
constructor() {
|
|
676
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.dataSource.name}`);
|
|
677
|
-
}
|
|
678
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
679
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl }); }
|
|
680
|
-
}
|
|
681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceServiceImpl, decorators: [{
|
|
682
|
-
type: Injectable
|
|
683
|
-
}], ctorParameters: () => [] });
|
|
684
|
-
|
|
685
|
-
//#region ---- Output Types ----
|
|
686
|
-
var AXMDataSourceOutputType;
|
|
687
|
-
(function (AXMDataSourceOutputType) {
|
|
688
|
-
AXMDataSourceOutputType["Table"] = "table";
|
|
689
|
-
AXMDataSourceOutputType["SingleObject"] = "single_object";
|
|
690
|
-
AXMDataSourceOutputType["Value"] = "value";
|
|
691
|
-
})(AXMDataSourceOutputType || (AXMDataSourceOutputType = {}));
|
|
692
|
-
//#endregion
|
|
693
|
-
//#region ---- Source Types ----
|
|
694
|
-
var AXMDataSourceType;
|
|
695
|
-
(function (AXMDataSourceType) {
|
|
696
|
-
AXMDataSourceType["Static"] = "static";
|
|
697
|
-
AXMDataSourceType["Query"] = "query";
|
|
698
|
-
// ExternalApi = 'external_api' // TODO: Will be implemented later
|
|
699
|
-
})(AXMDataSourceType || (AXMDataSourceType = {}));
|
|
700
|
-
//#endregion
|
|
701
|
-
|
|
702
430
|
async function dataSourceEntityFactory(injector) {
|
|
703
431
|
const dataService = injector.get(AXMDataSourceService);
|
|
704
432
|
const i18n = RootConfig.config.i18n;
|
|
@@ -717,22 +445,13 @@ async function dataSourceEntityFactory(injector) {
|
|
|
717
445
|
description: RootConfig.module.title,
|
|
718
446
|
},
|
|
719
447
|
},
|
|
448
|
+
plugins: [
|
|
449
|
+
{ name: 'history' },
|
|
450
|
+
{ name: 'lock' },
|
|
451
|
+
{ name: 'compare' },
|
|
452
|
+
{ name: 'category' },
|
|
453
|
+
],
|
|
720
454
|
relatedEntities: [],
|
|
721
|
-
category: {
|
|
722
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.dataSourceCategory.name}`,
|
|
723
|
-
title: 'Categories',
|
|
724
|
-
textField: 'title',
|
|
725
|
-
valueField: 'id',
|
|
726
|
-
applyConditions: [
|
|
727
|
-
{
|
|
728
|
-
name: 'categoryIds',
|
|
729
|
-
operator: {
|
|
730
|
-
type: 'contains',
|
|
731
|
-
},
|
|
732
|
-
value: 'id',
|
|
733
|
-
},
|
|
734
|
-
],
|
|
735
|
-
},
|
|
736
455
|
groups: [
|
|
737
456
|
{
|
|
738
457
|
id: 'dataSource',
|
|
@@ -1055,7 +774,12 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1055
774
|
],
|
|
1056
775
|
},
|
|
1057
776
|
],
|
|
1058
|
-
columns: [
|
|
777
|
+
columns: [
|
|
778
|
+
{ name: 'name' },
|
|
779
|
+
{ name: 'title' },
|
|
780
|
+
{ name: 'sourceType' },
|
|
781
|
+
{ name: 'outputType' },
|
|
782
|
+
],
|
|
1059
783
|
commands: {
|
|
1060
784
|
create: {
|
|
1061
785
|
execute: async (data) => {
|
|
@@ -1107,7 +831,7 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1107
831
|
},
|
|
1108
832
|
list: {
|
|
1109
833
|
execute: async (e) => {
|
|
1110
|
-
return await dataService.query(
|
|
834
|
+
return await dataService.query(e);
|
|
1111
835
|
},
|
|
1112
836
|
type: AXPEntityQueryType.List,
|
|
1113
837
|
},
|
|
@@ -1152,17 +876,6 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1152
876
|
},
|
|
1153
877
|
},
|
|
1154
878
|
},
|
|
1155
|
-
{
|
|
1156
|
-
name: 'categoryIds',
|
|
1157
|
-
layout: {
|
|
1158
|
-
positions: {
|
|
1159
|
-
lg: {
|
|
1160
|
-
colSpan: 6,
|
|
1161
|
-
order: 3,
|
|
1162
|
-
},
|
|
1163
|
-
},
|
|
1164
|
-
},
|
|
1165
|
-
},
|
|
1166
879
|
{
|
|
1167
880
|
name: 'columns',
|
|
1168
881
|
layout: {
|
|
@@ -1280,17 +993,6 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1280
993
|
},
|
|
1281
994
|
},
|
|
1282
995
|
},
|
|
1283
|
-
{
|
|
1284
|
-
name: 'categoryIds',
|
|
1285
|
-
layout: {
|
|
1286
|
-
positions: {
|
|
1287
|
-
lg: {
|
|
1288
|
-
colSpan: 6,
|
|
1289
|
-
order: 3,
|
|
1290
|
-
},
|
|
1291
|
-
},
|
|
1292
|
-
},
|
|
1293
|
-
},
|
|
1294
996
|
{
|
|
1295
997
|
name: 'columns',
|
|
1296
998
|
layout: {
|
|
@@ -1398,18 +1100,6 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1398
1100
|
},
|
|
1399
1101
|
},
|
|
1400
1102
|
},
|
|
1401
|
-
{
|
|
1402
|
-
name: 'categoryIds',
|
|
1403
|
-
dataPath: 'categories',
|
|
1404
|
-
layout: {
|
|
1405
|
-
positions: {
|
|
1406
|
-
lg: {
|
|
1407
|
-
colSpan: 6,
|
|
1408
|
-
order: 3,
|
|
1409
|
-
},
|
|
1410
|
-
},
|
|
1411
|
-
},
|
|
1412
|
-
},
|
|
1413
1103
|
{
|
|
1414
1104
|
name: 'columns',
|
|
1415
1105
|
layout: {
|
|
@@ -1530,7 +1220,8 @@ async function dataSourceEntityFactory(injector) {
|
|
|
1530
1220
|
{
|
|
1531
1221
|
title: 't("entity.modify", { scope: "common" })',
|
|
1532
1222
|
command: {
|
|
1533
|
-
name: 'quick-modify-entity',
|
|
1223
|
+
name: 'quick-modify-entity',
|
|
1224
|
+
options: {
|
|
1534
1225
|
layout: {
|
|
1535
1226
|
size: 'lg',
|
|
1536
1227
|
},
|
|
@@ -2066,22 +1757,13 @@ async function queryFactory(injector) {
|
|
|
2066
1757
|
description: RootConfig.module.title,
|
|
2067
1758
|
},
|
|
2068
1759
|
},
|
|
1760
|
+
plugins: [
|
|
1761
|
+
{ name: 'history' },
|
|
1762
|
+
{ name: 'lock' },
|
|
1763
|
+
{ name: 'compare' },
|
|
1764
|
+
{ name: 'category' },
|
|
1765
|
+
],
|
|
2069
1766
|
relatedEntities: [],
|
|
2070
|
-
category: {
|
|
2071
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.queryCategory.name}`,
|
|
2072
|
-
title: 'Categories',
|
|
2073
|
-
textField: 'title',
|
|
2074
|
-
valueField: 'id',
|
|
2075
|
-
applyConditions: [
|
|
2076
|
-
{
|
|
2077
|
-
name: 'categoryIds',
|
|
2078
|
-
operator: {
|
|
2079
|
-
type: 'contains',
|
|
2080
|
-
},
|
|
2081
|
-
value: 'id',
|
|
2082
|
-
},
|
|
2083
|
-
],
|
|
2084
|
-
},
|
|
2085
1767
|
groups: [
|
|
2086
1768
|
{
|
|
2087
1769
|
id: 'section',
|
|
@@ -2147,30 +1829,6 @@ async function queryFactory(injector) {
|
|
|
2147
1829
|
},
|
|
2148
1830
|
],
|
|
2149
1831
|
},
|
|
2150
|
-
{
|
|
2151
|
-
name: 'categoryIds',
|
|
2152
|
-
title: `t("category", { scope: "common" })`,
|
|
2153
|
-
groupId: 'section',
|
|
2154
|
-
schema: {
|
|
2155
|
-
dataType: 'string',
|
|
2156
|
-
interface: {
|
|
2157
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2158
|
-
options: {
|
|
2159
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.queryCategory.name}`,
|
|
2160
|
-
multiple: true,
|
|
2161
|
-
expose: [
|
|
2162
|
-
{ source: 'id', target: 'categories.{id}' },
|
|
2163
|
-
{ source: 'title', target: 'categories.{title}' },
|
|
2164
|
-
],
|
|
2165
|
-
},
|
|
2166
|
-
},
|
|
2167
|
-
},
|
|
2168
|
-
validations: [
|
|
2169
|
-
{
|
|
2170
|
-
rule: 'required',
|
|
2171
|
-
},
|
|
2172
|
-
],
|
|
2173
|
-
},
|
|
2174
1832
|
{
|
|
2175
1833
|
name: 'dataSource',
|
|
2176
1834
|
title: `t("dataSource", { scope: "${i18n}" })`,
|
|
@@ -2220,390 +1878,25 @@ async function queryFactory(injector) {
|
|
|
2220
1878
|
schema: {
|
|
2221
1879
|
dataType: 'object',
|
|
2222
1880
|
interface: {
|
|
2223
|
-
type: AXPWidgetsList.Editors.QueryBuilder,
|
|
2224
|
-
options: {
|
|
2225
|
-
dataSources: '{{ [context.eval("dataSource")] }}',
|
|
2226
|
-
availableColumns: '{{ context.eval("availableColumns") || [] }}',
|
|
2227
|
-
},
|
|
2228
|
-
},
|
|
2229
|
-
},
|
|
2230
|
-
},
|
|
2231
|
-
],
|
|
2232
|
-
columns: [
|
|
2233
|
-
{ name: 'name' },
|
|
2234
|
-
{ name: 'title' },
|
|
2235
|
-
{ name: 'categoryIds', options: { dataPath: 'categories' } },
|
|
2236
|
-
{ name: 'dataSource' },
|
|
2237
|
-
{ name: 'query' },
|
|
2238
|
-
],
|
|
2239
|
-
commands: {
|
|
2240
|
-
create: {
|
|
2241
|
-
execute: async (data) => {
|
|
2242
|
-
console.log(data.query);
|
|
2243
|
-
const res = await dataService.insertOne(data);
|
|
2244
|
-
return { id: res };
|
|
2245
|
-
},
|
|
2246
|
-
},
|
|
2247
|
-
delete: {
|
|
2248
|
-
execute: async (id) => {
|
|
2249
|
-
return await dataService.deleteOne(id);
|
|
2250
|
-
},
|
|
2251
|
-
},
|
|
2252
|
-
update: {
|
|
2253
|
-
execute: async (data) => {
|
|
2254
|
-
return await dataService.updateOne(data.id, data);
|
|
2255
|
-
},
|
|
2256
|
-
},
|
|
2257
|
-
},
|
|
2258
|
-
queries: {
|
|
2259
|
-
byKey: {
|
|
2260
|
-
execute: async (id) => {
|
|
2261
|
-
return await dataService.getOne(id);
|
|
2262
|
-
},
|
|
2263
|
-
type: AXPEntityQueryType.Single,
|
|
2264
|
-
},
|
|
2265
|
-
list: {
|
|
2266
|
-
execute: async (e) => {
|
|
2267
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
2268
|
-
},
|
|
2269
|
-
type: AXPEntityQueryType.List,
|
|
2270
|
-
},
|
|
2271
|
-
},
|
|
2272
|
-
interfaces: {
|
|
2273
|
-
master: {
|
|
2274
|
-
create: {
|
|
2275
|
-
sections: [
|
|
2276
|
-
{
|
|
2277
|
-
id: 'section',
|
|
2278
|
-
},
|
|
2279
|
-
],
|
|
2280
|
-
properties: [
|
|
2281
|
-
{
|
|
2282
|
-
name: 'name',
|
|
2283
|
-
layout: {
|
|
2284
|
-
positions: {
|
|
2285
|
-
lg: {
|
|
2286
|
-
colSpan: 6,
|
|
2287
|
-
order: 1,
|
|
2288
|
-
},
|
|
2289
|
-
},
|
|
2290
|
-
},
|
|
2291
|
-
},
|
|
2292
|
-
{
|
|
2293
|
-
name: 'title',
|
|
2294
|
-
layout: {
|
|
2295
|
-
positions: {
|
|
2296
|
-
lg: {
|
|
2297
|
-
colSpan: 6,
|
|
2298
|
-
order: 2,
|
|
2299
|
-
},
|
|
2300
|
-
},
|
|
2301
|
-
},
|
|
2302
|
-
},
|
|
2303
|
-
{
|
|
2304
|
-
name: 'categoryIds',
|
|
2305
|
-
layout: {
|
|
2306
|
-
positions: {
|
|
2307
|
-
lg: {
|
|
2308
|
-
colSpan: 6,
|
|
2309
|
-
order: 3,
|
|
2310
|
-
},
|
|
2311
|
-
},
|
|
2312
|
-
},
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
name: 'dataSource',
|
|
2316
|
-
layout: {
|
|
2317
|
-
positions: {
|
|
2318
|
-
lg: {
|
|
2319
|
-
colSpan: 6,
|
|
2320
|
-
order: 4,
|
|
2321
|
-
},
|
|
2322
|
-
},
|
|
2323
|
-
},
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
name: 'query',
|
|
2327
|
-
layout: {
|
|
2328
|
-
positions: {
|
|
2329
|
-
lg: {
|
|
2330
|
-
colSpan: 12,
|
|
2331
|
-
order: 5,
|
|
2332
|
-
},
|
|
2333
|
-
},
|
|
2334
|
-
},
|
|
2335
|
-
},
|
|
2336
|
-
],
|
|
2337
|
-
},
|
|
2338
|
-
update: {
|
|
2339
|
-
sections: [
|
|
2340
|
-
{
|
|
2341
|
-
id: 'section',
|
|
2342
|
-
},
|
|
2343
|
-
],
|
|
2344
|
-
properties: [
|
|
2345
|
-
{
|
|
2346
|
-
name: 'name',
|
|
2347
|
-
layout: {
|
|
2348
|
-
positions: {
|
|
2349
|
-
lg: {
|
|
2350
|
-
colSpan: 6,
|
|
2351
|
-
order: 1,
|
|
2352
|
-
},
|
|
2353
|
-
},
|
|
2354
|
-
},
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
name: 'title',
|
|
2358
|
-
layout: {
|
|
2359
|
-
positions: {
|
|
2360
|
-
lg: {
|
|
2361
|
-
colSpan: 6,
|
|
2362
|
-
order: 2,
|
|
2363
|
-
},
|
|
2364
|
-
},
|
|
2365
|
-
},
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
name: 'categoryIds',
|
|
2369
|
-
layout: {
|
|
2370
|
-
positions: {
|
|
2371
|
-
lg: {
|
|
2372
|
-
colSpan: 6,
|
|
2373
|
-
order: 3,
|
|
2374
|
-
},
|
|
2375
|
-
},
|
|
2376
|
-
},
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
name: 'dataSource',
|
|
2380
|
-
layout: {
|
|
2381
|
-
positions: {
|
|
2382
|
-
lg: {
|
|
2383
|
-
colSpan: 6,
|
|
2384
|
-
order: 4,
|
|
2385
|
-
},
|
|
2386
|
-
},
|
|
2387
|
-
},
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
name: 'query',
|
|
2391
|
-
layout: {
|
|
2392
|
-
positions: {
|
|
2393
|
-
lg: {
|
|
2394
|
-
colSpan: 12,
|
|
2395
|
-
order: 5,
|
|
2396
|
-
},
|
|
2397
|
-
},
|
|
2398
|
-
},
|
|
2399
|
-
},
|
|
2400
|
-
],
|
|
2401
|
-
},
|
|
2402
|
-
single: {
|
|
2403
|
-
title: '{{title}}',
|
|
2404
|
-
sections: [
|
|
2405
|
-
{
|
|
2406
|
-
id: 'section',
|
|
2407
|
-
layout: {
|
|
2408
|
-
positions: {
|
|
2409
|
-
lg: {
|
|
2410
|
-
colSpan: 12,
|
|
2411
|
-
},
|
|
2412
|
-
},
|
|
2413
|
-
},
|
|
2414
|
-
},
|
|
2415
|
-
],
|
|
2416
|
-
properties: [
|
|
2417
|
-
{
|
|
2418
|
-
name: 'name',
|
|
2419
|
-
layout: {
|
|
2420
|
-
positions: {
|
|
2421
|
-
lg: {
|
|
2422
|
-
colSpan: 6,
|
|
2423
|
-
order: 1,
|
|
2424
|
-
},
|
|
2425
|
-
},
|
|
2426
|
-
},
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
name: 'title',
|
|
2430
|
-
layout: {
|
|
2431
|
-
positions: {
|
|
2432
|
-
lg: {
|
|
2433
|
-
colSpan: 6,
|
|
2434
|
-
order: 2,
|
|
2435
|
-
},
|
|
2436
|
-
},
|
|
2437
|
-
},
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
name: 'categoryIds',
|
|
2441
|
-
dataPath: 'categories',
|
|
2442
|
-
layout: {
|
|
2443
|
-
positions: {
|
|
2444
|
-
lg: {
|
|
2445
|
-
colSpan: 6,
|
|
2446
|
-
order: 3,
|
|
2447
|
-
},
|
|
2448
|
-
},
|
|
2449
|
-
},
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
name: 'dataSource',
|
|
2453
|
-
layout: {
|
|
2454
|
-
positions: {
|
|
2455
|
-
lg: {
|
|
2456
|
-
colSpan: 6,
|
|
2457
|
-
order: 4,
|
|
2458
|
-
},
|
|
2459
|
-
},
|
|
2460
|
-
},
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
name: 'query',
|
|
2464
|
-
layout: {
|
|
2465
|
-
positions: {
|
|
2466
|
-
lg: {
|
|
2467
|
-
colSpan: 12,
|
|
2468
|
-
order: 5,
|
|
2469
|
-
},
|
|
2470
|
-
},
|
|
2471
|
-
},
|
|
2472
|
-
},
|
|
2473
|
-
],
|
|
2474
|
-
actions: [],
|
|
2475
|
-
},
|
|
2476
|
-
list: {
|
|
2477
|
-
actions: [
|
|
2478
|
-
{
|
|
2479
|
-
title: `t("create", { scope: "common" })`,
|
|
2480
|
-
command: {
|
|
2481
|
-
name: 'create-entity',
|
|
2482
|
-
options: {
|
|
2483
|
-
layout: {
|
|
2484
|
-
size: 'lg',
|
|
2485
|
-
},
|
|
2486
|
-
},
|
|
2487
|
-
},
|
|
2488
|
-
priority: 'primary',
|
|
2489
|
-
type: 'create',
|
|
2490
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
2491
|
-
},
|
|
2492
|
-
{
|
|
2493
|
-
title: 't("deleteItems", { scope: "common" })',
|
|
2494
|
-
command: 'delete-entity',
|
|
2495
|
-
priority: 'primary',
|
|
2496
|
-
type: 'delete',
|
|
2497
|
-
scope: AXPEntityCommandScope.Selected,
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
title: 't("detail", { scope: "common" })',
|
|
2501
|
-
command: 'open-entity',
|
|
2502
|
-
priority: 'secondary',
|
|
2503
|
-
type: 'view',
|
|
2504
|
-
scope: AXPEntityCommandScope.Individual,
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
title: 't("delete", { scope: "common" })',
|
|
2508
|
-
command: 'delete-entity',
|
|
2509
|
-
priority: 'secondary',
|
|
2510
|
-
type: 'delete',
|
|
2511
|
-
scope: AXPEntityCommandScope.Individual,
|
|
2512
|
-
},
|
|
2513
|
-
],
|
|
2514
|
-
views: [
|
|
2515
|
-
createAllQueryView({
|
|
2516
|
-
sorts: [{ name: 'name', dir: 'asc' }],
|
|
2517
|
-
}),
|
|
2518
|
-
],
|
|
2519
|
-
},
|
|
2520
|
-
},
|
|
2521
|
-
},
|
|
2522
|
-
};
|
|
2523
|
-
return entityDef;
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
var query_entity = /*#__PURE__*/Object.freeze({
|
|
2527
|
-
__proto__: null,
|
|
2528
|
-
queryFactory: queryFactory
|
|
2529
|
-
});
|
|
2530
|
-
|
|
2531
|
-
class AXMDataSourceCategoryService extends AXMEntityCrudServiceImpl {
|
|
2532
|
-
}
|
|
2533
|
-
class AXMDataSourceCategoryServiceImpl extends AXMDataSourceCategoryService {
|
|
2534
|
-
constructor() {
|
|
2535
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.dataSourceCategory.name}`);
|
|
2536
|
-
}
|
|
2537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2538
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceCategoryServiceImpl }); }
|
|
2539
|
-
}
|
|
2540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDataSourceCategoryServiceImpl, decorators: [{
|
|
2541
|
-
type: Injectable
|
|
2542
|
-
}], ctorParameters: () => [] });
|
|
2543
|
-
|
|
2544
|
-
async function dataSourceCategoryFactory(injector) {
|
|
2545
|
-
const dataService = injector.get(AXMDataSourceCategoryService);
|
|
2546
|
-
const i18n = RootConfig.config.i18n;
|
|
2547
|
-
const entityDef = {
|
|
2548
|
-
module: RootConfig.module.name,
|
|
2549
|
-
name: RootConfig.entities.dataSourceCategory.name,
|
|
2550
|
-
parentKey: 'parentId',
|
|
2551
|
-
source: '',
|
|
2552
|
-
title: RootConfig.entities.dataSourceCategory.title,
|
|
2553
|
-
formats: {
|
|
2554
|
-
individual: RootConfig.entities.dataSourceCategory.title,
|
|
2555
|
-
plural: RootConfig.entities.dataSourceCategory.titlePlural,
|
|
2556
|
-
searchResult: {
|
|
2557
|
-
title: '{{ title }}',
|
|
2558
|
-
description: RootConfig.module.title,
|
|
2559
|
-
},
|
|
2560
|
-
},
|
|
2561
|
-
relatedEntities: [],
|
|
2562
|
-
groups: [
|
|
2563
|
-
{
|
|
2564
|
-
id: 'section',
|
|
2565
|
-
title: `t("dataSourceCategory", { scope: "${i18n}" })`,
|
|
2566
|
-
},
|
|
2567
|
-
],
|
|
2568
|
-
properties: [
|
|
2569
|
-
{
|
|
2570
|
-
name: 'title',
|
|
2571
|
-
title: `t("title", { scope: "common" })`,
|
|
2572
|
-
groupId: 'section',
|
|
2573
|
-
schema: {
|
|
2574
|
-
dataType: 'string',
|
|
2575
|
-
interface: {
|
|
2576
|
-
type: AXPWidgetsCatalog.text,
|
|
2577
|
-
options: {
|
|
2578
|
-
width: '400px',
|
|
2579
|
-
},
|
|
2580
|
-
},
|
|
2581
|
-
},
|
|
2582
|
-
validations: [
|
|
2583
|
-
{
|
|
2584
|
-
rule: 'required',
|
|
2585
|
-
},
|
|
2586
|
-
],
|
|
2587
|
-
},
|
|
2588
|
-
{
|
|
2589
|
-
name: 'parentId',
|
|
2590
|
-
title: `t("parent", { scope: "${i18n}" })`,
|
|
2591
|
-
groupId: 'section',
|
|
2592
|
-
schema: {
|
|
2593
|
-
dataType: 'string',
|
|
2594
|
-
interface: {
|
|
2595
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1881
|
+
type: AXPWidgetsList.Editors.QueryBuilder,
|
|
2596
1882
|
options: {
|
|
2597
|
-
|
|
1883
|
+
dataSources: '{{ [context.eval("dataSource")] }}',
|
|
1884
|
+
availableColumns: '{{ context.eval("availableColumns") || [] }}',
|
|
2598
1885
|
},
|
|
2599
1886
|
},
|
|
2600
1887
|
},
|
|
2601
1888
|
},
|
|
2602
1889
|
],
|
|
2603
|
-
columns: [
|
|
1890
|
+
columns: [
|
|
1891
|
+
{ name: 'name' },
|
|
1892
|
+
{ name: 'title' },
|
|
1893
|
+
{ name: 'dataSource' },
|
|
1894
|
+
{ name: 'query' },
|
|
1895
|
+
],
|
|
2604
1896
|
commands: {
|
|
2605
1897
|
create: {
|
|
2606
1898
|
execute: async (data) => {
|
|
1899
|
+
console.log(data.query);
|
|
2607
1900
|
const res = await dataService.insertOne(data);
|
|
2608
1901
|
return { id: res };
|
|
2609
1902
|
},
|
|
@@ -2628,7 +1921,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2628
1921
|
},
|
|
2629
1922
|
list: {
|
|
2630
1923
|
execute: async (e) => {
|
|
2631
|
-
return await dataService.query(
|
|
1924
|
+
return await dataService.query(e);
|
|
2632
1925
|
},
|
|
2633
1926
|
type: AXPEntityQueryType.List,
|
|
2634
1927
|
},
|
|
@@ -2643,7 +1936,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2643
1936
|
],
|
|
2644
1937
|
properties: [
|
|
2645
1938
|
{
|
|
2646
|
-
name: '
|
|
1939
|
+
name: 'name',
|
|
2647
1940
|
layout: {
|
|
2648
1941
|
positions: {
|
|
2649
1942
|
lg: {
|
|
@@ -2654,7 +1947,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2654
1947
|
},
|
|
2655
1948
|
},
|
|
2656
1949
|
{
|
|
2657
|
-
name: '
|
|
1950
|
+
name: 'title',
|
|
2658
1951
|
layout: {
|
|
2659
1952
|
positions: {
|
|
2660
1953
|
lg: {
|
|
@@ -2664,6 +1957,28 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2664
1957
|
},
|
|
2665
1958
|
},
|
|
2666
1959
|
},
|
|
1960
|
+
{
|
|
1961
|
+
name: 'dataSource',
|
|
1962
|
+
layout: {
|
|
1963
|
+
positions: {
|
|
1964
|
+
lg: {
|
|
1965
|
+
colSpan: 6,
|
|
1966
|
+
order: 4,
|
|
1967
|
+
},
|
|
1968
|
+
},
|
|
1969
|
+
},
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
name: 'query',
|
|
1973
|
+
layout: {
|
|
1974
|
+
positions: {
|
|
1975
|
+
lg: {
|
|
1976
|
+
colSpan: 12,
|
|
1977
|
+
order: 5,
|
|
1978
|
+
},
|
|
1979
|
+
},
|
|
1980
|
+
},
|
|
1981
|
+
},
|
|
2667
1982
|
],
|
|
2668
1983
|
},
|
|
2669
1984
|
update: {
|
|
@@ -2674,7 +1989,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2674
1989
|
],
|
|
2675
1990
|
properties: [
|
|
2676
1991
|
{
|
|
2677
|
-
name: '
|
|
1992
|
+
name: 'name',
|
|
2678
1993
|
layout: {
|
|
2679
1994
|
positions: {
|
|
2680
1995
|
lg: {
|
|
@@ -2685,7 +2000,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2685
2000
|
},
|
|
2686
2001
|
},
|
|
2687
2002
|
{
|
|
2688
|
-
name: '
|
|
2003
|
+
name: 'title',
|
|
2689
2004
|
layout: {
|
|
2690
2005
|
positions: {
|
|
2691
2006
|
lg: {
|
|
@@ -2695,6 +2010,28 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2695
2010
|
},
|
|
2696
2011
|
},
|
|
2697
2012
|
},
|
|
2013
|
+
{
|
|
2014
|
+
name: 'dataSource',
|
|
2015
|
+
layout: {
|
|
2016
|
+
positions: {
|
|
2017
|
+
lg: {
|
|
2018
|
+
colSpan: 6,
|
|
2019
|
+
order: 4,
|
|
2020
|
+
},
|
|
2021
|
+
},
|
|
2022
|
+
},
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
name: 'query',
|
|
2026
|
+
layout: {
|
|
2027
|
+
positions: {
|
|
2028
|
+
lg: {
|
|
2029
|
+
colSpan: 12,
|
|
2030
|
+
order: 5,
|
|
2031
|
+
},
|
|
2032
|
+
},
|
|
2033
|
+
},
|
|
2034
|
+
},
|
|
2698
2035
|
],
|
|
2699
2036
|
},
|
|
2700
2037
|
single: {
|
|
@@ -2713,7 +2050,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2713
2050
|
],
|
|
2714
2051
|
properties: [
|
|
2715
2052
|
{
|
|
2716
|
-
name: '
|
|
2053
|
+
name: 'name',
|
|
2717
2054
|
layout: {
|
|
2718
2055
|
positions: {
|
|
2719
2056
|
lg: {
|
|
@@ -2724,7 +2061,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2724
2061
|
},
|
|
2725
2062
|
},
|
|
2726
2063
|
{
|
|
2727
|
-
name: '
|
|
2064
|
+
name: 'title',
|
|
2728
2065
|
layout: {
|
|
2729
2066
|
positions: {
|
|
2730
2067
|
lg: {
|
|
@@ -2734,6 +2071,28 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2734
2071
|
},
|
|
2735
2072
|
},
|
|
2736
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
name: 'dataSource',
|
|
2076
|
+
layout: {
|
|
2077
|
+
positions: {
|
|
2078
|
+
lg: {
|
|
2079
|
+
colSpan: 6,
|
|
2080
|
+
order: 4,
|
|
2081
|
+
},
|
|
2082
|
+
},
|
|
2083
|
+
},
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
name: 'query',
|
|
2087
|
+
layout: {
|
|
2088
|
+
positions: {
|
|
2089
|
+
lg: {
|
|
2090
|
+
colSpan: 12,
|
|
2091
|
+
order: 5,
|
|
2092
|
+
},
|
|
2093
|
+
},
|
|
2094
|
+
},
|
|
2095
|
+
},
|
|
2737
2096
|
],
|
|
2738
2097
|
actions: [],
|
|
2739
2098
|
},
|
|
@@ -2741,7 +2100,14 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2741
2100
|
actions: [
|
|
2742
2101
|
{
|
|
2743
2102
|
title: `t("create", { scope: "common" })`,
|
|
2744
|
-
command:
|
|
2103
|
+
command: {
|
|
2104
|
+
name: 'create-entity',
|
|
2105
|
+
options: {
|
|
2106
|
+
layout: {
|
|
2107
|
+
size: 'lg',
|
|
2108
|
+
},
|
|
2109
|
+
},
|
|
2110
|
+
},
|
|
2745
2111
|
priority: 'primary',
|
|
2746
2112
|
type: 'create',
|
|
2747
2113
|
scope: AXPEntityCommandScope.TypeLevel,
|
|
@@ -2770,7 +2136,7 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2770
2136
|
],
|
|
2771
2137
|
views: [
|
|
2772
2138
|
createAllQueryView({
|
|
2773
|
-
sorts: [{ name: '
|
|
2139
|
+
sorts: [{ name: 'name', dir: 'asc' }],
|
|
2774
2140
|
}),
|
|
2775
2141
|
],
|
|
2776
2142
|
},
|
|
@@ -2780,9 +2146,9 @@ async function dataSourceCategoryFactory(injector) {
|
|
|
2780
2146
|
return entityDef;
|
|
2781
2147
|
}
|
|
2782
2148
|
|
|
2783
|
-
var
|
|
2149
|
+
var query_entity = /*#__PURE__*/Object.freeze({
|
|
2784
2150
|
__proto__: null,
|
|
2785
|
-
|
|
2151
|
+
queryFactory: queryFactory
|
|
2786
2152
|
});
|
|
2787
2153
|
|
|
2788
2154
|
class AXMMetaDataDefinitionService extends AXMEntityCrudServiceImpl {
|
|
@@ -2819,21 +2185,12 @@ async function metaDataDefinitionFactory(injector) {
|
|
|
2819
2185
|
showInList: true,
|
|
2820
2186
|
showInDetail: true,
|
|
2821
2187
|
},
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
{
|
|
2829
|
-
name: 'categoryIds',
|
|
2830
|
-
operator: {
|
|
2831
|
-
type: 'contains',
|
|
2832
|
-
},
|
|
2833
|
-
value: 'id',
|
|
2834
|
-
},
|
|
2835
|
-
],
|
|
2836
|
-
},
|
|
2188
|
+
plugins: [
|
|
2189
|
+
{ name: 'history' },
|
|
2190
|
+
{ name: 'lock' },
|
|
2191
|
+
{ name: 'compare' },
|
|
2192
|
+
{ name: 'category' },
|
|
2193
|
+
],
|
|
2837
2194
|
groups: [
|
|
2838
2195
|
{
|
|
2839
2196
|
id: 'section',
|
|
@@ -2889,30 +2246,6 @@ async function metaDataDefinitionFactory(injector) {
|
|
|
2889
2246
|
},
|
|
2890
2247
|
},
|
|
2891
2248
|
},
|
|
2892
|
-
{
|
|
2893
|
-
name: 'categoryIds',
|
|
2894
|
-
title: 't("category", { scope: "common" })',
|
|
2895
|
-
groupId: 'section',
|
|
2896
|
-
schema: {
|
|
2897
|
-
dataType: 'string',
|
|
2898
|
-
interface: {
|
|
2899
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2900
|
-
options: {
|
|
2901
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`,
|
|
2902
|
-
multiple: true,
|
|
2903
|
-
expose: [
|
|
2904
|
-
{ source: 'id', target: 'categories.{id}' },
|
|
2905
|
-
{ source: 'title', target: 'categories.{title}' },
|
|
2906
|
-
],
|
|
2907
|
-
},
|
|
2908
|
-
},
|
|
2909
|
-
},
|
|
2910
|
-
validations: [
|
|
2911
|
-
{
|
|
2912
|
-
rule: 'required',
|
|
2913
|
-
},
|
|
2914
|
-
],
|
|
2915
|
-
},
|
|
2916
2249
|
{
|
|
2917
2250
|
name: 'interface',
|
|
2918
2251
|
title: `t("interface", { scope: "${RootConfig.config.i18n}" })`,
|
|
@@ -2937,7 +2270,6 @@ async function metaDataDefinitionFactory(injector) {
|
|
|
2937
2270
|
{ name: 'name' },
|
|
2938
2271
|
{ name: 'title' },
|
|
2939
2272
|
{ name: 'description' },
|
|
2940
|
-
{ name: 'categoryIds', options: { dataPath: 'categories' } },
|
|
2941
2273
|
],
|
|
2942
2274
|
commands: {
|
|
2943
2275
|
create: {
|
|
@@ -2966,7 +2298,7 @@ async function metaDataDefinitionFactory(injector) {
|
|
|
2966
2298
|
},
|
|
2967
2299
|
list: {
|
|
2968
2300
|
execute: async (e) => {
|
|
2969
|
-
return await dataService.query(
|
|
2301
|
+
return await dataService.query(e);
|
|
2970
2302
|
},
|
|
2971
2303
|
type: AXPEntityQueryType.List,
|
|
2972
2304
|
},
|
|
@@ -2983,32 +2315,25 @@ async function metaDataDefinitionFactory(injector) {
|
|
|
2983
2315
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2984
2316
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2985
2317
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
2986
|
-
{ name: 'categoryIds', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2987
2318
|
{ name: 'interface', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2988
2319
|
],
|
|
2989
2320
|
},
|
|
2990
2321
|
update: {
|
|
2991
|
-
sections: [
|
|
2992
|
-
{ id: 'section' },
|
|
2993
|
-
],
|
|
2322
|
+
sections: [{ id: 'section' }],
|
|
2994
2323
|
properties: [
|
|
2995
2324
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2996
2325
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2997
2326
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
2998
|
-
{ name: 'categoryIds', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
2999
2327
|
{ name: 'interface', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3000
2328
|
],
|
|
3001
2329
|
},
|
|
3002
2330
|
single: {
|
|
3003
2331
|
title: '{{title}}',
|
|
3004
|
-
sections: [
|
|
3005
|
-
{ id: 'section', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3006
|
-
],
|
|
2332
|
+
sections: [{ id: 'section', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
3007
2333
|
properties: [
|
|
3008
2334
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3009
2335
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3010
2336
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3011
|
-
{ name: 'categoryIds', dataPath: 'categories', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3012
2337
|
{ name: 'interface', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3013
2338
|
],
|
|
3014
2339
|
actions: [],
|
|
@@ -3057,156 +2382,6 @@ var metaDataDefinition_entity = /*#__PURE__*/Object.freeze({
|
|
|
3057
2382
|
metaDataDefinitionFactory: metaDataDefinitionFactory
|
|
3058
2383
|
});
|
|
3059
2384
|
|
|
3060
|
-
class AXMMetaDataDefinitionCategoryService extends AXMEntityCrudServiceImpl {
|
|
3061
|
-
}
|
|
3062
|
-
class AXMMetaDataDefinitionCategoryServiceImpl extends AXMMetaDataDefinitionCategoryService {
|
|
3063
|
-
constructor() {
|
|
3064
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`);
|
|
3065
|
-
}
|
|
3066
|
-
getAllWithItems() {
|
|
3067
|
-
throw new Error('Not implemented');
|
|
3068
|
-
}
|
|
3069
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3070
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl }); }
|
|
3071
|
-
}
|
|
3072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, decorators: [{
|
|
3073
|
-
type: Injectable
|
|
3074
|
-
}], ctorParameters: () => [] });
|
|
3075
|
-
|
|
3076
|
-
async function metaDataDefinitionCategoryEntityFactory(injector) {
|
|
3077
|
-
const dataService = injector.get(AXMMetaDataDefinitionCategoryService);
|
|
3078
|
-
const i18n = RootConfig.config.i18n;
|
|
3079
|
-
const entityDef = {
|
|
3080
|
-
module: RootConfig.module.name,
|
|
3081
|
-
name: RootConfig.entities.metaDataDefinitionCategory.name,
|
|
3082
|
-
parentKey: 'parentId',
|
|
3083
|
-
source: '',
|
|
3084
|
-
title: RootConfig.entities.metaDataDefinitionCategory.title,
|
|
3085
|
-
formats: {
|
|
3086
|
-
individual: `t("metaDataDefinitionCategory", { scope: "${i18n}" })`,
|
|
3087
|
-
plural: `t("metaDataDefinitionCategories", { scope: "${i18n}" })`,
|
|
3088
|
-
searchResult: {
|
|
3089
|
-
title: '{{ title }}',
|
|
3090
|
-
description: RootConfig.module.title,
|
|
3091
|
-
},
|
|
3092
|
-
},
|
|
3093
|
-
relatedEntities: [],
|
|
3094
|
-
groups: [
|
|
3095
|
-
{
|
|
3096
|
-
id: 'section',
|
|
3097
|
-
title: `t("metaDataDefinitionCategory", { scope: "common" })`,
|
|
3098
|
-
},
|
|
3099
|
-
],
|
|
3100
|
-
properties: [
|
|
3101
|
-
{
|
|
3102
|
-
name: 'title',
|
|
3103
|
-
title: `t("title",{ scope: "common" })`,
|
|
3104
|
-
groupId: 'section',
|
|
3105
|
-
schema: {
|
|
3106
|
-
dataType: 'string',
|
|
3107
|
-
interface: {
|
|
3108
|
-
type: AXPWidgetsCatalog.text,
|
|
3109
|
-
options: { width: '400px' },
|
|
3110
|
-
},
|
|
3111
|
-
},
|
|
3112
|
-
validations: [
|
|
3113
|
-
{ rule: 'required' },
|
|
3114
|
-
],
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
name: 'parentId',
|
|
3118
|
-
title: `t("parent",{ scope: "${i18n}" })`,
|
|
3119
|
-
groupId: 'section',
|
|
3120
|
-
schema: {
|
|
3121
|
-
dataType: 'string',
|
|
3122
|
-
interface: {
|
|
3123
|
-
type: AXPWidgetsCatalog.lookup,
|
|
3124
|
-
options: {
|
|
3125
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`,
|
|
3126
|
-
},
|
|
3127
|
-
},
|
|
3128
|
-
},
|
|
3129
|
-
},
|
|
3130
|
-
],
|
|
3131
|
-
columns: [{ name: 'title' }],
|
|
3132
|
-
commands: {
|
|
3133
|
-
create: {
|
|
3134
|
-
execute: async (data) => {
|
|
3135
|
-
const res = await dataService.insertOne(data);
|
|
3136
|
-
return { id: res };
|
|
3137
|
-
},
|
|
3138
|
-
},
|
|
3139
|
-
delete: {
|
|
3140
|
-
execute: async (id) => {
|
|
3141
|
-
return await dataService.deleteOne(id);
|
|
3142
|
-
},
|
|
3143
|
-
},
|
|
3144
|
-
update: {
|
|
3145
|
-
execute: async (data) => {
|
|
3146
|
-
return await dataService.updateOne(data.id, data);
|
|
3147
|
-
},
|
|
3148
|
-
},
|
|
3149
|
-
},
|
|
3150
|
-
queries: {
|
|
3151
|
-
byKey: {
|
|
3152
|
-
execute: async (id) => {
|
|
3153
|
-
return await dataService.getOne(id);
|
|
3154
|
-
},
|
|
3155
|
-
type: AXPEntityQueryType.Single,
|
|
3156
|
-
},
|
|
3157
|
-
list: {
|
|
3158
|
-
execute: async (e) => {
|
|
3159
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
3160
|
-
},
|
|
3161
|
-
type: AXPEntityQueryType.List,
|
|
3162
|
-
},
|
|
3163
|
-
},
|
|
3164
|
-
interfaces: {
|
|
3165
|
-
master: {
|
|
3166
|
-
create: {
|
|
3167
|
-
sections: [{ id: 'section' }],
|
|
3168
|
-
properties: [
|
|
3169
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3170
|
-
{ name: 'parentId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3171
|
-
],
|
|
3172
|
-
},
|
|
3173
|
-
update: {
|
|
3174
|
-
sections: [{ id: 'section' }],
|
|
3175
|
-
properties: [
|
|
3176
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3177
|
-
{ name: 'parentId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3178
|
-
],
|
|
3179
|
-
},
|
|
3180
|
-
single: {
|
|
3181
|
-
title: '{{title}}',
|
|
3182
|
-
sections: [
|
|
3183
|
-
{ id: 'section', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
3184
|
-
],
|
|
3185
|
-
properties: [
|
|
3186
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
3187
|
-
],
|
|
3188
|
-
actions: [],
|
|
3189
|
-
},
|
|
3190
|
-
list: {
|
|
3191
|
-
actions: [
|
|
3192
|
-
{ title: `t("create", { scope: "common" })`, command: 'create-entity', priority: 'primary', type: 'create', scope: AXPEntityCommandScope.TypeLevel },
|
|
3193
|
-
{ title: 't("deleteItems", { scope: "common" })', command: 'delete-entity', priority: 'primary', type: 'delete', scope: AXPEntityCommandScope.Selected },
|
|
3194
|
-
{ title: 't("detail", { scope: "common" })', command: 'open-entity', priority: 'secondary', type: 'view', scope: AXPEntityCommandScope.Individual },
|
|
3195
|
-
{ title: 't("delete", { scope: "common" })', command: 'delete-entity', priority: 'secondary', type: 'delete', scope: AXPEntityCommandScope.Individual },
|
|
3196
|
-
],
|
|
3197
|
-
views: [createAllQueryView()],
|
|
3198
|
-
},
|
|
3199
|
-
},
|
|
3200
|
-
},
|
|
3201
|
-
};
|
|
3202
|
-
return entityDef;
|
|
3203
|
-
}
|
|
3204
|
-
|
|
3205
|
-
var metaDataDefinitionCategory_entity = /*#__PURE__*/Object.freeze({
|
|
3206
|
-
__proto__: null,
|
|
3207
|
-
metaDataDefinitionCategoryEntityFactory: metaDataDefinitionCategoryEntityFactory
|
|
3208
|
-
});
|
|
3209
|
-
|
|
3210
2385
|
const AXPQueryBuilderWidget = {
|
|
3211
2386
|
name: 'query-builder-editor',
|
|
3212
2387
|
title: 'Query Builder',
|
|
@@ -4647,10 +3822,6 @@ class AXMDataManagementModule {
|
|
|
4647
3822
|
useClass: AXMPermissionDefinitionProvider,
|
|
4648
3823
|
multi: true,
|
|
4649
3824
|
},
|
|
4650
|
-
{
|
|
4651
|
-
provide: AXMQueryCategoryService,
|
|
4652
|
-
useClass: AXMQueryCategoryServiceImpl,
|
|
4653
|
-
},
|
|
4654
3825
|
{
|
|
4655
3826
|
provide: AXMQueryService,
|
|
4656
3827
|
useClass: AXMQueryServiceImpl,
|
|
@@ -4659,18 +3830,10 @@ class AXMDataManagementModule {
|
|
|
4659
3830
|
provide: AXMDataSourceService,
|
|
4660
3831
|
useClass: AXMDataSourceServiceImpl,
|
|
4661
3832
|
},
|
|
4662
|
-
{
|
|
4663
|
-
provide: AXMDataSourceCategoryService,
|
|
4664
|
-
useClass: AXMDataSourceCategoryServiceImpl,
|
|
4665
|
-
},
|
|
4666
3833
|
{
|
|
4667
3834
|
provide: AXMMetaDataDefinitionService,
|
|
4668
3835
|
useClass: AXMPMetaDataDefinitionServiceImpl,
|
|
4669
3836
|
},
|
|
4670
|
-
{
|
|
4671
|
-
provide: AXMMetaDataDefinitionCategoryService,
|
|
4672
|
-
useClass: AXMMetaDataDefinitionCategoryServiceImpl,
|
|
4673
|
-
},
|
|
4674
3837
|
{
|
|
4675
3838
|
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
4676
3839
|
useClass: AXMDataSourceListDataSourceDefinition,
|
|
@@ -4716,10 +3879,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
4716
3879
|
useClass: AXMPermissionDefinitionProvider,
|
|
4717
3880
|
multi: true,
|
|
4718
3881
|
},
|
|
4719
|
-
{
|
|
4720
|
-
provide: AXMQueryCategoryService,
|
|
4721
|
-
useClass: AXMQueryCategoryServiceImpl,
|
|
4722
|
-
},
|
|
4723
3882
|
{
|
|
4724
3883
|
provide: AXMQueryService,
|
|
4725
3884
|
useClass: AXMQueryServiceImpl,
|
|
@@ -4728,18 +3887,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
4728
3887
|
provide: AXMDataSourceService,
|
|
4729
3888
|
useClass: AXMDataSourceServiceImpl,
|
|
4730
3889
|
},
|
|
4731
|
-
{
|
|
4732
|
-
provide: AXMDataSourceCategoryService,
|
|
4733
|
-
useClass: AXMDataSourceCategoryServiceImpl,
|
|
4734
|
-
},
|
|
4735
3890
|
{
|
|
4736
3891
|
provide: AXMMetaDataDefinitionService,
|
|
4737
3892
|
useClass: AXMPMetaDataDefinitionServiceImpl,
|
|
4738
3893
|
},
|
|
4739
|
-
{
|
|
4740
|
-
provide: AXMMetaDataDefinitionCategoryService,
|
|
4741
|
-
useClass: AXMMetaDataDefinitionCategoryServiceImpl,
|
|
4742
|
-
},
|
|
4743
3894
|
{
|
|
4744
3895
|
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
4745
3896
|
useClass: AXMDataSourceListDataSourceDefinition,
|
|
@@ -4753,5 +3904,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
4753
3904
|
* Generated bundle index. Do not edit.
|
|
4754
3905
|
*/
|
|
4755
3906
|
|
|
4756
|
-
export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementModule,
|
|
3907
|
+
export { AXMColumnFilterSelectorWidget, AXMColumnFilterSelectorWidgetColumnComponent, AXMColumnFilterSelectorWidgetEditComponent, AXMColumnFilterSelectorWidgetFilterComponent, AXMColumnFilterSelectorWidgetPrintComponent, AXMColumnFilterSelectorWidgetViewComponent, AXMDataManagementModule, AXMDataSourceOutputType, AXMDataSourceService, AXMDataSourceServiceImpl, AXMDataSourceType, AXMEntityProvider, AXMMenuProvider, AXMMetaDataDefinitionService, AXMPMetaDataDefinitionServiceImpl, AXMQueryService, AXMQueryServiceImpl, AXMSearchCommandProvider, AXMSettingProvider, AXM_COLUMN_DEF_WIDGET, AXM_FILTER_DEF_WIDGET, AXPQueryBuilderWidget, AXPQueryBuilderWidgetColumnComponent, AXPQueryBuilderWidgetDesignerComponent, AXPQueryBuilderWidgetEditComponent, AXPQueryBuilderWidgetViewComponent, RootConfig, dataSourceEntityFactory, metaDataDefinitionFactory, queryFactory };
|
|
4757
3908
|
//# sourceMappingURL=acorex-modules-data-management.mjs.map
|