@acorex/modules 20.0.6 → 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 +222 -189
- package/document-management/index.d.ts +5 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-oGgCaUDu.mjs → acorex-modules-application-management-module-designer.component-BErRgx0w.mjs} +7 -7
- package/fesm2022/{acorex-modules-application-management-module-designer.component-oGgCaUDu.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-Cj4td3eM.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-C60idNYx.mjs → acorex-modules-auth-app-chooser.component-DqKTfLA2.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-app-chooser.component-C60idNYx.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-siRdi16m.mjs → acorex-modules-auth-login.module-CWOYzn0L.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-login.module-siRdi16m.mjs.map → acorex-modules-auth-login.module-CWOYzn0L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-BJCAe5Ai.mjs → acorex-modules-auth-master.layout-384T0lIg.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-master.layout-BJCAe5Ai.mjs.map → acorex-modules-auth-master.layout-384T0lIg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-VhDUmkMc.mjs → acorex-modules-auth-password.component-BW_ooTQG.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-VhDUmkMc.mjs.map → acorex-modules-auth-password.component-BW_ooTQG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-6-EEsfc2.mjs → acorex-modules-auth-password.component-JG95JpLz.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-6-EEsfc2.mjs.map → acorex-modules-auth-password.component-JG95JpLz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-BwBn4o81.mjs → acorex-modules-auth-routes-DqKtHu-i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-BwBn4o81.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-D7NgZHmC.mjs → acorex-modules-auth-two-factor.module-C88pXqao.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-two-factor.module-D7NgZHmC.mjs.map → acorex-modules-auth-two-factor.module-C88pXqao.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-DhlBCxly.mjs → acorex-modules-auth-user-sessions.component-loloVwv0.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-user-sessions.component-DhlBCxly.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 +1174 -1216
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +76 -76
- 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.mjs +122 -122
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Dfux0tkB.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-CSNKxghv.mjs → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs} +7 -7
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CSNKxghv.mjs.map → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-C4RaOgkr.mjs → acorex-modules-platform-management-settings.provider--ARXqBUY.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-C4RaOgkr.mjs.map → acorex-modules-platform-management-settings.provider--ARXqBUY.mjs.map} +1 -1
- 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-CtEDcg_B.mjs → acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs} +49 -21
- 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 +797 -29
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- 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 +63 -69
- 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 -5
- package/platform-management/index.d.ts +235 -8
- package/report-management/index.d.ts +11 -4
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Cj4td3eM.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-Dfux0tkB.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CtEDcg_B.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Bugxqd0W.mjs +0 -494
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Bugxqd0W.mjs.map +0 -1
@@ -1,16 +1,17 @@
|
|
1
1
|
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_APP_VERSION_PROVIDER, createQueryView, AXPRegionalService, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
2
|
-
import * as i2$
|
2
|
+
import * as i2$4 from '@acorex/platform/layout/components';
|
3
3
|
import { AXPThemeLayoutBlockComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
|
4
4
|
import { AXMEntityCrudServiceImpl, AXPEntityResolver, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
|
-
import * as i3$
|
5
|
+
import * as i3$3 from '@acorex/platform/workflow';
|
6
6
|
import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowTaskProvider, AXPWorkflowModule, AXP_WORKFLOW_TASK_PROVIDER } from '@acorex/platform/workflow';
|
7
7
|
import * as i0 from '@angular/core';
|
8
|
-
import { Injectable, inject, signal, HostListener, Component, Input, Injector, NgModule } from '@angular/core';
|
8
|
+
import { Injectable, inject, signal, HostListener, Component, Input, computed, effect, HostBinding, ChangeDetectionStrategy, Injector, NgModule } from '@angular/core';
|
9
9
|
import { ROUTES } from '@angular/router';
|
10
|
-
import
|
10
|
+
import * as i4$1 from '@acorex/platform/layout/builder';
|
11
|
+
import { AXPWidgetsCatalog, AXPWidgetRegistryService, AXP_WIDGETS_EDITOR_CATEGORY, AXPValueWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGET_DATASOURCE_PROVIDER } from '@acorex/platform/layout/builder';
|
11
12
|
import * as i5 from '@acorex/cdk/outline';
|
12
13
|
import { AXOutlineModule } from '@acorex/cdk/outline';
|
13
|
-
import * as
|
14
|
+
import * as i3$1 from '@acorex/components/decorators';
|
14
15
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
15
16
|
import * as i4 from '@acorex/components/side-menu';
|
16
17
|
import { AXSideMenuModule } from '@acorex/components/side-menu';
|
@@ -23,9 +24,9 @@ import * as i1 from '@angular/common';
|
|
23
24
|
import { CommonModule } from '@angular/common';
|
24
25
|
import { AXSafePipe } from '@acorex/core/pipes';
|
25
26
|
import { AXPopupService } from '@acorex/components/popup';
|
26
|
-
import * as i1$
|
27
|
+
import * as i1$3 from '@acorex/platform/core';
|
27
28
|
import { AXPPlatformScope, AXPDataSourceDefinitionProviderService, applyQueryArray, AXPAppStartUpService, objectKeyValueTransforms } from '@acorex/platform/core';
|
28
|
-
import * as i3$
|
29
|
+
import * as i3$2 from '@acorex/components/button';
|
29
30
|
import { AXButtonModule } from '@acorex/components/button';
|
30
31
|
import * as i3 from '@acorex/components/check-box';
|
31
32
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
@@ -34,14 +35,21 @@ import { AXLabelModule } from '@acorex/components/label';
|
|
34
35
|
import { AXBasePageComponent } from '@acorex/components/page';
|
35
36
|
import { DomSanitizer } from '@angular/platform-browser';
|
36
37
|
import { AXDataSource, convertArrayToDataSource } from '@acorex/cdk/common';
|
38
|
+
import get from 'lodash-es/get';
|
39
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
40
|
+
import * as i2$2 from '@acorex/components/select-box';
|
41
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
42
|
+
import * as i1$1 from '@angular/forms';
|
43
|
+
import { FormsModule } from '@angular/forms';
|
44
|
+
import * as i2$3 from '@acorex/components/text-box';
|
45
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
37
46
|
import { AXPWidgetsList } from '@acorex/modules/common';
|
38
47
|
import { signalStore, withState, withMethods, patchState, withHooks } from '@ngrx/signals';
|
39
48
|
import { AXCalendarService } from '@acorex/core/date-time';
|
40
49
|
import { AXLocaleService } from '@acorex/core/locale';
|
41
|
-
import * as i1$
|
50
|
+
import * as i1$2 from '@acorex/components/dropdown';
|
42
51
|
import { AXDropdownModule } from '@acorex/components/dropdown';
|
43
52
|
import { AXPopoverModule } from '@acorex/components/popover';
|
44
|
-
import get from 'lodash-es/get';
|
45
53
|
import { AXPSessionService } from '@acorex/platform/auth';
|
46
54
|
import { AXDialogService } from '@acorex/components/dialog';
|
47
55
|
import { SwUpdate } from '@angular/service-worker';
|
@@ -103,8 +111,8 @@ const RootConfig = {
|
|
103
111
|
},
|
104
112
|
metaDataDefinition: {
|
105
113
|
name: 'MetaDataDefinition',
|
106
|
-
title: `t("
|
107
|
-
titlePlural: `t("
|
114
|
+
title: `t("metaDataDefinition", {scope:"${config.i18n}"})`,
|
115
|
+
titlePlural: `t("metaDataDefinitionPlural", {scope:"${config.i18n}"})`,
|
108
116
|
icon: 'fa-light fa-server',
|
109
117
|
},
|
110
118
|
},
|
@@ -116,10 +124,10 @@ class AXMAppTermServiceImpl extends AXMEntityCrudServiceImpl {
|
|
116
124
|
constructor() {
|
117
125
|
super(`${RootConfig.module.name}.${RootConfig.entities.appTerm.name}`);
|
118
126
|
}
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
120
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppTermServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppTermServiceImpl }); }
|
121
129
|
}
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppTermServiceImpl, decorators: [{
|
123
131
|
type: Injectable
|
124
132
|
}], ctorParameters: () => [] });
|
125
133
|
|
@@ -586,15 +594,15 @@ class AXMListTermsComponent extends AXPPageLayoutBaseComponent {
|
|
586
594
|
getPageDescription() {
|
587
595
|
return RootConfig.entities.appTerm.pageDescription;
|
588
596
|
}
|
589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
590
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMListTermsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
598
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMListTermsComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
|
591
599
|
{
|
592
600
|
provide: AXPPageLayoutBase,
|
593
601
|
useExisting: AXMListTermsComponent,
|
594
602
|
},
|
595
603
|
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "showHashItem", "activationOffset", "copyUrlOnClick", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
|
596
604
|
}
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMListTermsComponent, decorators: [{
|
598
606
|
type: Component,
|
599
607
|
args: [{ imports: [
|
600
608
|
CommonModule,
|
@@ -634,10 +642,10 @@ class AXMNotifyAppTermComponent extends AXBasePageComponent {
|
|
634
642
|
send() {
|
635
643
|
this.close({ data: this.data });
|
636
644
|
}
|
637
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
638
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
646
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMNotifyAppTermComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i3.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
|
639
647
|
}
|
640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
|
641
649
|
type: Component,
|
642
650
|
args: [{ selector: 'axm-notify-app', imports: [
|
643
651
|
CommonModule,
|
@@ -663,10 +671,10 @@ class AXMNotifyNewTermPopupAction extends AXPWorkflowAction {
|
|
663
671
|
closeButton: false,
|
664
672
|
});
|
665
673
|
}
|
666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
667
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
674
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
675
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyNewTermPopupAction }); }
|
668
676
|
}
|
669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, decorators: [{
|
670
678
|
type: Injectable
|
671
679
|
}] });
|
672
680
|
class AXMTermUpdateSettingAction extends AXPWorkflowAction {
|
@@ -680,10 +688,10 @@ class AXMTermUpdateSettingAction extends AXPWorkflowAction {
|
|
680
688
|
await this.settingService.scope(AXPPlatformScope.User).set(`is-confirm-term-${data.id}`, true);
|
681
689
|
}
|
682
690
|
}
|
683
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
684
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMTermUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
692
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMTermUpdateSettingAction }); }
|
685
693
|
}
|
686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMTermUpdateSettingAction, decorators: [{
|
687
695
|
type: Injectable
|
688
696
|
}] });
|
689
697
|
const AXMNewTermWorkflow = {
|
@@ -710,10 +718,10 @@ class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
|
|
710
718
|
constructor() {
|
711
719
|
super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
|
712
720
|
}
|
713
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
714
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
722
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppVersionServiceImpl }); }
|
715
723
|
}
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
|
717
725
|
type: Injectable
|
718
726
|
}], ctorParameters: () => [] });
|
719
727
|
|
@@ -1090,10 +1098,10 @@ class AXMNotifyAppComponent extends AXBasePageComponent {
|
|
1090
1098
|
send() {
|
1091
1099
|
this.close({ data: this.data, isShowAgain: !this.isShowAgain });
|
1092
1100
|
}
|
1093
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1094
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
1101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyAppComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
1102
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXMNotifyAppComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i3.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }] }); }
|
1095
1103
|
}
|
1096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMNotifyAppComponent, decorators: [{
|
1097
1105
|
type: Component,
|
1098
1106
|
args: [{ selector: 'axm-notify-app', imports: [CommonModule, AXLabelModule, AXCheckBoxModule, AXDecoratorModule, AXButtonModule, AXTranslationModule], template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n" }]
|
1099
1107
|
}] });
|
@@ -1115,10 +1123,10 @@ class AXMAppVersionSlotComponent {
|
|
1115
1123
|
openPopup() {
|
1116
1124
|
this.workflowService.execute('show-release-notes');
|
1117
1125
|
}
|
1118
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1119
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
1126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1127
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXMAppVersionSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `, isInline: true }); }
|
1120
1128
|
}
|
1121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMAppVersionSlotComponent, decorators: [{
|
1122
1130
|
type: Component,
|
1123
1131
|
args: [{
|
1124
1132
|
template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `,
|
@@ -1157,10 +1165,10 @@ class AppVersionCheckService {
|
|
1157
1165
|
}
|
1158
1166
|
}
|
1159
1167
|
}
|
1160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1161
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
1168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppVersionCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1169
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppVersionCheckService }); }
|
1162
1170
|
}
|
1163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppVersionCheckService, decorators: [{
|
1164
1172
|
type: Injectable
|
1165
1173
|
}] });
|
1166
1174
|
|
@@ -1183,10 +1191,10 @@ class AXMChangeLogPopupAction extends AXPWorkflowAction {
|
|
1183
1191
|
context.setOutput('result', true);
|
1184
1192
|
}
|
1185
1193
|
}
|
1186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1187
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
1194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1195
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogPopupAction }); }
|
1188
1196
|
}
|
1189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogPopupAction, decorators: [{
|
1190
1198
|
type: Injectable
|
1191
1199
|
}] });
|
1192
1200
|
class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
|
@@ -1200,10 +1208,10 @@ class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
|
|
1200
1208
|
await this.settingService.scope(AXPPlatformScope.User).set(`is-see-check-version-${data.versionNumber}`, true);
|
1201
1209
|
}
|
1202
1210
|
}
|
1203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
1211
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1212
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction }); }
|
1205
1213
|
}
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
|
1207
1215
|
type: Injectable
|
1208
1216
|
}] });
|
1209
1217
|
const AXMWhatsNewWorkflow = {
|
@@ -1236,10 +1244,10 @@ class AXMCheckNewVersionAction extends AXPWorkflowAction {
|
|
1236
1244
|
}
|
1237
1245
|
await this.appVersionCheckService.checkVersion();
|
1238
1246
|
}
|
1239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
1247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMCheckNewVersionAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1248
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMCheckNewVersionAction }); }
|
1241
1249
|
}
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMCheckNewVersionAction, decorators: [{
|
1243
1251
|
type: Injectable
|
1244
1252
|
}] });
|
1245
1253
|
const AXMCheckNewVersionWorkflow = {
|
@@ -1251,6 +1259,7 @@ const AXMCheckNewVersionWorkflow = {
|
|
1251
1259
|
},
|
1252
1260
|
};
|
1253
1261
|
|
1262
|
+
//#region ---- Column Definition Widget ----
|
1254
1263
|
const AXM_COLUMN_DEF_WIDGET = [
|
1255
1264
|
{
|
1256
1265
|
type: 'grid-row-layout',
|
@@ -1266,8 +1275,8 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
1266
1275
|
mode: 'edit',
|
1267
1276
|
path: 'name',
|
1268
1277
|
options: {
|
1269
|
-
placeholder: 'Name',
|
1270
|
-
|
1278
|
+
placeholder: 'Column Name',
|
1279
|
+
required: true,
|
1271
1280
|
},
|
1272
1281
|
},
|
1273
1282
|
],
|
@@ -1282,7 +1291,8 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
1282
1291
|
mode: 'edit',
|
1283
1292
|
path: 'title',
|
1284
1293
|
options: {
|
1285
|
-
placeholder: 'Title',
|
1294
|
+
placeholder: 'Display Title',
|
1295
|
+
required: true,
|
1286
1296
|
},
|
1287
1297
|
},
|
1288
1298
|
],
|
@@ -1297,16 +1307,13 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
1297
1307
|
mode: 'edit',
|
1298
1308
|
path: 'type',
|
1299
1309
|
options: {
|
1300
|
-
|
1301
|
-
rule: true,
|
1302
|
-
},
|
1303
|
-
placeholder: 'Type',
|
1310
|
+
placeholder: 'Widget Type',
|
1304
1311
|
valueField: 'name',
|
1305
1312
|
textField: 'title',
|
1306
1313
|
dataSource: new AXDataSource({
|
1307
1314
|
load: async () => {
|
1308
1315
|
const service = AXPWidgetRegistryService.instance;
|
1309
|
-
const data = service.all();
|
1316
|
+
const data = service.all().filter(c => c.type.startsWith('editor'));
|
1310
1317
|
return {
|
1311
1318
|
items: data,
|
1312
1319
|
total: data.length,
|
@@ -1321,10 +1328,98 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
1321
1328
|
}),
|
1322
1329
|
direction: 'horizontal',
|
1323
1330
|
multiple: false,
|
1331
|
+
required: true,
|
1332
|
+
},
|
1333
|
+
},
|
1334
|
+
],
|
1335
|
+
},
|
1336
|
+
{
|
1337
|
+
type: 'grid-item-layout',
|
1338
|
+
options: { colSpan: 1 },
|
1339
|
+
mode: 'view',
|
1340
|
+
children: [
|
1341
|
+
{
|
1342
|
+
type: 'checkbox-editor',
|
1343
|
+
mode: 'edit',
|
1344
|
+
path: 'isValueField',
|
1345
|
+
options: {
|
1346
|
+
tooltip: 'Value Field (only one can be selected)',
|
1347
|
+
label: 'Value',
|
1324
1348
|
},
|
1349
|
+
triggers: [
|
1350
|
+
{
|
1351
|
+
event: "{{ events.context('columns.isValueField') }}",
|
1352
|
+
action: `{{ context.set('columns.isValueField', context.eval('columns.isValueField')[0]); }}`,
|
1353
|
+
},
|
1354
|
+
],
|
1325
1355
|
},
|
1326
1356
|
],
|
1327
1357
|
},
|
1358
|
+
{
|
1359
|
+
type: 'grid-item-layout',
|
1360
|
+
options: { colSpan: 1 },
|
1361
|
+
mode: 'view',
|
1362
|
+
children: [
|
1363
|
+
{
|
1364
|
+
type: 'checkbox-editor',
|
1365
|
+
mode: 'edit',
|
1366
|
+
path: 'isTextField',
|
1367
|
+
options: {
|
1368
|
+
tooltip: 'Text Field (multiple allowed)',
|
1369
|
+
label: 'Text',
|
1370
|
+
},
|
1371
|
+
},
|
1372
|
+
],
|
1373
|
+
},
|
1374
|
+
{
|
1375
|
+
type: 'grid-item-layout',
|
1376
|
+
options: { colSpan: 1 },
|
1377
|
+
mode: 'view',
|
1378
|
+
children: [
|
1379
|
+
{
|
1380
|
+
type: 'checkbox-editor',
|
1381
|
+
mode: 'edit',
|
1382
|
+
path: 'isRequired',
|
1383
|
+
options: {
|
1384
|
+
label: 'Required',
|
1385
|
+
tooltip: 'Required field',
|
1386
|
+
},
|
1387
|
+
},
|
1388
|
+
],
|
1389
|
+
},
|
1390
|
+
],
|
1391
|
+
},
|
1392
|
+
];
|
1393
|
+
//#endregion
|
1394
|
+
|
1395
|
+
//#region ---- Filter Definition Widget ----
|
1396
|
+
const AXM_FILTER_DEF_WIDGET = [
|
1397
|
+
{
|
1398
|
+
type: 'grid-row-layout',
|
1399
|
+
mode: 'view',
|
1400
|
+
children: [
|
1401
|
+
{
|
1402
|
+
type: 'grid-item-layout',
|
1403
|
+
mode: 'view',
|
1404
|
+
options: { colSpan: 6 },
|
1405
|
+
children: [
|
1406
|
+
{
|
1407
|
+
type: 'column-filter-selector-editor',
|
1408
|
+
mode: 'edit',
|
1409
|
+
path: 'filter',
|
1410
|
+
options: {
|
1411
|
+
columns: '{{context.eval("columns")}}',
|
1412
|
+
placeholder: 'Select Column and Set Filter Value',
|
1413
|
+
},
|
1414
|
+
},
|
1415
|
+
],
|
1416
|
+
triggers: [
|
1417
|
+
{
|
1418
|
+
event: '{{ events.context("filters.*") }}',
|
1419
|
+
action: '{{ console.log(context.eval("filters")) }}',
|
1420
|
+
}
|
1421
|
+
],
|
1422
|
+
},
|
1328
1423
|
{
|
1329
1424
|
type: 'grid-item-layout',
|
1330
1425
|
options: { colSpan: 2 },
|
@@ -1333,87 +1428,34 @@ const AXM_COLUMN_DEF_WIDGET = [
|
|
1333
1428
|
{
|
1334
1429
|
type: 'checkbox-editor',
|
1335
1430
|
mode: 'edit',
|
1336
|
-
path: '
|
1431
|
+
path: 'isSystemFilter',
|
1432
|
+
options: {
|
1433
|
+
label: 'System',
|
1434
|
+
tooltip: 'User can enable/disable in report',
|
1435
|
+
},
|
1436
|
+
},
|
1437
|
+
],
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
type: 'grid-item-layout',
|
1441
|
+
options: { colSpan: 2 },
|
1442
|
+
mode: 'view',
|
1443
|
+
children: [
|
1444
|
+
{
|
1445
|
+
type: 'checkbox-editor',
|
1446
|
+
mode: 'edit',
|
1447
|
+
path: 'isRequired',
|
1448
|
+
options: {
|
1449
|
+
label: 'Required',
|
1450
|
+
tooltip: 'Must be present in report',
|
1451
|
+
},
|
1337
1452
|
},
|
1338
1453
|
],
|
1339
1454
|
},
|
1340
1455
|
],
|
1341
1456
|
},
|
1342
1457
|
];
|
1343
|
-
|
1344
|
-
// {
|
1345
|
-
// type: 'grid-row-layout',
|
1346
|
-
// // name: 'grid-row-layout1',
|
1347
|
-
// mode: 'view',
|
1348
|
-
// path: '',
|
1349
|
-
// children: [
|
1350
|
-
// {
|
1351
|
-
// type: 'grid-item-layout',
|
1352
|
-
// mode: 'view',
|
1353
|
-
// // path: '',
|
1354
|
-
// options: { colSpan: 4 },
|
1355
|
-
// // name: 'grid-item-layout1',
|
1356
|
-
// children: [
|
1357
|
-
// {
|
1358
|
-
// type: 'text-editor',
|
1359
|
-
// //name: 'text-editor1',
|
1360
|
-
// mode: 'edit',
|
1361
|
-
// path: 'name',
|
1362
|
-
// options: {
|
1363
|
-
// placeholder: 'Name',
|
1364
|
-
// defaultValue: 'test',
|
1365
|
-
// },
|
1366
|
-
// },
|
1367
|
-
// ],
|
1368
|
-
// },
|
1369
|
-
// {
|
1370
|
-
// type: 'grid-item-layout',
|
1371
|
-
// mode: 'view',
|
1372
|
-
// // path: '',
|
1373
|
-
// options: { colSpan: 4 },
|
1374
|
-
// //name: 'grid-item-layout2',
|
1375
|
-
// children: [
|
1376
|
-
// {
|
1377
|
-
// type: 'text-editor',
|
1378
|
-
// // name: 'text-editor2',
|
1379
|
-
// mode: 'edit',
|
1380
|
-
// path: 'title',
|
1381
|
-
// options: {
|
1382
|
-
// placeholder: 'Title',
|
1383
|
-
// },
|
1384
|
-
// },
|
1385
|
-
// ],
|
1386
|
-
// },
|
1387
|
-
// {
|
1388
|
-
// type: 'grid-item-layout',
|
1389
|
-
// options: { colSpan: 4 },
|
1390
|
-
// mode: 'view',
|
1391
|
-
// // path: '',
|
1392
|
-
// // name: 'grid-item-layout3',
|
1393
|
-
// children: [
|
1394
|
-
// {
|
1395
|
-
// type: 'select-editor',
|
1396
|
-
// //name: 'select-editor1',
|
1397
|
-
// mode: 'edit',
|
1398
|
-
// path: 'type',
|
1399
|
-
// options: {
|
1400
|
-
// placeholder: 'Type',
|
1401
|
-
// valueField: 'name',
|
1402
|
-
// textField: 'title',
|
1403
|
-
// dataSource: [
|
1404
|
-
// { title: 'text', name: AXPWidgetsCatalog.text },
|
1405
|
-
// { title: 'Check Box', name: AXPWidgetsCatalog.checkbox },
|
1406
|
-
// { title: 'Gallery', name: AXPWidgetsCatalog.gallery },
|
1407
|
-
// ],
|
1408
|
-
// direction: 'horizontal',
|
1409
|
-
// multiple: false,
|
1410
|
-
// },
|
1411
|
-
// },
|
1412
|
-
// ],
|
1413
|
-
// },
|
1414
|
-
// ],
|
1415
|
-
// },
|
1416
|
-
// ];
|
1458
|
+
//#endregion
|
1417
1459
|
|
1418
1460
|
class AXMDataSourceService extends AXMEntityCrudServiceImpl {
|
1419
1461
|
}
|
@@ -1421,13 +1463,30 @@ class AXMDataSourceServiceImpl extends AXMEntityCrudServiceImpl {
|
|
1421
1463
|
constructor() {
|
1422
1464
|
super(`${RootConfig.module.name}.${RootConfig.entities.dataSource.name}`);
|
1423
1465
|
}
|
1424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1425
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
1466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSourceServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1467
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSourceServiceImpl }); }
|
1426
1468
|
}
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDataSourceServiceImpl, decorators: [{
|
1428
1470
|
type: Injectable
|
1429
1471
|
}], ctorParameters: () => [] });
|
1430
1472
|
|
1473
|
+
//#region ---- Output Types ----
|
1474
|
+
var AXMDataSourceOutputType;
|
1475
|
+
(function (AXMDataSourceOutputType) {
|
1476
|
+
AXMDataSourceOutputType["Table"] = "table";
|
1477
|
+
AXMDataSourceOutputType["SingleObject"] = "single_object";
|
1478
|
+
AXMDataSourceOutputType["Value"] = "value";
|
1479
|
+
})(AXMDataSourceOutputType || (AXMDataSourceOutputType = {}));
|
1480
|
+
//#endregion
|
1481
|
+
//#region ---- Source Types ----
|
1482
|
+
var AXMDataSourceType;
|
1483
|
+
(function (AXMDataSourceType) {
|
1484
|
+
AXMDataSourceType["Static"] = "static";
|
1485
|
+
AXMDataSourceType["Query"] = "query";
|
1486
|
+
// ExternalApi = 'external_api' // TODO: Will be implemented later
|
1487
|
+
})(AXMDataSourceType || (AXMDataSourceType = {}));
|
1488
|
+
//#endregion
|
1489
|
+
|
1431
1490
|
async function dataSourceEntityFactory(injector) {
|
1432
1491
|
const dataService = injector.get(AXMDataSourceService);
|
1433
1492
|
const i18n = RootConfig.config.i18n;
|
@@ -1452,6 +1511,18 @@ async function dataSourceEntityFactory(injector) {
|
|
1452
1511
|
id: 'dataSource',
|
1453
1512
|
title: RootConfig.entities.dataSource.title,
|
1454
1513
|
},
|
1514
|
+
{
|
1515
|
+
id: 'columns',
|
1516
|
+
title: 't("columns", {scope:"${config.i18n}"})',
|
1517
|
+
},
|
1518
|
+
{
|
1519
|
+
id: 'filters',
|
1520
|
+
title: 't("filters", {scope:"${config.i18n}"})',
|
1521
|
+
},
|
1522
|
+
{
|
1523
|
+
id: 'samples',
|
1524
|
+
title: 't("samples", {scope:"${config.i18n}"})',
|
1525
|
+
},
|
1455
1526
|
],
|
1456
1527
|
properties: [
|
1457
1528
|
{
|
@@ -1503,7 +1574,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1503
1574
|
{
|
1504
1575
|
name: 'columns',
|
1505
1576
|
title: `t("columns", { scope: "${i18n}" })`,
|
1506
|
-
groupId: '
|
1577
|
+
groupId: 'columns',
|
1507
1578
|
schema: {
|
1508
1579
|
defaultValue: [
|
1509
1580
|
{
|
@@ -1526,14 +1597,31 @@ async function dataSourceEntityFactory(injector) {
|
|
1526
1597
|
event: "{{ events.context('sourceEntity') }}",
|
1527
1598
|
action: `{{ widget.setValue(context.eval('sourceEntity')?.columns); }}`,
|
1528
1599
|
},
|
1600
|
+
{
|
1601
|
+
event: "{{ events.context('columns') }}",
|
1602
|
+
action: `{{ console.log(context.eval('columns.*.isTextField')); }}`,
|
1603
|
+
},
|
1529
1604
|
],
|
1530
1605
|
},
|
1531
1606
|
},
|
1532
1607
|
},
|
1608
|
+
{
|
1609
|
+
name: 'filters',
|
1610
|
+
title: `t("filters", { scope: "${i18n}" })`,
|
1611
|
+
groupId: 'filters',
|
1612
|
+
schema: {
|
1613
|
+
defaultValue: [],
|
1614
|
+
dataType: 'object',
|
1615
|
+
interface: {
|
1616
|
+
type: AXPWidgetsCatalog.repeaterLayout,
|
1617
|
+
children: AXM_FILTER_DEF_WIDGET,
|
1618
|
+
},
|
1619
|
+
},
|
1620
|
+
},
|
1533
1621
|
{
|
1534
1622
|
name: 'samples',
|
1535
1623
|
title: `t("samples", { scope: "${i18n}" })`,
|
1536
|
-
groupId: '
|
1624
|
+
groupId: 'samples',
|
1537
1625
|
schema: {
|
1538
1626
|
dataType: 'object',
|
1539
1627
|
interface: {
|
@@ -1566,10 +1654,11 @@ async function dataSourceEntityFactory(injector) {
|
|
1566
1654
|
valueField: 'name',
|
1567
1655
|
textField: 'title',
|
1568
1656
|
dataSource: [
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1657
|
+
// TODO: External API temporarily disabled for upgrade
|
1658
|
+
// {
|
1659
|
+
// name: 'external_api',
|
1660
|
+
// title: 'External Api',
|
1661
|
+
// },
|
1573
1662
|
{
|
1574
1663
|
name: 'query',
|
1575
1664
|
title: 'Query',
|
@@ -1605,6 +1694,55 @@ async function dataSourceEntityFactory(injector) {
|
|
1605
1694
|
},
|
1606
1695
|
],
|
1607
1696
|
},
|
1697
|
+
{
|
1698
|
+
name: 'outputType',
|
1699
|
+
title: `t("outputType", { scope: "${i18n}" })`,
|
1700
|
+
groupId: 'dataSource',
|
1701
|
+
schema: {
|
1702
|
+
defaultValue: {
|
1703
|
+
name: AXMDataSourceOutputType.Table,
|
1704
|
+
title: 'Table',
|
1705
|
+
},
|
1706
|
+
dataType: 'string',
|
1707
|
+
interface: {
|
1708
|
+
type: AXPWidgetsCatalog.select,
|
1709
|
+
options: {
|
1710
|
+
valueField: 'name',
|
1711
|
+
textField: 'title',
|
1712
|
+
dataSource: [
|
1713
|
+
{
|
1714
|
+
name: AXMDataSourceOutputType.Table,
|
1715
|
+
title: 'Table (List of Records)',
|
1716
|
+
},
|
1717
|
+
{
|
1718
|
+
name: AXMDataSourceOutputType.SingleObject,
|
1719
|
+
title: 'Single Object',
|
1720
|
+
},
|
1721
|
+
{
|
1722
|
+
name: AXMDataSourceOutputType.Value,
|
1723
|
+
title: 'Value (Count/Number)',
|
1724
|
+
},
|
1725
|
+
],
|
1726
|
+
multiple: false,
|
1727
|
+
},
|
1728
|
+
},
|
1729
|
+
},
|
1730
|
+
validations: [
|
1731
|
+
{
|
1732
|
+
rule: 'required',
|
1733
|
+
},
|
1734
|
+
],
|
1735
|
+
options: {
|
1736
|
+
sort: {
|
1737
|
+
enabled: true,
|
1738
|
+
},
|
1739
|
+
filter: {
|
1740
|
+
advance: {
|
1741
|
+
enabled: true,
|
1742
|
+
},
|
1743
|
+
},
|
1744
|
+
},
|
1745
|
+
},
|
1608
1746
|
{
|
1609
1747
|
name: 'sourceStatic',
|
1610
1748
|
title: `t("sourceStatic", { scope: "${i18n}" })`,
|
@@ -1614,7 +1752,6 @@ async function dataSourceEntityFactory(injector) {
|
|
1614
1752
|
interface: {
|
1615
1753
|
type: AXPWidgetsCatalog.table,
|
1616
1754
|
options: {
|
1617
|
-
//TODO problem selectBox!
|
1618
1755
|
visibility: '{{context.eval("sourceType")?.name == "static" }}',
|
1619
1756
|
columns: '{{context.eval("columns")}}',
|
1620
1757
|
defaultRowCount: 2,
|
@@ -1622,9 +1759,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1622
1759
|
},
|
1623
1760
|
},
|
1624
1761
|
validations: [
|
1625
|
-
|
1626
|
-
rule: 'required',
|
1627
|
-
},
|
1762
|
+
// Validation removed: field is now auto-derived from columns flags
|
1628
1763
|
],
|
1629
1764
|
},
|
1630
1765
|
{
|
@@ -1636,7 +1771,6 @@ async function dataSourceEntityFactory(injector) {
|
|
1636
1771
|
interface: {
|
1637
1772
|
type: AXPWidgetsCatalog.select,
|
1638
1773
|
options: {
|
1639
|
-
//TODO problem selectBox!
|
1640
1774
|
visibility: '{{context.eval("sourceType")?.name == "query" }}',
|
1641
1775
|
valueField: 'name',
|
1642
1776
|
textField: 'title',
|
@@ -1657,14 +1791,6 @@ async function dataSourceEntityFactory(injector) {
|
|
1657
1791
|
}),
|
1658
1792
|
},
|
1659
1793
|
triggers: [
|
1660
|
-
{
|
1661
|
-
event: "{{ events.context('sourceEntity') }}",
|
1662
|
-
action: `{{ context.set('textField', context.eval('sourceEntity')?.textField); }}`,
|
1663
|
-
},
|
1664
|
-
{
|
1665
|
-
event: "{{ events.context('sourceEntity') }}",
|
1666
|
-
action: `{{ context.set('valueField', context.eval('sourceEntity')?.valueField); }}`,
|
1667
|
-
},
|
1668
1794
|
{
|
1669
1795
|
event: "{{ events.context('sourceEntity') }}",
|
1670
1796
|
action: `{{ context.set('samples', context.eval('sourceEntity')?.samples); }}`,
|
@@ -1673,56 +1799,11 @@ async function dataSourceEntityFactory(injector) {
|
|
1673
1799
|
},
|
1674
1800
|
},
|
1675
1801
|
validations: [
|
1676
|
-
//
|
1677
|
-
// rule: 'required',
|
1678
|
-
// disabled: "{{ context.eval('sourceType')?.name != 'entity' }}",
|
1679
|
-
// },
|
1680
|
-
],
|
1681
|
-
},
|
1682
|
-
{
|
1683
|
-
name: 'textField',
|
1684
|
-
title: `t("textField", { scope: "${i18n}" })`,
|
1685
|
-
groupId: 'dataSource',
|
1686
|
-
schema: {
|
1687
|
-
dataType: 'string',
|
1688
|
-
interface: {
|
1689
|
-
type: AXPWidgetsCatalog.select,
|
1690
|
-
options: {
|
1691
|
-
valueField: 'name',
|
1692
|
-
textField: 'title',
|
1693
|
-
dataSource: `{{ context.eval('columns') }}`,
|
1694
|
-
},
|
1695
|
-
},
|
1696
|
-
},
|
1697
|
-
validations: [
|
1698
|
-
{
|
1699
|
-
rule: 'required',
|
1700
|
-
},
|
1701
|
-
],
|
1702
|
-
},
|
1703
|
-
{
|
1704
|
-
name: 'valueField',
|
1705
|
-
title: `t("valueField", { scope: "${i18n}" })`,
|
1706
|
-
groupId: 'dataSource',
|
1707
|
-
schema: {
|
1708
|
-
dataType: 'string',
|
1709
|
-
interface: {
|
1710
|
-
type: AXPWidgetsCatalog.select,
|
1711
|
-
options: {
|
1712
|
-
valueField: 'name',
|
1713
|
-
textField: 'title',
|
1714
|
-
dataSource: `{{ context.eval('columns') }}`,
|
1715
|
-
},
|
1716
|
-
},
|
1717
|
-
},
|
1718
|
-
validations: [
|
1719
|
-
{
|
1720
|
-
rule: 'required',
|
1721
|
-
},
|
1802
|
+
// Validation removed: field is now auto-derived from columns flags
|
1722
1803
|
],
|
1723
1804
|
},
|
1724
1805
|
],
|
1725
|
-
columns: [{ name: 'name' }, { name: 'title' }, { name: 'sourceType' }],
|
1806
|
+
columns: [{ name: 'name' }, { name: 'title' }, { name: 'sourceType' }, { name: 'outputType' }],
|
1726
1807
|
commands: {
|
1727
1808
|
create: {
|
1728
1809
|
execute: async (data) => {
|
@@ -1733,6 +1814,14 @@ async function dataSourceEntityFactory(injector) {
|
|
1733
1814
|
// if (data.sourceType.name == 'static') {
|
1734
1815
|
// data.sourceStatic = data.sourceStatic?.name;
|
1735
1816
|
// }
|
1817
|
+
// derive textField & valueField from columns flags
|
1818
|
+
if (Array.isArray(data.columns)) {
|
1819
|
+
const txtColsArr = data.columns.filter((c) => c.isTextField).map((c) => c.name);
|
1820
|
+
const txtCols = txtColsArr.join(',');
|
1821
|
+
const valCol = data.columns.find((c) => c.isValueField);
|
1822
|
+
data.textField = txtCols;
|
1823
|
+
data.valueField = valCol ? valCol.name : null;
|
1824
|
+
}
|
1736
1825
|
console.log('after save', data);
|
1737
1826
|
const res = await dataService.insertOne(data);
|
1738
1827
|
return { id: res };
|
@@ -1745,6 +1834,14 @@ async function dataSourceEntityFactory(injector) {
|
|
1745
1834
|
},
|
1746
1835
|
update: {
|
1747
1836
|
execute: async (data) => {
|
1837
|
+
// derive textField & valueField from columns flags
|
1838
|
+
if (Array.isArray(data.columns)) {
|
1839
|
+
const txtColsArr = data.columns.filter((c) => c.isTextField).map((c) => c.name);
|
1840
|
+
const txtCols = txtColsArr.join(',');
|
1841
|
+
const valCol = data.columns.find((c) => c.isValueField);
|
1842
|
+
data.textField = txtCols;
|
1843
|
+
data.valueField = valCol ? valCol.name : null;
|
1844
|
+
}
|
1748
1845
|
return await dataService.updateOne(data.id, data);
|
1749
1846
|
},
|
1750
1847
|
},
|
@@ -1770,6 +1867,15 @@ async function dataSourceEntityFactory(injector) {
|
|
1770
1867
|
{
|
1771
1868
|
id: 'dataSource',
|
1772
1869
|
},
|
1870
|
+
{
|
1871
|
+
id: 'columns',
|
1872
|
+
},
|
1873
|
+
{
|
1874
|
+
id: 'filters',
|
1875
|
+
},
|
1876
|
+
{
|
1877
|
+
id: 'samples',
|
1878
|
+
},
|
1773
1879
|
],
|
1774
1880
|
properties: [
|
1775
1881
|
{
|
@@ -1817,56 +1923,56 @@ async function dataSourceEntityFactory(injector) {
|
|
1817
1923
|
},
|
1818
1924
|
},
|
1819
1925
|
{
|
1820
|
-
name: '
|
1926
|
+
name: 'sourceType',
|
1821
1927
|
layout: {
|
1822
1928
|
positions: {
|
1823
1929
|
lg: {
|
1824
1930
|
colSpan: 6,
|
1825
|
-
order:
|
1931
|
+
order: 3,
|
1826
1932
|
},
|
1827
1933
|
},
|
1828
1934
|
},
|
1829
1935
|
},
|
1830
1936
|
{
|
1831
|
-
name: '
|
1937
|
+
name: 'sourceStatic',
|
1832
1938
|
layout: {
|
1833
1939
|
positions: {
|
1834
1940
|
lg: {
|
1835
1941
|
colSpan: 6,
|
1836
|
-
order:
|
1942
|
+
order: 4,
|
1837
1943
|
},
|
1838
1944
|
},
|
1839
1945
|
},
|
1840
1946
|
},
|
1841
1947
|
{
|
1842
|
-
name: '
|
1948
|
+
name: 'sourceEntity',
|
1843
1949
|
layout: {
|
1844
1950
|
positions: {
|
1845
1951
|
lg: {
|
1846
1952
|
colSpan: 6,
|
1847
|
-
order:
|
1953
|
+
order: 4,
|
1848
1954
|
},
|
1849
1955
|
},
|
1850
1956
|
},
|
1851
1957
|
},
|
1852
1958
|
{
|
1853
|
-
name: '
|
1959
|
+
name: 'outputType',
|
1854
1960
|
layout: {
|
1855
1961
|
positions: {
|
1856
1962
|
lg: {
|
1857
1963
|
colSpan: 6,
|
1858
|
-
order:
|
1964
|
+
order: 5,
|
1859
1965
|
},
|
1860
1966
|
},
|
1861
1967
|
},
|
1862
1968
|
},
|
1863
1969
|
{
|
1864
|
-
name: '
|
1970
|
+
name: 'filters',
|
1865
1971
|
layout: {
|
1866
1972
|
positions: {
|
1867
1973
|
lg: {
|
1868
|
-
colSpan:
|
1869
|
-
order:
|
1974
|
+
colSpan: 12,
|
1975
|
+
order: 6,
|
1870
1976
|
},
|
1871
1977
|
},
|
1872
1978
|
},
|
@@ -1878,6 +1984,15 @@ async function dataSourceEntityFactory(injector) {
|
|
1878
1984
|
{
|
1879
1985
|
id: 'dataSource',
|
1880
1986
|
},
|
1987
|
+
{
|
1988
|
+
id: 'columns',
|
1989
|
+
},
|
1990
|
+
{
|
1991
|
+
id: 'filters',
|
1992
|
+
},
|
1993
|
+
{
|
1994
|
+
id: 'samples',
|
1995
|
+
},
|
1881
1996
|
],
|
1882
1997
|
properties: [
|
1883
1998
|
{
|
@@ -1914,56 +2029,56 @@ async function dataSourceEntityFactory(injector) {
|
|
1914
2029
|
},
|
1915
2030
|
},
|
1916
2031
|
{
|
1917
|
-
name: '
|
2032
|
+
name: 'sourceType',
|
1918
2033
|
layout: {
|
1919
2034
|
positions: {
|
1920
2035
|
lg: {
|
1921
2036
|
colSpan: 6,
|
1922
|
-
order:
|
2037
|
+
order: 3,
|
1923
2038
|
},
|
1924
2039
|
},
|
1925
2040
|
},
|
1926
2041
|
},
|
1927
2042
|
{
|
1928
|
-
name: '
|
2043
|
+
name: 'sourceEntity',
|
1929
2044
|
layout: {
|
1930
2045
|
positions: {
|
1931
2046
|
lg: {
|
1932
|
-
colSpan:
|
1933
|
-
order:
|
2047
|
+
colSpan: 12,
|
2048
|
+
order: 4,
|
1934
2049
|
},
|
1935
2050
|
},
|
1936
2051
|
},
|
1937
2052
|
},
|
1938
2053
|
{
|
1939
|
-
name: '
|
2054
|
+
name: 'sourceStatic',
|
1940
2055
|
layout: {
|
1941
2056
|
positions: {
|
1942
2057
|
lg: {
|
1943
2058
|
colSpan: 12,
|
1944
|
-
order:
|
2059
|
+
order: 4,
|
1945
2060
|
},
|
1946
2061
|
},
|
1947
2062
|
},
|
1948
2063
|
},
|
1949
2064
|
{
|
1950
|
-
name: '
|
2065
|
+
name: 'outputType',
|
1951
2066
|
layout: {
|
1952
2067
|
positions: {
|
1953
2068
|
lg: {
|
1954
|
-
colSpan:
|
1955
|
-
order:
|
2069
|
+
colSpan: 6,
|
2070
|
+
order: 5,
|
1956
2071
|
},
|
1957
2072
|
},
|
1958
2073
|
},
|
1959
2074
|
},
|
1960
2075
|
{
|
1961
|
-
name: '
|
2076
|
+
name: 'filters',
|
1962
2077
|
layout: {
|
1963
2078
|
positions: {
|
1964
2079
|
lg: {
|
1965
2080
|
colSpan: 12,
|
1966
|
-
order:
|
2081
|
+
order: 6,
|
1967
2082
|
},
|
1968
2083
|
},
|
1969
2084
|
},
|
@@ -1976,6 +2091,15 @@ async function dataSourceEntityFactory(injector) {
|
|
1976
2091
|
{
|
1977
2092
|
id: 'dataSource',
|
1978
2093
|
},
|
2094
|
+
{
|
2095
|
+
id: 'columns',
|
2096
|
+
},
|
2097
|
+
{
|
2098
|
+
id: 'filters',
|
2099
|
+
},
|
2100
|
+
{
|
2101
|
+
id: 'samples',
|
2102
|
+
},
|
1979
2103
|
],
|
1980
2104
|
properties: [
|
1981
2105
|
{
|
@@ -2045,34 +2169,34 @@ async function dataSourceEntityFactory(injector) {
|
|
2045
2169
|
},
|
2046
2170
|
},
|
2047
2171
|
{
|
2048
|
-
name: '
|
2172
|
+
name: 'outputType',
|
2049
2173
|
layout: {
|
2050
2174
|
positions: {
|
2051
2175
|
lg: {
|
2052
|
-
colSpan:
|
2053
|
-
order:
|
2176
|
+
colSpan: 6,
|
2177
|
+
order: 6,
|
2054
2178
|
},
|
2055
2179
|
},
|
2056
2180
|
},
|
2057
2181
|
},
|
2058
2182
|
{
|
2059
|
-
name: '
|
2183
|
+
name: 'filters',
|
2060
2184
|
layout: {
|
2061
2185
|
positions: {
|
2062
2186
|
lg: {
|
2063
|
-
colSpan:
|
2187
|
+
colSpan: 12,
|
2064
2188
|
order: 7,
|
2065
2189
|
},
|
2066
2190
|
},
|
2067
2191
|
},
|
2068
2192
|
},
|
2069
2193
|
{
|
2070
|
-
name: '
|
2194
|
+
name: 'samples',
|
2071
2195
|
layout: {
|
2072
2196
|
positions: {
|
2073
2197
|
lg: {
|
2074
|
-
colSpan:
|
2075
|
-
order:
|
2198
|
+
colSpan: 12,
|
2199
|
+
order: 10,
|
2076
2200
|
},
|
2077
2201
|
},
|
2078
2202
|
},
|
@@ -2163,16 +2287,511 @@ async function dataSourceEntityFactory(injector) {
|
|
2163
2287
|
return entityDef;
|
2164
2288
|
}
|
2165
2289
|
|
2290
|
+
class AXMDynamicDataSourceProvider {
|
2291
|
+
constructor() {
|
2292
|
+
this.dataSourceService = inject(AXMDataSourceService);
|
2293
|
+
this.entityResolverService = inject(AXPEntityResolver);
|
2294
|
+
this.dataSourceDefinitionProviderService = inject(AXPDataSourceDefinitionProviderService);
|
2295
|
+
}
|
2296
|
+
async items() {
|
2297
|
+
const dataSources = await this.dataSourceService.query({
|
2298
|
+
skip: 0,
|
2299
|
+
take: 1000,
|
2300
|
+
});
|
2301
|
+
const mapFn = (item) => {
|
2302
|
+
return {
|
2303
|
+
...item,
|
2304
|
+
valueField: get(item, 'valueField.name'),
|
2305
|
+
textField: get(item, 'textField.name'),
|
2306
|
+
source: async () => {
|
2307
|
+
if (item.sourceType.name == 'static') {
|
2308
|
+
return convertArrayToDataSource(item.sourceStatic);
|
2309
|
+
}
|
2310
|
+
// Entity
|
2311
|
+
else if (item.sourceType.name == 'query') {
|
2312
|
+
const definition = await this.dataSourceDefinitionProviderService.get(item.sourceEntity);
|
2313
|
+
if (definition) {
|
2314
|
+
return definition.source();
|
2315
|
+
}
|
2316
|
+
}
|
2317
|
+
//
|
2318
|
+
return convertArrayToDataSource([]);
|
2319
|
+
},
|
2320
|
+
};
|
2321
|
+
};
|
2322
|
+
const mapped = dataSources.items.map((item) => mapFn(item));
|
2323
|
+
return mapped;
|
2324
|
+
}
|
2325
|
+
}
|
2326
|
+
|
2327
|
+
const AXMColumnFilterSelectorWidget = {
|
2328
|
+
name: 'column-filter-selector-editor',
|
2329
|
+
title: 'Column Filter Selector',
|
2330
|
+
icon: 'fa-light fa-filter',
|
2331
|
+
description: 'Selects a column and configures its filter value',
|
2332
|
+
categories: AXP_WIDGETS_EDITOR_CATEGORY,
|
2333
|
+
type: 'editor',
|
2334
|
+
defaultFilterWidgetName: 'string-filter',
|
2335
|
+
options: {
|
2336
|
+
needLabel: false,
|
2337
|
+
},
|
2338
|
+
properties: [
|
2339
|
+
AXP_NAME_PROPERTY,
|
2340
|
+
AXP_DATA_PATH_PROPERTY,
|
2341
|
+
AXP_DISABLED_PROPERTY,
|
2342
|
+
],
|
2343
|
+
components: {
|
2344
|
+
view: {
|
2345
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetView_component; }).then((c) => c.AXMColumnFilterSelectorWidgetViewComponent),
|
2346
|
+
},
|
2347
|
+
edit: {
|
2348
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetEdit_component; }).then((c) => c.AXMColumnFilterSelectorWidgetEditComponent),
|
2349
|
+
},
|
2350
|
+
filter: {
|
2351
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetFilter_component; }).then((c) => c.AXMColumnFilterSelectorWidgetFilterComponent),
|
2352
|
+
},
|
2353
|
+
column: {
|
2354
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetColumn_component; }).then((c) => c.AXMColumnFilterSelectorWidgetColumnComponent),
|
2355
|
+
},
|
2356
|
+
print: {
|
2357
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetPrint_component; }).then((c) => c.AXMColumnFilterSelectorWidgetPrintComponent),
|
2358
|
+
},
|
2359
|
+
designer: {
|
2360
|
+
component: () => Promise.resolve().then(function () { return columnFilterSelectorWidgetEdit_component; }).then((c) => c.AXMColumnFilterSelectorWidgetEditComponent),
|
2361
|
+
},
|
2362
|
+
},
|
2363
|
+
};
|
2364
|
+
|
2365
|
+
class AXMColumnFilterSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
2366
|
+
constructor() {
|
2367
|
+
super(...arguments);
|
2368
|
+
//#region ---- Properties ----
|
2369
|
+
this.disabled = computed(() => this.options()['disabled']);
|
2370
|
+
this.columns = computed(() => this.options()['columns'] || []);
|
2371
|
+
//#endregion
|
2372
|
+
//#region ---- Computed Properties ----
|
2373
|
+
this.columnsDataSource = computed(() => {
|
2374
|
+
return new AXDataSource({
|
2375
|
+
load: async () => {
|
2376
|
+
const items = this.columns();
|
2377
|
+
return {
|
2378
|
+
items: items,
|
2379
|
+
total: items.length,
|
2380
|
+
};
|
2381
|
+
},
|
2382
|
+
pageSize: 100,
|
2383
|
+
});
|
2384
|
+
});
|
2385
|
+
this.selectedColumn = computed(() => {
|
2386
|
+
const columnName = this.getValue()?.columnName;
|
2387
|
+
if (!columnName)
|
2388
|
+
return null;
|
2389
|
+
return this.columns().find(col => col.name === columnName);
|
2390
|
+
});
|
2391
|
+
this.filterWidgetNode = computed(() => {
|
2392
|
+
const column = this.selectedColumn();
|
2393
|
+
if (!column)
|
2394
|
+
return null;
|
2395
|
+
const widgetType = this.getWidgetTypeForColumn(column.type);
|
2396
|
+
return {
|
2397
|
+
type: widgetType,
|
2398
|
+
defaultValue: this.getValue()?.value,
|
2399
|
+
path: 'value',
|
2400
|
+
name: 'value',
|
2401
|
+
options: {
|
2402
|
+
placeholder: `Enter ${column.title}`,
|
2403
|
+
disabled: this.disabled()
|
2404
|
+
}
|
2405
|
+
};
|
2406
|
+
});
|
2407
|
+
//#endregion
|
2408
|
+
//#region ---- Lifecycle ----
|
2409
|
+
//Update parent value when selections change
|
2410
|
+
this.#effect = effect(() => {
|
2411
|
+
const columnName = this.getValue()?.columnName;
|
2412
|
+
const value = this.getValue()?.value;
|
2413
|
+
console.log(columnName, value);
|
2414
|
+
this.setValue({
|
2415
|
+
columnName: columnName || undefined,
|
2416
|
+
value: value
|
2417
|
+
});
|
2418
|
+
});
|
2419
|
+
}
|
2420
|
+
//#endregion
|
2421
|
+
//#region ---- Lifecycle ----
|
2422
|
+
//Update parent value when selections change
|
2423
|
+
#effect;
|
2424
|
+
//#endregion
|
2425
|
+
//#region ---- Event Handlers ----
|
2426
|
+
handleColumnChange(event) {
|
2427
|
+
this.setValue({
|
2428
|
+
columnName: event.value,
|
2429
|
+
value: undefined
|
2430
|
+
});
|
2431
|
+
}
|
2432
|
+
handleWidgetValueChange(event) {
|
2433
|
+
this.setValue({
|
2434
|
+
columnName: this.getValue()?.columnName,
|
2435
|
+
value: event.data.value
|
2436
|
+
});
|
2437
|
+
}
|
2438
|
+
//#endregion
|
2439
|
+
//#region ---- Utility Methods ----
|
2440
|
+
getWidgetTypeForColumn(columnType) {
|
2441
|
+
// Map column types to appropriate widget types
|
2442
|
+
//TODO default value need object
|
2443
|
+
let type = columnType;
|
2444
|
+
if (typeof columnType === 'object' && columnType !== null && 'name' in columnType) {
|
2445
|
+
type = columnType['name'];
|
2446
|
+
}
|
2447
|
+
switch (type) {
|
2448
|
+
case 'text-editor':
|
2449
|
+
case 'large-text-editor':
|
2450
|
+
case 'string':
|
2451
|
+
return 'string-filter';
|
2452
|
+
case 'number-editor':
|
2453
|
+
case 'number':
|
2454
|
+
return 'number-filter';
|
2455
|
+
case 'date-time-editor':
|
2456
|
+
case 'datetime':
|
2457
|
+
case 'date':
|
2458
|
+
return 'datetime-filter';
|
2459
|
+
case 'select-editor':
|
2460
|
+
case 'select':
|
2461
|
+
return 'select-filter';
|
2462
|
+
case 'checkbox-editor':
|
2463
|
+
case 'toggle-editor':
|
2464
|
+
case 'boolean':
|
2465
|
+
return 'boolean-filter';
|
2466
|
+
case 'color-editor':
|
2467
|
+
return 'color-filter';
|
2468
|
+
default:
|
2469
|
+
return 'text-editor'; // Default fallback
|
2470
|
+
}
|
2471
|
+
}
|
2472
|
+
//#endregion
|
2473
|
+
//#region ---- Host Binding ----
|
2474
|
+
get __hostClass() {
|
2475
|
+
return 'axm-column-filter-selector-widget-edit';
|
2476
|
+
}
|
2477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2478
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMColumnFilterSelectorWidgetEditComponent, isStandalone: true, selector: "axm-column-filter-selector-widget-edit", host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
2479
|
+
<div class="ax-flex ax-gap-4 ax-w-full ax-items-center">
|
2480
|
+
<axp-widgets-container
|
2481
|
+
[context]="getValue()"
|
2482
|
+
(onContextChanged)="handleWidgetValueChange($event)">
|
2483
|
+
<ax-select-box
|
2484
|
+
[placeholder]="'Select Column'"
|
2485
|
+
[dataSource]="columnsDataSource()"
|
2486
|
+
[valueField]="'name'"
|
2487
|
+
[textField]="'title'"
|
2488
|
+
[ngModel]="getValue().columnName"
|
2489
|
+
[disabled]="disabled()"
|
2490
|
+
(onValueChanged)="handleColumnChange($event)"
|
2491
|
+
>
|
2492
|
+
<ax-clear-button></ax-clear-button>
|
2493
|
+
</ax-select-box>
|
2494
|
+
|
2495
|
+
|
2496
|
+
@if (filterWidgetNode()) {
|
2497
|
+
|
2498
|
+
<ng-container
|
2499
|
+
axp-widget-renderer
|
2500
|
+
[node]="filterWidgetNode()!"
|
2501
|
+
[mode]="'edit'">
|
2502
|
+
</ng-container>
|
2503
|
+
}
|
2504
|
+
</axp-widgets-container>
|
2505
|
+
</div>
|
2506
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i2$2.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i4$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i4$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2507
|
+
}
|
2508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetEditComponent, decorators: [{
|
2509
|
+
type: Component,
|
2510
|
+
args: [{
|
2511
|
+
selector: 'axm-column-filter-selector-widget-edit',
|
2512
|
+
template: `
|
2513
|
+
<div class="ax-flex ax-gap-4 ax-w-full ax-items-center">
|
2514
|
+
<axp-widgets-container
|
2515
|
+
[context]="getValue()"
|
2516
|
+
(onContextChanged)="handleWidgetValueChange($event)">
|
2517
|
+
<ax-select-box
|
2518
|
+
[placeholder]="'Select Column'"
|
2519
|
+
[dataSource]="columnsDataSource()"
|
2520
|
+
[valueField]="'name'"
|
2521
|
+
[textField]="'title'"
|
2522
|
+
[ngModel]="getValue().columnName"
|
2523
|
+
[disabled]="disabled()"
|
2524
|
+
(onValueChanged)="handleColumnChange($event)"
|
2525
|
+
>
|
2526
|
+
<ax-clear-button></ax-clear-button>
|
2527
|
+
</ax-select-box>
|
2528
|
+
|
2529
|
+
|
2530
|
+
@if (filterWidgetNode()) {
|
2531
|
+
|
2532
|
+
<ng-container
|
2533
|
+
axp-widget-renderer
|
2534
|
+
[node]="filterWidgetNode()!"
|
2535
|
+
[mode]="'edit'">
|
2536
|
+
</ng-container>
|
2537
|
+
}
|
2538
|
+
</axp-widgets-container>
|
2539
|
+
</div>
|
2540
|
+
`,
|
2541
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2542
|
+
imports: [
|
2543
|
+
CommonModule,
|
2544
|
+
FormsModule,
|
2545
|
+
AXSelectBoxModule,
|
2546
|
+
AXDecoratorModule,
|
2547
|
+
AXPLayoutBuilderModule
|
2548
|
+
],
|
2549
|
+
}]
|
2550
|
+
}], propDecorators: { __hostClass: [{
|
2551
|
+
type: HostBinding,
|
2552
|
+
args: ['class']
|
2553
|
+
}] } });
|
2554
|
+
|
2555
|
+
var columnFilterSelectorWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
2556
|
+
__proto__: null,
|
2557
|
+
AXMColumnFilterSelectorWidgetEditComponent: AXMColumnFilterSelectorWidgetEditComponent
|
2558
|
+
});
|
2559
|
+
|
2560
|
+
class AXMColumnFilterSelectorWidgetViewComponent extends AXPValueWidgetComponent {
|
2561
|
+
constructor() {
|
2562
|
+
super(...arguments);
|
2563
|
+
//#region ---- Computed Properties ----
|
2564
|
+
this.currentValue = computed(() => this.getValue());
|
2565
|
+
this.displayValue = computed(() => {
|
2566
|
+
const value = this.currentValue()?.value;
|
2567
|
+
if (value === null || value === undefined) {
|
2568
|
+
return '';
|
2569
|
+
}
|
2570
|
+
return ` ${value.operation.type} ${value.value}`;
|
2571
|
+
});
|
2572
|
+
}
|
2573
|
+
//#endregion
|
2574
|
+
//#region ---- Host Binding ----
|
2575
|
+
get __hostClass() {
|
2576
|
+
return 'axm-column-filter-selector-widget';
|
2577
|
+
}
|
2578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2579
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMColumnFilterSelectorWidgetViewComponent, isStandalone: true, selector: "axm-column-filter-selector-widget-view", host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
2580
|
+
<div class="__content">
|
2581
|
+
@if (currentValue()) {
|
2582
|
+
<div class="__filter-display">
|
2583
|
+
<span class="__column-name">{{ currentValue().columnName }}</span>
|
2584
|
+
<span class="__separator">:</span>
|
2585
|
+
<span class="__filter-value">{{ displayValue() }}</span>
|
2586
|
+
</div>
|
2587
|
+
} @else {
|
2588
|
+
<span class="__empty">No filter selected</span>
|
2589
|
+
}
|
2590
|
+
</div>
|
2591
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2592
|
+
}
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetViewComponent, decorators: [{
|
2594
|
+
type: Component,
|
2595
|
+
args: [{
|
2596
|
+
selector: 'axm-column-filter-selector-widget-view',
|
2597
|
+
template: `
|
2598
|
+
<div class="__content">
|
2599
|
+
@if (currentValue()) {
|
2600
|
+
<div class="__filter-display">
|
2601
|
+
<span class="__column-name">{{ currentValue().columnName }}</span>
|
2602
|
+
<span class="__separator">:</span>
|
2603
|
+
<span class="__filter-value">{{ displayValue() }}</span>
|
2604
|
+
</div>
|
2605
|
+
} @else {
|
2606
|
+
<span class="__empty">No filter selected</span>
|
2607
|
+
}
|
2608
|
+
</div>
|
2609
|
+
`,
|
2610
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2611
|
+
imports: [],
|
2612
|
+
}]
|
2613
|
+
}], propDecorators: { __hostClass: [{
|
2614
|
+
type: HostBinding,
|
2615
|
+
args: ['class']
|
2616
|
+
}] } });
|
2617
|
+
|
2618
|
+
var columnFilterSelectorWidgetView_component = /*#__PURE__*/Object.freeze({
|
2619
|
+
__proto__: null,
|
2620
|
+
AXMColumnFilterSelectorWidgetViewComponent: AXMColumnFilterSelectorWidgetViewComponent
|
2621
|
+
});
|
2622
|
+
|
2623
|
+
class AXMColumnFilterSelectorWidgetColumnComponent extends AXPValueWidgetComponent {
|
2624
|
+
constructor() {
|
2625
|
+
super(...arguments);
|
2626
|
+
//#region ---- Computed Properties ----
|
2627
|
+
this.currentValue = computed(() => this.getValue());
|
2628
|
+
this.displayValue = computed(() => {
|
2629
|
+
const value = this.currentValue()?.value;
|
2630
|
+
if (value === null || value === undefined) {
|
2631
|
+
return '';
|
2632
|
+
}
|
2633
|
+
if (typeof value === 'boolean') {
|
2634
|
+
return value ? 'Yes' : 'No';
|
2635
|
+
}
|
2636
|
+
if (typeof value === 'string' && value.length > 20) {
|
2637
|
+
return value.substring(0, 20) + '...';
|
2638
|
+
}
|
2639
|
+
return String(value);
|
2640
|
+
});
|
2641
|
+
}
|
2642
|
+
//#endregion
|
2643
|
+
//#region ---- Host Binding ----
|
2644
|
+
get __hostClass() {
|
2645
|
+
return 'axm-column-filter-selector-widget';
|
2646
|
+
}
|
2647
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2648
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMColumnFilterSelectorWidgetColumnComponent, isStandalone: true, selector: "axm-column-filter-selector-widget-column", host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
2649
|
+
@if (currentValue().columnName) {
|
2650
|
+
<span class="__column-filter">{{ currentValue().columnName }}: {{ displayValue() }}</span>
|
2651
|
+
} @else {
|
2652
|
+
<span class="__empty">-</span>
|
2653
|
+
}
|
2654
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2655
|
+
}
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetColumnComponent, decorators: [{
|
2657
|
+
type: Component,
|
2658
|
+
args: [{
|
2659
|
+
selector: 'axm-column-filter-selector-widget-column',
|
2660
|
+
template: `
|
2661
|
+
@if (currentValue().columnName) {
|
2662
|
+
<span class="__column-filter">{{ currentValue().columnName }}: {{ displayValue() }}</span>
|
2663
|
+
} @else {
|
2664
|
+
<span class="__empty">-</span>
|
2665
|
+
}
|
2666
|
+
`,
|
2667
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2668
|
+
imports: [],
|
2669
|
+
}]
|
2670
|
+
}], propDecorators: { __hostClass: [{
|
2671
|
+
type: HostBinding,
|
2672
|
+
args: ['class']
|
2673
|
+
}] } });
|
2674
|
+
|
2675
|
+
var columnFilterSelectorWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
2676
|
+
__proto__: null,
|
2677
|
+
AXMColumnFilterSelectorWidgetColumnComponent: AXMColumnFilterSelectorWidgetColumnComponent
|
2678
|
+
});
|
2679
|
+
|
2680
|
+
class AXMColumnFilterSelectorWidgetFilterComponent extends AXPValueWidgetComponent {
|
2681
|
+
//#region ---- Event Handlers ----
|
2682
|
+
handleValueChange(event) {
|
2683
|
+
const currentValue = this.getValue() || {};
|
2684
|
+
this.setValue({
|
2685
|
+
...currentValue,
|
2686
|
+
columnName: event.value
|
2687
|
+
});
|
2688
|
+
}
|
2689
|
+
//#endregion
|
2690
|
+
//#region ---- Host Binding ----
|
2691
|
+
get __hostClass() {
|
2692
|
+
return 'axm-column-filter-selector-widget';
|
2693
|
+
}
|
2694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2695
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXMColumnFilterSelectorWidgetFilterComponent, isStandalone: true, selector: "axm-column-filter-selector-widget-filter", host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
2696
|
+
<ax-text-box
|
2697
|
+
[placeholder]="'Filter by column name...'"
|
2698
|
+
[ngModel]="getValue().columnName"
|
2699
|
+
(onValueChanged)="handleValueChange($event)"
|
2700
|
+
>
|
2701
|
+
<ax-clear-button></ax-clear-button>
|
2702
|
+
</ax-text-box>
|
2703
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2$3.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2704
|
+
}
|
2705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetFilterComponent, decorators: [{
|
2706
|
+
type: Component,
|
2707
|
+
args: [{
|
2708
|
+
selector: 'axm-column-filter-selector-widget-filter',
|
2709
|
+
template: `
|
2710
|
+
<ax-text-box
|
2711
|
+
[placeholder]="'Filter by column name...'"
|
2712
|
+
[ngModel]="getValue().columnName"
|
2713
|
+
(onValueChanged)="handleValueChange($event)"
|
2714
|
+
>
|
2715
|
+
<ax-clear-button></ax-clear-button>
|
2716
|
+
</ax-text-box>
|
2717
|
+
`,
|
2718
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2719
|
+
imports: [FormsModule, AXTextBoxModule, AXDecoratorModule],
|
2720
|
+
}]
|
2721
|
+
}], propDecorators: { __hostClass: [{
|
2722
|
+
type: HostBinding,
|
2723
|
+
args: ['class']
|
2724
|
+
}] } });
|
2725
|
+
|
2726
|
+
var columnFilterSelectorWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
2727
|
+
__proto__: null,
|
2728
|
+
AXMColumnFilterSelectorWidgetFilterComponent: AXMColumnFilterSelectorWidgetFilterComponent
|
2729
|
+
});
|
2730
|
+
|
2731
|
+
class AXMColumnFilterSelectorWidgetPrintComponent extends AXPValueWidgetComponent {
|
2732
|
+
constructor() {
|
2733
|
+
super(...arguments);
|
2734
|
+
//#region ---- Computed Properties ----
|
2735
|
+
this.currentValue = computed(() => this.getValue());
|
2736
|
+
this.displayValue = computed(() => {
|
2737
|
+
const value = this.currentValue()?.value;
|
2738
|
+
if (value === null || value === undefined) {
|
2739
|
+
return 'No value';
|
2740
|
+
}
|
2741
|
+
if (typeof value === 'boolean') {
|
2742
|
+
return value ? 'Yes' : 'No';
|
2743
|
+
}
|
2744
|
+
return String(value);
|
2745
|
+
});
|
2746
|
+
}
|
2747
|
+
//#endregion
|
2748
|
+
//#region ---- Host Binding ----
|
2749
|
+
get __hostClass() {
|
2750
|
+
return 'axm-column-filter-selector-widget';
|
2751
|
+
}
|
2752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2753
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMColumnFilterSelectorWidgetPrintComponent, isStandalone: true, selector: "axm-column-filter-selector-widget-print", host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `
|
2754
|
+
@if (currentValue().columnName) {
|
2755
|
+
<div class="__print-content">
|
2756
|
+
<strong>{{ currentValue().columnName }}:</strong> {{ displayValue() }}
|
2757
|
+
</div>
|
2758
|
+
}
|
2759
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2760
|
+
}
|
2761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMColumnFilterSelectorWidgetPrintComponent, decorators: [{
|
2762
|
+
type: Component,
|
2763
|
+
args: [{
|
2764
|
+
selector: 'axm-column-filter-selector-widget-print',
|
2765
|
+
template: `
|
2766
|
+
@if (currentValue().columnName) {
|
2767
|
+
<div class="__print-content">
|
2768
|
+
<strong>{{ currentValue().columnName }}:</strong> {{ displayValue() }}
|
2769
|
+
</div>
|
2770
|
+
}
|
2771
|
+
`,
|
2772
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2773
|
+
imports: [],
|
2774
|
+
}]
|
2775
|
+
}], propDecorators: { __hostClass: [{
|
2776
|
+
type: HostBinding,
|
2777
|
+
args: ['class']
|
2778
|
+
}] } });
|
2779
|
+
|
2780
|
+
var columnFilterSelectorWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
2781
|
+
__proto__: null,
|
2782
|
+
AXMColumnFilterSelectorWidgetPrintComponent: AXMColumnFilterSelectorWidgetPrintComponent
|
2783
|
+
});
|
2784
|
+
|
2166
2785
|
class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
|
2167
2786
|
}
|
2168
2787
|
class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
|
2169
2788
|
constructor() {
|
2170
2789
|
super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
|
2171
2790
|
}
|
2172
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2173
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
2791
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2792
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
|
2174
2793
|
}
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, decorators: [{
|
2176
2795
|
type: Injectable
|
2177
2796
|
}], ctorParameters: () => [] });
|
2178
2797
|
|
@@ -2555,10 +3174,10 @@ class AXMGlossaryServiceImpl extends AXMGlossaryService {
|
|
2555
3174
|
constructor() {
|
2556
3175
|
super(`${RootConfig.module.name}.${RootConfig.entities.glossary.name}`);
|
2557
3176
|
}
|
2558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2559
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
3177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlossaryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3178
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlossaryServiceImpl }); }
|
2560
3179
|
}
|
2561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
3180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMGlossaryServiceImpl, decorators: [{
|
2562
3181
|
type: Injectable
|
2563
3182
|
}], ctorParameters: () => [] });
|
2564
3183
|
|
@@ -2864,10 +3483,10 @@ class AXMPMetaDataDefinitionServiceImpl extends AXMMetaDataDefinitionService {
|
|
2864
3483
|
constructor() {
|
2865
3484
|
super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinition.name}`);
|
2866
3485
|
}
|
2867
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2868
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
3486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3487
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl }); }
|
2869
3488
|
}
|
2870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
3489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, decorators: [{
|
2871
3490
|
type: Injectable
|
2872
3491
|
}], ctorParameters: () => [] });
|
2873
3492
|
|
@@ -2988,7 +3607,7 @@ async function metaDataDefinitionFactory(injector) {
|
|
2988
3607
|
},
|
2989
3608
|
{
|
2990
3609
|
name: 'interface',
|
2991
|
-
title:
|
3610
|
+
title: `t("interface", { scope: "${RootConfig.config.i18n}" })`,
|
2992
3611
|
groupId: 'section',
|
2993
3612
|
schema: {
|
2994
3613
|
dataType: 'string',
|
@@ -3281,10 +3900,10 @@ class AXMMetaDataDefinitionCategoryServiceImpl extends AXMMetaDataDefinitionCate
|
|
3281
3900
|
getAllWithItems() {
|
3282
3901
|
throw new Error('Not implemented');
|
3283
3902
|
}
|
3284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
3285
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
3903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
3904
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl }); }
|
3286
3905
|
}
|
3287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
3906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, decorators: [{
|
3288
3907
|
type: Injectable
|
3289
3908
|
}], ctorParameters: () => [] });
|
3290
3909
|
|
@@ -3553,8 +4172,17 @@ var index = /*#__PURE__*/Object.freeze({
|
|
3553
4172
|
AXMChangeLogUpdateSettingAction: AXMChangeLogUpdateSettingAction,
|
3554
4173
|
AXMCheckNewVersionAction: AXMCheckNewVersionAction,
|
3555
4174
|
AXMCheckNewVersionWorkflow: AXMCheckNewVersionWorkflow,
|
4175
|
+
AXMColumnFilterSelectorWidget: AXMColumnFilterSelectorWidget,
|
4176
|
+
AXMColumnFilterSelectorWidgetColumnComponent: AXMColumnFilterSelectorWidgetColumnComponent,
|
4177
|
+
AXMColumnFilterSelectorWidgetEditComponent: AXMColumnFilterSelectorWidgetEditComponent,
|
4178
|
+
AXMColumnFilterSelectorWidgetFilterComponent: AXMColumnFilterSelectorWidgetFilterComponent,
|
4179
|
+
AXMColumnFilterSelectorWidgetPrintComponent: AXMColumnFilterSelectorWidgetPrintComponent,
|
4180
|
+
AXMColumnFilterSelectorWidgetViewComponent: AXMColumnFilterSelectorWidgetViewComponent,
|
4181
|
+
get AXMDataSourceOutputType () { return AXMDataSourceOutputType; },
|
3556
4182
|
AXMDataSourceService: AXMDataSourceService,
|
3557
4183
|
AXMDataSourceServiceImpl: AXMDataSourceServiceImpl,
|
4184
|
+
get AXMDataSourceType () { return AXMDataSourceType; },
|
4185
|
+
AXMDynamicDataSourceProvider: AXMDynamicDataSourceProvider,
|
3558
4186
|
AXMGlobalVariablesService: AXMGlobalVariablesService,
|
3559
4187
|
AXMGlobalVariablesServiceImpl: AXMGlobalVariablesServiceImpl,
|
3560
4188
|
AXMGlossaryService: AXMGlossaryService,
|
@@ -3569,6 +4197,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
3569
4197
|
AXMPMetaDataDefinitionServiceImpl: AXMPMetaDataDefinitionServiceImpl,
|
3570
4198
|
AXMTermUpdateSettingAction: AXMTermUpdateSettingAction,
|
3571
4199
|
AXMWhatsNewWorkflow: AXMWhatsNewWorkflow,
|
4200
|
+
AXM_COLUMN_DEF_WIDGET: AXM_COLUMN_DEF_WIDGET,
|
4201
|
+
AXM_FILTER_DEF_WIDGET: AXM_FILTER_DEF_WIDGET,
|
3572
4202
|
appTermEntityEntityFactory: appTermEntityEntityFactory,
|
3573
4203
|
appVersionEntityEntityFactory: appVersionEntityEntityFactory,
|
3574
4204
|
dataSourceEntityFactory: dataSourceEntityFactory,
|
@@ -3682,10 +4312,10 @@ class AXMLanguageSlotComponent {
|
|
3682
4312
|
const items = await this.regionalService.getLocaleProfiles();
|
3683
4313
|
this.items.set(items);
|
3684
4314
|
}
|
3685
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
3686
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
4315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMLanguageSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
4316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1$2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3$2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3$2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }] }); }
|
3687
4317
|
}
|
3688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMLanguageSlotComponent, decorators: [{
|
3689
4319
|
type: Component,
|
3690
4320
|
args: [{ imports: [AXDropdownModule, AXDecoratorModule, AXPopoverModule, AXButtonModule], template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n" }]
|
3691
4321
|
}] });
|
@@ -3943,14 +4573,14 @@ class AXMPlatformManagementCommonModule {
|
|
3943
4573
|
}
|
3944
4574
|
});
|
3945
4575
|
}
|
3946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
3947
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
3948
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
4576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementCommonModule, deps: [{ token: i1$3.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
4577
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementCommonModule, imports: [i2$4.AXPComponentSlotModule] }); }
|
4578
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementCommonModule, providers: [
|
3949
4579
|
{
|
3950
4580
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
3951
4581
|
useFactory: async () => {
|
3952
4582
|
const injector = inject(Injector);
|
3953
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider
|
4583
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider--ARXqBUY.mjs')).AXMRegionalSettingProvider;
|
3954
4584
|
return new provider(injector);
|
3955
4585
|
},
|
3956
4586
|
multi: true
|
@@ -3969,7 +4599,7 @@ class AXMPlatformManagementCommonModule {
|
|
3969
4599
|
]
|
3970
4600
|
})] }); }
|
3971
4601
|
}
|
3972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementCommonModule, decorators: [{
|
3973
4603
|
type: NgModule,
|
3974
4604
|
args: [{
|
3975
4605
|
imports: [
|
@@ -3989,7 +4619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
3989
4619
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
3990
4620
|
useFactory: async () => {
|
3991
4621
|
const injector = inject(Injector);
|
3992
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider
|
4622
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider--ARXqBUY.mjs')).AXMRegionalSettingProvider;
|
3993
4623
|
return new provider(injector);
|
3994
4624
|
},
|
3995
4625
|
multi: true
|
@@ -4001,44 +4631,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
4001
4631
|
},
|
4002
4632
|
],
|
4003
4633
|
}]
|
4004
|
-
}], ctorParameters: () => [{ type: i1$
|
4634
|
+
}], ctorParameters: () => [{ type: i1$3.AXPAppStartUpService }, { type: i0.Injector }] });
|
4005
4635
|
|
4006
|
-
class
|
4007
|
-
|
4008
|
-
|
4009
|
-
|
4010
|
-
|
4011
|
-
|
4012
|
-
|
4013
|
-
|
4014
|
-
skip: 0,
|
4015
|
-
take: 1000,
|
4016
|
-
});
|
4017
|
-
const mapFn = (item) => {
|
4018
|
-
return {
|
4019
|
-
...item,
|
4020
|
-
valueField: get(item, 'valueField.name'),
|
4021
|
-
textField: get(item, 'textField.name'),
|
4022
|
-
source: async () => {
|
4023
|
-
if (item.sourceType.name == 'static') {
|
4024
|
-
return convertArrayToDataSource(item.sourceStatic);
|
4025
|
-
}
|
4026
|
-
// Entity
|
4027
|
-
else if (item.sourceType.name == 'query') {
|
4028
|
-
const definition = await this.dataSourceDefinitionProviderService.get(item.sourceEntity);
|
4029
|
-
if (definition) {
|
4030
|
-
return definition.source();
|
4031
|
-
}
|
4032
|
-
}
|
4033
|
-
//
|
4034
|
-
return convertArrayToDataSource([]);
|
4035
|
-
},
|
4036
|
-
};
|
4037
|
-
};
|
4038
|
-
const mapped = dataSources.items.map((item) => mapFn(item));
|
4039
|
-
return mapped;
|
4040
|
-
}
|
4636
|
+
class AXMPlatformManagementWidgetsModule {
|
4637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
4638
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementWidgetsModule, imports: [i4$1.AXPLayoutBuilderModule] }); }
|
4639
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementWidgetsModule, imports: [AXPLayoutBuilderModule.forChild({
|
4640
|
+
widgets: [
|
4641
|
+
AXMColumnFilterSelectorWidget
|
4642
|
+
]
|
4643
|
+
})] }); }
|
4041
4644
|
}
|
4645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementWidgetsModule, decorators: [{
|
4646
|
+
type: NgModule,
|
4647
|
+
args: [{
|
4648
|
+
imports: [
|
4649
|
+
AXPLayoutBuilderModule.forChild({
|
4650
|
+
widgets: [
|
4651
|
+
AXMColumnFilterSelectorWidget
|
4652
|
+
]
|
4653
|
+
})
|
4654
|
+
],
|
4655
|
+
}]
|
4656
|
+
}] });
|
4042
4657
|
|
4043
4658
|
class AXMEntityLoader {
|
4044
4659
|
constructor() {
|
@@ -4097,10 +4712,10 @@ class AXMEntityLoader {
|
|
4097
4712
|
}
|
4098
4713
|
return null;
|
4099
4714
|
}
|
4100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4101
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
4715
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
4716
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityLoader }); }
|
4102
4717
|
}
|
4103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityLoader, decorators: [{
|
4104
4719
|
type: Injectable
|
4105
4720
|
}] });
|
4106
4721
|
|
@@ -4146,10 +4761,10 @@ class AppTermsCheckService {
|
|
4146
4761
|
},
|
4147
4762
|
});
|
4148
4763
|
}
|
4149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4150
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
4764
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppTermsCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
4765
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppTermsCheckService }); }
|
4151
4766
|
}
|
4152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AppTermsCheckService, decorators: [{
|
4153
4768
|
type: Injectable
|
4154
4769
|
}], ctorParameters: () => [] });
|
4155
4770
|
|
@@ -4160,15 +4775,15 @@ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
|
|
4160
4775
|
}
|
4161
4776
|
async execute(context) {
|
4162
4777
|
const scope = RootConfig.config.i18n;
|
4163
|
-
const comp = (await import('./acorex-modules-platform-management-list-version.component-
|
4778
|
+
const comp = (await import('./acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs')).AXMListVersionComponent;
|
4164
4779
|
this.popupService.open(comp, {
|
4165
4780
|
title: `t('release-notes',{scope: "${scope}"})`,
|
4166
4781
|
});
|
4167
4782
|
}
|
4168
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4169
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
4783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
4784
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction }); }
|
4170
4785
|
}
|
4171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction, decorators: [{
|
4172
4787
|
type: Injectable
|
4173
4788
|
}] });
|
4174
4789
|
const AXMShowReleaseNotesWorkflow = {
|
@@ -4219,10 +4834,10 @@ class AXPReleaseNotesSettingProvider {
|
|
4219
4834
|
description: await trans('general.startup.release-notes.description'),
|
4220
4835
|
});
|
4221
4836
|
}
|
4222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4223
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
4837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPReleaseNotesSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
4838
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPReleaseNotesSettingProvider }); }
|
4224
4839
|
}
|
4225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPReleaseNotesSettingProvider, decorators: [{
|
4226
4841
|
type: Injectable
|
4227
4842
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
4228
4843
|
|
@@ -4271,10 +4886,10 @@ class AXPUpdaterService {
|
|
4271
4886
|
});
|
4272
4887
|
}
|
4273
4888
|
}
|
4274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4275
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
4889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPUpdaterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
4890
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPUpdaterService, providedIn: 'root' }); }
|
4276
4891
|
}
|
4277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPUpdaterService, decorators: [{
|
4278
4893
|
type: Injectable,
|
4279
4894
|
args: [{ providedIn: 'root' }]
|
4280
4895
|
}], ctorParameters: () => [] });
|
@@ -4283,11 +4898,11 @@ class AXMUpdaterModule {
|
|
4283
4898
|
constructor(updaterService) {
|
4284
4899
|
this.updaterService = updaterService;
|
4285
4900
|
}
|
4286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4287
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
4288
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
4901
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUpdaterModule, deps: [{ token: AXPUpdaterService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
4902
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMUpdaterModule }); }
|
4903
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUpdaterModule, providers: [AXPUpdaterService] }); }
|
4289
4904
|
}
|
4290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
4905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUpdaterModule, decorators: [{
|
4291
4906
|
type: NgModule,
|
4292
4907
|
args: [{
|
4293
4908
|
imports: [],
|
@@ -4650,10 +5265,11 @@ class AXMPlatformManagementModule {
|
|
4650
5265
|
* @ignore
|
4651
5266
|
*/
|
4652
5267
|
constructor(appVersionCheck, appTermsCheck) { }
|
4653
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
4654
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
4655
|
-
AXMPlatformManagementCommonModule,
|
4656
|
-
|
5268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementModule, deps: [{ token: AppVersionCheckService }, { token: AppTermsCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
5269
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMUpdaterModule,
|
5270
|
+
AXMPlatformManagementCommonModule,
|
5271
|
+
AXMPlatformManagementWidgetsModule, i3$3.AXPWorkflowModule, i2$4.AXPComponentSlotModule] }); }
|
5272
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementModule, providers: [
|
4657
5273
|
{
|
4658
5274
|
provide: AXMGlossaryService,
|
4659
5275
|
useClass: AXMGlossaryServiceImpl,
|
@@ -4716,6 +5332,7 @@ class AXMPlatformManagementModule {
|
|
4716
5332
|
AppTermsCheckService,
|
4717
5333
|
], imports: [AXMUpdaterModule,
|
4718
5334
|
AXMPlatformManagementCommonModule,
|
5335
|
+
AXMPlatformManagementWidgetsModule,
|
4719
5336
|
AXPWorkflowModule.forChild({
|
4720
5337
|
actions: {
|
4721
5338
|
AXMChangeLogPopupAction,
|
@@ -4756,12 +5373,13 @@ class AXMPlatformManagementModule {
|
|
4756
5373
|
],
|
4757
5374
|
})] }); }
|
4758
5375
|
}
|
4759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
5376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPlatformManagementModule, decorators: [{
|
4760
5377
|
type: NgModule,
|
4761
5378
|
args: [{
|
4762
5379
|
imports: [
|
4763
5380
|
AXMUpdaterModule,
|
4764
5381
|
AXMPlatformManagementCommonModule,
|
5382
|
+
AXMPlatformManagementWidgetsModule,
|
4765
5383
|
AXPWorkflowModule.forChild({
|
4766
5384
|
actions: {
|
4767
5385
|
AXMChangeLogPopupAction,
|
@@ -4875,5 +5493,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
4875
5493
|
* Generated bundle index. Do not edit.
|
4876
5494
|
*/
|
4877
5495
|
|
4878
|
-
export { AXPRegionalSetting as A,
|
4879
|
-
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-
|
5496
|
+
export { AXPRegionalSetting as A, AXMDynamicDataSourceProvider as B, AXMColumnFilterSelectorWidget as C, AXMColumnFilterSelectorWidgetEditComponent as D, AXMColumnFilterSelectorWidgetViewComponent as E, AXMColumnFilterSelectorWidgetColumnComponent as F, AXMColumnFilterSelectorWidgetFilterComponent as G, AXMColumnFilterSelectorWidgetPrintComponent as H, globalVariableEntityFactory as I, AXMGlobalVariablesService as J, AXMGlobalVariablesServiceImpl as K, glossaryEntityFactory as L, AXMGlossaryService as M, AXMGlossaryServiceImpl as N, metaDataDefinitionFactory as O, AXMMetaDataDefinitionService as P, AXMPMetaDataDefinitionServiceImpl as Q, RootConfig as R, metaDataDefinitionCategoryEntityFactory as S, AXMMetaDataDefinitionCategoryService as T, AXMMetaDataDefinitionCategoryServiceImpl as U, AXPRegionalStoreService as V, AXMUpdaterModule as W, AXPUpdaterService as X, AXMAppVersionService as a, AXMPlatformManagementModule as b, AXMPlatformManagementWidgetsModule as c, appTermEntityEntityFactory as d, AXMAppTermService as e, AXMAppTermServiceImpl as f, AXMListTermsComponent as g, AXMNotifyNewTermPopupAction as h, AXMTermUpdateSettingAction as i, AXMNewTermWorkflow as j, appVersionEntityEntityFactory as k, AXMAppVersionServiceImpl as l, AXMNotifyAppComponent as m, AXMAppVersionSlotComponent as n, AXMChangeLogPopupAction as o, AXMChangeLogUpdateSettingAction as p, AXMWhatsNewWorkflow as q, AXMCheckNewVersionAction as r, AXMCheckNewVersionWorkflow as s, dataSourceEntityFactory as t, AXMDataSourceService as u, AXMDataSourceServiceImpl as v, AXMDataSourceOutputType as w, AXMDataSourceType as x, AXM_COLUMN_DEF_WIDGET as y, AXM_FILTER_DEF_WIDGET as z };
|
5497
|
+
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-CFoPmixl.mjs.map
|