@acorex/modules 19.2.11 → 19.2.15

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 (247) hide show
  1. package/application-management/lib/application-management.service.d.ts +1 -1
  2. package/application-management/lib/application-management.types.d.ts +1 -1
  3. package/application-management/lib/services/application-management.service.d.ts +1 -1
  4. package/application-management/lib/services/application-module-management.service.d.ts +1 -1
  5. package/application-management/lib/services/edition-management.service.d.ts +1 -1
  6. package/application-management/lib/services/entity-management.service.d.ts +1 -1
  7. package/application-management/lib/services/feature-management.service.d.ts +1 -1
  8. package/application-management/lib/services/module-management.service.d.ts +1 -1
  9. package/application-management/lib/services/permission-management.service.d.ts +1 -1
  10. package/application-management/lib/services/property-management.service.d.ts +1 -1
  11. package/auth/lib/auth.module.d.ts +2 -3
  12. package/auth/lib/pages/login/password/password.component.d.ts +1 -0
  13. package/conversation/lib/entities/chat/chat.service.d.ts +1 -1
  14. package/conversation/lib/entities/chat/chat.type.d.ts +1 -1
  15. package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +1 -1
  16. package/conversation/lib/entities/comments/comments.service.d.ts +1 -1
  17. package/conversation/lib/entities/comments/comments.type.d.ts +1 -1
  18. package/document-management/index.d.ts +1 -0
  19. package/document-management/lib/const.d.ts +6 -5
  20. package/document-management/lib/document-management.module.d.ts +3 -1
  21. package/document-management/lib/entities/document/document.service.d.ts +8 -5
  22. package/document-management/lib/entities/document/document.types.d.ts +2 -1
  23. package/document-management/lib/entities/document-type/document-type.service.d.ts +1 -1
  24. package/document-management/lib/entities/document-type/document-type.types.d.ts +16 -1
  25. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.service.d.ts +1 -1
  26. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.types.d.ts +1 -1
  27. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.service.d.ts +1 -1
  28. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.types.d.ts +1 -1
  29. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.service.d.ts +1 -1
  30. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.types.d.ts +1 -1
  31. package/document-management/lib/entities/folder/folder.entity.d.ts +3 -0
  32. package/document-management/lib/entities/folder/folder.service.d.ts +12 -0
  33. package/document-management/lib/entities/folder/folder.types.d.ts +37 -0
  34. package/document-management/lib/entities/folder/index.d.ts +3 -0
  35. package/document-management/lib/entities/index.d.ts +6 -0
  36. package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +14 -0
  37. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +74 -0
  38. package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +57 -0
  39. package/document-management/lib/features/document-explorer/index.d.ts +3 -0
  40. package/document-management/lib/features/document-explorer/settings.keys.d.ts +5 -0
  41. package/document-management/lib/features/drive/drive.component.d.ts +200 -0
  42. package/document-management/lib/features/drive/index.d.ts +3 -0
  43. package/document-management/lib/features/file-type/file-type.module.d.ts +6 -0
  44. package/document-management/lib/features/file-type/index.d.ts +2 -0
  45. package/document-management/lib/features/file-type/providers/archive.file.d.ts +4 -0
  46. package/document-management/lib/features/file-type/providers/audio.file.d.ts +4 -0
  47. package/document-management/lib/features/file-type/providers/code.file.d.ts +4 -0
  48. package/document-management/lib/features/file-type/providers/document.file.d.ts +4 -0
  49. package/document-management/lib/features/file-type/providers/image.file.d.ts +4 -0
  50. package/document-management/lib/features/file-type/providers/index.d.ts +6 -0
  51. package/document-management/lib/features/file-type/providers/video.file.d.ts +4 -0
  52. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +6 -0
  53. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +6 -0
  54. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +18 -0
  55. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +6 -0
  56. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-widget.config.d.ts +7 -0
  57. package/document-management/lib/features/file-type/widgets/file-type-extension/index.d.ts +5 -0
  58. package/document-management/lib/features/file-type/widgets/index.d.ts +1 -0
  59. package/document-management/lib/features/shared/document-manager.service.d.ts +130 -0
  60. package/document-management/lib/features/shared/document-manager.types.d.ts +21 -0
  61. package/document-management/lib/features/shared/index.d.ts +1 -0
  62. package/document-management/lib/menu.provider.d.ts +1 -0
  63. package/fesm2022/acorex-modules-application-management.mjs +3 -3
  64. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  65. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs → acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs} +53 -133
  66. package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map +1 -0
  67. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs} +2 -2
  68. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs.map → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs → acorex-modules-auth-login.module-B1sF3B_O.mjs} +4 -4
  70. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs.map → acorex-modules-auth-login.module-B1sF3B_O.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs → acorex-modules-auth-master.layout-CK4nyS8D.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs.map → acorex-modules-auth-master.layout-CK4nyS8D.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs → acorex-modules-auth-password.component-DC_zi8bV.mjs} +6 -6
  74. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs.map → acorex-modules-auth-password.component-DC_zi8bV.mjs.map} +1 -1
  75. package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs +127 -0
  76. package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs.map +1 -0
  77. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs → acorex-modules-auth-routes-DwHgPrDP.mjs} +2 -2
  78. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs.map → acorex-modules-auth-routes-DwHgPrDP.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs} +5 -5
  80. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs.map → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs} +3 -3
  82. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs.map → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs.map} +1 -1
  83. package/fesm2022/acorex-modules-auth.mjs +1 -1
  84. package/fesm2022/acorex-modules-conversation.mjs +3 -3
  85. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  86. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs +951 -0
  87. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs.map +1 -0
  88. package/fesm2022/acorex-modules-document-management.mjs +1596 -331
  89. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  90. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-BkUdHH_Y.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs} +174 -64
  91. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map +1 -0
  92. package/fesm2022/{acorex-modules-form-template-management-category.entity-D00XZd7o.mjs → acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs} +4 -17
  93. package/fesm2022/acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map +1 -0
  94. package/fesm2022/{acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs → acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs} +4 -3
  95. package/fesm2022/acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map +1 -0
  96. package/fesm2022/{acorex-modules-form-template-management-setting.provider-Dy-Cd_iL.mjs → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-form-template-management-setting.provider-Dy-Cd_iL.mjs.map → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map} +1 -1
  98. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs +191 -0
  99. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-rGcHfFSh.mjs → acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs} +32 -49
  101. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map +1 -0
  102. package/fesm2022/{acorex-modules-form-template-management-template.entity-B0DUUdPJ.mjs → acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs} +3 -3
  103. package/fesm2022/acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map +1 -0
  104. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-xUrGRQbQ.mjs → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs} +2 -2
  105. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-xUrGRQbQ.mjs.map → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map} +1 -1
  106. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  107. package/fesm2022/acorex-modules-notification-management.mjs +10 -3
  108. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  109. package/fesm2022/{acorex-modules-organization-management-add-item.component-PhQRBTtI.mjs → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs} +2 -2
  110. package/fesm2022/{acorex-modules-organization-management-add-item.component-PhQRBTtI.mjs.map → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map} +1 -1
  111. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs +344 -0
  112. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map +1 -0
  113. package/fesm2022/{acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs → acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs} +4 -4
  114. package/fesm2022/acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map +1 -0
  115. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs} +2 -2
  116. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map} +1 -1
  117. package/fesm2022/{acorex-modules-organization-management-org-chart.page-BSh18amn.mjs → acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs} +17 -11
  118. package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +1 -0
  119. package/fesm2022/{acorex-modules-organization-management-position.entity-B7ceEEbu.mjs → acorex-modules-organization-management-position.entity-D17Yembh.mjs} +2 -2
  120. package/fesm2022/acorex-modules-organization-management-position.entity-D17Yembh.mjs.map +1 -0
  121. package/fesm2022/{acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs → acorex-modules-organization-management-role.entity-Cmbyle8P.mjs} +36 -54
  122. package/fesm2022/acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map +1 -0
  123. package/fesm2022/{acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs → acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs} +7 -7
  124. package/fesm2022/acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs +238 -0
  126. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map +1 -0
  127. package/fesm2022/acorex-modules-organization-management.mjs +200 -105
  128. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  129. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs +59 -0
  130. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-platform-management.mjs +867 -610
  132. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  133. package/fesm2022/acorex-modules-scheduler-job-management.mjs +2 -2
  134. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  135. package/fesm2022/acorex-modules-security-management.mjs +61 -29
  136. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  137. package/fesm2022/acorex-modules-text-template-management.mjs +324 -6
  138. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  139. package/form-template-management/lib/entities/category/category.service.d.ts +1 -1
  140. package/form-template-management/lib/entities/category/category.types.d.ts +2 -1
  141. package/form-template-management/lib/entities/template/template.service.d.ts +1 -1
  142. package/form-template-management/lib/entities/template/template.types.d.ts +1 -1
  143. package/form-template-management/lib/features/designer/designer.page.d.ts +1 -0
  144. package/form-template-management/lib/features/designer/template.provider.d.ts +1 -1
  145. package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +0 -4
  146. package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +1 -0
  147. package/form-template-management/lib/features/designer/widgets/template-picker/template-picker.component.d.ts +14 -4
  148. package/form-template-management/lib/features/designer/widgets/template-picker/template.provider.d.ts +2 -1
  149. package/form-template-management/lib/features/designer/workflows/design-template.workflow.d.ts +1 -8
  150. package/form-template-management/lib/features/designer/workflows/workflow.actions.d.ts +17 -0
  151. package/form-template-management/lib/menu.provider.d.ts +1 -0
  152. package/notification-management/lib/entities/channel/channel.service.d.ts +1 -1
  153. package/notification-management/lib/entities/channel/channel.types.d.ts +2 -1
  154. package/notification-management/lib/entities/notification/notification.service.d.ts +1 -1
  155. package/notification-management/lib/entities/notification/notification.types.d.ts +1 -1
  156. package/notification-management/lib/entities/template/template.service.d.ts +1 -1
  157. package/notification-management/lib/entities/template/template.types.d.ts +1 -1
  158. package/notification-management/lib/menu.provider.d.ts +1 -0
  159. package/organization-management/lib/const.d.ts +3 -0
  160. package/organization-management/lib/entities/branch/branch.service.d.ts +1 -1
  161. package/organization-management/lib/entities/branch/branch.types.d.ts +1 -1
  162. package/organization-management/lib/entities/chart/chart.service.d.ts +1 -1
  163. package/organization-management/lib/entities/chart/chart.types.d.ts +1 -1
  164. package/organization-management/lib/entities/company/company.service.d.ts +1 -1
  165. package/organization-management/lib/entities/company/company.types.d.ts +1 -1
  166. package/organization-management/lib/entities/department/department.service.d.ts +1 -1
  167. package/organization-management/lib/entities/department/department.types.d.ts +1 -1
  168. package/organization-management/lib/entities/division/division.service.d.ts +1 -1
  169. package/organization-management/lib/entities/division/division.types.d.ts +1 -1
  170. package/organization-management/lib/entities/employee/employee.service.d.ts +1 -1
  171. package/organization-management/lib/entities/employee/employee.types.d.ts +1 -1
  172. package/organization-management/lib/entities/employment-type/employment-type.service.d.ts +1 -1
  173. package/organization-management/lib/entities/employment-type/employment-type.types.d.ts +1 -1
  174. package/organization-management/lib/entities/index.d.ts +6 -4
  175. package/organization-management/lib/entities/position/position.service.d.ts +1 -1
  176. package/organization-management/lib/entities/position/position.types.d.ts +1 -1
  177. package/organization-management/lib/entities/role/index.d.ts +3 -0
  178. package/organization-management/lib/entities/role/role.entity.d.ts +3 -0
  179. package/organization-management/lib/entities/role/role.module.d.ts +6 -0
  180. package/organization-management/lib/entities/role/role.service.d.ts +10 -0
  181. package/organization-management/lib/entities/role/role.types.d.ts +5 -0
  182. package/organization-management/lib/entities/team/index.d.ts +3 -0
  183. package/organization-management/lib/entities/team/team.entity.d.ts +3 -0
  184. package/organization-management/lib/entities/team/team.module.d.ts +6 -0
  185. package/organization-management/lib/entities/team/team.service.d.ts +10 -0
  186. package/organization-management/lib/entities/team/team.types.d.ts +5 -0
  187. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +3 -0
  188. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -0
  189. package/organization-management/lib/organization-management.module.d.ts +11 -9
  190. package/package.json +1 -1
  191. package/platform-management/lib/common/regional/data-source.provider.d.ts +10 -0
  192. package/platform-management/lib/const.d.ts +6 -0
  193. package/platform-management/lib/entities/app-term/app-term.service.d.ts +1 -1
  194. package/platform-management/lib/entities/app-term/app-term.types.d.ts +1 -1
  195. package/platform-management/lib/entities/app-version/app-version.service.d.ts +1 -1
  196. package/platform-management/lib/entities/app-version/app-version.types.d.ts +1 -1
  197. package/platform-management/lib/entities/app-version/components/slots/app-version-slot.component.d.ts +1 -1
  198. package/platform-management/lib/entities/app-version/workflows/change-log.workflow.d.ts +1 -1
  199. package/platform-management/lib/entities/app-version/workflows/show-release-notes.workflow.d.ts +9 -0
  200. package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
  201. package/platform-management/lib/entities/data-source/data-source.types.d.ts +1 -1
  202. package/platform-management/lib/entities/global-variable/global-variables.service.d.ts +1 -1
  203. package/platform-management/lib/entities/global-variable/global-variables.types.d.ts +1 -1
  204. package/platform-management/lib/entities/index.d.ts +1 -1
  205. package/platform-management/lib/entities/meta-data-definition/index.d.ts +0 -1
  206. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +5 -5
  207. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -4
  208. package/platform-management/lib/entities/promotion/promotion.service.d.ts +1 -1
  209. package/platform-management/lib/entities/promotion/promotion.types.d.ts +2 -1
  210. package/platform-management/lib/platform-management.module.d.ts +4 -5
  211. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.d.ts +1 -1
  212. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.d.ts +1 -1
  213. package/security-management/lib/entities/index.d.ts +2 -0
  214. package/security-management/lib/entities/profile/profile.types.d.ts +1 -1
  215. package/security-management/lib/entities/roles/roles.service.d.ts +1 -1
  216. package/security-management/lib/entities/roles/roles.types.d.ts +3 -1
  217. package/security-management/lib/entities/users/users.service.d.ts +1 -1
  218. package/security-management/lib/entities/users/users.types.d.ts +12 -3
  219. package/text-template-management/lib/const.d.ts +6 -0
  220. package/text-template-management/lib/entities/category/category.service.d.ts +1 -1
  221. package/text-template-management/lib/entities/category/category.types.d.ts +1 -1
  222. package/text-template-management/lib/entities/index.d.ts +1 -0
  223. package/text-template-management/lib/entities/tag-template/index.d.ts +3 -0
  224. package/text-template-management/lib/entities/tag-template/tag-template.entity.d.ts +3 -0
  225. package/text-template-management/lib/entities/tag-template/tag-template.service.d.ts +10 -0
  226. package/text-template-management/lib/entities/tag-template/tag-template.types.d.ts +5 -0
  227. package/text-template-management/lib/entities/template/template.service.d.ts +1 -1
  228. package/text-template-management/lib/entities/template/template.types.d.ts +1 -1
  229. package/auth/lib/store/auth.effects.d.ts +0 -18
  230. package/auth/lib/store/index.d.ts +0 -1
  231. package/document-management/lib/entities/document-type/coulmn-def.widget.d.ts +0 -70
  232. package/fesm2022/acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs.map +0 -1
  233. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs +0 -121
  234. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BkUdHH_Y.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-form-template-management-category.entity-D00XZd7o.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs +0 -126
  239. package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-rGcHfFSh.mjs.map +0 -1
  241. package/fesm2022/acorex-modules-form-template-management-template.entity-B0DUUdPJ.mjs.map +0 -1
  242. package/fesm2022/acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs.map +0 -1
  243. package/fesm2022/acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-organization-management-org-chart.page-BSh18amn.mjs.map +0 -1
  245. package/fesm2022/acorex-modules-organization-management-position.entity-B7ceEEbu.mjs.map +0 -1
  246. package/fesm2022/acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs.map +0 -1
  247. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.module.d.ts +0 -6
