@acorex/modules 19.2.5 → 19.2.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/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +2 -2
- package/auth/lib/store/auth.effects.d.ts +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-kMtkkid-.mjs → acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs} +4 -4
- package/fesm2022/acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CcRRSTGN.mjs → acorex-modules-auth-acorex-modules-auth-HwJJs-3A.mjs} +24 -24
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-HwJJs-3A.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-BvxMkXPp.mjs +64 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-BvxMkXPp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-ua9uEgUG.mjs → acorex-modules-auth-login.module-CDvLUxls.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-ua9uEgUG.mjs.map → acorex-modules-auth-login.module-CDvLUxls.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-CnKBnl8W.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-CnKBnl8W.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-BVoPZUG9.mjs → acorex-modules-auth-password.component-1FnIjiZ8.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BVoPZUG9.mjs.map → acorex-modules-auth-password.component-1FnIjiZ8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CIwOjQRh.mjs → acorex-modules-auth-password.component-C16jeHuJ.mjs} +4 -4
- package/fesm2022/acorex-modules-auth-password.component-C16jeHuJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-hR3jePok.mjs → acorex-modules-auth-routes-ZDDUhAWd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-hR3jePok.mjs.map → acorex-modules-auth-routes-ZDDUhAWd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-setting.provider-GJeEbIRd.mjs → acorex-modules-auth-setting.provider-DDl3OHw6.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-setting.provider-GJeEbIRd.mjs.map → acorex-modules-auth-setting.provider-DDl3OHw6.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs +83 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-CKe_H_-u.mjs → acorex-modules-auth-two-factor.module-C32MVGby.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-CKe_H_-u.mjs.map → acorex-modules-auth-two-factor.module-C32MVGby.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +4 -4
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DGGKoVbL.mjs +908 -0
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DGGKoVbL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BcfMw_wb.mjs → acorex-modules-form-template-management-category.entity-B1X2QyYV.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BcfMw_wb.mjs.map → acorex-modules-form-template-management-category.entity-B1X2QyYV.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +1 -1
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-ceq0ZtxA.mjs → acorex-modules-form-template-management-setting.provider-D-HyCbH7.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-ceq0ZtxA.mjs.map → acorex-modules-form-template-management-setting.provider-D-HyCbH7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs +126 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CVyFN7D9.mjs → acorex-modules-form-template-management-template-widget-edit.component-CyZLM6M9.mjs} +2 -2
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CyZLM6M9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-BpApQcvG.mjs → acorex-modules-form-template-management-template.entity-DXIhxJeU.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-BpApQcvG.mjs.map → acorex-modules-form-template-management-template.entity-DXIhxJeU.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -907
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +263 -9
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-add-item.component-D0tN7Se4.mjs +83 -0
- package/fesm2022/acorex-modules-organization-management-add-item.component-D0tN7Se4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-branch.entity-kuZxLStS.mjs → acorex-modules-organization-management-branch.entity-CbmnpHl2.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-branch.entity-CbmnpHl2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-chart.entity-BqUE8fbV.mjs → acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-company.entity-DJt8tCqO.mjs → acorex-modules-organization-management-company.entity-d7GaCVei.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-company.entity-d7GaCVei.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs → acorex-modules-organization-management-department.entity-Dl7y4Rva.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-department.entity-Dl7y4Rva.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-division.entity-DHVnrP38.mjs → acorex-modules-organization-management-division.entity-Ckmu2Tj9.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-division.entity-Ckmu2Tj9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-employee.entity-D4BSxGAW.mjs → acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs → acorex-modules-organization-management-employment-type.entity-9aOaYT_-.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-9aOaYT_-.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-BzjTyYyS.mjs +92 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-BzjTyYyS.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-DObuNZKQ.mjs +145 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-DObuNZKQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Cz4ENQRa.mjs +868 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Cz4ENQRa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs → acorex-modules-organization-management-position.entity-DDkiBefn.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-position.entity-DDkiBefn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-setting.keys-CF6Giykz.mjs → acorex-modules-organization-management-setting.keys-CF6Giykz.mjs} +1 -1
- package/fesm2022/acorex-modules-organization-management-setting.keys-CF6Giykz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-setting.provider-nKs53GcA.mjs → acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs} +3 -3
- package/fesm2022/acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment.mjs → acorex-modules-organization-management.mjs} +66 -22
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1455 -155
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +12 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/form-template-management/index.d.ts +0 -1
- package/form-template-management/lib/features/designer/index.d.ts +5 -0
- package/form-template-management/lib/{services → features/designer}/template.provider.d.ts +1 -1
- package/form-template-management/lib/features/index.d.ts +1 -0
- package/notification-management/lib/entities/channel/channel.types.d.ts +14 -2
- package/organization-management/README.md +3 -0
- package/organization-management/index.d.ts +4 -0
- package/{organization-managment → organization-management}/lib/entities/chart/chart.types.d.ts +10 -5
- package/organization-management/lib/features/index.d.ts +1 -0
- package/organization-management/lib/features/organization-chart/add-item/add-item.component.d.ts +21 -0
- package/organization-management/lib/features/organization-chart/index.d.ts +1 -0
- package/{organization-managment → organization-management}/lib/features/organization-chart/org-chart-configuration.page.d.ts +4 -4
- package/organization-management/lib/features/organization-chart/org-chart-configuration.service.d.ts +25 -0
- package/organization-management/lib/features/organization-chart/org-chart-print.service.d.ts +45 -0
- package/{organization-managment → organization-management}/lib/features/organization-chart/org-chart.page.d.ts +79 -8
- package/organization-management/lib/features/organization-chart/org-chart.service.d.ts +63 -0
- package/organization-management/lib/features/organization-chart/org-chart.type.d.ts +46 -0
- package/{organization-managment/lib/organization-managment.module.d.ts → organization-management/lib/organization-management.module.d.ts} +4 -4
- package/package.json +8 -8
- package/platform-management/lib/const.d.ts +12 -0
- package/platform-management/lib/entities/app-term/components/notify-app/notify-app.component.d.ts +1 -2
- package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +56 -0
- package/platform-management/lib/entities/data-source/data-source.entity.d.ts +3 -0
- package/platform-management/lib/entities/data-source/data-source.service.d.ts +10 -0
- package/platform-management/lib/entities/data-source/data-source.types.d.ts +7 -0
- package/platform-management/lib/entities/data-source/datasource-provider.dynamic.d.ts +6 -0
- package/platform-management/lib/entities/data-source/index.d.ts +3 -0
- package/platform-management/lib/entities/index.d.ts +2 -0
- package/platform-management/lib/entities/promotion/components/index.d.ts +1 -0
- package/platform-management/lib/entities/promotion/components/promotion-slot/promotion-slot.component.d.ts +13 -0
- package/platform-management/lib/entities/promotion/index.d.ts +4 -0
- package/platform-management/lib/entities/promotion/promotion.entity.d.ts +3 -0
- package/platform-management/lib/entities/promotion/promotion.service.d.ts +10 -0
- package/platform-management/lib/entities/promotion/promotion.types.d.ts +15 -0
- package/platform-management/lib/platform-management.module.d.ts +2 -1
- package/security-management/index.d.ts +1 -0
- package/security-management/lib/menu.keys.d.ts +5 -0
- package/fesm2022/acorex-modules-application-management-module-designer.component-kMtkkid-.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CcRRSTGN.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-DuRnQda8.mjs +0 -64
- package/fesm2022/acorex-modules-auth-app-chooser.component-DuRnQda8.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-KNzdjwP6.mjs +0 -23
- package/fesm2022/acorex-modules-auth-master.layout-KNzdjwP6.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-CIwOjQRh.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs +0 -83
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-CG-_1tWi.mjs +0 -126
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-CG-_1tWi.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CVyFN7D9.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-branch.entity-kuZxLStS.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-chart.entity-BqUE8fbV.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-company.entity-DJt8tCqO.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-division.entity-DHVnrP38.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-employee.entity-D4BSxGAW.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.page-Dc6c7GmB.mjs +0 -310
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.page-Dc6c7GmB.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-CTHNSn2n.mjs +0 -505
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-CTHNSn2n.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-setting.keys-CF6Giykz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-setting.provider-nKs53GcA.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment.mjs.map +0 -1
- package/organization-managment/README.md +0 -3
- package/organization-managment/index.d.ts +0 -3
- package/organization-managment/lib/features/organization-chart/org-chart-print.service.d.ts +0 -22
- package/organization-managment/lib/features/organization-chart/org-chart.service.d.ts +0 -35
- package/organization-managment/lib/features/organization-chart/org-chart.type.d.ts +0 -25
- /package/form-template-management/lib/{services → features/designer}/designer-connector.service.d.ts +0 -0
- /package/form-template-management/lib/{pages → features}/designer/designer.page.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template/index.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template/template-widget-designer.component.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template/template-widget-edit.component.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template/template-widget-view.component.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template/template-widget.config.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template-designer/index.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template-designer/template-designer-widget-view.component.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template-designer/template-designer-widget.config.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template-picker/template-picker.component.d.ts +0 -0
- /package/form-template-management/lib/{components → features/designer}/widgets/template-picker/template.provider.d.ts +0 -0
- /package/form-template-management/lib/{workflows → features/designer/workflows}/create-template.workflow.d.ts +0 -0
- /package/form-template-management/lib/{workflows → features/designer/workflows}/design-template.workflow.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/const.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/branch/branch.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/branch/branch.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/branch/branch.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/branch/branch.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/branch/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/chart/chart.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/chart/chart.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/chart/chart.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/chart/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/company/company.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/company/company.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/company/company.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/company/company.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/company/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/department/department.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/department/department.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/department/department.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/department/department.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/department/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/division/division.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/division/division.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/division/division.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/division/division.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/division/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employee/employee.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employee/employee.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employee/employee.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employee/employee.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employee/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employment-type/employment-type.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employment-type/employment-type.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employment-type/employment-type.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employment-type/employment-type.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/employment-type/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/position/index.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/position/position.entity.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/position/position.module.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/position/position.service.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entities/position/position.types.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/entity.provider.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/menu.provider.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/setting.keys.d.ts +0 -0
- /package/{organization-managment → organization-management}/lib/setting.provider.d.ts +0 -0
@@ -0,0 +1,908 @@
|
|
1
|
+
import { AXP_PERMISSION_PROVIDER } from '@acorex/platform/auth';
|
2
|
+
import { AXMEntityCrudServiceImpl, AXPSearchCommandProvider, AXPDataGenerator, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
3
|
+
import * as i2 from '@acorex/platform/layout/builder';
|
4
|
+
import { AXPWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_ADVANCE_GROUP, createStringProperty, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
5
|
+
import { AXPDesignerConnector, AXPDesignerService, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent } from '@acorex/platform/layout/designer';
|
6
|
+
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
7
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXPWidgetsModule } from '@acorex/platform/widgets';
|
8
|
+
import * as i2$1 from '@acorex/platform/workflow';
|
9
|
+
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
10
|
+
import * as i0 from '@angular/core';
|
11
|
+
import { Injectable, NgModule, inject, Injector, InjectionToken, computed, signal, effect, Component, ChangeDetectionStrategy, HostBinding } from '@angular/core';
|
12
|
+
import { ROUTES } from '@angular/router';
|
13
|
+
import { get, sortBy } from 'lodash-es';
|
14
|
+
import * as i3 from '@acorex/core/translation';
|
15
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
16
|
+
import * as i1 from '@angular/common';
|
17
|
+
import { CommonModule } from '@angular/common';
|
18
|
+
import { AXPopupService } from '@acorex/components/popup';
|
19
|
+
import { AXButtonModule } from '@acorex/components/button';
|
20
|
+
|
21
|
+
const config = {
|
22
|
+
i18n: 'form-template-management',
|
23
|
+
};
|
24
|
+
const RootConfig = {
|
25
|
+
config,
|
26
|
+
module: {
|
27
|
+
route: 'form-template-management',
|
28
|
+
name: 'FormTemplateManagement',
|
29
|
+
title: `t('module-name', {scope:"${config.i18n}"})`,
|
30
|
+
icon: 'fa-light fa-file-invoice'
|
31
|
+
},
|
32
|
+
entities: {
|
33
|
+
category: {
|
34
|
+
name: 'Category',
|
35
|
+
title: 't("category", { scope: "common" })',
|
36
|
+
icon: 'fa-light fa-list'
|
37
|
+
},
|
38
|
+
template: {
|
39
|
+
name: 'Template',
|
40
|
+
title: `t("template",{scope:"${config.i18n}"})`,
|
41
|
+
icon: 'fa-light fa-file-code'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
};
|
45
|
+
|
46
|
+
class AXMFormTemplateManagementCategoryEntityService extends AXMEntityCrudServiceImpl {
|
47
|
+
}
|
48
|
+
class AXMFormTemplateManagementCategoryEntityServiceImpl extends AXMFormTemplateManagementCategoryEntityService {
|
49
|
+
constructor() {
|
50
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.category.name}`);
|
51
|
+
}
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
53
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl }); }
|
54
|
+
}
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl, decorators: [{
|
56
|
+
type: Injectable
|
57
|
+
}], ctorParameters: () => [] });
|
58
|
+
|
59
|
+
class AXMFormTemplateManagementCategoryEntityModule {
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
61
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule }); }
|
62
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, providers: [
|
63
|
+
{
|
64
|
+
provide: AXMFormTemplateManagementCategoryEntityService,
|
65
|
+
useClass: AXMFormTemplateManagementCategoryEntityServiceImpl,
|
66
|
+
},
|
67
|
+
] }); }
|
68
|
+
}
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, decorators: [{
|
70
|
+
type: NgModule,
|
71
|
+
args: [{
|
72
|
+
imports: [],
|
73
|
+
exports: [],
|
74
|
+
declarations: [],
|
75
|
+
providers: [
|
76
|
+
{
|
77
|
+
provide: AXMFormTemplateManagementCategoryEntityService,
|
78
|
+
useClass: AXMFormTemplateManagementCategoryEntityServiceImpl,
|
79
|
+
},
|
80
|
+
],
|
81
|
+
}]
|
82
|
+
}] });
|
83
|
+
|
84
|
+
class AXMFormTemplateManagementTemplateEntityService extends AXMEntityCrudServiceImpl {
|
85
|
+
}
|
86
|
+
class AXMFormTemplateManagementTemplateEntityServiceImpl extends AXMFormTemplateManagementTemplateEntityService {
|
87
|
+
constructor() {
|
88
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.template.name}`);
|
89
|
+
}
|
90
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
91
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl }); }
|
92
|
+
}
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl, decorators: [{
|
94
|
+
type: Injectable
|
95
|
+
}], ctorParameters: () => [] });
|
96
|
+
|
97
|
+
class AXMFormTemplateManagementTemplateEntityModule {
|
98
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
99
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule }); }
|
100
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, providers: [
|
101
|
+
{
|
102
|
+
provide: AXMFormTemplateManagementTemplateEntityService,
|
103
|
+
useClass: AXMFormTemplateManagementTemplateEntityServiceImpl,
|
104
|
+
},
|
105
|
+
] }); }
|
106
|
+
}
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, decorators: [{
|
108
|
+
type: NgModule,
|
109
|
+
args: [{
|
110
|
+
imports: [],
|
111
|
+
exports: [],
|
112
|
+
declarations: [],
|
113
|
+
providers: [
|
114
|
+
{
|
115
|
+
provide: AXMFormTemplateManagementTemplateEntityService,
|
116
|
+
useClass: AXMFormTemplateManagementTemplateEntityServiceImpl,
|
117
|
+
},
|
118
|
+
],
|
119
|
+
}]
|
120
|
+
}] });
|
121
|
+
|
122
|
+
const AXMFormTemplateTypes = {
|
123
|
+
Form: { id: 10, title: 'Form Template' },
|
124
|
+
Widget: { id: 20, title: 'Widget Template' },
|
125
|
+
};
|
126
|
+
|
127
|
+
class AXMEntityProvider {
|
128
|
+
constructor() {
|
129
|
+
this.injector = inject(Injector);
|
130
|
+
}
|
131
|
+
preload() {
|
132
|
+
const module = RootConfig.module.name;
|
133
|
+
return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
|
134
|
+
module: module,
|
135
|
+
entity: entity.name,
|
136
|
+
}));
|
137
|
+
}
|
138
|
+
async get(moduleName, entityName) {
|
139
|
+
if (moduleName == RootConfig.module.name) {
|
140
|
+
switch (entityName) {
|
141
|
+
case RootConfig.entities.category.name:
|
142
|
+
return (await import('./acorex-modules-form-template-management-category.entity-B1X2QyYV.mjs')).factory(this.injector);
|
143
|
+
case RootConfig.entities.template.name:
|
144
|
+
return (await import('./acorex-modules-form-template-management-template.entity-DXIhxJeU.mjs')).factory(this.injector);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
return null;
|
148
|
+
}
|
149
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
150
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider }); }
|
151
|
+
}
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider, decorators: [{
|
153
|
+
type: Injectable
|
154
|
+
}] });
|
155
|
+
|
156
|
+
class AXMMenuProvider {
|
157
|
+
constructor() {
|
158
|
+
this.entityService = inject(AXPEntityService);
|
159
|
+
}
|
160
|
+
async provide(context) {
|
161
|
+
const scope = RootConfig.config.i18n;
|
162
|
+
const module = RootConfig.module;
|
163
|
+
context.addItems([
|
164
|
+
{
|
165
|
+
priority: 9001,
|
166
|
+
text: `t('root-menu', {scope:"${scope}"})`,
|
167
|
+
icon: module.icon,
|
168
|
+
children: [
|
169
|
+
{
|
170
|
+
text: `t("categories", {scope: "${scope}"})`,
|
171
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.category.name),
|
172
|
+
icon: RootConfig.entities.category.icon,
|
173
|
+
priority: 1,
|
174
|
+
},
|
175
|
+
{
|
176
|
+
text: `t('templates', {scope:"${scope}"})`,
|
177
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.template.name),
|
178
|
+
icon: RootConfig.entities.template.icon,
|
179
|
+
priority: 2,
|
180
|
+
},
|
181
|
+
],
|
182
|
+
},
|
183
|
+
]);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
class AXMPermissionProvider {
|
188
|
+
async provide(context) {
|
189
|
+
context.addPermissions([
|
190
|
+
{
|
191
|
+
name: 'forms:templates:view',
|
192
|
+
title: 'Permission to view templates',
|
193
|
+
isArchived: false,
|
194
|
+
},
|
195
|
+
]);
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
200
|
+
constructor() {
|
201
|
+
super(...arguments);
|
202
|
+
this.commands = [
|
203
|
+
{
|
204
|
+
group: 'command',
|
205
|
+
title: 'New Form Template',
|
206
|
+
icon: RootConfig.entities.template.icon,
|
207
|
+
description: 'Create a new form template for designing reusable forms.', // Added description
|
208
|
+
commands: {
|
209
|
+
'create-entity': {
|
210
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
|
211
|
+
},
|
212
|
+
},
|
213
|
+
},
|
214
|
+
{
|
215
|
+
group: 'command',
|
216
|
+
title: 'New Form Template Category',
|
217
|
+
icon: RootConfig.entities.category.icon,
|
218
|
+
description: 'Create a new category to organize form templates.', // Added description
|
219
|
+
commands: {
|
220
|
+
'create-entity': {
|
221
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,
|
222
|
+
},
|
223
|
+
},
|
224
|
+
},
|
225
|
+
];
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
class AXPTemplateWidgetProviderImpl {
|
230
|
+
constructor() {
|
231
|
+
this.service = inject(AXMFormTemplateManagementTemplateEntityService);
|
232
|
+
}
|
233
|
+
async items(query) {
|
234
|
+
const result = ((await this.service.query(query)).items).map(c => ({
|
235
|
+
id: c.id,
|
236
|
+
title: c.title,
|
237
|
+
group: {
|
238
|
+
name: c.categoryId,
|
239
|
+
order: 2,
|
240
|
+
title: get(c, 'category.title') ?? 'Custom'
|
241
|
+
},
|
242
|
+
description: c.description
|
243
|
+
}));
|
244
|
+
return result;
|
245
|
+
}
|
246
|
+
async get(id) {
|
247
|
+
const item = await this.service.getOne(id);
|
248
|
+
if (item) {
|
249
|
+
const document = JSON.parse(item.template);
|
250
|
+
const page = document?.children?.[0];
|
251
|
+
return {
|
252
|
+
id: item.id,
|
253
|
+
nodes: page?.children ?? [],
|
254
|
+
title: item.title,
|
255
|
+
};
|
256
|
+
}
|
257
|
+
else {
|
258
|
+
throw Error("Invalid Id");
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
class AXPDesignerConnectorImpl extends AXPDesignerConnector {
|
264
|
+
constructor() {
|
265
|
+
super(...arguments);
|
266
|
+
this.workflow = inject(AXPWorkflowService);
|
267
|
+
this.templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService);
|
268
|
+
this.categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService);
|
269
|
+
}
|
270
|
+
//#region Save and load Widgets
|
271
|
+
async save(id, content) {
|
272
|
+
const item = await this.templateEntityService.getOne(id);
|
273
|
+
if (item) {
|
274
|
+
await this.templateEntityService.updateOne(id, { template: content.json });
|
275
|
+
return true;
|
276
|
+
}
|
277
|
+
else {
|
278
|
+
throw Error("Invalid Id");
|
279
|
+
}
|
280
|
+
}
|
281
|
+
async saveAs(content) {
|
282
|
+
const result = await this.workflow.execute('create-entity', {
|
283
|
+
redirect: false,
|
284
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
|
285
|
+
canCreateNewOne: false,
|
286
|
+
data: {
|
287
|
+
name: AXPDataGenerator.alphanumeric(10),
|
288
|
+
type: AXMFormTemplateTypes.Widget,
|
289
|
+
template: content.json,
|
290
|
+
categoryId: (await this.categoryEntityService.query()).items[0]?.id
|
291
|
+
}
|
292
|
+
});
|
293
|
+
return result.getOutput('result');
|
294
|
+
}
|
295
|
+
async load(id) {
|
296
|
+
const item = await this.templateEntityService.getOne(id);
|
297
|
+
if (item) {
|
298
|
+
return item.template;
|
299
|
+
}
|
300
|
+
else {
|
301
|
+
throw Error("Invalid Id");
|
302
|
+
}
|
303
|
+
}
|
304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl }); }
|
306
|
+
}
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl, decorators: [{
|
308
|
+
type: Injectable
|
309
|
+
}] });
|
310
|
+
|
311
|
+
const AXMCreateFormTemplateWorkflow = {
|
312
|
+
startStepId: 'create-form-template',
|
313
|
+
steps: {
|
314
|
+
"create-form-template": {
|
315
|
+
action: 'start-workflow',
|
316
|
+
input: {
|
317
|
+
workflow: "create-entity",
|
318
|
+
context: {
|
319
|
+
redirect: true,
|
320
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
|
321
|
+
}
|
322
|
+
},
|
323
|
+
nextSteps: [
|
324
|
+
{
|
325
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
326
|
+
nextStepId: 'get-template-confirmaton',
|
327
|
+
},
|
328
|
+
],
|
329
|
+
},
|
330
|
+
"get-template-confirmaton": {
|
331
|
+
action: 'show-prompt-dialog',
|
332
|
+
input: {
|
333
|
+
title: 'Confirm Action',
|
334
|
+
message: `Would you like to proceed with starting template design?`,
|
335
|
+
type: 'primary',
|
336
|
+
},
|
337
|
+
nextSteps: [
|
338
|
+
{
|
339
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
340
|
+
nextStepId: 'template-design',
|
341
|
+
},
|
342
|
+
],
|
343
|
+
},
|
344
|
+
"template-design": {
|
345
|
+
action: 'open-form-template-designer',
|
346
|
+
},
|
347
|
+
},
|
348
|
+
};
|
349
|
+
|
350
|
+
class AXMOpenFormTemplateDesignerAction extends AXPWorkflowAction {
|
351
|
+
constructor() {
|
352
|
+
super(...arguments);
|
353
|
+
this.navigation = inject(AXPWorkflowNavigateAction);
|
354
|
+
}
|
355
|
+
async execute(context) {
|
356
|
+
const { id } = context.getVariable('data');
|
357
|
+
context.setVariable('payload', {
|
358
|
+
commands: `forms/designer?id=${id}`,
|
359
|
+
target: 'blank'
|
360
|
+
});
|
361
|
+
await this.navigation.execute(context);
|
362
|
+
}
|
363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
364
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction }); }
|
365
|
+
}
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction, decorators: [{
|
367
|
+
type: Injectable
|
368
|
+
}] });
|
369
|
+
const AXMDesignFormTemplateWorkflow = {
|
370
|
+
startStepId: 'open-design-designer',
|
371
|
+
steps: {
|
372
|
+
"open-design-designer": {
|
373
|
+
action: 'open-form-template-designer',
|
374
|
+
},
|
375
|
+
},
|
376
|
+
};
|
377
|
+
|
378
|
+
const AXP_TEMPLATE_WIDGET_PROVIDER = new InjectionToken('AXP_TEMPLATE_WIDGET_PROVIDER');
|
379
|
+
class AXPTemplateWidgetProviderService {
|
380
|
+
constructor() {
|
381
|
+
this.popupService = inject(AXPopupService);
|
382
|
+
this.providers = inject(AXP_TEMPLATE_WIDGET_PROVIDER, { optional: true });
|
383
|
+
}
|
384
|
+
async items(query) {
|
385
|
+
if (Array.isArray(this.providers)) {
|
386
|
+
const result = [];
|
387
|
+
for (const provider of this.providers) {
|
388
|
+
const items = await provider.items(query);
|
389
|
+
if (items) {
|
390
|
+
result.push(...items);
|
391
|
+
}
|
392
|
+
}
|
393
|
+
return result;
|
394
|
+
}
|
395
|
+
else {
|
396
|
+
return [];
|
397
|
+
}
|
398
|
+
}
|
399
|
+
async get(id) {
|
400
|
+
if (Array.isArray(this.providers)) {
|
401
|
+
for (const provider of this.providers) {
|
402
|
+
const node = await provider.get(id);
|
403
|
+
if (node) {
|
404
|
+
return node;
|
405
|
+
}
|
406
|
+
}
|
407
|
+
}
|
408
|
+
return null;
|
409
|
+
}
|
410
|
+
async chooseTemplate() {
|
411
|
+
const com = await import('./acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs').then((c) => c.AXPTemplateWidgetPickerComponent);
|
412
|
+
const widgets = await this.items({
|
413
|
+
skip: 0,
|
414
|
+
take: 100,
|
415
|
+
filter: {
|
416
|
+
field: 'type.id',
|
417
|
+
value: 20,
|
418
|
+
operator: {
|
419
|
+
type: 'equal',
|
420
|
+
}
|
421
|
+
}
|
422
|
+
});
|
423
|
+
const result = await this.popupService.open(com, {
|
424
|
+
title: 'Widget Template Gallery',
|
425
|
+
size: 'md',
|
426
|
+
closeButton: true,
|
427
|
+
data: {
|
428
|
+
widgets: sortBy(widgets, (c) => c.title),
|
429
|
+
},
|
430
|
+
});
|
431
|
+
if (result.data) {
|
432
|
+
const selected = result.data?.widgets;
|
433
|
+
return selected[0];
|
434
|
+
}
|
435
|
+
return null;
|
436
|
+
}
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, providedIn: 'root' }); }
|
439
|
+
}
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, decorators: [{
|
441
|
+
type: Injectable,
|
442
|
+
args: [{ providedIn: 'root' }]
|
443
|
+
}] });
|
444
|
+
|
445
|
+
class AXPTemplateWidgetViewComponent extends AXPWidgetComponent {
|
446
|
+
constructor() {
|
447
|
+
super();
|
448
|
+
this.metaKey = '__meta__';
|
449
|
+
this.templateProvider = inject(AXPTemplateWidgetProviderService);
|
450
|
+
this.templateId = computed(() => this.options()['templateId']);
|
451
|
+
this.nodes = signal([]);
|
452
|
+
//
|
453
|
+
effect(async () => {
|
454
|
+
this.nodes.set([]);
|
455
|
+
const value = this.getValue();
|
456
|
+
const templateId = get(value, `${this.metaKey}.templateId`) ?? this.templateId();
|
457
|
+
if (templateId) {
|
458
|
+
const item = await this.templateProvider.get(templateId);
|
459
|
+
if (item) {
|
460
|
+
this.nodes.set(item.nodes);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
});
|
464
|
+
}
|
465
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
466
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPTemplateWidgetViewComponent, isStandalone: true, selector: "axp-template-widget-view", usesInheritance: true, ngImport: i0, template: `
|
467
|
+
@for (node of nodes(); track $index) {
|
468
|
+
<ng-container axp-widget-renderer
|
469
|
+
[node]="node"
|
470
|
+
[parentNode]="this"
|
471
|
+
[mode]="this.mode"
|
472
|
+
>
|
473
|
+
</ng-container>
|
474
|
+
}
|
475
|
+
@empty {
|
476
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
477
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
478
|
+
</span>
|
479
|
+
}
|
480
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i2.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
481
|
+
}
|
482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetViewComponent, decorators: [{
|
483
|
+
type: Component,
|
484
|
+
args: [{
|
485
|
+
selector: 'axp-template-widget-view',
|
486
|
+
template: `
|
487
|
+
@for (node of nodes(); track $index) {
|
488
|
+
<ng-container axp-widget-renderer
|
489
|
+
[node]="node"
|
490
|
+
[parentNode]="this"
|
491
|
+
[mode]="this.mode"
|
492
|
+
>
|
493
|
+
</ng-container>
|
494
|
+
}
|
495
|
+
@empty {
|
496
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
497
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
498
|
+
</span>
|
499
|
+
}
|
500
|
+
`,
|
501
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
502
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule]
|
503
|
+
}]
|
504
|
+
}], ctorParameters: () => [] });
|
505
|
+
|
506
|
+
var templateWidgetView_component = /*#__PURE__*/Object.freeze({
|
507
|
+
__proto__: null,
|
508
|
+
AXPTemplateWidgetViewComponent: AXPTemplateWidgetViewComponent
|
509
|
+
});
|
510
|
+
|
511
|
+
const AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU = {
|
512
|
+
text: 'Choose Template',
|
513
|
+
name: 'choose',
|
514
|
+
icon: 'fa-solid fa-folder-open',
|
515
|
+
};
|
516
|
+
class AXPTemplateWidgetDesignerComponent extends AXPWidgetComponent {
|
517
|
+
constructor() {
|
518
|
+
super();
|
519
|
+
this.templateProvider = inject(AXPTemplateWidgetProviderService);
|
520
|
+
this.designerService = inject(AXPDesignerService);
|
521
|
+
this.templateId = computed(() => this.options()['templateId']);
|
522
|
+
this.nodes = signal([]);
|
523
|
+
this.title = signal(null);
|
524
|
+
//
|
525
|
+
effect(async () => {
|
526
|
+
this.nodes.set([]);
|
527
|
+
if (this.templateId()) {
|
528
|
+
const item = await this.templateProvider.get(this.templateId());
|
529
|
+
if (item && item.nodes?.length > 0) {
|
530
|
+
this.title.set(item.title);
|
531
|
+
this.nodes.set(item.nodes);
|
532
|
+
}
|
533
|
+
}
|
534
|
+
});
|
535
|
+
}
|
536
|
+
// override async ngOnInit() {
|
537
|
+
// super.ngOnInit();
|
538
|
+
// if (!this.templateId()) {
|
539
|
+
// this.handleChooseWidget();
|
540
|
+
// }
|
541
|
+
// }
|
542
|
+
async handleChooseWidget() {
|
543
|
+
const result = await this.templateProvider.chooseTemplate();
|
544
|
+
if (result) {
|
545
|
+
this.designerService.update({
|
546
|
+
mode: 'update',
|
547
|
+
values: { options: { templateId: result.id } },
|
548
|
+
widget: this.node,
|
549
|
+
});
|
550
|
+
}
|
551
|
+
}
|
552
|
+
get __class() {
|
553
|
+
const cls = {};
|
554
|
+
//
|
555
|
+
cls[`ax-w-full`] = true;
|
556
|
+
cls[`ax-widget-outline`] = true;
|
557
|
+
//
|
558
|
+
cls[`ax-block`] = true;
|
559
|
+
return cls;
|
560
|
+
}
|
561
|
+
onContextMenu(context) {
|
562
|
+
const items = [
|
563
|
+
AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU
|
564
|
+
];
|
565
|
+
items[items.length - 1].break = true;
|
566
|
+
context.items.unshift(...items);
|
567
|
+
}
|
568
|
+
async executeCommand(command) {
|
569
|
+
switch (command.name) {
|
570
|
+
case AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU.name:
|
571
|
+
await this.handleChooseWidget();
|
572
|
+
break;
|
573
|
+
}
|
574
|
+
return Promise.resolve();
|
575
|
+
}
|
576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
577
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPTemplateWidgetDesignerComponent, isStandalone: true, selector: "axp-template-widget-designer", host: { properties: { "class": "this.__class" } }, providers: [
|
578
|
+
{
|
579
|
+
provide: AXPTemplateWidgetDesignerComponent,
|
580
|
+
useExisting: AXPWidgetComponent,
|
581
|
+
},
|
582
|
+
], usesInheritance: true, ngImport: i0, template: `
|
583
|
+
@if(nodes().length) {
|
584
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
585
|
+
@for (node of nodes(); track $index) {
|
586
|
+
<ng-container axp-widget-designer-renderer [locked]="true" [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
587
|
+
}
|
588
|
+
<div
|
589
|
+
class="ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]"
|
590
|
+
>
|
591
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
592
|
+
</div>
|
593
|
+
</div>
|
594
|
+
} @else {
|
595
|
+
<axp-designer-add-widget-mini-button
|
596
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
597
|
+
(onClick)="handleChooseWidget()"
|
598
|
+
>
|
599
|
+
</axp-designer-add-widget-mini-button>
|
600
|
+
}
|
601
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "locked", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetMiniButtonComponent, selector: "axp-designer-add-widget-mini-button", outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
602
|
+
}
|
603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetDesignerComponent, decorators: [{
|
604
|
+
type: Component,
|
605
|
+
args: [{
|
606
|
+
selector: 'axp-template-widget-designer',
|
607
|
+
template: `
|
608
|
+
@if(nodes().length) {
|
609
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
610
|
+
@for (node of nodes(); track $index) {
|
611
|
+
<ng-container axp-widget-designer-renderer [locked]="true" [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
612
|
+
}
|
613
|
+
<div
|
614
|
+
class="ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]"
|
615
|
+
>
|
616
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
617
|
+
</div>
|
618
|
+
</div>
|
619
|
+
} @else {
|
620
|
+
<axp-designer-add-widget-mini-button
|
621
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
622
|
+
(onClick)="handleChooseWidget()"
|
623
|
+
>
|
624
|
+
</axp-designer-add-widget-mini-button>
|
625
|
+
}
|
626
|
+
`,
|
627
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
628
|
+
imports: [
|
629
|
+
CommonModule,
|
630
|
+
AXPLayoutBuilderModule,
|
631
|
+
AXPWidgetDesignerRendererDirective,
|
632
|
+
AXPDesignerAddWidgetMiniButtonComponent,
|
633
|
+
],
|
634
|
+
providers: [
|
635
|
+
{
|
636
|
+
provide: AXPTemplateWidgetDesignerComponent,
|
637
|
+
useExisting: AXPWidgetComponent,
|
638
|
+
},
|
639
|
+
]
|
640
|
+
}]
|
641
|
+
}], ctorParameters: () => [], propDecorators: { __class: [{
|
642
|
+
type: HostBinding,
|
643
|
+
args: ['class']
|
644
|
+
}] } });
|
645
|
+
|
646
|
+
var templateWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
647
|
+
__proto__: null,
|
648
|
+
AXPTemplateWidgetDesignerComponent: AXPTemplateWidgetDesignerComponent,
|
649
|
+
AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU: AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU
|
650
|
+
});
|
651
|
+
|
652
|
+
const AXPTemplateWidget = {
|
653
|
+
name: 'template',
|
654
|
+
title: 'Template',
|
655
|
+
type: 'container',
|
656
|
+
icon: 'fa-solid fa-file-invoice',
|
657
|
+
group: AXP_WIDGETS_ADVANCE_GROUP,
|
658
|
+
visible: true,
|
659
|
+
options: {
|
660
|
+
canInsert: false,
|
661
|
+
},
|
662
|
+
properties: [
|
663
|
+
AXP_NAME_PROPERTY,
|
664
|
+
AXP_DATA_PATH_PROPERTY,
|
665
|
+
createStringProperty({
|
666
|
+
name: 'options.templateId',
|
667
|
+
title: 'Template',
|
668
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
669
|
+
visible: false,
|
670
|
+
}),
|
671
|
+
],
|
672
|
+
components: {
|
673
|
+
view: {
|
674
|
+
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
675
|
+
},
|
676
|
+
edit: {
|
677
|
+
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component-CyZLM6M9.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
678
|
+
},
|
679
|
+
print: {
|
680
|
+
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
681
|
+
},
|
682
|
+
designer: {
|
683
|
+
component: () => Promise.resolve().then(function () { return templateWidgetDesigner_component; }).then((c) => c.AXPTemplateWidgetDesignerComponent),
|
684
|
+
},
|
685
|
+
},
|
686
|
+
};
|
687
|
+
|
688
|
+
class AXPTemplateDesignerWidgetViewComponent extends AXPWidgetComponent {
|
689
|
+
constructor() {
|
690
|
+
super(...arguments);
|
691
|
+
this.workflow = inject(AXPWorkflowService);
|
692
|
+
}
|
693
|
+
async handleClick() {
|
694
|
+
await this.workflow.execute('design-form-template', { data: { id: this.extractValue('id') } });
|
695
|
+
}
|
696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateDesignerWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
697
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPTemplateDesignerWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
698
|
+
<span
|
699
|
+
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
700
|
+
(click)="handleClick()"
|
701
|
+
>
|
702
|
+
{{ 't("edit-template",{ scope:"form-template-management" })' | translate | async }}
|
703
|
+
</span>
|
704
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
705
|
+
}
|
706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateDesignerWidgetViewComponent, decorators: [{
|
707
|
+
type: Component,
|
708
|
+
args: [{
|
709
|
+
template: `
|
710
|
+
<span
|
711
|
+
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
712
|
+
(click)="handleClick()"
|
713
|
+
>
|
714
|
+
{{ 't("edit-template",{ scope:"form-template-management" })' | translate | async }}
|
715
|
+
</span>
|
716
|
+
`,
|
717
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
718
|
+
imports: [CommonModule, AXButtonModule, AXTranslationModule]
|
719
|
+
}]
|
720
|
+
}] });
|
721
|
+
|
722
|
+
var templateDesignerWidgetView_component = /*#__PURE__*/Object.freeze({
|
723
|
+
__proto__: null,
|
724
|
+
AXPTemplateDesignerWidgetViewComponent: AXPTemplateDesignerWidgetViewComponent
|
725
|
+
});
|
726
|
+
|
727
|
+
const AXPTemplateDesignerWidget = {
|
728
|
+
name: "template-designer",
|
729
|
+
title: "Template Designer",
|
730
|
+
icon: "fa-solid fa-square",
|
731
|
+
type: 'editor',
|
732
|
+
group: AXP_WIDGETS_LAYOUT_GROUP,
|
733
|
+
visible: false,
|
734
|
+
properties: [
|
735
|
+
AXP_NAME_PROPERTY,
|
736
|
+
AXP_DATA_PATH_PROPERTY,
|
737
|
+
],
|
738
|
+
components: {
|
739
|
+
view: {
|
740
|
+
component: () => Promise.resolve().then(function () { return templateDesignerWidgetView_component; }).then((c) => c.AXPTemplateDesignerWidgetViewComponent),
|
741
|
+
},
|
742
|
+
edit: {
|
743
|
+
component: () => Promise.resolve().then(function () { return templateDesignerWidgetView_component; }).then((c) => c.AXPTemplateDesignerWidgetViewComponent),
|
744
|
+
}
|
745
|
+
}
|
746
|
+
};
|
747
|
+
|
748
|
+
function routesFacory() {
|
749
|
+
const routes = [
|
750
|
+
{
|
751
|
+
path: 'forms',
|
752
|
+
children: [
|
753
|
+
{
|
754
|
+
path: 'designer',
|
755
|
+
loadComponent: () => import('./acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs').then((c) => c.AXMFormTemplateManagementModuleDesignerPage),
|
756
|
+
},
|
757
|
+
{
|
758
|
+
path: 'preview',
|
759
|
+
loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),
|
760
|
+
},
|
761
|
+
{
|
762
|
+
path: 'viewer',
|
763
|
+
loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),
|
764
|
+
},
|
765
|
+
],
|
766
|
+
},
|
767
|
+
];
|
768
|
+
return routes;
|
769
|
+
}
|
770
|
+
class AXMFormTemplateManagementModule {
|
771
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
772
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, imports: [AXPWidgetsModule,
|
773
|
+
AXMFormTemplateManagementCategoryEntityModule,
|
774
|
+
AXMFormTemplateManagementTemplateEntityModule, i2.AXPLayoutBuilderModule, i2$1.AXPWorkflowModule] }); }
|
775
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, providers: [
|
776
|
+
{
|
777
|
+
provide: ROUTES,
|
778
|
+
multi: true,
|
779
|
+
useFactory: routesFacory,
|
780
|
+
},
|
781
|
+
{
|
782
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
783
|
+
useClass: AXMEntityProvider,
|
784
|
+
multi: true,
|
785
|
+
},
|
786
|
+
{
|
787
|
+
provide: AXP_MENU_PROVIDER,
|
788
|
+
useClass: AXMMenuProvider,
|
789
|
+
multi: true,
|
790
|
+
},
|
791
|
+
{
|
792
|
+
provide: AXPDesignerConnector,
|
793
|
+
useClass: AXPDesignerConnectorImpl,
|
794
|
+
},
|
795
|
+
{
|
796
|
+
provide: AXP_TEMPLATE_WIDGET_PROVIDER,
|
797
|
+
useClass: AXPTemplateWidgetProviderImpl,
|
798
|
+
multi: true,
|
799
|
+
},
|
800
|
+
{
|
801
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
802
|
+
useFactory: async () => {
|
803
|
+
const provider = (await import('./acorex-modules-form-template-management-setting.provider-D-HyCbH7.mjs')).AXMSettingProvider;
|
804
|
+
return new provider();
|
805
|
+
},
|
806
|
+
multi: true,
|
807
|
+
},
|
808
|
+
{
|
809
|
+
provide: AXP_SEARCH_PROVIDER,
|
810
|
+
useClass: AXMSearchCommandProvider,
|
811
|
+
multi: true,
|
812
|
+
},
|
813
|
+
{
|
814
|
+
provide: AXP_PERMISSION_PROVIDER,
|
815
|
+
useClass: AXMPermissionProvider,
|
816
|
+
multi: true,
|
817
|
+
},
|
818
|
+
], imports: [AXPWidgetsModule,
|
819
|
+
AXMFormTemplateManagementCategoryEntityModule,
|
820
|
+
AXMFormTemplateManagementTemplateEntityModule,
|
821
|
+
AXPLayoutBuilderModule.forChild({
|
822
|
+
widgets: [AXPTemplateDesignerWidget, AXPTemplateWidget],
|
823
|
+
}),
|
824
|
+
AXPWorkflowModule.forChild({
|
825
|
+
actions: {
|
826
|
+
'open-form-template-designer': AXMOpenFormTemplateDesignerAction,
|
827
|
+
},
|
828
|
+
workflows: {
|
829
|
+
'create-form-template': AXMCreateFormTemplateWorkflow,
|
830
|
+
'design-form-template': AXMDesignFormTemplateWorkflow,
|
831
|
+
},
|
832
|
+
})] }); }
|
833
|
+
}
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, decorators: [{
|
835
|
+
type: NgModule,
|
836
|
+
args: [{
|
837
|
+
imports: [
|
838
|
+
AXPWidgetsModule,
|
839
|
+
AXMFormTemplateManagementCategoryEntityModule,
|
840
|
+
AXMFormTemplateManagementTemplateEntityModule,
|
841
|
+
AXPLayoutBuilderModule.forChild({
|
842
|
+
widgets: [AXPTemplateDesignerWidget, AXPTemplateWidget],
|
843
|
+
}),
|
844
|
+
AXPWorkflowModule.forChild({
|
845
|
+
actions: {
|
846
|
+
'open-form-template-designer': AXMOpenFormTemplateDesignerAction,
|
847
|
+
},
|
848
|
+
workflows: {
|
849
|
+
'create-form-template': AXMCreateFormTemplateWorkflow,
|
850
|
+
'design-form-template': AXMDesignFormTemplateWorkflow,
|
851
|
+
},
|
852
|
+
}),
|
853
|
+
],
|
854
|
+
exports: [],
|
855
|
+
declarations: [],
|
856
|
+
providers: [
|
857
|
+
{
|
858
|
+
provide: ROUTES,
|
859
|
+
multi: true,
|
860
|
+
useFactory: routesFacory,
|
861
|
+
},
|
862
|
+
{
|
863
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
864
|
+
useClass: AXMEntityProvider,
|
865
|
+
multi: true,
|
866
|
+
},
|
867
|
+
{
|
868
|
+
provide: AXP_MENU_PROVIDER,
|
869
|
+
useClass: AXMMenuProvider,
|
870
|
+
multi: true,
|
871
|
+
},
|
872
|
+
{
|
873
|
+
provide: AXPDesignerConnector,
|
874
|
+
useClass: AXPDesignerConnectorImpl,
|
875
|
+
},
|
876
|
+
{
|
877
|
+
provide: AXP_TEMPLATE_WIDGET_PROVIDER,
|
878
|
+
useClass: AXPTemplateWidgetProviderImpl,
|
879
|
+
multi: true,
|
880
|
+
},
|
881
|
+
{
|
882
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
883
|
+
useFactory: async () => {
|
884
|
+
const provider = (await import('./acorex-modules-form-template-management-setting.provider-D-HyCbH7.mjs')).AXMSettingProvider;
|
885
|
+
return new provider();
|
886
|
+
},
|
887
|
+
multi: true,
|
888
|
+
},
|
889
|
+
{
|
890
|
+
provide: AXP_SEARCH_PROVIDER,
|
891
|
+
useClass: AXMSearchCommandProvider,
|
892
|
+
multi: true,
|
893
|
+
},
|
894
|
+
{
|
895
|
+
provide: AXP_PERMISSION_PROVIDER,
|
896
|
+
useClass: AXMPermissionProvider,
|
897
|
+
multi: true,
|
898
|
+
},
|
899
|
+
],
|
900
|
+
}]
|
901
|
+
}] });
|
902
|
+
|
903
|
+
/**
|
904
|
+
* Generated bundle index. Do not edit.
|
905
|
+
*/
|
906
|
+
|
907
|
+
export { AXMFormTemplateManagementCategoryEntityService as A, RootConfig as R, AXMFormTemplateManagementTemplateEntityService as a, AXMFormTemplateTypes as b, AXPTemplateWidgetProviderService as c, AXMFormTemplateManagementModule as d, AXMFormTemplateManagementCategoryEntityModule as e, AXMFormTemplateManagementCategoryEntityServiceImpl as f, AXMFormTemplateManagementTemplateEntityModule as g, AXMFormTemplateManagementTemplateEntityServiceImpl as h };
|
908
|
+
//# sourceMappingURL=acorex-modules-form-template-management-acorex-modules-form-template-management-DGGKoVbL.mjs.map
|