@acorex/modules 18.1.5 → 18.1.6

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.
Files changed (170) hide show
  1. package/application-management/index.d.ts +2 -0
  2. package/application-management/lib/application-management.module.d.ts +0 -2
  3. package/application-management/lib/application-management.route.d.ts +2 -0
  4. package/application-management/lib/application-management.service.d.ts +18 -0
  5. package/application-management/lib/application-management.source.d.ts +7 -0
  6. package/application-management/lib/application-management.types.d.ts +50 -0
  7. package/application-management/lib/entity.loader.d.ts +9 -0
  8. package/application-management/lib/menu.provider.d.ts +4 -0
  9. package/auth/lib/auth.module.d.ts +4 -7
  10. package/auth/lib/menu.provider.d.ts +4 -0
  11. package/backend/lib/data/api/data-provider.d.ts +1 -0
  12. package/backend/lib/data/index.d.ts +0 -1
  13. package/backend/lib/data/local/local-data-provider.d.ts +1 -0
  14. package/esm2022/application-management/index.mjs +3 -1
  15. package/esm2022/application-management/lib/application-management.module.mjs +17 -47
  16. package/esm2022/application-management/lib/application-management.route.mjs +29 -0
  17. package/esm2022/application-management/lib/application-management.service.mjs +18 -2
  18. package/esm2022/application-management/lib/application-management.source.mjs +8 -0
  19. package/esm2022/application-management/lib/application-management.types.mjs +2 -0
  20. package/esm2022/application-management/lib/entities/property.entity.mjs +1 -2
  21. package/esm2022/application-management/lib/entity.loader.mjs +46 -0
  22. package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +3 -3
  23. package/esm2022/application-management/lib/menu.provider.mjs +24 -0
  24. package/esm2022/auth/lib/account/app-chooser/app-chooser-slot.component.mjs +2 -2
  25. package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +6 -3
  26. package/esm2022/auth/lib/auth.module.mjs +20 -14
  27. package/esm2022/auth/lib/login/password/password.component.mjs +2 -2
  28. package/esm2022/auth/lib/menu.provider.mjs +45 -0
  29. package/esm2022/backend/lib/backend.module.mjs +22 -26
  30. package/esm2022/backend/lib/data/api/data-provider.mjs +9 -1
  31. package/esm2022/backend/lib/data/index.mjs +1 -2
  32. package/esm2022/backend/lib/data/local/local-data-provider.mjs +11 -1
  33. package/esm2022/form-management/lib/form-management.module.mjs +32 -9
  34. package/esm2022/form-management/lib/menu.provider.mjs +29 -0
  35. package/esm2022/notification-management/index.mjs +3 -1
  36. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +8 -16
  37. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.mjs +31 -7
  38. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +3 -3
  39. package/esm2022/notification-management/lib/entities/my-notification.mjs +243 -0
  40. package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +2 -3
  41. package/esm2022/notification-management/lib/entities/notification-log.entity.mjs +180 -0
  42. package/esm2022/notification-management/lib/entity.loader.mjs +41 -0
  43. package/esm2022/notification-management/lib/menu.provider.mjs +51 -0
  44. package/esm2022/notification-management/lib/notification-management-mock-data.mjs +2 -2
  45. package/esm2022/notification-management/lib/notification-management.module.mjs +34 -39
  46. package/esm2022/notification-management/lib/notification-management.type.mjs +1 -1
  47. package/esm2022/notification-management/lib/notification.service.mjs +1 -1
  48. package/esm2022/{language-management/acorex-modules-language-management.mjs → platform-management/acorex-modules-platform-management.mjs} +1 -1
  49. package/esm2022/platform-management/index.mjs +5 -0
  50. package/esm2022/platform-management/lib/comments/comment-management.service.mjs +18 -0
  51. package/esm2022/platform-management/lib/global-variables/entities/global-variable.entity.mjs +295 -0
  52. package/esm2022/platform-management/lib/global-variables/entity.loader.mjs +26 -0
  53. package/esm2022/platform-management/lib/global-variables/global-variables.service.mjs +16 -0
  54. package/esm2022/platform-management/lib/global-variables/global-variables.types.mjs +2 -0
  55. package/esm2022/platform-management/lib/global-variables/index.mjs +5 -0
  56. package/esm2022/platform-management/lib/languages/entities/language.entity.mjs +234 -0
  57. package/esm2022/platform-management/lib/languages/entity.loader.mjs +26 -0
  58. package/esm2022/platform-management/lib/languages/index.mjs +5 -0
  59. package/esm2022/platform-management/lib/languages/language-management.service.mjs +16 -0
  60. package/esm2022/platform-management/lib/languages/language.types.mjs +2 -0
  61. package/esm2022/platform-management/lib/menu.provider.mjs +46 -0
  62. package/esm2022/platform-management/lib/platform-management.module.mjs +82 -0
  63. package/esm2022/template-management/index.mjs +7 -3
  64. package/esm2022/template-management/lib/entities/category.entity.mjs +233 -0
  65. package/esm2022/template-management/lib/entities/index.mjs +4 -0
  66. package/esm2022/template-management/lib/entities/template-variable.entity.mjs +113 -110
  67. package/esm2022/template-management/lib/entities/text-template.entity.mjs +385 -0
  68. package/esm2022/template-management/lib/entity.loader.mjs +36 -0
  69. package/esm2022/template-management/lib/menu.provider.mjs +37 -0
  70. package/esm2022/template-management/lib/template-management.module.mjs +53 -37
  71. package/esm2022/template-management/lib/template-management.types.mjs +2 -0
  72. package/esm2022/template-management/lib/template.service.mjs +17 -0
  73. package/esm2022/template-management/lib/text-management.source.mjs +3 -0
  74. package/esm2022/template-management/lib/text-template-category.service.mjs +17 -0
  75. package/fesm2022/{acorex-modules-application-management-module-designer.component-CFLXuP2G.mjs → acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs} +2 -2
  76. package/fesm2022/{acorex-modules-application-management-module-designer.component-CFLXuP2G.mjs.map → acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs.map} +1 -1
  77. package/fesm2022/acorex-modules-application-management.mjs +140 -50
  78. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  79. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-iGiPFEeb.mjs → acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs} +78 -24
  80. package/fesm2022/acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs.map +1 -0
  81. package/fesm2022/{acorex-modules-auth-app-chooser.component-BB3SIzCP.mjs → acorex-modules-auth-app-chooser.component-4b6b3ttW.mjs} +2 -2
  82. package/fesm2022/{acorex-modules-auth-app-chooser.component-BB3SIzCP.mjs.map → acorex-modules-auth-app-chooser.component-4b6b3ttW.mjs.map} +1 -1
  83. package/fesm2022/{acorex-modules-auth-login.module-ChEv9c5I.mjs → acorex-modules-auth-login.module-A7u1YYeo.mjs} +4 -4
  84. package/fesm2022/{acorex-modules-auth-login.module-ChEv9c5I.mjs.map → acorex-modules-auth-login.module-A7u1YYeo.mjs.map} +1 -1
  85. package/fesm2022/{acorex-modules-auth-master.layout-CZv3BD5c.mjs → acorex-modules-auth-master.layout--UllrmW0.mjs} +2 -2
  86. package/fesm2022/{acorex-modules-auth-master.layout-CZv3BD5c.mjs.map → acorex-modules-auth-master.layout--UllrmW0.mjs.map} +1 -1
  87. package/fesm2022/{acorex-modules-auth-password.component-CxZ1weks.mjs → acorex-modules-auth-password.component-BjqQ-qVo.mjs} +3 -3
  88. package/fesm2022/acorex-modules-auth-password.component-BjqQ-qVo.mjs.map +1 -0
  89. package/fesm2022/{acorex-modules-auth-password.component-CPWiBXdG.mjs → acorex-modules-auth-password.component-Dv0VXzh_.mjs} +2 -2
  90. package/fesm2022/{acorex-modules-auth-password.component-CPWiBXdG.mjs.map → acorex-modules-auth-password.component-Dv0VXzh_.mjs.map} +1 -1
  91. package/fesm2022/{acorex-modules-auth-routes-C7r2Jm6s.mjs → acorex-modules-auth-routes-C4eNPru3.mjs} +2 -2
  92. package/fesm2022/{acorex-modules-auth-routes-C7r2Jm6s.mjs.map → acorex-modules-auth-routes-C4eNPru3.mjs.map} +1 -1
  93. package/fesm2022/{acorex-modules-auth-two-factor.module-BgkJYe7T.mjs → acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs} +2 -2
  94. package/fesm2022/{acorex-modules-auth-two-factor.module-BgkJYe7T.mjs.map → acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs.map} +1 -1
  95. package/fesm2022/acorex-modules-auth.mjs +1 -1
  96. package/fesm2022/acorex-modules-backend.mjs +40 -232
  97. package/fesm2022/acorex-modules-backend.mjs.map +1 -1
  98. package/fesm2022/acorex-modules-form-management.mjs +57 -6
  99. package/fesm2022/acorex-modules-form-management.mjs.map +1 -1
  100. package/fesm2022/acorex-modules-notification-management.mjs +590 -64
  101. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  102. package/fesm2022/acorex-modules-platform-management.mjs +752 -0
  103. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -0
  104. package/fesm2022/acorex-modules-template-management.mjs +600 -194
  105. package/fesm2022/acorex-modules-template-management.mjs.map +1 -1
  106. package/form-management/lib/form-management.module.d.ts +2 -2
  107. package/form-management/lib/menu.provider.d.ts +4 -0
  108. package/notification-management/index.d.ts +2 -0
  109. package/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.d.ts +0 -4
  110. package/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.d.ts +7 -2
  111. package/{template-management/lib/entities/global-template.entity.d.ts → notification-management/lib/entities/my-notification.d.ts} +1 -1
  112. package/notification-management/lib/entities/notification-log.entity.d.ts +3 -0
  113. package/notification-management/lib/entity.loader.d.ts +9 -0
  114. package/notification-management/lib/menu.provider.d.ts +4 -0
  115. package/notification-management/lib/notification-management-mock-data.d.ts +2 -3
  116. package/notification-management/lib/notification-management.module.d.ts +1 -7
  117. package/notification-management/lib/notification-management.service.d.ts +2 -2
  118. package/notification-management/lib/notification-management.type.d.ts +1 -1
  119. package/notification-management/lib/notification.service.d.ts +3 -4
  120. package/package.json +6 -6
  121. package/platform-management/README.md +4 -0
  122. package/platform-management/index.d.ts +4 -0
  123. package/platform-management/lib/comments/comment-management.service.d.ts +10 -0
  124. package/platform-management/lib/global-variables/entities/global-variable.entity.d.ts +3 -0
  125. package/platform-management/lib/global-variables/entity.loader.d.ts +9 -0
  126. package/platform-management/lib/global-variables/global-variables.service.d.ts +10 -0
  127. package/platform-management/lib/global-variables/global-variables.types.d.ts +7 -0
  128. package/platform-management/lib/global-variables/index.d.ts +4 -0
  129. package/platform-management/lib/languages/entity.loader.d.ts +9 -0
  130. package/platform-management/lib/languages/index.d.ts +4 -0
  131. package/platform-management/lib/languages/language-management.service.d.ts +10 -0
  132. package/platform-management/lib/languages/language.types.d.ts +5 -0
  133. package/platform-management/lib/menu.provider.d.ts +4 -0
  134. package/platform-management/lib/platform-management.module.d.ts +6 -0
  135. package/template-management/index.d.ts +6 -2
  136. package/template-management/lib/entities/category.entity.d.ts +3 -0
  137. package/template-management/lib/entities/index.d.ts +3 -0
  138. package/template-management/lib/entities/template-variable.entity.d.ts +1 -1
  139. package/template-management/lib/entities/text-template.entity.d.ts +3 -0
  140. package/template-management/lib/entity.loader.d.ts +9 -0
  141. package/template-management/lib/menu.provider.d.ts +4 -0
  142. package/template-management/lib/template-management.module.d.ts +4 -10
  143. package/template-management/lib/template-management.types.d.ts +19 -0
  144. package/template-management/lib/template.service.d.ts +10 -0
  145. package/template-management/lib/text-management.source.d.ts +2 -0
  146. package/template-management/lib/text-template-category.service.d.ts +10 -0
  147. package/backend/lib/data/api/comment.mock.service.d.ts +0 -62
  148. package/backend/lib/data/api/notification.mock.service.d.ts +0 -34
  149. package/esm2022/backend/lib/data/api/comment.mock.service.mjs +0 -142
  150. package/esm2022/backend/lib/data/api/notification.mock.service.mjs +0 -71
  151. package/esm2022/language-management/index.mjs +0 -2
  152. package/esm2022/language-management/lib/entities/language.entity.mjs +0 -242
  153. package/esm2022/language-management/lib/language-management.module.mjs +0 -39
  154. package/esm2022/language-management/lib/notification-management.service.mjs +0 -23
  155. package/esm2022/template-management/lib/entities/global-template.entity.mjs +0 -298
  156. package/esm2022/template-management/lib/template-management-mock-data.mjs +0 -11
  157. package/esm2022/template-management/lib/template-management.service.mjs +0 -24
  158. package/fesm2022/acorex-modules-auth-acorex-modules-auth-iGiPFEeb.mjs.map +0 -1
  159. package/fesm2022/acorex-modules-auth-password.component-CxZ1weks.mjs.map +0 -1
  160. package/fesm2022/acorex-modules-language-management-language.entity-CwD5FHGc.mjs +0 -266
  161. package/fesm2022/acorex-modules-language-management-language.entity-CwD5FHGc.mjs.map +0 -1
  162. package/fesm2022/acorex-modules-language-management.mjs +0 -46
  163. package/fesm2022/acorex-modules-language-management.mjs.map +0 -1
  164. package/language-management/README.md +0 -3
  165. package/language-management/index.d.ts +0 -1
  166. package/language-management/lib/language-management.module.d.ts +0 -12
  167. package/language-management/lib/notification-management.service.d.ts +0 -9
  168. package/template-management/lib/template-management-mock-data.d.ts +0 -7
  169. package/template-management/lib/template-management.service.d.ts +0 -9
  170. /package/{language-management/lib → platform-management/lib/languages}/entities/language.entity.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-template-management.mjs","sources":["../../../../libs/modules/template-management/src/lib/template-management.module.ts","../../../../libs/modules/template-management/src/lib/template-management-mock-data.ts","../../../../libs/modules/template-management/src/lib/template-management.service.ts","../../../../libs/modules/template-management/src/lib/entities/global-template.entity.ts","../../../../libs/modules/template-management/src/lib/entities/template-variable.entity.ts","../../../../libs/modules/template-management/src/acorex-modules-template-management.ts"],"sourcesContent":["import { AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';\nimport { Inject, Injector, ModuleWithProviders, NgModule, Optional } from '@angular/core';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class TemplateManagementModule {\n static forRoot(): ModuleWithProviders<TemplateManagementModule> {\n return {\n ngModule: TemplateManagementModule,\n providers: [\n {\n provide: 'AXP_REGISTER_TEMPLATE_GLOBAL',\n useFactory: async (entityRegistry: AXPEntityDefinitionRegistryService, injector: Injector) => {\n const globalTemplateEntity = await (\n await import('./entities/global-template.entity')\n ).globalTemplateEntityFactory(injector);\n entityRegistry.register(globalTemplateEntity as any);\n //\n\n const variableEntity = await (\n await import('./entities/template-variable.entity')\n ).templateVariableEntityFactory(injector);\n entityRegistry.register(variableEntity as any);\n //\n },\n deps: [AXPEntityDefinitionRegistryService, Injector], // Add any dependencies if needed\n },\n ],\n };\n }\n\n /**\n * @ignore\n */\n constructor(@Optional() @Inject('AXP_REGISTER_TEMPLATE_GLOBAL') instances: any[]) {}\n}\n","import { AXPDataGenerator } from '@acorex/platform/common';\n\nexport const GLOBAL_TEMPLATES = Array.from({ length: 5 }).map((_, i) => {\n const name = AXPDataGenerator.string;\n return {\n id: AXPDataGenerator.uuid(),\n name: name,\n title: name,\n content: AXPDataGenerator.string(200),\n };\n});\n","import { AXPEntityDataProviderImpl, AXPEntityStorageService } from '@acorex/platform/common';\nimport { Injectable, Injector } from '@angular/core';\nimport { GLOBAL_TEMPLATES } from './template-management-mock-data';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TemplateManagementService {\n protected _globalTemplateDataProvider: any;\n\n constructor(injector: Injector) {\n const storageService = injector.get(AXPEntityStorageService);\n //\n this._globalTemplateDataProvider = new AXPEntityDataProviderImpl<any>(storageService, 'globalTemplate');\n this._globalTemplateDataProvider.initial(GLOBAL_TEMPLATES);\n }\n\n public get globalTemplateDataProvider() {\n return this._globalTemplateDataProvider;\n }\n}\n","import { AXPDataGenerator, AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { applyFilterArray, applySortArray } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { TemplateManagementService } from '../template-management.service';\n\nexport async function globalTemplateEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(TemplateManagementService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'globalTemplate',\n source: 'template-management.globalTemplate',\n title: 'Templates',\n formats: {\n individual: 'Template',\n plural: 'Templates',\n },\n relatedEntities: [\n {\n entity: 'template-management.templateVariable',\n columns: ['name', 'title', 'type', 'requirement'],\n conditions: [\n {\n name: 'globalTemplateId',\n operator: {\n type: 'equal',\n },\n value: 'id',\n },\n ],\n },\n ],\n groups: [\n {\n id: 'template',\n title: 'Template',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'content',\n title: 'Content',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.richText,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });\n\n dataService.globalTemplateDataProvider.insertOne(entity);\n return Promise.resolve(entity);\n },\n },\n delete: {\n execute: async (id: any) => {\n await await dataService.globalTemplateDataProvider.deleteOne(id);\n return Promise.resolve();\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.globalTemplateDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.globalTemplateDataProvider.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n const list = await dataService.globalTemplateDataProvider.getAll();\n const sortedItems = applySortArray(list, e.sort);\n const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);\n return Promise.resolve({\n total: filteredItems.length,\n items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),\n });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'template',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPDataGenerator, AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { TemplateManagementService } from '../template-management.service';\n\nexport async function templateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(TemplateManagementService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'templateVariable',\n source: 'template-management.templateVariable',\n title: 'TemplateVariables',\n formats: {\n individual: 'TemplateVariable',\n plural: 'TemplateVariables',\n },\n relatedEntities: [],\n groups: [\n {\n id: 'templateVariable',\n title: 'TemplateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n },\n },\n },\n {\n name: 'requirement',\n title: 'Requirement',\n groupId: 'templateVariable',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'requirement' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });\n\n // dataService.templateVariableDataProvider.insertOne(entity);\n return Promise.resolve(entity);\n },\n },\n delete: {\n execute: async (id: any) => {\n // await await dataService.templateVariableDataProvider.deleteOne(id);\n return Promise.resolve();\n },\n },\n update: {\n execute: async (data: any) => {\n debugger;\n return new Promise((resolve) => {\n setTimeout(async () => {\n // await dataService.templateVariableDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n // const entity = await dataService.templateVariableDataProvider.getOne(id);\n // resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n // const list = await dataService.templateVariableDataProvider.getAll();\n // const sortedItems = applySortArray(list, e.sort);\n // const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);\n // return Promise.resolve({\n // total: filteredItems.length,\n // items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),\n // });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'templateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'templateVariable',\n },\n {\n id: 'schema',\n },\n {\n id: 'interface',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n\n {\n name: 'schema.nullable',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'templateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,wBAAwB,CAAA;AACnC,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;AAClC,YAAA,SAAS,EAAE;AACT,gBAAA;AACE,oBAAA,OAAO,EAAE,8BAA8B;AACvC,oBAAA,UAAU,EAAE,OAAO,cAAkD,EAAE,QAAkB,KAAI;AAC3F,wBAAA,MAAM,oBAAoB,GAAG,MAAM,CACjC,MAAM,qEAA2C,EACjD,2BAA2B,CAAC,QAAQ,CAAC;AACvC,wBAAA,cAAc,CAAC,QAAQ,CAAC,oBAA2B,CAAC;;AAGpD,wBAAA,MAAM,cAAc,GAAG,MAAM,CAC3B,MAAM,uEAA6C,EACnD,6BAA6B,CAAC,QAAQ,CAAC;AACzC,wBAAA,cAAc,CAAC,QAAQ,CAAC,cAAqB,CAAC;;qBAE/C;AACD,oBAAA,IAAI,EAAE,CAAC,kCAAkC,EAAE,QAAQ,CAAC;AACrD,iBAAA;AACF,aAAA;SACF;;AAGH;;AAEG;IACH,WAAgE,CAAA,SAAgB;AA7BrE,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,kBA6BH,8BAA8B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAA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AAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,SAAS;AAChB,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,QAAQ;AACf,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,WAAW;AAClB,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;;;;ACpTA;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-modules-template-management.mjs","sources":["../../../../libs/modules/template-management/src/lib/entity.loader.ts","../../../../libs/modules/template-management/src/lib/text-management.source.ts","../../../../libs/modules/template-management/src/lib/template.service.ts","../../../../libs/modules/template-management/src/lib/text-template-category.service.ts","../../../../libs/modules/template-management/src/lib/menu.provider.ts","../../../../libs/modules/template-management/src/lib/template-management.module.ts","../../../../libs/modules/template-management/src/lib/entities/category.entity.ts","../../../../libs/modules/template-management/src/lib/entities/text-template.entity.ts","../../../../libs/modules/template-management/src/lib/entities/template-variable.entity.ts","../../../../libs/modules/template-management/src/acorex-modules-template-management.ts"],"sourcesContent":["import { AXPEntity } from '@acorex/platform/common';\nimport { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';\nimport { Injectable, Injector, inject } from '@angular/core';\n\n@Injectable()\nexport class AXMTemplateModuleEntityLoader implements AXPEntityDefinitionLoader {\n private injector = inject(Injector);\n\n async get(moduleName: string, entityName: string): Promise<AXPEntity | null> {\n return new Promise(async (resolve) => {\n switch (entityName) {\n case 'template': {\n const entity = (await import('./entities/text-template.entity')).templateEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n case 'variable': {\n const entity = (await import('./entities/template-variable.entity')).textTemplateVariableEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n case 'category': {\n const entity = (await import('./entities/category.entity')).textTemplateCategoryEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n default:\n resolve(null);\n }\n });\n }\n}\n","export const TEMPLATE_SOURCE_NAME = 'template-management.template';\nexport const CATEGORY_SOURCE_NAME = 'template-management.category';\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';\nimport { Injectable } from '@angular/core';\nimport { AXMTextTemplateCategoryEntityModel, AXMTextTemplateEntityModel } from './template-management.types';\nimport { TEMPLATE_SOURCE_NAME } from './text-management.source';\n\nexport abstract class AXMTextTemplateService extends AXMEntityCrudServiceImpl<string, AXMTextTemplateEntityModel> {\n}\n\n@Injectable()\nexport class AXMTextTemplateServiceImpl extends AXMEntityCrudServiceImpl<string, AXMTextTemplateEntityModel> {\n constructor() {\n super(TEMPLATE_SOURCE_NAME);\n }\n}\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';\nimport { Injectable } from '@angular/core';\nimport { AXMTextTemplateCategoryEntityModel } from './template-management.types';\nimport { CATEGORY_SOURCE_NAME } from './text-management.source';\n\nexport abstract class AXMTextTemplateCategoryService extends AXMEntityCrudServiceImpl<\n string,\n AXMTextTemplateCategoryEntityModel\n> {}\n\n@Injectable()\nexport class AXMTextTemplateCategoryServiceImpl extends AXMEntityCrudServiceImpl<\n string,\n AXMTextTemplateCategoryEntityModel\n> {\n constructor() {\n super(CATEGORY_SOURCE_NAME);\n }\n}\n","import { AXPMenuInsertion, AXPMenuItem, AXPMenuProvider } from \"@acorex/platform/common\";\n\nexport class AXMTextTemplateManagmentModuleMenuProvider implements AXPMenuProvider {\n async items(): Promise<AXPMenuInsertion[]> {\n return [\n {\n items: [\n {\n priority: 9001,\n text: 'Text Template Management',\n icon: 'fa-solid fa-code',\n data: {\n // requiredPermission: 'demo.admin.settings',\n },\n children: [\n {\n text: 'Template',\n path: '/demo/m/template-management/e/template/list',\n icon: 'fa-solid fa-file-code',\n data: {\n //requiredPermission: '',\n },\n },\n {\n text: 'Category',\n path: '/demo/m/template-management/e/category/list',\n icon: 'fa-solid fa-layer-group',\n data: {\n //requiredPermission: '',\n },\n },\n ],\n },\n ]\n }\n ] as AXPMenuInsertion[]\n }\n\n}","import { AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';\nimport { NgModule } from '@angular/core';\nimport { AXMTemplateModuleEntityLoader } from './entity.loader';\nimport { AXMTextTemplateService, AXMTextTemplateServiceImpl } from './template.service';\nimport { AXMTextTemplateCategoryService, AXMTextTemplateCategoryServiceImpl } from './text-template-category.service';\nimport { AXP_MENU_PROVIDER } from '@acorex/platform/common';\nimport { AXMTextTemplateManagmentModuleMenuProvider } from './menu.provider';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n providers: [\n {\n provide: AXP_ENTITY_DEFINITION_LOADER,\n useClass: AXMTemplateModuleEntityLoader,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMTextTemplateManagmentModuleMenuProvider,\n multi: true\n },\n {\n provide: AXMTextTemplateService,\n useClass: AXMTextTemplateServiceImpl,\n },\n {\n provide: AXMTextTemplateCategoryService,\n useClass: AXMTextTemplateCategoryServiceImpl,\n },\n ],\n})\nexport class AXMTemplateManagementModule {\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateCategoryService } from '../text-template-category.service';\n\nexport async function textTemplateCategoryEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateCategoryService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'textTemplateCategory',\n source: 'template-management.textTemplateCategory',\n title: 'Category',\n formats: {\n individual: 'Category',\n plural: 'Categories',\n },\n relatedEntities: [],\n groups: [\n {\n id: 'category',\n title: 'Category',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'category',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'category',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n return await dataService.insertOne(data);\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'category',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'category',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'category',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateService } from '../template.service';\n\nexport async function templateEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'template',\n source: 'templateManagement.template',\n title: 'Templates',\n formats: {\n individual: 'Template',\n plural: 'Templates',\n },\n relatedEntities: [\n {\n entity: 'template-management.variable',\n columns: ['name', 'title', 'type', 'requirement'],\n conditions: [\n {\n name: 'globalTemplateId',\n operator: {\n type: 'equal',\n },\n value: 'id',\n },\n ],\n },\n ],\n groups: [\n {\n id: 'template',\n title: 'Template',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'content',\n title: 'Content',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.richText,\n },\n },\n },\n {\n name: 'category.id',\n title: 'Category',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'template-management.category',\n expose: 'category',\n },\n },\n },\n },\n {\n name: 'category.title',\n title: 'Category Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n dataSource: [\n { title: 'Layout', name: 'layout' },\n { title: 'Template', name: 'template' },\n ],\n direction: 'horizontal',\n multiple: false,\n },\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'category.title' }, { name: 'type' }],\n commands: {\n create: {\n execute: async (data: any) => {\n return await dataService.insertOne(data);\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'category.id',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'category.id',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'template',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType, AXPPagedListResult } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateService } from '../template.service';\n\nexport async function textTemplateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'textTemplateVariable',\n source: 'template-management.textTemplateVariable',\n title: 'Template Variables',\n formats: {\n individual: 'TemplateVariable',\n plural: 'TemplateVariables'\n },\n relatedEntities: [],\n groups: [\n {\n id: 'templateVariable',\n title: 'TemplateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text\n }\n }\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text\n }\n }\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select\n }\n }\n },\n {\n name: 'required',\n title: 'required',\n groupId: 'templateVariable',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle\n }\n }\n }\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'requirement' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const item = await dataService.getOne(data.globalTemplateId);\n (item.templateVariables ??= []).push(data);\n return await dataService.updateOne(data.globalTemplateId, item);\n }\n },\n delete: {\n execute: async (id: any) => {\n // await await dataService.templateVariableDataProvider.deleteOne(id);\n return Promise.resolve();\n }\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n // await dataService.templateVariableDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n }\n }\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n // resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single\n },\n list: {\n execute: async (e: any) => {\n if (e.filter != null && e.filter.filters != null && e.filter.filters[0].value != null) {\n const parentItem = await dataService.getOne(<string>e.filter?.filters[0].value);\n return {\n totalCount: parentItem.templateVariables.length,\n items: parentItem.templateVariables\n };\n } else {\n //TODO throw exception\n return [];\n }\n },\n type: AXPEntityQueryType.List\n }\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'templateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n }\n ]\n },\n update: {\n sections: [\n {\n id: 'templateVariable'\n },\n {\n id: 'schema'\n },\n {\n id: 'interface'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n\n {\n name: 'schema.nullable',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n }\n ]\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'templateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 12\n }\n }\n }\n }\n ],\n actions: []\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual\n }\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: []\n }\n ]\n }\n }\n }\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAKa,6BAA6B,CAAA;AAD1C,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAyBpC;AAvBC,IAAA,MAAM,GAAG,CAAC,UAAkB,EAAE,UAAkB,EAAA;AAC9C,QAAA,OAAO,IAAI,OAAO,CAAC,OAAO,OAAO,KAAI;YACnC,QAAQ,UAAU;gBAChB,KAAK,UAAU,EAAE;oBACf,MAAM,MAAM,GAAG,CAAC,MAAM,mEAAyC,EAAE,qBAAqB;oBACtF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC9B;;gBAEF,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AI,EAAE;AACJ,oBAAA,OAAO,EAAE;AACP,wBAAA;AACE,4BAAA,KAAK,EAAE,YAAY;AACnB,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,cAAc;AACrB,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,SAAS;AAChB,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC;AAC9B,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,QAAQ;AACf,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,WAAW;AAClB,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE;AACR;AACF;AACF;AACF;AACF;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;;;;ACrTA;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/router";
