@acorex/modules 18.2.3 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/lib/account/app-chooser/app-chooser-slot.component.d.ts +1 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-B6WPz0N8.mjs → acorex-modules-application-management-module-designer.component-1pXIvIeG.mjs} +9 -23
- package/fesm2022/acorex-modules-application-management-module-designer.component-1pXIvIeG.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +46 -50
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-utPX4yb_.mjs → acorex-modules-auth-acorex-modules-auth-CtWwcZOU.mjs} +49 -56
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CtWwcZOU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-TeYGIm6k.mjs → acorex-modules-auth-app-chooser.component-BK4Hs5OP.mjs} +7 -13
- package/fesm2022/acorex-modules-auth-app-chooser.component-BK4Hs5OP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-blank.layout-Bq822Iz4.mjs → acorex-modules-auth-blank.layout-B1a0710P.mjs} +5 -5
- package/fesm2022/acorex-modules-auth-blank.layout-B1a0710P.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-CJwYNVRQ.mjs → acorex-modules-auth-login.module-Cvr3l9wl.mjs} +8 -24
- package/fesm2022/acorex-modules-auth-login.module-Cvr3l9wl.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-master.layout-4jTF1Xhx.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-4jTF1Xhx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-DZb3bTWc.mjs → acorex-modules-auth-password.component-C5soTmv9.mjs} +8 -16
- package/fesm2022/acorex-modules-auth-password.component-C5soTmv9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-DWnYxb-x.mjs → acorex-modules-auth-password.component-DeCK_glZ.mjs} +6 -19
- package/fesm2022/acorex-modules-auth-password.component-DeCK_glZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-CP1BJb5A.mjs → acorex-modules-auth-routes-DqgtVe9G.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CP1BJb5A.mjs.map → acorex-modules-auth-routes-DqgtVe9G.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs → acorex-modules-auth-tenant-chooser.component-CorZ4Z7h.mjs} +6 -6
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CorZ4Z7h.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs → acorex-modules-auth-two-factor-code.component-BEsTVMeC.mjs} +6 -6
- package/fesm2022/acorex-modules-auth-two-factor-code.component-BEsTVMeC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-JsnQJZvC.mjs → acorex-modules-auth-two-factor.module-C99NYq3o.mjs} +7 -23
- package/fesm2022/acorex-modules-auth-two-factor.module-C99NYq3o.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -19
- package/fesm2022/acorex-modules-auth.mjs.map +1 -1
- package/fesm2022/acorex-modules-backend.mjs +36 -35
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +50 -51
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-xUkZHVgy.mjs +195 -0
- package/fesm2022/acorex-modules-form-template-management-category.entity-xUkZHVgy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs → acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs} +8 -5
- package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-D_FkgF0W.mjs +123 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-D_FkgF0W.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-Bgx5YRBc.mjs +111 -0
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-Bgx5YRBc.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management-template.entity-CGhbmYel.mjs +470 -0
- package/fesm2022/acorex-modules-form-template-management-template.entity-CGhbmYel.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +422 -754
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-localization-management.mjs +43 -45
- package/fesm2022/acorex-modules-localization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +37 -38
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +80 -87
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +36 -25
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +25 -25
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/form-template-management/index.d.ts +4 -0
- package/form-template-management/lib/components/widgets/template/index.d.ts +4 -0
- package/form-template-management/lib/components/widgets/template/template-picker/template-picker.component.d.ts +30 -0
- package/form-template-management/lib/components/widgets/template/template-widget-designer.component.d.ts +25 -0
- package/form-template-management/lib/components/widgets/template/template-widget-edit.component.d.ts +13 -0
- package/form-template-management/lib/components/widgets/template/template-widget-view.component.d.ts +11 -0
- package/form-template-management/lib/components/widgets/template/template-widget.config.d.ts +5 -0
- package/form-template-management/lib/components/widgets/template/template.provider.d.ts +30 -0
- package/form-template-management/lib/entities/category/category.types.d.ts +0 -1
- package/form-template-management/lib/entities/category/index.d.ts +0 -1
- package/form-template-management/lib/entities/template/index.d.ts +0 -1
- package/form-template-management/lib/entities/template/template.types.d.ts +11 -0
- package/form-template-management/lib/form-template-management.module.d.ts +6 -7
- package/form-template-management/lib/pages/designer/designer.page.d.ts +1 -0
- package/form-template-management/lib/services/designer-connector.service.d.ts +8 -3
- package/form-template-management/lib/services/template.provider.d.ts +3 -4
- package/package.json +5 -33
- package/platform-management/lib/common/{entity.loader.d.ts → entity.provider.d.ts} +3 -3
- package/platform-management/lib/common/index.d.ts +1 -2
- package/scheduler-job-management/index.d.ts +1 -0
- package/esm2022/acorex-modules.mjs +0 -5
- package/esm2022/application-management/acorex-modules-application-management.mjs +0 -5
- package/esm2022/application-management/index.mjs +0 -14
- package/esm2022/application-management/lib/application-management-mock-data.mjs +0 -109
- package/esm2022/application-management/lib/application-management.module.mjs +0 -117
- package/esm2022/application-management/lib/application-management.route.mjs +0 -29
- package/esm2022/application-management/lib/application-management.service.mjs +0 -66
- package/esm2022/application-management/lib/application-management.source.mjs +0 -9
- package/esm2022/application-management/lib/application-management.types.mjs +0 -2
- package/esm2022/application-management/lib/const.mjs +0 -6
- package/esm2022/application-management/lib/entities/application-module.entity.mjs +0 -270
- package/esm2022/application-management/lib/entities/applications.entity.mjs +0 -311
- package/esm2022/application-management/lib/entities/edition.entity.mjs +0 -281
- package/esm2022/application-management/lib/entities/entity.entity.mjs +0 -295
- package/esm2022/application-management/lib/entities/feature.entity.mjs +0 -281
- package/esm2022/application-management/lib/entities/modules.entity.mjs +0 -321
- package/esm2022/application-management/lib/entities/permission.entity.mjs +0 -281
- package/esm2022/application-management/lib/entities/property.entity.mjs +0 -447
- package/esm2022/application-management/lib/entity.loader.mjs +0 -46
- package/esm2022/application-management/lib/layouts/index.mjs +0 -2
- package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +0 -84
- package/esm2022/application-management/lib/menu.provider.mjs +0 -28
- package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +0 -150
- package/esm2022/application-management/lib/module-designer/module-designer.service.mjs +0 -3
- package/esm2022/application-management/lib/module-designer/module-designer.type.mjs +0 -2
- package/esm2022/application-management/lib/services/application-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/application-module-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/context-menu.service.mjs +0 -166
- package/esm2022/application-management/lib/services/edition-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/entity-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/feature-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/module-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/permission-management.service.mjs +0 -17
- package/esm2022/application-management/lib/services/property-management.service.mjs +0 -17
- package/esm2022/application-management/lib/workflows/create-module-entity.workflow.mjs +0 -66
- package/esm2022/application-management/lib/workflows/index.mjs +0 -3
- package/esm2022/application-management/lib/workflows/show-module-entity-details.workflow.mjs +0 -9
- package/esm2022/auth/acorex-modules-auth.mjs +0 -5
- package/esm2022/auth/index.mjs +0 -5
- package/esm2022/auth/lib/account/account.module.mjs +0 -110
- package/esm2022/auth/lib/account/app-chooser/app-chooser-list.component.mjs +0 -31
- package/esm2022/auth/lib/account/app-chooser/app-chooser-slot.component.mjs +0 -42
- package/esm2022/auth/lib/account/app-chooser/app-chooser.component.mjs +0 -62
- package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +0 -108
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser-dropdown.component.mjs +0 -26
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser.component.mjs +0 -80
- package/esm2022/auth/lib/auth.config.mjs +0 -23
- package/esm2022/auth/lib/auth.module.mjs +0 -51
- package/esm2022/auth/lib/auth.routes.mjs +0 -39
- package/esm2022/auth/lib/error-handler.mjs +0 -47
- package/esm2022/auth/lib/forgot/password/password.component.mjs +0 -56
- package/esm2022/auth/lib/forgot/routes.mjs +0 -7
- package/esm2022/auth/lib/login/login.module.mjs +0 -52
- package/esm2022/auth/lib/login/password/password.component.mjs +0 -118
- package/esm2022/auth/lib/menu.provider.mjs +0 -41
- package/esm2022/auth/lib/shared/layouts/blank/blank.layout.mjs +0 -15
- package/esm2022/auth/lib/shared/layouts/master/master.layout.mjs +0 -20
- package/esm2022/auth/lib/shared/services/idle.service.mjs +0 -42
- package/esm2022/auth/lib/shared/services/index.mjs +0 -2
- package/esm2022/auth/lib/store/auth.effects.mjs +0 -90
- package/esm2022/auth/lib/store/index.mjs +0 -3
- package/esm2022/auth/lib/two-factor/two-factor-code/two-factor-code.component.mjs +0 -37
- package/esm2022/auth/lib/two-factor/two-factor.module.mjs +0 -42
- package/esm2022/backend/acorex-modules-backend.mjs +0 -5
- package/esm2022/backend/index.mjs +0 -5
- package/esm2022/backend/lib/auth/oidc/application.loader.mjs +0 -54
- package/esm2022/backend/lib/auth/oidc/configuration.service.mjs +0 -52
- package/esm2022/backend/lib/auth/oidc/feature.loader.mjs +0 -21
- package/esm2022/backend/lib/auth/oidc/index.mjs +0 -7
- package/esm2022/backend/lib/auth/oidc/oidc.strategy.mjs +0 -217
- package/esm2022/backend/lib/auth/oidc/permission.loader.mjs +0 -34
- package/esm2022/backend/lib/auth/oidc/signincallback.component.mjs +0 -43
- package/esm2022/backend/lib/auth/oidc/tenant.loader.mjs +0 -34
- package/esm2022/backend/lib/backend.configs.mjs +0 -2
- package/esm2022/backend/lib/backend.module.mjs +0 -130
- package/esm2022/backend/lib/data/api/comment.service.mjs +0 -46
- package/esm2022/backend/lib/data/api/data-provider.mjs +0 -165
- package/esm2022/backend/lib/data/api/file.service.mjs +0 -101
- package/esm2022/backend/lib/data/api/module-designer.service.mjs +0 -95
- package/esm2022/backend/lib/data/index.mjs +0 -5
- package/esm2022/conversation/acorex-modules-conversation.mjs +0 -5
- package/esm2022/conversation/index.mjs +0 -17
- package/esm2022/conversation/lib/const.mjs +0 -8
- package/esm2022/conversation/lib/conversation.module.mjs +0 -17
- package/esm2022/conversation/lib/entities/chat/chat.module.mjs +0 -141
- package/esm2022/conversation/lib/entities/chat/chat.service.mjs +0 -23
- package/esm2022/conversation/lib/entities/chat/chat.type.mjs +0 -2
- package/esm2022/conversation/lib/entities/chat/components/chat-item/chat-item.component.mjs +0 -53
- package/esm2022/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.mjs +0 -13
- package/esm2022/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.mjs +0 -28
- package/esm2022/conversation/lib/entities/chat/components/chat-preview/chat-preview.component.mjs +0 -124
- package/esm2022/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.mjs +0 -22
- package/esm2022/conversation/lib/entities/chat/pages/chat/chat.component.mjs +0 -80
- package/esm2022/conversation/lib/entities/comments/comment.module.mjs +0 -100
- package/esm2022/conversation/lib/entities/comments/comments.service.mjs +0 -21
- package/esm2022/conversation/lib/entities/comments/comments.type.mjs +0 -2
- package/esm2022/conversation/lib/entities/comments/pages/comment-list-view.component.mjs +0 -392
- package/esm2022/conversation/lib/entities/comments/pages/comment-lookup-popup.component.mjs +0 -56
- package/esm2022/form-template-management/acorex-modules-form-template-management.mjs +0 -5
- package/esm2022/form-template-management/index.mjs +0 -2
- package/esm2022/form-template-management/lib/components/widgets/template-designer/index.mjs +0 -3
- package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget-view.component.mjs +0 -44
- package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget.config.mjs +0 -23
- package/esm2022/form-template-management/lib/const.mjs +0 -8
- package/esm2022/form-template-management/lib/entities/category/category.entity.mjs +0 -241
- package/esm2022/form-template-management/lib/entities/category/category.module.mjs +0 -28
- package/esm2022/form-template-management/lib/entities/category/category.service.mjs +0 -17
- package/esm2022/form-template-management/lib/entities/category/category.types.mjs +0 -2
- package/esm2022/form-template-management/lib/entities/category/index.mjs +0 -5
- package/esm2022/form-template-management/lib/entities/template/index.mjs +0 -5
- package/esm2022/form-template-management/lib/entities/template/template.entity.mjs +0 -434
- package/esm2022/form-template-management/lib/entities/template/template.module.mjs +0 -28
- package/esm2022/form-template-management/lib/entities/template/template.service.mjs +0 -17
- package/esm2022/form-template-management/lib/entities/template/template.types.mjs +0 -2
- package/esm2022/form-template-management/lib/entity.provider.mjs +0 -25
- package/esm2022/form-template-management/lib/form-template-management.module.mjs +0 -133
- package/esm2022/form-template-management/lib/menu.provider.mjs +0 -32
- package/esm2022/form-template-management/lib/pages/designer/designer.page.mjs +0 -29
- package/esm2022/form-template-management/lib/services/designer-connector.service.mjs +0 -33
- package/esm2022/form-template-management/lib/services/template.provider.mjs +0 -31
- package/esm2022/form-template-management/lib/workflows/create-template.workflow.mjs +0 -40
- package/esm2022/form-template-management/lib/workflows/design-template.workflow.mjs +0 -32
- package/esm2022/index.mjs +0 -2
- package/esm2022/localization-management/acorex-modules-localization-management.mjs +0 -5
- package/esm2022/localization-management/index.mjs +0 -8
- package/esm2022/localization-management/lib/const.mjs +0 -9
- package/esm2022/localization-management/lib/culture/culture.entity.mjs +0 -239
- package/esm2022/localization-management/lib/culture/culture.service.mjs +0 -17
- package/esm2022/localization-management/lib/culture/culture.types.mjs +0 -2
- package/esm2022/localization-management/lib/culture/index.mjs +0 -4
- package/esm2022/localization-management/lib/entity.loader.mjs +0 -36
- package/esm2022/localization-management/lib/language/index.mjs +0 -4
- package/esm2022/localization-management/lib/language/language-slot/language-slot.component.mjs +0 -30
- package/esm2022/localization-management/lib/language/language.entity.mjs +0 -239
- package/esm2022/localization-management/lib/language/language.service.mjs +0 -17
- package/esm2022/localization-management/lib/language/language.types.mjs +0 -2
- package/esm2022/localization-management/lib/localization-management.module.mjs +0 -99
- package/esm2022/localization-management/lib/localization-management.source.mjs +0 -4
- package/esm2022/localization-management/lib/localization-store.service.mjs +0 -34
- package/esm2022/localization-management/lib/menu.provider.mjs +0 -44
- package/esm2022/localization-management/lib/time-zone/index.mjs +0 -4
- package/esm2022/localization-management/lib/time-zone/time-zone.entity.mjs +0 -256
- package/esm2022/localization-management/lib/time-zone/time-zone.service.mjs +0 -17
- package/esm2022/localization-management/lib/time-zone/time-zone.types.mjs +0 -2
- package/esm2022/notification-management/acorex-modules-notification-management.mjs +0 -5
- package/esm2022/notification-management/index.mjs +0 -9
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +0 -39
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.mjs +0 -155
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +0 -36
- package/esm2022/notification-management/lib/const.mjs +0 -9
- package/esm2022/notification-management/lib/entities/my-notification.mjs +0 -236
- package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +0 -344
- package/esm2022/notification-management/lib/entities/notification-log.entity.mjs +0 -180
- package/esm2022/notification-management/lib/entities/notification-template.entity.mjs +0 -298
- package/esm2022/notification-management/lib/entities/notification.entity.mjs +0 -207
- package/esm2022/notification-management/lib/entity.loader.mjs +0 -41
- package/esm2022/notification-management/lib/menu.provider.mjs +0 -54
- package/esm2022/notification-management/lib/notification-management-mock-data.mjs +0 -55
- package/esm2022/notification-management/lib/notification-management.module.mjs +0 -61
- package/esm2022/notification-management/lib/notification-management.service.mjs +0 -39
- package/esm2022/notification-management/lib/notification-management.type.mjs +0 -2
- package/esm2022/notification-management/lib/notification.service.mjs +0 -3
- package/esm2022/platform-management/acorex-modules-platform-management.mjs +0 -5
- package/esm2022/platform-management/index.mjs +0 -4
- package/esm2022/platform-management/lib/common/common.module.mjs +0 -65
- package/esm2022/platform-management/lib/common/common.source.mjs +0 -5
- package/esm2022/platform-management/lib/common/country/country-datasource.provider.mjs +0 -27
- package/esm2022/platform-management/lib/common/country/country.entity.mjs +0 -696
- package/esm2022/platform-management/lib/common/country/country.service.mjs +0 -17
- package/esm2022/platform-management/lib/common/country/country.types.mjs +0 -2
- package/esm2022/platform-management/lib/common/country/index.mjs +0 -4
- package/esm2022/platform-management/lib/common/currency/currency.entity.mjs +0 -283
- package/esm2022/platform-management/lib/common/currency/currency.service.mjs +0 -17
- package/esm2022/platform-management/lib/common/currency/currency.types.mjs +0 -2
- package/esm2022/platform-management/lib/common/currency/index.mjs +0 -4
- package/esm2022/platform-management/lib/common/entity.loader.mjs +0 -36
- package/esm2022/platform-management/lib/common/index.mjs +0 -5
- package/esm2022/platform-management/lib/common/province/index.mjs +0 -4
- package/esm2022/platform-management/lib/common/province/province.entity.mjs +0 -307
- package/esm2022/platform-management/lib/common/province/province.service.mjs +0 -17
- package/esm2022/platform-management/lib/common/province/province.types.mjs +0 -2
- package/esm2022/platform-management/lib/const.mjs +0 -12
- package/esm2022/platform-management/lib/global-variables/entities/global-variable.entity.mjs +0 -346
- package/esm2022/platform-management/lib/global-variables/entity.loader.mjs +0 -23
- package/esm2022/platform-management/lib/global-variables/global-variables.service.mjs +0 -16
- package/esm2022/platform-management/lib/global-variables/global-variables.types.mjs +0 -2
- package/esm2022/platform-management/lib/global-variables/index.mjs +0 -5
- package/esm2022/platform-management/lib/menu.provider.mjs +0 -74
- package/esm2022/platform-management/lib/platform-management.module.mjs +0 -61
- package/esm2022/scheduler-job-management/acorex-modules-scheduler-job-management.mjs +0 -5
- package/esm2022/scheduler-job-management/index.mjs +0 -5
- package/esm2022/scheduler-job-management/lib/const.mjs +0 -8
- package/esm2022/scheduler-job-management/lib/entities/index.mjs +0 -2
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/index.mjs +0 -5
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.entity.mjs +0 -333
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.module.mjs +0 -28
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.mjs +0 -17
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.mjs +0 -2
- package/esm2022/scheduler-job-management/lib/entity.provider.mjs +0 -25
- package/esm2022/scheduler-job-management/lib/menu.provider.mjs +0 -31
- package/esm2022/scheduler-job-management/lib/scheduler-job-management.module.mjs +0 -44
- package/esm2022/setting-management/acorex-modules-setting-management.mjs +0 -5
- package/esm2022/setting-management/index.mjs +0 -5
- package/esm2022/setting-management/lib/const.mjs +0 -7
- package/esm2022/setting-management/lib/entities/index.mjs +0 -2
- package/esm2022/setting-management/lib/entities/setting/index.mjs +0 -5
- package/esm2022/setting-management/lib/entities/setting/setting.entity.mjs +0 -244
- package/esm2022/setting-management/lib/entities/setting/setting.module.mjs +0 -28
- package/esm2022/setting-management/lib/entities/setting/setting.service.mjs +0 -17
- package/esm2022/setting-management/lib/entities/setting/setting.types.mjs +0 -2
- package/esm2022/setting-management/lib/entity.provider.mjs +0 -25
- package/esm2022/setting-management/lib/menu.provider.mjs +0 -32
- package/esm2022/setting-management/lib/setting-management.module.mjs +0 -44
- package/esm2022/text-template-management/acorex-modules-text-template-management.mjs +0 -5
- package/esm2022/text-template-management/index.mjs +0 -6
- package/esm2022/text-template-management/lib/const.mjs +0 -8
- package/esm2022/text-template-management/lib/entities/category/category.entity.mjs +0 -262
- package/esm2022/text-template-management/lib/entities/category/category.module.mjs +0 -28
- package/esm2022/text-template-management/lib/entities/category/category.service.mjs +0 -17
- package/esm2022/text-template-management/lib/entities/category/category.types.mjs +0 -2
- package/esm2022/text-template-management/lib/entities/category/index.mjs +0 -5
- package/esm2022/text-template-management/lib/entities/index.mjs +0 -3
- package/esm2022/text-template-management/lib/entities/template/index.mjs +0 -5
- package/esm2022/text-template-management/lib/entities/template/template.entity.mjs +0 -405
- package/esm2022/text-template-management/lib/entities/template/template.module.mjs +0 -28
- package/esm2022/text-template-management/lib/entities/template/template.service.mjs +0 -17
- package/esm2022/text-template-management/lib/entities/template/template.types.mjs +0 -2
- package/esm2022/text-template-management/lib/entity.provider.mjs +0 -29
- package/esm2022/text-template-management/lib/menu.provider.mjs +0 -37
- package/esm2022/text-template-management/lib/setting.provider.mjs +0 -308
- package/esm2022/text-template-management/lib/text-template-management.module.mjs +0 -56
- package/fesm2022/acorex-modules-application-management-module-designer.component-B6WPz0N8.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-utPX4yb_.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-TeYGIm6k.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-blank.layout-Bq822Iz4.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-login.module-CJwYNVRQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-CTC5upRa.mjs +0 -38
- package/fesm2022/acorex-modules-auth-master.layout-CTC5upRa.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-DWnYxb-x.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-DZb3bTWc.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-two-factor.module-JsnQJZvC.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs.map +0 -1
- package/fesm2022/acorex-modules-setting-management.mjs +0 -393
- package/fesm2022/acorex-modules-setting-management.mjs.map +0 -1
- package/platform-management/lib/common/common.source.d.ts +0 -4
- package/setting-management/README.md +0 -3
- package/setting-management/index.d.ts +0 -4
- package/setting-management/lib/const.d.ts +0 -6
- package/setting-management/lib/entities/index.d.ts +0 -1
- package/setting-management/lib/entities/setting/index.d.ts +0 -4
- package/setting-management/lib/entities/setting/setting.entity.d.ts +0 -3
- package/setting-management/lib/entities/setting/setting.module.d.ts +0 -6
- package/setting-management/lib/entities/setting/setting.service.d.ts +0 -10
- package/setting-management/lib/entities/setting/setting.types.d.ts +0 -5
- package/setting-management/lib/entity.provider.d.ts +0 -9
- package/setting-management/lib/menu.provider.d.ts +0 -5
- package/setting-management/lib/setting-management.module.d.ts +0 -7
@@ -1,20 +1,21 @@
|
|
1
|
-
import { AXMEntityCrudServiceImpl,
|
1
|
+
import { AXMEntityCrudServiceImpl, AXPDataGenerator, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
2
2
|
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
3
|
-
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY,
|
3
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXPWidgetsModule } from '@acorex/platform/widgets';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, NgModule, inject, Injector, ChangeDetectionStrategy,
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import { AXPWidgetsCatalog, AXPWidgetComponent, AXP_WIDGETS_LAYOUT_GROUP, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
5
|
+
import { Injectable, NgModule, inject, Injector, Component, ChangeDetectionStrategy, InjectionToken, computed, signal, effect, HostBinding } from '@angular/core';
|
6
|
+
import { ROUTES } from '@angular/router';
|
7
|
+
import * as i2 from '@acorex/platform/layout/builder';
|
8
|
+
import { AXPWidgetComponent, AXP_WIDGETS_LAYOUT_GROUP, AXPLayoutBuilderModule, AXPContainerWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, createStringProperty } from '@acorex/platform/layout/builder';
|
10
9
|
import { AXButtonModule } from '@acorex/components/button';
|
11
|
-
import * as
|
10
|
+
import * as i3 from '@acorex/core/translation';
|
12
11
|
import { AXTranslationModule } from '@acorex/core/translation';
|
13
|
-
import * as
|
12
|
+
import * as i2$1 from '@acorex/platform/workflow';
|
14
13
|
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
15
14
|
import * as i1 from '@angular/common';
|
16
15
|
import { CommonModule } from '@angular/common';
|
17
|
-
import { AXPDesignerConnector } from '@acorex/platform/layout/designer';
|
16
|
+
import { AXPDesignerConnector, AXPDesignerService, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent } from '@acorex/platform/layout/designer';
|
17
|
+
import { sortBy, get } from 'lodash-es';
|
18
|
+
import { AXPopupService } from '@acorex/components/popup';
|
18
19
|
|
19
20
|
const AXMFormTemplateManagementModuleConst = {
|
20
21
|
moduleName: 'FormTemplateManagement',
|
@@ -30,266 +31,24 @@ class AXMFormTemplateManagementCategoryEntityServiceImpl extends AXMFormTemplate
|
|
30
31
|
constructor() {
|
31
32
|
super(`${AXMFormTemplateManagementModuleConst.moduleName}.${AXMFormTemplateManagementModuleConst.categoryEntity}`);
|
32
33
|
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
35
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl }); }
|
35
36
|
}
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityServiceImpl, decorators: [{
|
37
38
|
type: Injectable
|
38
39
|
}], ctorParameters: () => [] });
|
39
40
|
|
40
|
-
async function factory$1(injector) {
|
41
|
-
const dataService = injector.get(AXMFormTemplateManagementCategoryEntityService);
|
42
|
-
const i18n = AXMFormTemplateManagementModuleConst.i18n;
|
43
|
-
const entityDef = {
|
44
|
-
module: AXMFormTemplateManagementModuleConst.moduleName,
|
45
|
-
name: AXMFormTemplateManagementModuleConst.categoryEntity,
|
46
|
-
source: '',
|
47
|
-
title: `t("category", { scope: "common" })`,
|
48
|
-
formats: {
|
49
|
-
individual: `t("category", { scope: "common" })`,
|
50
|
-
plural: `t("categories", { scope: "common" })`,
|
51
|
-
},
|
52
|
-
relatedEntities: [],
|
53
|
-
groups: [
|
54
|
-
{
|
55
|
-
id: 'section',
|
56
|
-
title: `t("category", { scope: "common" })`,
|
57
|
-
},
|
58
|
-
],
|
59
|
-
properties: [
|
60
|
-
{
|
61
|
-
name: 'name',
|
62
|
-
title: 't("name", { scope: "common" })',
|
63
|
-
groupId: 'section',
|
64
|
-
options: {
|
65
|
-
sort: {
|
66
|
-
enabled: true,
|
67
|
-
},
|
68
|
-
},
|
69
|
-
schema: {
|
70
|
-
dataType: 'string',
|
71
|
-
interface: {
|
72
|
-
type: AXPWidgetsCatalog.text,
|
73
|
-
},
|
74
|
-
},
|
75
|
-
validations: [
|
76
|
-
{
|
77
|
-
rule: 'required',
|
78
|
-
},
|
79
|
-
],
|
80
|
-
},
|
81
|
-
{
|
82
|
-
name: 'title',
|
83
|
-
title: 't("title", { scope: "common" })',
|
84
|
-
groupId: 'section',
|
85
|
-
schema: {
|
86
|
-
dataType: 'string',
|
87
|
-
interface: {
|
88
|
-
type: AXPWidgetsCatalog.text,
|
89
|
-
},
|
90
|
-
},
|
91
|
-
validations: [
|
92
|
-
{
|
93
|
-
rule: 'required',
|
94
|
-
},
|
95
|
-
],
|
96
|
-
},
|
97
|
-
],
|
98
|
-
columns: [{ name: 'name' }, { name: 'title' }],
|
99
|
-
commands: {
|
100
|
-
create: {
|
101
|
-
execute: async (data) => {
|
102
|
-
const res = await dataService.insertOne(data);
|
103
|
-
return { id: res };
|
104
|
-
},
|
105
|
-
},
|
106
|
-
delete: {
|
107
|
-
execute: async (id) => {
|
108
|
-
return await dataService.deleteOne(id);
|
109
|
-
},
|
110
|
-
},
|
111
|
-
update: {
|
112
|
-
execute: async (data) => {
|
113
|
-
return await dataService.updateOne(data.id, data);
|
114
|
-
},
|
115
|
-
},
|
116
|
-
},
|
117
|
-
queries: {
|
118
|
-
byKey: {
|
119
|
-
execute: async (id) => {
|
120
|
-
return await dataService.getOne(id);
|
121
|
-
},
|
122
|
-
type: AXPEntityQueryType.Single,
|
123
|
-
},
|
124
|
-
list: {
|
125
|
-
execute: async (e) => {
|
126
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
|
127
|
-
},
|
128
|
-
type: AXPEntityQueryType.List,
|
129
|
-
},
|
130
|
-
},
|
131
|
-
interfaces: {
|
132
|
-
master: {
|
133
|
-
create: {
|
134
|
-
sections: [
|
135
|
-
{
|
136
|
-
id: 'section',
|
137
|
-
},
|
138
|
-
],
|
139
|
-
properties: [
|
140
|
-
{
|
141
|
-
name: 'name',
|
142
|
-
layout: {
|
143
|
-
positions: {
|
144
|
-
lg: {
|
145
|
-
colSpan: 6,
|
146
|
-
},
|
147
|
-
},
|
148
|
-
},
|
149
|
-
},
|
150
|
-
{
|
151
|
-
name: 'title',
|
152
|
-
layout: {
|
153
|
-
positions: {
|
154
|
-
lg: {
|
155
|
-
colSpan: 6,
|
156
|
-
},
|
157
|
-
},
|
158
|
-
},
|
159
|
-
},
|
160
|
-
],
|
161
|
-
},
|
162
|
-
update: {
|
163
|
-
sections: [
|
164
|
-
{
|
165
|
-
id: 'section',
|
166
|
-
},
|
167
|
-
],
|
168
|
-
properties: [
|
169
|
-
{
|
170
|
-
name: 'name',
|
171
|
-
layout: {
|
172
|
-
positions: {
|
173
|
-
lg: {
|
174
|
-
colSpan: 6,
|
175
|
-
},
|
176
|
-
},
|
177
|
-
},
|
178
|
-
},
|
179
|
-
{
|
180
|
-
name: 'title',
|
181
|
-
layout: {
|
182
|
-
positions: {
|
183
|
-
lg: {
|
184
|
-
colSpan: 6,
|
185
|
-
},
|
186
|
-
},
|
187
|
-
},
|
188
|
-
},
|
189
|
-
],
|
190
|
-
},
|
191
|
-
single: {
|
192
|
-
title: '{{title}}',
|
193
|
-
sections: [
|
194
|
-
{
|
195
|
-
id: 'section',
|
196
|
-
layout: {
|
197
|
-
positions: {
|
198
|
-
lg: {
|
199
|
-
colSpan: 12,
|
200
|
-
},
|
201
|
-
},
|
202
|
-
},
|
203
|
-
},
|
204
|
-
],
|
205
|
-
properties: [
|
206
|
-
{
|
207
|
-
name: 'name',
|
208
|
-
layout: {
|
209
|
-
positions: {
|
210
|
-
lg: {
|
211
|
-
colSpan: 6,
|
212
|
-
},
|
213
|
-
},
|
214
|
-
},
|
215
|
-
},
|
216
|
-
{
|
217
|
-
name: 'title',
|
218
|
-
layout: {
|
219
|
-
positions: {
|
220
|
-
lg: {
|
221
|
-
colSpan: 6,
|
222
|
-
},
|
223
|
-
},
|
224
|
-
},
|
225
|
-
},
|
226
|
-
],
|
227
|
-
actions: [],
|
228
|
-
},
|
229
|
-
list: {
|
230
|
-
actions: [
|
231
|
-
{
|
232
|
-
title: `t("create", { scope: "common" })`,
|
233
|
-
command: 'create-entity',
|
234
|
-
priority: 'primary',
|
235
|
-
type: 'create',
|
236
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
237
|
-
},
|
238
|
-
{
|
239
|
-
title: 't("deleteItems", { scope: "common" })',
|
240
|
-
command: 'delete-entity',
|
241
|
-
priority: 'primary',
|
242
|
-
type: 'delete',
|
243
|
-
scope: AXPEntityCommandScope.Selected,
|
244
|
-
},
|
245
|
-
{
|
246
|
-
title: 't("detail", { scope: "common" })',
|
247
|
-
command: 'open-entity',
|
248
|
-
priority: 'secondary',
|
249
|
-
type: 'view',
|
250
|
-
scope: AXPEntityCommandScope.Individual,
|
251
|
-
},
|
252
|
-
{
|
253
|
-
title: 't("delete", { scope: "common" })',
|
254
|
-
command: 'delete-entity',
|
255
|
-
priority: 'secondary',
|
256
|
-
type: 'delete',
|
257
|
-
scope: AXPEntityCommandScope.Individual,
|
258
|
-
},
|
259
|
-
],
|
260
|
-
views: [
|
261
|
-
{
|
262
|
-
name: 'all',
|
263
|
-
title: 't("allItem", { scope: "common" })',
|
264
|
-
fixed: true,
|
265
|
-
columns: [],
|
266
|
-
conditions: [],
|
267
|
-
sorts: [],
|
268
|
-
},
|
269
|
-
],
|
270
|
-
},
|
271
|
-
},
|
272
|
-
},
|
273
|
-
};
|
274
|
-
return entityDef;
|
275
|
-
}
|
276
|
-
|
277
|
-
var category_entity = /*#__PURE__*/Object.freeze({
|
278
|
-
__proto__: null,
|
279
|
-
factory: factory$1
|
280
|
-
});
|
281
|
-
|
282
41
|
class AXMFormTemplateManagementCategoryEntityModule {
|
283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
284
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
285
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
43
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule }); }
|
44
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, providers: [
|
286
45
|
{
|
287
46
|
provide: AXMFormTemplateManagementCategoryEntityService,
|
288
47
|
useClass: AXMFormTemplateManagementCategoryEntityServiceImpl,
|
289
48
|
},
|
290
49
|
] }); }
|
291
50
|
}
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementCategoryEntityModule, decorators: [{
|
293
52
|
type: NgModule,
|
294
53
|
args: [{
|
295
54
|
imports: [],
|
@@ -310,459 +69,24 @@ class AXMFormTemplateManagementTemplateEntityServiceImpl extends AXMFormTemplate
|
|
310
69
|
constructor() {
|
311
70
|
super(`${AXMFormTemplateManagementModuleConst.moduleName}.${AXMFormTemplateManagementModuleConst.templateEntity}`);
|
312
71
|
}
|
313
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
314
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
73
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl }); }
|
315
74
|
}
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityServiceImpl, decorators: [{
|
317
76
|
type: Injectable
|
318
77
|
}], ctorParameters: () => [] });
|
319
78
|
|
320
|
-
async function factory(injector) {
|
321
|
-
const dataService = injector.get(AXMFormTemplateManagementTemplateEntityService);
|
322
|
-
const i18n = AXMFormTemplateManagementModuleConst.i18n;
|
323
|
-
const entityDef = {
|
324
|
-
module: AXMFormTemplateManagementModuleConst.moduleName,
|
325
|
-
name: AXMFormTemplateManagementModuleConst.templateEntity,
|
326
|
-
source: '',
|
327
|
-
title: `t("template",{scope:"${i18n}"})`,
|
328
|
-
formats: {
|
329
|
-
individual: `t("template",{scope:"${i18n}"})`,
|
330
|
-
plural: `t("templates",{scope:"${i18n}"})`,
|
331
|
-
},
|
332
|
-
relatedEntities: [],
|
333
|
-
groups: [
|
334
|
-
{
|
335
|
-
id: 'section',
|
336
|
-
title: `t("information",{scope:"common"})`,
|
337
|
-
},
|
338
|
-
],
|
339
|
-
properties: [
|
340
|
-
{
|
341
|
-
name: 'name',
|
342
|
-
title: 't("name", { scope: "common" })',
|
343
|
-
groupId: 'section',
|
344
|
-
options: {
|
345
|
-
filter: {
|
346
|
-
inline: { enabled: true },
|
347
|
-
},
|
348
|
-
sort: {
|
349
|
-
enabled: true,
|
350
|
-
},
|
351
|
-
},
|
352
|
-
schema: {
|
353
|
-
dataType: 'string',
|
354
|
-
interface: {
|
355
|
-
type: AXPWidgetsCatalog.text,
|
356
|
-
},
|
357
|
-
},
|
358
|
-
validations: [
|
359
|
-
{
|
360
|
-
rule: 'required',
|
361
|
-
},
|
362
|
-
],
|
363
|
-
},
|
364
|
-
{
|
365
|
-
name: 'title',
|
366
|
-
title: 't("title", { scope: "common" })',
|
367
|
-
groupId: 'section',
|
368
|
-
options: {
|
369
|
-
filter: {
|
370
|
-
inline: { enabled: true },
|
371
|
-
},
|
372
|
-
sort: {
|
373
|
-
enabled: true,
|
374
|
-
},
|
375
|
-
},
|
376
|
-
schema: {
|
377
|
-
dataType: 'string',
|
378
|
-
interface: {
|
379
|
-
type: AXPWidgetsCatalog.text,
|
380
|
-
},
|
381
|
-
},
|
382
|
-
validations: [
|
383
|
-
{
|
384
|
-
rule: 'required',
|
385
|
-
},
|
386
|
-
],
|
387
|
-
},
|
388
|
-
{
|
389
|
-
name: 'categoryId',
|
390
|
-
title: 't("category", { scope: "common" })',
|
391
|
-
groupId: 'section',
|
392
|
-
schema: {
|
393
|
-
dataType: 'string',
|
394
|
-
interface: {
|
395
|
-
type: AXPWidgetsCatalog.lookup,
|
396
|
-
options: {
|
397
|
-
entity: `${AXMFormTemplateManagementModuleConst.moduleName}.${AXMFormTemplateManagementModuleConst.categoryEntity}`,
|
398
|
-
expose: [
|
399
|
-
{ source: 'id', target: 'categoryId' },
|
400
|
-
{ source: 'title', target: 'category.title' },
|
401
|
-
],
|
402
|
-
},
|
403
|
-
},
|
404
|
-
},
|
405
|
-
validations: [
|
406
|
-
{
|
407
|
-
rule: 'required',
|
408
|
-
},
|
409
|
-
],
|
410
|
-
},
|
411
|
-
{
|
412
|
-
name: 'type',
|
413
|
-
title: `t("template-type",{scope:"${i18n}"})`,
|
414
|
-
groupId: 'section',
|
415
|
-
schema: {
|
416
|
-
dataType: 'string',
|
417
|
-
interface: {
|
418
|
-
type: AXPWidgetsCatalog.select,
|
419
|
-
options: {
|
420
|
-
valueField: 'value',
|
421
|
-
textField: 'title',
|
422
|
-
defaultValue: '10',
|
423
|
-
dataSource: [
|
424
|
-
{ value: 10, title: 'Form Template' },
|
425
|
-
{ value: 20, title: 'Widgets Template' },
|
426
|
-
],
|
427
|
-
multiple: false,
|
428
|
-
},
|
429
|
-
},
|
430
|
-
},
|
431
|
-
validations: [
|
432
|
-
{
|
433
|
-
rule: 'required',
|
434
|
-
},
|
435
|
-
],
|
436
|
-
},
|
437
|
-
{
|
438
|
-
name: 'template',
|
439
|
-
title: `t("template",{scope:"${i18n}"})`,
|
440
|
-
groupId: 'section',
|
441
|
-
schema: {
|
442
|
-
dataType: 'string',
|
443
|
-
interface: {
|
444
|
-
type: AXPWidgetsCatalog.templateDesigner,
|
445
|
-
},
|
446
|
-
},
|
447
|
-
},
|
448
|
-
],
|
449
|
-
columns: [
|
450
|
-
{ name: 'name' },
|
451
|
-
{ name: 'title' },
|
452
|
-
{ name: 'type' },
|
453
|
-
{ name: 'categoryId', options: { dataPath: 'category.title' } },
|
454
|
-
],
|
455
|
-
commands: {
|
456
|
-
create: {
|
457
|
-
execute: async (data) => {
|
458
|
-
const res = await dataService.insertOne(data);
|
459
|
-
return { id: res };
|
460
|
-
},
|
461
|
-
},
|
462
|
-
delete: {
|
463
|
-
execute: async (id) => {
|
464
|
-
return await dataService.deleteOne(id);
|
465
|
-
},
|
466
|
-
},
|
467
|
-
update: {
|
468
|
-
execute: async (data) => {
|
469
|
-
return await dataService.updateOne(data.id, data);
|
470
|
-
},
|
471
|
-
},
|
472
|
-
},
|
473
|
-
queries: {
|
474
|
-
byKey: {
|
475
|
-
execute: async (id) => {
|
476
|
-
return await dataService.getOne(id);
|
477
|
-
},
|
478
|
-
type: AXPEntityQueryType.Single,
|
479
|
-
},
|
480
|
-
list: {
|
481
|
-
execute: async (e) => {
|
482
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
483
|
-
},
|
484
|
-
type: AXPEntityQueryType.List,
|
485
|
-
},
|
486
|
-
},
|
487
|
-
interfaces: {
|
488
|
-
master: {
|
489
|
-
create: {
|
490
|
-
sections: [
|
491
|
-
{
|
492
|
-
id: 'section',
|
493
|
-
},
|
494
|
-
],
|
495
|
-
properties: [
|
496
|
-
{
|
497
|
-
name: 'name',
|
498
|
-
layout: {
|
499
|
-
positions: {
|
500
|
-
lg: {
|
501
|
-
colSpan: 6,
|
502
|
-
},
|
503
|
-
},
|
504
|
-
},
|
505
|
-
},
|
506
|
-
{
|
507
|
-
name: 'title',
|
508
|
-
layout: {
|
509
|
-
positions: {
|
510
|
-
lg: {
|
511
|
-
colSpan: 6,
|
512
|
-
},
|
513
|
-
},
|
514
|
-
},
|
515
|
-
},
|
516
|
-
{
|
517
|
-
name: 'type',
|
518
|
-
layout: {
|
519
|
-
order: 10,
|
520
|
-
positions: {
|
521
|
-
lg: {
|
522
|
-
colSpan: 6,
|
523
|
-
},
|
524
|
-
},
|
525
|
-
},
|
526
|
-
},
|
527
|
-
{
|
528
|
-
name: 'categoryId',
|
529
|
-
layout: {
|
530
|
-
order: 20,
|
531
|
-
positions: {
|
532
|
-
lg: {
|
533
|
-
colSpan: 6,
|
534
|
-
},
|
535
|
-
},
|
536
|
-
},
|
537
|
-
},
|
538
|
-
],
|
539
|
-
},
|
540
|
-
update: {
|
541
|
-
sections: [
|
542
|
-
{
|
543
|
-
id: 'section',
|
544
|
-
},
|
545
|
-
],
|
546
|
-
properties: [
|
547
|
-
{
|
548
|
-
name: 'name',
|
549
|
-
layout: {
|
550
|
-
positions: {
|
551
|
-
lg: {
|
552
|
-
colSpan: 6,
|
553
|
-
},
|
554
|
-
},
|
555
|
-
},
|
556
|
-
},
|
557
|
-
{
|
558
|
-
name: 'title',
|
559
|
-
layout: {
|
560
|
-
positions: {
|
561
|
-
lg: {
|
562
|
-
colSpan: 6,
|
563
|
-
},
|
564
|
-
},
|
565
|
-
},
|
566
|
-
},
|
567
|
-
{
|
568
|
-
name: 'categoryId',
|
569
|
-
layout: {
|
570
|
-
positions: {
|
571
|
-
lg: {
|
572
|
-
colSpan: 6,
|
573
|
-
},
|
574
|
-
},
|
575
|
-
},
|
576
|
-
},
|
577
|
-
{
|
578
|
-
name: 'type',
|
579
|
-
layout: {
|
580
|
-
positions: {
|
581
|
-
lg: {
|
582
|
-
colSpan: 6,
|
583
|
-
},
|
584
|
-
},
|
585
|
-
},
|
586
|
-
},
|
587
|
-
],
|
588
|
-
},
|
589
|
-
single: {
|
590
|
-
title: '{{title}}',
|
591
|
-
sections: [
|
592
|
-
{
|
593
|
-
id: 'section',
|
594
|
-
layout: {
|
595
|
-
positions: {
|
596
|
-
lg: {
|
597
|
-
colSpan: 12,
|
598
|
-
},
|
599
|
-
},
|
600
|
-
},
|
601
|
-
},
|
602
|
-
{
|
603
|
-
id: 'template',
|
604
|
-
layout: {
|
605
|
-
positions: {
|
606
|
-
lg: {
|
607
|
-
colSpan: 12,
|
608
|
-
},
|
609
|
-
},
|
610
|
-
},
|
611
|
-
},
|
612
|
-
],
|
613
|
-
properties: [
|
614
|
-
{
|
615
|
-
name: 'name',
|
616
|
-
layout: {
|
617
|
-
positions: {
|
618
|
-
lg: {
|
619
|
-
colSpan: 6,
|
620
|
-
},
|
621
|
-
},
|
622
|
-
},
|
623
|
-
},
|
624
|
-
{
|
625
|
-
name: 'title',
|
626
|
-
layout: {
|
627
|
-
positions: {
|
628
|
-
lg: {
|
629
|
-
colSpan: 6,
|
630
|
-
},
|
631
|
-
},
|
632
|
-
},
|
633
|
-
},
|
634
|
-
{
|
635
|
-
name: 'type',
|
636
|
-
layout: {
|
637
|
-
positions: {
|
638
|
-
lg: {
|
639
|
-
colSpan: 6,
|
640
|
-
},
|
641
|
-
},
|
642
|
-
},
|
643
|
-
},
|
644
|
-
{
|
645
|
-
name: 'categoryId',
|
646
|
-
layout: {
|
647
|
-
positions: {
|
648
|
-
lg: {
|
649
|
-
colSpan: 4,
|
650
|
-
},
|
651
|
-
},
|
652
|
-
},
|
653
|
-
},
|
654
|
-
{
|
655
|
-
name: 'template',
|
656
|
-
layout: {
|
657
|
-
label: {
|
658
|
-
visible: false,
|
659
|
-
},
|
660
|
-
positions: {
|
661
|
-
lg: {
|
662
|
-
colSpan: 4,
|
663
|
-
},
|
664
|
-
},
|
665
|
-
},
|
666
|
-
},
|
667
|
-
],
|
668
|
-
actions: [],
|
669
|
-
},
|
670
|
-
list: {
|
671
|
-
actions: [
|
672
|
-
{
|
673
|
-
title: `t("create", { scope: "common" })`,
|
674
|
-
command: 'create-form-template',
|
675
|
-
priority: 'primary',
|
676
|
-
type: 'create',
|
677
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
678
|
-
},
|
679
|
-
{
|
680
|
-
title: 't("deleteItems", { scope: "common" })',
|
681
|
-
command: 'delete-entity',
|
682
|
-
priority: 'primary',
|
683
|
-
type: 'delete',
|
684
|
-
scope: AXPEntityCommandScope.Selected,
|
685
|
-
},
|
686
|
-
{
|
687
|
-
title: 't("detail", { scope: "common" })',
|
688
|
-
command: 'open-entity',
|
689
|
-
priority: 'secondary',
|
690
|
-
type: 'view',
|
691
|
-
scope: AXPEntityCommandScope.Individual,
|
692
|
-
},
|
693
|
-
{
|
694
|
-
title: 't("delete", { scope: "common" })',
|
695
|
-
command: 'delete-entity',
|
696
|
-
priority: 'secondary',
|
697
|
-
type: 'delete',
|
698
|
-
scope: AXPEntityCommandScope.Individual,
|
699
|
-
},
|
700
|
-
],
|
701
|
-
views: [
|
702
|
-
{
|
703
|
-
name: 'all',
|
704
|
-
title: 't("allItem", { scope: "common" })',
|
705
|
-
fixed: true,
|
706
|
-
columns: [],
|
707
|
-
conditions: [],
|
708
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
709
|
-
},
|
710
|
-
{
|
711
|
-
name: 'forms',
|
712
|
-
title: `t("forms", { scope: "${i18n}" })`,
|
713
|
-
fixed: true,
|
714
|
-
columns: [],
|
715
|
-
conditions: [
|
716
|
-
{
|
717
|
-
name: 'type.value',
|
718
|
-
operator: {
|
719
|
-
type: 'equal',
|
720
|
-
},
|
721
|
-
value: 10,
|
722
|
-
},
|
723
|
-
],
|
724
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
725
|
-
},
|
726
|
-
{
|
727
|
-
name: 'widgets',
|
728
|
-
title: `t("widgets", { scope: "${i18n}" })`,
|
729
|
-
fixed: true,
|
730
|
-
columns: [],
|
731
|
-
conditions: [
|
732
|
-
{
|
733
|
-
name: 'type.value',
|
734
|
-
operator: {
|
735
|
-
type: 'equal',
|
736
|
-
},
|
737
|
-
value: 20,
|
738
|
-
},
|
739
|
-
],
|
740
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
741
|
-
},
|
742
|
-
],
|
743
|
-
},
|
744
|
-
},
|
745
|
-
},
|
746
|
-
};
|
747
|
-
return entityDef;
|
748
|
-
}
|
749
|
-
|
750
|
-
var template_entity = /*#__PURE__*/Object.freeze({
|
751
|
-
__proto__: null,
|
752
|
-
factory: factory
|
753
|
-
});
|
754
|
-
|
755
79
|
class AXMFormTemplateManagementTemplateEntityModule {
|
756
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
757
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
758
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
81
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule }); }
|
82
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, providers: [
|
759
83
|
{
|
760
84
|
provide: AXMFormTemplateManagementTemplateEntityService,
|
761
85
|
useClass: AXMFormTemplateManagementTemplateEntityServiceImpl,
|
762
86
|
},
|
763
87
|
] }); }
|
764
88
|
}
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementTemplateEntityModule, decorators: [{
|
766
90
|
type: NgModule,
|
767
91
|
args: [{
|
768
92
|
imports: [],
|
@@ -777,6 +101,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
777
101
|
}]
|
778
102
|
}] });
|
779
103
|
|
104
|
+
const AXMFormTemplateTypes = {
|
105
|
+
Form: { id: 10, title: 'Form Template' },
|
106
|
+
Widget: { id: 20, title: 'Widgets Template' }
|
107
|
+
};
|
108
|
+
|
780
109
|
class AXMFormTemplateManagementModuleEntityProvider {
|
781
110
|
constructor() {
|
782
111
|
this.injector = inject(Injector);
|
@@ -785,17 +114,17 @@ class AXMFormTemplateManagementModuleEntityProvider {
|
|
785
114
|
if (moduleName == AXMFormTemplateManagementModuleConst.moduleName) {
|
786
115
|
switch (entityName) {
|
787
116
|
case AXMFormTemplateManagementModuleConst.categoryEntity:
|
788
|
-
return (await
|
117
|
+
return (await import('./acorex-modules-form-template-management-category.entity-xUkZHVgy.mjs')).factory(this.injector);
|
789
118
|
case AXMFormTemplateManagementModuleConst.templateEntity:
|
790
|
-
return (await
|
119
|
+
return (await import('./acorex-modules-form-template-management-template.entity-CGhbmYel.mjs')).factory(this.injector);
|
791
120
|
}
|
792
121
|
}
|
793
122
|
return null;
|
794
123
|
}
|
795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModuleEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
125
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModuleEntityProvider }); }
|
797
126
|
}
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModuleEntityProvider, decorators: [{
|
799
128
|
type: Injectable
|
800
129
|
}] });
|
801
130
|
|
@@ -809,7 +138,7 @@ class AXMFormTemplateManagementModuleMenuProvider {
|
|
809
138
|
context.addItems([
|
810
139
|
{
|
811
140
|
priority: 9001,
|
812
|
-
text: `t('module-name', {scope:
|
141
|
+
text: `t('module-name', {scope:"${scope}"})`,
|
813
142
|
icon: 'fa-solid fa-file-invoice',
|
814
143
|
children: [
|
815
144
|
{
|
@@ -818,7 +147,7 @@ class AXMFormTemplateManagementModuleMenuProvider {
|
|
818
147
|
priority: 1,
|
819
148
|
},
|
820
149
|
{
|
821
|
-
text: `t('templates', {scope:
|
150
|
+
text: `t('templates', {scope:"${scope}"})`,
|
822
151
|
path: this.entityService.createPath(moduleName, AXMFormTemplateManagementModuleConst.templateEntity),
|
823
152
|
priority: 2,
|
824
153
|
},
|
@@ -836,17 +165,17 @@ class AXPTemplateDesignerWidgetViewComponent extends AXPWidgetComponent {
|
|
836
165
|
async handleClick() {
|
837
166
|
await this.workflow.execute('design-form-template', { data: { id: this.extractValue('id') } });
|
838
167
|
}
|
839
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
840
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateDesignerWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
169
|
+
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: `
|
841
170
|
<span
|
842
171
|
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
843
172
|
(click)="handleClick()"
|
844
173
|
>
|
845
|
-
{{ 'edit-template
|
174
|
+
{{ 't("edit-template",{ scope:"form-template-management" })' | translate | async }}
|
846
175
|
</span>
|
847
|
-
`, 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:
|
176
|
+
`, 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 }); }
|
848
177
|
}
|
849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateDesignerWidgetViewComponent, decorators: [{
|
850
179
|
type: Component,
|
851
180
|
args: [{
|
852
181
|
template: `
|
@@ -854,12 +183,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
854
183
|
class="ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer"
|
855
184
|
(click)="handleClick()"
|
856
185
|
>
|
857
|
-
{{ 'edit-template
|
186
|
+
{{ 't("edit-template",{ scope:"form-template-management" })' | translate | async }}
|
858
187
|
</span>
|
859
188
|
`,
|
860
|
-
standalone: true,
|
861
189
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
862
|
-
imports: [CommonModule, AXButtonModule, AXTranslationModule]
|
190
|
+
imports: [CommonModule, AXButtonModule, AXTranslationModule]
|
863
191
|
}]
|
864
192
|
}] });
|
865
193
|
|
@@ -931,24 +259,37 @@ const AXMCreateFormTemplateWorkflow = {
|
|
931
259
|
class AXPDesignerConnectorImpl extends AXPDesignerConnector {
|
932
260
|
constructor() {
|
933
261
|
super(...arguments);
|
934
|
-
this.
|
935
|
-
|
262
|
+
this.workflow = inject(AXPWorkflowService);
|
263
|
+
this.templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService);
|
264
|
+
this.categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService);
|
936
265
|
}
|
937
266
|
//#region Save and load Widgets
|
938
267
|
async save(id, content) {
|
939
|
-
const item = await this.
|
268
|
+
const item = await this.templateEntityService.getOne(id);
|
940
269
|
if (item) {
|
941
|
-
await this.
|
270
|
+
await this.templateEntityService.updateOne(id, { template: content.json });
|
271
|
+
return true;
|
942
272
|
}
|
943
273
|
else {
|
944
274
|
throw Error("Invalid Id");
|
945
275
|
}
|
946
276
|
}
|
947
277
|
async saveAs(content) {
|
948
|
-
|
278
|
+
const result = await this.workflow.execute('create-entity', {
|
279
|
+
redirect: false,
|
280
|
+
entity: `${AXMFormTemplateManagementModuleConst.moduleName}.${AXMFormTemplateManagementModuleConst.templateEntity}`,
|
281
|
+
canCreateNewOne: false,
|
282
|
+
data: {
|
283
|
+
name: AXPDataGenerator.alphanumeric(10),
|
284
|
+
type: AXMFormTemplateTypes.Widget,
|
285
|
+
template: content.json,
|
286
|
+
categoryId: (await this.categoryEntityService.query()).items[0]?.id
|
287
|
+
}
|
288
|
+
});
|
289
|
+
return result.getOutput('result');
|
949
290
|
}
|
950
291
|
async load(id) {
|
951
|
-
const item = await this.
|
292
|
+
const item = await this.templateEntityService.getOne(id);
|
952
293
|
if (item) {
|
953
294
|
return item.template;
|
954
295
|
}
|
@@ -956,7 +297,12 @@ class AXPDesignerConnectorImpl extends AXPDesignerConnector {
|
|
956
297
|
throw Error("Invalid Id");
|
957
298
|
}
|
958
299
|
}
|
300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
301
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl }); }
|
959
302
|
}
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDesignerConnectorImpl, decorators: [{
|
304
|
+
type: Injectable
|
305
|
+
}] });
|
960
306
|
|
961
307
|
class AXMOpenFormTemplateDesignerAction extends AXPWorkflowAction {
|
962
308
|
constructor() {
|
@@ -966,15 +312,15 @@ class AXMOpenFormTemplateDesignerAction extends AXPWorkflowAction {
|
|
966
312
|
async execute(context) {
|
967
313
|
const { id } = context.getVariable('data');
|
968
314
|
context.setVariable('payload', {
|
969
|
-
commands:
|
315
|
+
commands: `forms/designer?id=${id}`,
|
970
316
|
target: 'blank'
|
971
317
|
});
|
972
318
|
await this.navigation.execute(context);
|
973
319
|
}
|
974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
975
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
321
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction }); }
|
976
322
|
}
|
977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenFormTemplateDesignerAction, decorators: [{
|
978
324
|
type: Injectable
|
979
325
|
}] });
|
980
326
|
const AXMDesignFormTemplateWorkflow = {
|
@@ -1007,7 +353,12 @@ class AXPTemplateWidgetProviderImpl {
|
|
1007
353
|
const item = await this.service.getOne(id);
|
1008
354
|
if (item) {
|
1009
355
|
const document = JSON.parse(item.template);
|
1010
|
-
|
356
|
+
const page = document?.children?.[0];
|
357
|
+
return {
|
358
|
+
id: item.id,
|
359
|
+
nodes: page?.children ?? [],
|
360
|
+
title: item.title
|
361
|
+
};
|
1011
362
|
}
|
1012
363
|
else {
|
1013
364
|
throw Error("Invalid Id");
|
@@ -1015,31 +366,343 @@ class AXPTemplateWidgetProviderImpl {
|
|
1015
366
|
}
|
1016
367
|
}
|
1017
368
|
|
1018
|
-
const
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
369
|
+
const AXP_TEMPLATE_WIDGET_PROVIDER = new InjectionToken('AXP_TEMPLATE_WIDGET_PROVIDER');
|
370
|
+
class AXPTemplateWidgetProviderService {
|
371
|
+
constructor() {
|
372
|
+
this.popupService = inject(AXPopupService);
|
373
|
+
this.providers = inject(AXP_TEMPLATE_WIDGET_PROVIDER, { optional: true });
|
374
|
+
}
|
375
|
+
async items(query) {
|
376
|
+
if (Array.isArray(this.providers)) {
|
377
|
+
const result = [];
|
378
|
+
for (const provider of this.providers) {
|
379
|
+
const items = await provider.items(query);
|
380
|
+
if (items) {
|
381
|
+
result.push(...items);
|
382
|
+
}
|
383
|
+
}
|
384
|
+
return result;
|
385
|
+
}
|
386
|
+
else {
|
387
|
+
return [];
|
388
|
+
}
|
389
|
+
}
|
390
|
+
async get(id) {
|
391
|
+
if (Array.isArray(this.providers)) {
|
392
|
+
for (const provider of this.providers) {
|
393
|
+
const node = await provider.get(id);
|
394
|
+
if (node) {
|
395
|
+
return node;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
399
|
+
return null;
|
400
|
+
}
|
401
|
+
async chooseTemplate() {
|
402
|
+
const com = await import('./acorex-modules-form-template-management-template-picker.component-D_FkgF0W.mjs').then((c) => c.AXPTemplateWidgetPickerComponent);
|
403
|
+
const widgets = await this.items({
|
404
|
+
skip: 0,
|
405
|
+
take: 100,
|
406
|
+
filter: {
|
407
|
+
field: 'type.id',
|
408
|
+
value: 20,
|
409
|
+
operator: {
|
410
|
+
type: 'equal',
|
411
|
+
}
|
412
|
+
}
|
413
|
+
});
|
414
|
+
const result = await this.popupService.open(com, {
|
415
|
+
title: 'Widget Template Gallery',
|
416
|
+
size: 'md',
|
417
|
+
closeButton: true,
|
418
|
+
data: {
|
419
|
+
widgets: sortBy(widgets, (c) => c.title),
|
1029
420
|
},
|
421
|
+
});
|
422
|
+
if (result.data) {
|
423
|
+
const selected = result.data?.widgets;
|
424
|
+
return selected[0];
|
425
|
+
}
|
426
|
+
return null;
|
427
|
+
}
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, providedIn: 'root' }); }
|
430
|
+
}
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetProviderService, decorators: [{
|
432
|
+
type: Injectable,
|
433
|
+
args: [{ providedIn: 'root' }]
|
434
|
+
}] });
|
435
|
+
|
436
|
+
class AXPTemplateWidgetViewComponent extends AXPWidgetComponent {
|
437
|
+
constructor() {
|
438
|
+
super();
|
439
|
+
this.metaKey = '__meta__';
|
440
|
+
this.templateProvider = inject(AXPTemplateWidgetProviderService);
|
441
|
+
this.templateId = computed(() => this.options()['templateId']);
|
442
|
+
this.nodes = signal([]);
|
443
|
+
//
|
444
|
+
effect(async () => {
|
445
|
+
this.nodes.set([]);
|
446
|
+
const value = this.getValue();
|
447
|
+
const templateId = get(value, `${this.metaKey}.templateId`) ?? this.templateId();
|
448
|
+
if (templateId) {
|
449
|
+
const item = await this.templateProvider.get(templateId);
|
450
|
+
if (item) {
|
451
|
+
this.nodes.set(item.nodes);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
});
|
455
|
+
}
|
456
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
457
|
+
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: `
|
458
|
+
@for (node of nodes(); track $index) {
|
459
|
+
<ng-container axp-widget-renderer
|
460
|
+
[node]="node"
|
461
|
+
[parentNode]="this"
|
462
|
+
[mode]="this.mode"
|
463
|
+
>
|
464
|
+
</ng-container>
|
465
|
+
}
|
466
|
+
@empty {
|
467
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
468
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
469
|
+
</span>
|
470
|
+
}
|
471
|
+
`, 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"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
472
|
+
}
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetViewComponent, decorators: [{
|
474
|
+
type: Component,
|
475
|
+
args: [{
|
476
|
+
selector: 'axp-template-widget-view',
|
477
|
+
template: `
|
478
|
+
@for (node of nodes(); track $index) {
|
479
|
+
<ng-container axp-widget-renderer
|
480
|
+
[node]="node"
|
481
|
+
[parentNode]="this"
|
482
|
+
[mode]="this.mode"
|
483
|
+
>
|
484
|
+
</ng-container>
|
485
|
+
}
|
486
|
+
@empty {
|
487
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
488
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
489
|
+
</span>
|
490
|
+
}
|
491
|
+
`,
|
492
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
493
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule]
|
494
|
+
}]
|
495
|
+
}], ctorParameters: () => [] });
|
496
|
+
|
497
|
+
var templateWidgetView_component = /*#__PURE__*/Object.freeze({
|
498
|
+
__proto__: null,
|
499
|
+
AXPTemplateWidgetViewComponent: AXPTemplateWidgetViewComponent
|
500
|
+
});
|
501
|
+
|
502
|
+
const AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU = {
|
503
|
+
text: 'Choose Template',
|
504
|
+
name: 'choose',
|
505
|
+
icon: 'fa-solid fa-folder-open',
|
506
|
+
};
|
507
|
+
class AXPTemplateWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
508
|
+
constructor() {
|
509
|
+
super();
|
510
|
+
this.templateProvider = inject(AXPTemplateWidgetProviderService);
|
511
|
+
this.designerService = inject(AXPDesignerService);
|
512
|
+
this.templateId = computed(() => this.options()['templateId']);
|
513
|
+
this.nodes = signal([]);
|
514
|
+
this.title = signal(null);
|
515
|
+
//
|
516
|
+
effect(async () => {
|
517
|
+
this.nodes.set([]);
|
518
|
+
if (this.templateId()) {
|
519
|
+
const item = await this.templateProvider.get(this.templateId());
|
520
|
+
if (item && item.nodes?.length > 0) {
|
521
|
+
this.title.set(item.title);
|
522
|
+
this.nodes.set(item.nodes);
|
523
|
+
}
|
524
|
+
}
|
525
|
+
});
|
526
|
+
}
|
527
|
+
async handleChooseWidget() {
|
528
|
+
const result = await this.templateProvider.chooseTemplate();
|
529
|
+
if (result) {
|
530
|
+
this.designerService.update({
|
531
|
+
mode: 'update',
|
532
|
+
values: { options: { templateId: result.id } },
|
533
|
+
widget: this.node,
|
534
|
+
});
|
535
|
+
}
|
536
|
+
}
|
537
|
+
get __class() {
|
538
|
+
const cls = {};
|
539
|
+
//
|
540
|
+
cls[`ax-w-full`] = true;
|
541
|
+
cls[`ax-widget-outline`] = true;
|
542
|
+
//
|
543
|
+
cls[`ax-block`] = true;
|
544
|
+
return cls;
|
545
|
+
}
|
546
|
+
onContextMenu(context) {
|
547
|
+
const items = [
|
548
|
+
AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU
|
549
|
+
];
|
550
|
+
items[items.length - 1].break = true;
|
551
|
+
context.items.unshift(...items);
|
552
|
+
}
|
553
|
+
async executeCommand(command) {
|
554
|
+
switch (command.name) {
|
555
|
+
case AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU.name:
|
556
|
+
await this.handleChooseWidget();
|
557
|
+
break;
|
558
|
+
}
|
559
|
+
return Promise.resolve();
|
560
|
+
}
|
561
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
562
|
+
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: [
|
1030
563
|
{
|
1031
|
-
|
1032
|
-
|
1033
|
-
},
|
1034
|
-
],
|
564
|
+
provide: AXPTemplateWidgetDesignerComponent,
|
565
|
+
useExisting: AXPContainerWidgetComponent,
|
566
|
+
},
|
567
|
+
], usesInheritance: true, ngImport: i0, template: `
|
568
|
+
@if(nodes().length) {
|
569
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
570
|
+
@for (node of nodes(); track $index) {
|
571
|
+
<ng-container axp-widget-designer-renderer [locked]="true" [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
572
|
+
}
|
573
|
+
<div
|
574
|
+
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]"
|
575
|
+
>
|
576
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
577
|
+
</div>
|
578
|
+
</div>
|
579
|
+
} @else {
|
580
|
+
<axp-designer-add-widget-mini-button
|
581
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
582
|
+
(onClick)="handleChooseWidget()"
|
583
|
+
>
|
584
|
+
</axp-designer-add-widget-mini-button>
|
585
|
+
}
|
586
|
+
`, 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 }); }
|
587
|
+
}
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTemplateWidgetDesignerComponent, decorators: [{
|
589
|
+
type: Component,
|
590
|
+
args: [{
|
591
|
+
selector: 'axp-template-widget-designer',
|
592
|
+
template: `
|
593
|
+
@if(nodes().length) {
|
594
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
595
|
+
@for (node of nodes(); track $index) {
|
596
|
+
<ng-container axp-widget-designer-renderer [locked]="true" [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
597
|
+
}
|
598
|
+
<div
|
599
|
+
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]"
|
600
|
+
>
|
601
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
602
|
+
</div>
|
603
|
+
</div>
|
604
|
+
} @else {
|
605
|
+
<axp-designer-add-widget-mini-button
|
606
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
607
|
+
(onClick)="handleChooseWidget()"
|
608
|
+
>
|
609
|
+
</axp-designer-add-widget-mini-button>
|
610
|
+
}
|
611
|
+
`,
|
612
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
613
|
+
imports: [
|
614
|
+
CommonModule,
|
615
|
+
AXPLayoutBuilderModule,
|
616
|
+
AXPWidgetDesignerRendererDirective,
|
617
|
+
AXPDesignerAddWidgetMiniButtonComponent,
|
618
|
+
],
|
619
|
+
providers: [
|
620
|
+
{
|
621
|
+
provide: AXPTemplateWidgetDesignerComponent,
|
622
|
+
useExisting: AXPContainerWidgetComponent,
|
623
|
+
},
|
624
|
+
]
|
625
|
+
}]
|
626
|
+
}], ctorParameters: () => [], propDecorators: { __class: [{
|
627
|
+
type: HostBinding,
|
628
|
+
args: ['class']
|
629
|
+
}] } });
|
630
|
+
|
631
|
+
var templateWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
632
|
+
__proto__: null,
|
633
|
+
AXPTemplateWidgetDesignerComponent: AXPTemplateWidgetDesignerComponent,
|
634
|
+
AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU: AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU
|
635
|
+
});
|
636
|
+
|
637
|
+
const AXPTemplateWidget = {
|
638
|
+
name: 'template',
|
639
|
+
title: 'Template',
|
640
|
+
type: 'container',
|
641
|
+
icon: 'fa-solid fa-file-invoice',
|
642
|
+
group: AXP_WIDGETS_ADVANCE_GROUP,
|
643
|
+
visible: true,
|
644
|
+
options: {
|
645
|
+
canInsert: false,
|
1035
646
|
},
|
1036
|
-
|
647
|
+
properties: [
|
648
|
+
AXP_NAME_PROPERTY,
|
649
|
+
AXP_DATA_PATH_PROPERTY,
|
650
|
+
createStringProperty({
|
651
|
+
name: 'options.templateId',
|
652
|
+
title: 'Template',
|
653
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
654
|
+
visible: false,
|
655
|
+
}),
|
656
|
+
],
|
657
|
+
components: {
|
658
|
+
view: {
|
659
|
+
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
660
|
+
},
|
661
|
+
edit: {
|
662
|
+
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component-Bgx5YRBc.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
663
|
+
},
|
664
|
+
print: {
|
665
|
+
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
666
|
+
},
|
667
|
+
designer: {
|
668
|
+
component: () => Promise.resolve().then(function () { return templateWidgetDesigner_component; }).then((c) => c.AXPTemplateWidgetDesignerComponent),
|
669
|
+
},
|
670
|
+
},
|
671
|
+
};
|
672
|
+
|
673
|
+
function routesFacory() {
|
674
|
+
const routes = [
|
675
|
+
{
|
676
|
+
path: 'forms',
|
677
|
+
children: [
|
678
|
+
{
|
679
|
+
path: 'designer',
|
680
|
+
loadComponent: () => import('./acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs').then((c) => c.AXMFormTemplateManagementModuleDesignerPage),
|
681
|
+
},
|
682
|
+
{
|
683
|
+
path: 'preview',
|
684
|
+
loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),
|
685
|
+
},
|
686
|
+
{
|
687
|
+
path: 'viewer',
|
688
|
+
loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),
|
689
|
+
},
|
690
|
+
],
|
691
|
+
},
|
692
|
+
];
|
693
|
+
return routes;
|
694
|
+
}
|
1037
695
|
class AXMFormTemplateManagementModule {
|
1038
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1039
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
697
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, imports: [AXPWidgetsModule,
|
1040
698
|
AXMFormTemplateManagementCategoryEntityModule,
|
1041
|
-
AXMFormTemplateManagementTemplateEntityModule, i2
|
1042
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
699
|
+
AXMFormTemplateManagementTemplateEntityModule, i2.AXPLayoutBuilderModule, i2$1.AXPWorkflowModule] }); }
|
700
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, providers: [
|
701
|
+
{
|
702
|
+
provide: ROUTES,
|
703
|
+
multi: true,
|
704
|
+
useFactory: routesFacory,
|
705
|
+
},
|
1043
706
|
{
|
1044
707
|
provide: AXP_ENTITY_DEFINITION_LOADER,
|
1045
708
|
useClass: AXMFormTemplateManagementModuleEntityProvider,
|
@@ -1059,13 +722,13 @@ class AXMFormTemplateManagementModule {
|
|
1059
722
|
useClass: AXPTemplateWidgetProviderImpl,
|
1060
723
|
multi: true,
|
1061
724
|
}
|
1062
|
-
], imports: [
|
1063
|
-
AXPWidgetsModule,
|
725
|
+
], imports: [AXPWidgetsModule,
|
1064
726
|
AXMFormTemplateManagementCategoryEntityModule,
|
1065
727
|
AXMFormTemplateManagementTemplateEntityModule,
|
1066
728
|
AXPLayoutBuilderModule.forChild({
|
1067
729
|
widgets: [
|
1068
|
-
AXPTemplateDesignerWidget
|
730
|
+
AXPTemplateDesignerWidget,
|
731
|
+
AXPTemplateWidget
|
1069
732
|
]
|
1070
733
|
}),
|
1071
734
|
AXPWorkflowModule.forChild({
|
@@ -1078,17 +741,17 @@ class AXMFormTemplateManagementModule {
|
|
1078
741
|
}
|
1079
742
|
})] }); }
|
1080
743
|
}
|
1081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModule, decorators: [{
|
1082
745
|
type: NgModule,
|
1083
746
|
args: [{
|
1084
747
|
imports: [
|
1085
|
-
RouterModule.forChild(routes),
|
1086
748
|
AXPWidgetsModule,
|
1087
749
|
AXMFormTemplateManagementCategoryEntityModule,
|
1088
750
|
AXMFormTemplateManagementTemplateEntityModule,
|
1089
751
|
AXPLayoutBuilderModule.forChild({
|
1090
752
|
widgets: [
|
1091
|
-
AXPTemplateDesignerWidget
|
753
|
+
AXPTemplateDesignerWidget,
|
754
|
+
AXPTemplateWidget
|
1092
755
|
]
|
1093
756
|
}),
|
1094
757
|
AXPWorkflowModule.forChild({
|
@@ -1104,6 +767,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
1104
767
|
exports: [],
|
1105
768
|
declarations: [],
|
1106
769
|
providers: [
|
770
|
+
{
|
771
|
+
provide: ROUTES,
|
772
|
+
multi: true,
|
773
|
+
useFactory: routesFacory,
|
774
|
+
},
|
1107
775
|
{
|
1108
776
|
provide: AXP_ENTITY_DEFINITION_LOADER,
|
1109
777
|
useClass: AXMFormTemplateManagementModuleEntityProvider,
|
@@ -1131,5 +799,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
1131
799
|
* Generated bundle index. Do not edit.
|
1132
800
|
*/
|
1133
801
|
|
1134
|
-
export { AXMFormTemplateManagementModule };
|
802
|
+
export { AXMFormTemplateManagementCategoryEntityModule, AXMFormTemplateManagementCategoryEntityService, AXMFormTemplateManagementCategoryEntityServiceImpl, AXMFormTemplateManagementModule, AXMFormTemplateManagementModuleConst, AXMFormTemplateManagementTemplateEntityModule, AXMFormTemplateManagementTemplateEntityService, AXMFormTemplateManagementTemplateEntityServiceImpl, AXMFormTemplateTypes, AXPTemplateWidget, AXPTemplateWidgetDesignerComponent, AXPTemplateWidgetProviderService, AXPTemplateWidgetViewComponent, AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU, AXP_TEMPLATE_WIDGET_PROVIDER };
|
1135
803
|
//# sourceMappingURL=acorex-modules-form-template-management.mjs.map
|