@@ -1,10 +1,10 @@
1
1
  import * as i1$1 from '@acorex/platform/common';
2
- import { AXPRegionalService, AXPSettingScope, AXPSettingService, AXP_SETTING_DEFINITION_PROVIDER, AXPComponentSlotModule, AXMEntityCrudServiceImpl, AXPEntityQueryType, AXPEntityCommandScope, createAllQueryView, AXP_APP_VERSION_PROVIDER, AXPAppStartUpService, createQueryView, AXPFileStorageService, AXP_MENU_PROVIDER } from '@acorex/platform/common';
3
- import { AXP_ENTITY_DEFINITION_LOADER, AXPEntityDefinitionRegistryService, AXPEntityService, AXPEntityResolver, AXP_ENTITY_CONFIG_TOKEN } from '@acorex/platform/layout/entity';
4
- import * as i2$4 from '@acorex/platform/workflow';
2
+ import { AXPRegionalService, AXPSettingScope, AXPSettingService, AXP_SETTING_DEFINITION_PROVIDER, AXPComponentSlotModule, AXPEntityQueryType, AXPEntityCommandScope, createAllQueryView, AXP_APP_VERSION_PROVIDER, AXPAppStartUpService, createQueryView, AXPFileStorageService, AXP_MENU_PROVIDER } from '@acorex/platform/common';
3
+ import { AXP_ENTITY_DEFINITION_LOADER, AXMEntityCrudServiceImpl, AXPEntityDefinitionRegistryService, AXPEntityResolver, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN } from '@acorex/platform/layout/entity';
4
+ import * as i2$3 from '@acorex/platform/workflow';
5
5
  import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowModule } from '@acorex/platform/workflow';
6
6
  import * as i0 from '@angular/core';
7
- import { inject, Injector, Injectable, signal, Component, NgModule, HostListener, ChangeDetectionStrategy, Input } from '@angular/core';
7
+ import { inject, Injector, Injectable, signal, Component, NgModule, HostListener, Input } from '@angular/core';
8
8
  import { ROUTES } from '@angular/router';
9
9
  import * as i6 from '@acorex/core/translation';
10
10
  import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
@@ -19,14 +19,15 @@ import { AXDropdownModule } from '@acorex/components/dropdown';
19
19
  import { AXPopoverModule } from '@acorex/components/popover';
20
20
  import * as i1$2 from '@angular/common';
21
21
  import { CommonModule } from '@angular/common';