3
- import * as i2 from "@acorex/platform/themes/shared";
3
+ import * as i2 from "@acorex/platform/widgets";
4
4
  export declare class AXMFormManagementModule {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMFormManagementModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXMFormManagementModule, never, [typeof i1.RouterModule, typeof i2.AXPThemesSharedModule], never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMFormManagementModule, never, [typeof i1.RouterModule, typeof i2.AXPWidgetsModule], never>;
7
7
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMFormManagementModule>;
8
8
  }
@@ -0,0 +1,4 @@
1
+ import { AXPMenuInsertion, AXPMenuProvider } from "@acorex/platform/common";
2
+ export declare class AXMFormManagmentModuleMenuProvider implements AXPMenuProvider {
3
+ items(): Promise<AXPMenuInsertion[]>;
4
+ }
@@ -1,6 +1,8 @@
1
1
  export * from './lib/notification-management.module';
2
2
  export * from './lib/notification-management.type';
3
3
  export * from './lib/notification.service';
4
+ export * from './lib/entities/my-notification';
4
5
  export * from './lib/entities/notification-channel.entity';
6
+ export * from './lib/entities/notification-log.entity';
5
7
  export * from './lib/entities/notification-template.entity';
6
8
  export * from './lib/entities/notification.entity';
@@ -1,12 +1,8 @@
1
- import { AXPSessionService } from '@acorex/platform/auth';
2
- import { Router } from '@angular/router';
3
1
  import { AXMNotificationItem } from '../../notification-management.type';
