@acorex/modules 18.2.0 → 18.2.2
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/application-management.source.d.ts +1 -0
- package/application-management/lib/const.d.ts +5 -0
- package/application-management/lib/menu.provider.d.ts +3 -3
- package/application-management/lib/services/application-module-management.service.d.ts +10 -0
- package/application-management/lib/services/edition-management.service.d.ts +10 -0
- package/application-management/lib/services/entity-management.service.d.ts +10 -0
- package/application-management/lib/services/feature-management.service.d.ts +10 -0
- package/application-management/lib/services/permission-management.service.d.ts +10 -0
- package/application-management/lib/services/property-management.service.d.ts +10 -0
- package/auth/lib/auth.config.d.ts +6 -0
- package/auth/lib/login/password/password.component.d.ts +1 -0
- package/auth/lib/menu.provider.d.ts +2 -3
- package/conversation/index.d.ts +15 -4
- package/conversation/lib/const.d.ts +7 -0
- package/conversation/lib/conversation.module.d.ts +3 -3
- package/conversation/lib/entities/chat/chat.module.d.ts +29 -0
- package/conversation/lib/entities/chat/chat.service.d.ts +14 -0
- package/conversation/lib/entities/chat/chat.type.d.ts +22 -0
- package/conversation/lib/entities/chat/components/chat-item/chat-item.component.d.ts +16 -0
- package/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.d.ts +5 -0
- package/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.d.ts +12 -0
- package/conversation/lib/entities/chat/components/chat-preview/chat-preview.component.d.ts +31 -0
- package/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.d.ts +7 -0
- package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +23 -0
- package/conversation/lib/{comments → entities/comments}/comment.module.d.ts +1 -1
- package/{platform-management/lib/comments/comment-management.service.d.ts → conversation/lib/entities/comments/comments.service.d.ts} +7 -4
- package/conversation/lib/{comments → entities/comments/pages}/comment-list-view.component.d.ts +1 -1
- package/esm2022/application-management/lib/application-management.module.mjs +36 -1
- package/esm2022/application-management/lib/application-management.source.mjs +2 -1
- package/esm2022/application-management/lib/const.mjs +6 -0
- package/esm2022/application-management/lib/entities/application-module.entity.mjs +10 -13
- package/esm2022/application-management/lib/entities/edition.entity.mjs +10 -13
- package/esm2022/application-management/lib/entities/entity.entity.mjs +10 -13
- package/esm2022/application-management/lib/entities/feature.entity.mjs +10 -13
- package/esm2022/application-management/lib/entities/modules.entity.mjs +2 -2
- package/esm2022/application-management/lib/entities/permission.entity.mjs +10 -13
- package/esm2022/application-management/lib/entities/property.entity.mjs +10 -13
- package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +5 -4
- package/esm2022/application-management/lib/menu.provider.mjs +17 -19
- package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +3 -3
- package/esm2022/application-management/lib/services/application-module-management.service.mjs +17 -0
- package/esm2022/application-management/lib/services/edition-management.service.mjs +17 -0
- package/esm2022/application-management/lib/services/entity-management.service.mjs +17 -0
- package/esm2022/application-management/lib/services/feature-management.service.mjs +17 -0
- package/esm2022/application-management/lib/services/permission-management.service.mjs +17 -0
- package/esm2022/application-management/lib/services/property-management.service.mjs +17 -0
- package/esm2022/auth/lib/account/account.module.mjs +6 -2
- package/esm2022/auth/lib/account/app-chooser/app-chooser.component.mjs +3 -3
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser.component.mjs +3 -3
- package/esm2022/auth/lib/auth.config.mjs +1 -1
- package/esm2022/auth/lib/forgot/password/password.component.mjs +2 -2
- package/esm2022/auth/lib/login/password/password.component.mjs +6 -3
- package/esm2022/auth/lib/menu.provider.mjs +32 -44
- package/esm2022/auth/lib/two-factor/two-factor-code/two-factor-code.component.mjs +2 -2
- package/esm2022/backend/lib/data/api/data-provider.mjs +7 -2
- package/esm2022/conversation/index.mjs +16 -5
- package/esm2022/conversation/lib/const.mjs +8 -0
- package/esm2022/conversation/lib/conversation.module.mjs +7 -7
- package/esm2022/conversation/lib/entities/chat/chat.module.mjs +141 -0
- package/esm2022/conversation/lib/entities/chat/chat.service.mjs +23 -0
- package/esm2022/conversation/lib/entities/chat/chat.type.mjs +2 -0
- package/esm2022/conversation/lib/entities/chat/components/chat-item/chat-item.component.mjs +53 -0
- package/esm2022/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.mjs +13 -0
- package/esm2022/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.mjs +28 -0
- package/esm2022/conversation/lib/entities/chat/components/chat-preview/chat-preview.component.mjs +124 -0
- package/esm2022/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.mjs +22 -0
- package/esm2022/conversation/lib/entities/chat/pages/chat/chat.component.mjs +80 -0
- package/esm2022/conversation/lib/entities/comments/comment.module.mjs +100 -0
- package/esm2022/conversation/lib/entities/comments/comments.service.mjs +21 -0
- package/esm2022/conversation/lib/entities/comments/comments.type.mjs +2 -0
- package/esm2022/conversation/lib/entities/comments/pages/comment-list-view.component.mjs +392 -0
- package/esm2022/conversation/lib/{comments → entities/comments/pages}/comment-lookup-popup.component.mjs +1 -1
- package/esm2022/form-template-management/acorex-modules-form-template-management.mjs +5 -0
- package/esm2022/form-template-management/index.mjs +2 -0
- package/esm2022/form-template-management/lib/components/widgets/template-designer/index.mjs +3 -0
- package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget-view.component.mjs +44 -0
- package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget.config.mjs +23 -0
- package/esm2022/form-template-management/lib/const.mjs +8 -0
- package/esm2022/form-template-management/lib/entities/category/category.entity.mjs +241 -0
- package/esm2022/form-template-management/lib/entities/category/category.module.mjs +28 -0
- package/esm2022/form-template-management/lib/entities/category/category.service.mjs +17 -0
- package/esm2022/form-template-management/lib/entities/category/category.types.mjs +2 -0
- package/esm2022/form-template-management/lib/entities/category/index.mjs +5 -0
- package/esm2022/form-template-management/lib/entities/template/index.mjs +5 -0
- package/esm2022/form-template-management/lib/entities/template/template.entity.mjs +434 -0
- package/esm2022/form-template-management/lib/entities/template/template.module.mjs +28 -0
- package/esm2022/form-template-management/lib/entities/template/template.service.mjs +17 -0
- package/esm2022/form-template-management/lib/entities/template/template.types.mjs +2 -0
- package/esm2022/form-template-management/lib/entity.provider.mjs +25 -0
- package/esm2022/form-template-management/lib/form-template-management.module.mjs +133 -0
- package/esm2022/form-template-management/lib/menu.provider.mjs +32 -0
- package/esm2022/form-template-management/lib/pages/designer/designer.page.mjs +29 -0
- package/esm2022/form-template-management/lib/services/designer-connector.service.mjs +33 -0
- package/esm2022/form-template-management/lib/services/template.provider.mjs +31 -0
- package/esm2022/form-template-management/lib/workflows/create-template.workflow.mjs +40 -0
- package/esm2022/form-template-management/lib/workflows/design-template.workflow.mjs +32 -0
- package/esm2022/localization-management/acorex-modules-localization-management.mjs +5 -0
- package/esm2022/localization-management/index.mjs +8 -0
- package/esm2022/localization-management/lib/const.mjs +9 -0
- package/esm2022/localization-management/lib/culture/culture.entity.mjs +239 -0
- package/esm2022/localization-management/lib/culture/culture.service.mjs +17 -0
- package/esm2022/localization-management/lib/culture/culture.types.mjs +2 -0
- package/esm2022/localization-management/lib/culture/index.mjs +4 -0
- package/esm2022/localization-management/lib/entity.loader.mjs +36 -0
- package/esm2022/localization-management/lib/language/index.mjs +4 -0
- package/esm2022/localization-management/lib/language/language-slot/language-slot.component.mjs +30 -0
- package/esm2022/localization-management/lib/language/language.entity.mjs +239 -0
- package/esm2022/localization-management/lib/language/language.service.mjs +17 -0
- package/esm2022/localization-management/lib/language/language.types.mjs +2 -0
- package/esm2022/localization-management/lib/localization-management.module.mjs +99 -0
- package/esm2022/localization-management/lib/localization-management.source.mjs +4 -0
- package/esm2022/localization-management/lib/localization-store.service.mjs +34 -0
- package/esm2022/localization-management/lib/menu.provider.mjs +44 -0
- package/esm2022/localization-management/lib/time-zone/index.mjs +4 -0
- package/esm2022/localization-management/lib/time-zone/time-zone.entity.mjs +256 -0
- package/esm2022/localization-management/lib/time-zone/time-zone.service.mjs +17 -0
- package/esm2022/localization-management/lib/time-zone/time-zone.types.mjs +2 -0
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +3 -3
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +3 -3
- package/esm2022/notification-management/lib/const.mjs +9 -0
- package/esm2022/notification-management/lib/entities/my-notification.mjs +8 -15
- package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +3 -3
- package/esm2022/notification-management/lib/entities/notification-template.entity.mjs +4 -4
- package/esm2022/notification-management/lib/entities/notification.entity.mjs +4 -4
- package/esm2022/notification-management/lib/menu.provider.mjs +37 -40
- package/esm2022/platform-management/index.mjs +2 -3
- package/esm2022/platform-management/lib/common/common.module.mjs +65 -0
- package/esm2022/platform-management/lib/common/common.source.mjs +5 -0
- package/esm2022/platform-management/lib/common/country/country-datasource.provider.mjs +27 -0
- package/esm2022/platform-management/lib/common/country/country.entity.mjs +696 -0
- package/esm2022/platform-management/lib/common/country/country.service.mjs +17 -0
- package/esm2022/platform-management/lib/common/country/country.types.mjs +2 -0
- package/esm2022/platform-management/lib/common/country/index.mjs +4 -0
- package/esm2022/platform-management/lib/common/currency/currency.entity.mjs +283 -0
- package/esm2022/platform-management/lib/common/currency/currency.service.mjs +17 -0
- package/esm2022/platform-management/lib/common/currency/currency.types.mjs +2 -0
- package/esm2022/platform-management/lib/common/currency/index.mjs +4 -0
- package/esm2022/platform-management/lib/common/entity.loader.mjs +36 -0
- package/esm2022/platform-management/lib/common/index.mjs +5 -0
- package/esm2022/platform-management/lib/common/province/index.mjs +4 -0
- package/esm2022/platform-management/lib/common/province/province.entity.mjs +307 -0
- package/esm2022/platform-management/lib/common/province/province.service.mjs +17 -0
- package/esm2022/platform-management/lib/common/province/province.types.mjs +2 -0
- package/esm2022/platform-management/lib/const.mjs +12 -0
- package/esm2022/platform-management/lib/global-variables/entities/global-variable.entity.mjs +58 -7
- package/esm2022/platform-management/lib/global-variables/entity.loader.mjs +8 -11
- package/esm2022/platform-management/lib/menu.provider.mjs +56 -34
- package/esm2022/platform-management/lib/platform-management.module.mjs +11 -32
- package/esm2022/setting-management/acorex-modules-setting-management.mjs +5 -0
- package/esm2022/setting-management/index.mjs +5 -0
- package/esm2022/setting-management/lib/const.mjs +7 -0
- package/esm2022/setting-management/lib/entities/index.mjs +2 -0
- package/esm2022/setting-management/lib/entities/setting/index.mjs +5 -0
- package/esm2022/setting-management/lib/entities/setting/setting.entity.mjs +244 -0
- package/esm2022/setting-management/lib/entities/setting/setting.module.mjs +28 -0
- package/esm2022/setting-management/lib/entities/setting/setting.service.mjs +17 -0
- package/esm2022/setting-management/lib/entities/setting/setting.types.mjs +2 -0
- package/esm2022/setting-management/lib/entity.provider.mjs +25 -0
- package/esm2022/setting-management/lib/menu.provider.mjs +32 -0
- package/esm2022/setting-management/lib/setting-management.module.mjs +44 -0
- package/esm2022/text-template-management/acorex-modules-text-template-management.mjs +5 -0
- package/esm2022/text-template-management/index.mjs +6 -0
- package/esm2022/text-template-management/lib/const.mjs +8 -0
- package/esm2022/text-template-management/lib/entities/category/category.entity.mjs +257 -0
- package/esm2022/text-template-management/lib/entities/category/category.module.mjs +28 -0
- package/esm2022/text-template-management/lib/entities/category/category.service.mjs +17 -0
- package/esm2022/text-template-management/lib/entities/category/category.types.mjs +2 -0
- package/esm2022/text-template-management/lib/entities/category/index.mjs +5 -0
- package/esm2022/text-template-management/lib/entities/index.mjs +3 -0
- package/esm2022/text-template-management/lib/entities/template/index.mjs +5 -0
- package/esm2022/text-template-management/lib/entities/template/template.entity.mjs +405 -0
- package/esm2022/text-template-management/lib/entities/template/template.module.mjs +28 -0
- package/esm2022/text-template-management/lib/entities/template/template.service.mjs +17 -0
- package/esm2022/text-template-management/lib/entities/template/template.types.mjs +2 -0
- package/esm2022/text-template-management/lib/entity.provider.mjs +29 -0
- package/esm2022/text-template-management/lib/menu.provider.mjs +37 -0
- package/esm2022/text-template-management/lib/setting.provider.mjs +48 -0
- package/esm2022/text-template-management/lib/text-template-management.module.mjs +56 -0
- package/fesm2022/{acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs → acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs} +5 -5
- package/fesm2022/{acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs.map → acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +356 -257
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D2WBJhj6.mjs → acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs} +46 -52
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-B7BwymT_.mjs → acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs} +5 -5
- package/fesm2022/acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-BjvPlYQZ.mjs → acorex-modules-auth-login.module-Bir7SJ8b.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-BjvPlYQZ.mjs.map → acorex-modules-auth-login.module-Bir7SJ8b.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CeqMPrx8.mjs → acorex-modules-auth-master.layout-DwijDvUp.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-master.layout-CeqMPrx8.mjs.map → acorex-modules-auth-master.layout-DwijDvUp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-87NrYq3i.mjs → acorex-modules-auth-password.component-C1S8V4Bw.mjs} +9 -6
- package/fesm2022/acorex-modules-auth-password.component-C1S8V4Bw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-X3BUidi1.mjs → acorex-modules-auth-password.component-CuLQNJ-W.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-password.component-X3BUidi1.mjs.map → acorex-modules-auth-password.component-CuLQNJ-W.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-D1JZT2cF.mjs → acorex-modules-auth-routes-ILpWODmz.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-D1JZT2cF.mjs.map → acorex-modules-auth-routes-ILpWODmz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs +83 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs → acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs.map → acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-C28ix6Wr.mjs → acorex-modules-auth-two-factor.module-bgwR1LBc.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-C28ix6Wr.mjs.map → acorex-modules-auth-two-factor.module-bgwR1LBc.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-backend.mjs +7 -2
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +501 -44
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs +32 -0
- package/fesm2022/acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +1135 -0
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-localization-management.mjs +1025 -0
- package/fesm2022/acorex-modules-localization-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +64 -67
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1424 -201
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-setting-management.mjs +393 -0
- package/fesm2022/acorex-modules-setting-management.mjs.map +1 -0
- package/fesm2022/{acorex-modules-template-management.mjs → acorex-modules-text-template-management.mjs} +317 -506
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -0
- package/form-template-management/README.md +4 -0
- package/form-template-management/index.d.ts +1 -0
- package/form-template-management/lib/components/widgets/template-designer/index.d.ts +2 -0
- package/form-template-management/lib/components/widgets/template-designer/template-designer-widget-view.component.d.ts +8 -0
- package/form-template-management/lib/components/widgets/template-designer/template-designer-widget.config.d.ts +7 -0
- package/form-template-management/lib/const.d.ts +7 -0
- package/form-template-management/lib/entities/category/category.entity.d.ts +3 -0
- package/form-template-management/lib/entities/category/category.module.d.ts +6 -0
- package/form-template-management/lib/entities/category/category.service.d.ts +10 -0
- package/form-template-management/lib/entities/category/category.types.d.ts +5 -0
- package/form-template-management/lib/entities/category/index.d.ts +4 -0
- package/form-template-management/lib/entities/template/index.d.ts +4 -0
- package/form-template-management/lib/entities/template/template.entity.d.ts +3 -0
- package/form-template-management/lib/entities/template/template.module.d.ts +6 -0
- package/form-template-management/lib/entities/template/template.service.d.ts +10 -0
- package/form-template-management/lib/entities/template/template.types.d.ts +7 -0
- package/form-template-management/lib/entity.provider.d.ts +9 -0
- package/form-template-management/lib/form-template-management.module.d.ts +12 -0
- package/form-template-management/lib/menu.provider.d.ts +5 -0
- package/form-template-management/lib/pages/designer/designer.page.d.ts +7 -0
- package/form-template-management/lib/services/designer-connector.service.d.ts +7 -0
- package/form-template-management/lib/services/template.provider.d.ts +8 -0
- package/form-template-management/lib/workflows/create-template.workflow.d.ts +2 -0
- package/form-template-management/lib/workflows/design-template.workflow.d.ts +9 -0
- package/localization-management/README.md +4 -0
- package/localization-management/index.d.ts +7 -0
- package/localization-management/lib/const.d.ts +8 -0
- package/localization-management/lib/culture/culture.entity.d.ts +3 -0
- package/localization-management/lib/culture/culture.service.d.ts +10 -0
- package/localization-management/lib/culture/culture.types.d.ts +12 -0
- package/localization-management/lib/culture/index.d.ts +3 -0
- package/localization-management/lib/entity.loader.d.ts +9 -0
- package/localization-management/lib/language/index.d.ts +3 -0
- package/localization-management/lib/language/language-slot/language-slot.component.d.ts +19 -0
- package/localization-management/lib/localization-management.module.d.ts +10 -0
- package/localization-management/lib/localization-management.source.d.ts +3 -0
- package/localization-management/lib/localization-store.service.d.ts +7 -0
- package/localization-management/lib/menu.provider.d.ts +5 -0
- package/localization-management/lib/time-zone/index.d.ts +3 -0
- package/{template-management/lib/entities/text-template.entity.d.ts → localization-management/lib/time-zone/time-zone.entity.d.ts} +1 -1
- package/localization-management/lib/time-zone/time-zone.service.d.ts +10 -0
- package/localization-management/lib/time-zone/time-zone.types.d.ts +9 -0
- package/notification-management/lib/const.d.ts +8 -0
- package/notification-management/lib/menu.provider.d.ts +3 -3
- package/package.json +34 -22
- package/platform-management/index.d.ts +1 -2
- package/platform-management/lib/common/common.module.d.ts +6 -0
- package/platform-management/lib/common/common.source.d.ts +4 -0
- package/platform-management/lib/common/country/country-datasource.provider.d.ts +5 -0
- package/platform-management/lib/common/country/country.entity.d.ts +3 -0
- package/platform-management/lib/common/country/country.service.d.ts +10 -0
- package/platform-management/lib/common/country/country.types.d.ts +18 -0
- package/platform-management/lib/common/country/index.d.ts +3 -0
- package/platform-management/lib/common/currency/currency.entity.d.ts +3 -0
- package/platform-management/lib/common/currency/currency.service.d.ts +10 -0
- package/platform-management/lib/common/currency/currency.types.d.ts +6 -0
- package/platform-management/lib/common/currency/index.d.ts +3 -0
- package/{template-management/lib → platform-management/lib/common}/entity.loader.d.ts +3 -3
- package/platform-management/lib/common/index.d.ts +4 -0
- package/platform-management/lib/common/province/index.d.ts +3 -0
- package/platform-management/lib/common/province/province.entity.d.ts +3 -0
- package/platform-management/lib/common/province/province.service.d.ts +10 -0
- package/platform-management/lib/common/province/province.types.d.ts +7 -0
- package/platform-management/lib/const.d.ts +11 -0
- package/platform-management/lib/menu.provider.d.ts +3 -3
- package/platform-management/lib/platform-management.module.d.ts +2 -1
- package/setting-management/README.md +3 -0
- package/setting-management/index.d.ts +4 -0
- package/setting-management/lib/const.d.ts +6 -0
- package/setting-management/lib/entities/index.d.ts +1 -0
- package/setting-management/lib/entities/setting/index.d.ts +4 -0
- package/setting-management/lib/entities/setting/setting.entity.d.ts +3 -0
- package/setting-management/lib/entities/setting/setting.module.d.ts +6 -0
- package/setting-management/lib/entities/setting/setting.service.d.ts +10 -0
- package/setting-management/lib/entities/setting/setting.types.d.ts +5 -0
- package/setting-management/lib/entity.provider.d.ts +9 -0
- package/setting-management/lib/menu.provider.d.ts +5 -0
- package/setting-management/lib/setting-management.module.d.ts +7 -0
- package/text-template-management/README.md +3 -0
- package/text-template-management/index.d.ts +5 -0
- package/text-template-management/lib/const.d.ts +7 -0
- package/text-template-management/lib/entities/category/category.entity.d.ts +3 -0
- package/text-template-management/lib/entities/category/category.module.d.ts +6 -0
- package/text-template-management/lib/entities/category/category.service.d.ts +10 -0
- package/text-template-management/lib/entities/category/category.types.d.ts +5 -0
- package/text-template-management/lib/entities/category/index.d.ts +4 -0
- package/text-template-management/lib/entities/index.d.ts +2 -0
- package/text-template-management/lib/entities/template/index.d.ts +4 -0
- package/text-template-management/lib/entities/template/template.entity.d.ts +3 -0
- package/text-template-management/lib/entities/template/template.module.d.ts +6 -0
- package/text-template-management/lib/entities/template/template.service.d.ts +10 -0
- package/text-template-management/lib/entities/template/template.types.d.ts +9 -0
- package/text-template-management/lib/entity.provider.d.ts +9 -0
- package/text-template-management/lib/menu.provider.d.ts +5 -0
- package/text-template-management/lib/setting.provider.d.ts +4 -0
- package/text-template-management/lib/text-template-management.module.d.ts +8 -0
- package/conversation/lib/comments/comments.service.d.ts +0 -5
- package/esm2022/conversation/lib/comments/comment-list-view.component.mjs +0 -393
- package/esm2022/conversation/lib/comments/comment.module.mjs +0 -89
- package/esm2022/conversation/lib/comments/comments.service.mjs +0 -4
- package/esm2022/conversation/lib/comments/comments.type.mjs +0 -2
- package/esm2022/form-management/acorex-modules-form-management.mjs +0 -5
- package/esm2022/form-management/index.mjs +0 -2
- package/esm2022/form-management/lib/designer/designer.page.mjs +0 -24
- package/esm2022/form-management/lib/form-management.module.mjs +0 -53
- package/esm2022/form-management/lib/menu.provider.mjs +0 -35
- package/esm2022/platform-management/lib/comments/comment-management.service.mjs +0 -18
- package/esm2022/platform-management/lib/languages/entities/language.entity.mjs +0 -234
- package/esm2022/platform-management/lib/languages/entity.loader.mjs +0 -26
- package/esm2022/platform-management/lib/languages/index.mjs +0 -5
- package/esm2022/platform-management/lib/languages/language-management.service.mjs +0 -16
- package/esm2022/platform-management/lib/languages/language.types.mjs +0 -2
- package/esm2022/template-management/acorex-modules-template-management.mjs +0 -5
- package/esm2022/template-management/index.mjs +0 -8
- package/esm2022/template-management/lib/entities/category.entity.mjs +0 -234
- package/esm2022/template-management/lib/entities/index.mjs +0 -4
- package/esm2022/template-management/lib/entities/template-variable.entity.mjs +0 -308
- package/esm2022/template-management/lib/entities/text-template.entity.mjs +0 -386
- package/esm2022/template-management/lib/entity.loader.mjs +0 -36
- package/esm2022/template-management/lib/menu.provider.mjs +0 -43
- package/esm2022/template-management/lib/template-management.module.mjs +0 -61
- package/esm2022/template-management/lib/template-management.types.mjs +0 -2
- package/esm2022/template-management/lib/template.service.mjs +0 -17
- package/esm2022/template-management/lib/text-management.source.mjs +0 -3
- package/esm2022/template-management/lib/text-template-category.service.mjs +0 -17
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-D2WBJhj6.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-B7BwymT_.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-87NrYq3i.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs +0 -83
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs +0 -27
- package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-management.mjs +0 -93
- package/fesm2022/acorex-modules-form-management.mjs.map +0 -1
- package/fesm2022/acorex-modules-template-management.mjs.map +0 -1
- package/form-management/README.md +0 -4
- package/form-management/index.d.ts +0 -1
- package/form-management/lib/designer/designer.page.d.ts +0 -5
- package/form-management/lib/form-management.module.d.ts +0 -8
- package/form-management/lib/menu.provider.d.ts +0 -5
- package/platform-management/lib/languages/entity.loader.d.ts +0 -9
- package/platform-management/lib/languages/index.d.ts +0 -4
- package/template-management/README.md +0 -3
- package/template-management/index.d.ts +0 -7
- package/template-management/lib/entities/category.entity.d.ts +0 -3
- package/template-management/lib/entities/index.d.ts +0 -3
- package/template-management/lib/entities/template-variable.entity.d.ts +0 -3
- package/template-management/lib/menu.provider.d.ts +0 -5
- package/template-management/lib/template-management.module.d.ts +0 -6
- package/template-management/lib/template-management.types.d.ts +0 -19
- package/template-management/lib/template.service.d.ts +0 -10
- package/template-management/lib/text-management.source.d.ts +0 -2
- package/template-management/lib/text-template-category.service.d.ts +0 -10
- /package/conversation/lib/{comments → entities/comments}/comments.type.d.ts +0 -0
- /package/conversation/lib/{comments → entities/comments/pages}/comment-lookup-popup.component.d.ts +0 -0
- /package/{platform-management/lib/languages/entities → localization-management/lib/language}/language.entity.d.ts +0 -0
- /package/{platform-management/lib/languages/language-management.service.d.ts → localization-management/lib/language/language.service.d.ts} +0 -0
- /package/{platform-management/lib/languages → localization-management/lib/language}/language.types.d.ts +0 -0
@@ -1,200 +1,75 @@
|
|
1
|
-
import {
|
2
|
-
import * as i0 from '@angular/core';
|
3
|
-
import { inject, Injector, Injectable, NgModule } from '@angular/core';
|
4
|
-
import { AXMEntityCrudServiceImpl, AXP_MENU_PROVIDER, AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
|
5
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
1
|
+
import { AXMEntityCrudServiceImpl, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingDefinitionItemType, AXP_MENU_PROVIDER, AXP_SETTING_PROVIDER } from '@acorex/platform/common';
|
6
2
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
3
|
+
import * as i0 from '@angular/core';
|
4
|
+
import { Injectable, NgModule, inject, Injector } from '@angular/core';
|
5
|
+
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
case 'template': {
|
16
|
-
const entity = (await Promise.resolve().then(function () { return textTemplate_entity; })).templateEntityFactory;
|
17
|
-
resolve(entity(this.injector));
|
18
|
-
break;
|
19
|
-
}
|
20
|
-
case 'variable': {
|
21
|
-
const entity = (await Promise.resolve().then(function () { return templateVariable_entity; })).textTemplateVariableEntityFactory;
|
22
|
-
resolve(entity(this.injector));
|
23
|
-
break;
|
24
|
-
}
|
25
|
-
case 'category': {
|
26
|
-
const entity = (await Promise.resolve().then(function () { return category_entity; })).textTemplateCategoryEntityFactory;
|
27
|
-
resolve(entity(this.injector));
|
28
|
-
break;
|
29
|
-
}
|
30
|
-
default:
|
31
|
-
resolve(null);
|
32
|
-
}
|
33
|
-
});
|
34
|
-
}
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateModuleEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateModuleEntityLoader }); }
|
37
|
-
}
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateModuleEntityLoader, decorators: [{
|
39
|
-
type: Injectable
|
40
|
-
}] });
|
41
|
-
|
42
|
-
const TEMPLATE_SOURCE_NAME = 'template-management.template';
|
43
|
-
const CATEGORY_SOURCE_NAME = 'template-management.category';
|
7
|
+
const AXMTextTemplateManagementModuleConst = {
|
8
|
+
moduleName: 'textTemplateManagement',
|
9
|
+
moduleRoute: 'text-template-management',
|
10
|
+
i18n: 'text-template-management',
|
11
|
+
categoryEntity: 'Category',
|
12
|
+
templateEntity: 'Template',
|
13
|
+
};
|
44
14
|
|
45
|
-
class
|
15
|
+
class AXMTextTemplateManagementCategoryEntityService extends AXMEntityCrudServiceImpl {
|
46
16
|
}
|
47
|
-
class
|
17
|
+
class AXMTextTemplateManagementCategoryEntityServiceImpl extends AXMTextTemplateManagementCategoryEntityService {
|
48
18
|
constructor() {
|
49
|
-
super(
|
19
|
+
super(`${AXMTextTemplateManagementModuleConst.moduleName}.${AXMTextTemplateManagementModuleConst.categoryEntity}`);
|
50
20
|
}
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type:
|
52
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type:
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityServiceImpl }); }
|
53
23
|
}
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type:
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityServiceImpl, decorators: [{
|
55
25
|
type: Injectable
|
56
26
|
}], ctorParameters: () => [] });
|
57
27
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
super(CATEGORY_SOURCE_NAME);
|
63
|
-
}
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateCategoryServiceImpl }); }
|
66
|
-
}
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateCategoryServiceImpl, decorators: [{
|
68
|
-
type: Injectable
|
69
|
-
}], ctorParameters: () => [] });
|
70
|
-
|
71
|
-
class AXMTextTemplateManagmentModuleMenuProvider {
|
72
|
-
constructor() {
|
73
|
-
this.translateService = inject(AXTranslationService);
|
74
|
-
}
|
75
|
-
async items() {
|
76
|
-
const scope = 'platform'; // Scope used for translation lookup
|
77
|
-
return [
|
78
|
-
{
|
79
|
-
items: [
|
80
|
-
{
|
81
|
-
priority: 9001,
|
82
|
-
text: await this.translateService.translateAsync('textTemplateManagement', { scope }),
|
83
|
-
icon: 'fa-solid fa-code',
|
84
|
-
data: {
|
85
|
-
// requiredPermission: 'demo.admin.settings',
|
86
|
-
},
|
87
|
-
children: [
|
88
|
-
{
|
89
|
-
text: await this.translateService.translateAsync('template', { scope }),
|
90
|
-
path: '/demo/m/template-management/e/template/list',
|
91
|
-
icon: 'fa-solid fa-file-code',
|
92
|
-
data: {
|
93
|
-
// requiredPermission: '',
|
94
|
-
},
|
95
|
-
},
|
96
|
-
{
|
97
|
-
text: await this.translateService.translateAsync('category', { scope }),
|
98
|
-
path: '/demo/m/template-management/e/category/list',
|
99
|
-
icon: 'fa-solid fa-layer-group',
|
100
|
-
data: {
|
101
|
-
// requiredPermission: '',
|
102
|
-
},
|
103
|
-
},
|
104
|
-
],
|
105
|
-
},
|
106
|
-
],
|
107
|
-
},
|
108
|
-
];
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
class AXMTemplateManagementModule {
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
114
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateManagementModule }); }
|
115
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateManagementModule, providers: [
|
116
|
-
{
|
117
|
-
provide: AXP_ENTITY_DEFINITION_LOADER,
|
118
|
-
useClass: AXMTemplateModuleEntityLoader,
|
119
|
-
multi: true,
|
120
|
-
},
|
121
|
-
{
|
122
|
-
provide: AXP_MENU_PROVIDER,
|
123
|
-
useClass: AXMTextTemplateManagmentModuleMenuProvider,
|
124
|
-
multi: true
|
125
|
-
},
|
126
|
-
{
|
127
|
-
provide: AXMTextTemplateService,
|
128
|
-
useClass: AXMTextTemplateServiceImpl,
|
129
|
-
},
|
130
|
-
{
|
131
|
-
provide: AXMTextTemplateCategoryService,
|
132
|
-
useClass: AXMTextTemplateCategoryServiceImpl,
|
133
|
-
},
|
134
|
-
] }); }
|
135
|
-
}
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTemplateManagementModule, decorators: [{
|
137
|
-
type: NgModule,
|
138
|
-
args: [{
|
139
|
-
imports: [],
|
140
|
-
exports: [],
|
141
|
-
declarations: [],
|
142
|
-
providers: [
|
143
|
-
{
|
144
|
-
provide: AXP_ENTITY_DEFINITION_LOADER,
|
145
|
-
useClass: AXMTemplateModuleEntityLoader,
|
146
|
-
multi: true,
|
147
|
-
},
|
148
|
-
{
|
149
|
-
provide: AXP_MENU_PROVIDER,
|
150
|
-
useClass: AXMTextTemplateManagmentModuleMenuProvider,
|
151
|
-
multi: true
|
152
|
-
},
|
153
|
-
{
|
154
|
-
provide: AXMTextTemplateService,
|
155
|
-
useClass: AXMTextTemplateServiceImpl,
|
156
|
-
},
|
157
|
-
{
|
158
|
-
provide: AXMTextTemplateCategoryService,
|
159
|
-
useClass: AXMTextTemplateCategoryServiceImpl,
|
160
|
-
},
|
161
|
-
],
|
162
|
-
}]
|
163
|
-
}] });
|
164
|
-
|
165
|
-
async function textTemplateCategoryEntityFactory(injector) {
|
166
|
-
const dataService = injector.get(AXMTextTemplateCategoryService);
|
28
|
+
async function categoryFactory(injector) {
|
29
|
+
const dataService = injector.get(AXMTextTemplateManagementCategoryEntityService);
|
30
|
+
const moduleName = AXMTextTemplateManagementModuleConst.moduleName;
|
31
|
+
const scope = `#${moduleName}`;
|
167
32
|
const entityDef = {
|
168
|
-
module:
|
169
|
-
name:
|
170
|
-
source: '
|
171
|
-
title:
|
33
|
+
module: moduleName,
|
34
|
+
name: AXMTextTemplateManagementModuleConst.categoryEntity,
|
35
|
+
source: '',
|
36
|
+
title: `t("category", { scope: "common" })`,
|
172
37
|
formats: {
|
173
|
-
individual: '
|
174
|
-
plural: '
|
38
|
+
individual: 't("category")',
|
39
|
+
plural: 't("categories", { scope: "common" })',
|
175
40
|
},
|
176
41
|
relatedEntities: [],
|
177
42
|
groups: [
|
178
43
|
{
|
179
44
|
id: 'category',
|
180
|
-
title: '
|
45
|
+
title: 't("category", { scope: "common" })',
|
181
46
|
},
|
182
47
|
],
|
183
48
|
properties: [
|
184
49
|
{
|
185
50
|
name: 'name',
|
186
|
-
title: '
|
51
|
+
title: 't("name", { scope: "common" })',
|
187
52
|
groupId: 'category',
|
53
|
+
options: {
|
54
|
+
sort: {
|
55
|
+
enabled: true,
|
56
|
+
},
|
57
|
+
},
|
188
58
|
schema: {
|
189
59
|
dataType: 'string',
|
190
60
|
interface: {
|
191
61
|
type: AXPWidgetsCatalog.text,
|
192
62
|
},
|
193
63
|
},
|
64
|
+
validations: [
|
65
|
+
{
|
66
|
+
rule: 'required',
|
67
|
+
},
|
68
|
+
],
|
194
69
|
},
|
195
70
|
{
|
196
71
|
name: 'title',
|
197
|
-
title: '
|
72
|
+
title: 't("title", { scope: "common" })',
|
198
73
|
groupId: 'category',
|
199
74
|
schema: {
|
200
75
|
dataType: 'string',
|
@@ -202,6 +77,16 @@ async function textTemplateCategoryEntityFactory(injector) {
|
|
202
77
|
type: AXPWidgetsCatalog.text,
|
203
78
|
},
|
204
79
|
},
|
80
|
+
options: {
|
81
|
+
sort: {
|
82
|
+
enabled: true,
|
83
|
+
},
|
84
|
+
},
|
85
|
+
validations: [
|
86
|
+
{
|
87
|
+
rule: 'required',
|
88
|
+
},
|
89
|
+
],
|
205
90
|
},
|
206
91
|
],
|
207
92
|
columns: [{ name: 'name' }, { name: 'title' }],
|
@@ -242,7 +127,7 @@ async function textTemplateCategoryEntityFactory(injector) {
|
|
242
127
|
},
|
243
128
|
list: {
|
244
129
|
execute: async (e) => {
|
245
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
130
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
|
246
131
|
},
|
247
132
|
type: AXPEntityQueryType.List,
|
248
133
|
},
|
@@ -348,28 +233,28 @@ async function textTemplateCategoryEntityFactory(injector) {
|
|
348
233
|
list: {
|
349
234
|
actions: [
|
350
235
|
{
|
351
|
-
title:
|
236
|
+
title: `t("create",{scope: "common"}) t("category",{scope: "common"})`,
|
352
237
|
command: 'create-entity',
|
353
238
|
priority: 'primary',
|
354
239
|
type: 'create',
|
355
240
|
scope: AXPEntityCommandScope.TypeLevel,
|
356
241
|
},
|
357
242
|
{
|
358
|
-
title: '
|
243
|
+
title: 't("deleteItems", { scope: "common" })',
|
359
244
|
command: 'delete-entity',
|
360
245
|
priority: 'primary',
|
361
246
|
type: 'delete',
|
362
247
|
scope: AXPEntityCommandScope.Selected,
|
363
248
|
},
|
364
249
|
{
|
365
|
-
title: '
|
250
|
+
title: 't("detail", { scope: "common" })',
|
366
251
|
command: 'open-entity',
|
367
252
|
priority: 'primary',
|
368
253
|
type: 'view',
|
369
254
|
scope: AXPEntityCommandScope.Individual,
|
370
255
|
},
|
371
256
|
{
|
372
|
-
title: '
|
257
|
+
title: 't("delete", { scope: "common" })',
|
373
258
|
command: 'delete-entity',
|
374
259
|
priority: 'primary',
|
375
260
|
type: 'delete',
|
@@ -379,7 +264,7 @@ async function textTemplateCategoryEntityFactory(injector) {
|
|
379
264
|
views: [
|
380
265
|
{
|
381
266
|
name: 'all',
|
382
|
-
title: '
|
267
|
+
title: 't("allItem", { scope: "common" })',
|
383
268
|
fixed: true,
|
384
269
|
columns: [],
|
385
270
|
conditions: [],
|
@@ -393,37 +278,56 @@ async function textTemplateCategoryEntityFactory(injector) {
|
|
393
278
|
return entityDef;
|
394
279
|
}
|
395
280
|
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
281
|
+
class AXMTextTemplateManagementCategoryEntityModule {
|
282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
283
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityModule }); }
|
284
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityModule, providers: [
|
285
|
+
{
|
286
|
+
provide: AXMTextTemplateManagementCategoryEntityService,
|
287
|
+
useClass: AXMTextTemplateManagementCategoryEntityServiceImpl,
|
288
|
+
},
|
289
|
+
] }); }
|
290
|
+
}
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementCategoryEntityModule, decorators: [{
|
292
|
+
type: NgModule,
|
293
|
+
args: [{
|
294
|
+
imports: [],
|
295
|
+
exports: [],
|
296
|
+
declarations: [],
|
297
|
+
providers: [
|
298
|
+
{
|
299
|
+
provide: AXMTextTemplateManagementCategoryEntityService,
|
300
|
+
useClass: AXMTextTemplateManagementCategoryEntityServiceImpl,
|
301
|
+
},
|
302
|
+
],
|
303
|
+
}]
|
304
|
+
}] });
|
400
305
|
|
401
|
-
|
402
|
-
|
306
|
+
class AXMTextTemplateManagementTemplateEntityService extends AXMEntityCrudServiceImpl {
|
307
|
+
}
|
308
|
+
class AXMTextTemplateManagementTemplateEntityServiceImpl extends AXMTextTemplateManagementTemplateEntityService {
|
309
|
+
constructor() {
|
310
|
+
super(`${AXMTextTemplateManagementModuleConst.moduleName}.${AXMTextTemplateManagementModuleConst.templateEntity}`);
|
311
|
+
}
|
312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
313
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityServiceImpl }); }
|
314
|
+
}
|
315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityServiceImpl, decorators: [{
|
316
|
+
type: Injectable
|
317
|
+
}], ctorParameters: () => [] });
|
318
|
+
|
319
|
+
async function templateFactory(injector) {
|
320
|
+
const dataService = injector.get(AXMTextTemplateManagementTemplateEntityService);
|
403
321
|
const entityDef = {
|
404
|
-
module:
|
405
|
-
name:
|
406
|
-
source: '
|
322
|
+
module: AXMTextTemplateManagementModuleConst.moduleName,
|
323
|
+
name: AXMTextTemplateManagementModuleConst.templateEntity,
|
324
|
+
source: '',
|
407
325
|
title: 'Templates',
|
408
326
|
formats: {
|
409
327
|
individual: 'Template',
|
410
328
|
plural: 'Templates',
|
411
329
|
},
|
412
|
-
relatedEntities: [
|
413
|
-
{
|
414
|
-
entity: 'template-management.variable',
|
415
|
-
columns: ['name', 'title', 'type', 'requirement'],
|
416
|
-
conditions: [
|
417
|
-
{
|
418
|
-
name: 'globalTemplateId',
|
419
|
-
operator: {
|
420
|
-
type: 'equal',
|
421
|
-
},
|
422
|
-
value: 'id',
|
423
|
-
},
|
424
|
-
],
|
425
|
-
},
|
426
|
-
],
|
330
|
+
relatedEntities: [],
|
427
331
|
groups: [
|
428
332
|
{
|
429
333
|
id: 'template',
|
@@ -441,6 +345,11 @@ async function templateEntityFactory(injector) {
|
|
441
345
|
type: AXPWidgetsCatalog.text,
|
442
346
|
},
|
443
347
|
},
|
348
|
+
validations: [
|
349
|
+
{
|
350
|
+
rule: 'required',
|
351
|
+
},
|
352
|
+
],
|
444
353
|
},
|
445
354
|
{
|
446
355
|
name: 'title',
|
@@ -452,6 +361,11 @@ async function templateEntityFactory(injector) {
|
|
452
361
|
type: AXPWidgetsCatalog.text,
|
453
362
|
},
|
454
363
|
},
|
364
|
+
validations: [
|
365
|
+
{
|
366
|
+
rule: 'required',
|
367
|
+
},
|
368
|
+
],
|
455
369
|
},
|
456
370
|
{
|
457
371
|
name: 'content',
|
@@ -463,9 +377,14 @@ async function templateEntityFactory(injector) {
|
|
463
377
|
type: AXPWidgetsCatalog.richText,
|
464
378
|
},
|
465
379
|
},
|
380
|
+
validations: [
|
381
|
+
{
|
382
|
+
rule: 'required',
|
383
|
+
},
|
384
|
+
],
|
466
385
|
},
|
467
386
|
{
|
468
|
-
name: '
|
387
|
+
name: 'categoryId',
|
469
388
|
title: 'Category',
|
470
389
|
groupId: 'template',
|
471
390
|
schema: {
|
@@ -474,21 +393,18 @@ async function templateEntityFactory(injector) {
|
|
474
393
|
type: AXPWidgetsCatalog.lookup,
|
475
394
|
options: {
|
476
395
|
entity: 'template-management.category',
|
477
|
-
expose:
|
396
|
+
expose: [
|
397
|
+
{ source: 'id', target: 'categoryId' },
|
398
|
+
{ source: 'title', target: 'category.title' },
|
399
|
+
],
|
478
400
|
},
|
479
401
|
},
|
480
402
|
},
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
title: 'Category Title',
|
485
|
-
groupId: 'template',
|
486
|
-
schema: {
|
487
|
-
dataType: 'string',
|
488
|
-
interface: {
|
489
|
-
type: AXPWidgetsCatalog.text,
|
403
|
+
validations: [
|
404
|
+
{
|
405
|
+
rule: 'required',
|
490
406
|
},
|
491
|
-
|
407
|
+
],
|
492
408
|
},
|
493
409
|
{
|
494
410
|
name: 'type',
|
@@ -510,9 +426,19 @@ async function templateEntityFactory(injector) {
|
|
510
426
|
},
|
511
427
|
},
|
512
428
|
},
|
429
|
+
validations: [
|
430
|
+
{
|
431
|
+
rule: 'required',
|
432
|
+
},
|
433
|
+
],
|
513
434
|
},
|
514
435
|
],
|
515
|
-
columns: [
|
436
|
+
columns: [
|
437
|
+
{ name: 'name' },
|
438
|
+
{ name: 'title' },
|
439
|
+
{ name: 'categoryId', options: { dataPath: 'category.title' } },
|
440
|
+
{ name: 'type' },
|
441
|
+
],
|
516
442
|
commands: {
|
517
443
|
create: {
|
518
444
|
execute: async (data) => {
|
@@ -595,7 +521,7 @@ async function templateEntityFactory(injector) {
|
|
595
521
|
},
|
596
522
|
},
|
597
523
|
{
|
598
|
-
name: '
|
524
|
+
name: 'categoryId',
|
599
525
|
layout: {
|
600
526
|
positions: {
|
601
527
|
lg: {
|
@@ -654,7 +580,7 @@ async function templateEntityFactory(injector) {
|
|
654
580
|
},
|
655
581
|
},
|
656
582
|
{
|
657
|
-
name: '
|
583
|
+
name: 'categoryId',
|
658
584
|
layout: {
|
659
585
|
positions: {
|
660
586
|
lg: {
|
@@ -730,6 +656,16 @@ async function templateEntityFactory(injector) {
|
|
730
656
|
},
|
731
657
|
},
|
732
658
|
},
|
659
|
+
{
|
660
|
+
name: 'categoryId',
|
661
|
+
layout: {
|
662
|
+
positions: {
|
663
|
+
lg: {
|
664
|
+
colSpan: 6,
|
665
|
+
},
|
666
|
+
},
|
667
|
+
},
|
668
|
+
},
|
733
669
|
],
|
734
670
|
actions: [],
|
735
671
|
},
|
@@ -781,324 +717,199 @@ async function templateEntityFactory(injector) {
|
|
781
717
|
return entityDef;
|
782
718
|
}
|
783
719
|
|
784
|
-
|
720
|
+
class AXMTextTemplateManagementTemplateEntityModule {
|
721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
722
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityModule }); }
|
723
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityModule, providers: [
|
724
|
+
{
|
725
|
+
provide: AXMTextTemplateManagementTemplateEntityService,
|
726
|
+
useClass: AXMTextTemplateManagementTemplateEntityServiceImpl,
|
727
|
+
},
|
728
|
+
] }); }
|
729
|
+
}
|
730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementTemplateEntityModule, decorators: [{
|
731
|
+
type: NgModule,
|
732
|
+
args: [{
|
733
|
+
imports: [],
|
734
|
+
exports: [],
|
735
|
+
declarations: [],
|
736
|
+
providers: [
|
737
|
+
{
|
738
|
+
provide: AXMTextTemplateManagementTemplateEntityService,
|
739
|
+
useClass: AXMTextTemplateManagementTemplateEntityServiceImpl,
|
740
|
+
},
|
741
|
+
],
|
742
|
+
}]
|
743
|
+
}] });
|
744
|
+
|
745
|
+
var index = /*#__PURE__*/Object.freeze({
|
785
746
|
__proto__: null,
|
786
|
-
|
747
|
+
AXMTextTemplateManagementCategoryEntityModule: AXMTextTemplateManagementCategoryEntityModule,
|
748
|
+
AXMTextTemplateManagementCategoryEntityService: AXMTextTemplateManagementCategoryEntityService,
|
749
|
+
AXMTextTemplateManagementCategoryEntityServiceImpl: AXMTextTemplateManagementCategoryEntityServiceImpl,
|
750
|
+
AXMTextTemplateManagementTemplateEntityModule: AXMTextTemplateManagementTemplateEntityModule,
|
751
|
+
AXMTextTemplateManagementTemplateEntityService: AXMTextTemplateManagementTemplateEntityService,
|
752
|
+
AXMTextTemplateManagementTemplateEntityServiceImpl: AXMTextTemplateManagementTemplateEntityServiceImpl,
|
753
|
+
categoryFactory: categoryFactory,
|
754
|
+
templateFactory: templateFactory
|
787
755
|
});
|
788
756
|
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
title: 'TemplateVariable'
|
757
|
+
class AXMTextTemplateManagementModuleEntityProvider {
|
758
|
+
constructor() {
|
759
|
+
this.injector = inject(Injector);
|
760
|
+
}
|
761
|
+
async get(moduleName, entityName) {
|
762
|
+
if (moduleName == AXMTextTemplateManagementModuleConst.moduleName) {
|
763
|
+
switch (entityName) {
|
764
|
+
case AXMTextTemplateManagementModuleConst.templateEntity: {
|
765
|
+
const entity = (await Promise.resolve().then(function () { return index; })).templateFactory;
|
766
|
+
return entity(this.injector);
|
767
|
+
}
|
768
|
+
case AXMTextTemplateManagementModuleConst.categoryEntity: {
|
769
|
+
const entity = (await Promise.resolve().then(function () { return index; })).categoryFactory;
|
770
|
+
return entity(this.injector);
|
771
|
+
}
|
805
772
|
}
|
806
|
-
|
807
|
-
|
773
|
+
}
|
774
|
+
return null;
|
775
|
+
}
|
776
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModuleEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
777
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModuleEntityProvider }); }
|
778
|
+
}
|
779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModuleEntityProvider, decorators: [{
|
780
|
+
type: Injectable
|
781
|
+
}] });
|
782
|
+
|
783
|
+
class AXMTextTemplateManagementModuleMenuProvider {
|
784
|
+
constructor() {
|
785
|
+
this.entityService = inject(AXPEntityService);
|
786
|
+
}
|
787
|
+
async provide(context) {
|
788
|
+
const scope = AXMTextTemplateManagementModuleConst.i18n;
|
789
|
+
const moduleName = AXMTextTemplateManagementModuleConst.moduleName;
|
790
|
+
context.addItems([
|
808
791
|
{
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
792
|
+
priority: 9001,
|
793
|
+
text: `t('module-name', {scope: ${scope}})`,
|
794
|
+
icon: 'fa-solid fa-code',
|
795
|
+
data: {
|
796
|
+
// requiredPermission: 'demo.admin.settings',
|
797
|
+
},
|
798
|
+
children: [
|
799
|
+
{
|
800
|
+
text: `t('templates', {scope: ${scope}})`,
|
801
|
+
path: this.entityService.createPath(moduleName, AXMTextTemplateManagementModuleConst.templateEntity),
|
802
|
+
icon: 'fa-solid fa-file-code',
|
803
|
+
priority: 1,
|
804
|
+
},
|
805
|
+
{
|
806
|
+
text: `t('category', {scope: ${scope}})`,
|
807
|
+
path: this.entityService.createPath(moduleName, AXMTextTemplateManagementModuleConst.categoryEntity),
|
808
|
+
icon: 'fa-solid fa-layer-group',
|
809
|
+
priority: 2,
|
810
|
+
},
|
811
|
+
],
|
818
812
|
},
|
813
|
+
]);
|
814
|
+
}
|
815
|
+
}
|
816
|
+
|
817
|
+
class AXMTextTemplateManagementModuleSettingProvider {
|
818
|
+
async provide(context) {
|
819
|
+
const scope = AXMTextTemplateManagementModuleConst.i18n;
|
820
|
+
const moduleName = AXMTextTemplateManagementModuleConst.moduleName;
|
821
|
+
context.addItems([
|
819
822
|
{
|
820
|
-
name: '
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
823
|
+
name: 'text-template-management',
|
824
|
+
type: AXPSettingDefinitionItemType.Group,
|
825
|
+
title: 'Text Template Management',
|
826
|
+
singles: [
|
827
|
+
{
|
828
|
+
name: 'TTM-isEnable',
|
829
|
+
dataType: 'boolean',
|
830
|
+
isEncrypted: false,
|
831
|
+
isInherited: false,
|
832
|
+
scope: 'T',
|
833
|
+
title: 'Text Template Management Active',
|
834
|
+
isRequired: true,
|
835
|
+
type: AXPSettingDefinitionItemType.Single,
|
836
|
+
},
|
837
|
+
],
|
838
|
+
groups: [
|
839
|
+
{
|
840
|
+
name: 'text-template-management-category',
|
841
|
+
type: AXPSettingDefinitionItemType.Group,
|
842
|
+
title: 'Category',
|
843
|
+
singles: [
|
844
|
+
{
|
845
|
+
name: 'TTMC-isEnable',
|
846
|
+
dataType: 'boolean',
|
847
|
+
isEncrypted: false,
|
848
|
+
isInherited: false,
|
849
|
+
scope: 'T',
|
850
|
+
title: 'Text Template Category Management Active',
|
851
|
+
isRequired: true,
|
852
|
+
type: AXPSettingDefinitionItemType.Single,
|
853
|
+
},
|
854
|
+
],
|
855
|
+
groups: [],
|
856
|
+
},
|
857
|
+
],
|
829
858
|
},
|
859
|
+
]);
|
860
|
+
}
|
861
|
+
}
|
862
|
+
|
863
|
+
class AXMTextTemplateManagementModule {
|
864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
865
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModule, imports: [AXMTextTemplateManagementTemplateEntityModule, AXMTextTemplateManagementCategoryEntityModule] }); }
|
866
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModule, providers: [
|
830
867
|
{
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
schema: {
|
835
|
-
dataType: 'string',
|
836
|
-
interface: {
|
837
|
-
type: AXPWidgetsCatalog.select
|
838
|
-
}
|
839
|
-
}
|
868
|
+
provide: AXP_MENU_PROVIDER,
|
869
|
+
useClass: AXMTextTemplateManagementModuleMenuProvider,
|
870
|
+
multi: true,
|
840
871
|
},
|
841
872
|
{
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
schema: {
|
846
|
-
dataType: 'boolean',
|
847
|
-
interface: {
|
848
|
-
type: AXPWidgetsCatalog.toggle
|
849
|
-
}
|
850
|
-
}
|
851
|
-
}
|
852
|
-
],
|
853
|
-
columns: [{ name: 'name' }, { name: 'title' }, { name: 'required' }],
|
854
|
-
commands: {
|
855
|
-
create: {
|
856
|
-
execute: async (data) => {
|
857
|
-
const item = await dataService.getOne(data.globalTemplateId);
|
858
|
-
(item.templateVariables ??= []).push(data);
|
859
|
-
return await dataService.updateOne(data.globalTemplateId, item);
|
860
|
-
}
|
861
|
-
},
|
862
|
-
delete: {
|
863
|
-
execute: async (id) => {
|
864
|
-
// await await dataService.templateVariableDataProvider.deleteOne(id);
|
865
|
-
return Promise.resolve();
|
866
|
-
}
|
873
|
+
provide: AXP_SETTING_PROVIDER,
|
874
|
+
useClass: AXMTextTemplateManagementModuleSettingProvider,
|
875
|
+
multi: true,
|
867
876
|
},
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
setTimeout(async () => {
|
873
|
-
// await dataService.templateVariableDataProvider.updateOne(data.id, data);
|
874
|
-
resolve(data);
|
875
|
-
}, 1000);
|
876
|
-
});
|
877
|
-
}
|
878
|
-
}
|
879
|
-
},
|
880
|
-
queries: {
|
881
|
-
byKey: {
|
882
|
-
execute: async (id) => {
|
883
|
-
return new Promise((resolve) => {
|
884
|
-
setTimeout(async () => {
|
885
|
-
const entity = await dataService.getOne(id);
|
886
|
-
// resolve(entity);
|
887
|
-
}, 500);
|
888
|
-
});
|
889
|
-
},
|
890
|
-
type: AXPEntityQueryType.Single
|
877
|
+
{
|
878
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
879
|
+
useClass: AXMTextTemplateManagementModuleEntityProvider,
|
880
|
+
multi: true,
|
891
881
|
},
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
else {
|
902
|
-
//TODO throw exception
|
903
|
-
return [];
|
904
|
-
}
|
905
|
-
},
|
906
|
-
type: AXPEntityQueryType.List
|
907
|
-
}
|
908
|
-
},
|
909
|
-
interfaces: {
|
910
|
-
master: {
|
911
|
-
create: {
|
912
|
-
sections: [
|
913
|
-
{
|
914
|
-
id: 'templateVariable'
|
915
|
-
}
|
916
|
-
],
|
917
|
-
properties: [
|
918
|
-
{
|
919
|
-
name: 'name',
|
920
|
-
layout: {
|
921
|
-
positions: {
|
922
|
-
lg: {
|
923
|
-
colSpan: 6
|
924
|
-
}
|
925
|
-
}
|
926
|
-
}
|
927
|
-
},
|
928
|
-
{
|
929
|
-
name: 'title',
|
930
|
-
layout: {
|
931
|
-
positions: {
|
932
|
-
lg: {
|
933
|
-
colSpan: 6
|
934
|
-
}
|
935
|
-
}
|
936
|
-
}
|
937
|
-
},
|
938
|
-
{
|
939
|
-
name: 'required',
|
940
|
-
layout: {
|
941
|
-
positions: {
|
942
|
-
lg: {
|
943
|
-
colSpan: 6
|
944
|
-
}
|
945
|
-
}
|
946
|
-
}
|
947
|
-
}
|
948
|
-
]
|
949
|
-
},
|
950
|
-
update: {
|
951
|
-
sections: [
|
952
|
-
{
|
953
|
-
id: 'templateVariable'
|
954
|
-
},
|
955
|
-
{
|
956
|
-
id: 'schema'
|
957
|
-
},
|
958
|
-
{
|
959
|
-
id: 'interface'
|
960
|
-
}
|
961
|
-
],
|
962
|
-
properties: [
|
963
|
-
{
|
964
|
-
name: 'name',
|
965
|
-
layout: {
|
966
|
-
positions: {
|
967
|
-
lg: {
|
968
|
-
colSpan: 6
|
969
|
-
}
|
970
|
-
}
|
971
|
-
}
|
972
|
-
},
|
973
|
-
{
|
974
|
-
name: 'title',
|
975
|
-
layout: {
|
976
|
-
positions: {
|
977
|
-
lg: {
|
978
|
-
colSpan: 6
|
979
|
-
}
|
980
|
-
}
|
981
|
-
}
|
982
|
-
},
|
983
|
-
{
|
984
|
-
name: 'schema.nullable',
|
985
|
-
layout: {
|
986
|
-
positions: {
|
987
|
-
lg: {
|
988
|
-
colSpan: 6
|
989
|
-
}
|
990
|
-
}
|
991
|
-
}
|
992
|
-
},
|
993
|
-
{
|
994
|
-
name: 'required',
|
995
|
-
layout: {
|
996
|
-
positions: {
|
997
|
-
lg: {
|
998
|
-
colSpan: 6
|
999
|
-
}
|
1000
|
-
}
|
1001
|
-
}
|
1002
|
-
}
|
1003
|
-
]
|
1004
|
-
},
|
1005
|
-
single: {
|
1006
|
-
title: '{{title}}',
|
1007
|
-
sections: [
|
1008
|
-
{
|
1009
|
-
id: 'templateVariable'
|
1010
|
-
}
|
1011
|
-
],
|
1012
|
-
properties: [
|
1013
|
-
{
|
1014
|
-
name: 'name',
|
1015
|
-
layout: {
|
1016
|
-
positions: {
|
1017
|
-
lg: {
|
1018
|
-
colSpan: 6
|
1019
|
-
}
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
},
|
882
|
+
], imports: [AXMTextTemplateManagementTemplateEntityModule, AXMTextTemplateManagementCategoryEntityModule] }); }
|
883
|
+
}
|
884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMTextTemplateManagementModule, decorators: [{
|
885
|
+
type: NgModule,
|
886
|
+
args: [{
|
887
|
+
imports: [AXMTextTemplateManagementTemplateEntityModule, AXMTextTemplateManagementCategoryEntityModule],
|
888
|
+
exports: [],
|
889
|
+
declarations: [],
|
890
|
+
providers: [
|
1023
891
|
{
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
lg: {
|
1028
|
-
colSpan: 6
|
1029
|
-
}
|
1030
|
-
}
|
1031
|
-
}
|
892
|
+
provide: AXP_MENU_PROVIDER,
|
893
|
+
useClass: AXMTextTemplateManagementModuleMenuProvider,
|
894
|
+
multi: true,
|
1032
895
|
},
|
1033
896
|
{
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
lg: {
|
1038
|
-
colSpan: 12
|
1039
|
-
}
|
1040
|
-
}
|
1041
|
-
}
|
1042
|
-
}
|
1043
|
-
],
|
1044
|
-
actions: []
|
1045
|
-
},
|
1046
|
-
list: {
|
1047
|
-
actions: [
|
1048
|
-
{
|
1049
|
-
title: 'Create New',
|
1050
|
-
command: 'create-entity',
|
1051
|
-
priority: 'primary',
|
1052
|
-
type: 'create',
|
1053
|
-
scope: AXPEntityCommandScope.TypeLevel
|
897
|
+
provide: AXP_SETTING_PROVIDER,
|
898
|
+
useClass: AXMTextTemplateManagementModuleSettingProvider,
|
899
|
+
multi: true,
|
1054
900
|
},
|
1055
901
|
{
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
type: 'delete',
|
1060
|
-
scope: AXPEntityCommandScope.Selected
|
902
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
903
|
+
useClass: AXMTextTemplateManagementModuleEntityProvider,
|
904
|
+
multi: true,
|
1061
905
|
},
|
1062
|
-
// {
|
1063
|
-
// title: 'Update',
|
1064
|
-
// command: 'update-entity',
|
1065
|
-
// priority: 'primary',
|
1066
|
-
// type: 'view',
|
1067
|
-
// scope: AXPEntityCommandScope.Individual
|
1068
|
-
// },
|
1069
|
-
{
|
1070
|
-
title: 'Delete',
|
1071
|
-
command: 'delete-entity',
|
1072
|
-
priority: 'primary',
|
1073
|
-
type: 'delete',
|
1074
|
-
scope: AXPEntityCommandScope.Individual
|
1075
|
-
}
|
1076
906
|
],
|
1077
|
-
|
1078
|
-
|
1079
|
-
name: 'all',
|
1080
|
-
title: 'All Items',
|
1081
|
-
fixed: true,
|
1082
|
-
columns: [],
|
1083
|
-
conditions: [],
|
1084
|
-
sorts: []
|
1085
|
-
}
|
1086
|
-
]
|
1087
|
-
}
|
1088
|
-
}
|
1089
|
-
}
|
1090
|
-
};
|
1091
|
-
return entityDef;
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
var templateVariable_entity = /*#__PURE__*/Object.freeze({
|
1095
|
-
__proto__: null,
|
1096
|
-
textTemplateVariableEntityFactory: textTemplateVariableEntityFactory
|
1097
|
-
});
|
907
|
+
}]
|
908
|
+
}] });
|
1098
909
|
|
1099
910
|
/**
|
1100
911
|
* Generated bundle index. Do not edit.
|
1101
912
|
*/
|
1102
913
|
|
1103
|
-
export {
|
1104
|
-
//# sourceMappingURL=acorex-modules-template-management.mjs.map
|
914
|
+
export { AXMTextTemplateManagementCategoryEntityModule, AXMTextTemplateManagementCategoryEntityService, AXMTextTemplateManagementCategoryEntityServiceImpl, AXMTextTemplateManagementModule, AXMTextTemplateManagementModuleConst, AXMTextTemplateManagementModuleEntityProvider, AXMTextTemplateManagementModuleMenuProvider, AXMTextTemplateManagementTemplateEntityModule, AXMTextTemplateManagementTemplateEntityService, AXMTextTemplateManagementTemplateEntityServiceImpl, categoryFactory, templateFactory };
|
915
|
+
//# sourceMappingURL=acorex-modules-text-template-management.mjs.map
|