22
+ import { AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
23
+ import { applyQueryArray, AXPHtmlUtils } from '@acorex/platform/core';
22
24
  import * as i5 from '@acorex/cdk/outline';
23
25
  import { AXOutlineModule } from '@acorex/cdk/outline';
24
26
  import { AXBasePageComponent } from '@acorex/components/page';
25
27
  import * as i4 from '@acorex/components/side-menu';
26
28
  import { AXSideMenuModule } from '@acorex/components/side-menu';
27
29
  import * as i2$1 from '@acorex/core/format';
28
- import { AXFormatModule, AXFormatService } from '@acorex/core/format';
29
- import { AXPHtmlUtils } from '@acorex/platform/core';
30
+ import { AXFormatModule } from '@acorex/core/format';
30
31
  import { AXPSimplePageLayout } from '@acorex/platform/themes/default';
31
32
  import { AXPThemeLayoutHeaderTemplateComponent, AXPThemeLayoutBlockComponent } from '@acorex/platform/themes/shared';
32
33
  import { AXPopupService } from '@acorex/components/popup';
@@ -35,13 +36,10 @@ import { AXCheckBoxModule } from '@acorex/components/check-box';
35
36
  import * as i2$2 from '@acorex/components/label';
36
37
  import { AXLabelModule } from '@acorex/components/label';
37
38
  import { AXSafePipe } from '@acorex/core/pipes';
38
- import * as i2$3 from '@acorex/components/time-line';
39
- import { AXTimeLineModule } from '@acorex/components/time-line';
40
- import { AXDateTimeModule } from '@acorex/core/date-time';
41
39
  import { AXPSessionService } from '@acorex/platform/auth';
42
- import { AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
43
40
  import { upperFirst, camelCase } from 'lodash-es';
44
41
  import get from 'lodash-es/get';
42
+ import { firstValueFrom } from 'rxjs';
45
43
 
46
44
  class AXMCommonModuleEntityProvider {
47
45
  constructor() {
@@ -99,7 +97,7 @@ class AXMRegionalSettingProvider {
99
97
  type: AXPWidgetsCatalog.select,
100
98
  options: {
101
99
  valueField: 'code',
102
- dataSource: this.regionalService.getTimeZones(),
100
+ dataSource: await this.regionalService.getTimeZones(),
103
101
  },
104
102
  },
105
103
  description: 'Set the default time zone for the application.',
@@ -128,7 +126,8 @@ class AXMRegionalSettingProvider {
128
126
  title: 'Regional Format',
129
127
  scope: 'U',
130
128
  isInherited: true,
131
- defaultValue: await this.translationService.getDefaultLang(),
129
+ //defaultValue: await this.translationService.getDefaultLang(),
130
+ defaultValue: 'en-AU',
132
131
  valueTransforms: objectKeyValueTransforms('locale'),
133
132
  widget: {
134
133
  type: AXPWidgetsCatalog.select,
@@ -159,7 +158,10 @@ class AXMRegionalSettingProvider {
159
158
  triggers: [
160
159
  {
161
160
  event: `{{ events.context('${AXPRegionalSetting.Regional}') }}`,
162
- action: `{{ console.log(widget.find('${AXPRegionalSetting.Regional}').output('selectedItems')[0]) }}`,
161
+ action: [
162
+ `{{ console.log(widget.find('${AXPRegionalSetting.Regional}').output('item')) }}`,
163
+ `{{ widget.setValue(widget.find('${AXPRegionalSetting.Regional}').output('item').calendar) }}`,
164
+ ],
163
165
  },
164
166
  ],
165
167
  },
@@ -232,6 +234,7 @@ class AXMRegionalSettingProvider {
232
234
  type: AXPWidgetsCatalog.select,
233
235
  options: {
234
236
  valueField: 'value',
237
+ textField: 'text',
235
238
  dataSource: [
236
239
  { text: '12-hour (hh:mm AM/PM)', value: 'hh:mm a' },
237
240
  { text: '24-hour (HH:mm)', value: 'HH:mm' },
@@ -250,6 +253,7 @@ class AXMRegionalSettingProvider {
250
253
  type: AXPWidgetsCatalog.select,
251
254
  options: {
252
255
  valueField: 'value',
256
+ textField: 'text',
253
257
  dataSource: [
254
258
  { text: '12-hour (hh:mm:ss AM/PM)', value: 'hh:mm:ss a' },
255
259
  { text: '24-hour (HH:mm:ss)', value: 'HH:mm:ss' },
@@ -315,13 +319,224 @@ class AXMLanguageSlotComponent {
315
319
  this.items.set(items);
316
320
  }
317
321
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLanguageSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
318
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item [text]=\"lang.title\" [selected]=\"store.language()===lang.code\"\n (onClick)=\"store.changeLanguage(lang.code)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: CommonModule }] }); }
322
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item [text]=\"lang.title\" [selected]=\"store.language()===lang.code\"\n (onClick)=\"store.changeLanguage(lang.code)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: CommonModule }] }); }
319
323
  }
320
324
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLanguageSlotComponent, decorators: [{
321
325
  type: Component,
322
326
  args: [{ imports: [AXDropdownModule, AXDecoratorModule, AXPopoverModule, AXButtonModule, CommonModule], template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item [text]=\"lang.title\" [selected]=\"store.language()===lang.code\"\n (onClick)=\"store.changeLanguage(lang.code)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>" }]
323
327
  }] });
324
328
 
329
+ class AXPRegionalWidgetDataSourceProvider {
330
+ constructor() {
331
+ this.regionalService = inject(AXPRegionalService);
332
+ //#region Country
333
+ this.country = {
334
+ name: "countries",
335
+ title: "Countries",
336
+ textField: 'title',
337
+ valueField: 'code',
338
+ columns: [
339
+ {
340
+ name: 'code',
341
+ title: "Code"
342
+ },
343
+ {
344
+ name: 'title',
345
+ title: "Title"
346
+ },
347
+ {
348
+ name: 'timezone',
349
+ title: "Timezone"
350
+ }
351
+ ],
352
+ source: async () => {
353
+ const list = await this.regionalService.getCountries();
354
+ return new AXDataSource({
355
+ pageSize: 20,
356
+ key: 'code',
357
+ load: (e) => {
358
+ return applyQueryArray(list, e);
359
+ },
360
+ byKey: async (key) => {
361
+ return list.find(c => c.code == key);
362
+ }
363
+ });
364
+ },
365
+ samples: [
366
+ { code: 'US', title: 'United States', timezone: 'GMT-5' },
367
+ { code: 'CA', title: 'Canada', timezone: 'GMT-6' },
368
+ { code: 'GB', title: 'United Kingdom', timezone: 'GMT+0' }
369
+ ]
370
+ };
371
+ //#endregion
372
+ //#region Cities
373
+ this.cities = {
374
+ name: "cities",
375
+ title: "Cities",
376
+ textField: 'title',
377
+ valueField: 'code',
378
+ columns: [
379
+ {
380
+ name: 'code',
381
+ title: "Code"
382
+ },
383
+ {
384
+ name: 'title',
385
+ title: "Title"
386
+ },
387
+ {
388
+ name: 'timezone',
389
+ title: "Timezone"
390
+ }
391
+ ],
392
+ source: async () => {
393
+ const list = await this.regionalService.getCities();
394
+ return new AXDataSource({
395
+ pageSize: 20,
396
+ key: 'code',
397
+ load: (e) => {
398
+ return applyQueryArray(list, e);
399
+ },
400
+ byKey: async (key) => {
401
+ return list.find(c => c.code == key);
402
+ }
403
+ });
404
+ },
405
+ samples: [
406
+ { code: 'NYC', title: 'New York', timezone: 'GMT-5' },
407
+ { code: 'TOR', title: 'Toronto', timezone: 'GMT-5' },
408
+ { code: 'LDN', title: 'London', timezone: 'GMT+0' }
409
+ ]
410
+ };
411
+ //#endregion
412
+ //#region Provinces
413
+ this.provinces = {
414
+ name: "provinces",
415
+ title: "Provinces",
416
+ textField: 'title',
417
+ valueField: 'code',
418
+ columns: [
419
+ {
420
+ name: 'code',
421
+ title: "Code"
422
+ },
423
+ {
424
+ name: 'title',
425
+ title: "Title"
426
+ },
427
+ {
428
+ name: 'timezone',
429
+ title: "Timezone"
430
+ }
431
+ ],
432
+ source: async () => {
433
+ const list = await this.regionalService.getProvinces();
434
+ return new AXDataSource({
435
+ pageSize: 20,
436
+ key: 'code',
437
+ load: (e) => {
438
+ return applyQueryArray(list, e);
439
+ },
440
+ byKey: async (key) => {
441
+ return list.find(p => p.code == key);
442
+ }
443
+ });
444
+ },
445
+ samples: [
446
+ { code: 'CA', title: 'California', timezone: 'GMT-8' },
447
+ { code: 'ON', title: 'Ontario', timezone: 'GMT-5' },
448
+ { code: 'ENG', title: 'England', timezone: 'GMT+0' }
449
+ ]
450
+ };
451
+ //#endregion
452
+ //#region Currencies
453
+ this.currencies = {
454
+ name: "currencies",
455
+ title: "Currencies",
456
+ textField: 'title',
457
+ valueField: 'code',
458
+ columns: [
459
+ {
460
+ name: 'code',
461
+ title: "Code"
462
+ },
463
+ {
464
+ name: 'title',
465
+ title: "Title"
466
+ },
467
+ {
468
+ name: 'symbol',
469
+ title: "Symbol"
470
+ },
471
+ ],
472
+ source: async () => {
473
+ const list = await this.regionalService.getCurrencies();
474
+ return new AXDataSource({
475
+ pageSize: 20,
476
+ key: 'code',
477
+ load: (e) => {
478
+ return applyQueryArray(list, e);
479
+ },
480
+ byKey: async (key) => {
481
+ return list.find(c => c.code == key);
482
+ }
483
+ });
484
+ },
485
+ samples: [
486
+ { code: 'USD', title: 'United States Dollar', symbol: '$' },
487
+ { code: 'CAD', title: 'Canadian Dollar', symbol: 'CA$' },
488
+ { code: 'GBP', title: 'British Pound', symbol: '£' }
489
+ ]
490
+ };
491
+ //#endregion
492
+ //#region Languages
493
+ this.languages = {
494
+ name: "languages",
495
+ title: "Languages",
496
+ textField: 'title',
497
+ valueField: 'code',
498
+ columns: [
499
+ {
500
+ name: 'code',
501
+ title: "Code"
502
+ },
503
+ {
504
+ name: 'title',
505
+ title: "Title"
506
+ },
507
+ ],
508
+ source: async () => {
509
+ const list = await this.regionalService.getLanguages();
510
+ return new AXDataSource({
511
+ pageSize: 20,
512
+ key: 'code',
513
+ load: (e) => {
514
+ return applyQueryArray(list, e);
515
+ },
516
+ byKey: async (key) => {
517
+ return list.find(l => l.code == key);
518
+ }
519
+ });
520
+ },
521
+ samples: [
522
+ { code: 'EN', title: 'English', nativeName: 'English' },
523
+ { code: 'FR', title: 'French', nativeName: 'Français' },
524
+ { code: 'ES', title: 'Spanish', nativeName: 'Español' }
525
+ ]
526
+ };
527
+ }
528
+ //#endregion
529
+ async items() {
530
+ return [
531
+ this.country,
532
+ this.cities,
533
+ this.provinces,
534
+ this.currencies,
535
+ this.languages
536
+ ];
537
+ }
538
+ }
539
+
325
540
  class AXMPlatformManagementCommonModule {
326
541
  constructor(appInitService, injector) {
327
542
  const service = injector.get(AXPRegionalStoreService);
@@ -346,6 +561,11 @@ class AXMPlatformManagementCommonModule {
346
561
  useClass: AXMRegionalSettingProvider,
347
562
  multi: true
348
563
  },
564
+ {
565
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
566
+ useClass: AXPRegionalWidgetDataSourceProvider,
567
+ multi: true
568
+ },
349
569
  ], imports: [AXPComponentSlotModule.forChild({
350
570
  'header-end': [
351
571
  {
@@ -381,6 +601,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
381
601
  useClass: AXMRegionalSettingProvider,
382
602
  multi: true
383
603
  },
604
+ {
605
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
606
+ useClass: AXPRegionalWidgetDataSourceProvider,
607
+ multi: true
608
+ },
384
609
  ],
385
610
  }]
386
611
  }], ctorParameters: () => [{ type: i1$1.AXPAppStartUpService }, { type: i0.Injector }] });
@@ -397,6 +622,12 @@ const RootConfig = {
397
622
  icon: 'fa-light fa-cogs',
398
623
  },
399
624
  entities: {
625
+ sample: {
626
+ name: 'Sample',
627
+ title: `t("sample", { scope: "${config.i18n}" })`,
628
+ titlePlural: `t("samplePlural", { scope: "${config.i18n}" })`,
629
+ icon: 'fa-light fa-default',
630
+ },
400
631
  localizationManagement: {
401
632
  name: 'Localization Management',
402
633
  title: `t("localization-management", {scope:"${config.i18n}"})`,
@@ -916,7 +1147,7 @@ class AXMListTermsComponent extends AXBasePageComponent {
916
1147
  setTimeout(() => this.checkScroll(), 50);
917
1148
  }
918
1149
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListTermsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
919
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMListTermsComponent, isStandalone: true, selector: "acorex-platform-list-terms", host: { listeners: { "window:resize": "onResize($event)" } }, usesInheritance: true, ngImport: i0, template: "<axp-layout-simple-page>\n <axp-layout-header>\n <axp-layout-title> {{ pageTitle | translate : { scope: i18n } | async }} </axp-layout-title>\n <axp-layout-description>Please review the terms and conditions carefully. </axp-layout-description>\n </axp-layout-header>\n @if(loaded()){\n <axp-layout-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'simple-page-content'\"\n [activationOffset]=\"150\">\n <div class=\"ax-flex\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-text-neutral-700\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content\"></div>\n </div>\n }\n </div>\n @if(showScrollSide){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60 ax-sticky ax-top-0\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full\"></ax-side-menu>\n </div>\n }\n </div>\n </axp-layout-content>\n }\n</axp-layout-simple-page>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2$1.AXFormatPipe, name: "format" }, { kind: "component", type: AXPSimplePageLayout, selector: "axp-layout-simple-page" }, { kind: "component", type: AXPThemeLayoutHeaderTemplateComponent, selector: "axp-layout-header" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-layout-content, axp-layout-header-container, axp-layout-side-container, axp-layout-sections, axp-layout-section-container, axp-layout-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title, axp-layout-nav-button, axp-layout-description, axp-layout-toolbar, axp-layout-title-bar, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }] }); }
1150
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMListTermsComponent, isStandalone: true, selector: "acorex-platform-list-terms", host: { listeners: { "window:resize": "onResize($event)" } }, usesInheritance: true, ngImport: i0, template: "<axp-layout-simple-page>\n <axp-layout-header>\n <axp-layout-title> {{ pageTitle | translate : { scope: i18n } | async }} </axp-layout-title>\n <axp-layout-description>Please review the terms and conditions carefully. </axp-layout-description>\n </axp-layout-header>\n @if(loaded()){\n <axp-layout-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'simple-page-content'\"\n [activationOffset]=\"150\">\n <div class=\"ax-flex\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-text-neutral-700\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content\"></div>\n </div>\n }\n </div>\n @if(showScrollSide){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60 ax-sticky ax-top-0\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full\"></ax-side-menu>\n </div>\n }\n </div>\n </axp-layout-content>\n }\n</axp-layout-simple-page>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2$1.AXFormatPipe, name: "format" }, { kind: "component", type: AXPSimplePageLayout, selector: "axp-layout-simple-page" }, { kind: "component", type: AXPThemeLayoutHeaderTemplateComponent, selector: "axp-layout-header" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-layout-content, axp-layout-header-container, axp-layout-side-container, axp-layout-sections, axp-layout-section-container, axp-layout-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title, axp-layout-nav-button, axp-layout-description, axp-layout-title-bar, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }] }); }
920
1151
  }
921
1152
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListTermsComponent, decorators: [{
922
1153
  type: Component,
@@ -1412,59 +1643,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
1412
1643
  args: [{ selector: 'axm-notify-app', imports: [CommonModule, AXLabelModule, AXCheckBoxModule, AXDecoratorModule, AXButtonModule, AXTranslationModule], template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n" }]
1413
1644
  }] });
1414
1645
 
1415
- class AXMListVersionComponent extends AXBasePageComponent {
1416
- constructor() {
1417
- super(...arguments);
1418
- this.appVersionService = inject(AXMAppVersionService);
1419
- this.formatService = inject(AXFormatService);
1420
- this.htmlUtil = inject(AXPHtmlUtils);
1421
- this.versions = signal([]);
1422
- }
1423
- async ngOnInit() {
1424
- const result = await this.appVersionService.query({
1425
- take: 1000,
1426
- skip: 0,
1427
- });
1428
- const mappedItems = result.items.map((item) => ({
1429
- id: item.id,
1430
- //TODO to translate
1431
- title: `Version ${item.versionNumber} Published at ${this.formatService.format(item.publishDate, 'datetime', {
1432
- format: 'date',
1433
- })}`,
1434
- content: this.htmlUtil.getSafeHTMLfromHTML(item.changeLog) ?? '',
1435
- }));
1436
- this.versions.set(mappedItems);
1437
- }
1438
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListVersionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1439
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMListVersionComponent, isStandalone: true, selector: "axm-list-version", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-px-12 ax-min-h-96\">\n <ax-time-line>\n @for(version of versions();track version.id){\n <ax-time-line-item [text]=\"version.title\" [isCollapsed]=\"$index == 0 ? false : true\">\n <ax-icon class=\"fa-solid fa-flag-checkered\"></ax-icon>\n <ax-content class=\"ax-px-8 ax-py-2 ax-text-base/6\" [innerHtml]=\"version.content\"></ax-content>\n </ax-time-line-item>\n }\n </ax-time-line>\n <ax-footer class=\"ax-flex !ax-justify-end\"\n ><ax-button [text]=\"'okay' | translate | async\" color=\"primary\" (onClick)=\"this.close()\"></ax-button\n ></ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXTimeLineModule }, { kind: "component", type: i2$3.AXTimeLineComponent, selector: "ax-time-line", inputs: ["mode"] }, { kind: "component", type: i2$3.AXTimeLineItemComponent, selector: "ax-time-line-item", inputs: ["text", "isActive", "isCollapsed"], outputs: ["isCollapsedChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1440
- }
1441
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListVersionComponent, decorators: [{
1442
- type: Component,
1443
- args: [{ selector: 'axm-list-version', imports: [
1444
- CommonModule,
1445
- AXTimeLineModule,
1446
- AXDecoratorModule,
1447
- AXFormatModule,
1448
- AXDateTimeModule,
1449
- AXButtonModule,
1450
- AXTranslationModule,
1451
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-px-12 ax-min-h-96\">\n <ax-time-line>\n @for(version of versions();track version.id){\n <ax-time-line-item [text]=\"version.title\" [isCollapsed]=\"$index == 0 ? false : true\">\n <ax-icon class=\"fa-solid fa-flag-checkered\"></ax-icon>\n <ax-content class=\"ax-px-8 ax-py-2 ax-text-base/6\" [innerHtml]=\"version.content\"></ax-content>\n </ax-time-line-item>\n }\n </ax-time-line>\n <ax-footer class=\"ax-flex !ax-justify-end\"\n ><ax-button [text]=\"'okay' | translate | async\" color=\"primary\" (onClick)=\"this.close()\"></ax-button\n ></ax-footer>\n</div>\n" }]
1452
- }] });
1646
+ var notifyApp_component = /*#__PURE__*/Object.freeze({
1647
+ __proto__: null,
1648
+ AXMNotifyAppComponent: AXMNotifyAppComponent
1649
+ });
1453
1650
 
1454
1651
  class AXMAppVersionSlotComponent {
1455
1652
  constructor() {
1456
1653
  this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
1457
- this.popupService = inject(AXPopupService);
1654
+ this.workflowService = inject(AXPWorkflowService);
1458
1655
  this.versionNumber = '';
1459
1656
  }
1460
1657
  async ngOnInit() {
1461
1658
  this.versionNumber = (await this.versionProvider.provider()).version;
1462
1659
  }
1463
1660
  openPopup() {
1464
- this.popupService.open(AXMListVersionComponent, {
1465
- title: 'Versions',
1466
- //data: { data },
1467
- });
1661
+ this.workflowService.execute('show-release-notes');
1468
1662
  }
1469
1663
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1470
1664
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMAppVersionSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `, isInline: true }); }
@@ -1486,7 +1680,8 @@ class AXMChangeLogPopupAction extends AXPWorkflowAction {
1486
1680
  }
1487
1681
  async execute(context) {
1488
1682
  const data = context.getVariable();
1489
- const result = await this.popupService.open(AXMNotifyAppComponent, {
1683
+ const comp = (await Promise.resolve().then(function () { return notifyApp_component; })).AXMNotifyAppComponent;
1684
+ const result = await this.popupService.open(comp, {
1490
1685
  title: `New Features in Version ${data.versionNumber}`,
1491
1686
  data: { data },
1492
1687
  });
@@ -1520,7 +1715,7 @@ class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
1520
1715
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
1521
1716
  type: Injectable
1522
1717
  }] });
1523
- const AXMChangeLogWorkflow = {
1718
+ const AXMWhatsNewWorkflow = {
1524
1719
  startStepId: 'show-popup',
1525
1720
  steps: {
1526
1721
  'show-popup': {
@@ -1568,7 +1763,7 @@ class AppTermAndVersionCheck {
1568
1763
  .get(`is-see-check-version-${v.versionNumber}`);
1569
1764
  if (!isSee) {
1570
1765
  setTimeout(() => {
1571
- this.workflowService.execute('change-log-version', v);
1766
+ this.workflowService.execute('show-what-is-new', v);
1572
1767
  }, 300);
1573
1768
  }
1574
1769
  }
@@ -2866,105 +3061,57 @@ async function globalVariableEntityFactory(injector) {
2866
3061
  return entityDef;
2867
3062
  }
2868
3063
 
2869
- class AXMAppPromotionService extends AXMEntityCrudServiceImpl {
3064
+ class AXMMetaDataDefinitionService extends AXMEntityCrudServiceImpl {
2870
3065
  }
2871
- class AXMPromotionServiceImpl extends AXMEntityCrudServiceImpl {
3066
+ class AXMPMetaDataDefinitionServiceImpl extends AXMMetaDataDefinitionService {
2872
3067
  constructor() {
2873
- super(`${RootConfig.module.name}.${RootConfig.entities.promotion.name}`);
3068
+ super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinition.name}`);
2874
3069
  }
2875
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2876
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl }); }
3070
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3071
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl }); }
2877
3072
  }
