@acorex/modules 20.3.0-next.21 → 20.3.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-modules-application-management-acorex-modules-application-management-3Z51H2O-.mjs +1923 -0
- package/fesm2022/acorex-modules-application-management-acorex-modules-application-management-3Z51H2O-.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management-menu-list.component-LIRwdWs6.mjs +731 -0
- package/fesm2022/acorex-modules-application-management-menu-list.component-LIRwdWs6.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +1 -1720
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-PAwCztn4.mjs → acorex-modules-auth-acorex-modules-auth-BwMF7mXK.mjs} +15 -11
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BwMF7mXK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DU5_9jPC.mjs → acorex-modules-auth-app-chooser.component-Y8ccBUCa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DU5_9jPC.mjs.map → acorex-modules-auth-app-chooser.component-Y8ccBUCa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-lbJjSh1E.mjs → acorex-modules-auth-login.module-B-nJmy3_.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-lbJjSh1E.mjs.map → acorex-modules-auth-login.module-B-nJmy3_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DS9Cpsur.mjs → acorex-modules-auth-master.layout-BhsnK28w.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-DS9Cpsur.mjs.map → acorex-modules-auth-master.layout-BhsnK28w.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-E12eHk0Z.mjs → acorex-modules-auth-oauth-callback.component-DojO-qYk.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-E12eHk0Z.mjs.map → acorex-modules-auth-oauth-callback.component-DojO-qYk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CHBrUq12.mjs → acorex-modules-auth-password.component-DauiGRQb.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CHBrUq12.mjs.map → acorex-modules-auth-password.component-DauiGRQb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-UY-hRoMi.mjs → acorex-modules-auth-password.component-DxzlLZWK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-UY-hRoMi.mjs.map → acorex-modules-auth-password.component-DxzlLZWK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-COlDFCKK.mjs → acorex-modules-auth-routes-BwJilKAK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-COlDFCKK.mjs.map → acorex-modules-auth-routes-BwJilKAK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BiAvwKW0.mjs → acorex-modules-auth-two-factor.module-CV70xdxY.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BiAvwKW0.mjs.map → acorex-modules-auth-two-factor.module-CV70xdxY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Brse5cXs.mjs → acorex-modules-auth-user-sessions.component-CYtCo5d1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Brse5cXs.mjs.map → acorex-modules-auth-user-sessions.component-CYtCo5d1.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +9 -0
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +5 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management.mjs +13 -2
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +14 -6
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +7 -1
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-HBVQ8JDz.mjs → acorex-modules-customer-management-acorex-modules-customer-management-DJHmt24j.mjs} +35 -12
- package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-DJHmt24j.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-activity.entity-DuZFLCJw.mjs → acorex-modules-customer-management-activity.entity-Dt0EZWKR.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-activity.entity-DuZFLCJw.mjs.map → acorex-modules-customer-management-activity.entity-Dt0EZWKR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-Dgktan7r.mjs → acorex-modules-customer-management-customer-segment.entity-BBGMUGKB.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-Dgktan7r.mjs.map → acorex-modules-customer-management-customer-segment.entity-BBGMUGKB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Caxxcxfx.mjs → acorex-modules-customer-management-customer-type.entity-D3mT_QJr.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Caxxcxfx.mjs.map → acorex-modules-customer-management-customer-type.entity-D3mT_QJr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer.entity-JY3X2n_E.mjs → acorex-modules-customer-management-customer.entity-DP7bXPKk.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer.entity-JY3X2n_E.mjs.map → acorex-modules-customer-management-customer.entity-DP7bXPKk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-CcYwpTaP.mjs → acorex-modules-customer-management-deal-contact-role.entity-BvGlBK6A.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-CcYwpTaP.mjs.map → acorex-modules-customer-management-deal-contact-role.entity-BvGlBK6A.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lead.entity-DtxfR9mU.mjs → acorex-modules-customer-management-lead.entity-jf7hHR9f.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lead.entity-DtxfR9mU.mjs.map → acorex-modules-customer-management-lead.entity-jf7hHR9f.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-DJBXLEMR.mjs → acorex-modules-customer-management-lifecycle-stage.entity-DEJaYBkZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-DJBXLEMR.mjs.map → acorex-modules-customer-management-lifecycle-stage.entity-DEJaYBkZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-BxlXd9Zh.mjs → acorex-modules-customer-management-opportunity-stage.entity-CMsjW0AH.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-BxlXd9Zh.mjs.map → acorex-modules-customer-management-opportunity-stage.entity-CMsjW0AH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-B7VwsQU-.mjs → acorex-modules-customer-management-opportunity.entity-ChNUMPQt.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-B7VwsQU-.mjs.map → acorex-modules-customer-management-opportunity.entity-ChNUMPQt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-iH8Cnr80.mjs → acorex-modules-customer-management-sales-pipeline.entity-a4gtSu3G.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-iH8Cnr80.mjs.map → acorex-modules-customer-management-sales-pipeline.entity-a4gtSu3G.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-DDHK8QSD.mjs → acorex-modules-customer-management-sales-territory.entity-DmtBAETd.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-DDHK8QSD.mjs.map → acorex-modules-customer-management-sales-territory.entity-DmtBAETd.mjs.map} +1 -1
- package/fesm2022/acorex-modules-customer-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +7 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +11 -0
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DcpcbsGq.mjs → acorex-modules-document-management-acorex-modules-document-management-CwVDh52l.mjs} +30 -15
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CwVDh52l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-74EfTEZi.mjs → acorex-modules-document-management-attachment-widget.component-KTVXeYE1.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-74EfTEZi.mjs.map → acorex-modules-document-management-attachment-widget.component-KTVXeYE1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-Ca8JOkrC.mjs → acorex-modules-document-management-details-view.component-Blo7DEM9.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-Ca8JOkrC.mjs.map → acorex-modules-document-management-details-view.component-Blo7DEM9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BlASdF2W.mjs → acorex-modules-document-management-document-signature-popup.component-wVF422mD.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BlASdF2W.mjs.map → acorex-modules-document-management-document-signature-popup.component-wVF422mD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Dc46tNt3.mjs → acorex-modules-document-management-drive-choose.component-Bk62GMxv.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Dc46tNt3.mjs.map → acorex-modules-document-management-drive-choose.component-Bk62GMxv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DCtkPIfx.mjs → acorex-modules-document-management-drive.component-CdauFuwi.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-DCtkPIfx.mjs.map → acorex-modules-document-management-drive.component-CdauFuwi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CLf6IrYv.mjs → acorex-modules-document-management-large-icons-view.component-BkeEB1i8.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CLf6IrYv.mjs.map → acorex-modules-document-management-large-icons-view.component-BkeEB1i8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CMg-6Imj.mjs → acorex-modules-document-management-large-tiles-view.component-CTp5hvCU.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CMg-6Imj.mjs.map → acorex-modules-document-management-large-tiles-view.component-CTp5hvCU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-Be5I3j3i.mjs → acorex-modules-document-management-list-view.component-Ctk28jwC.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-Be5I3j3i.mjs.map → acorex-modules-document-management-list-view.component-Ctk28jwC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-B8wSV7Z5.mjs → acorex-modules-document-management-small-icons-view.component-D81OAgYf.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-B8wSV7Z5.mjs.map → acorex-modules-document-management-small-icons-view.component-D81OAgYf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-D6Q_01mo.mjs → acorex-modules-document-management-small-tiles-view.component-BNuswkkU.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-D6Q_01mo.mjs.map → acorex-modules-document-management-small-tiles-view.component-BNuswkkU.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-qIsWvwwY.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-DCKQMU5_.mjs} +15 -8
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DCKQMU5_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CfBEMFqB.mjs → acorex-modules-form-template-management-permission-definition.provider-BSARsii9.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CfBEMFqB.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BSARsii9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CpISnE4e.mjs → acorex-modules-form-template-management-settings.provider-Ds18e881.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CpISnE4e.mjs.map → acorex-modules-form-template-management-settings.provider-Ds18e881.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-xGfg0nQy.mjs → acorex-modules-form-template-management-template-picker.component-B_3DSrcW.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-xGfg0nQy.mjs.map → acorex-modules-form-template-management-template-picker.component-B_3DSrcW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUDhX_aw.mjs → acorex-modules-form-template-management-template-widget-edit.component-CvEqpmfa.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUDhX_aw.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-CvEqpmfa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-B0RaUNUZ.mjs → acorex-modules-form-template-management-template.entity-CqEvewsA.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-B0RaUNUZ.mjs.map → acorex-modules-form-template-management-template.entity-CqEvewsA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DnC_eVnR.mjs → acorex-modules-help-desk-acorex-modules-help-desk-CcVD1arq.mjs} +31 -14
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-CcVD1arq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DzJJq57R.mjs → acorex-modules-help-desk-capture-screen.component-BAD2K3Yk.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DzJJq57R.mjs.map → acorex-modules-help-desk-capture-screen.component-BAD2K3Yk.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZPY_Jqz.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-DRGgNfY5.mjs} +170 -37
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-DRGgNfY5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-Deiapogq.mjs → acorex-modules-human-capital-management-employee-skill.entity-CMqz5YPN.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-Deiapogq.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-CMqz5YPN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BA6gIZir.mjs → acorex-modules-human-capital-management-employee.entity-CCBrjVyP.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BA6gIZir.mjs.map → acorex-modules-human-capital-management-employee.entity-CCBrjVyP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-CFZCd6G3.mjs → acorex-modules-human-capital-management-employment-type.entity-RwhhP827.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-CFZCd6G3.mjs.map → acorex-modules-human-capital-management-employment-type.entity-RwhhP827.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CSsjv96e.mjs → acorex-modules-human-capital-management-leave-request.entity-COFYDSIm.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CSsjv96e.mjs.map → acorex-modules-human-capital-management-leave-request.entity-COFYDSIm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-Bipf4EQ0.mjs → acorex-modules-human-capital-management-leave-type.entity-B-JDWNAD.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-Bipf4EQ0.mjs.map → acorex-modules-human-capital-management-leave-type.entity-B-JDWNAD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BO0GFPxq.mjs → acorex-modules-human-capital-management-position-assignment.entity-DXVWv3Wt.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BO0GFPxq.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-DXVWv3Wt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BJKxDm0d.mjs → acorex-modules-human-capital-management-skill-level.entity-CZE_htoo.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BJKxDm0d.mjs.map → acorex-modules-human-capital-management-skill-level.entity-CZE_htoo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Czcg-qcg.mjs → acorex-modules-human-capital-management-skill.entity-Cg3ucaH0.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Czcg-qcg.mjs.map → acorex-modules-human-capital-management-skill.entity-Cg3ucaH0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +12 -0
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +13 -1
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +11 -0
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +6 -2
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +23 -2
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-CUo0b9Wc.mjs → acorex-modules-party-management-acorex-modules-party-management-BkRsPvsw.mjs} +20 -8
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BkRsPvsw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-industry.entity-y4tS_9S3.mjs → acorex-modules-party-management-industry.entity-CCzDYJFD.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-industry.entity-y4tS_9S3.mjs.map → acorex-modules-party-management-industry.entity-CCzDYJFD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-DIxBHhAL.mjs → acorex-modules-party-management-party-identifier-type.entity-UMIM9R7g.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-DIxBHhAL.mjs.map → acorex-modules-party-management-party-identifier-type.entity-UMIM9R7g.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BODVISFf.mjs → acorex-modules-party-management-party-identifier.entity-DWp9iYIa.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BODVISFf.mjs.map → acorex-modules-party-management-party-identifier.entity-DWp9iYIa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-BqYmHc4N.mjs → acorex-modules-party-management-party-relationship.entity-DvgpmOkA.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-BqYmHc4N.mjs.map → acorex-modules-party-management-party-relationship.entity-DvgpmOkA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-role.entity-Dyj5XzyY.mjs → acorex-modules-party-management-party-role.entity-BjV7pJZU.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-role.entity-Dyj5XzyY.mjs.map → acorex-modules-party-management-party-role.entity-BjV7pJZU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party.entity-B7CSalXH.mjs → acorex-modules-party-management-party.entity-Dw-VX8US.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party.entity-B7CSalXH.mjs.map → acorex-modules-party-management-party.entity-Dw-VX8US.mjs.map} +1 -1
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +12 -2
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +19 -0
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-COukv46B.mjs → acorex-modules-report-management-report-runner-root-page.component-DgIAlRUA.mjs} +3 -3
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-COukv46B.mjs.map → acorex-modules-report-management-report-runner-root-page.component-DgIAlRUA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +71 -40
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +11 -11
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +8 -3
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +13 -1
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +19 -0
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +42 -2
- package/package.json +6 -6
- package/report-management/index.d.ts +11 -3
- package/security-management/index.d.ts +9 -7
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-PAwCztn4.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-HBVQ8JDz.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DcpcbsGq.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-qIsWvwwY.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-DnC_eVnR.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZPY_Jqz.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-CUo0b9Wc.mjs.map +0 -1
|
@@ -0,0 +1,1923 @@
|
|
|
1
|
+
import { AXPSettingService, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXP_MENU_PROVIDER, AXP_MENU_MIDDLEWARE, AXPSearchCommandProvider } from '@acorex/platform/common';
|
|
2
|
+
import { AXPEntityService, AXMEntityCrudServiceImpl, entityDetailsCrudActions, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
3
|
+
import { AXPAuthGuard } from '@acorex/platform/auth';
|
|
4
|
+
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { inject, Injector, Injectable, NgModule } from '@angular/core';
|
|
7
|
+
import { ROUTES } from '@angular/router';
|
|
8
|
+
import { AXPPlatformScope } from '@acorex/platform/core';
|
|
9
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
10
|
+
|
|
11
|
+
const config = {
|
|
12
|
+
i18n: 'application-management',
|
|
13
|
+
module: 'ApplicationManagement',
|
|
14
|
+
};
|
|
15
|
+
const RootConfig = {
|
|
16
|
+
config,
|
|
17
|
+
module: {
|
|
18
|
+
route: 'application-management',
|
|
19
|
+
name: config.module,
|
|
20
|
+
title: `@${config.i18n}:module-name`,
|
|
21
|
+
icon: 'fa-light fa-cogs',
|
|
22
|
+
},
|
|
23
|
+
entities: {
|
|
24
|
+
application: {
|
|
25
|
+
name: 'Application',
|
|
26
|
+
title: `@${config.i18n}:application.individual-title`,
|
|
27
|
+
titlePlural: `@${config.i18n}:application.plural-title`,
|
|
28
|
+
icon: 'fa-light fa-cube',
|
|
29
|
+
},
|
|
30
|
+
module: {
|
|
31
|
+
name: 'Module',
|
|
32
|
+
title: `@${config.i18n}:module.individual-title`,
|
|
33
|
+
titlePlural: `@${config.i18n}:module.plural-title`,
|
|
34
|
+
icon: 'fa-light fa-puzzle-piece',
|
|
35
|
+
},
|
|
36
|
+
edition: {
|
|
37
|
+
name: 'Edition',
|
|
38
|
+
title: `@${config.i18n}:edition.individual-title`,
|
|
39
|
+
titlePlural: `@${config.i18n}:edition.plural-title`,
|
|
40
|
+
icon: 'fa-light fa-layer-group',
|
|
41
|
+
},
|
|
42
|
+
feature: {
|
|
43
|
+
name: 'Feature',
|
|
44
|
+
title: `@${config.i18n}:feature.individual-title`,
|
|
45
|
+
titlePlural: `@${config.i18n}:feature.plural-title`,
|
|
46
|
+
icon: 'fa-light fa-star',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
// Keep the old export for backward compatibility
|
|
51
|
+
const AXMApplicationManagementModuleConst = {
|
|
52
|
+
moduleName: 'ApplicationManagement',
|
|
53
|
+
moduleRoute: 'application-management',
|
|
54
|
+
i18n: 'platform-management',
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
class AXMEntityProvider {
|
|
58
|
+
constructor() {
|
|
59
|
+
this.injector = inject(Injector);
|
|
60
|
+
}
|
|
61
|
+
preload() {
|
|
62
|
+
const module = RootConfig.module.name;
|
|
63
|
+
return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
|
|
64
|
+
module: module,
|
|
65
|
+
entity: entity.name,
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
async get(moduleName, entityName) {
|
|
69
|
+
if (moduleName == RootConfig.module.name) {
|
|
70
|
+
switch (entityName) {
|
|
71
|
+
case RootConfig.entities.application.name: {
|
|
72
|
+
const entity = (await Promise.resolve().then(function () { return application_entity; })).applicationEntityFactory;
|
|
73
|
+
return entity(this.injector);
|
|
74
|
+
}
|
|
75
|
+
case RootConfig.entities.edition.name: {
|
|
76
|
+
const entity = (await Promise.resolve().then(function () { return edition_entity; })).editionEntityFactory;
|
|
77
|
+
return entity(this.injector);
|
|
78
|
+
}
|
|
79
|
+
case RootConfig.entities.module.name: {
|
|
80
|
+
const entity = (await Promise.resolve().then(function () { return module_entity; })).moduleEntityFactory;
|
|
81
|
+
return entity(this.injector);
|
|
82
|
+
}
|
|
83
|
+
case RootConfig.entities.feature.name: {
|
|
84
|
+
const entity = (await Promise.resolve().then(function () { return feature_entity; })).featureEntityFactory;
|
|
85
|
+
return entity(this.injector);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
92
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEntityProvider }); }
|
|
93
|
+
}
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEntityProvider, decorators: [{
|
|
95
|
+
type: Injectable
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
const AXPApplicationManagementMenuKeys = {
|
|
99
|
+
Root: 'application-management:menu',
|
|
100
|
+
Applications: 'application-management:menu:applications',
|
|
101
|
+
Modules: 'application-management:menu:modules',
|
|
102
|
+
Features: 'application-management:menu:features',
|
|
103
|
+
Editions: 'application-management:menu:editions',
|
|
104
|
+
UserMenuManagement: 'application-management:user:menus',
|
|
105
|
+
TenantMenuManagement: 'application-management:tenant:menus',
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
class AXMApplicationManagmentModuleMenuProvider {
|
|
109
|
+
constructor() {
|
|
110
|
+
this.entityService = inject(AXPEntityService);
|
|
111
|
+
}
|
|
112
|
+
async provide(context) {
|
|
113
|
+
const scope = RootConfig.config.i18n;
|
|
114
|
+
const module = RootConfig.module;
|
|
115
|
+
context.addItems([
|
|
116
|
+
{
|
|
117
|
+
priority: 9002,
|
|
118
|
+
text: `@${scope}:module-name`,
|
|
119
|
+
icon: module.icon,
|
|
120
|
+
name: AXPApplicationManagementMenuKeys.Root,
|
|
121
|
+
children: [
|
|
122
|
+
{
|
|
123
|
+
name: AXPApplicationManagementMenuKeys.Applications,
|
|
124
|
+
text: RootConfig.entities.application.title,
|
|
125
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.application.name),
|
|
126
|
+
icon: RootConfig.entities.application.icon,
|
|
127
|
+
priority: 1,
|
|
128
|
+
},
|
|
129
|
+
// {
|
|
130
|
+
// name: AXPApplicationManagementMenuKeys.Editions,
|
|
131
|
+
// text: RootConfig.entities.edition.title,
|
|
132
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.edition.name),
|
|
133
|
+
// icon: RootConfig.entities.edition.icon,
|
|
134
|
+
// priority: 2,
|
|
135
|
+
// },
|
|
136
|
+
{
|
|
137
|
+
name: AXPApplicationManagementMenuKeys.Modules,
|
|
138
|
+
text: RootConfig.entities.module.title,
|
|
139
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.module.name),
|
|
140
|
+
icon: RootConfig.entities.module.icon,
|
|
141
|
+
priority: 2,
|
|
142
|
+
},
|
|
143
|
+
// {
|
|
144
|
+
// name: AXPApplicationManagementMenuKeys.Features,
|
|
145
|
+
// text: RootConfig.entities.feature.title,
|
|
146
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.feature.name),
|
|
147
|
+
// icon: RootConfig.entities.feature.icon,
|
|
148
|
+
// priority: 4,
|
|
149
|
+
// },
|
|
150
|
+
],
|
|
151
|
+
},
|
|
152
|
+
]);
|
|
153
|
+
// Menu Management - User Scope (in user profile menu)
|
|
154
|
+
context.find('user:profile').addItems([
|
|
155
|
+
{
|
|
156
|
+
name: AXPApplicationManagementMenuKeys.UserMenuManagement,
|
|
157
|
+
text: `@${scope}:menu-management.user.title`,
|
|
158
|
+
icon: 'fa-light fa-bars',
|
|
159
|
+
path: `/app/application-management/menus/U`,
|
|
160
|
+
},
|
|
161
|
+
]);
|
|
162
|
+
// Menu Management - Tenant Scope (Admin only)
|
|
163
|
+
context.addItems([
|
|
164
|
+
{
|
|
165
|
+
name: AXPApplicationManagementMenuKeys.TenantMenuManagement,
|
|
166
|
+
priority: 10000001,
|
|
167
|
+
text: `@${scope}:menu-management.tenant.title`,
|
|
168
|
+
type: 'menu',
|
|
169
|
+
icon: 'fa-light fa-bars',
|
|
170
|
+
path: `/app/application-management/menus/T`,
|
|
171
|
+
data: {
|
|
172
|
+
requiredPermission: 'admin',
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
]);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
//#region ---- Menu Customization Constants ----
|
|
180
|
+
/**
|
|
181
|
+
* Setting key for menu customizations
|
|
182
|
+
*/
|
|
183
|
+
const AXP_MENU_CUSTOMIZATION_KEY = 'axp.application-management.menu-customization';
|
|
184
|
+
/**
|
|
185
|
+
* Current version of menu customization schema
|
|
186
|
+
*/
|
|
187
|
+
const AXP_MENU_CUSTOMIZATION_VERSION = '1.0.0';
|
|
188
|
+
/**
|
|
189
|
+
* Default menu customization
|
|
190
|
+
*/
|
|
191
|
+
const AXP_MENU_CUSTOMIZATION_DEFAULT = {
|
|
192
|
+
version: AXP_MENU_CUSTOMIZATION_VERSION,
|
|
193
|
+
overrides: {},
|
|
194
|
+
customItems: [],
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Menu management feature configuration
|
|
198
|
+
*/
|
|
199
|
+
const MenuManagementConfig = {
|
|
200
|
+
route: 'menus',
|
|
201
|
+
title: `@${RootConfig.config.i18n}:menu-management.title`,
|
|
202
|
+
icon: 'fa-light fa-bars',
|
|
203
|
+
};
|
|
204
|
+
//#endregion
|
|
205
|
+
|
|
206
|
+
//#region ---- Custom Menu Middleware ----
|
|
207
|
+
/**
|
|
208
|
+
* Middleware that applies menu customizations using the enhanced context API
|
|
209
|
+
* Applies user/tenant customizations from settings with priority support
|
|
210
|
+
*/
|
|
211
|
+
class AXPCustomMenuMiddleware {
|
|
212
|
+
constructor() {
|
|
213
|
+
//#region ---- Middleware Properties ----
|
|
214
|
+
this.name = 'menu-customization';
|
|
215
|
+
this.priority = 100; // High priority to apply customizations early
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region ---- Dependencies ----
|
|
218
|
+
this.settingService = inject(AXPSettingService);
|
|
219
|
+
//#endregion
|
|
220
|
+
}
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region ---- Middleware Implementation ----
|
|
223
|
+
async process(context) {
|
|
224
|
+
try {
|
|
225
|
+
// Load menu customization from settings
|
|
226
|
+
const customization = await this.loadCustomization();
|
|
227
|
+
// Apply overrides to existing menu items using context API
|
|
228
|
+
this.applyOverrides(context, customization);
|
|
229
|
+
// Add custom menu items
|
|
230
|
+
this.addCustomItems(context, customization);
|
|
231
|
+
// Re-sort after applying priority overrides
|
|
232
|
+
context.sort();
|
|
233
|
+
}
|
|
234
|
+
catch (error) {
|
|
235
|
+
console.error('Error applying menu customizations:', error);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region ---- Private Methods ----
|
|
240
|
+
/**
|
|
241
|
+
* Load menu customization from settings
|
|
242
|
+
* Explicitly checks User scope first, then falls back to Tenant scope
|
|
243
|
+
*/
|
|
244
|
+
async loadCustomization() {
|
|
245
|
+
try {
|
|
246
|
+
// Try User scope first
|
|
247
|
+
const userSettings = this.settingService.scope(AXPPlatformScope.User);
|
|
248
|
+
const userCustomization = await userSettings.get(AXP_MENU_CUSTOMIZATION_KEY);
|
|
249
|
+
if (userCustomization && userCustomization.version) {
|
|
250
|
+
return userCustomization;
|
|
251
|
+
}
|
|
252
|
+
// Fall back to Tenant scope
|
|
253
|
+
const tenantSettings = this.settingService.scope(AXPPlatformScope.Tenant);
|
|
254
|
+
const tenantCustomization = await tenantSettings.get(AXP_MENU_CUSTOMIZATION_KEY);
|
|
255
|
+
if (tenantCustomization && tenantCustomization.version) {
|
|
256
|
+
return tenantCustomization;
|
|
257
|
+
}
|
|
258
|
+
// No customization found at any level, return default
|
|
259
|
+
return AXP_MENU_CUSTOMIZATION_DEFAULT;
|
|
260
|
+
}
|
|
261
|
+
catch (error) {
|
|
262
|
+
console.error('Failed to load menu customization:', error);
|
|
263
|
+
return AXP_MENU_CUSTOMIZATION_DEFAULT;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Apply overrides to existing menu items using enhanced context API
|
|
268
|
+
*/
|
|
269
|
+
applyOverrides(context, customization) {
|
|
270
|
+
Object.entries(customization.overrides).forEach(([menuName, override]) => {
|
|
271
|
+
const finder = context.findByName(menuName);
|
|
272
|
+
if (!finder.exists()) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
// Hide menu item
|
|
276
|
+
if (override.hidden) {
|
|
277
|
+
finder.remove();
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
// Apply priority override
|
|
281
|
+
if (override.priority !== undefined) {
|
|
282
|
+
finder.setPriority(override.priority);
|
|
283
|
+
}
|
|
284
|
+
// Apply property overrides
|
|
285
|
+
if (override.properties) {
|
|
286
|
+
finder.update(override.properties);
|
|
287
|
+
}
|
|
288
|
+
// Move to different parent
|
|
289
|
+
if (override.parentName !== undefined) {
|
|
290
|
+
finder.moveTo(override.parentName);
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Add custom menu items using context API
|
|
296
|
+
*/
|
|
297
|
+
addCustomItems(context, customization) {
|
|
298
|
+
if (customization.customItems && customization.customItems.length > 0) {
|
|
299
|
+
context.add(...customization.customItems);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
304
|
+
|
|
305
|
+
class AXMApplicationService extends AXMEntityCrudServiceImpl {
|
|
306
|
+
}
|
|
307
|
+
class AXMApplicationServiceImpl extends AXMApplicationService {
|
|
308
|
+
constructor() {
|
|
309
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.application.name}`);
|
|
310
|
+
}
|
|
311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
312
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationServiceImpl }); }
|
|
313
|
+
}
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationServiceImpl, decorators: [{
|
|
315
|
+
type: Injectable
|
|
316
|
+
}], ctorParameters: () => [] });
|
|
317
|
+
|
|
318
|
+
class AXMApplicationEntityModule {
|
|
319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
320
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationEntityModule }); }
|
|
321
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationEntityModule, providers: [
|
|
322
|
+
{
|
|
323
|
+
provide: AXMApplicationService,
|
|
324
|
+
useClass: AXMApplicationServiceImpl,
|
|
325
|
+
},
|
|
326
|
+
] }); }
|
|
327
|
+
}
|
|
328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationEntityModule, decorators: [{
|
|
329
|
+
type: NgModule,
|
|
330
|
+
args: [{
|
|
331
|
+
declarations: [],
|
|
332
|
+
imports: [],
|
|
333
|
+
exports: [],
|
|
334
|
+
providers: [
|
|
335
|
+
{
|
|
336
|
+
provide: AXMApplicationService,
|
|
337
|
+
useClass: AXMApplicationServiceImpl,
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
}]
|
|
341
|
+
}] });
|
|
342
|
+
|
|
343
|
+
async function applicationEntityFactory(injector) {
|
|
344
|
+
const dataService = injector.get(AXMApplicationService);
|
|
345
|
+
const i18n = RootConfig.config.i18n + ':application';
|
|
346
|
+
const entityDef = {
|
|
347
|
+
module: RootConfig.module.name,
|
|
348
|
+
name: RootConfig.entities.application.name,
|
|
349
|
+
icon: RootConfig.entities.application.icon,
|
|
350
|
+
title: RootConfig.entities.application.title,
|
|
351
|
+
plugins: [{ name: 'color', options: { colSpan: 12 } }, { name: 'avatar' }],
|
|
352
|
+
formats: {
|
|
353
|
+
individual: RootConfig.entities.application.title,
|
|
354
|
+
plural: RootConfig.entities.application.titlePlural,
|
|
355
|
+
searchResult: {
|
|
356
|
+
title: '{{ title }}',
|
|
357
|
+
description: RootConfig.module.title,
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
relatedEntities: [
|
|
361
|
+
{
|
|
362
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.edition.name}`,
|
|
363
|
+
title: `@${i18n}.edition-assignment`,
|
|
364
|
+
conditions: [{ name: 'id', operator: { type: 'in' }, value: '{{ context.eval("editionIds") }}' }],
|
|
365
|
+
actions: [...entityDetailsCrudActions('editionIds')],
|
|
366
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
367
|
+
persistence: {
|
|
368
|
+
dataPath: 'editions',
|
|
369
|
+
strategy: 'referenced',
|
|
370
|
+
idField: 'editionIds',
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
groups: [
|
|
375
|
+
{
|
|
376
|
+
id: 'basic-info',
|
|
377
|
+
title: `@${i18n}.basic-info`,
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
id: 'edition-assignment',
|
|
381
|
+
title: `@${i18n}.edition-assignment`,
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
properties: [
|
|
385
|
+
{
|
|
386
|
+
name: 'title',
|
|
387
|
+
title: `@${i18n}.title`,
|
|
388
|
+
groupId: 'basic-info',
|
|
389
|
+
options: {
|
|
390
|
+
sort: {
|
|
391
|
+
enabled: true,
|
|
392
|
+
},
|
|
393
|
+
filter: {
|
|
394
|
+
advance: {
|
|
395
|
+
enabled: true,
|
|
396
|
+
},
|
|
397
|
+
inline: {
|
|
398
|
+
enabled: false,
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
schema: {
|
|
403
|
+
dataType: 'string',
|
|
404
|
+
interface: {
|
|
405
|
+
type: AXPWidgetsCatalog.text,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
validations: [
|
|
409
|
+
{
|
|
410
|
+
rule: 'required',
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
name: 'description',
|
|
416
|
+
title: `@${i18n}.description`,
|
|
417
|
+
groupId: 'basic-info',
|
|
418
|
+
options: {
|
|
419
|
+
sort: {
|
|
420
|
+
enabled: true,
|
|
421
|
+
},
|
|
422
|
+
filter: {
|
|
423
|
+
advance: {
|
|
424
|
+
enabled: true,
|
|
425
|
+
},
|
|
426
|
+
inline: {
|
|
427
|
+
enabled: false,
|
|
428
|
+
},
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
schema: {
|
|
432
|
+
dataType: 'string',
|
|
433
|
+
interface: {
|
|
434
|
+
type: AXPWidgetsCatalog.largeText,
|
|
435
|
+
},
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
// {
|
|
439
|
+
// name: 'editionIds',
|
|
440
|
+
// groupId: 'edition-assignment',
|
|
441
|
+
// title: `@${i18n}.edition`,
|
|
442
|
+
// options: {
|
|
443
|
+
// sort: {
|
|
444
|
+
// enabled: true,
|
|
445
|
+
// },
|
|
446
|
+
// filter: {
|
|
447
|
+
// advance: {
|
|
448
|
+
// enabled: true,
|
|
449
|
+
// },
|
|
450
|
+
// inline: {
|
|
451
|
+
// enabled: true,
|
|
452
|
+
// },
|
|
453
|
+
// },
|
|
454
|
+
// },
|
|
455
|
+
// schema: {
|
|
456
|
+
// dataType: 'string',
|
|
457
|
+
// interface: {
|
|
458
|
+
// type: AXPWidgetsCatalog.lookup,
|
|
459
|
+
// options: {
|
|
460
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.edition.name}`,
|
|
461
|
+
// multiple: true,
|
|
462
|
+
// textField: 'title',
|
|
463
|
+
// valueField: 'id',
|
|
464
|
+
// expose: [
|
|
465
|
+
// { source: 'id', target: 'editions.id' },
|
|
466
|
+
// { source: 'title', target: 'editions.title' },
|
|
467
|
+
// ],
|
|
468
|
+
// },
|
|
469
|
+
// },
|
|
470
|
+
// },
|
|
471
|
+
// validations: [
|
|
472
|
+
// {
|
|
473
|
+
// rule: 'required',
|
|
474
|
+
// },
|
|
475
|
+
// ],
|
|
476
|
+
// },
|
|
477
|
+
],
|
|
478
|
+
columns: [{ name: 'title' }, { name: 'description' }],
|
|
479
|
+
commands: {
|
|
480
|
+
create: {
|
|
481
|
+
execute: async (data) => {
|
|
482
|
+
const res = await dataService.insertOne(data);
|
|
483
|
+
return { id: res };
|
|
484
|
+
},
|
|
485
|
+
},
|
|
486
|
+
delete: {
|
|
487
|
+
execute: async (id) => {
|
|
488
|
+
return await dataService.deleteOne(id);
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
update: {
|
|
492
|
+
execute: async (data) => {
|
|
493
|
+
return await dataService.updateOne(data.id, data);
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
queries: {
|
|
498
|
+
byKey: {
|
|
499
|
+
execute: async (id) => {
|
|
500
|
+
return await dataService.getOne(id);
|
|
501
|
+
},
|
|
502
|
+
type: AXPEntityQueryType.Single,
|
|
503
|
+
},
|
|
504
|
+
list: {
|
|
505
|
+
execute: async (e) => {
|
|
506
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
507
|
+
},
|
|
508
|
+
type: AXPEntityQueryType.List,
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
interfaces: {
|
|
512
|
+
master: {
|
|
513
|
+
create: {
|
|
514
|
+
sections: [
|
|
515
|
+
{
|
|
516
|
+
id: 'basic-info',
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
properties: [
|
|
520
|
+
{
|
|
521
|
+
name: 'title',
|
|
522
|
+
layout: {
|
|
523
|
+
positions: {
|
|
524
|
+
lg: {
|
|
525
|
+
colSpan: 12,
|
|
526
|
+
order: 1,
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
name: 'description',
|
|
533
|
+
layout: {
|
|
534
|
+
positions: {
|
|
535
|
+
lg: {
|
|
536
|
+
colSpan: 12,
|
|
537
|
+
order: 2,
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
},
|
|
544
|
+
update: {
|
|
545
|
+
sections: [
|
|
546
|
+
{
|
|
547
|
+
id: 'basic-info',
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
properties: [
|
|
551
|
+
{
|
|
552
|
+
name: 'title',
|
|
553
|
+
layout: {
|
|
554
|
+
positions: {
|
|
555
|
+
lg: {
|
|
556
|
+
colSpan: 12,
|
|
557
|
+
order: 1,
|
|
558
|
+
},
|
|
559
|
+
},
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
name: 'description',
|
|
564
|
+
layout: {
|
|
565
|
+
positions: {
|
|
566
|
+
lg: {
|
|
567
|
+
colSpan: 12,
|
|
568
|
+
order: 2,
|
|
569
|
+
},
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
},
|
|
575
|
+
single: {
|
|
576
|
+
title: '{{title}}',
|
|
577
|
+
sections: [
|
|
578
|
+
{
|
|
579
|
+
id: 'basic-info',
|
|
580
|
+
layout: {
|
|
581
|
+
positions: {
|
|
582
|
+
lg: {
|
|
583
|
+
colSpan: 12,
|
|
584
|
+
},
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
properties: [
|
|
590
|
+
{
|
|
591
|
+
name: 'title',
|
|
592
|
+
layout: {
|
|
593
|
+
positions: {
|
|
594
|
+
lg: {
|
|
595
|
+
colSpan: 12,
|
|
596
|
+
order: 1,
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: 'description',
|
|
603
|
+
layout: {
|
|
604
|
+
positions: {
|
|
605
|
+
lg: {
|
|
606
|
+
colSpan: 12,
|
|
607
|
+
order: 2,
|
|
608
|
+
},
|
|
609
|
+
},
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
actions: [],
|
|
614
|
+
},
|
|
615
|
+
list: {
|
|
616
|
+
actions: [
|
|
617
|
+
{
|
|
618
|
+
title: `@general:create`,
|
|
619
|
+
command: 'create-entity',
|
|
620
|
+
priority: 'primary',
|
|
621
|
+
type: 'create',
|
|
622
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
title: '@general:deleteItems',
|
|
626
|
+
command: 'delete-entity',
|
|
627
|
+
priority: 'primary',
|
|
628
|
+
type: 'delete',
|
|
629
|
+
scope: AXPEntityCommandScope.Selected,
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
title: '@general:detail',
|
|
633
|
+
command: 'open-entity',
|
|
634
|
+
priority: 'secondary',
|
|
635
|
+
type: 'view',
|
|
636
|
+
scope: AXPEntityCommandScope.Individual,
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
title: '@general:delete',
|
|
640
|
+
command: 'delete-entity',
|
|
641
|
+
priority: 'secondary',
|
|
642
|
+
type: 'delete',
|
|
643
|
+
scope: AXPEntityCommandScope.Individual,
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
views: [
|
|
647
|
+
createAllQueryView({
|
|
648
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
649
|
+
}),
|
|
650
|
+
],
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
},
|
|
654
|
+
};
|
|
655
|
+
return entityDef;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
var application_entity = /*#__PURE__*/Object.freeze({
|
|
659
|
+
__proto__: null,
|
|
660
|
+
applicationEntityFactory: applicationEntityFactory
|
|
661
|
+
});
|
|
662
|
+
|
|
663
|
+
class AXMEditionService extends AXMEntityCrudServiceImpl {
|
|
664
|
+
}
|
|
665
|
+
class AXMEditionServiceImpl extends AXMEditionService {
|
|
666
|
+
constructor() {
|
|
667
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.edition.name}`);
|
|
668
|
+
}
|
|
669
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
670
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionServiceImpl }); }
|
|
671
|
+
}
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionServiceImpl, decorators: [{
|
|
673
|
+
type: Injectable
|
|
674
|
+
}], ctorParameters: () => [] });
|
|
675
|
+
|
|
676
|
+
async function editionEntityFactory(injector) {
|
|
677
|
+
const dataService = injector.get(AXMEditionService);
|
|
678
|
+
const i18n = RootConfig.config.i18n + ':edition';
|
|
679
|
+
const entityDef = {
|
|
680
|
+
module: RootConfig.module.name,
|
|
681
|
+
name: RootConfig.entities.edition.name,
|
|
682
|
+
icon: RootConfig.entities.edition.icon,
|
|
683
|
+
title: RootConfig.entities.edition.title,
|
|
684
|
+
formats: {
|
|
685
|
+
individual: RootConfig.entities.edition.title,
|
|
686
|
+
plural: RootConfig.entities.edition.titlePlural,
|
|
687
|
+
searchResult: {
|
|
688
|
+
title: '{{ title }}',
|
|
689
|
+
description: RootConfig.module.title,
|
|
690
|
+
},
|
|
691
|
+
},
|
|
692
|
+
relatedEntities: [
|
|
693
|
+
{
|
|
694
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.module.name}`,
|
|
695
|
+
title: `@${i18n}.module-assignment`,
|
|
696
|
+
conditions: [{ name: 'id', operator: { type: 'in' }, value: '{{ context.eval("moduleIds") }}' }],
|
|
697
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
698
|
+
persistence: {
|
|
699
|
+
dataPath: 'modules',
|
|
700
|
+
strategy: 'referenced',
|
|
701
|
+
idField: 'moduleIds',
|
|
702
|
+
},
|
|
703
|
+
},
|
|
704
|
+
],
|
|
705
|
+
groups: [
|
|
706
|
+
{
|
|
707
|
+
id: 'basic-info',
|
|
708
|
+
title: `@${i18n}.basic-info`,
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
id: 'module-assignment',
|
|
712
|
+
title: `@${i18n}.module-assignment`,
|
|
713
|
+
},
|
|
714
|
+
],
|
|
715
|
+
properties: [
|
|
716
|
+
{
|
|
717
|
+
name: 'title',
|
|
718
|
+
title: `@${i18n}.title`,
|
|
719
|
+
groupId: 'basic-info',
|
|
720
|
+
options: {
|
|
721
|
+
sort: {
|
|
722
|
+
enabled: true,
|
|
723
|
+
},
|
|
724
|
+
filter: {
|
|
725
|
+
advance: {
|
|
726
|
+
enabled: true,
|
|
727
|
+
},
|
|
728
|
+
inline: {
|
|
729
|
+
enabled: false,
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
},
|
|
733
|
+
schema: {
|
|
734
|
+
dataType: 'string',
|
|
735
|
+
interface: {
|
|
736
|
+
type: AXPWidgetsCatalog.text,
|
|
737
|
+
},
|
|
738
|
+
},
|
|
739
|
+
validations: [
|
|
740
|
+
{
|
|
741
|
+
rule: 'required',
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: 'description',
|
|
747
|
+
title: `@${i18n}.description`,
|
|
748
|
+
groupId: 'basic-info',
|
|
749
|
+
options: {
|
|
750
|
+
sort: {
|
|
751
|
+
enabled: true,
|
|
752
|
+
},
|
|
753
|
+
filter: {
|
|
754
|
+
advance: {
|
|
755
|
+
enabled: true,
|
|
756
|
+
},
|
|
757
|
+
inline: {
|
|
758
|
+
enabled: false,
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
},
|
|
762
|
+
schema: {
|
|
763
|
+
dataType: 'string',
|
|
764
|
+
interface: {
|
|
765
|
+
type: AXPWidgetsCatalog.largeText,
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
name: 'moduleIds',
|
|
771
|
+
groupId: 'module-assignment',
|
|
772
|
+
title: `@${i18n}.module`,
|
|
773
|
+
options: {
|
|
774
|
+
sort: {
|
|
775
|
+
enabled: true,
|
|
776
|
+
},
|
|
777
|
+
filter: {
|
|
778
|
+
advance: {
|
|
779
|
+
enabled: true,
|
|
780
|
+
},
|
|
781
|
+
inline: {
|
|
782
|
+
enabled: true,
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
schema: {
|
|
787
|
+
dataType: 'string',
|
|
788
|
+
interface: {
|
|
789
|
+
type: AXPWidgetsCatalog.lookup,
|
|
790
|
+
options: {
|
|
791
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.module.name}`,
|
|
792
|
+
multiple: true,
|
|
793
|
+
textField: 'title',
|
|
794
|
+
valueField: 'id',
|
|
795
|
+
expose: [
|
|
796
|
+
{ source: 'id', target: 'modules.id' },
|
|
797
|
+
{ source: 'title', target: 'modules.title' },
|
|
798
|
+
],
|
|
799
|
+
},
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
validations: [
|
|
803
|
+
{
|
|
804
|
+
rule: 'required',
|
|
805
|
+
},
|
|
806
|
+
],
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
columns: [{ name: 'title' }, { name: 'description' }, { name: 'moduleIds', options: { dataPath: 'modules' } }],
|
|
810
|
+
commands: {
|
|
811
|
+
create: {
|
|
812
|
+
execute: async (data) => {
|
|
813
|
+
const res = await dataService.insertOne(data);
|
|
814
|
+
return { id: res };
|
|
815
|
+
},
|
|
816
|
+
},
|
|
817
|
+
delete: {
|
|
818
|
+
execute: async (id) => {
|
|
819
|
+
return await dataService.deleteOne(id);
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
update: {
|
|
823
|
+
execute: async (data) => {
|
|
824
|
+
return await dataService.updateOne(data.id, data);
|
|
825
|
+
},
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
queries: {
|
|
829
|
+
byKey: {
|
|
830
|
+
execute: async (id) => {
|
|
831
|
+
return await dataService.getOne(id);
|
|
832
|
+
},
|
|
833
|
+
type: AXPEntityQueryType.Single,
|
|
834
|
+
},
|
|
835
|
+
list: {
|
|
836
|
+
execute: async (e) => {
|
|
837
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
838
|
+
},
|
|
839
|
+
type: AXPEntityQueryType.List,
|
|
840
|
+
},
|
|
841
|
+
},
|
|
842
|
+
interfaces: {
|
|
843
|
+
master: {
|
|
844
|
+
create: {
|
|
845
|
+
sections: [
|
|
846
|
+
{
|
|
847
|
+
id: 'basic-info',
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
id: 'module-assignment',
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
properties: [
|
|
854
|
+
{
|
|
855
|
+
name: 'title',
|
|
856
|
+
layout: {
|
|
857
|
+
positions: {
|
|
858
|
+
lg: {
|
|
859
|
+
colSpan: 12,
|
|
860
|
+
order: 1,
|
|
861
|
+
},
|
|
862
|
+
},
|
|
863
|
+
},
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
name: 'description',
|
|
867
|
+
layout: {
|
|
868
|
+
positions: {
|
|
869
|
+
lg: {
|
|
870
|
+
colSpan: 12,
|
|
871
|
+
order: 2,
|
|
872
|
+
},
|
|
873
|
+
},
|
|
874
|
+
},
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: 'moduleIds',
|
|
878
|
+
layout: {
|
|
879
|
+
positions: {
|
|
880
|
+
lg: {
|
|
881
|
+
colSpan: 12,
|
|
882
|
+
order: 3,
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
},
|
|
886
|
+
},
|
|
887
|
+
],
|
|
888
|
+
},
|
|
889
|
+
update: {
|
|
890
|
+
sections: [
|
|
891
|
+
{
|
|
892
|
+
id: 'basic-info',
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
id: 'module-assignment',
|
|
896
|
+
},
|
|
897
|
+
],
|
|
898
|
+
properties: [
|
|
899
|
+
{
|
|
900
|
+
name: 'title',
|
|
901
|
+
layout: {
|
|
902
|
+
positions: {
|
|
903
|
+
lg: {
|
|
904
|
+
colSpan: 12,
|
|
905
|
+
order: 1,
|
|
906
|
+
},
|
|
907
|
+
},
|
|
908
|
+
},
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
name: 'description',
|
|
912
|
+
layout: {
|
|
913
|
+
positions: {
|
|
914
|
+
lg: {
|
|
915
|
+
colSpan: 12,
|
|
916
|
+
order: 2,
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
},
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
name: 'moduleIds',
|
|
923
|
+
layout: {
|
|
924
|
+
positions: {
|
|
925
|
+
lg: {
|
|
926
|
+
colSpan: 12,
|
|
927
|
+
order: 3,
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
},
|
|
931
|
+
},
|
|
932
|
+
],
|
|
933
|
+
},
|
|
934
|
+
single: {
|
|
935
|
+
title: '{{title}}',
|
|
936
|
+
sections: [
|
|
937
|
+
{
|
|
938
|
+
id: 'basic-info',
|
|
939
|
+
layout: {
|
|
940
|
+
positions: {
|
|
941
|
+
lg: {
|
|
942
|
+
colSpan: 12,
|
|
943
|
+
},
|
|
944
|
+
},
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
id: 'module-assignment',
|
|
949
|
+
layout: {
|
|
950
|
+
positions: {
|
|
951
|
+
lg: {
|
|
952
|
+
colSpan: 12,
|
|
953
|
+
},
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
],
|
|
958
|
+
properties: [
|
|
959
|
+
{
|
|
960
|
+
name: 'title',
|
|
961
|
+
layout: {
|
|
962
|
+
positions: {
|
|
963
|
+
lg: {
|
|
964
|
+
colSpan: 12,
|
|
965
|
+
order: 1,
|
|
966
|
+
},
|
|
967
|
+
},
|
|
968
|
+
},
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
name: 'description',
|
|
972
|
+
layout: {
|
|
973
|
+
positions: {
|
|
974
|
+
lg: {
|
|
975
|
+
colSpan: 12,
|
|
976
|
+
order: 2,
|
|
977
|
+
},
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: 'moduleIds',
|
|
983
|
+
layout: {
|
|
984
|
+
positions: {
|
|
985
|
+
lg: {
|
|
986
|
+
colSpan: 12,
|
|
987
|
+
order: 3,
|
|
988
|
+
},
|
|
989
|
+
},
|
|
990
|
+
},
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
actions: [],
|
|
994
|
+
},
|
|
995
|
+
list: {
|
|
996
|
+
actions: [
|
|
997
|
+
{
|
|
998
|
+
title: `@general:create`,
|
|
999
|
+
command: 'create-entity',
|
|
1000
|
+
priority: 'primary',
|
|
1001
|
+
type: 'create',
|
|
1002
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
title: `@general:deleteItems`,
|
|
1006
|
+
command: 'delete-entity',
|
|
1007
|
+
priority: 'primary',
|
|
1008
|
+
type: 'delete',
|
|
1009
|
+
scope: AXPEntityCommandScope.Selected,
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
title: `@general:detail`,
|
|
1013
|
+
command: 'open-entity',
|
|
1014
|
+
priority: 'secondary',
|
|
1015
|
+
type: 'view',
|
|
1016
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
title: `@general:delete`,
|
|
1020
|
+
command: 'delete-entity',
|
|
1021
|
+
priority: 'secondary',
|
|
1022
|
+
type: 'delete',
|
|
1023
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1024
|
+
},
|
|
1025
|
+
],
|
|
1026
|
+
views: [
|
|
1027
|
+
createAllQueryView({
|
|
1028
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
1029
|
+
}),
|
|
1030
|
+
],
|
|
1031
|
+
},
|
|
1032
|
+
},
|
|
1033
|
+
},
|
|
1034
|
+
};
|
|
1035
|
+
return entityDef;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
var edition_entity = /*#__PURE__*/Object.freeze({
|
|
1039
|
+
__proto__: null,
|
|
1040
|
+
editionEntityFactory: editionEntityFactory
|
|
1041
|
+
});
|
|
1042
|
+
|
|
1043
|
+
class AXMEditionEntityModule {
|
|
1044
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1045
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionEntityModule }); }
|
|
1046
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionEntityModule, providers: [
|
|
1047
|
+
{
|
|
1048
|
+
provide: AXMEditionService,
|
|
1049
|
+
useClass: AXMEditionServiceImpl,
|
|
1050
|
+
},
|
|
1051
|
+
] }); }
|
|
1052
|
+
}
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMEditionEntityModule, decorators: [{
|
|
1054
|
+
type: NgModule,
|
|
1055
|
+
args: [{
|
|
1056
|
+
declarations: [],
|
|
1057
|
+
imports: [],
|
|
1058
|
+
exports: [],
|
|
1059
|
+
providers: [
|
|
1060
|
+
{
|
|
1061
|
+
provide: AXMEditionService,
|
|
1062
|
+
useClass: AXMEditionServiceImpl,
|
|
1063
|
+
},
|
|
1064
|
+
],
|
|
1065
|
+
}]
|
|
1066
|
+
}] });
|
|
1067
|
+
|
|
1068
|
+
class AXMFeatureService extends AXMEntityCrudServiceImpl {
|
|
1069
|
+
}
|
|
1070
|
+
class AXMFeatureServiceImpl extends AXMFeatureService {
|
|
1071
|
+
constructor() {
|
|
1072
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.feature.name}`);
|
|
1073
|
+
}
|
|
1074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1075
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureServiceImpl }); }
|
|
1076
|
+
}
|
|
1077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureServiceImpl, decorators: [{
|
|
1078
|
+
type: Injectable
|
|
1079
|
+
}], ctorParameters: () => [] });
|
|
1080
|
+
|
|
1081
|
+
async function featureEntityFactory(injector) {
|
|
1082
|
+
const dataService = injector.get(AXMFeatureService);
|
|
1083
|
+
const i18n = RootConfig.config.i18n + ':feature';
|
|
1084
|
+
const entityDef = {
|
|
1085
|
+
module: RootConfig.module.name,
|
|
1086
|
+
name: RootConfig.entities.feature.name,
|
|
1087
|
+
icon: RootConfig.entities.feature.icon,
|
|
1088
|
+
title: RootConfig.entities.feature.title,
|
|
1089
|
+
parentKey: 'parentId',
|
|
1090
|
+
formats: {
|
|
1091
|
+
individual: RootConfig.entities.feature.title,
|
|
1092
|
+
plural: RootConfig.entities.feature.titlePlural,
|
|
1093
|
+
searchResult: {
|
|
1094
|
+
title: '{{ title }}',
|
|
1095
|
+
description: RootConfig.module.title,
|
|
1096
|
+
},
|
|
1097
|
+
},
|
|
1098
|
+
relatedEntities: [],
|
|
1099
|
+
groups: [
|
|
1100
|
+
{
|
|
1101
|
+
id: 'basic-info',
|
|
1102
|
+
title: `@${i18n}.basic-info`,
|
|
1103
|
+
},
|
|
1104
|
+
],
|
|
1105
|
+
properties: [
|
|
1106
|
+
{
|
|
1107
|
+
name: 'title',
|
|
1108
|
+
title: `@${i18n}.title`,
|
|
1109
|
+
groupId: 'basic-info',
|
|
1110
|
+
options: {
|
|
1111
|
+
sort: {
|
|
1112
|
+
enabled: true,
|
|
1113
|
+
},
|
|
1114
|
+
filter: {
|
|
1115
|
+
advance: {
|
|
1116
|
+
enabled: true,
|
|
1117
|
+
},
|
|
1118
|
+
inline: {
|
|
1119
|
+
enabled: false,
|
|
1120
|
+
},
|
|
1121
|
+
},
|
|
1122
|
+
},
|
|
1123
|
+
schema: {
|
|
1124
|
+
dataType: 'string',
|
|
1125
|
+
interface: {
|
|
1126
|
+
type: AXPWidgetsCatalog.text,
|
|
1127
|
+
},
|
|
1128
|
+
},
|
|
1129
|
+
validations: [
|
|
1130
|
+
{
|
|
1131
|
+
rule: 'required',
|
|
1132
|
+
},
|
|
1133
|
+
],
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
name: 'description',
|
|
1137
|
+
title: `@${i18n}.description`,
|
|
1138
|
+
groupId: 'basic-info',
|
|
1139
|
+
options: {
|
|
1140
|
+
sort: {
|
|
1141
|
+
enabled: true,
|
|
1142
|
+
},
|
|
1143
|
+
filter: {
|
|
1144
|
+
advance: {
|
|
1145
|
+
enabled: true,
|
|
1146
|
+
},
|
|
1147
|
+
inline: {
|
|
1148
|
+
enabled: false,
|
|
1149
|
+
},
|
|
1150
|
+
},
|
|
1151
|
+
},
|
|
1152
|
+
schema: {
|
|
1153
|
+
dataType: 'string',
|
|
1154
|
+
interface: {
|
|
1155
|
+
type: AXPWidgetsCatalog.largeText,
|
|
1156
|
+
},
|
|
1157
|
+
},
|
|
1158
|
+
},
|
|
1159
|
+
],
|
|
1160
|
+
columns: [{ name: 'title' }, { name: 'description' }, { name: 'moduleId', options: { dataPath: 'module' } }],
|
|
1161
|
+
commands: {
|
|
1162
|
+
create: {
|
|
1163
|
+
execute: async (data) => {
|
|
1164
|
+
const res = await dataService.insertOne(data);
|
|
1165
|
+
return { id: res };
|
|
1166
|
+
},
|
|
1167
|
+
},
|
|
1168
|
+
delete: {
|
|
1169
|
+
execute: async (id) => {
|
|
1170
|
+
return await dataService.deleteOne(id);
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
update: {
|
|
1174
|
+
execute: async (data) => {
|
|
1175
|
+
return await dataService.updateOne(data.id, data);
|
|
1176
|
+
},
|
|
1177
|
+
},
|
|
1178
|
+
},
|
|
1179
|
+
queries: {
|
|
1180
|
+
byKey: {
|
|
1181
|
+
execute: async (id) => {
|
|
1182
|
+
return await dataService.getOne(id);
|
|
1183
|
+
},
|
|
1184
|
+
type: AXPEntityQueryType.Single,
|
|
1185
|
+
},
|
|
1186
|
+
list: {
|
|
1187
|
+
execute: async (e) => {
|
|
1188
|
+
debugger;
|
|
1189
|
+
if (e.filter?.field !== 'parentId') {
|
|
1190
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: { field: 'parentId', value: null } });
|
|
1191
|
+
}
|
|
1192
|
+
else {
|
|
1193
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
type: AXPEntityQueryType.List,
|
|
1197
|
+
},
|
|
1198
|
+
},
|
|
1199
|
+
interfaces: {
|
|
1200
|
+
master: {
|
|
1201
|
+
create: {
|
|
1202
|
+
sections: [
|
|
1203
|
+
{
|
|
1204
|
+
id: 'basic-info',
|
|
1205
|
+
},
|
|
1206
|
+
],
|
|
1207
|
+
properties: [
|
|
1208
|
+
{
|
|
1209
|
+
name: 'title',
|
|
1210
|
+
layout: {
|
|
1211
|
+
positions: {
|
|
1212
|
+
lg: {
|
|
1213
|
+
colSpan: 12,
|
|
1214
|
+
order: 1,
|
|
1215
|
+
},
|
|
1216
|
+
},
|
|
1217
|
+
},
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
name: 'description',
|
|
1221
|
+
layout: {
|
|
1222
|
+
positions: {
|
|
1223
|
+
lg: {
|
|
1224
|
+
colSpan: 12,
|
|
1225
|
+
order: 2,
|
|
1226
|
+
},
|
|
1227
|
+
},
|
|
1228
|
+
},
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
name: 'moduleId',
|
|
1232
|
+
layout: {
|
|
1233
|
+
positions: {
|
|
1234
|
+
lg: {
|
|
1235
|
+
colSpan: 12,
|
|
1236
|
+
order: 3,
|
|
1237
|
+
},
|
|
1238
|
+
},
|
|
1239
|
+
},
|
|
1240
|
+
},
|
|
1241
|
+
],
|
|
1242
|
+
},
|
|
1243
|
+
update: {
|
|
1244
|
+
sections: [
|
|
1245
|
+
{
|
|
1246
|
+
id: 'basic-info',
|
|
1247
|
+
},
|
|
1248
|
+
],
|
|
1249
|
+
properties: [
|
|
1250
|
+
{
|
|
1251
|
+
name: 'title',
|
|
1252
|
+
layout: {
|
|
1253
|
+
positions: {
|
|
1254
|
+
lg: {
|
|
1255
|
+
colSpan: 12,
|
|
1256
|
+
order: 1,
|
|
1257
|
+
},
|
|
1258
|
+
},
|
|
1259
|
+
},
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
name: 'description',
|
|
1263
|
+
layout: {
|
|
1264
|
+
positions: {
|
|
1265
|
+
lg: {
|
|
1266
|
+
colSpan: 12,
|
|
1267
|
+
order: 2,
|
|
1268
|
+
},
|
|
1269
|
+
},
|
|
1270
|
+
},
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
name: 'moduleId',
|
|
1274
|
+
layout: {
|
|
1275
|
+
positions: {
|
|
1276
|
+
lg: {
|
|
1277
|
+
colSpan: 12,
|
|
1278
|
+
order: 3,
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
},
|
|
1282
|
+
},
|
|
1283
|
+
],
|
|
1284
|
+
},
|
|
1285
|
+
single: {
|
|
1286
|
+
title: '{{title}}',
|
|
1287
|
+
sections: [
|
|
1288
|
+
{
|
|
1289
|
+
id: 'basic-info',
|
|
1290
|
+
layout: {
|
|
1291
|
+
positions: {
|
|
1292
|
+
lg: {
|
|
1293
|
+
colSpan: 12,
|
|
1294
|
+
},
|
|
1295
|
+
},
|
|
1296
|
+
},
|
|
1297
|
+
},
|
|
1298
|
+
],
|
|
1299
|
+
properties: [
|
|
1300
|
+
{
|
|
1301
|
+
name: 'title',
|
|
1302
|
+
layout: {
|
|
1303
|
+
positions: {
|
|
1304
|
+
lg: {
|
|
1305
|
+
colSpan: 12,
|
|
1306
|
+
order: 1,
|
|
1307
|
+
},
|
|
1308
|
+
},
|
|
1309
|
+
},
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
name: 'description',
|
|
1313
|
+
layout: {
|
|
1314
|
+
positions: {
|
|
1315
|
+
lg: {
|
|
1316
|
+
colSpan: 12,
|
|
1317
|
+
order: 2,
|
|
1318
|
+
},
|
|
1319
|
+
},
|
|
1320
|
+
},
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
name: 'moduleId',
|
|
1324
|
+
layout: {
|
|
1325
|
+
positions: {
|
|
1326
|
+
lg: {
|
|
1327
|
+
colSpan: 12,
|
|
1328
|
+
order: 3,
|
|
1329
|
+
},
|
|
1330
|
+
},
|
|
1331
|
+
},
|
|
1332
|
+
},
|
|
1333
|
+
],
|
|
1334
|
+
actions: [],
|
|
1335
|
+
},
|
|
1336
|
+
list: {
|
|
1337
|
+
actions: [
|
|
1338
|
+
{
|
|
1339
|
+
title: `@general:create`,
|
|
1340
|
+
command: 'create-entity',
|
|
1341
|
+
priority: 'primary',
|
|
1342
|
+
type: 'create',
|
|
1343
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
title: `@general:deleteItems`,
|
|
1347
|
+
command: 'delete-entity',
|
|
1348
|
+
priority: 'primary',
|
|
1349
|
+
type: 'delete',
|
|
1350
|
+
scope: AXPEntityCommandScope.Selected,
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
title: `@general:detail`,
|
|
1354
|
+
command: 'open-entity',
|
|
1355
|
+
priority: 'secondary',
|
|
1356
|
+
type: 'view',
|
|
1357
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
title: `@general:delete`,
|
|
1361
|
+
command: 'delete-entity',
|
|
1362
|
+
priority: 'secondary',
|
|
1363
|
+
type: 'delete',
|
|
1364
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1365
|
+
},
|
|
1366
|
+
],
|
|
1367
|
+
views: [
|
|
1368
|
+
createAllQueryView({
|
|
1369
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
1370
|
+
}),
|
|
1371
|
+
],
|
|
1372
|
+
},
|
|
1373
|
+
},
|
|
1374
|
+
},
|
|
1375
|
+
};
|
|
1376
|
+
return entityDef;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
var feature_entity = /*#__PURE__*/Object.freeze({
|
|
1380
|
+
__proto__: null,
|
|
1381
|
+
featureEntityFactory: featureEntityFactory
|
|
1382
|
+
});
|
|
1383
|
+
|
|
1384
|
+
class AXMFeatureEntityModule {
|
|
1385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1386
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureEntityModule }); }
|
|
1387
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureEntityModule, providers: [
|
|
1388
|
+
{
|
|
1389
|
+
provide: AXMFeatureService,
|
|
1390
|
+
useClass: AXMFeatureServiceImpl,
|
|
1391
|
+
},
|
|
1392
|
+
] }); }
|
|
1393
|
+
}
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMFeatureEntityModule, decorators: [{
|
|
1395
|
+
type: NgModule,
|
|
1396
|
+
args: [{
|
|
1397
|
+
declarations: [],
|
|
1398
|
+
imports: [],
|
|
1399
|
+
exports: [],
|
|
1400
|
+
providers: [
|
|
1401
|
+
{
|
|
1402
|
+
provide: AXMFeatureService,
|
|
1403
|
+
useClass: AXMFeatureServiceImpl,
|
|
1404
|
+
},
|
|
1405
|
+
],
|
|
1406
|
+
}]
|
|
1407
|
+
}] });
|
|
1408
|
+
|
|
1409
|
+
class AXMModuleService extends AXMEntityCrudServiceImpl {
|
|
1410
|
+
}
|
|
1411
|
+
class AXMModuleServiceImpl extends AXMModuleService {
|
|
1412
|
+
constructor() {
|
|
1413
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.module.name}`);
|
|
1414
|
+
}
|
|
1415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1416
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleServiceImpl }); }
|
|
1417
|
+
}
|
|
1418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleServiceImpl, decorators: [{
|
|
1419
|
+
type: Injectable
|
|
1420
|
+
}], ctorParameters: () => [] });
|
|
1421
|
+
|
|
1422
|
+
async function moduleEntityFactory(injector) {
|
|
1423
|
+
const dataService = injector.get(AXMModuleService);
|
|
1424
|
+
const i18n = RootConfig.config.i18n + ':module';
|
|
1425
|
+
const entityDef = {
|
|
1426
|
+
module: RootConfig.module.name,
|
|
1427
|
+
name: RootConfig.entities.module.name,
|
|
1428
|
+
icon: RootConfig.entities.module.icon,
|
|
1429
|
+
title: RootConfig.entities.module.title,
|
|
1430
|
+
plugins: [{ name: 'color', options: { colSpan: 12 } }, { name: 'icon' }],
|
|
1431
|
+
formats: {
|
|
1432
|
+
individual: RootConfig.entities.module.title,
|
|
1433
|
+
plural: RootConfig.entities.module.titlePlural,
|
|
1434
|
+
searchResult: {
|
|
1435
|
+
title: '{{ title }}',
|
|
1436
|
+
description: RootConfig.module.title,
|
|
1437
|
+
},
|
|
1438
|
+
},
|
|
1439
|
+
relatedEntities: [
|
|
1440
|
+
{
|
|
1441
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.feature.name}`,
|
|
1442
|
+
title: `@${i18n}.feature-assignment`,
|
|
1443
|
+
conditions: [{ name: 'id', operator: { type: 'in' }, value: '{{ context.eval("featureIds") }}' }],
|
|
1444
|
+
actions: [...entityDetailsCrudActions('featureIds')],
|
|
1445
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
1446
|
+
persistence: {
|
|
1447
|
+
dataPath: 'features',
|
|
1448
|
+
strategy: 'referenced',
|
|
1449
|
+
idField: 'featureIds',
|
|
1450
|
+
},
|
|
1451
|
+
},
|
|
1452
|
+
],
|
|
1453
|
+
groups: [
|
|
1454
|
+
{
|
|
1455
|
+
id: 'basic-info',
|
|
1456
|
+
title: `@${i18n}.basic-info`,
|
|
1457
|
+
},
|
|
1458
|
+
],
|
|
1459
|
+
properties: [
|
|
1460
|
+
{
|
|
1461
|
+
name: 'title',
|
|
1462
|
+
title: `@${i18n}.title`,
|
|
1463
|
+
groupId: 'basic-info',
|
|
1464
|
+
options: {
|
|
1465
|
+
sort: {
|
|
1466
|
+
enabled: true,
|
|
1467
|
+
},
|
|
1468
|
+
filter: {
|
|
1469
|
+
advance: {
|
|
1470
|
+
enabled: true,
|
|
1471
|
+
},
|
|
1472
|
+
inline: {
|
|
1473
|
+
enabled: false,
|
|
1474
|
+
},
|
|
1475
|
+
},
|
|
1476
|
+
},
|
|
1477
|
+
schema: {
|
|
1478
|
+
dataType: 'string',
|
|
1479
|
+
interface: {
|
|
1480
|
+
type: AXPWidgetsCatalog.text,
|
|
1481
|
+
},
|
|
1482
|
+
},
|
|
1483
|
+
validations: [
|
|
1484
|
+
{
|
|
1485
|
+
rule: 'required',
|
|
1486
|
+
},
|
|
1487
|
+
],
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
name: 'description',
|
|
1491
|
+
title: `@${i18n}.description`,
|
|
1492
|
+
groupId: 'basic-info',
|
|
1493
|
+
options: {
|
|
1494
|
+
sort: {
|
|
1495
|
+
enabled: true,
|
|
1496
|
+
},
|
|
1497
|
+
filter: {
|
|
1498
|
+
advance: {
|
|
1499
|
+
enabled: true,
|
|
1500
|
+
},
|
|
1501
|
+
inline: {
|
|
1502
|
+
enabled: false,
|
|
1503
|
+
},
|
|
1504
|
+
},
|
|
1505
|
+
},
|
|
1506
|
+
schema: {
|
|
1507
|
+
dataType: 'string',
|
|
1508
|
+
interface: {
|
|
1509
|
+
type: AXPWidgetsCatalog.largeText,
|
|
1510
|
+
},
|
|
1511
|
+
},
|
|
1512
|
+
},
|
|
1513
|
+
// {
|
|
1514
|
+
// name: 'featureIds',
|
|
1515
|
+
// groupId: 'feature-assignment',
|
|
1516
|
+
// title: `@${i18n}.feature`,
|
|
1517
|
+
// options: {
|
|
1518
|
+
// sort: {
|
|
1519
|
+
// enabled: true,
|
|
1520
|
+
// },
|
|
1521
|
+
// filter: {
|
|
1522
|
+
// advance: {
|
|
1523
|
+
// enabled: true,
|
|
1524
|
+
// },
|
|
1525
|
+
// inline: {
|
|
1526
|
+
// enabled: true,
|
|
1527
|
+
// },
|
|
1528
|
+
// },
|
|
1529
|
+
// },
|
|
1530
|
+
// schema: {
|
|
1531
|
+
// dataType: 'string',
|
|
1532
|
+
// interface: {
|
|
1533
|
+
// type: AXPWidgetsCatalog.lookup,
|
|
1534
|
+
// options: {
|
|
1535
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.feature.name}`,
|
|
1536
|
+
// multiple: true,
|
|
1537
|
+
// textField: 'title',
|
|
1538
|
+
// valueField: 'id',
|
|
1539
|
+
// expose: [
|
|
1540
|
+
// { source: 'id', target: 'feature.id' },
|
|
1541
|
+
// { source: 'title', target: 'feature.title' },
|
|
1542
|
+
// ],
|
|
1543
|
+
// },
|
|
1544
|
+
// },
|
|
1545
|
+
// },
|
|
1546
|
+
// validations: [
|
|
1547
|
+
// {
|
|
1548
|
+
// rule: 'required',
|
|
1549
|
+
// },
|
|
1550
|
+
// ],
|
|
1551
|
+
// },
|
|
1552
|
+
],
|
|
1553
|
+
columns: [{ name: 'title' }, { name: 'description' }],
|
|
1554
|
+
commands: {
|
|
1555
|
+
create: {
|
|
1556
|
+
execute: async (data) => {
|
|
1557
|
+
const res = await dataService.insertOne(data);
|
|
1558
|
+
return { id: res };
|
|
1559
|
+
},
|
|
1560
|
+
},
|
|
1561
|
+
delete: {
|
|
1562
|
+
execute: async (id) => {
|
|
1563
|
+
return await dataService.deleteOne(id);
|
|
1564
|
+
},
|
|
1565
|
+
},
|
|
1566
|
+
update: {
|
|
1567
|
+
execute: async (data) => {
|
|
1568
|
+
return await dataService.updateOne(data.id, data);
|
|
1569
|
+
},
|
|
1570
|
+
},
|
|
1571
|
+
},
|
|
1572
|
+
queries: {
|
|
1573
|
+
byKey: {
|
|
1574
|
+
execute: async (id) => {
|
|
1575
|
+
return await dataService.getOne(id);
|
|
1576
|
+
},
|
|
1577
|
+
type: AXPEntityQueryType.Single,
|
|
1578
|
+
},
|
|
1579
|
+
list: {
|
|
1580
|
+
execute: async (e) => {
|
|
1581
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
|
1582
|
+
},
|
|
1583
|
+
type: AXPEntityQueryType.List,
|
|
1584
|
+
},
|
|
1585
|
+
},
|
|
1586
|
+
interfaces: {
|
|
1587
|
+
master: {
|
|
1588
|
+
create: {
|
|
1589
|
+
sections: [
|
|
1590
|
+
{
|
|
1591
|
+
id: 'basic-info',
|
|
1592
|
+
},
|
|
1593
|
+
],
|
|
1594
|
+
properties: [
|
|
1595
|
+
{
|
|
1596
|
+
name: 'title',
|
|
1597
|
+
layout: {
|
|
1598
|
+
positions: {
|
|
1599
|
+
lg: {
|
|
1600
|
+
colSpan: 12,
|
|
1601
|
+
order: 1,
|
|
1602
|
+
},
|
|
1603
|
+
},
|
|
1604
|
+
},
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
name: 'description',
|
|
1608
|
+
layout: {
|
|
1609
|
+
positions: {
|
|
1610
|
+
lg: {
|
|
1611
|
+
colSpan: 12,
|
|
1612
|
+
order: 2,
|
|
1613
|
+
},
|
|
1614
|
+
},
|
|
1615
|
+
},
|
|
1616
|
+
},
|
|
1617
|
+
],
|
|
1618
|
+
},
|
|
1619
|
+
update: {
|
|
1620
|
+
sections: [
|
|
1621
|
+
{
|
|
1622
|
+
id: 'basic-info',
|
|
1623
|
+
},
|
|
1624
|
+
],
|
|
1625
|
+
properties: [
|
|
1626
|
+
{
|
|
1627
|
+
name: 'title',
|
|
1628
|
+
layout: {
|
|
1629
|
+
positions: {
|
|
1630
|
+
lg: {
|
|
1631
|
+
colSpan: 12,
|
|
1632
|
+
order: 1,
|
|
1633
|
+
},
|
|
1634
|
+
},
|
|
1635
|
+
},
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
name: 'description',
|
|
1639
|
+
layout: {
|
|
1640
|
+
positions: {
|
|
1641
|
+
lg: {
|
|
1642
|
+
colSpan: 12,
|
|
1643
|
+
order: 2,
|
|
1644
|
+
},
|
|
1645
|
+
},
|
|
1646
|
+
},
|
|
1647
|
+
},
|
|
1648
|
+
],
|
|
1649
|
+
},
|
|
1650
|
+
single: {
|
|
1651
|
+
title: '{{title}}',
|
|
1652
|
+
sections: [
|
|
1653
|
+
{
|
|
1654
|
+
id: 'basic-info',
|
|
1655
|
+
layout: {
|
|
1656
|
+
positions: {
|
|
1657
|
+
lg: {
|
|
1658
|
+
colSpan: 12,
|
|
1659
|
+
},
|
|
1660
|
+
},
|
|
1661
|
+
},
|
|
1662
|
+
},
|
|
1663
|
+
],
|
|
1664
|
+
properties: [
|
|
1665
|
+
{
|
|
1666
|
+
name: 'title',
|
|
1667
|
+
layout: {
|
|
1668
|
+
positions: {
|
|
1669
|
+
lg: {
|
|
1670
|
+
colSpan: 12,
|
|
1671
|
+
order: 1,
|
|
1672
|
+
},
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
name: 'description',
|
|
1678
|
+
layout: {
|
|
1679
|
+
positions: {
|
|
1680
|
+
lg: {
|
|
1681
|
+
colSpan: 12,
|
|
1682
|
+
order: 2,
|
|
1683
|
+
},
|
|
1684
|
+
},
|
|
1685
|
+
},
|
|
1686
|
+
},
|
|
1687
|
+
],
|
|
1688
|
+
actions: [],
|
|
1689
|
+
},
|
|
1690
|
+
list: {
|
|
1691
|
+
actions: [
|
|
1692
|
+
{
|
|
1693
|
+
title: `@general:create`,
|
|
1694
|
+
command: 'create-entity',
|
|
1695
|
+
priority: 'primary',
|
|
1696
|
+
type: 'create',
|
|
1697
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
title: `@general:deleteItems`,
|
|
1701
|
+
command: 'delete-entity',
|
|
1702
|
+
priority: 'primary',
|
|
1703
|
+
type: 'delete',
|
|
1704
|
+
scope: AXPEntityCommandScope.Selected,
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
title: `@general:detail`,
|
|
1708
|
+
command: 'open-entity',
|
|
1709
|
+
priority: 'secondary',
|
|
1710
|
+
type: 'view',
|
|
1711
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
title: `@general:delete`,
|
|
1715
|
+
command: 'delete-entity',
|
|
1716
|
+
priority: 'secondary',
|
|
1717
|
+
type: 'delete',
|
|
1718
|
+
scope: AXPEntityCommandScope.Individual,
|
|
1719
|
+
},
|
|
1720
|
+
],
|
|
1721
|
+
views: [
|
|
1722
|
+
createAllQueryView({
|
|
1723
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
1724
|
+
}),
|
|
1725
|
+
],
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
},
|
|
1729
|
+
};
|
|
1730
|
+
return entityDef;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
var module_entity = /*#__PURE__*/Object.freeze({
|
|
1734
|
+
__proto__: null,
|
|
1735
|
+
moduleEntityFactory: moduleEntityFactory
|
|
1736
|
+
});
|
|
1737
|
+
|
|
1738
|
+
class AXMModuleEntityModule {
|
|
1739
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1740
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleEntityModule }); }
|
|
1741
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleEntityModule, providers: [
|
|
1742
|
+
{
|
|
1743
|
+
provide: AXMModuleService,
|
|
1744
|
+
useClass: AXMModuleServiceImpl,
|
|
1745
|
+
},
|
|
1746
|
+
] }); }
|
|
1747
|
+
}
|
|
1748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMModuleEntityModule, decorators: [{
|
|
1749
|
+
type: NgModule,
|
|
1750
|
+
args: [{
|
|
1751
|
+
declarations: [],
|
|
1752
|
+
imports: [],
|
|
1753
|
+
exports: [],
|
|
1754
|
+
providers: [
|
|
1755
|
+
{
|
|
1756
|
+
provide: AXMModuleService,
|
|
1757
|
+
useClass: AXMModuleServiceImpl,
|
|
1758
|
+
},
|
|
1759
|
+
],
|
|
1760
|
+
}]
|
|
1761
|
+
}] });
|
|
1762
|
+
|
|
1763
|
+
//#region ---- Routes Factory ----
|
|
1764
|
+
function routesFactory() {
|
|
1765
|
+
const routes = [
|
|
1766
|
+
{
|
|
1767
|
+
path: ':app/application-management/menus/:scope',
|
|
1768
|
+
canActivate: [AXPAuthGuard],
|
|
1769
|
+
loadComponent: () => AXPRootLayoutComponent,
|
|
1770
|
+
children: [
|
|
1771
|
+
{
|
|
1772
|
+
path: '',
|
|
1773
|
+
loadComponent: () => import('./acorex-modules-application-management-menu-list.component-LIRwdWs6.mjs').then((c) => c.AXMMenuListComponent),
|
|
1774
|
+
data: { reuse: true },
|
|
1775
|
+
},
|
|
1776
|
+
],
|
|
1777
|
+
},
|
|
1778
|
+
];
|
|
1779
|
+
return routes;
|
|
1780
|
+
}
|
|
1781
|
+
//#endregion
|
|
1782
|
+
class AXMApplicationManagementModule {
|
|
1783
|
+
constructor() { }
|
|
1784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1785
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationManagementModule, imports: [
|
|
1786
|
+
// Entity Modules
|
|
1787
|
+
AXMApplicationEntityModule] }); }
|
|
1788
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationManagementModule, providers: [
|
|
1789
|
+
{
|
|
1790
|
+
provide: AXMFeatureService,
|
|
1791
|
+
useClass: AXMFeatureServiceImpl,
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
provide: AXMModuleService,
|
|
1795
|
+
useClass: AXMModuleServiceImpl,
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
provide: AXMEditionService,
|
|
1799
|
+
useClass: AXMEditionServiceImpl,
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
provide: AXP_MENU_PROVIDER,
|
|
1803
|
+
useClass: AXMApplicationManagmentModuleMenuProvider,
|
|
1804
|
+
multi: true,
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
provide: AXP_MENU_MIDDLEWARE,
|
|
1808
|
+
useClass: AXPCustomMenuMiddleware,
|
|
1809
|
+
multi: true,
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
1813
|
+
useClass: AXMEntityProvider,
|
|
1814
|
+
multi: true,
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
provide: ROUTES,
|
|
1818
|
+
multi: true,
|
|
1819
|
+
useFactory: routesFactory,
|
|
1820
|
+
},
|
|
1821
|
+
], imports: [
|
|
1822
|
+
// Entity Modules
|
|
1823
|
+
AXMApplicationEntityModule] }); }
|
|
1824
|
+
}
|
|
1825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMApplicationManagementModule, decorators: [{
|
|
1826
|
+
type: NgModule,
|
|
1827
|
+
args: [{
|
|
1828
|
+
imports: [
|
|
1829
|
+
// Entity Modules
|
|
1830
|
+
AXMApplicationEntityModule,
|
|
1831
|
+
],
|
|
1832
|
+
exports: [],
|
|
1833
|
+
declarations: [],
|
|
1834
|
+
providers: [
|
|
1835
|
+
{
|
|
1836
|
+
provide: AXMFeatureService,
|
|
1837
|
+
useClass: AXMFeatureServiceImpl,
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
provide: AXMModuleService,
|
|
1841
|
+
useClass: AXMModuleServiceImpl,
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
provide: AXMEditionService,
|
|
1845
|
+
useClass: AXMEditionServiceImpl,
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
provide: AXP_MENU_PROVIDER,
|
|
1849
|
+
useClass: AXMApplicationManagmentModuleMenuProvider,
|
|
1850
|
+
multi: true,
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
provide: AXP_MENU_MIDDLEWARE,
|
|
1854
|
+
useClass: AXPCustomMenuMiddleware,
|
|
1855
|
+
multi: true,
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
1859
|
+
useClass: AXMEntityProvider,
|
|
1860
|
+
multi: true,
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
provide: ROUTES,
|
|
1864
|
+
multi: true,
|
|
1865
|
+
useFactory: routesFactory,
|
|
1866
|
+
},
|
|
1867
|
+
],
|
|
1868
|
+
}]
|
|
1869
|
+
}], ctorParameters: () => [] });
|
|
1870
|
+
|
|
1871
|
+
class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
1872
|
+
constructor() {
|
|
1873
|
+
super(...arguments);
|
|
1874
|
+
this.commands = [
|
|
1875
|
+
// {
|
|
1876
|
+
// group: 'command',
|
|
1877
|
+
// title: 'New Form Template',
|
|
1878
|
+
// icon: RootConfig.entities.template.icon,
|
|
1879
|
+
// description: 'Create a new form template for designing reusable forms.', // Added description
|
|
1880
|
+
// commands: {
|
|
1881
|
+
// 'create-entity': {
|
|
1882
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
|
|
1883
|
+
// },
|
|
1884
|
+
// },
|
|
1885
|
+
// }
|
|
1886
|
+
];
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
class AXMSettingProvider {
|
|
1891
|
+
async provide(context) {
|
|
1892
|
+
// context
|
|
1893
|
+
// // Add Form Template Group
|
|
1894
|
+
// .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)
|
|
1895
|
+
// // Start Interface Section
|
|
1896
|
+
// .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')
|
|
1897
|
+
// .addSetting({
|
|
1898
|
+
// key: 'history-panel',
|
|
1899
|
+
// title: 'Show History Panel',
|
|
1900
|
+
// scope: 'U',
|
|
1901
|
+
// isInherited: true,
|
|
1902
|
+
// defaultValue: false,
|
|
1903
|
+
// widget: {
|
|
1904
|
+
// type: AXPWidgetsCatalog.toggle,
|
|
1905
|
+
// },
|
|
1906
|
+
// description: 'Enable or disable the history panel for forms.',
|
|
1907
|
+
// validationRules: [
|
|
1908
|
+
// {
|
|
1909
|
+
// rule: 'required',
|
|
1910
|
+
// },
|
|
1911
|
+
// ],
|
|
1912
|
+
// })
|
|
1913
|
+
// .endSection()
|
|
1914
|
+
// .endGroup();
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* Generated bundle index. Do not edit.
|
|
1920
|
+
*/
|
|
1921
|
+
|
|
1922
|
+
export { AXP_MENU_CUSTOMIZATION_KEY as A, RootConfig as R, AXP_MENU_CUSTOMIZATION_DEFAULT as a, AXMApplicationManagementModule as b, AXMApplicationManagementModuleConst as c, applicationEntityFactory as d, AXMApplicationEntityModule as e, AXMApplicationService as f, AXMApplicationServiceImpl as g, editionEntityFactory as h, AXMEditionEntityModule as i, AXMEditionService as j, AXMEditionServiceImpl as k, featureEntityFactory as l, AXMFeatureEntityModule as m, AXMFeatureService as n, AXMFeatureServiceImpl as o, moduleEntityFactory as p, AXMModuleEntityModule as q, AXMModuleService as r, AXMModuleServiceImpl as s, AXMEntityProvider as t, AXMApplicationManagmentModuleMenuProvider as u, AXMSearchCommandProvider as v, AXMSettingProvider as w };
|
|
1923
|
+
//# sourceMappingURL=acorex-modules-application-management-acorex-modules-application-management-3Z51H2O-.mjs.map
|