@acorex/modules 20.0.5 → 20.0.7
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/common/index.d.ts +22 -2
- package/contact-management/README.md +568 -0
- package/contact-management/index.d.ts +263 -0
- package/conversation/index.d.ts +364 -391
- package/document-management/index.d.ts +5 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CvFiEI1a.mjs → acorex-modules-application-management-module-designer.component-BErRgx0w.mjs} +7 -7
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CvFiEI1a.mjs.map → acorex-modules-application-management-module-designer.component-BErRgx0w.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +41 -42
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B10cRw3M.mjs → acorex-modules-auth-acorex-modules-auth-X866H4oy.mjs} +44 -44
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-X866H4oy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-C-HPf2jz.mjs → acorex-modules-auth-app-chooser.component-DqKTfLA2.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-app-chooser.component-C-HPf2jz.mjs.map → acorex-modules-auth-app-chooser.component-DqKTfLA2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-blank.layout-C5d42pO1.mjs → acorex-modules-auth-blank.layout-D2qSgxTy.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-blank.layout-C5d42pO1.mjs.map → acorex-modules-auth-blank.layout-D2qSgxTy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-eC1_ukrb.mjs → acorex-modules-auth-login.module-CWOYzn0L.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-login.module-eC1_ukrb.mjs.map → acorex-modules-auth-login.module-CWOYzn0L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DpfqRgAl.mjs → acorex-modules-auth-master.layout-384T0lIg.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-master.layout-DpfqRgAl.mjs.map → acorex-modules-auth-master.layout-384T0lIg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-rE9yrcGW.mjs → acorex-modules-auth-password.component-BW_ooTQG.mjs} +5 -5
- package/fesm2022/acorex-modules-auth-password.component-BW_ooTQG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-DAB9dWB8.mjs → acorex-modules-auth-password.component-JG95JpLz.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-DAB9dWB8.mjs.map → acorex-modules-auth-password.component-JG95JpLz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-EGvejNu9.mjs → acorex-modules-auth-routes-DqKtHu-i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-EGvejNu9.mjs.map → acorex-modules-auth-routes-DqKtHu-i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-fmuXNByb.mjs → acorex-modules-auth-tenant-chooser.component-C0jxaqqg.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-fmuXNByb.mjs.map → acorex-modules-auth-tenant-chooser.component-C0jxaqqg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-JYtAQ3qF.mjs → acorex-modules-auth-two-factor-code.component-D7KOomHD.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-JYtAQ3qF.mjs.map → acorex-modules-auth-two-factor-code.component-D7KOomHD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-DF3_fgzH.mjs → acorex-modules-auth-two-factor.module-C88pXqao.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-two-factor.module-DF3_fgzH.mjs.map → acorex-modules-auth-two-factor.module-C88pXqao.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BPb-WS4k.mjs → acorex-modules-auth-user-sessions.component-loloVwv0.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BPb-WS4k.mjs.map → acorex-modules-auth-user-sessions.component-loloVwv0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-B5JU9uH9.mjs → acorex-modules-common-search-popup.component-CCKiQx0U.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-search-popup.component-B5JU9uH9.mjs.map → acorex-modules-common-search-popup.component-CCKiQx0U.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-DzvUTy5z.mjs → acorex-modules-common-timeline-version-history-popup.component-DJOcjquG.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-DzvUTy5z.mjs.map → acorex-modules-common-timeline-version-history-popup.component-DJOcjquG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +215 -86
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs +489 -0
- package/fesm2022/acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs +827 -0
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs +509 -0
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs +469 -0
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs +489 -0
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +2332 -0
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-content-management.mjs +119 -55
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +2225 -2073
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +84 -84
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-ClH75xx1.mjs → acorex-modules-document-management-acorex-modules-document-management-C4cvhxSV.mjs} +310 -235
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C4cvhxSV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-B_tjfzIn.mjs → acorex-modules-document-management-attachment-widget.component-B5txg8z0.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-B_tjfzIn.mjs.map → acorex-modules-document-management-attachment-widget.component-B5txg8z0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DNdRcCAs.mjs → acorex-modules-document-management-create-folder-dialog.component-LfnTz49a.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DNdRcCAs.mjs.map → acorex-modules-document-management-create-folder-dialog.component-LfnTz49a.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-JsK1UgZh.mjs → acorex-modules-document-management-details-view.component-Co5F8eWp.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-details-view.component-JsK1UgZh.mjs.map → acorex-modules-document-management-details-view.component-Co5F8eWp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DJT9oLek.mjs → acorex-modules-document-management-drive-choose.component-DFRdS7s1.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DJT9oLek.mjs.map → acorex-modules-document-management-drive-choose.component-DFRdS7s1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DYxpvUWX.mjs → acorex-modules-document-management-drive.component-jGs09Jrd.mjs} +8 -8
- package/fesm2022/{acorex-modules-document-management-drive.component-DYxpvUWX.mjs.map → acorex-modules-document-management-drive.component-jGs09Jrd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-B324V2hL.mjs → acorex-modules-document-management-large-icons-view.component-DD9_xgL4.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-B324V2hL.mjs.map → acorex-modules-document-management-large-icons-view.component-DD9_xgL4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-V5gHyu9X.mjs → acorex-modules-document-management-large-tiles-view.component-CNBUzaUz.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-V5gHyu9X.mjs.map → acorex-modules-document-management-large-tiles-view.component-CNBUzaUz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-B-BzU_4Y.mjs → acorex-modules-document-management-link-dialog.component-CXzR7mUW.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-B-BzU_4Y.mjs.map → acorex-modules-document-management-link-dialog.component-CXzR7mUW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-Bm2EH2aT.mjs → acorex-modules-document-management-list-view.component-D4DbyB6W.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-list-view.component-Bm2EH2aT.mjs.map → acorex-modules-document-management-list-view.component-D4DbyB6W.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-CmMvrfKW.mjs +315 -0
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-CmMvrfKW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-BDhqsc2j.mjs → acorex-modules-document-management-meta-selector-widget-column.component-DHQjyq8s.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-BDhqsc2j.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-DHQjyq8s.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-C4GC0GbF.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-Cc6n71wn.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-C4GC0GbF.mjs.map → acorex-modules-document-management-meta-selector-widget-designer.component-Cc6n71wn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-D88h9eR6.mjs +31 -0
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-D88h9eR6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DGqVDVLJ.mjs → acorex-modules-document-management-permission-definition.provider-DoOyhnwQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DGqVDVLJ.mjs.map → acorex-modules-document-management-permission-definition.provider-DoOyhnwQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-LgpvDguk.mjs → acorex-modules-document-management-rename-node-dialog.component-JDZWsFXL.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-LgpvDguk.mjs.map → acorex-modules-document-management-rename-node-dialog.component-JDZWsFXL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DzuYhAD4.mjs → acorex-modules-document-management-share-dialog.component-DTzXwqHw.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DzuYhAD4.mjs.map → acorex-modules-document-management-share-dialog.component-DTzXwqHw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DNN_3JF2.mjs → acorex-modules-document-management-share-email-dialog.component-BaNzKKG4.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DNN_3JF2.mjs.map → acorex-modules-document-management-share-email-dialog.component-BaNzKKG4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BwFoe1vd.mjs → acorex-modules-document-management-small-icons-view.component-BNTmgtYr.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BwFoe1vd.mjs.map → acorex-modules-document-management-small-icons-view.component-BNTmgtYr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B5gp0wus.mjs → acorex-modules-document-management-small-tiles-view.component-CbCBAKyR.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B5gp0wus.mjs.map → acorex-modules-document-management-small-tiles-view.component-CbCBAKyR.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-B3o427If.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-BsAsK1EG.mjs} +58 -57
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-B3o427If.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-BsAsK1EG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-B7dGrmoa.mjs → acorex-modules-form-template-management-category.entity-B3iAtREq.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-B7dGrmoa.mjs.map → acorex-modules-form-template-management-category.entity-B3iAtREq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-designer.page-DaTGU3w_.mjs → acorex-modules-form-template-management-designer.page-B-TIUKl7.mjs} +4 -4
- package/fesm2022/{acorex-modules-form-template-management-designer.page-DaTGU3w_.mjs.map → acorex-modules-form-template-management-designer.page-B-TIUKl7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CjjlgO0w.mjs → acorex-modules-form-template-management-permission-definition.provider-CTG95UDp.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CjjlgO0w.mjs.map → acorex-modules-form-template-management-permission-definition.provider-CTG95UDp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CiSjuHGI.mjs → acorex-modules-form-template-management-settings.provider-BmFufTUd.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CiSjuHGI.mjs.map → acorex-modules-form-template-management-settings.provider-BmFufTUd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-CQZ37yC2.mjs → acorex-modules-form-template-management-template-picker.component-CNwhdnGC.mjs} +4 -4
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-CQZ37yC2.mjs.map → acorex-modules-form-template-management-template-picker.component-CNwhdnGC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUeV0yO8.mjs → acorex-modules-form-template-management-template-widget-edit.component-BNIx16WW.mjs} +5 -5
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUeV0yO8.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BNIx16WW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-Cps77n3G.mjs → acorex-modules-form-template-management-template.entity-BGsixiEI.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-Cps77n3G.mjs.map → acorex-modules-form-template-management-template.entity-BGsixiEI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-K2ZznaDw.mjs → acorex-modules-form-template-management-viewer-popup.component-CzjuUz4o.mjs} +9 -6
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-CzjuUz4o.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Blyh8QVB.mjs → acorex-modules-issue-management-acorex-modules-issue-management-C2JoHgaa.mjs} +24 -24
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Blyh8QVB.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-C2JoHgaa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BzUN6Cty.mjs → acorex-modules-issue-management-capture-screen.component-DTtUkL78.mjs} +5 -5
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BzUN6Cty.mjs.map → acorex-modules-issue-management-capture-screen.component-DTtUkL78.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +10 -10
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +35 -35
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-COUAmxM8.mjs → acorex-modules-organization-management-add-item.component-D99TugmE.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-add-item.component-COUAmxM8.mjs.map → acorex-modules-organization-management-add-item.component-D99TugmE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjGUUbel.mjs → acorex-modules-organization-management-org-chart-configuration.page-DTNqHbxt.mjs} +5 -5
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjGUUbel.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DTNqHbxt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-DeoDX_ir.mjs → acorex-modules-organization-management-org-chart-configuration.service-BSO0GrAW.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-DeoDX_ir.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-BSO0GrAW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-xlNWhN4W.mjs → acorex-modules-organization-management-org-chart.page-ioMhEPnQ.mjs} +12 -12
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-xlNWhN4W.mjs.map → acorex-modules-organization-management-org-chart.page-ioMhEPnQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +122 -122
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DqpAYmHM.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CFoPmixl.mjs} +933 -315
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CFoPmixl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DidjxkmH.mjs → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs} +7 -7
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DidjxkmH.mjs.map → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DcHKHrSK.mjs → acorex-modules-platform-management-settings.provider--ARXqBUY.mjs} +35 -25
- package/fesm2022/acorex-modules-platform-management-settings.provider--ARXqBUY.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +43 -43
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management-report-create-root.component-LrE6TkIp.mjs +302 -0
- package/fesm2022/acorex-modules-report-management-report-create-root.component-LrE6TkIp.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs +617 -0
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-run.command-CoXvPC15.mjs +20 -0
- package/fesm2022/acorex-modules-report-management-run.command-CoXvPC15.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +976 -0
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +624 -120
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B2CEFpES.mjs → acorex-modules-settings-management-setting-page.component-BKwKLUpD.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B2CEFpES.mjs.map → acorex-modules-settings-management-setting-page.component-BKwKLUpD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DnD83gFz.mjs → acorex-modules-settings-management-setting-view.component-Dco7MvZr.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DnD83gFz.mjs.map → acorex-modules-settings-management-setting-view.component-Dco7MvZr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +6 -6
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +43 -44
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-ChW_Hwf2.mjs +762 -0
- package/fesm2022/acorex-modules-workflow-management-task-board.page-ChW_Hwf2.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +12 -12
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +9 -1
- package/platform-management/index.d.ts +235 -8
- package/report-management/README.md +356 -0
- package/report-management/index.d.ts +46 -0
- package/security-management/index.d.ts +162 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-B10cRw3M.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-rE9yrcGW.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-ClH75xx1.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-DvZ-vrUE.mjs +0 -51
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-DvZ-vrUE.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-q6mDKrFi.mjs +0 -190
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-q6mDKrFi.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-rlSWRGGl.mjs +0 -32
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-rlSWRGGl.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-B_TMgAl1.mjs +0 -36
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-B_TMgAl1.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-K2ZznaDw.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DqpAYmHM.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-settings.provider-DcHKHrSK.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-B4TdyHtv.mjs +0 -218
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-B4TdyHtv.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-DTMj6gxb.mjs +0 -41
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-DTMj6gxb.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-BJdbKpRQ.mjs +0 -20
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-BJdbKpRQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-GTmDlgWW.mjs +0 -51
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-GTmDlgWW.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-BZ75aI18.mjs +0 -21
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-BZ75aI18.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-CYQqerAX.mjs +0 -20
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-CYQqerAX.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-R4x5Rq-D.mjs +0 -494
- package/fesm2022/acorex-modules-workflow-management-task-board.page-R4x5Rq-D.mjs.map +0 -1
@@ -0,0 +1,976 @@
|
|
1
|
+
import { AXPSessionService, AXPAuthGuard } from '@acorex/platform/auth';
|
2
|
+
import { AXP_REPORT_DEFINITION_PROVIDER, AXP_REPORT_CATEGORY_PROVIDER, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPLockService, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
3
|
+
import { AXPDomainModule, provideEntity } from '@acorex/platform/domain';
|
4
|
+
import { AXPQueryService, provideCommandSetups } from '@acorex/platform/runtime';
|
5
|
+
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
6
|
+
import * as i0 from '@angular/core';
|
7
|
+
import { inject, Injectable, NgModule } from '@angular/core';
|
8
|
+
import { ROUTES } from '@angular/router';
|
9
|
+
import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
10
|
+
import * as i1 from '@acorex/platform/workflow';
|
11
|
+
import { AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
12
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
13
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
14
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
15
|
+
import { AXDataSource } from '@acorex/cdk/common';
|
16
|
+
import { AXMDataSourceService } from '@acorex/modules/platform-management';
|
17
|
+
import { AXPopupService } from '@acorex/components/popup';
|
18
|
+
|
19
|
+
const config = {
|
20
|
+
i18n: 'report-management',
|
21
|
+
module: 'ReportManagement'
|
22
|
+
};
|
23
|
+
const RootConfig = {
|
24
|
+
config,
|
25
|
+
module: {
|
26
|
+
route: 'report-management',
|
27
|
+
name: config.module,
|
28
|
+
title: `@${config.i18n}.module-name`,
|
29
|
+
icon: 'fa-light fa-chart-bar'
|
30
|
+
},
|
31
|
+
entities: {
|
32
|
+
dataSet: {
|
33
|
+
name: 'DataSet',
|
34
|
+
title: `t("dataSet", { scope: "${config.i18n}" })`,
|
35
|
+
titlePlural: `t("dataSetPlural", { scope: "${config.i18n}" })`,
|
36
|
+
icon: 'fa-light fa-default',
|
37
|
+
},
|
38
|
+
category: {
|
39
|
+
name: 'Category',
|
40
|
+
fullName: `${config.module}.Category`,
|
41
|
+
title: `@${config.i18n}.entities.category.title`,
|
42
|
+
titlePlural: `@${config.i18n}.entities.category.title-plural`,
|
43
|
+
icon: 'fa-light fa-folder'
|
44
|
+
},
|
45
|
+
report: {
|
46
|
+
name: 'Report',
|
47
|
+
fullName: `${config.module}.Report`,
|
48
|
+
title: `@${config.i18n}.entities.report.title`,
|
49
|
+
//titlePlural: `@${config.i18n}.entities.report.title-plural`,
|
50
|
+
titlePlural: `t("entities.report.title-plural",{scope:"${config.i18n}"})`,
|
51
|
+
icon: 'fa-light fa-file-chart-pie'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
};
|
55
|
+
|
56
|
+
class AXMReportDefinitionProvider {
|
57
|
+
constructor() {
|
58
|
+
this.queryService = inject(AXPQueryService);
|
59
|
+
this.entityName = `${RootConfig.module.name}.${RootConfig.entities.report.name}`;
|
60
|
+
}
|
61
|
+
async getList(categoryId) {
|
62
|
+
const result = (await this.queryService.fetch(`${this.entityName}:GetByCategory`, { categoryId }))?.items;
|
63
|
+
return result ?? [];
|
64
|
+
}
|
65
|
+
async getById(id) {
|
66
|
+
const result = await this.queryService.fetch(`${this.entityName}:GetById`, id);
|
67
|
+
return result ?? undefined;
|
68
|
+
}
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportDefinitionProvider }); }
|
71
|
+
}
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportDefinitionProvider, decorators: [{
|
73
|
+
type: Injectable
|
74
|
+
}] });
|
75
|
+
const AXM_REPORT_DEFINITION_PROVIDER = {
|
76
|
+
provide: AXP_REPORT_DEFINITION_PROVIDER,
|
77
|
+
useClass: AXMReportDefinitionProvider,
|
78
|
+
multi: true,
|
79
|
+
};
|
80
|
+
// --- Category Provider ---
|
81
|
+
class AXMReportCategoryProvider {
|
82
|
+
constructor() {
|
83
|
+
this.queryService = inject(AXPQueryService);
|
84
|
+
this.entityName = `${RootConfig.module.name}.${RootConfig.entities.category.name}`;
|
85
|
+
}
|
86
|
+
async getList(parentId) {
|
87
|
+
let result = [];
|
88
|
+
if (parentId) {
|
89
|
+
result = (await this.queryService.fetch(`${this.entityName}:GetChildren`, { parentId }))?.items ?? [];
|
90
|
+
}
|
91
|
+
else {
|
92
|
+
result = (await this.queryService.fetch(`${this.entityName}:GetRoots`, {}))?.items ?? [];
|
93
|
+
}
|
94
|
+
return result ?? [];
|
95
|
+
}
|
96
|
+
async getById(id) {
|
97
|
+
return this.getList().then(cats => cats.find(cat => cat.id === id));
|
98
|
+
}
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportCategoryProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
100
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportCategoryProvider }); }
|
101
|
+
}
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportCategoryProvider, decorators: [{
|
103
|
+
type: Injectable
|
104
|
+
}] });
|
105
|
+
const AXM_REPORT_CATEGORY_PROVIDER = {
|
106
|
+
provide: AXP_REPORT_CATEGORY_PROVIDER,
|
107
|
+
useClass: AXMReportCategoryProvider,
|
108
|
+
multi: true,
|
109
|
+
};
|
110
|
+
|
111
|
+
class AXMMenuProvider {
|
112
|
+
constructor() {
|
113
|
+
this.sessionService = inject(AXPSessionService);
|
114
|
+
}
|
115
|
+
async provide(context) {
|
116
|
+
const module = RootConfig.module;
|
117
|
+
context.addItems([
|
118
|
+
{
|
119
|
+
text: RootConfig.entities.report.titlePlural,
|
120
|
+
path: `${this.sessionService.application?.name}/${module.route}/reports`,
|
121
|
+
icon: RootConfig.entities.report.icon,
|
122
|
+
priority: 9001,
|
123
|
+
},
|
124
|
+
]);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
class AXMDataSetService extends AXMEntityCrudServiceImpl {
|
129
|
+
}
|
130
|
+
class AXMDataSetServiceImpl extends AXMDataSetService {
|
131
|
+
constructor() {
|
132
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.dataSet.name}`);
|
133
|
+
}
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSetServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
135
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSetServiceImpl }); }
|
136
|
+
}
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSetServiceImpl, decorators: [{
|
138
|
+
type: Injectable
|
139
|
+
}], ctorParameters: () => [] });
|
140
|
+
|
141
|
+
//#region ---- DataSet Filter Widget ----
|
142
|
+
const AXM_DATASET_FILTER_WIDGET = [
|
143
|
+
{
|
144
|
+
type: 'block-layout',
|
145
|
+
mode: 'view',
|
146
|
+
children: [
|
147
|
+
{
|
148
|
+
type: 'grid-item-layout',
|
149
|
+
mode: 'view',
|
150
|
+
options: { colSpan: 2 },
|
151
|
+
children: [
|
152
|
+
{
|
153
|
+
type: 'checkbox-editor',
|
154
|
+
mode: 'edit',
|
155
|
+
path: 'enabled',
|
156
|
+
defaultValue: true,
|
157
|
+
options: {
|
158
|
+
label: 'Enable',
|
159
|
+
tooltip: 'Enable or disable this filter',
|
160
|
+
disabled: '{{ context.eval("isRequired") }}',
|
161
|
+
},
|
162
|
+
},
|
163
|
+
],
|
164
|
+
},
|
165
|
+
{
|
166
|
+
type: 'grid-item-layout',
|
167
|
+
mode: 'view',
|
168
|
+
options: { colSpan: 3 },
|
169
|
+
children: [
|
170
|
+
{
|
171
|
+
type: 'text-editor',
|
172
|
+
mode: 'view',
|
173
|
+
path: 'columnName',
|
174
|
+
},
|
175
|
+
],
|
176
|
+
},
|
177
|
+
{
|
178
|
+
type: 'grid-item-layout',
|
179
|
+
mode: 'view',
|
180
|
+
options: { colSpan: 7 },
|
181
|
+
children: [
|
182
|
+
{
|
183
|
+
type: 'string-filter',
|
184
|
+
mode: 'edit',
|
185
|
+
path: 'defaultValue',
|
186
|
+
options: {
|
187
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Enter filter value" : "Filter is disabled" }} ',
|
188
|
+
readonly: '{{ !context.eval(">enabled") }}',
|
189
|
+
},
|
190
|
+
},
|
191
|
+
],
|
192
|
+
},
|
193
|
+
],
|
194
|
+
// options:{
|
195
|
+
// "spacing":{"margin":"0px","padding":"25px 7px 27px"}
|
196
|
+
// }
|
197
|
+
},
|
198
|
+
];
|
199
|
+
//#endregion
|
200
|
+
|
201
|
+
//#region ---- DataSet Filter Widget ----
|
202
|
+
const AXM_DATASET_COLUMN_WIDGET = [
|
203
|
+
{
|
204
|
+
type: 'grid-row-layout',
|
205
|
+
mode: 'view',
|
206
|
+
children: [
|
207
|
+
{
|
208
|
+
type: 'grid-item-layout',
|
209
|
+
mode: 'view',
|
210
|
+
options: { colSpan: 2 },
|
211
|
+
children: [
|
212
|
+
{
|
213
|
+
type: 'checkbox-editor',
|
214
|
+
mode: 'edit',
|
215
|
+
path: 'enabled',
|
216
|
+
options: {
|
217
|
+
label: 'Enable',
|
218
|
+
tooltip: 'Enable or disable this filter',
|
219
|
+
disabled: '{{ context.eval("isRequired") }}',
|
220
|
+
},
|
221
|
+
},
|
222
|
+
],
|
223
|
+
},
|
224
|
+
{
|
225
|
+
type: 'grid-item-layout',
|
226
|
+
mode: 'view',
|
227
|
+
options: { colSpan: 3 },
|
228
|
+
children: [
|
229
|
+
{
|
230
|
+
type: 'text-editor',
|
231
|
+
mode: 'view',
|
232
|
+
path: 'title',
|
233
|
+
options: {
|
234
|
+
//readonly: '{{ !context.eval(">enabled") }}',
|
235
|
+
},
|
236
|
+
},
|
237
|
+
],
|
238
|
+
}
|
239
|
+
],
|
240
|
+
},
|
241
|
+
];
|
242
|
+
//#endregion
|
243
|
+
|
244
|
+
//#region ---- DataSet Filter Widget ----
|
245
|
+
const AXM_DATASET_SORT_WIDGET = [
|
246
|
+
{
|
247
|
+
type: 'grid-item-layout',
|
248
|
+
mode: 'view',
|
249
|
+
options: { colSpan: 3 },
|
250
|
+
children: [
|
251
|
+
{
|
252
|
+
type: 'select-editor',
|
253
|
+
mode: 'edit',
|
254
|
+
path: 'enabled',
|
255
|
+
options: {
|
256
|
+
dataSource: [
|
257
|
+
{
|
258
|
+
value: 'asc',
|
259
|
+
text: 'Ascendent'
|
260
|
+
},
|
261
|
+
{
|
262
|
+
value: 'desc',
|
263
|
+
text: 'Desiccate'
|
264
|
+
},
|
265
|
+
{
|
266
|
+
value: 'none',
|
267
|
+
text: 'None'
|
268
|
+
},
|
269
|
+
],
|
270
|
+
textField: 'text',
|
271
|
+
valueField: 'value',
|
272
|
+
},
|
273
|
+
},
|
274
|
+
],
|
275
|
+
},
|
276
|
+
];
|
277
|
+
//#endregion
|
278
|
+
|
279
|
+
async function dataSetFactory(injector) {
|
280
|
+
const dataService = injector.get(AXMDataSetService);
|
281
|
+
const i18n = RootConfig.config.i18n;
|
282
|
+
const translationService = injector.get(AXTranslationService);
|
283
|
+
const dataSourceService = injector.get(AXMDataSourceService);
|
284
|
+
const entityDef = {
|
285
|
+
module: RootConfig.module.name,
|
286
|
+
name: RootConfig.entities.dataSet.name,
|
287
|
+
source: '',
|
288
|
+
title: RootConfig.entities.dataSet.title,
|
289
|
+
formats: {
|
290
|
+
individual: RootConfig.entities.dataSet.title,
|
291
|
+
plural: RootConfig.entities.dataSet.titlePlural,
|
292
|
+
searchResult: {
|
293
|
+
title: '{{ title }}',
|
294
|
+
description: RootConfig.module.title,
|
295
|
+
},
|
296
|
+
},
|
297
|
+
relatedEntities: [],
|
298
|
+
groups: [
|
299
|
+
{
|
300
|
+
id: 'dataSet',
|
301
|
+
title: RootConfig.entities.dataSet.title,
|
302
|
+
},
|
303
|
+
{
|
304
|
+
id: 'filters',
|
305
|
+
title: `t("advance", { scope: "${i18n}" })`,
|
306
|
+
},
|
307
|
+
],
|
308
|
+
properties: [
|
309
|
+
{
|
310
|
+
name: 'name',
|
311
|
+
title: `t("name", { scope: "common" })`,
|
312
|
+
groupId: 'dataSet',
|
313
|
+
options: {
|
314
|
+
sort: {
|
315
|
+
enabled: true,
|
316
|
+
},
|
317
|
+
filter: {
|
318
|
+
advance: {
|
319
|
+
enabled: true,
|
320
|
+
},
|
321
|
+
inline: {
|
322
|
+
enabled: false,
|
323
|
+
},
|
324
|
+
},
|
325
|
+
},
|
326
|
+
schema: {
|
327
|
+
dataType: 'string',
|
328
|
+
interface: {
|
329
|
+
type: AXPWidgetsCatalog.text,
|
330
|
+
},
|
331
|
+
},
|
332
|
+
validations: [
|
333
|
+
{
|
334
|
+
rule: 'required',
|
335
|
+
},
|
336
|
+
],
|
337
|
+
},
|
338
|
+
{
|
339
|
+
name: 'title',
|
340
|
+
title: `t("title", { scope: "common" })`,
|
341
|
+
groupId: 'dataSet',
|
342
|
+
options: {
|
343
|
+
sort: {
|
344
|
+
enabled: true,
|
345
|
+
},
|
346
|
+
filter: {
|
347
|
+
advance: {
|
348
|
+
enabled: true,
|
349
|
+
},
|
350
|
+
inline: {
|
351
|
+
enabled: false,
|
352
|
+
},
|
353
|
+
},
|
354
|
+
},
|
355
|
+
schema: {
|
356
|
+
dataType: 'string',
|
357
|
+
interface: {
|
358
|
+
type: AXPWidgetsCatalog.text,
|
359
|
+
},
|
360
|
+
},
|
361
|
+
validations: [
|
362
|
+
{
|
363
|
+
rule: 'required',
|
364
|
+
},
|
365
|
+
],
|
366
|
+
},
|
367
|
+
{
|
368
|
+
name: 'categoryIds',
|
369
|
+
title: 't("category", { scope: "common" })',
|
370
|
+
groupId: 'dataSet',
|
371
|
+
schema: {
|
372
|
+
defaultValue: '{{ [context.eval("categoryId")] }}',
|
373
|
+
dataType: 'string',
|
374
|
+
interface: {
|
375
|
+
type: AXPWidgetsCatalog.lookup,
|
376
|
+
options: {
|
377
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,
|
378
|
+
multiple: true,
|
379
|
+
expose: [
|
380
|
+
{ source: 'id', target: 'categories.{id}' },
|
381
|
+
{ source: 'title', target: 'categories.{title}' },
|
382
|
+
],
|
383
|
+
},
|
384
|
+
},
|
385
|
+
},
|
386
|
+
validations: [
|
387
|
+
{
|
388
|
+
rule: 'required',
|
389
|
+
},
|
390
|
+
],
|
391
|
+
},
|
392
|
+
{
|
393
|
+
name: 'dataSource',
|
394
|
+
title: `t("dataSource", { scope: "${i18n}" })`,
|
395
|
+
groupId: 'dataSet',
|
396
|
+
schema: {
|
397
|
+
dataType: 'string',
|
398
|
+
interface: {
|
399
|
+
type: AXPWidgetsCatalog.select,
|
400
|
+
options: {
|
401
|
+
valueField: 'name',
|
402
|
+
textField: 'title',
|
403
|
+
dataSource: new AXDataSource({
|
404
|
+
load: async () => {
|
405
|
+
const items = await dataSourceService.query({
|
406
|
+
skip: 0, take: 10000
|
407
|
+
});
|
408
|
+
const translated = await Promise.all(items.items.map(async (item) => ({
|
409
|
+
...item,
|
410
|
+
title: await translationService.translateAsync(item.title),
|
411
|
+
})));
|
412
|
+
return { total: translated.length, items: translated };
|
413
|
+
},
|
414
|
+
pageSize: 1000,
|
415
|
+
}),
|
416
|
+
multiple: false,
|
417
|
+
},
|
418
|
+
triggers: [
|
419
|
+
{
|
420
|
+
event: "{{ events.context('dataSource') }}",
|
421
|
+
action: `{{ var ds = context.eval('dataSource'); var list = []; Array.isArray(ds.filters) ? (function(){ for(var i=0;i<ds.filters.length;i++){ var item = ds.filters[i]; !item.isSystemFilter ? (function(){ var fl = item.filter; var column = (ds.columns || []).find(function(c){return c.name === fl.columnName;}) || {}; var widgetType = (function(){ var t = column.type || 'string'; t = (typeof t === 'object' && t !== null && 'name' in t) ? t.name : t; return t === 'text-editor' || t === 'large-text-editor' || t === 'string' ? 'string-filter' : t === 'number-editor' || t === 'number' ? 'number-filter' : t === 'date-time-editor' || t === 'datetime' || t === 'date' ? 'datetime-filter' : t === 'select-editor' || t === 'select' ? 'select-filter' : t === 'checkbox-editor' || t === 'toggle-editor' || t === 'boolean' ? 'boolean-filter' : t === 'color-editor' ? 'color-filter' : 'string-filter'; })(); var copy = { columnName: fl.columnName, isRequired: false, enabled: true, filter: { columnName: fl.columnName, value: fl.value }, widgetType: widgetType }; list.push(copy); })() : null; } })() : null; context.set('filters', list); }}`,
|
422
|
+
},
|
423
|
+
],
|
424
|
+
},
|
425
|
+
},
|
426
|
+
validations: [
|
427
|
+
{ rule: 'required' },
|
428
|
+
],
|
429
|
+
},
|
430
|
+
{
|
431
|
+
name: 'filters',
|
432
|
+
title: `t("filters", { scope: "${i18n}" })`,
|
433
|
+
groupId: 'filters',
|
434
|
+
schema: {
|
435
|
+
defaultValue: [],
|
436
|
+
dataType: 'object',
|
437
|
+
interface: {
|
438
|
+
type: AXPWidgetsCatalog.repeaterLayout,
|
439
|
+
path: 'filters',
|
440
|
+
options: {
|
441
|
+
hasControls: false,
|
442
|
+
isDraggable: true
|
443
|
+
},
|
444
|
+
children: AXM_DATASET_FILTER_WIDGET,
|
445
|
+
},
|
446
|
+
},
|
447
|
+
},
|
448
|
+
{
|
449
|
+
name: 'columns',
|
450
|
+
title: `t("columns", { scope: "${i18n}" })`,
|
451
|
+
groupId: 'filters',
|
452
|
+
schema: {
|
453
|
+
defaultValue: [],
|
454
|
+
dataType: 'object',
|
455
|
+
interface: {
|
456
|
+
type: AXPWidgetsCatalog.repeaterLayout,
|
457
|
+
options: {
|
458
|
+
hasControls: false,
|
459
|
+
isDraggable: true
|
460
|
+
},
|
461
|
+
children: AXM_DATASET_COLUMN_WIDGET,
|
462
|
+
triggers: [
|
463
|
+
{
|
464
|
+
event: "{{ events.context('dataSource') }}",
|
465
|
+
action: `{{ context.set('columns', context.eval('dataSource').columns); }}`,
|
466
|
+
},
|
467
|
+
],
|
468
|
+
},
|
469
|
+
},
|
470
|
+
},
|
471
|
+
{
|
472
|
+
name: 'sorts',
|
473
|
+
title: `t("sorts", { scope: "${i18n}" })`,
|
474
|
+
groupId: 'filters',
|
475
|
+
schema: {
|
476
|
+
defaultValue: [],
|
477
|
+
dataType: 'object',
|
478
|
+
interface: {
|
479
|
+
type: AXPWidgetsCatalog.repeaterLayout,
|
480
|
+
options: {
|
481
|
+
hasControls: false,
|
482
|
+
isDraggable: true
|
483
|
+
},
|
484
|
+
children: AXM_DATASET_SORT_WIDGET,
|
485
|
+
// triggers: [
|
486
|
+
// {
|
487
|
+
// event: "{{ events.context('dataSource') }}",
|
488
|
+
// action: `{{ context.set('sorts', context.eval('dataSource').columns); }}`,
|
489
|
+
// },
|
490
|
+
// ],
|
491
|
+
},
|
492
|
+
},
|
493
|
+
},
|
494
|
+
],
|
495
|
+
columns: [{ name: 'name' }, { name: 'title' }, { name: 'dataSource' }],
|
496
|
+
commands: {
|
497
|
+
create: {
|
498
|
+
execute: async (data) => {
|
499
|
+
console.log(data);
|
500
|
+
const res = await dataService.insertOne(data);
|
501
|
+
return { id: res };
|
502
|
+
},
|
503
|
+
},
|
504
|
+
delete: {
|
505
|
+
execute: async (id) => {
|
506
|
+
return await dataService.deleteOne(id);
|
507
|
+
},
|
508
|
+
},
|
509
|
+
update: {
|
510
|
+
execute: async (data) => {
|
511
|
+
return await dataService.updateOne(data.id, data);
|
512
|
+
},
|
513
|
+
},
|
514
|
+
},
|
515
|
+
queries: {
|
516
|
+
byKey: {
|
517
|
+
execute: async (id) => {
|
518
|
+
return await dataService.getOne(id);
|
519
|
+
},
|
520
|
+
type: AXPEntityQueryType.Single,
|
521
|
+
},
|
522
|
+
list: {
|
523
|
+
execute: async (e) => {
|
524
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
525
|
+
},
|
526
|
+
type: AXPEntityQueryType.List,
|
527
|
+
},
|
528
|
+
},
|
529
|
+
interfaces: {
|
530
|
+
master: {
|
531
|
+
create: {
|
532
|
+
sections: [
|
533
|
+
{
|
534
|
+
id: 'dataSet',
|
535
|
+
},
|
536
|
+
{
|
537
|
+
id: 'filters',
|
538
|
+
},
|
539
|
+
],
|
540
|
+
properties: [
|
541
|
+
{
|
542
|
+
name: 'dataSource',
|
543
|
+
layout: {
|
544
|
+
positions: {
|
545
|
+
lg: {
|
546
|
+
colSpan: 6,
|
547
|
+
order: 3,
|
548
|
+
},
|
549
|
+
},
|
550
|
+
},
|
551
|
+
},
|
552
|
+
{
|
553
|
+
name: 'name',
|
554
|
+
layout: {
|
555
|
+
positions: {
|
556
|
+
lg: {
|
557
|
+
colSpan: 6,
|
558
|
+
order: 1,
|
559
|
+
},
|
560
|
+
},
|
561
|
+
},
|
562
|
+
},
|
563
|
+
{
|
564
|
+
name: 'title',
|
565
|
+
layout: {
|
566
|
+
positions: {
|
567
|
+
lg: {
|
568
|
+
colSpan: 6,
|
569
|
+
order: 2,
|
570
|
+
},
|
571
|
+
},
|
572
|
+
},
|
573
|
+
},
|
574
|
+
{
|
575
|
+
name: 'filters',
|
576
|
+
layout: {
|
577
|
+
positions: {
|
578
|
+
lg: {
|
579
|
+
colSpan: 12,
|
580
|
+
order: 5,
|
581
|
+
},
|
582
|
+
},
|
583
|
+
},
|
584
|
+
},
|
585
|
+
{
|
586
|
+
name: 'columns',
|
587
|
+
layout: {
|
588
|
+
positions: {
|
589
|
+
lg: {
|
590
|
+
colSpan: 6,
|
591
|
+
order: 5,
|
592
|
+
},
|
593
|
+
},
|
594
|
+
},
|
595
|
+
},
|
596
|
+
{
|
597
|
+
name: 'sorts',
|
598
|
+
layout: {
|
599
|
+
positions: {
|
600
|
+
lg: {
|
601
|
+
colSpan: 6,
|
602
|
+
order: 6,
|
603
|
+
},
|
604
|
+
},
|
605
|
+
},
|
606
|
+
},
|
607
|
+
],
|
608
|
+
},
|
609
|
+
update: {
|
610
|
+
sections: [
|
611
|
+
{
|
612
|
+
id: 'dataSet',
|
613
|
+
},
|
614
|
+
{
|
615
|
+
id: 'filters',
|
616
|
+
},
|
617
|
+
],
|
618
|
+
properties: [
|
619
|
+
{
|
620
|
+
name: 'dataSource',
|
621
|
+
layout: {
|
622
|
+
positions: {
|
623
|
+
lg: {
|
624
|
+
colSpan: 6,
|
625
|
+
order: 3,
|
626
|
+
},
|
627
|
+
},
|
628
|
+
},
|
629
|
+
},
|
630
|
+
{
|
631
|
+
name: 'name',
|
632
|
+
layout: {
|
633
|
+
positions: {
|
634
|
+
lg: {
|
635
|
+
colSpan: 6,
|
636
|
+
order: 1,
|
637
|
+
},
|
638
|
+
},
|
639
|
+
},
|
640
|
+
},
|
641
|
+
{
|
642
|
+
name: 'title',
|
643
|
+
layout: {
|
644
|
+
positions: {
|
645
|
+
lg: {
|
646
|
+
colSpan: 6,
|
647
|
+
order: 2,
|
648
|
+
},
|
649
|
+
},
|
650
|
+
},
|
651
|
+
},
|
652
|
+
{
|
653
|
+
name: 'filters',
|
654
|
+
layout: {
|
655
|
+
positions: {
|
656
|
+
lg: {
|
657
|
+
colSpan: 12,
|
658
|
+
order: 5,
|
659
|
+
},
|
660
|
+
},
|
661
|
+
},
|
662
|
+
},
|
663
|
+
],
|
664
|
+
},
|
665
|
+
single: {
|
666
|
+
title: '{{title}}',
|
667
|
+
sections: [
|
668
|
+
{
|
669
|
+
id: 'dataSet',
|
670
|
+
layout: {
|
671
|
+
positions: {
|
672
|
+
lg: {
|
673
|
+
colSpan: 12,
|
674
|
+
},
|
675
|
+
},
|
676
|
+
},
|
677
|
+
},
|
678
|
+
],
|
679
|
+
properties: [
|
680
|
+
{
|
681
|
+
name: 'dataSource',
|
682
|
+
layout: {
|
683
|
+
positions: {
|
684
|
+
lg: {
|
685
|
+
colSpan: 6,
|
686
|
+
order: 3,
|
687
|
+
},
|
688
|
+
},
|
689
|
+
},
|
690
|
+
},
|
691
|
+
{
|
692
|
+
name: 'name',
|
693
|
+
layout: {
|
694
|
+
positions: {
|
695
|
+
lg: {
|
696
|
+
colSpan: 6,
|
697
|
+
order: 1,
|
698
|
+
},
|
699
|
+
},
|
700
|
+
},
|
701
|
+
},
|
702
|
+
{
|
703
|
+
name: 'title',
|
704
|
+
layout: {
|
705
|
+
positions: {
|
706
|
+
lg: {
|
707
|
+
colSpan: 6,
|
708
|
+
order: 2,
|
709
|
+
},
|
710
|
+
},
|
711
|
+
},
|
712
|
+
},
|
713
|
+
{
|
714
|
+
name: 'categoryIds',
|
715
|
+
layout: {
|
716
|
+
positions: {
|
717
|
+
lg: {
|
718
|
+
colSpan: 6,
|
719
|
+
order: 4,
|
720
|
+
},
|
721
|
+
},
|
722
|
+
},
|
723
|
+
},
|
724
|
+
{
|
725
|
+
name: 'filters',
|
726
|
+
layout: {
|
727
|
+
positions: {
|
728
|
+
lg: {
|
729
|
+
colSpan: 12,
|
730
|
+
order: 5,
|
731
|
+
},
|
732
|
+
},
|
733
|
+
},
|
734
|
+
},
|
735
|
+
],
|
736
|
+
actions: [],
|
737
|
+
},
|
738
|
+
list: {
|
739
|
+
actions: [
|
740
|
+
{
|
741
|
+
title: `t("create", { scope: "common" })`,
|
742
|
+
command: 'create-entity',
|
743
|
+
priority: 'primary',
|
744
|
+
type: 'create',
|
745
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
746
|
+
},
|
747
|
+
{
|
748
|
+
title: 't("deleteItems", { scope: "common" })',
|
749
|
+
command: 'delete-entity',
|
750
|
+
priority: 'primary',
|
751
|
+
type: 'delete',
|
752
|
+
scope: AXPEntityCommandScope.Selected,
|
753
|
+
},
|
754
|
+
{
|
755
|
+
title: 't("detail", { scope: "common" })',
|
756
|
+
command: 'open-entity',
|
757
|
+
priority: 'secondary',
|
758
|
+
type: 'view',
|
759
|
+
scope: AXPEntityCommandScope.Individual,
|
760
|
+
},
|
761
|
+
{
|
762
|
+
title: 't("delete", { scope: "common" })',
|
763
|
+
command: 'delete-entity',
|
764
|
+
priority: 'secondary',
|
765
|
+
type: 'delete',
|
766
|
+
scope: AXPEntityCommandScope.Individual,
|
767
|
+
},
|
768
|
+
],
|
769
|
+
views: [
|
770
|
+
createAllQueryView({
|
771
|
+
sorts: [{ name: 'name', dir: 'asc' }]
|
772
|
+
}),
|
773
|
+
],
|
774
|
+
},
|
775
|
+
},
|
776
|
+
},
|
777
|
+
};
|
778
|
+
return entityDef;
|
779
|
+
}
|
780
|
+
|
781
|
+
class AXMColumnEvaluatorScopeProvider {
|
782
|
+
constructor() {
|
783
|
+
this.lockService = inject(AXPLockService);
|
784
|
+
}
|
785
|
+
async provide(context) {
|
786
|
+
context.addScope('dataSource', {
|
787
|
+
getColumn: async (columnName, columns) => {
|
788
|
+
const column = columns.find(c => c.name === columnName);
|
789
|
+
return column;
|
790
|
+
}
|
791
|
+
});
|
792
|
+
}
|
793
|
+
}
|
794
|
+
|
795
|
+
class AXMReportCreateRootWorkflowAction extends AXPWorkflowAction {
|
796
|
+
constructor() {
|
797
|
+
super(...arguments);
|
798
|
+
this.popupService = inject(AXPopupService);
|
799
|
+
this.translationService = inject(AXTranslationService);
|
800
|
+
}
|
801
|
+
async execute(context) {
|
802
|
+
// const refId = context.getVariable<string>('options.refId');
|
803
|
+
const comp = await import('./acorex-modules-report-management-report-create-root.component-LrE6TkIp.mjs').then(m => m.AXPReportCreateRootComponent);
|
804
|
+
this.popupService.open(comp, await this.translationService.translateAsync('report.create.title', { scope: 'report-management' }));
|
805
|
+
}
|
806
|
+
}
|
807
|
+
const AXMReportCreateWorkflow = {
|
808
|
+
startStepId: 'report-create-root',
|
809
|
+
steps: {
|
810
|
+
'report-create-root': {
|
811
|
+
action: 'AXMReportCreateRootWorkflowAction',
|
812
|
+
nextSteps: [
|
813
|
+
{
|
814
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("unlocked") == true' }],
|
815
|
+
nextStepId: 'successToast',
|
816
|
+
},
|
817
|
+
],
|
818
|
+
},
|
819
|
+
successToast: {
|
820
|
+
id: 'successToast',
|
821
|
+
action: 'AXPToastAction',
|
822
|
+
input: {
|
823
|
+
color: 'success',
|
824
|
+
title: 'workflow.entity-modified-title',
|
825
|
+
content: 'workflow.entity-modified-body',
|
826
|
+
},
|
827
|
+
nextSteps: [
|
828
|
+
{
|
829
|
+
conditions: [],
|
830
|
+
nextStepId: 'modifyConfirmed',
|
831
|
+
},
|
832
|
+
],
|
833
|
+
},
|
834
|
+
// modifyConfirmed: {
|
835
|
+
// id: 'modifyConfirmed',
|
836
|
+
// action: 'AXPEntityModifyConfirmedAction',
|
837
|
+
// },
|
838
|
+
},
|
839
|
+
};
|
840
|
+
|
841
|
+
function routesFacory() {
|
842
|
+
let routes = [
|
843
|
+
{
|
844
|
+
path: `:app/${RootConfig.module.route}/reports`,
|
845
|
+
canActivate: [AXPAuthGuard],
|
846
|
+
loadComponent: () => {
|
847
|
+
return AXPRootLayoutComponent;
|
848
|
+
},
|
849
|
+
children: [
|
850
|
+
{
|
851
|
+
path: '**',
|
852
|
+
loadComponent: () => import('./acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs').then((c) => c.AXMReportRunnerRootPageComponent),
|
853
|
+
data: { reuse: true },
|
854
|
+
},
|
855
|
+
],
|
856
|
+
},
|
857
|
+
];
|
858
|
+
return routes;
|
859
|
+
}
|
860
|
+
class AXMReportManagementModule {
|
861
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
862
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMReportManagementModule, imports: [AXPDomainModule, i1.AXPWorkflowModule] }); }
|
863
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportManagementModule, providers: [
|
864
|
+
{
|
865
|
+
provide: AXMDataSetService,
|
866
|
+
useClass: AXMDataSetServiceImpl,
|
867
|
+
},
|
868
|
+
AXM_REPORT_DEFINITION_PROVIDER,
|
869
|
+
AXM_REPORT_CATEGORY_PROVIDER,
|
870
|
+
{
|
871
|
+
provide: AXP_MENU_PROVIDER,
|
872
|
+
useClass: AXMMenuProvider,
|
873
|
+
multi: true,
|
874
|
+
},
|
875
|
+
// {
|
876
|
+
// provide: AXP_SEARCH_PROVIDER,
|
877
|
+
// useClass: AXPReportSearchProvider,
|
878
|
+
// multi: true,
|
879
|
+
// },
|
880
|
+
// {
|
881
|
+
// provide: AXP_SEARCH_DEFINITION_PROVIDER,
|
882
|
+
// useClass: AXPReportSearchDefinitionProvider,
|
883
|
+
// multi: true,
|
884
|
+
// },
|
885
|
+
{
|
886
|
+
provide: ROUTES,
|
887
|
+
multi: true,
|
888
|
+
useFactory: routesFacory,
|
889
|
+
},
|
890
|
+
provideCommandSetups([
|
891
|
+
{
|
892
|
+
key: `${RootConfig.entities.report.fullName}:Run`,
|
893
|
+
command: () => import('./acorex-modules-report-management-run.command-CoXvPC15.mjs').then((c) => c.AXMReportRunCommand),
|
894
|
+
},
|
895
|
+
]),
|
896
|
+
provideEntity([RootConfig.entities.report.fullName, RootConfig.entities.category.fullName]),
|
897
|
+
{
|
898
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
899
|
+
useClass: AXMColumnEvaluatorScopeProvider,
|
900
|
+
multi: true,
|
901
|
+
},
|
902
|
+
], imports: [AXPDomainModule,
|
903
|
+
AXPWorkflowModule.forChild({
|
904
|
+
actions: {
|
905
|
+
AXMReportCreateRootWorkflowAction,
|
906
|
+
},
|
907
|
+
workflows: {
|
908
|
+
'report-create': AXMReportCreateWorkflow,
|
909
|
+
},
|
910
|
+
})] }); }
|
911
|
+
}
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMReportManagementModule, decorators: [{
|
913
|
+
type: NgModule,
|
914
|
+
args: [{
|
915
|
+
imports: [
|
916
|
+
AXPDomainModule,
|
917
|
+
AXPWorkflowModule.forChild({
|
918
|
+
actions: {
|
919
|
+
AXMReportCreateRootWorkflowAction,
|
920
|
+
},
|
921
|
+
workflows: {
|
922
|
+
'report-create': AXMReportCreateWorkflow,
|
923
|
+
},
|
924
|
+
}),
|
925
|
+
],
|
926
|
+
exports: [],
|
927
|
+
declarations: [],
|
928
|
+
providers: [
|
929
|
+
{
|
930
|
+
provide: AXMDataSetService,
|
931
|
+
useClass: AXMDataSetServiceImpl,
|
932
|
+
},
|
933
|
+
AXM_REPORT_DEFINITION_PROVIDER,
|
934
|
+
AXM_REPORT_CATEGORY_PROVIDER,
|
935
|
+
{
|
936
|
+
provide: AXP_MENU_PROVIDER,
|
937
|
+
useClass: AXMMenuProvider,
|
938
|
+
multi: true,
|
939
|
+
},
|
940
|
+
// {
|
941
|
+
// provide: AXP_SEARCH_PROVIDER,
|
942
|
+
// useClass: AXPReportSearchProvider,
|
943
|
+
// multi: true,
|
944
|
+
// },
|
945
|
+
// {
|
946
|
+
// provide: AXP_SEARCH_DEFINITION_PROVIDER,
|
947
|
+
// useClass: AXPReportSearchDefinitionProvider,
|
948
|
+
// multi: true,
|
949
|
+
// },
|
950
|
+
{
|
951
|
+
provide: ROUTES,
|
952
|
+
multi: true,
|
953
|
+
useFactory: routesFacory,
|
954
|
+
},
|
955
|
+
provideCommandSetups([
|
956
|
+
{
|
957
|
+
key: `${RootConfig.entities.report.fullName}:Run`,
|
958
|
+
command: () => import('./acorex-modules-report-management-run.command-CoXvPC15.mjs').then((c) => c.AXMReportRunCommand),
|
959
|
+
},
|
960
|
+
]),
|
961
|
+
provideEntity([RootConfig.entities.report.fullName, RootConfig.entities.category.fullName]),
|
962
|
+
{
|
963
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
964
|
+
useClass: AXMColumnEvaluatorScopeProvider,
|
965
|
+
multi: true,
|
966
|
+
},
|
967
|
+
],
|
968
|
+
}]
|
969
|
+
}] });
|
970
|
+
|
971
|
+
/**
|
972
|
+
* Generated bundle index. Do not edit.
|
973
|
+
*/
|
974
|
+
|
975
|
+
export { AXMReportManagementModule, RootConfig };
|
976
|
+
//# sourceMappingURL=acorex-modules-report-management.mjs.map
|