2878
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl, decorators: [{
3073
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, decorators: [{
2879
3074
  type: Injectable
2880
3075
  }], ctorParameters: () => [] });
2881
3076
 
2882
- class AXMPromotionSlotComponent {
2883
- constructor() {
2884
- this.notificationChannelService = inject(AXMAppPromotionService);
2885
- this.listData = signal([]);
2886
- this.fileStorage = inject(AXPFileStorageService);
2887
- }
2888
- async ngOnInit() {
2889
- const channels = await this.notificationChannelService.query({
2890
- skip: 0,
2891
- take: 10000,
2892
- // filter: {
2893
- // field: 'type',
2894
- // operator: { type: 'equal' },
2895
- // value: 'promotion',
2896
- // },
2897
- });
2898
- const filteredItems = channels.items.filter((x) => x.placement?.name == this.location);
2899
- const mappedItems = await Promise.all(filteredItems.map(async (item) => {
2900
- if (item.imageId != null) {
2901
- const image = await this.fileStorage.getInfo(item.imageId);
2902
- return {
2903
- ...item,
2904
- image: image,
2905
- };
2906
- }
2907
- else {
2908
- return item;
2909
- }
2910
- }));
2911
- this.listData.set(mappedItems);
2912
- }
2913
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2914
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMPromotionSlotComponent, isStandalone: true, selector: "acorex-platform-promotion-slot", ngImport: i0, template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
2915
- }
2916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, decorators: [{
2917
- type: Component,
2918
- args: [{ selector: 'acorex-platform-promotion-slot', imports: [CommonModule, AXSafePipe], template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} }\n" }]
2919
- }] });
2920
-
2921
- async function promotionEntityFactory(injector) {
2922
- const dataService = injector.get(AXMAppPromotionService);
2923
- const i18n = RootConfig.config.i18n;
3077
+ async function metaDataDefinitionFactory(injector) {
3078
+ const dataService = injector.get(AXMMetaDataDefinitionService);
2924
3079
  const entityDef = {
2925
3080
  module: RootConfig.module.name,
2926
- name: RootConfig.entities.promotion.name,
3081
+ name: RootConfig.entities.metaDataDefinition.name,
2927
3082
  source: '',
2928
- title: RootConfig.entities.promotion.title,
3083
+ title: RootConfig.entities.metaDataDefinition.title,
2929
3084
  formats: {
2930
- individual: RootConfig.entities.promotion.title,
2931
- plural: RootConfig.entities.promotion.titlePlural,
3085
+ individual: RootConfig.entities.metaDataDefinition.title,
3086
+ plural: RootConfig.entities.metaDataDefinition.titlePlural,
2932
3087
  searchResult: {
2933
3088
  title: '{{ title }}',
2934
3089
  description: RootConfig.module.title,
2935
- }
3090
+ },
2936
3091
  },
2937
3092
  relatedEntities: [],
2938
3093
  groups: [
2939
3094
  {
2940
- id: 'promotion',
2941
- title: 'Promotion',
3095
+ id: 'section',
3096
+ title: RootConfig.entities.metaDataDefinition.title,
2942
3097
  },
2943
3098
  ],
2944
3099
  properties: [
2945
3100
  {
2946
- name: 'title',
2947
- title: `t("title", { scope: "common" })`,
2948
- groupId: 'promotion',
3101
+ name: 'name',
3102
+ title: 't("name", { scope: "common" })',
3103
+ groupId: 'section',
3104
+ options: {
3105
+ sort: {
3106
+ enabled: true,
3107
+ },
3108
+ },
2949
3109
  schema: {
2950
3110
  dataType: 'string',
2951
3111
  interface: {
2952
3112
  type: AXPWidgetsCatalog.text,
2953
3113
  },
2954
3114
  },
2955
- options: {
2956
- sort: {
2957
- enabled: true,
2958
- },
2959
- filter: {
2960
- advance: {
2961
- enabled: true,
2962
- },
2963
- inline: {
2964
- enabled: true,
2965
- },
2966
- }
2967
- },
2968
3115
  validations: [
2969
3116
  {
2970
3117
  rule: 'required',
@@ -2972,13 +3119,13 @@ async function promotionEntityFactory(injector) {
2972
3119
  ],
2973
3120
  },
2974
3121
  {
2975
- name: 'body',
2976
- title: `t("body", { scope: "${i18n}" })`,
2977
- groupId: 'promotion',
3122
+ name: 'title',
3123
+ title: 't("title", { scope: "common" })',
3124
+ groupId: 'section',
2978
3125
  schema: {
2979
3126
  dataType: 'string',
2980
3127
  interface: {
2981
- type: AXPWidgetsCatalog.richText,
3128
+ type: AXPWidgetsCatalog.text,
2982
3129
  },
2983
3130
  },
2984
3131
  validations: [
@@ -2988,51 +3135,17 @@ async function promotionEntityFactory(injector) {
2988
3135
  ],
2989
3136
  },
2990
3137
  {
2991
- name: 'imageId',
2992
- title: `t("body", { scope: "${i18n}" })`,
2993
- groupId: 'promotion',
2994
- schema: {
2995
- dataType: 'string',
2996
- interface: {
2997
- type: AXPWidgetsCatalog.file,
2998
- options: {
2999
- multiple: false,
3000
- accept: '.png,.jpg,.jpeg,.svg,.gif',
3001
- refType: 'entity',
3002
- refId: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
3003
- },
3004
- },
3005
- },
3006
- },
3007
- {
3008
- name: 'contentType',
3009
- title: `t("contentType", { scope: "${i18n}" })`,
3010
- groupId: 'promotion',
3138
+ name: 'interface',
3139
+ title: 't("interface", { scope: "common" })',
3140
+ groupId: 'section',
3011
3141
  schema: {
3012
3142
  dataType: 'string',
3013
3143
  interface: {
3014
- type: AXPWidgetsCatalog.select,
3144
+ type: AXPWidgetsCatalog.templateDesigner,
3015
3145
  options: {
3016
- valueField: 'name',
3017
- textField: 'title',
3018
- dataSource: [
3019
- { title: 'Media', name: 'media' },
3020
- { title: 'Text', name: 'text' },
3021
- ],
3022
- direction: 'horizontal',
3023
- multiple: false,
3024
- },
3025
- },
3026
- },
3027
- options: {
3028
- sort: {
3029
- enabled: true,
3146
+ embedded: true
3147
+ }
3030
3148
  },
3031
- filter: {
3032
- advance: {
3033
- enabled: true,
3034
- },
3035
- }
3036
3149
  },
3037
3150
  validations: [
3038
3151
  {
@@ -3040,107 +3153,11 @@ async function promotionEntityFactory(injector) {
3040
3153
  },
3041
3154
  ],
3042
3155
  },
3043
- // {
3044
- // name: 'shape',
3045
- // title: `t("shape", { scope: "${i18n}" })`,
3046
- // groupId: 'promotion',
3047
- // schema: {
3048
- // dataType: 'string',
3049
- // interface: {
3050
- // type: AXPWidgetsCatalog.select,
3051
- // options: {
3052
- // valueField: 'name',
3053
- // textField: 'title',
3054
- // dataSource: [
3055
- // { title: 'Circle', name: 'circle' },
3056
- // { title: 'Square', name: 'square' },
3057
- // ],
3058
- // direction: 'horizontal',
3059
- // multiple: false,
3060
- // accept: '',
3061
- // },
3062
- // },
3063
- // },
3064
- // validations: [
3065
- // {
3066
- // rule: 'required',
3067
- // },
3068
- // ],
3069
- // },
3070
- {
3071
- name: 'placement',
3072
- title: `t("placement", { scope: "${i18n}" })`,
3073
- groupId: 'promotion',
3074
- schema: {
3075
- dataType: 'string',
3076
- interface: {
3077
- type: AXPWidgetsCatalog.select,
3078
- options: {
3079
- valueField: 'name',
3080
- textField: 'title',
3081
- dataSource: [
3082
- {
3083
- title: 'Side Menu Footer',
3084
- name: 'side-menu-footer',
3085
- options: AXM_COLUMN_DEF_WIDGET
3086
- },
3087
- {
3088
- title: 'Side Menu Header',
3089
- name: 'side-menu-header',
3090
- options: [
3091
- {
3092
- type: 'text-editor',
3093
- mode: 'edit',
3094
- path: 'name',
3095
- options: {
3096
- placeholder: 'Name',
3097
- defaultValue: 'test',
3098
- },
3099
- },
3100
- ]
3101
- },
3102
- ],
3103
- direction: 'horizontal',
3104
- multiple: false,
3105
- },
3106
- },
3107
- },
3108
- validations: [
3109
- {
3110
- rule: 'required',
3111
- },
3112
- ],
3113
- },
3114
- // {
3115
- // name: "metadaata",
3116
- // title: "Meta Data",
3117
- // groupId: 'promotion',
3118
- // schema: {
3119
- // dataType: 'object',
3120
- // interface: {
3121
- // type: AXPWidgetsCatalog.text,
3122
- // // children: "{{ context.eval('placement').options }}" as any,
3123
- // },
3124
- // }
3125
- //},
3126
- {
3127
- name: 'metadata',
3128
- title: `Meta Data`,
3129
- groupId: 'promotion',
3130
- schema: {
3131
- dataType: 'object',
3132
- interface: {
3133
- type: AXPWidgetsCatalog.blockLayout,
3134
- children: "{{ context.eval('placement')?.options ?? [] }}",
3135
- },
3136
- }
3137
- },
3138
3156
  ],
3139
- columns: [{ name: 'title' }, { name: 'placement' }],
3157
+ columns: [{ name: 'name' }, { name: 'title' }],
3140
3158
  commands: {
3141
3159
  create: {
3142
3160
  execute: async (data) => {
3143
- console.log(data);
3144
3161
  const res = await dataService.insertOne(data);
3145
3162
  return { id: res };
3146
3163
  },
@@ -3175,83 +3192,36 @@ async function promotionEntityFactory(injector) {
3175
3192
  create: {
3176
3193
  sections: [
3177
3194
  {
3178
- id: 'promotion',
3195
+ id: 'section',
3179
3196
  },
3180
3197
  ],
3181
3198
  properties: [
3182
3199
  {
3183
- name: 'title',
3184
- layout: {
3185
- positions: {
3186
- lg: {
3187
- colSpan: 6,
3188
- order: 1,
3189
- },
3190
- },
3191
- },
3192
- },
3193
- {
3194
- name: 'body',
3195
- layout: {
3196
- positions: {
3197
- lg: {
3198
- colSpan: 12,
3199
- order: 5,
3200
- },
3201
- },
3202
- },
3203
- },
3204
- {
3205
- name: 'imageId',
3206
- layout: {
3207
- positions: {
3208
- lg: {
3209
- colSpan: 12,
3210
- order: 6,
3211
- },
3212
- },
3213
- },
3214
- },
3215
- {
3216
- name: 'contentType',
3217
- layout: {
3218
- positions: {
3219
- lg: {
3220
- colSpan: 6,
3221
- order: 2,
3222
- },
3223
- },
3224
- },
3225
- },
3226
- {
3227
- name: 'shape',
3200
+ name: 'name',
3228
3201
  layout: {
3229
3202
  positions: {
3230
3203
  lg: {
3231
3204
  colSpan: 6,
3232
- order: 3,
3233
3205
  },
3234
3206
  },
3235
3207
  },
3236
3208
  },
3237
3209
  {
3238
- name: 'placement',
3210
+ name: 'title',
3239
3211
  layout: {
3240
3212
  positions: {
3241
3213
  lg: {
3242
3214
  colSpan: 6,
3243
- order: 4,
3244
3215
  },
3245
3216
  },
3246
3217
  },
3247
3218
  },
3248
3219
  {
3249
- name: 'metadata',
3220
+ name: 'interface',
3250
3221
  layout: {
3251
3222
  positions: {
3252
3223
  lg: {
3253
3224
  colSpan: 12,
3254
- order: 10,
3255
3225
  },
3256
3226
  },
3257
3227
  },
@@ -3261,83 +3231,36 @@ async function promotionEntityFactory(injector) {
3261
3231
  update: {
3262
3232
  sections: [
3263
3233
  {
3264
- id: 'promotion',
3234
+ id: 'section',
3265
3235
  },
3266
3236
  ],
3267
3237
  properties: [
3268
3238
  {
3269
- name: 'title',
3270
- layout: {
3271
- positions: {
3272
- lg: {
3273
- colSpan: 6,
3274
- order: 1,
3275
- },
3276
- },
3277
- },
3278
- },
3279
- {
3280
- name: 'body',
3281
- layout: {
3282
- positions: {
3283
- lg: {
3284
- colSpan: 12,
3285
- order: 5,
3286
- },
3287
- },
3288
- },
3289
- },
3290
- {
3291
- name: 'imageId',
3292
- layout: {
3293
- positions: {
3294
- lg: {
3295
- colSpan: 12,
3296
- order: 6,
3297
- },
3298
- },
3299
- },
3300
- },
3301
- {
3302
- name: 'contentType',
3303
- layout: {
3304
- positions: {
3305
- lg: {
3306
- colSpan: 6,
3307
- order: 2,
3308
- },
3309
- },
3310
- },
3311
- },
3312
- {
3313
- name: 'shape',
3239
+ name: 'name',
3314
3240
  layout: {
3315
3241
  positions: {
3316
3242
  lg: {
3317
3243
  colSpan: 6,
3318
- order: 3,
3319
3244
  },
3320
3245
  },
3321
3246
  },
3322
3247
  },
3323
3248
  {
3324
- name: 'placement',
3249
+ name: 'title',
3325
3250
  layout: {
3326
3251
  positions: {
3327
3252
  lg: {
3328
3253
  colSpan: 6,
3329
- order: 4,
3330
3254
  },
3331
3255
  },
3332
3256
  },
3333
3257
  },
3334
3258
  {
3335
- name: 'metadata',
3259
+ name: 'interface',
3336
3260
  layout: {
3337
3261
  positions: {
3338
3262
  lg: {
3339
3263
  colSpan: 12,
3340
- order: 10,
3341
3264
  },
3342
3265
  },
3343
3266
  },
@@ -3348,70 +3271,43 @@ async function promotionEntityFactory(injector) {
3348
3271
  title: '{{title}}',
3349
3272
  sections: [
3350
3273
  {
3351
- id: 'promotion',
3352
- },
3353
- ],
3354
- properties: [
3355
- {
3356
- name: 'title',
3357
- layout: {
3358
- positions: {
3359
- lg: {
3360
- colSpan: 6,
3361
- },
3362
- },
3363
- },
3364
- },
3365
- {
3366
- name: 'body',
3367
- layout: {
3368
- positions: {
3369
- lg: {
3370
- colSpan: 6,
3371
- },
3372
- },
3373
- },
3374
- },
3375
- {
3376
- name: 'imageId',
3274
+ id: 'section',
3377
3275
  layout: {
3378
3276
  positions: {
3379
3277
  lg: {
3380
3278
  colSpan: 12,
3381
- order: 2,
3382
3279
  },
3383
3280
  },
3384
3281
  },
3385
3282
  },
3283
+ ],
3284
+ properties: [
3386
3285
  {
3387
- name: 'contentType',
3286
+ name: 'name',
3388
3287
  layout: {
3389
3288
  positions: {
3390
3289
  lg: {
3391
- colSpan: 4,
3392
- order: 4,
3290
+ colSpan: 6,
3393
3291
  },
3394
3292
  },
3395
3293
  },
3396
3294
  },
3397
3295
  {
3398
- name: 'shape',
3296
+ name: 'title',
3399
3297
  layout: {
3400
3298
  positions: {
3401
3299
  lg: {
3402
- colSpan: 4,
3403
- order: 5,
3300
+ colSpan: 6,
3404
3301
  },
3405
3302
  },
3406
3303
  },
3407
3304
  },
3408
3305
  {
3409
- name: 'placement',
3306
+ name: 'interface',
3410
3307
  layout: {
3411
3308
  positions: {
3412
3309
  lg: {
3413
- colSpan: 4,
3414
- order: 6,
3310
+ colSpan: 12,
3415
3311
  },
3416
3312
  },
3417
3313
  },
@@ -3438,50 +3334,19 @@ async function promotionEntityFactory(injector) {
3438
3334
  {
3439
3335
  title: 't("detail", { scope: "common" })',
3440
3336
  command: 'open-entity',
3441
- priority: 'primary',
3337
+ priority: 'secondary',
3442
3338
  type: 'view',
3443
3339
  scope: AXPEntityCommandScope.Individual,
3444
3340
  },
3445
3341
  {
3446
3342
  title: 't("delete", { scope: "common" })',
3447
3343
  command: 'delete-entity',
3448
- priority: 'primary',
3449
- type: 'delete',
3450
- scope: AXPEntityCommandScope.Individual,
3451
- },
3452
- {
3453
- title: 't("entity.modify", { scope: "common" })',
3454
- command: 'quick-modify-entity',
3455
3344
  priority: 'secondary',
3456
- type: 'update',
3345
+ type: 'delete',
3457
3346
  scope: AXPEntityCommandScope.Individual,
3458
3347
  },
3459
3348
  ],
3460
- views: [
3461
- createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] }),
3462
- createQueryView('media', `t("media", { scope: "${i18n}" })`, true, {
3463
- conditions: [
3464
- {
3465
- name: 'contentType.name',
3466
- operator: {
3467
- type: 'equal',
3468
- },
3469
- value: 'media',
3470
- }
3471
- ]
3472
- }),
3473
- createQueryView('text', `t("text", { scope: "${i18n}" })`, true, {
3474
- conditions: [
3475
- {
3476
- name: 'contentType.name',
3477
- operator: {
3478
- type: 'equal',
3479
- },
3480
- value: 'text',
3481
- }
3482
- ]
3483
- }),
3484
- ],
3349
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
3485
3350
  },
3486
3351
  },
3487
3352
  },
@@ -3489,55 +3354,119 @@ async function promotionEntityFactory(injector) {
3489
3354
  return entityDef;
3490
3355
  }
3491
3356
 
3492
- class AXMPlatformManagementMetaDataDefinitionEntityService extends AXMEntityCrudServiceImpl {
3357
+ class AXMAppPromotionService extends AXMEntityCrudServiceImpl {
3493
3358
  }
3494
- class AXMPlatformManagementMetaDataDefinitionEntityServiceImpl extends AXMPlatformManagementMetaDataDefinitionEntityService {
3359
+ class AXMPromotionServiceImpl extends AXMEntityCrudServiceImpl {
3495
3360
  constructor() {
3496
- super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinition}`);
3361
+ super(`${RootConfig.module.name}.${RootConfig.entities.promotion.name}`);
3497
3362
  }
3498
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3499
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl }); }
3363
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3364
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl }); }
3500
3365
  }
3501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl, decorators: [{
3366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionServiceImpl, decorators: [{
3502
3367
  type: Injectable
3503
3368
  }], ctorParameters: () => [] });
3504
3369
 
3505
- async function metaDataDefinitionFactory(injector) {
3506
- const dataService = injector.get(AXMPlatformManagementMetaDataDefinitionEntityService);
3370
+ class AXMPromotionSlotComponent {
3371
+ constructor() {
3372
+ this.notificationChannelService = inject(AXMAppPromotionService);
3373
+ this.listData = signal([]);
3374
+ this.fileStorage = inject(AXPFileStorageService);
3375
+ }
3376
+ async ngOnInit() {
3377
+ const channels = await this.notificationChannelService.query({
3378
+ skip: 0,
3379
+ take: 10000,
3380
+ // filter: {
3381
+ // field: 'type',
3382
+ // operator: { type: 'equal' },
3383
+ // value: 'promotion',
3384
+ // },
3385
+ });
3386
+ const filteredItems = channels.items.filter((x) => x.placement?.name == this.location);
3387
+ const mappedItems = await Promise.all(filteredItems.map(async (item) => {
3388
+ if (item.imageId != null) {
3389
+ const image = await this.fileStorage.getInfo(item.imageId);
3390
+ return {
3391
+ ...item,
3392
+ image: image,
3393
+ };
3394
+ }
3395
+ else {
3396
+ return item;
3397
+ }
3398
+ }));
3399
+ this.listData.set(mappedItems);
3400
+ }
3401
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3402
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMPromotionSlotComponent, isStandalone: true, selector: "acorex-platform-promotion-slot", ngImport: i0, template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
3403
+ }
3404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, decorators: [{
3405
+ type: Component,
3406
+ args: [{ selector: 'acorex-platform-promotion-slot', imports: [CommonModule, AXSafePipe], template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} }\n" }]
3407
+ }] });
3408
+
3409
+ async function promotionEntityFactory(injector) {
3410
+ const dataService = injector.get(AXMAppPromotionService);
3411
+ const i18n = RootConfig.config.i18n;
3507
3412
  const entityDef = {
3508
3413
  module: RootConfig.module.name,
3509
- name: RootConfig.entities.metaDataDefinition.name,
3414
+ name: RootConfig.entities.promotion.name,
3510
3415
  source: '',
3511
- title: RootConfig.entities.metaDataDefinition.title,
3416
+ title: RootConfig.entities.promotion.title,
3512
3417
  formats: {
3513
- individual: RootConfig.entities.metaDataDefinition.title,
3514
- plural: RootConfig.entities.metaDataDefinition.titlePlural,
3418
+ individual: RootConfig.entities.promotion.title,
3419
+ plural: RootConfig.entities.promotion.titlePlural,
3515
3420
  searchResult: {
3516
3421
  title: '{{ title }}',
3517
3422
  description: RootConfig.module.title,
3518
- },
3423
+ }
3519
3424
  },
3520
3425
  relatedEntities: [],
3521
3426
  groups: [
3522
3427
  {
3523
- id: 'section',
3524
- title: RootConfig.entities.metaDataDefinition.title,
3428
+ id: 'promotion',
3429
+ title: 'Promotion',
3525
3430
  },
3526
3431
  ],
3527
3432
  properties: [
3528
3433
  {
3529
- name: 'name',
3530
- title: 't("name", { scope: "common" })',
3531
- groupId: 'section',
3434
+ name: 'title',
3435
+ title: `t("title", { scope: "common" })`,
3436
+ groupId: 'promotion',
3437
+ schema: {
3438
+ dataType: 'string',
3439
+ interface: {
3440
+ type: AXPWidgetsCatalog.text,
3441
+ },
3442
+ },
3532
3443
  options: {
3533
3444
  sort: {
3534
3445
  enabled: true,
3535
3446
  },
3447
+ filter: {
3448
+ advance: {
3449
+ enabled: true,
3450
+ },
3451
+ inline: {
3452
+ enabled: true,
3453
+ },
3454
+ }
3536
3455
  },
3456
+ validations: [
3457
+ {
3458
+ rule: 'required',
3459
+ },
3460
+ ],
3461
+ },
3462
+ {
3463
+ name: 'body',
3464
+ title: `t("body", { scope: "${i18n}" })`,
3465
+ groupId: 'promotion',
3537
3466
  schema: {
3538
3467
  dataType: 'string',
3539
3468
  interface: {
3540
- type: AXPWidgetsCatalog.text,
3469
+ type: AXPWidgetsCatalog.richText,
3541
3470
  },
3542
3471
  },
3543
3472
  validations: [
@@ -3547,14 +3476,51 @@ async function metaDataDefinitionFactory(injector) {
3547
3476
  ],
3548
3477
  },
3549
3478
  {
3550
- name: 'title',
3551
- title: 't("title", { scope: "common" })',
3552
- groupId: 'section',
3479
+ name: 'imageId',
3480
+ title: `t("body", { scope: "${i18n}" })`,
3481
+ groupId: 'promotion',
3553
3482
  schema: {
3554
3483
  dataType: 'string',
3555
3484
  interface: {
3556
- type: AXPWidgetsCatalog.text,
3485
+ type: AXPWidgetsCatalog.file,
3486
+ options: {
3487
+ multiple: false,
3488
+ accept: '.png,.jpg,.jpeg,.svg,.gif',
3489
+ refType: 'entity',
3490
+ refId: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
3491
+ },
3492
+ },
3493
+ },
3494
+ },
3495
+ {
3496
+ name: 'contentType',
3497
+ title: `t("contentType", { scope: "${i18n}" })`,
3498
+ groupId: 'promotion',
3499
+ schema: {
3500
+ dataType: 'string',
3501
+ interface: {
3502
+ type: AXPWidgetsCatalog.select,
3503
+ options: {
3504
+ valueField: 'name',
3505
+ textField: 'title',
3506
+ dataSource: [
3507
+ { title: 'Media', name: 'media' },
3508
+ { title: 'Text', name: 'text' },
3509
+ ],
3510
+ direction: 'horizontal',
3511
+ multiple: false,
3512
+ },
3513
+ },
3514
+ },
3515
+ options: {
3516
+ sort: {
3517
+ enabled: true,
3557
3518
  },
3519
+ filter: {
3520
+ advance: {
3521
+ enabled: true,
3522
+ },
3523
+ }
3558
3524
  },
3559
3525
  validations: [
3560
3526
  {
@@ -3562,14 +3528,69 @@ async function metaDataDefinitionFactory(injector) {
3562
3528
  },
3563
3529
  ],
3564
3530
  },
3531
+ // {
3532
+ // name: 'shape',
3533
+ // title: `t("shape", { scope: "${i18n}" })`,
3534
+ // groupId: 'promotion',
3535
+ // schema: {
3536
+ // dataType: 'string',
3537
+ // interface: {
3538
+ // type: AXPWidgetsCatalog.select,
3539
+ // options: {
3540
+ // valueField: 'name',
3541
+ // textField: 'title',
3542
+ // dataSource: [
3543
+ // { title: 'Circle', name: 'circle' },
3544
+ // { title: 'Square', name: 'square' },
3545
+ // ],
3546
+ // direction: 'horizontal',
3547
+ // multiple: false,
3548
+ // accept: '',
3549
+ // },
3550
+ // },
3551
+ // },
3552
+ // validations: [
3553
+ // {
3554
+ // rule: 'required',
3555
+ // },
3556
+ // ],
3557
+ // },
3565
3558
  {
3566
- name: 'define',
3567
- title: 't("define", { scope: "common" })',
3568
- groupId: 'section',
3559
+ name: 'placement',
3560
+ title: `t("placement", { scope: "${i18n}" })`,
3561
+ groupId: 'promotion',
3569
3562
  schema: {
3570
3563
  dataType: 'string',
3571
3564
  interface: {
3572
- type: AXPWidgetsCatalog.text,
3565
+ type: AXPWidgetsCatalog.select,
3566
+ options: {
3567
+ valueField: 'name',
3568
+ textField: 'title',
3569
+ dataSource: [
3570
+ {
3571
+ title: 'Side Menu Footer',
3572
+ name: 'side-menu-footer',
3573
+ options: AXM_COLUMN_DEF_WIDGET
3574
+ },
3575
+ {
3576
+ title: 'Side Menu Header',
3577
+ name: 'side-menu-header',
3578
+ options: [
3579
+ {
3580
+ type: 'text-editor',
3581
+ mode: 'edit',
3582
+ path: 'name',
3583
+ options: {
3584
+ placeholder: 'Name',
3585
+ defaultValue: 'test',
3586
+ },
3587
+ },
3588
+ ]
3589
+ },
3590
+ ],
3591
+ direction: 'horizontal',
3592
+ multiple: false,
3593
+ },
3573
3594
  },
3574
3595
  },
3575
3596
  validations: [
@@ -3578,11 +3599,36 @@ async function metaDataDefinitionFactory(injector) {
3578
3599
  },
3579
3600
  ],
3580
3601
  },
3602
+ // {
3603
+ // name: "metadaata",
3604
+ // title: "Meta Data",
3605
+ // groupId: 'promotion',
3606
+ // schema: {
3607
+ // dataType: 'object',
3608
+ // interface: {
3609
+ // type: AXPWidgetsCatalog.text,
3610
+ // // children: "{{ context.eval('placement').options }}" as any,
3611
+ // },
3612
+ // }
3613
+ //},
3614
+ {
3615
+ name: 'metadata',
3616
+ title: `Meta Data`,
3617
+ groupId: 'promotion',
3618
+ schema: {
3619
+ dataType: 'object',
3620
+ interface: {
3621
+ type: AXPWidgetsCatalog.blockLayout,
3622
+ children: "{{ context.eval('placement')?.options ?? [] }}",
3623
+ },
3624
+ }
3625
+ },
3581
3626
  ],
3582
- columns: [{ name: 'name' }, { name: 'title' }],
3627
+ columns: [{ name: 'title' }, { name: 'placement' }],
3583
3628
  commands: {
3584
3629
  create: {
3585
3630
  execute: async (data) => {
3631
+ console.log(data);
3586
3632
  const res = await dataService.insertOne(data);
3587
3633
  return { id: res };
3588
3634
  },
@@ -3617,59 +3663,183 @@ async function metaDataDefinitionFactory(injector) {
3617
3663
  create: {
3618
3664
  sections: [
3619
3665
  {
3620
- id: 'section',
3666
+ id: 'promotion',
3667
+ },
3668
+ ],
3669
+ properties: [
3670
+ {
3671
+ name: 'title',
3672
+ layout: {
3673
+ positions: {
3674
+ lg: {
3675
+ colSpan: 6,
3676
+ order: 1,
3677
+ },
3678
+ },
3679
+ },
3680
+ },
3681
+ {
3682
+ name: 'body',
3683
+ layout: {
3684
+ positions: {
3685
+ lg: {
3686
+ colSpan: 12,
3687
+ order: 5,
3688
+ },
3689
+ },
3690
+ },
3691
+ },
3692
+ {
3693
+ name: 'imageId',
3694
+ layout: {
3695
+ positions: {
3696
+ lg: {
3697
+ colSpan: 12,
3698
+ order: 6,
3699
+ },
3700
+ },
3701
+ },
3702
+ },
3703
+ {
3704
+ name: 'contentType',
3705
+ layout: {
3706
+ positions: {
3707
+ lg: {
3708
+ colSpan: 6,
3709
+ order: 2,
3710
+ },
3711
+ },
3712
+ },
3713
+ },
3714
+ {
3715
+ name: 'shape',
3716
+ layout: {
3717
+ positions: {
3718
+ lg: {
3719
+ colSpan: 6,
3720
+ order: 3,
3721
+ },
3722
+ },
3723
+ },
3724
+ },
3725
+ {
3726
+ name: 'placement',
3727
+ layout: {
3728
+ positions: {
3729
+ lg: {
3730
+ colSpan: 6,
3731
+ order: 4,
3732
+ },
3733
+ },
3734
+ },
3735
+ },
3736
+ {
3737
+ name: 'metadata',
3738
+ layout: {
3739
+ positions: {
3740
+ lg: {
3741
+ colSpan: 12,
3742
+ order: 10,
3743
+ },
3744
+ },
3745
+ },
3746
+ },
3747
+ ],
3748
+ },
3749
+ update: {
3750
+ sections: [
3751
+ {
3752
+ id: 'promotion',
3753
+ },
3754
+ ],
3755
+ properties: [
3756
+ {
3757
+ name: 'title',
3758
+ layout: {
3759
+ positions: {
3760
+ lg: {
3761
+ colSpan: 6,
3762
+ order: 1,
3763
+ },
3764
+ },
3765
+ },
3766
+ },
3767
+ {
3768
+ name: 'body',
3769
+ layout: {
3770
+ positions: {
3771
+ lg: {
3772
+ colSpan: 12,
3773
+ order: 5,
3774
+ },
3775
+ },
3776
+ },
3777
+ },
3778
+ {
3779
+ name: 'imageId',
3780
+ layout: {
3781
+ positions: {
3782
+ lg: {
3783
+ colSpan: 12,
3784
+ order: 6,
3785
+ },
3786
+ },
3787
+ },
3788
+ },
3789
+ {
3790
+ name: 'contentType',
3791
+ layout: {
3792
+ positions: {
3793
+ lg: {
3794
+ colSpan: 6,
3795
+ order: 2,
3796
+ },
3797
+ },
3798
+ },
3621
3799
  },
3622
- ],
3623
- properties: [
3624
3800
  {
3625
- name: 'name',
3801
+ name: 'shape',
3626
3802
  layout: {
3627
3803
  positions: {
3628
3804
  lg: {
3629
3805
  colSpan: 6,
3806
+ order: 3,
3630
3807
  },
3631
3808
  },
3632
3809
  },
3633
3810
  },
3634
3811
  {
3635
- name: 'title',
3812
+ name: 'placement',
3636
3813
  layout: {
3637
3814
  positions: {
3638
3815
  lg: {
3639
3816
  colSpan: 6,
3817
+ order: 4,
3640
3818
  },
3641
3819
  },
3642
3820
  },
3643
3821
  },
3644
3822
  {
3645
- name: 'define',
3823
+ name: 'metadata',
3646
3824
  layout: {
3647
3825
  positions: {
3648
3826
  lg: {
3649
3827
  colSpan: 12,
3828
+ order: 10,
3650
3829
  },
3651
3830
  },
3652
3831
  },
3653
3832
  },
3654
3833
  ],
3655
3834
  },
3656
- update: {
3835
+ single: {
3836
+ title: '{{title}}',
3657
3837
  sections: [
3658
3838
  {
3659
- id: 'section',
3839
+ id: 'promotion',
3660
3840
  },
3661
3841
  ],
3662
3842
  properties: [
3663
- {
3664
- name: 'name',
3665
- layout: {
3666
- positions: {
3667
- lg: {
3668
- colSpan: 6,
3669
- },
3670
- },
3671
- },
3672
- },
3673
3843
  {
3674
3844
  name: 'title',
3675
3845
  layout: {
@@ -3681,58 +3851,55 @@ async function metaDataDefinitionFactory(injector) {
3681
3851
  },
3682
3852
  },
3683
3853
  {
3684
- name: 'define',
3854
+ name: 'body',
3685
3855
  layout: {
3686
3856
  positions: {
3687
3857
  lg: {
3688
- colSpan: 12,
3858
+ colSpan: 6,
3689
3859
  },
3690
3860
  },
3691
3861
  },
3692
3862
  },
3693
- ],
3694
- },
3695
- single: {
3696
- title: '{{title}}',
3697
- sections: [
3698
3863
  {
3699
- id: 'section',
3864
+ name: 'imageId',
3700
3865
  layout: {
3701
3866
  positions: {
3702
3867
  lg: {
3703
3868
  colSpan: 12,
3869
+ order: 2,
3704
3870
  },
3705
3871
  },
3706
3872
  },
3707
3873
  },
3708
- ],
3709
- properties: [
3710
3874
  {
3711
- name: 'name',
3875
+ name: 'contentType',
3712
3876
  layout: {
3713
3877
  positions: {
3714
3878
  lg: {
3715
- colSpan: 6,
3879
+ colSpan: 4,
3880
+ order: 4,
3716
3881
  },
3717
3882
  },
3718
3883
  },
3719
3884
  },
3720
3885
  {
3721
- name: 'title',
3886
+ name: 'shape',
3722
3887
  layout: {
3723
3888
  positions: {
3724
3889
  lg: {
3725
- colSpan: 6,
3890
+ colSpan: 4,
3891
+ order: 5,
3726
3892
  },
3727
3893
  },
3728
3894
  },
3729
3895
  },
3730
3896
  {
3731
- name: 'define',
3897
+ name: 'placement',
3732
3898
  layout: {
3733
3899
  positions: {
3734
3900
  lg: {
3735
- colSpan: 12,
3901
+ colSpan: 4,
3902
+ order: 6,
3736
3903
  },
3737
3904
  },
3738
3905
  },
@@ -3759,19 +3926,50 @@ async function metaDataDefinitionFactory(injector) {
3759
3926
  {
3760
3927
  title: 't("detail", { scope: "common" })',
3761
3928
  command: 'open-entity',
3762
- priority: 'secondary',
3929
+ priority: 'primary',
3763
3930
  type: 'view',
3764
3931
  scope: AXPEntityCommandScope.Individual,
3765
3932
  },
3766
3933
  {
3767
3934
  title: 't("delete", { scope: "common" })',
3768
3935
  command: 'delete-entity',
3769
- priority: 'secondary',
3936
+ priority: 'primary',
3770
3937
  type: 'delete',
3771
3938
  scope: AXPEntityCommandScope.Individual,
3772
3939
  },
3940
+ {
3941
+ title: 't("entity.modify", { scope: "common" })',
3942
+ command: 'quick-modify-entity',
3943
+ priority: 'secondary',
3944
+ type: 'update',
3945
+ scope: AXPEntityCommandScope.Individual,
3946
+ },
3947
+ ],
3948
+ views: [
3949
+ createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] }),
3950
+ createQueryView('media', `t("media", { scope: "${i18n}" })`, true, {
3951
+ conditions: [
3952
+ {
3953
+ name: 'contentType.name',
3954
+ operator: {
3955
+ type: 'equal',
3956
+ },
3957
+ value: 'media',
3958
+ }
3959
+ ]
3960
+ }),
3961
+ createQueryView('text', `t("text", { scope: "${i18n}" })`, true, {
3962
+ conditions: [
3963
+ {
3964
+ name: 'contentType.name',
3965
+ operator: {
3966
+ type: 'equal',
3967
+ },
3968
+ value: 'text',
3969
+ }
3970
+ ]
3971
+ }),
3773
3972
  ],
3774
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
3775
3973
  },
3776
3974
  },
3777
3975
  },
@@ -3779,31 +3977,6 @@ async function metaDataDefinitionFactory(injector) {
3779
3977
  return entityDef;
3780
3978
  }
3781
3979
 
3782
- class AXMPlatformManagementMetaDataDefinitionEntityModule {
3783
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3784
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityModule }); }
3785
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityModule, providers: [
3786
- {
3787
- provide: AXMPlatformManagementMetaDataDefinitionEntityService,
3788
- useClass: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl,
3789
- },
3790
- ] }); }
3791
- }
3792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementMetaDataDefinitionEntityModule, decorators: [{
3793
- type: NgModule,
3794
- args: [{
3795
- imports: [],
3796
- exports: [],
3797
- declarations: [],
3798
- providers: [
3799
- {
3800
- provide: AXMPlatformManagementMetaDataDefinitionEntityService,
3801
- useClass: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl,
3802
- },
3803
- ],
3804
- }]
3805
- }] });
3806
-
3807
3980
  var index = /*#__PURE__*/Object.freeze({
3808
3981
  __proto__: null,
3809
3982
  AXMAppPromotionService: AXMAppPromotionService,
@@ -3814,21 +3987,20 @@ var index = /*#__PURE__*/Object.freeze({
3814
3987
  AXMAppVersionSlotComponent: AXMAppVersionSlotComponent,
3815
3988
  AXMChangeLogPopupAction: AXMChangeLogPopupAction,
3816
3989
  AXMChangeLogUpdateSettingAction: AXMChangeLogUpdateSettingAction,
3817
- AXMChangeLogWorkflow: AXMChangeLogWorkflow,
3818
3990
  AXMDataSourceService: AXMDataSourceService,
3819
3991
  AXMDataSourceServiceImpl: AXMDataSourceServiceImpl,
3820
3992
  AXMGlobalVariablesService: AXMGlobalVariablesService,
3821
3993
  AXMGlobalVariablesServiceImpl: AXMGlobalVariablesServiceImpl,
3822
3994
  AXMListTermsComponent: AXMListTermsComponent,
3995
+ AXMMetaDataDefinitionService: AXMMetaDataDefinitionService,
3823
3996
  AXMNewTermWorkflow: AXMNewTermWorkflow,
3824
3997
  AXMNotifyAppComponent: AXMNotifyAppComponent,
3825
3998
  AXMNotifyNewTermPopupAction: AXMNotifyNewTermPopupAction,
3826
- AXMPlatformManagementMetaDataDefinitionEntityModule: AXMPlatformManagementMetaDataDefinitionEntityModule,
3827
- AXMPlatformManagementMetaDataDefinitionEntityService: AXMPlatformManagementMetaDataDefinitionEntityService,
3828
- AXMPlatformManagementMetaDataDefinitionEntityServiceImpl: AXMPlatformManagementMetaDataDefinitionEntityServiceImpl,
3999
+ AXMPMetaDataDefinitionServiceImpl: AXMPMetaDataDefinitionServiceImpl,
3829
4000
  AXMPromotionServiceImpl: AXMPromotionServiceImpl,
3830
4001
  AXMPromotionSlotComponent: AXMPromotionSlotComponent,
3831
4002
  AXMTermUpdateSettingAction: AXMTermUpdateSettingAction,
4003
+ AXMWhatsNewWorkflow: AXMWhatsNewWorkflow,
3832
4004
  AppTermAndVersionCheck: AppTermAndVersionCheck,
3833
4005
  appTermEntityEntityFactory: appTermEntityEntityFactory,
3834
4006
  appVersionEntityEntityFactory: appVersionEntityEntityFactory,
@@ -3838,6 +4010,83 @@ var index = /*#__PURE__*/Object.freeze({
3838
4010
  promotionEntityFactory: promotionEntityFactory
3839
4011
  });
3840
4012
 
4013
+ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
4014
+ constructor() {
4015
+ super(...arguments);
4016
+ this.popupService = inject(AXPopupService);
4017
+ }
4018
+ async execute(context) {
4019
+ const scope = RootConfig.config.i18n;
4020
+ const comp = await (await import('./acorex-modules-platform-management-list-version.component-CoZBz85x.mjs')).AXMListVersionComponent;
4021
+ this.popupService.open(comp, {
4022
+ title: `t('release-notes',{scope: "${scope}"})`,
4023
+ });
4024
+ }
4025
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShowReleaseNotesPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
4026
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShowReleaseNotesPopupAction }); }
4027
+ }
4028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShowReleaseNotesPopupAction, decorators: [{
4029
+ type: Injectable
4030
+ }] });
4031
+ const AXMShowReleaseNotesWorkflow = {
4032
+ startStepId: 'show-popup',
4033
+ steps: {
4034
+ 'show-popup': {
4035
+ action: 'AXMShowReleaseNotesPopupAction',
4036
+ },
4037
+ },
4038
+ };
4039
+
4040
+ class AXMDynamicDataSourceProvider {
4041
+ constructor() {
4042
+ this.dataSourceService = inject(AXMDataSourceService);
4043
+ this.entityResolverService = inject(AXPEntityResolver);
4044
+ }
4045
+ async items() {
4046
+ const dataSources = await this.dataSourceService.query({
4047
+ skip: 0,
4048
+ take: 1000,
4049
+ });
4050
+ const mapFn = (item) => {
4051
+ return {
4052
+ ...item,
4053
+ valueField: get(item, 'valueField.name'),
4054
+ textField: get(item, 'textField.name'),
4055
+ source: async () => {
4056
+ if (item.sourceType.name == 'static') {
4057
+ return convertArrayToDataSource(item.sourceStatic);
4058
+ }
4059
+ // Entity
4060
+ else if (item.sourceType.name == 'entity') {
4061
+ const [module, entityName] = item.sourceEntity.split('.');
4062
+ const entity = await this.entityResolverService.get(module, entityName);
4063
+ const exFn = entity?.queries.list?.execute;
4064
+ if (exFn && typeof exFn == 'function') {
4065
+ return new AXDataSource({
4066
+ key: 'id',
4067
+ pageSize: 10,
4068
+ load: async (e) => {
4069
+ try {
4070
+ const result = await exFn(e);
4071
+ return result;
4072
+ }
4073
+ catch (error) {
4074
+ throw error;
4075
+ }
4076
+ }
4077
+ });
4078
+ }
4079
+ }
4080
+ //
4081
+ return convertArrayToDataSource([]);
4082
+ },
4083
+ };
4084
+ };
4085
+ const mapped = dataSources.items.map((item) => mapFn(item));
4086
+ return mapped;
4087
+ }
4088
+ }
4089
+
3841
4090
  class AXMEntityLoader {
3842
4091
  constructor() {
3843
4092
  this.injector = inject(Injector);
@@ -3905,6 +4154,62 @@ class AXMMenuProvider {
3905
4154
  async provide(context) {
3906
4155
  const scope = RootConfig.config.i18n;
3907
4156
  const appName = this.sessionService.application?.name;
4157
+ //
4158
+ context.addItems([
4159
+ {
4160
+ name: 'app-help',
4161
+ text: `t('help',{scope: "${scope}"})`,
4162
+ icon: 'fa-light fa-circle-question',
4163
+ priority: 100000,
4164
+ children: [
4165
+ {
4166
+ name: 'app-help-center',
4167
+ text: `t('help-center',{scope: "${scope}"})`,
4168
+ icon: 'fa-light fa-book-open',
4169
+ priority: 100001,
4170
+ },
4171
+ {
4172
+ name: 'app-help-tutorials',
4173
+ text: `t('tutorials',{scope: "${scope}"})`,
4174
+ icon: 'fa-light fa-clapperboard-play',
4175
+ priority: 100002,
4176
+ },
4177
+ {
4178
+ name: 'app-release-notes',
4179
+ text: `t('release-notes',{scope: "${scope}"})`,
4180
+ icon: 'fa-light fa-memo-pad',
4181
+ command: {
4182
+ name: 'show-release-notes'
4183
+ },
4184
+ priority: 100003,
4185
+ },
4186
+ {
4187
+ text: 'break',
4188
+ type: 'break',
4189
+ priority: 100030,
4190
+ },
4191
+ {
4192
+ name: 'app-terms',
4193
+ text: `t('terms-conditions',{scope: "${scope}"})`,
4194
+ icon: 'fa-light fa-circle-info',
4195
+ path: `/platform/terms`,
4196
+ priority: 100031,
4197
+ },
4198
+ {
4199
+ name: 'app-about',
4200
+ text: `t('about',{scope: "${scope}"})`,
4201
+ icon: 'fa-light fa-circle-info',
4202
+ priority: 100032
4203
+ },
4204
+ ]
4205
+ },
4206
+ ]);
4207
+ //
4208
+ const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
4209
+ if (!isAuthorized) {
4210
+ return;
4211
+ }
4212
+ //
3908
4213
  context.addItems([
3909
4214
  {
3910
4215
  name: 'administration-group',
@@ -3993,68 +4298,6 @@ class AXMMenuProvider {
3993
4298
  ],
3994
4299
  },
3995
4300
  ]);
3996
- //
3997
- context.find('edit-profile').insert([
3998
- {
3999
- name: 'app-term-help',
4000
- text: RootConfig.entities.appTerm.title,
4001
- icon: 'fa-light fa-bell',
4002
- path: `/${appName}/list-term`,
4003
- data: {
4004
- // requiredPermission: '',
4005
- },
4006
- },
4007
- ], 'after');
4008
- }
4009
- }
4010
-
4011
- class AXMDynamicDataSourceProvider {
4012
- constructor() {
4013
- this.dataSourceService = inject(AXMDataSourceService);
4014
- this.entityResolverService = inject(AXPEntityResolver);
4015
- }
4016
- async items() {
4017
- const dataSources = await this.dataSourceService.query({
4018
- skip: 0,
4019
- take: 1000,
4020
- });
4021
- const mapFn = (item) => {
4022
- return {
4023
- ...item,
4024
- valueField: get(item, 'valueField.name'),
4025
- textField: get(item, 'textField.name'),
4026
- source: async () => {
4027
- if (item.sourceType.name == 'static') {
4028
- return convertArrayToDataSource(item.sourceStatic);
4029
- }
4030
- // Entity
4031
- else if (item.sourceType.name == 'entity') {
4032
- const [module, entityName] = item.sourceEntity.split('.');
4033
- const entity = await this.entityResolverService.get(module, entityName);
4034
- const exFn = entity?.queries.list?.execute;
4035
- if (exFn && typeof exFn == 'function') {
4036
- return new AXDataSource({
4037
- key: 'id',
4038
- pageSize: 10,
4039
- load: async (e) => {
4040
- try {
4041
- const result = await exFn(e);
4042
- return result;
4043
- }
4044
- catch (error) {
4045
- throw error;
4046
- }
4047
- }
4048
- });
4049
- }
4050
- }
4051
- //
4052
- return convertArrayToDataSource([]);
4053
- },
4054
- };
4055
- };
4056
- const mapped = dataSources.items.map((item) => mapFn(item));
4057
- return mapped;
4058
4301
  }
4059
4302
  }
4060
4303
 
@@ -4066,7 +4309,7 @@ function routesFactory() {
4066
4309
  component: config.viewers.root(),
4067
4310
  children: [
4068
4311
  {
4069
- path: 'list-term',
4312
+ path: 'terms',
4070
4313
  loadComponent: () => Promise.resolve().then(function () { return index; }).then((c) => c.AXMListTermsComponent),
4071
4314
  },
4072
4315
  ],
@@ -4080,8 +4323,7 @@ class AXMPlatformManagementModule {
4080
4323
  */
4081
4324
  constructor(appVersionCheck) { }
4082
4325
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementModule, deps: [{ token: AppTermAndVersionCheck }], target: i0.ɵɵFactoryTarget.NgModule }); }
4083
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMPlatformManagementMetaDataDefinitionEntityModule,
4084
- AXMPlatformManagementCommonModule, i2$4.AXPWorkflowModule, i1$1.AXPComponentSlotModule] }); }
4326
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMPlatformManagementCommonModule, i2$3.AXPWorkflowModule, i1$1.AXPComponentSlotModule] }); }
4085
4327
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementModule, providers: [
4086
4328
  {
4087
4329
  provide: ROUTES,
@@ -4108,6 +4350,10 @@ class AXMPlatformManagementModule {
4108
4350
  provide: AXMDataSourceService,
4109
4351
  useClass: AXMDataSourceServiceImpl,
4110
4352
  },
4353
+ {
4354
+ provide: AXMMetaDataDefinitionService,
4355
+ useClass: AXMPMetaDataDefinitionServiceImpl,
4356
+ },
4111
4357
  {
4112
4358
  provide: AXP_ENTITY_DEFINITION_LOADER,
4113
4359
  useClass: AXMEntityLoader,
@@ -4124,17 +4370,20 @@ class AXMPlatformManagementModule {
4124
4370
  multi: true,
4125
4371
  },
4126
4372
  AppTermAndVersionCheck,
4127
- ], imports: [AXMPlatformManagementMetaDataDefinitionEntityModule,
4128
- AXMPlatformManagementCommonModule,
4373
+ ], imports: [AXMPlatformManagementCommonModule,
4129
4374
  AXPWorkflowModule.forChild({
4130
4375
  actions: {
4131
4376
  AXMChangeLogPopupAction,
4132
4377
  AXMChangeLogUpdateSettingAction,
4378
+ //
4133
4379
  AXMNotifyNewTermPopupAction,
4134
4380
  AXMTermUpdateSettingAction,
4381
+ //
4382
+ AXMShowReleaseNotesPopupAction,
4135
4383
  },
4136
4384
  workflows: {
4137
- 'change-log-version': AXMChangeLogWorkflow,
4385
+ 'show-what-is-new': AXMWhatsNewWorkflow,
4386
+ 'show-release-notes': AXMShowReleaseNotesWorkflow,
4138
4387
  'new-term': AXMNewTermWorkflow,
4139
4388
  },
4140
4389
  }),
@@ -4163,17 +4412,21 @@ class AXMPlatformManagementModule {
4163
4412
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPlatformManagementModule, decorators: [{
4164
4413
  type: NgModule,
4165
4414
  args: [{
4166
- imports: [AXMPlatformManagementMetaDataDefinitionEntityModule,
4415
+ imports: [
4167
4416
  AXMPlatformManagementCommonModule,
4168
4417
  AXPWorkflowModule.forChild({
4169
4418
  actions: {
4170
4419
  AXMChangeLogPopupAction,
4171
4420
  AXMChangeLogUpdateSettingAction,
4421
+ //
4172
4422
  AXMNotifyNewTermPopupAction,
4173
4423
  AXMTermUpdateSettingAction,
4424
+ //
4425
+ AXMShowReleaseNotesPopupAction,
4174
4426
  },
4175
4427
  workflows: {
4176
- 'change-log-version': AXMChangeLogWorkflow,
4428
+ 'show-what-is-new': AXMWhatsNewWorkflow,
4429
+ 'show-release-notes': AXMShowReleaseNotesWorkflow,
4177
4430
  'new-term': AXMNewTermWorkflow,
4178
4431
  },
4179
4432
  }),
@@ -4227,6 +4480,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
4227
4480
  provide: AXMDataSourceService,
4228
4481
  useClass: AXMDataSourceServiceImpl,
4229
4482
  },
4483
+ {
4484
+ provide: AXMMetaDataDefinitionService,
4485
+ useClass: AXMPMetaDataDefinitionServiceImpl,
4486
+ },
4230
4487
  {
4231
4488
  provide: AXP_ENTITY_DEFINITION_LOADER,
4232
4489
  useClass: AXMEntityLoader,
@@ -4251,5 +4508,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
4251
4508
  * Generated bundle index. Do not edit.
4252
4509
  */
4253
4510
 
4254
- export { AXMAppPromotionService, AXMAppTermService, AXMAppTermServiceImpl, AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMChangeLogWorkflow, AXMCommonModuleEntityProvider, AXMDataSourceService, AXMDataSourceServiceImpl, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMListTermsComponent, AXMNewTermWorkflow, AXMNotifyAppComponent, AXMNotifyNewTermPopupAction, AXMPlatformManagementMetaDataDefinitionEntityModule, AXMPlatformManagementMetaDataDefinitionEntityService, AXMPlatformManagementMetaDataDefinitionEntityServiceImpl, AXMPlatformManagementModule, AXMPromotionServiceImpl, AXMPromotionSlotComponent, AXMTermUpdateSettingAction, AXPRegionalStoreService, AppTermAndVersionCheck, RootConfig, appTermEntityEntityFactory, appVersionEntityEntityFactory, dataSourceEntityFactory, globalVariableEntityFactory, metaDataDefinitionFactory, promotionEntityFactory };
4511
+ export { AXMAppPromotionService, AXMAppTermService, AXMAppTermServiceImpl, AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMCommonModuleEntityProvider, AXMDataSourceService, AXMDataSourceServiceImpl, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMListTermsComponent, AXMMetaDataDefinitionService, AXMNewTermWorkflow, AXMNotifyAppComponent, AXMNotifyNewTermPopupAction, AXMPMetaDataDefinitionServiceImpl, AXMPlatformManagementModule, AXMPromotionServiceImpl, AXMPromotionSlotComponent, AXMTermUpdateSettingAction, AXMWhatsNewWorkflow, AXPRegionalStoreService, AppTermAndVersionCheck, RootConfig, appTermEntityEntityFactory, appVersionEntityEntityFactory, dataSourceEntityFactory, globalVariableEntityFactory, metaDataDefinitionFactory, promotionEntityFactory };
4255
4512
  //# sourceMappingURL=acorex-modules-platform-management.mjs.map