4
2
  import * as i0 from "@angular/core";
5
3
  export declare class AXMAdminNotificationItemComponent {
6
4
  data: import("@angular/core").InputSignal<AXMNotificationItem>;
7
5
  onPressNotificationItem: import("@angular/core").OutputEmitterRef<string>;
8
- router: Router;
9
- sessionStorage: AXPSessionService;
10
6
  differentTime: import("@angular/core").Signal<number>;
11
7
  pressNotificationItem(id: string): void;
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationItemComponent, never>;
@@ -5,6 +5,8 @@ export declare class AXMAdminNotificationPanelComponent implements OnInit {
5
5
  onNewNotfication: import("@angular/core").OutputEmitterRef<number>;
6
6
  private notificationService;
7
7
  private toastService;
8
+ private router;
9
+ private sessionService;
8
10
  notifications: import("@angular/core").WritableSignal<AXMNotificationItem[] | undefined>;
9
11
  totalNotifications: import("@angular/core").WritableSignal<number | undefined>;
10
12
  tabItems: import("@angular/core").Signal<AXTabData[]>;
@@ -14,11 +16,14 @@ export declare class AXMAdminNotificationPanelComponent implements OnInit {
14
16
  NewNotificationEffect: import("@angular/core").EffectRef;
15
17
  ngOnInit(): void;
16
18
  private loadNotification;
17
- protected onPressNotificationItem: (id: string) => void;
18
19
  private getTabItems;
19
20
  private getNewNotification;
20
21
  protected getNotificationItems(category: AXMTabDataText): AXMNotificationItem[] | undefined;
21
- protected markAllAsRead(): void;
22
+ protected markAsRead(id: string): Promise<void>;
23
+ private toggleRead;
24
+ protected markAllAsRead(): Promise<void>;
25
+ private toggleMarkAllAsRead;
26
+ protected viewAllNotifications(): void;
22
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationPanelComponent, never>;
23
28
  static ɵcmp: i0.ɵɵComponentDeclaration<AXMAdminNotificationPanelComponent, "axm-admin-notification-panel", never, {}, { "onNewNotfication": "onNewNotfication"; }, never, never, true, never>;
24
29
  }
@@ -1,3 +1,3 @@
1
1
  import { AXPEntity } from '@acorex/platform/common';
2
2
  import { Injector } from '@angular/core';
3
- export declare function globalTemplateEntityFactory(injector: Injector): Promise<AXPEntity | null>;
3
+ export declare function myNotificationEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function notificationLogEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,9 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXMNotificationModuleEntityLoader implements AXPEntityDefinitionLoader {
5
+ private injector;
6
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationModuleEntityLoader, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMNotificationModuleEntityLoader>;
9
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPMenuInsertion, AXPMenuProvider } from "@acorex/platform/common";
2
+ export declare class AXMNotificationManagmentModuleMenuProvider implements AXPMenuProvider {
3
+ items(): Promise<AXPMenuInsertion[]>;
4
+ }
@@ -1,8 +1,7 @@
1
- import { AXPDataGenerator } from '@acorex/platform/common';
2
1
  export declare const NOTIFICATION_TEMPLATES: {
3
2
  id: string;
4
- name: typeof AXPDataGenerator.string;
5
- title: typeof AXPDataGenerator.string;
3
+ name: string;
4
+ title: string;
6
5
  description: string;
7
6
  }[];
8
7
  export declare const NOTIFICATION_CHANNELS: {
@@ -1,13 +1,7 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  import * as i1 from "@acorex/platform/common";
4
3
  export declare class AXMNotificationManagementModule {
5
- static forRoot(): ModuleWithProviders<AXMNotificationManagementModule>;
6
- /**
7
- * @ignore
8
- */
9
- constructor(instances: any[]);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationManagementModule, [{ optional: true; }]>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationManagementModule, never>;
11
5
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXMNotificationManagementModule, never, [typeof i1.AXPComponentSlotModule], never>;
12
6
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMNotificationManagementModule>;
13
7
  }
@@ -1,13 +1,13 @@
1
1
  import { AXPEntityDataProviderImpl, AXPEntityStorageService } from '@acorex/platform/common';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NotificationManagementService {
4
- protected storageService: AXPEntityStorageService;
4
+ protected storageService: AXPEntityStorageService<any, any, any, any, any>;
5
5
  protected _notificationTemplateDataProvider: AXPEntityDataProviderImpl<any>;
6
6
  protected _notificationChannelDataProvider: any;
7
7
  protected _notificationDataProvider: any;
8
8
  constructor();
9
9
  notificationTemplateList(): Promise<any[]>;
10
- get notificationTemplateDataProvider(): AXPEntityDataProviderImpl<any>;
10
+ get notificationTemplateDataProvider(): AXPEntityDataProviderImpl<any, any, Omit<any, "id">, any, any>;
11
11
  get notificationChannelDataProvider(): any;
12
12
  get notificationDataProvider(): any;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationManagementService, never>;
@@ -12,7 +12,7 @@ export interface AXMNotificationItem {
12
12
  type: AXMNotificationType;
13
13
  data: object;
14
14
  };
15
- action: {
15
+ action?: {
16
16
  type: AXMNotificationActionType;
17
17
  data: {
18
18
  [key: string]: unknown;
@@ -1,7 +1,6 @@
1
- import { AXMNotificationMarkAsReadRequest, AXMNotificationResponse } from './notification-management.type';
1
+ import { AXMNotificationItem, AXMNotificationMarkAsReadRequest, AXMNotificationResponse } from './notification-management.type';
2
2
  export declare abstract class AXMNotificationService {
3
3
  abstract getList(): AXMNotificationResponse;
4
- abstract toggleRead(payload?: AXMNotificationMarkAsReadRequest): boolean;
5
- abstract markAllAsRead(): boolean;
6
- abstract create(): boolean;
4
+ abstract markAsRead(payload?: AXMNotificationMarkAsReadRequest): void;
5
+ abstract create(payload?: AXMNotificationItem): void;
7
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/modules",
3
- "version": "18.1.5",
3
+ "version": "18.1.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -46,11 +46,11 @@
46
46
  "esm": "./esm2022/backend/acorex-modules-backend.mjs",
47
47
  "default": "./fesm2022/acorex-modules-backend.mjs"
48
48
  },
49
- "./language-management": {
50
- "types": "./language-management/index.d.ts",
51
- "esm2022": "./esm2022/language-management/acorex-modules-language-management.mjs",
52
- "esm": "./esm2022/language-management/acorex-modules-language-management.mjs",
53
- "default": "./fesm2022/acorex-modules-language-management.mjs"
49
+ "./platform-management": {
50
+ "types": "./platform-management/index.d.ts",
51
+ "esm2022": "./esm2022/platform-management/acorex-modules-platform-management.mjs",
52
+ "esm": "./esm2022/platform-management/acorex-modules-platform-management.mjs",
53
+ "default": "./fesm2022/acorex-modules-platform-management.mjs"
54
54
  },
55
55
  "./notification-management": {
56
56
  "types": "./notification-management/index.d.ts",
@@ -0,0 +1,4 @@
1
+ # @acorex/modules/platform-management
2
+
3
+ Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/platform-management`.
4
+
@@ -0,0 +1,4 @@
1
+ export * from './lib/comments/comment-management.service';
2
+ export * from './lib/platform-management.module';
3
+ export * from './lib/global-variables';
4
+ export * from './lib/languages';
@@ -0,0 +1,10 @@
1
+ import { AXMEntityCrudServiceImpl, AXPEntityDataProviderImpl } from '@acorex/platform/common';
2
+ import { AXPComment, AXPCommentCreateRequest, AXPCommentEntityModel, AXPMessageReactionEntityModel } from '@acorex/platform/themes/shared';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXPCommentServiceImpl extends AXMEntityCrudServiceImpl<string, AXPCommentEntityModel, AXPCommentCreateRequest, AXPComment> {
5
+ protected messageReactionDataProvider: AXPEntityDataProviderImpl<string, AXPMessageReactionEntityModel, Omit<AXPMessageReactionEntityModel, "id">, AXPMessageReactionEntityModel, AXPMessageReactionEntityModel>;
6
+ constructor();
7
+ like(payload: AXPMessageReactionEntityModel): Promise<string>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommentServiceImpl, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommentServiceImpl>;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function globalVariableEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,9 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXMGlobalVariableModuleEntityLoader implements AXPEntityDefinitionLoader {
5
+ private injector;
6
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMGlobalVariableModuleEntityLoader, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMGlobalVariableModuleEntityLoader>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';
2
+ import { AXMGlobalVariableEntityModel } from './global-variables.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl<string, AXMGlobalVariableEntityModel> {
5
+ }
6
+ export declare class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl<string, AXMGlobalVariableEntityModel> {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMGlobalVariablesServiceImpl, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMGlobalVariablesServiceImpl>;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPEntityModel } from '@acorex/platform/common';
2
+ export interface AXMGlobalVariableEntityModel extends AXPEntityModel<string> {
3
+ name: string;
4
+ title: string;
5
+ dataType: string;
6
+ value: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ export * from './entities/global-variable.entity';
2
+ export * from './entity.loader';
3
+ export * from './global-variables.service';
4
+ export * from './global-variables.types';
@@ -0,0 +1,9 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXMLanguageModuleEntityLoader implements AXPEntityDefinitionLoader {
5
+ private injector;
6
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMLanguageModuleEntityLoader, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMLanguageModuleEntityLoader>;
9
+ }
@@ -0,0 +1,4 @@
1
+ export * from './entities/language.entity';
2
+ export * from './entity.loader';
3
+ export * from './language-management.service';
4
+ export * from './language.types';
@@ -0,0 +1,10 @@
1
+ import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';
2
+ import { AXMLanguageEntityModel } from './language.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class AXMLanguageService extends AXMEntityCrudServiceImpl<string, AXMLanguageEntityModel> {
5
+ }
6
+ export declare class AXMLanguageServiceImpl extends AXMEntityCrudServiceImpl<string, AXMLanguageEntityModel> {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMLanguageServiceImpl, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMLanguageServiceImpl>;
10
+ }
@@ -0,0 +1,5 @@
1
+ import { AXPEntityModel } from '@acorex/platform/common';
2
+ export interface AXMLanguageEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ code: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPMenuInsertion, AXPMenuProvider } from "@acorex/platform/common";
2
+ export declare class AXMPlatformManagmentModuleMenuProvider implements AXPMenuProvider {
3
+ items(): Promise<AXPMenuInsertion[]>;
4
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXMPlatformManagementModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPlatformManagementModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMPlatformManagementModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMPlatformManagementModule>;
6
+ }
@@ -1,3 +1,7 @@
1
1
  export * from './lib/template-management.module';
2
- export * from './lib/entities/global-template.entity';
3
- export * from './lib/entities/template-variable.entity';
2
+ export * from './lib/entities';
3
+ export * from './lib/entity.loader';
4
+ export * from './lib/template-management.types';
5
+ export * from './lib/text-management.source';
6
+ export * from './lib/template.service';
7
+ export * from './lib/text-template-category.service';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function textTemplateCategoryEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,3 @@
1
+ export * from './category.entity';
2
+ export * from './text-template.entity';
3
+ export * from './template-variable.entity';
@@ -1,3 +1,3 @@
1
1
  import { AXPEntity } from '@acorex/platform/common';
2
2
  import { Injector } from '@angular/core';
3
- export declare function templateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null>;
3
+ export declare function textTemplateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function templateEntityFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,9 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXMTemplateModuleEntityLoader implements AXPEntityDefinitionLoader {
5
+ private injector;
6
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTemplateModuleEntityLoader, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTemplateModuleEntityLoader>;
9
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPMenuInsertion, AXPMenuProvider } from "@acorex/platform/common";
2
+ export declare class AXMTextTemplateManagmentModuleMenuProvider implements AXPMenuProvider {
3
+ items(): Promise<AXPMenuInsertion[]>;
4
+ }
@@ -1,12 +1,6 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- export declare class TemplateManagementModule {
4
- static forRoot(): ModuleWithProviders<TemplateManagementModule>;
5
- /**
6
- * @ignore
7
- */
8
- constructor(instances: any[]);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateManagementModule, [{ optional: true; }]>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TemplateManagementModule, never, never, never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TemplateManagementModule>;
2
+ export declare class AXMTemplateManagementModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTemplateManagementModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMTemplateManagementModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMTemplateManagementModule>;
12
6
  }