@acorex/modules 18.2.0 → 18.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/application-management/lib/application-management.source.d.ts +1 -0
  2. package/application-management/lib/const.d.ts +5 -0
  3. package/application-management/lib/menu.provider.d.ts +3 -3
  4. package/application-management/lib/services/application-module-management.service.d.ts +10 -0
  5. package/application-management/lib/services/edition-management.service.d.ts +10 -0
  6. package/application-management/lib/services/entity-management.service.d.ts +10 -0
  7. package/application-management/lib/services/feature-management.service.d.ts +10 -0
  8. package/application-management/lib/services/permission-management.service.d.ts +10 -0
  9. package/application-management/lib/services/property-management.service.d.ts +10 -0
  10. package/auth/lib/auth.config.d.ts +6 -0
  11. package/auth/lib/login/password/password.component.d.ts +1 -0
  12. package/auth/lib/menu.provider.d.ts +2 -3
  13. package/conversation/index.d.ts +15 -4
  14. package/conversation/lib/const.d.ts +7 -0
  15. package/conversation/lib/conversation.module.d.ts +3 -3
  16. package/conversation/lib/entities/chat/chat.module.d.ts +29 -0
  17. package/conversation/lib/entities/chat/chat.service.d.ts +14 -0
  18. package/conversation/lib/entities/chat/chat.type.d.ts +22 -0
  19. package/conversation/lib/entities/chat/components/chat-item/chat-item.component.d.ts +16 -0
  20. package/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.d.ts +5 -0
  21. package/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.d.ts +12 -0
  22. package/conversation/lib/entities/chat/components/chat-preview/chat-preview.component.d.ts +31 -0
  23. package/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.d.ts +7 -0
  24. package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +23 -0
  25. package/conversation/lib/{comments → entities/comments}/comment.module.d.ts +1 -1
  26. package/{platform-management/lib/comments/comment-management.service.d.ts → conversation/lib/entities/comments/comments.service.d.ts} +7 -4
  27. package/conversation/lib/{comments → entities/comments/pages}/comment-list-view.component.d.ts +1 -1
  28. package/esm2022/application-management/lib/application-management.module.mjs +36 -1
  29. package/esm2022/application-management/lib/application-management.source.mjs +2 -1
  30. package/esm2022/application-management/lib/const.mjs +6 -0
  31. package/esm2022/application-management/lib/entities/application-module.entity.mjs +10 -13
  32. package/esm2022/application-management/lib/entities/edition.entity.mjs +10 -13
  33. package/esm2022/application-management/lib/entities/entity.entity.mjs +10 -13
  34. package/esm2022/application-management/lib/entities/feature.entity.mjs +10 -13
  35. package/esm2022/application-management/lib/entities/modules.entity.mjs +2 -2
  36. package/esm2022/application-management/lib/entities/permission.entity.mjs +10 -13
  37. package/esm2022/application-management/lib/entities/property.entity.mjs +10 -13
  38. package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +5 -4
  39. package/esm2022/application-management/lib/menu.provider.mjs +17 -19
  40. package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +3 -3
  41. package/esm2022/application-management/lib/services/application-module-management.service.mjs +17 -0
  42. package/esm2022/application-management/lib/services/edition-management.service.mjs +17 -0
  43. package/esm2022/application-management/lib/services/entity-management.service.mjs +17 -0
  44. package/esm2022/application-management/lib/services/feature-management.service.mjs +17 -0
  45. package/esm2022/application-management/lib/services/permission-management.service.mjs +17 -0
  46. package/esm2022/application-management/lib/services/property-management.service.mjs +17 -0
  47. package/esm2022/auth/lib/account/account.module.mjs +6 -2
  48. package/esm2022/auth/lib/account/app-chooser/app-chooser.component.mjs +3 -3
  49. package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser.component.mjs +3 -3
  50. package/esm2022/auth/lib/auth.config.mjs +1 -1
  51. package/esm2022/auth/lib/forgot/password/password.component.mjs +2 -2
  52. package/esm2022/auth/lib/login/password/password.component.mjs +6 -3
  53. package/esm2022/auth/lib/menu.provider.mjs +32 -44
  54. package/esm2022/auth/lib/two-factor/two-factor-code/two-factor-code.component.mjs +2 -2
  55. package/esm2022/backend/lib/data/api/data-provider.mjs +7 -2
  56. package/esm2022/conversation/index.mjs +16 -5
  57. package/esm2022/conversation/lib/const.mjs +8 -0
  58. package/esm2022/conversation/lib/conversation.module.mjs +7 -7
  59. package/esm2022/conversation/lib/entities/chat/chat.module.mjs +141 -0
  60. package/esm2022/conversation/lib/entities/chat/chat.service.mjs +23 -0
  61. package/esm2022/conversation/lib/entities/chat/chat.type.mjs +2 -0
  62. package/esm2022/conversation/lib/entities/chat/components/chat-item/chat-item.component.mjs +53 -0
  63. package/esm2022/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.mjs +13 -0
  64. package/esm2022/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.mjs +28 -0
  65. package/esm2022/conversation/lib/entities/chat/components/chat-preview/chat-preview.component.mjs +124 -0
  66. package/esm2022/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.mjs +22 -0
  67. package/esm2022/conversation/lib/entities/chat/pages/chat/chat.component.mjs +80 -0
  68. package/esm2022/conversation/lib/entities/comments/comment.module.mjs +100 -0
  69. package/esm2022/conversation/lib/entities/comments/comments.service.mjs +21 -0
  70. package/esm2022/conversation/lib/entities/comments/comments.type.mjs +2 -0
  71. package/esm2022/conversation/lib/entities/comments/pages/comment-list-view.component.mjs +392 -0
  72. package/esm2022/conversation/lib/{comments → entities/comments/pages}/comment-lookup-popup.component.mjs +1 -1
  73. package/esm2022/form-template-management/acorex-modules-form-template-management.mjs +5 -0
  74. package/esm2022/form-template-management/index.mjs +2 -0
  75. package/esm2022/form-template-management/lib/components/widgets/template-designer/index.mjs +3 -0
  76. package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget-view.component.mjs +44 -0
  77. package/esm2022/form-template-management/lib/components/widgets/template-designer/template-designer-widget.config.mjs +23 -0
  78. package/esm2022/form-template-management/lib/const.mjs +8 -0
  79. package/esm2022/form-template-management/lib/entities/category/category.entity.mjs +241 -0
  80. package/esm2022/form-template-management/lib/entities/category/category.module.mjs +28 -0
  81. package/esm2022/form-template-management/lib/entities/category/category.service.mjs +17 -0
  82. package/esm2022/form-template-management/lib/entities/category/category.types.mjs +2 -0
  83. package/esm2022/form-template-management/lib/entities/category/index.mjs +5 -0
  84. package/esm2022/form-template-management/lib/entities/template/index.mjs +5 -0
  85. package/esm2022/form-template-management/lib/entities/template/template.entity.mjs +434 -0
  86. package/esm2022/form-template-management/lib/entities/template/template.module.mjs +28 -0
  87. package/esm2022/form-template-management/lib/entities/template/template.service.mjs +17 -0
  88. package/esm2022/form-template-management/lib/entities/template/template.types.mjs +2 -0
  89. package/esm2022/form-template-management/lib/entity.provider.mjs +25 -0
  90. package/esm2022/form-template-management/lib/form-template-management.module.mjs +133 -0
  91. package/esm2022/form-template-management/lib/menu.provider.mjs +32 -0
  92. package/esm2022/form-template-management/lib/pages/designer/designer.page.mjs +29 -0
  93. package/esm2022/form-template-management/lib/services/designer-connector.service.mjs +33 -0
  94. package/esm2022/form-template-management/lib/services/template.provider.mjs +31 -0
  95. package/esm2022/form-template-management/lib/workflows/create-template.workflow.mjs +40 -0
  96. package/esm2022/form-template-management/lib/workflows/design-template.workflow.mjs +32 -0
  97. package/esm2022/localization-management/acorex-modules-localization-management.mjs +5 -0
  98. package/esm2022/localization-management/index.mjs +8 -0
  99. package/esm2022/localization-management/lib/const.mjs +9 -0
  100. package/esm2022/localization-management/lib/culture/culture.entity.mjs +239 -0
  101. package/esm2022/localization-management/lib/culture/culture.service.mjs +17 -0
  102. package/esm2022/localization-management/lib/culture/culture.types.mjs +2 -0
  103. package/esm2022/localization-management/lib/culture/index.mjs +4 -0
  104. package/esm2022/localization-management/lib/entity.loader.mjs +36 -0
  105. package/esm2022/localization-management/lib/language/index.mjs +4 -0
  106. package/esm2022/localization-management/lib/language/language-slot/language-slot.component.mjs +30 -0
  107. package/esm2022/localization-management/lib/language/language.entity.mjs +239 -0
  108. package/esm2022/localization-management/lib/language/language.service.mjs +17 -0
  109. package/esm2022/localization-management/lib/language/language.types.mjs +2 -0
  110. package/esm2022/localization-management/lib/localization-management.module.mjs +99 -0
  111. package/esm2022/localization-management/lib/localization-management.source.mjs +4 -0
  112. package/esm2022/localization-management/lib/localization-store.service.mjs +34 -0
  113. package/esm2022/localization-management/lib/menu.provider.mjs +44 -0
  114. package/esm2022/localization-management/lib/time-zone/index.mjs +4 -0
  115. package/esm2022/localization-management/lib/time-zone/time-zone.entity.mjs +256 -0
  116. package/esm2022/localization-management/lib/time-zone/time-zone.service.mjs +17 -0
  117. package/esm2022/localization-management/lib/time-zone/time-zone.types.mjs +2 -0
  118. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +3 -3
  119. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +3 -3
  120. package/esm2022/notification-management/lib/const.mjs +9 -0
  121. package/esm2022/notification-management/lib/entities/my-notification.mjs +8 -15
  122. package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +3 -3
  123. package/esm2022/notification-management/lib/entities/notification-template.entity.mjs +4 -4
  124. package/esm2022/notification-management/lib/entities/notification.entity.mjs +4 -4
  125. package/esm2022/notification-management/lib/menu.provider.mjs +37 -40
  126. package/esm2022/platform-management/index.mjs +2 -3
  127. package/esm2022/platform-management/lib/common/common.module.mjs +65 -0
  128. package/esm2022/platform-management/lib/common/common.source.mjs +5 -0
  129. package/esm2022/platform-management/lib/common/country/country-datasource.provider.mjs +27 -0
  130. package/esm2022/platform-management/lib/common/country/country.entity.mjs +696 -0
  131. package/esm2022/platform-management/lib/common/country/country.service.mjs +17 -0
  132. package/esm2022/platform-management/lib/common/country/country.types.mjs +2 -0
  133. package/esm2022/platform-management/lib/common/country/index.mjs +4 -0
  134. package/esm2022/platform-management/lib/common/currency/currency.entity.mjs +283 -0
  135. package/esm2022/platform-management/lib/common/currency/currency.service.mjs +17 -0
  136. package/esm2022/platform-management/lib/common/currency/currency.types.mjs +2 -0
  137. package/esm2022/platform-management/lib/common/currency/index.mjs +4 -0
  138. package/esm2022/platform-management/lib/common/entity.loader.mjs +36 -0
  139. package/esm2022/platform-management/lib/common/index.mjs +5 -0
  140. package/esm2022/platform-management/lib/common/province/index.mjs +4 -0
  141. package/esm2022/platform-management/lib/common/province/province.entity.mjs +307 -0
  142. package/esm2022/platform-management/lib/common/province/province.service.mjs +17 -0
  143. package/esm2022/platform-management/lib/common/province/province.types.mjs +2 -0
  144. package/esm2022/platform-management/lib/const.mjs +12 -0
  145. package/esm2022/platform-management/lib/global-variables/entities/global-variable.entity.mjs +58 -7
  146. package/esm2022/platform-management/lib/global-variables/entity.loader.mjs +8 -11
  147. package/esm2022/platform-management/lib/menu.provider.mjs +56 -34
  148. package/esm2022/platform-management/lib/platform-management.module.mjs +11 -32
  149. package/esm2022/setting-management/acorex-modules-setting-management.mjs +5 -0
  150. package/esm2022/setting-management/index.mjs +5 -0
  151. package/esm2022/setting-management/lib/const.mjs +7 -0
  152. package/esm2022/setting-management/lib/entities/index.mjs +2 -0
  153. package/esm2022/setting-management/lib/entities/setting/index.mjs +5 -0
  154. package/esm2022/setting-management/lib/entities/setting/setting.entity.mjs +244 -0
  155. package/esm2022/setting-management/lib/entities/setting/setting.module.mjs +28 -0
  156. package/esm2022/setting-management/lib/entities/setting/setting.service.mjs +17 -0
  157. package/esm2022/setting-management/lib/entities/setting/setting.types.mjs +2 -0
  158. package/esm2022/setting-management/lib/entity.provider.mjs +25 -0
  159. package/esm2022/setting-management/lib/menu.provider.mjs +32 -0
  160. package/esm2022/setting-management/lib/setting-management.module.mjs +44 -0
  161. package/esm2022/text-template-management/acorex-modules-text-template-management.mjs +5 -0
  162. package/esm2022/text-template-management/index.mjs +6 -0
  163. package/esm2022/text-template-management/lib/const.mjs +8 -0
  164. package/esm2022/text-template-management/lib/entities/category/category.entity.mjs +257 -0
  165. package/esm2022/text-template-management/lib/entities/category/category.module.mjs +28 -0
  166. package/esm2022/text-template-management/lib/entities/category/category.service.mjs +17 -0
  167. package/esm2022/text-template-management/lib/entities/category/category.types.mjs +2 -0
  168. package/esm2022/text-template-management/lib/entities/category/index.mjs +5 -0
  169. package/esm2022/text-template-management/lib/entities/index.mjs +3 -0
  170. package/esm2022/text-template-management/lib/entities/template/index.mjs +5 -0
  171. package/esm2022/text-template-management/lib/entities/template/template.entity.mjs +405 -0
  172. package/esm2022/text-template-management/lib/entities/template/template.module.mjs +28 -0
  173. package/esm2022/text-template-management/lib/entities/template/template.service.mjs +17 -0
  174. package/esm2022/text-template-management/lib/entities/template/template.types.mjs +2 -0
  175. package/esm2022/text-template-management/lib/entity.provider.mjs +29 -0
  176. package/esm2022/text-template-management/lib/menu.provider.mjs +37 -0
  177. package/esm2022/text-template-management/lib/setting.provider.mjs +48 -0
  178. package/esm2022/text-template-management/lib/text-template-management.module.mjs +56 -0
  179. package/fesm2022/{acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs → acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs} +5 -5
  180. package/fesm2022/{acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs.map → acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs.map} +1 -1
  181. package/fesm2022/acorex-modules-application-management.mjs +356 -257
  182. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  183. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D2WBJhj6.mjs → acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs} +46 -52
  184. package/fesm2022/acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs.map +1 -0
  185. package/fesm2022/{acorex-modules-auth-app-chooser.component-B7BwymT_.mjs → acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs} +5 -5
  186. package/fesm2022/acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs.map +1 -0
  187. package/fesm2022/{acorex-modules-auth-login.module-BjvPlYQZ.mjs → acorex-modules-auth-login.module-Bir7SJ8b.mjs} +4 -4
  188. package/fesm2022/{acorex-modules-auth-login.module-BjvPlYQZ.mjs.map → acorex-modules-auth-login.module-Bir7SJ8b.mjs.map} +1 -1
  189. package/fesm2022/{acorex-modules-auth-master.layout-CeqMPrx8.mjs → acorex-modules-auth-master.layout-DwijDvUp.mjs} +3 -3
  190. package/fesm2022/{acorex-modules-auth-master.layout-CeqMPrx8.mjs.map → acorex-modules-auth-master.layout-DwijDvUp.mjs.map} +1 -1
  191. package/fesm2022/{acorex-modules-auth-password.component-87NrYq3i.mjs → acorex-modules-auth-password.component-C1S8V4Bw.mjs} +9 -6
  192. package/fesm2022/acorex-modules-auth-password.component-C1S8V4Bw.mjs.map +1 -0
  193. package/fesm2022/{acorex-modules-auth-password.component-X3BUidi1.mjs → acorex-modules-auth-password.component-CuLQNJ-W.mjs} +3 -3
  194. package/fesm2022/{acorex-modules-auth-password.component-X3BUidi1.mjs.map → acorex-modules-auth-password.component-CuLQNJ-W.mjs.map} +1 -1
  195. package/fesm2022/{acorex-modules-auth-routes-D1JZT2cF.mjs → acorex-modules-auth-routes-ILpWODmz.mjs} +2 -2
  196. package/fesm2022/{acorex-modules-auth-routes-D1JZT2cF.mjs.map → acorex-modules-auth-routes-ILpWODmz.mjs.map} +1 -1
  197. package/fesm2022/acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs +83 -0
  198. package/fesm2022/acorex-modules-auth-tenant-chooser.component-6qDoCUBo.mjs.map +1 -0
  199. package/fesm2022/{acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs → acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs} +3 -3
  200. package/fesm2022/{acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs.map → acorex-modules-auth-two-factor-code.component-BJKmvI7y.mjs.map} +1 -1
  201. package/fesm2022/{acorex-modules-auth-two-factor.module-C28ix6Wr.mjs → acorex-modules-auth-two-factor.module-bgwR1LBc.mjs} +3 -3
  202. package/fesm2022/{acorex-modules-auth-two-factor.module-C28ix6Wr.mjs.map → acorex-modules-auth-two-factor.module-bgwR1LBc.mjs.map} +1 -1
  203. package/fesm2022/acorex-modules-auth.mjs +1 -1
  204. package/fesm2022/acorex-modules-backend.mjs +7 -2
  205. package/fesm2022/acorex-modules-backend.mjs.map +1 -1
  206. package/fesm2022/acorex-modules-conversation.mjs +501 -44
  207. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  208. package/fesm2022/acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs +32 -0
  209. package/fesm2022/acorex-modules-form-template-management-designer.page-NhIPhsRs.mjs.map +1 -0
  210. package/fesm2022/acorex-modules-form-template-management.mjs +1135 -0
  211. package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -0
  212. package/fesm2022/acorex-modules-localization-management.mjs +1025 -0
  213. package/fesm2022/acorex-modules-localization-management.mjs.map +1 -0
  214. package/fesm2022/acorex-modules-notification-management.mjs +64 -67
  215. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  216. package/fesm2022/acorex-modules-platform-management.mjs +1424 -201
  217. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  218. package/fesm2022/acorex-modules-setting-management.mjs +393 -0
  219. package/fesm2022/acorex-modules-setting-management.mjs.map +1 -0
  220. package/fesm2022/{acorex-modules-template-management.mjs → acorex-modules-text-template-management.mjs} +317 -506
  221. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -0
  222. package/form-template-management/README.md +4 -0
  223. package/form-template-management/index.d.ts +1 -0
  224. package/form-template-management/lib/components/widgets/template-designer/index.d.ts +2 -0
  225. package/form-template-management/lib/components/widgets/template-designer/template-designer-widget-view.component.d.ts +8 -0
  226. package/form-template-management/lib/components/widgets/template-designer/template-designer-widget.config.d.ts +7 -0
  227. package/form-template-management/lib/const.d.ts +7 -0
  228. package/form-template-management/lib/entities/category/category.entity.d.ts +3 -0
  229. package/form-template-management/lib/entities/category/category.module.d.ts +6 -0
  230. package/form-template-management/lib/entities/category/category.service.d.ts +10 -0
  231. package/form-template-management/lib/entities/category/category.types.d.ts +5 -0
  232. package/form-template-management/lib/entities/category/index.d.ts +4 -0
  233. package/form-template-management/lib/entities/template/index.d.ts +4 -0
  234. package/form-template-management/lib/entities/template/template.entity.d.ts +3 -0
  235. package/form-template-management/lib/entities/template/template.module.d.ts +6 -0
  236. package/form-template-management/lib/entities/template/template.service.d.ts +10 -0
  237. package/form-template-management/lib/entities/template/template.types.d.ts +7 -0
  238. package/form-template-management/lib/entity.provider.d.ts +9 -0
  239. package/form-template-management/lib/form-template-management.module.d.ts +12 -0
  240. package/form-template-management/lib/menu.provider.d.ts +5 -0
  241. package/form-template-management/lib/pages/designer/designer.page.d.ts +7 -0
  242. package/form-template-management/lib/services/designer-connector.service.d.ts +7 -0
  243. package/form-template-management/lib/services/template.provider.d.ts +8 -0
  244. package/form-template-management/lib/workflows/create-template.workflow.d.ts +2 -0
  245. package/form-template-management/lib/workflows/design-template.workflow.d.ts +9 -0
  246. package/localization-management/README.md +4 -0
  247. package/localization-management/index.d.ts +7 -0
  248. package/localization-management/lib/const.d.ts +8 -0
  249. package/localization-management/lib/culture/culture.entity.d.ts +3 -0
  250. package/localization-management/lib/culture/culture.service.d.ts +10 -0
  251. package/localization-management/lib/culture/culture.types.d.ts +12 -0
  252. package/localization-management/lib/culture/index.d.ts +3 -0
  253. package/localization-management/lib/entity.loader.d.ts +9 -0
  254. package/localization-management/lib/language/index.d.ts +3 -0
  255. package/localization-management/lib/language/language-slot/language-slot.component.d.ts +19 -0
  256. package/localization-management/lib/localization-management.module.d.ts +10 -0
  257. package/localization-management/lib/localization-management.source.d.ts +3 -0
  258. package/localization-management/lib/localization-store.service.d.ts +7 -0
  259. package/localization-management/lib/menu.provider.d.ts +5 -0
  260. package/localization-management/lib/time-zone/index.d.ts +3 -0
  261. package/{template-management/lib/entities/text-template.entity.d.ts → localization-management/lib/time-zone/time-zone.entity.d.ts} +1 -1
  262. package/localization-management/lib/time-zone/time-zone.service.d.ts +10 -0
  263. package/localization-management/lib/time-zone/time-zone.types.d.ts +9 -0
  264. package/notification-management/lib/const.d.ts +8 -0
  265. package/notification-management/lib/menu.provider.d.ts +3 -3
  266. package/package.json +34 -22
  267. package/platform-management/index.d.ts +1 -2
  268. package/platform-management/lib/common/common.module.d.ts +6 -0
  269. package/platform-management/lib/common/common.source.d.ts +4 -0
  270. package/platform-management/lib/common/country/country-datasource.provider.d.ts +5 -0
  271. package/platform-management/lib/common/country/country.entity.d.ts +3 -0
  272. package/platform-management/lib/common/country/country.service.d.ts +10 -0
  273. package/platform-management/lib/common/country/country.types.d.ts +18 -0
  274. package/platform-management/lib/common/country/index.d.ts +3 -0
  275. package/platform-management/lib/common/currency/currency.entity.d.ts +3 -0
  276. package/platform-management/lib/common/currency/currency.service.d.ts +10 -0
  277. package/platform-management/lib/common/currency/currency.types.d.ts +6 -0
  278. package/platform-management/lib/common/currency/index.d.ts +3 -0
  279. package/{template-management/lib → platform-management/lib/common}/entity.loader.d.ts +3 -3
  280. package/platform-management/lib/common/index.d.ts +4 -0
  281. package/platform-management/lib/common/province/index.d.ts +3 -0
  282. package/platform-management/lib/common/province/province.entity.d.ts +3 -0
  283. package/platform-management/lib/common/province/province.service.d.ts +10 -0
  284. package/platform-management/lib/common/province/province.types.d.ts +7 -0
  285. package/platform-management/lib/const.d.ts +11 -0
  286. package/platform-management/lib/menu.provider.d.ts +3 -3
  287. package/platform-management/lib/platform-management.module.d.ts +2 -1
  288. package/setting-management/README.md +3 -0
  289. package/setting-management/index.d.ts +4 -0
  290. package/setting-management/lib/const.d.ts +6 -0
  291. package/setting-management/lib/entities/index.d.ts +1 -0
  292. package/setting-management/lib/entities/setting/index.d.ts +4 -0
  293. package/setting-management/lib/entities/setting/setting.entity.d.ts +3 -0
  294. package/setting-management/lib/entities/setting/setting.module.d.ts +6 -0
  295. package/setting-management/lib/entities/setting/setting.service.d.ts +10 -0
  296. package/setting-management/lib/entities/setting/setting.types.d.ts +5 -0
  297. package/setting-management/lib/entity.provider.d.ts +9 -0
  298. package/setting-management/lib/menu.provider.d.ts +5 -0
  299. package/setting-management/lib/setting-management.module.d.ts +7 -0
  300. package/text-template-management/README.md +3 -0
  301. package/text-template-management/index.d.ts +5 -0
  302. package/text-template-management/lib/const.d.ts +7 -0
  303. package/text-template-management/lib/entities/category/category.entity.d.ts +3 -0
  304. package/text-template-management/lib/entities/category/category.module.d.ts +6 -0
  305. package/text-template-management/lib/entities/category/category.service.d.ts +10 -0
  306. package/text-template-management/lib/entities/category/category.types.d.ts +5 -0
  307. package/text-template-management/lib/entities/category/index.d.ts +4 -0
  308. package/text-template-management/lib/entities/index.d.ts +2 -0
  309. package/text-template-management/lib/entities/template/index.d.ts +4 -0
  310. package/text-template-management/lib/entities/template/template.entity.d.ts +3 -0
  311. package/text-template-management/lib/entities/template/template.module.d.ts +6 -0
  312. package/text-template-management/lib/entities/template/template.service.d.ts +10 -0
  313. package/text-template-management/lib/entities/template/template.types.d.ts +9 -0
  314. package/text-template-management/lib/entity.provider.d.ts +9 -0
  315. package/text-template-management/lib/menu.provider.d.ts +5 -0
  316. package/text-template-management/lib/setting.provider.d.ts +4 -0
  317. package/text-template-management/lib/text-template-management.module.d.ts +8 -0
  318. package/conversation/lib/comments/comments.service.d.ts +0 -5
  319. package/esm2022/conversation/lib/comments/comment-list-view.component.mjs +0 -393
  320. package/esm2022/conversation/lib/comments/comment.module.mjs +0 -89
  321. package/esm2022/conversation/lib/comments/comments.service.mjs +0 -4
  322. package/esm2022/conversation/lib/comments/comments.type.mjs +0 -2
  323. package/esm2022/form-management/acorex-modules-form-management.mjs +0 -5
  324. package/esm2022/form-management/index.mjs +0 -2
  325. package/esm2022/form-management/lib/designer/designer.page.mjs +0 -24
  326. package/esm2022/form-management/lib/form-management.module.mjs +0 -53
  327. package/esm2022/form-management/lib/menu.provider.mjs +0 -35
  328. package/esm2022/platform-management/lib/comments/comment-management.service.mjs +0 -18
  329. package/esm2022/platform-management/lib/languages/entities/language.entity.mjs +0 -234
  330. package/esm2022/platform-management/lib/languages/entity.loader.mjs +0 -26
  331. package/esm2022/platform-management/lib/languages/index.mjs +0 -5
  332. package/esm2022/platform-management/lib/languages/language-management.service.mjs +0 -16
  333. package/esm2022/platform-management/lib/languages/language.types.mjs +0 -2
  334. package/esm2022/template-management/acorex-modules-template-management.mjs +0 -5
  335. package/esm2022/template-management/index.mjs +0 -8
  336. package/esm2022/template-management/lib/entities/category.entity.mjs +0 -234
  337. package/esm2022/template-management/lib/entities/index.mjs +0 -4
  338. package/esm2022/template-management/lib/entities/template-variable.entity.mjs +0 -308
  339. package/esm2022/template-management/lib/entities/text-template.entity.mjs +0 -386
  340. package/esm2022/template-management/lib/entity.loader.mjs +0 -36
  341. package/esm2022/template-management/lib/menu.provider.mjs +0 -43
  342. package/esm2022/template-management/lib/template-management.module.mjs +0 -61
  343. package/esm2022/template-management/lib/template-management.types.mjs +0 -2
  344. package/esm2022/template-management/lib/template.service.mjs +0 -17
  345. package/esm2022/template-management/lib/text-management.source.mjs +0 -3
  346. package/esm2022/template-management/lib/text-template-category.service.mjs +0 -17
  347. package/fesm2022/acorex-modules-auth-acorex-modules-auth-D2WBJhj6.mjs.map +0 -1
  348. package/fesm2022/acorex-modules-auth-app-chooser.component-B7BwymT_.mjs.map +0 -1
  349. package/fesm2022/acorex-modules-auth-password.component-87NrYq3i.mjs.map +0 -1
  350. package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs +0 -83
  351. package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs.map +0 -1
  352. package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs +0 -27
  353. package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs.map +0 -1
  354. package/fesm2022/acorex-modules-form-management.mjs +0 -93
  355. package/fesm2022/acorex-modules-form-management.mjs.map +0 -1
  356. package/fesm2022/acorex-modules-template-management.mjs.map +0 -1
  357. package/form-management/README.md +0 -4
  358. package/form-management/index.d.ts +0 -1
  359. package/form-management/lib/designer/designer.page.d.ts +0 -5
  360. package/form-management/lib/form-management.module.d.ts +0 -8
  361. package/form-management/lib/menu.provider.d.ts +0 -5
  362. package/platform-management/lib/languages/entity.loader.d.ts +0 -9
  363. package/platform-management/lib/languages/index.d.ts +0 -4
  364. package/template-management/README.md +0 -3
  365. package/template-management/index.d.ts +0 -7
  366. package/template-management/lib/entities/category.entity.d.ts +0 -3
  367. package/template-management/lib/entities/index.d.ts +0 -3
  368. package/template-management/lib/entities/template-variable.entity.d.ts +0 -3
  369. package/template-management/lib/menu.provider.d.ts +0 -5
  370. package/template-management/lib/template-management.module.d.ts +0 -6
  371. package/template-management/lib/template-management.types.d.ts +0 -19
  372. package/template-management/lib/template.service.d.ts +0 -10
  373. package/template-management/lib/text-management.source.d.ts +0 -2
  374. package/template-management/lib/text-template-category.service.d.ts +0 -10
  375. /package/conversation/lib/{comments → entities/comments}/comments.type.d.ts +0 -0
  376. /package/conversation/lib/{comments → entities/comments/pages}/comment-lookup-popup.component.d.ts +0 -0
  377. /package/{platform-management/lib/languages/entities → localization-management/lib/language}/language.entity.d.ts +0 -0
  378. /package/{platform-management/lib/languages/language-management.service.d.ts → localization-management/lib/language/language.service.d.ts} +0 -0
  379. /package/{platform-management/lib/languages → localization-management/lib/language}/language.types.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-auth-acorex-modules-auth-D2WBJhj6.mjs","sources":["../../../../libs/modules/auth/src/lib/error-handler.ts","../../../../libs/modules/auth/src/lib/auth.config.ts","../../../../libs/modules/auth/src/lib/auth.routes.ts","../../../../libs/modules/auth/src/lib/shared/services/idle.service.ts","../../../../libs/modules/auth/src/lib/store/auth.effects.ts","../../../../libs/modules/auth/src/lib/store/index.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-list.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-list.component.html","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-slot.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-slot.component.html","../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser-dropdown.component.ts","../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser-dropdown.component.html","../../../../libs/modules/auth/src/lib/account/profile/profile-slot.component.ts","../../../../libs/modules/auth/src/lib/account/profile/profile-slot.component.html","../../../../libs/modules/auth/src/lib/account/account.module.ts","../../../../libs/modules/auth/src/lib/menu.provider.ts","../../../../libs/modules/auth/src/lib/auth.module.ts","../../../../libs/modules/auth/src/acorex-modules-auth.ts"],"sourcesContent":["import { AXPUnauthenticatedError, AXPUnauthorizedError } from '@acorex/platform/auth';\nimport { AXPErrorHandler, AXPLayoutService } from '@acorex/platform/common';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable, NgZone, inject, isDevMode } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Injectable()\nexport class AXMAuthErrorHandler implements AXPErrorHandler {\n private router = inject(Router);\n private layoutService = inject(AXPLayoutService);\n private zone = inject(NgZone);\n\n handleError(error: Error, next: (error: any) => void): void {\n if (error instanceof HttpErrorResponse) {\n // if (error.status == 401) {\n // this.router.navigate(['/auth/login']);\n // }\n // else if (error.status == 404) {\n // this.router.navigate(['/404']);\n // }\n } else if (error instanceof AXPUnauthorizedError) {\n const redirectUrl = error.data?.redirectUrl;\n console.error(error.message);\n this.router.navigate(['/401'], { queryParams: redirectUrl ? { redirectUrl: redirectUrl } : null });\n } else if (error instanceof AXPUnauthenticatedError) {\n console.error(error.message);\n const redirectUrl = error.data?.redirectUrl;\n this.router.navigate(['/auth/login'], { queryParams: redirectUrl ? { redirectUrl: redirectUrl } : null });\n } else {\n if (isDevMode()) {\n next(error); // Pass the error to the next handler\n } else {\n next(error); // maybe we need a error page\n }\n }\n this.layoutService.setNavigationLoading(false);\n }\n}\n","import { InjectionToken } from '@angular/core';\nimport { AuthConfig } from 'angular-oauth2-oidc';\n\nexport enum AXMAuthenticationTypes {\n UsernamePassword,\n UsernameEmailPassword,\n EmailPassword,\n MobilePassword,\n EmailCode,\n MobileCode,\n}\n\nexport const AXM_AUTH_CONFIG_TOKEN = new InjectionToken<AXMAuthConfigs>('app-module-auth-config', {\n providedIn: 'root',\n factory: () => {\n return AXMDefaultAuthConfigs;\n },\n});\n\nexport interface AXMAuthConfigs {\n type: AXMAuthenticationTypes;\n // oidc_settings?: UserManagerSettings;\n authConfig?:AuthConfig,\n end_url?: string;\n signinPage?: {\n description: string;\n slogan: string;\n };\n idleTimeout?: number;\n}\n\nexport const AXMDefaultAuthConfigs: AXMAuthConfigs = {\n type: AXMAuthenticationTypes.UsernamePassword,\n};\n\nexport function configAuthModule(config: Partial<AXMAuthConfigs> = AXMDefaultAuthConfigs): AXMAuthConfigs {\n return { ...AXMDefaultAuthConfigs, ...config };\n}\n","import { Route } from '@angular/router';\nexport const routes: Route[] = [\n {\n path: 'auth',\n children: [\n {\n path: '',\n pathMatch: 'full',\n redirectTo: 'login',\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./login/login.module').then((c) => c.AXPSignInModule),\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./two-factor/two-factor.module').then((c) => c.AXPTwoFactorModule),\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./forgot/routes').then((c) => c),\n },\n {\n path: 'account',\n loadComponent: () => import('./shared/layouts/blank/blank.layout').then((c) => c.AXPAuthBlankLayoutComponent),\n loadChildren: () => import('./account/account.module').then((c) => c.AXPAccountModule),\n },\n // {\n // path: '',\n // loadComponent: () =>\n // import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n // loadChildren: () => import('./register/register.module').then((c) => c.AXPRegisterModule),\n // },\n ],\n },\n];\n","import { Injectable, inject } from '@angular/core';\nimport { Subject, Observable, timer, Subscription } from 'rxjs';\nimport { startWith, switchMap, tap } from 'rxjs/operators';\nimport { AXM_AUTH_CONFIG_TOKEN } from '../../auth.config';\n\n@Injectable({ providedIn: 'root' })\nexport class AXPIdleService {\n private configs = inject(AXM_AUTH_CONFIG_TOKEN);\n private idle$ = new Subject<void>();\n private timeoutDuration = this.configs.idleTimeout ?? 10 * 60 * 1000;\n private userActivity$ = new Subject<void>();\n private idleSubscription: Subscription | null = null;\n\n constructor() {\n this.setupActivityListeners();\n }\n\n get idleState$(): Observable<void> {\n return this.idle$.asObservable();\n }\n\n private setupActivityListeners() {\n const activityEvents = ['mousemove', 'keydown', 'wheel'];\n activityEvents.forEach(event =>\n document.addEventListener(event, () => this.resetTimer())\n );\n }\n\n startWatching() {\n this.stopWatching(); // Stop any existing subscription\n this.idleSubscription = this.userActivity$.pipe(\n startWith(null),\n switchMap(() => timer(this.timeoutDuration)),\n tap(() => this.idle$.next()),\n ).subscribe();\n }\n\n resetTimer() {\n this.userActivity$.next();\n }\n\n stopWatching() {\n if (this.idleSubscription) {\n this.idleSubscription.unsubscribe();\n this.idleSubscription = null;\n }\n }\n}\n","import { AXDialogButtonItem, AXDialogService } from \"@acorex/components/dialog\";\nimport { AXPSessionService } from \"@acorex/platform/auth\";\nimport { AXPSignInAction, AXPSignOutAction } from \"@acorex/platform/common\";\nimport { Injectable, inject } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { Actions, createEffect, ofType } from \"@ngrx/effects\";\nimport { of, switchMap, tap } from \"rxjs\";\nimport { AXPIdleService } from \"../shared/services\";\nimport { AXM_AUTH_CONFIG_TOKEN } from \"../auth.config\";\n\n@Injectable()\nexport class AXPAuthEffects {\n\n private configs = inject(AXM_AUTH_CONFIG_TOKEN);\n private sessionService = inject(AXPSessionService);\n private idleService = inject(AXPIdleService);\n private dialogService = inject(AXDialogService);\n private dialogAlreadyOpen = false;\n\n constructor(private actions$: Actions, private router: Router) { }\n\n signout$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType(AXPSignOutAction),\n switchMap((action) => {\n this.idleService.stopWatching();\n this.router.navigate(['/auth/login']);\n return of();\n })\n ),\n { dispatch: false }\n );\n\n signin$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType(AXPSignInAction),\n switchMap((action) => {\n if (this.configs.idleTimeout) {\n this.idleService.startWatching();\n }\n return of();\n })\n ),\n { dispatch: false }\n );\n\n\n idle$ = createEffect(\n () =>\n this.idleService.idleState$.pipe(\n tap(() => {\n if (!this.dialogAlreadyOpen) {\n let time = 60;\n let intervalId: number;\n const buttonText = (time: number) => `Stay Sign In (${time})`;\n const stayButton: AXDialogButtonItem = {\n text: buttonText(time),\n color: 'primary',\n autofocus: true,\n onClick: () => {\n this.idleService.resetTimer();\n dialog.close();\n this.dialogAlreadyOpen = false;\n clearInterval(intervalId);\n }\n }\n const dialog = this.dialogService.open({\n title: \"Session Timeout\",\n content: \"You're being timed out due to inactivity. Please choose to stay signed in or to sign off. Otherwise, you will signed off automatically.\",\n type: 'warning',\n buttons: [\n {\n text: \"Sign Off\",\n color: 'ghost',\n onClick: async () => {\n await this.sessionService.signout();\n dialog.close();\n this.dialogAlreadyOpen = false;\n clearInterval(intervalId);\n }\n },\n stayButton,\n ]\n });\n this.dialogAlreadyOpen = true;\n // Automatically close dialog and sign out after additional time\n intervalId = setInterval(() => {\n if (time > 0) {\n stayButton.text = buttonText(--time);\n } else {\n clearInterval(intervalId);\n this.sessionService.signout();\n dialog.close();\n this.dialogAlreadyOpen = false;\n }\n }, 1000);\n //\n }\n })\n ),\n { dispatch: false }\n );\n\n}\n","export * from './auth.effects';\n//export * from './auth.actions';","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPApplication, AXPSessionService } from '@acorex/platform/auth';\nimport { AXPLogoComponent } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'axp-app-chooser-list',\n templateUrl: 'app-chooser-list.component.html',\n standalone: true,\n imports: [CommonModule, AXDecoratorModule, AXPLogoComponent, AXLoadingModule],\n})\nexport class AXPAppChooserListComponent {\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n\n protected selectedApplication: AXPApplication | null = null;\n protected applications$ = this.sessionService.applications$;\n\n async chooseApplication(item: AXPApplication) {\n this.selectedApplication = item;\n await this.sessionService.setApplication(item);\n this.router.navigate([`/${item.name}/home`]);\n }\n}\n","<div class=\" ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n @for(application of (applications$ | async); track $index){\n <div class=\"ax-flex ax-gap-2 ax-justify-between ax-border-b last:ax-border-b-0 ax-py-3 ax-items-start ax-cursor-pointer\"\n (click)=\"chooseApplication(application)\">\n <div class=\"ax-flex ax-flex-1 ax-gap-2 ax-items-center ax-justify-center ax-font-medium\">\n <div\n class=\"ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-bg-neutral-100 ax-m-auto\">\n <ax-icon class=\"fa-solid fa-computer ax-text-neutral-500 ax-text-lg\"> </ax-icon>\n <!-- TODO: logo instead of application icon -->\n <!-- <axp-logo [source]=\"application.logo\" [attr.alt]=\"application.title\"\n class=\"!ax-flex ax-items-center ax-justify-center !ax-text-sm ax-mx-auto ax-w-10 ax-h-10 ax-bg-neutral-200 ax-rounded-full\"></axp-logo> -->\n </div>\n <span class=\"ax-flex-1 ax-text-start md:ax-text-base ax-text-sm\">{{ application.title }}</span>\n <span class=\"ax-text-gray-500 md:ax-text-sm ax-text-xs\">{{application.editionName}}</span>\n @if(application.name===selectedApplication?.name){\n <ax-loading></ax-loading>\n }@else {\n <ax-icon class=\"fa-solid fa-chevron-right ax-text-neutral-400\"> </ax-icon>\n }\n </div>\n </div>\n }\n</div>","import { AXButtonModule } from \"@acorex/components/button\";\nimport { AXDecoratorModule } from \"@acorex/components/decorators\";\nimport { AXPopoverModule } from \"@acorex/components/popover\";\nimport { AXPApplication, AXPSessionService } from \"@acorex/platform/auth\";\nimport { CommonModule } from \"@angular/common\";\nimport { Component, inject } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { AXPAppChooserListComponent } from \"./app-chooser-list.component\";\nimport { of } from \"rxjs\";\nimport { AXPLogoComponent } from \"@acorex/platform/common\";\n\n@Component({\n templateUrl: './app-chooser-slot.component.html',\n standalone: true,\n imports: [\n CommonModule,\n AXButtonModule,\n AXPopoverModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXPAppChooserListComponent\n ]\n})\nexport class AXMAppChooserSlotComponent {\n private sessionService = inject(AXPSessionService);\n protected tenant$ = this.sessionService.tenant$;\n\n protected application$ = this.sessionService.application$;\n protected applications$ = of([]);\n\n private router = inject(Router);\n\n\n async chooseApplication(item: AXPApplication) {\n //await this.sessionService.selectApplication(item.name);\n this.router.navigate([`/${item.name}/home`]);\n }\n\n\n}","@if(((applications$ | async)?.length ?? 0) > 1)\n{\n<ax-button color=\"default\" look=\"blank\" #appChooser>\n <ax-icon>\n <i class=\"fa-solid fa-grid-2 ax-text-slate-400 dark:ax-text-slate-200\"></i>\n </ax-icon>\n</ax-button>\n<ax-popover [target]=\"appChooser\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-surface ax-border ax-overflow-hidden ax-rounded-md ax-shadow-md ax-w-full ax-min-w-64 ax-p-3\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n</ax-popover>\n}","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'axp-tenant-chooser-dropdown',\n templateUrl: 'tenant-chooser-dropdown.component.html',\n standalone: true,\n imports: [CommonModule, AXDecoratorModule],\n})\nexport class AXPTenantChooserDropdownComponent {\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n protected tenants$ = this.sessionService.tenants$;\n protected tenant = this.sessionService.tenant;\n\n tenantChooser() {\n this.router.navigate(['/auth/account/tenant-chooser']);\n }\n}\n","<ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length>1){\n <div (click)=\"tenantChooser()\"\n class=\"ax-flex ax-items-center ax-border ax-rounded-full ax-px-4 ax-py-1 ax-gap-2 ax-cursor-pointer\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500 ax-text-xs\"></ax-icon>\n <p class=\"ax-text-neutral-500 ax-text-sm ax-font-medium\">\n {{ tenant?.title }}\n </p>\n <ax-icon class=\"fa-regular fa-chevron-down ax-text-neutral-400\"></ax-icon>\n </div>\n }@else {\n <div class=\"ax-flex ax-items-center ax-border ax-rounded-full ax-px-4 ax-py-1 ax-gap-2 ax-cursor-pointer\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500\"></ax-icon>\n <p class=\"ax-text-neutral-500 ax-text-sm ax-font-medium\">\n {{ tenant?.title }}\n </p>\n </div>\n }\n</ng-container>","import { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXHtmlEvent } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPDataProvider } from '@acorex/platform/common';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { Component, ViewChild, inject, signal } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { first } from 'rxjs';\nimport { AXPTenantChooserDropdownComponent } from '../tenant-chooser/tenant-chooser-dropdown.component';\n\n@Component({\n templateUrl: './profile-slot.component.html',\n standalone: true,\n imports: [\n CommonModule,\n AXImageModule,\n AXAvatarModule,\n AXPopoverModule,\n AXButtonModule,\n AXDecoratorModule,\n AXPTenantChooserDropdownComponent,\n AXLoadingModule,\n AXTranslationModule,\n ],\n})\nexport class AXMAuthProfileSlotComponent {\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n private dataService = inject(AXPDataProvider, { optional: true });\n private mockerService = inject(MockDataService);\n\n protected hasPicture = signal(true);\n protected avatarText = signal<string>('');\n\n constructor() {\n this.loadImage();\n this.getAvatarText();\n }\n protected src!: string;\n protected user$ = this.sessionService.user$;\n protected tenant$ = this.sessionService.tenant$;\n\n protected isAuthenticated$ = this.sessionService.isAuthenticated$;\n\n @ViewChild('profilePopover') profilePopover!: AXPopoverComponent;\n\n editProfile() {\n const appName = this.sessionService.application?.name;\n if (appName === 'asc') {\n this.router.navigate([`/asc/oidc/e/user-info/0/view`]);\n } else {\n this.router.navigate([`/${appName}/m/oidc/e/user-info/0/view`]);\n }\n }\n\n async logOut() {\n await this.sessionService.signout();\n }\n\n toggleProfileMenu() {\n this.profilePopover.open();\n }\n\n protected handleSignIn() {\n this.router.navigate(['/auth/login']);\n }\n\n protected onImageError(event: AXHtmlEvent<ErrorEvent>) {\n this.hasPicture.set(false);\n }\n\n protected getAvatarText = () => {\n this.user$.pipe(first()).subscribe((user) => {\n const names = user?.title.split(' ');\n if (names?.length && names?.length > 1) {\n this.avatarText.set(`${names[0][0].toUpperCase()}${names[names.length - 1][0].toUpperCase()}`);\n } else return this.avatarText.set('AC');\n });\n };\n\n private async loadImage() {\n try {\n const url = this.sessionService.user?.avatar as string;\n if (url?.toLowerCase().startsWith('http')) {\n this.src = url;\n } else if (this.sessionService.user?.avatar != 'null' && this.dataService) {\n const blob = await this.dataService.viewFile(url, '');\n this.src = URL.createObjectURL(blob);\n } else {\n this.src = this.mockerService.avatar();\n }\n } catch (error) {\n this.hasPicture.set(false);\n console.error('Failed to load image by ID:', error);\n this.src = '';\n }\n }\n}\n","@if((isAuthenticated$ | async)) {\n<div class=\"ax-size-fit ax-px-2\">\n <ax-avatar #avatar color=\"secondary\" (error)=\"this.src = 'path/to/default-image.jpg'\" [size]=\"32\"\n class=\"ax-cursor-pointer\">\n @if(hasPicture()){\n <ax-image (onError)=\"onImageError($event)\" [src]=\"src\"></ax-image>\n }@else{\n <ax-text>\n <small class=\"ax-text-xs ax-font-semibold\">{{ avatarText() }}</small>\n </ax-text>\n }\n </ax-avatar>\n <ax-popover [target]=\"avatar\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\">\n <div class=\"ax-bg-surface ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-64\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-p-4 ax-border-b\">\n <ax-avatar [size]=\"60\">\n @if(hasPicture()){\n <ax-image (onError)=\"onImageError($event)\" [src]=\"src\">\n <ax-loading></ax-loading>\n </ax-image>\n }@else{\n <ax-text>\n <span class=\"\">{{ avatarText() }}</span>\n </ax-text>\n }\n </ax-avatar>\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-mt-2 ax-gap-1\">\n <div class=\"ax-text-base ax-font-bold\">{{ (user$ | async)?.title }}</div>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n </div>\n </div>\n <div class=\"profile-menus ax-text-slate-500\">\n <!-- <ul>\n <li>\n <i class=\"fa-solid fa-folder-open\"></i>\n <span> Project Management </span>\n </li>\n <li>\n <i class=\"fa-solid fa-envelope-open-text\"></i>\n <span>Email Config</span>\n </li>\n <li>\n <i class=\"fa-solid fa-gear\"></i>\n <span>Setting</span>\n </li>\n </ul> -->\n <ul>\n <!-- <li>\n <i class=\"fa-solid fa-gem ax-text-primary-500\"></i>\n <span> Upgrade account </span>\n </li> -->\n <li (click)=\"editProfile()\">\n <i class=\"fa-solid fa-user\"></i>\n <span>{{ 'profile.edit' | translate:{scope:'auth'} | async }}</span>\n </li>\n </ul>\n <ul>\n <li class=\"ax-text-danger-500\" (click)=\"logOut()\">\n <i class=\"fa-solid fa-arrow-right-from-bracket\"></i>\n <span>{{ 'profile.logout' | translate:{scope:'auth'} | async }}</span>\n </li>\n </ul>\n </div>\n </div>\n </ax-popover>\n</div>\n\n} @else {\n<ax-button color=\"default\" look=\"blank\" text=\"Sign Up / Sign In\" (click)=\"handleSignIn()\">\n <ax-icon>\n <i class=\"fa-solid fa-user ax-text-slate-400 dark:ax-text-slate-200\"></i>\n </ax-icon>\n</ax-button>\n}","import { AXPAuthGuard, AXPSessionService } from '@acorex/platform/auth';\nimport { AXPComponentSlotModule } from '@acorex/platform/common';\nimport { NgModule, inject } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivateFn, ROUTES, Router, RouterModule, RouterStateSnapshot, Routes } from '@angular/router';\nimport { firstValueFrom } from 'rxjs';\nimport { AXMAppChooserSlotComponent } from './app-chooser/app-chooser-slot.component';\nimport { AXMAuthProfileSlotComponent } from './profile/profile-slot.component';\n\nconst canActivateTenantChooser: CanActivateFn = async (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n const sessionService = inject(AXPSessionService);\n const router = inject(Router);\n\n const tenants = await firstValueFrom(sessionService.tenants$);\n if (tenants.length == 0) {\n return router.createUrlTree(['/auth/login']);\n }\n if (tenants.length == 1) {\n await sessionService.setTenant(tenants[0]);\n return router.createUrlTree(['/auth/account/app-chooser']);\n }\n return true;\n};\n\nconst canActivateAppChooser: CanActivateFn = async (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n const sessionService = inject(AXPSessionService);\n const router = inject(Router);\n const apps = await firstValueFrom(sessionService.applications$);\n if (apps.length == 0) {\n return router.createUrlTree(['/auth/login']);\n }\n if (apps.length == 1) {\n await sessionService.setApplication(apps[0]);\n return router.createUrlTree([`/${apps[0].name}/home`]);\n }\n return true;\n};\n\nfunction routesFacory() {\n let routes: Routes = [];\n routes = [\n {\n path: 'tenant-chooser',\n loadComponent: () => import('./tenant-chooser/tenant-chooser.component').then((c) => c.AXPAuthTenantChooserComponent),\n canActivate: [AXPAuthGuard, canActivateTenantChooser],\n },\n {\n path: 'app-chooser',\n loadComponent: () => import('./app-chooser/app-chooser.component').then((c) => c.AXPAuthAppChooserComponent),\n canActivate: [AXPAuthGuard, canActivateAppChooser],\n },\n ];\n return routes;\n}\n\n@NgModule({\n declarations: [],\n imports: [\n RouterModule,\n //\n AXPComponentSlotModule.forChild({\n 'header-end': [\n {\n name: 'app-choser',\n component: AXMAppChooserSlotComponent,\n },\n {\n name: 'profile',\n component: AXMAuthProfileSlotComponent,\n },\n ],\n }),\n ],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n ],\n})\nexport class AXPAccountModule { }\n","import { AXTranslationService } from \"@acorex/core/translation\";\nimport { AXPMenuInsertion, AXPMenuProvider } from \"@acorex/platform/common\";\nimport { inject } from \"@angular/core\";\n\nexport class AXMSecurityManagmentModuleMenuProvider implements AXPMenuProvider {\n\n private translateService = inject(AXTranslationService);\n\n async items(): Promise<AXPMenuInsertion[]> {\n const scope = \"auth\";\n return [\n {\n items: [\n {\n text: await this.translateService.translateAsync('profile.title', { scope }),\n name: \"user-profile\",\n icon: \"fa-solid fa-user\",\n children: [\n {\n text: await this.translateService.translateAsync('profile.edit', { scope }),\n name: 'edit-profile'\n },\n ]\n }\n ]\n },\n {\n items: [\n {\n text: await this.translateService.translateAsync('management.title', { scope }),\n path: '/security',\n icon: 'fa-solid fa-lock',\n priority: 9001,\n data: {\n //requiredPermission: 'platform.admin.settings',\n },\n children: [\n {\n text: await this.translateService.translateAsync('management.users', { scope }),\n icon: 'fa-solid fa-users',\n priority: 1\n },\n {\n text: await this.translateService.translateAsync('management.rols', { scope }),\n icon: 'fa-solid fa-key',\n priority: 2\n },\n ],\n },\n ]\n }\n ] as AXPMenuInsertion[]\n }\n\n}","import { AXP_MENU_PROVIDER, AXPCommonModule } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EffectsModule } from '@ngrx/effects';\nimport { routes } from './auth.routes';\nimport { AXMAuthErrorHandler } from './error-handler';\nimport { AXPAuthEffects } from './store';\nimport { AXPAccountModule } from './account/account.module';\nimport { AXMSecurityManagmentModuleMenuProvider } from './menu.provider';\n\n\n@NgModule({\n imports: [\n CommonModule,\n AXPCommonModule.forChild({ errorHandlers: [AXMAuthErrorHandler] }),\n RouterModule.forChild(routes),\n EffectsModule.forFeature([AXPAuthEffects]),\n AXPAccountModule\n ],\n providers: [\n AXMAuthErrorHandler,\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMSecurityManagmentModuleMenuProvider,\n multi: true\n }\n ],\n})\nexport class AXMAuthModule {\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["switchMap","tap","i1","i2","i3","i4","i6","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOa,mBAAmB,CAAA;AADhC,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;AA2B9B;IAzBC,WAAW,CAAC,KAAY,EAAE,IAA0B,EAAA;AAClD,QAAA,IAAI,KAAK,YAAY,iBAAiB,EAAE;;;;;;;;AAOjC,aAAA,IAAI,KAAK,YAAY,oBAAoB,EAAE;AAChD,YAAA,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,WAAW;AAC3C,YAAA,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;YAC5B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,EAAE,WAAW,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,CAAC;;AAC7F,aAAA,IAAI,KAAK,YAAY,uBAAuB,EAAE;AACnD,YAAA,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;AAC5B,YAAA,MAAM,W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E,iBAAiB;AAC1B,4BAAA,QAAQ,EAAE,sCAAsC;AAChD,4BAAA,KAAK,EAAE;AACR;AACF,qBAAA;AACF,iBAAA;;;AC5BD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-auth-app-chooser.component-B7BwymT_.mjs","sources":["../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser.component.html"],"sourcesContent":["import { Component, ViewEncapsulation, inject } from '@angular/core';\n\nimport { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPLogoComponent, AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { AXPTenantChooserDropdownComponent } from '../tenant-chooser/tenant-chooser-dropdown.component';\nimport { AXPAppChooserListComponent } from './app-chooser-list.component';\nimport { of } from 'rxjs';\n\n@Component({\n selector: 'axp-auth-app-chooser',\n templateUrl: './app-chooser.component.html',\n styleUrls: ['./app-chooser.component.scss'],\n imports: [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXAvatarModule,\n AXImageModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXLoadingModule,\n AXTranslationModule,\n AXPTenantChooserDropdownComponent,\n AXPAppChooserListComponent\n ],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class AXPAuthAppChooserComponent {\n\n private router = inject(Router);\n protected platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);\n private sessionService = inject(AXPSessionService);\n\n protected user = this.sessionService.user;\n protected tenants$ = of([])//this.sessionService.tenants$;\n protected tenant = this.sessionService.tenant;\n\n\n tenantChooser() {\n this.router.navigate(['/auth/account/tenant-chooser']);\n }\n\n async handleSignout() {\n await this.sessionService.signout();\n this.router.navigate(['/auth/login']);\n }\n\n\n}\n","<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('application-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('application-chooser.footer', { scope: 'auth' }) | async }}\n <ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length > 1){\n <a (click)=\"tenantChooser()\" class=\"ax-text-primary-500 ax-cursor-pointer ax-font-medium hover:ax-underline\">\n {{ t('application-chooser.backCompany', { scope: 'auth' }) | async }}\n </a>\n } @else {\n <a (click)=\"handleSignout()\" class=\"ax-text-primary-500 ax-font-medium ax-cursor-pointer hover:ax-underline\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n }\n </ng-container>\n </p>\n </section>\n</main>"],"names":["i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2Ca,0BAA0B,CAAA;AAvBvC,IAAA,WAAA,GAAA;AAyBU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,yBAAyB,CAAC;AACpD,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAExC,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;AACjB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM;AAa9C;IAVC,aAAa,GAAA;QACX,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,8BAA8B,CAAC,CAAC;;AAGxD,IAAA,MAAM,aAAa,GAAA;AACjB,QAAA,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAC;;8GAjB5B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,EC3CvC,YA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AAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,EACjB,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,EAChB,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,EACf,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,EACnB,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,iCAAiC,wEACjC,0BAA0B,EAAA,QAAA,EAAA,sBAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAKjB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAvBtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EAGvB,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,aAAa;wBACb,gBAAgB;wBAChB,cAAc;wBACd,aAAa;wBACb,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;wBACf,mBAAmB;wBACnB,iCAAiC;wBACjC;AACD,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,48DAAA,EAAA,MAAA,EAAA,CAAA,kLAAA,CAAA,EAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-auth-password.component-87NrYq3i.mjs","sources":["../../../../libs/modules/auth/src/lib/login/password/password.component.ts","../../../../libs/modules/auth/src/lib/login/password/password.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, OnInit, ViewChild, inject } from '@angular/core';\nimport { Router, RouterModule } from '@angular/router';\n\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { BehaviorSubject } from 'rxjs';\nimport { AXMAuthConfigs, AXMAuthenticationTypes, AXM_AUTH_CONFIG_TOKEN } from '../../auth.config';\n\nconst MODULES = [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXPasswordBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXDecoratorModule,\n AXCheckBoxModule,\n AXTranslationModule,\n AXTranslationModule,\n AXLoadingModule,\n RouterModule,\n AXValidationModule,\n];\n\n@Component({\n templateUrl: './password.component.html',\n imports: [...MODULES],\n standalone: true,\n})\nexport class AXPLoginPasswordComponent implements OnInit {\n protected configs: AXMAuthConfigs = inject<AXMAuthConfigs>(AXM_AUTH_CONFIG_TOKEN);\n protected l1!: string;\n protected l2!: string;\n\n protected v1 = '';\n protected v2: string | null = '';\n\n protected isLoading$: BehaviorSubject<boolean> = new BehaviorSubject(false);\n\n protected submitText = 'signin.submit';\n private dialogService = inject(AXDialogService);\n private sessionService = inject(AXPSessionService);\n\n @ViewChild(AXFormComponent)\n private form!: AXFormComponent;\n\n private router = inject(Router);\n\n ngOnInit(): void {\n this.l2 = 'password';\n switch (this.configs.type) {\n case AXMAuthenticationTypes.EmailPassword:\n this.l1 = 'email';\n break;\n case AXMAuthenticationTypes.MobilePassword:\n this.l1 = 'mobile';\n break;\n case AXMAuthenticationTypes.UsernameEmailPassword:\n this.l1 = 'username-email';\n break;\n case AXMAuthenticationTypes.UsernamePassword:\n default:\n this.l1 = 'username';\n }\n }\n\n protected handleForgotOnClick() {\n this.router.navigate(['/auth/forgot']);\n }\n\n protected handleLoginClick() {\n this.form.validate().then(async (form) => {\n if (form.result) {\n this.isLoading$.next(true);\n this.submitText = 'processing';\n this.submitText = 'redirecting';\n try {\n await this.sessionService.signin({ strategy: 'user-pass', username: this.v1, password: this.v2! });\n await this.sessionService.signInComplete();\n if (this.sessionService.tenant?.id == null) {\n this.router.navigate(['/auth/account/tenant-chooser']);\n } else if (this.sessionService.application?.id == null) {\n this.router.navigate(['/auth/account/app-chooser']);\n } else {\n this.router.navigate([`/${this.sessionService.application.name}/home`]);\n }\n //\n } catch (error: any) {\n console.log({ error });\n // this.dialogService.alert('Something went wrong!', `${error.message} `, 'warning');\n this.submitText = 'signin.submit';\n this.v2 = null;\n this.isLoading$.next(false);\n }\n }\n });\n }\n}\n","<ng-container *translate=\"let t\">\n <div class=\"ax-text-center ax-mb-4\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">\n {{ t('signin.title', { scope: 'auth' }) | async }}\n </h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('signin.hint', { scope: 'auth' }) | async }}\n </p>\n </div>\n <div class=\"ax-w-80 lg:ax-w-96\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-6\">\n <ax-form-field>\n <ax-label>{{ t(l1, { scope: 'auth' }) | async }}</ax-label>\n <ax-text-box [(value)]=\"v1\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ t(l2, { scope: 'auth' }) | async }}</ax-label>\n <ax-password-box [(value)]=\"v2\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-password-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <ax-check-box>\n <ax-label class=\"ax-mb-0\">{{ t('signin.remember', { scope: 'auth' }) | async }}</ax-label>\n </ax-check-box>\n <ax-button\n color=\"primary\"\n class=\"ax-sm\"\n [text]=\"t('forgot.password', { scope: 'auth' }) | async\"\n look=\"blank\"\n (onClick)=\"handleForgotOnClick()\"\n >\n </ax-button>\n </div>\n </div>\n <ax-button\n color=\"primary\"\n class=\"ax-mt-6 ax-w-full\"\n [text]=\"t(submitText, { scope: 'auth' }) | async\"\n (onClick)=\"handleLoginClick()\"\n [disabled]=\"isLoading$ | async\"\n [type]=\"'submit'\"\n >\n <ax-loading *ngIf=\"isLoading$ | async\"></ax-loading>\n </ax-button>\n <div class=\"ax-heading ax-heading-center !ax-my-8\">\n <span>{{ t('signin.or', { scope: 'auth' }) | async }}</span>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 lg:ax-flex-row ax-justify-between ax-mt-6\">\n <ax-button text=\"{{ 'authentication.with-google' | translate | async }}\" color=\"ghost\">\n <ax-prefix>\n <ax-icon>\n <i class=\"fa-brands fa-google fa-lg ax-text-danger-500\"></i>\n </ax-icon>\n </ax-prefix>\n </ax-button>\n <ax-button text=\"{{ 'authentication.with-apple' | translate | async }}\" color=\"ghost\">\n <ax-prefix>\n <ax-icon>\n <i class=\"fa-brands fa-apple fa-xl\"></i>\n </ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n </ax-form>\n </div>\n</ng-container>\n"],"names":["i5","i7","i10"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,aAAa;IACb,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,mBAAmB;IACnB,eAAe;IACf,YAAY;IACZ,kBAAkB;CACnB;MAOY,yBAAyB,C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eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACZ,kBAAkB,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAQP,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAC,GAAG,OAAO,CAAC,EAAA,UAAA,EACT,IAAI,EAAA,QAAA,EAAA,spFAAA,EAAA;8BAiBR,IAAI,EAAA,CAAA;sBADX,SAAS;uBAAC,eAAe;;;;;"}
@@ -1,83 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Component, ViewEncapsulation } from '@angular/core';
3
- import * as i3 from '@acorex/components/avatar';
4
- import { AXAvatarModule } from '@acorex/components/avatar';
5
- import * as i2 from '@acorex/components/button';
6
- import { AXButtonModule } from '@acorex/components/button';
7
- import { AXCheckBoxModule } from '@acorex/components/check-box';
8
- import * as i2$2 from '@acorex/components/decorators';
9
- import { AXDecoratorModule } from '@acorex/components/decorators';
10
- import { AXFormModule } from '@acorex/components/form';
11
- import * as i2$1 from '@acorex/components/image';
12
- import { AXImageModule } from '@acorex/components/image';
13
- import { AXLabelModule } from '@acorex/components/label';
14
- import * as i3$1 from '@acorex/components/loading';
15
- import { AXLoadingModule } from '@acorex/components/loading';
16
- import { AXTextBoxModule } from '@acorex/components/text-box';
17
- import * as i9 from '@acorex/core/translation';
18
- import { AXTranslationModule } from '@acorex/core/translation';
19
- import { AXPSessionService } from '@acorex/platform/auth';
20
- import { AXP_PLATFORM_CONFIG_TOKEN, AXPLogoComponent } from '@acorex/platform/common';
21
- import * as i1 from '@angular/common';
22
- import { CommonModule } from '@angular/common';
23
- import { Router } from '@angular/router';
24
- import { Subscription, first } from 'rxjs';
25
-
26
- class AXPAuthTenantChooserComponent {
27
- constructor() {
28
- this.router = inject(Router);
29
- this.platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);
30
- this.sessionService = inject(AXPSessionService);
31
- this.subscription = new Subscription();
32
- this.user = this.sessionService.user;
33
- this.showAll = false;
34
- this.selectedTenant = null;
35
- this.displayedTenants = [];
36
- }
37
- async handleChooseTenant(item) {
38
- this.selectedTenant = item;
39
- await this.sessionService.setTenant(item);
40
- this.router.navigate(['/auth/account/app-chooser']);
41
- }
42
- ngOnInit() {
43
- this.sessionService.tenants$
44
- .pipe(first())
45
- .subscribe((tenants) => {
46
- this.displayedTenants = tenants.slice(0, 4);
47
- this.allTenants = tenants;
48
- });
49
- }
50
- showAllTenants() {
51
- this.showAll = !this.showAll;
52
- this.displayedTenants = this.showAll ? this.allTenants : this.allTenants.slice(0, 4);
53
- }
54
- async handleSignout() {
55
- await this.sessionService.signout();
56
- this.router.navigate(['/auth/login']);
57
- }
58
- ngOnDestroy() {
59
- this.subscription.unsubscribe();
60
- }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPAuthTenantChooserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
62
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPAuthTenantChooserComponent, isStandalone: true, selector: "axp-auth-tenant-chooser", ngImport: i0, template: "<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('tenant-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n @for(tenant of displayedTenants; track $index){\n <div\n class=\"ax-flex ax-gap-2 ax-justify-between ax-border-b last:ax-border-b-0 ax-py-3 ax-items-center ax-cursor-pointer\"\n (click)=\"handleChooseTenant(tenant)\">\n <div class=\"ax-flex ax-gap-2 ax-items-center ax-font-medium\">\n <div\n class=\"ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-bg-neutral-100 ax-m-auto\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500 ax-text-lg\"> </ax-icon>\n </div>\n <span class=\"md:ax-text-base ax-text-sm\">{{ tenant.title }}</span>\n </div>\n @if(tenant.name===selectedTenant?.name){\n <ax-loading></ax-loading>\n }@else {\n <ax-icon class=\"fa-solid fa-chevron-right ax-text-neutral-400\"> </ax-icon>\n }\n </div>\n }\n </div>\n @if(allTenants && allTenants.length>4){\n <div class=\"ax-mt-6 ax-w-full ax-flex ax-justify-center\">\n <ax-button (onClick)=\"showAllTenants()\" class=\"ax-w-full\" look=\"outline\"\n [text]=\"showAll ? (t('viewLess') | async) : (t('viewAll') | async)\"></ax-button>\n </div>\n }\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('tenant-chooser.footer', { scope: 'auth' }) | async }}\n <a (click)=\"handleSignout()\" class=\"ax-text-primary ax-cursor-pointer hover:ax-underline ax-font-medium\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n </p>\n </section>\n</main>\n", styles: [":host{display:contents}.gradient{background:-webkit-linear-gradient(var(--ax-current-v1),var(--ax-current-v2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXAvatarModule }, { kind: "component", type: i3.AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "look"], outputs: ["sizeChange"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$1.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["source"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i9.AXTranslatorDirective, selector: "[translate]" }], encapsulation: i0.ViewEncapsulation.None }); }
63
- }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPAuthTenantChooserComponent, decorators: [{
65
- type: Component,
66
- args: [{ selector: 'axp-auth-tenant-chooser', imports: [
67
- CommonModule,
68
- AXFormModule,
69
- AXTextBoxModule,
70
- AXButtonModule,
71
- AXLabelModule,
72
- AXCheckBoxModule,
73
- AXAvatarModule,
74
- AXImageModule,
75
- AXDecoratorModule,
76
- AXPLogoComponent,
77
- AXLoadingModule,
78
- AXTranslationModule,
79
- ], encapsulation: ViewEncapsulation.None, standalone: true, template: "<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('tenant-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n @for(tenant of displayedTenants; track $index){\n <div\n class=\"ax-flex ax-gap-2 ax-justify-between ax-border-b last:ax-border-b-0 ax-py-3 ax-items-center ax-cursor-pointer\"\n (click)=\"handleChooseTenant(tenant)\">\n <div class=\"ax-flex ax-gap-2 ax-items-center ax-font-medium\">\n <div\n class=\"ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-bg-neutral-100 ax-m-auto\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500 ax-text-lg\"> </ax-icon>\n </div>\n <span class=\"md:ax-text-base ax-text-sm\">{{ tenant.title }}</span>\n </div>\n @if(tenant.name===selectedTenant?.name){\n <ax-loading></ax-loading>\n }@else {\n <ax-icon class=\"fa-solid fa-chevron-right ax-text-neutral-400\"> </ax-icon>\n }\n </div>\n }\n </div>\n @if(allTenants && allTenants.length>4){\n <div class=\"ax-mt-6 ax-w-full ax-flex ax-justify-center\">\n <ax-button (onClick)=\"showAllTenants()\" class=\"ax-w-full\" look=\"outline\"\n [text]=\"showAll ? (t('viewLess') | async) : (t('viewAll') | async)\"></ax-button>\n </div>\n }\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('tenant-chooser.footer', { scope: 'auth' }) | async }}\n <a (click)=\"handleSignout()\" class=\"ax-text-primary ax-cursor-pointer hover:ax-underline ax-font-medium\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n </p>\n </section>\n</main>\n", styles: [":host{display:contents}.gradient{background:-webkit-linear-gradient(var(--ax-current-v1),var(--ax-current-v2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}\n"] }]
80
- }] });
81
-
82
- export { AXPAuthTenantChooserComponent };
83
- //# sourceMappingURL=acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs","sources":["../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser.component.ts","../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser.component.html"],"sourcesContent":["import { Component, OnDestroy, OnInit, ViewEncapsulation, inject } from '@angular/core';\n\nimport { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService, AXPTenant } from '@acorex/platform/auth';\nimport { AXPLogoComponent, AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { Subscription, first } from 'rxjs';\n\n@Component({\n selector: 'axp-auth-tenant-chooser',\n templateUrl: './tenant-chooser.component.html',\n styleUrls: ['./tenant-chooser.component.scss'],\n imports: [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXAvatarModule,\n AXImageModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXLoadingModule,\n AXTranslationModule,\n ],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class AXPAuthTenantChooserComponent implements OnInit, OnDestroy {\n private router = inject(Router);\n protected platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);\n private sessionService = inject(AXPSessionService);\n\n private subscription = new Subscription();\n\n protected user = this.sessionService.user;\n\n protected showAll = false;\n protected selectedTenant: AXPTenant | null = null;\n protected displayedTenants: AXPTenant[] = [];\n protected allTenants!: AXPTenant[];\n\n protected async handleChooseTenant(item: AXPTenant) {\n this.selectedTenant = item;\n await this.sessionService.setTenant(item);\n this.router.navigate(['/auth/account/app-chooser']);\n }\n\n ngOnInit(): void {\n this.sessionService.tenants$\n .pipe(first())\n .subscribe((tenants) => {\n this.displayedTenants = tenants.slice(0, 4);\n this.allTenants = tenants;\n });\n }\n\n showAllTenants() {\n this.showAll = !this.showAll;\n this.displayedTenants = this.showAll ? this.allTenants : this.allTenants.slice(0, 4);\n }\n\n async handleSignout() {\n await this.sessionService.signout();\n this.router.navigate(['/auth/login']);\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n}\n","<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('tenant-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n @for(tenant of displayedTenants; track $index){\n <div\n class=\"ax-flex ax-gap-2 ax-justify-between ax-border-b last:ax-border-b-0 ax-py-3 ax-items-center ax-cursor-pointer\"\n (click)=\"handleChooseTenant(tenant)\">\n <div class=\"ax-flex ax-gap-2 ax-items-center ax-font-medium\">\n <div\n class=\"ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-bg-neutral-100 ax-m-auto\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500 ax-text-lg\"> </ax-icon>\n </div>\n <span class=\"md:ax-text-base ax-text-sm\">{{ tenant.title }}</span>\n </div>\n @if(tenant.name===selectedTenant?.name){\n <ax-loading></ax-loading>\n }@else {\n <ax-icon class=\"fa-solid fa-chevron-right ax-text-neutral-400\"> </ax-icon>\n }\n </div>\n }\n </div>\n @if(allTenants && allTenants.length>4){\n <div class=\"ax-mt-6 ax-w-full ax-flex ax-justify-center\">\n <ax-button (onClick)=\"showAllTenants()\" class=\"ax-w-full\" look=\"outline\"\n [text]=\"showAll ? (t('viewLess') | async) : (t('viewAll') | async)\"></ax-button>\n </div>\n }\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('tenant-chooser.footer', { scope: 'auth' }) | async }}\n <a (click)=\"handleSignout()\" class=\"ax-text-primary ax-cursor-pointer hover:ax-underline ax-font-medium\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n </p>\n </section>\n</main>\n"],"names":["i4","i5","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAuCa,6BAA6B,CAAA;AArB1C,IAAA,WAAA,GAAA;AAsBU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,yBAAyB,CAAC;AACpD,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE1C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAE;AAE/B,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI;QAE/B,IAAO,CAAA,OAAA,GAAG,KAAK;QACf,IAAc,CAAA,cAAA,GAAqB,IAAI;QACvC,IAAgB,CAAA,gBAAA,GAAgB,EAAE;AA+B7C;IA5BW,MAAM,kBAAkB,CAAC,IAAe,EAAA;AAChD,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI;QAC1B,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC;QACzC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,C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acorex/components/decorators';
3
- import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
4
- import { AXPLayoutDesignerComponent } from '@acorex/platform/layout/designer';
5
- import { AXPWidgetsModule } from '@acorex/platform/widgets';
6
- import { CommonModule } from '@angular/common';
7
- import * as i0 from '@angular/core';
8
- import { Component } from '@angular/core';
9
-
10
- class AXMFormsDesignerPage {
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMFormsDesignerPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXMFormsDesignerPage, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<axp-layout-designer> </axp-layout-designer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXPWidgetsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: AXPLayoutDesignerComponent, selector: "axp-layout-designer" }] }); }
13
- }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMFormsDesignerPage, decorators: [{
15
- type: Component,
16
- args: [{ standalone: true, imports: [
17
- CommonModule,
18
- AXDecoratorModule,
19
- AXPWidgetsModule,
20
- AXPLayoutBuilderModule,
21
- AXButtonModule,
22
- AXPLayoutDesignerComponent,
23
- ], template: "<axp-layout-designer> </axp-layout-designer>\n" }]
24
- }] });
25
-
26
- export { AXMFormsDesignerPage };
27
- //# sourceMappingURL=acorex-modules-form-management-designer.page-SoPH2V7i.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-form-management-designer.page-SoPH2V7i.mjs","sources":["../../../../libs/modules/form-management/src/lib/designer/designer.page.ts","../../../../libs/modules/form-management/src/lib/designer/designer.page.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPLayoutDesignerComponent } from '@acorex/platform/layout/designer';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { CommonModule } from '@angular/common';\nimport { Component } from '@angular/core';\n\n@Component({\n templateUrl: 'designer.page.html',\n standalone: true,\n imports: [\n CommonModule,\n AXDecoratorModule,\n AXPWidgetsModule,\n AXPLayoutBuilderModule,\n AXButtonModule,\n AXPLayoutDesignerComponent,\n ],\n})\nexport class AXMFormsDesignerPage {\n\n}\n","<axp-layout-designer> </axp-layout-designer>\n"],"names":[],"mappings":";;;;;;;;;MAoBa,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,ECpBjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,gDACA,EDWI,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,EACZ,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,EACjB,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,gBAAgB,EAChB,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,sBAAsB,EACtB,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,+BACd,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAGjB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,SAAS;AAEI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,gBAAgB;wBAChB,sBAAsB;wBACtB,cAAc;wBACd,0BAA0B;AAC3B,qBAAA,EAAA,QAAA,EAAA,gDAAA,EAAA;;;;;"}
@@ -1,93 +0,0 @@
1
- import { AXP_MENU_PROVIDER } from '@acorex/platform/common';
2
- import { AXPWidgetsModule } from '@acorex/platform/widgets';
3
- import * as i0 from '@angular/core';
4
- import { inject, NgModule } from '@angular/core';
5
- import * as i1 from '@angular/router';
6
- import { RouterModule } from '@angular/router';
7
- import { AXTranslationService } from '@acorex/core/translation';
8
-
9
- class AXMFormManagmentModuleMenuProvider {
10
- constructor() {
11
- this.translateService = inject(AXTranslationService);
12
- }
13
- async items() {
14
- const scope = "platform"; // The scope used to fetch translations from platform.json or platform.fa.json
15
- return [
16
- {
17
- items: [
18
- {
19
- priority: 9001,
20
- text: await this.translateService.translateAsync('formsManagement', { scope }),
21
- icon: 'fa-solid fa-file-invoice',
22
- children: [
23
- {
24
- text: await this.translateService.translateAsync('templates', { scope }),
25
- },
26
- {
27
- text: await this.translateService.translateAsync('widgets', { scope }),
28
- },
29
- {
30
- text: await this.translateService.translateAsync('designer', { scope }),
31
- path: '/forms/designer',
32
- priority: 100,
33
- },
34
- ],
35
- },
36
- ],
37
- },
38
- ];
39
- }
40
- }
41
-
42
- const routes = [
43
- {
44
- path: 'forms',
45
- children: [
46
- {
47
- path: 'designer',
48
- loadComponent: () => import('./acorex-modules-form-management-designer.page-SoPH2V7i.mjs').then((c) => c.AXMFormsDesignerPage),
49
- },
50
- {
51
- path: 'preview',
52
- loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),
53
- },
54
- {
55
- path: 'viewer',
56
- loadComponent: () => import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),
57
- },
58
- ],
59
- },
60
- ];
61
- class AXMFormManagementModule {
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMFormManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMFormManagementModule, imports: [i1.RouterModule, AXPWidgetsModule] }); }
64
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMFormManagementModule, providers: [
65
- {
66
- provide: AXP_MENU_PROVIDER,
67
- useClass: AXMFormManagmentModuleMenuProvider,
68
- multi: true
69
- }
70
- ], imports: [RouterModule.forChild(routes), AXPWidgetsModule] }); }
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMFormManagementModule, decorators: [{
73
- type: NgModule,
74
- args: [{
75
- imports: [RouterModule.forChild(routes), AXPWidgetsModule],
76
- exports: [],
77
- declarations: [],
78
- providers: [
79
- {
80
- provide: AXP_MENU_PROVIDER,
81
- useClass: AXMFormManagmentModuleMenuProvider,
82
- multi: true
83
- }
84
- ]
85
- }]
86
- }] });
87
-
88
- /**
89
- * Generated bundle index. Do not edit.
90
- */
91
-
92
- export { AXMFormManagementModule };
93
- //# sourceMappingURL=acorex-modules-form-management.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-form-management.mjs","sources":["../../../../libs/modules/form-management/src/lib/menu.provider.ts","../../../../libs/modules/form-management/src/lib/form-management.module.ts","../../../../libs/modules/form-management/src/acorex-modules-form-management.ts"],"sourcesContent":["import { AXTranslationService } from \"@acorex/core/translation\";\nimport { AXPMenuInsertion, AXPMenuProvider } from \"@acorex/platform/common\";\nimport { inject } from \"@angular/core\";\n\nexport class AXMFormManagmentModuleMenuProvider implements AXPMenuProvider {\n\n private translateService = inject(AXTranslationService);\n\n async items(): Promise<AXPMenuInsertion[]> {\n const scope = \"platform\"; // The scope used to fetch translations from platform.json or platform.fa.json\n return [\n {\n items: [\n {\n priority: 9001,\n text: await this.translateService.translateAsync('formsManagement', { scope }),\n icon: 'fa-solid fa-file-invoice',\n children: [\n {\n text: await this.translateService.translateAsync('templates', { scope }),\n },\n {\n text: await this.translateService.translateAsync('widgets', { scope }),\n },\n {\n text: await this.translateService.translateAsync('designer', { scope }),\n path: '/forms/designer',\n priority: 100,\n },\n ],\n },\n ],\n },\n ] as AXPMenuInsertion[];\n }\n}\n","import { AXP_MENU_PROVIDER } from '@acorex/platform/common';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { AXMFormManagmentModuleMenuProvider } from './menu.provider';\n\nconst routes: Routes = [\n {\n path: 'forms',\n children: [\n {\n path: 'designer',\n loadComponent: () => import('./designer/designer.page').then((c) => c.AXMFormsDesignerPage),\n },\n {\n path: 'preview',\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),\n },\n {\n path: 'viewer',\n\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),\n },\n ],\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes), AXPWidgetsModule],\n exports: [],\n declarations: [],\n providers: [\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMFormManagmentModuleMenuProvider,\n multi: true\n }\n ]\n})\nexport class AXMFormManagementModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAIa,kCAAkC,CAAA;AAA/C,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;AAEvD,IAAA,MAAM,KAAK,GAAA;AACT,QAAA,MAAM,KAAK,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AAA,QAAQ,EAAE,kCAAkC;AAC5C,4BAAA,KAAK,EAAE;AACR;AACF;AACF,iBAAA;;;ACxCD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-modules-template-management.mjs","sources":["../../../../libs/modules/template-management/src/lib/entity.loader.ts","../../../../libs/modules/template-management/src/lib/text-management.source.ts","../../../../libs/modules/template-management/src/lib/template.service.ts","../../../../libs/modules/template-management/src/lib/text-template-category.service.ts","../../../../libs/modules/template-management/src/lib/menu.provider.ts","../../../../libs/modules/template-management/src/lib/template-management.module.ts","../../../../libs/modules/template-management/src/lib/entities/category.entity.ts","../../../../libs/modules/template-management/src/lib/entities/text-template.entity.ts","../../../../libs/modules/template-management/src/lib/entities/template-variable.entity.ts","../../../../libs/modules/template-management/src/acorex-modules-template-management.ts"],"sourcesContent":["import { AXPEntity } from '@acorex/platform/common';\nimport { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';\nimport { Injectable, Injector, inject } from '@angular/core';\n\n@Injectable()\nexport class AXMTemplateModuleEntityLoader implements AXPEntityDefinitionLoader {\n private injector = inject(Injector);\n\n async get(moduleName: string, entityName: string): Promise<AXPEntity | null> {\n return new Promise(async (resolve) => {\n switch (entityName) {\n case 'template': {\n const entity = (await import('./entities/text-template.entity')).templateEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n case 'variable': {\n const entity = (await import('./entities/template-variable.entity')).textTemplateVariableEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n case 'category': {\n const entity = (await import('./entities/category.entity')).textTemplateCategoryEntityFactory;\n resolve(entity(this.injector));\n break;\n }\n default:\n resolve(null);\n }\n });\n }\n}\n","export const TEMPLATE_SOURCE_NAME = 'template-management.template';\nexport const CATEGORY_SOURCE_NAME = 'template-management.category';\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';\nimport { Injectable } from '@angular/core';\nimport { AXMTextTemplateCategoryEntityModel, AXMTextTemplateEntityModel } from './template-management.types';\nimport { TEMPLATE_SOURCE_NAME } from './text-management.source';\n\nexport abstract class AXMTextTemplateService extends AXMEntityCrudServiceImpl<string, AXMTextTemplateEntityModel> {\n}\n\n@Injectable()\nexport class AXMTextTemplateServiceImpl extends AXMEntityCrudServiceImpl<string, AXMTextTemplateEntityModel> {\n constructor() {\n super(TEMPLATE_SOURCE_NAME);\n }\n}\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/common';\nimport { Injectable } from '@angular/core';\nimport { AXMTextTemplateCategoryEntityModel } from './template-management.types';\nimport { CATEGORY_SOURCE_NAME } from './text-management.source';\n\nexport abstract class AXMTextTemplateCategoryService extends AXMEntityCrudServiceImpl<\n string,\n AXMTextTemplateCategoryEntityModel\n> {}\n\n@Injectable()\nexport class AXMTextTemplateCategoryServiceImpl extends AXMEntityCrudServiceImpl<\n string,\n AXMTextTemplateCategoryEntityModel\n> {\n constructor() {\n super(CATEGORY_SOURCE_NAME);\n }\n}\n","import { AXTranslationService } from '@acorex/core/translation';\nimport { AXPMenuInsertion, AXPMenuProvider } from '@acorex/platform/common';\nimport { inject } from '@angular/core';\n\nexport class AXMTextTemplateManagmentModuleMenuProvider implements AXPMenuProvider {\n private translateService = inject(AXTranslationService);\n\n async items(): Promise<AXPMenuInsertion[]> {\n const scope = 'platform'; // Scope used for translation lookup\n return [\n {\n items: [\n {\n priority: 9001,\n text: await this.translateService.translateAsync('textTemplateManagement', { scope }),\n icon: 'fa-solid fa-code',\n data: {\n // requiredPermission: 'demo.admin.settings',\n },\n children: [\n {\n text: await this.translateService.translateAsync('template', { scope }),\n path: '/demo/m/template-management/e/template/list',\n icon: 'fa-solid fa-file-code',\n data: {\n // requiredPermission: '',\n },\n },\n {\n text: await this.translateService.translateAsync('category', { scope }),\n path: '/demo/m/template-management/e/category/list',\n icon: 'fa-solid fa-layer-group',\n data: {\n // requiredPermission: '',\n },\n },\n ],\n },\n ],\n },\n ] as AXPMenuInsertion[];\n }\n}\n","import { AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';\nimport { NgModule } from '@angular/core';\nimport { AXMTemplateModuleEntityLoader } from './entity.loader';\nimport { AXMTextTemplateService, AXMTextTemplateServiceImpl } from './template.service';\nimport { AXMTextTemplateCategoryService, AXMTextTemplateCategoryServiceImpl } from './text-template-category.service';\nimport { AXP_MENU_PROVIDER } from '@acorex/platform/common';\nimport { AXMTextTemplateManagmentModuleMenuProvider } from './menu.provider';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n providers: [\n {\n provide: AXP_ENTITY_DEFINITION_LOADER,\n useClass: AXMTemplateModuleEntityLoader,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMTextTemplateManagmentModuleMenuProvider,\n multi: true\n },\n {\n provide: AXMTextTemplateService,\n useClass: AXMTextTemplateServiceImpl,\n },\n {\n provide: AXMTextTemplateCategoryService,\n useClass: AXMTextTemplateCategoryServiceImpl,\n },\n ],\n})\nexport class AXMTemplateManagementModule {\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateCategoryService } from '../text-template-category.service';\n\nexport async function textTemplateCategoryEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateCategoryService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'textTemplateCategory',\n source: 'template-management.textTemplateCategory',\n title: 'Category',\n formats: {\n individual: 'Category',\n plural: 'Categories',\n },\n relatedEntities: [],\n groups: [\n {\n id: 'category',\n title: 'Category',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'category',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'category',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'category',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'category',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'category',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateService } from '../template.service';\n\nexport async function templateEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'template',\n source: 'templateManagement.template',\n title: 'Templates',\n formats: {\n individual: 'Template',\n plural: 'Templates',\n },\n relatedEntities: [\n {\n entity: 'template-management.variable',\n columns: ['name', 'title', 'type', 'requirement'],\n conditions: [\n {\n name: 'globalTemplateId',\n operator: {\n type: 'equal',\n },\n value: 'id',\n },\n ],\n },\n ],\n groups: [\n {\n id: 'template',\n title: 'Template',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'content',\n title: 'Content',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.richText,\n },\n },\n },\n {\n name: 'category.id',\n title: 'Category',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'template-management.category',\n expose: 'category',\n },\n },\n },\n },\n {\n name: 'category.title',\n title: 'Category Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n dataSource: [\n { title: 'Layout', name: 'layout' },\n { title: 'Template', name: 'template' },\n ],\n direction: 'horizontal',\n multiple: false,\n },\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'category.title' }, { name: 'type' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'category.id',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'category.id',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'template',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { AXMTextTemplateService } from '../template.service';\n\nexport async function textTemplateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMTextTemplateService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'textTemplateVariable',\n source: 'template-management.variable',\n title: 'Template Variables',\n formats: {\n individual: 'TemplateVariable',\n plural: 'TemplateVariables'\n },\n relatedEntities: [],\n groups: [\n {\n id: 'templateVariable',\n title: 'TemplateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text\n }\n }\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text\n }\n }\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select\n }\n }\n },\n {\n name: 'required',\n title: 'required',\n groupId: 'templateVariable',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle\n }\n }\n }\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'required' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const item = await dataService.getOne(data.globalTemplateId);\n (item.templateVariables ??= []).push(data);\n return await dataService.updateOne(data.globalTemplateId, item);\n }\n },\n delete: {\n execute: async (id: any) => {\n // await await dataService.templateVariableDataProvider.deleteOne(id);\n return Promise.resolve();\n }\n },\n update: {\n execute: async (data: any) => {\n console.log(data);\n return new Promise((resolve) => {\n setTimeout(async () => {\n // await dataService.templateVariableDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n }\n }\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.getOne(id);\n // resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single\n },\n list: {\n execute: async (e: any) => {\n if (e.filter != null && e.filter.filters != null && e.filter.filters[0].value != null) {\n const parentItem = await dataService.getOne(<string>e.filter?.filters[0].value);\n return {\n totalCount: parentItem.templateVariables.length,\n items: parentItem.templateVariables\n };\n } else {\n //TODO throw exception\n return [];\n }\n },\n type: AXPEntityQueryType.List\n }\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'templateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'required',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n }\n ]\n },\n update: {\n sections: [\n {\n id: 'templateVariable'\n },\n {\n id: 'schema'\n },\n {\n id: 'interface'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n\n {\n name: 'schema.nullable',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'required',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n }\n ]\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'templateVariable'\n }\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6\n }\n }\n }\n },\n {\n name: 'required',\n layout: {\n positions: {\n lg: {\n colSpan: 12\n }\n }\n }\n }\n ],\n actions: []\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected\n },\n // {\n // title: 'Update',\n // command: 'update-entity',\n // priority: 'primary',\n // type: 'view',\n // scope: AXPEntityCommandScope.Individual\n // },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual\n }\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: []\n }\n ]\n }\n }\n }\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAKa,6BAA6B,CAAA;AAD1C,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAyBpC;AAvBC,IAAA,MAAM,GAAG,CAAC,UAAkB,EAAE,UAAkB,EAAA;AAC9C,QAAA,OAAO,IAAI,OAAO,CAAC,OAAO,OAAO,KAAI;YACnC,QAAQ,UAAU;gBAChB,KAAK,UAAU,EAAE;oBACf,MAAM,MAAM,GAAG,CAAC,MAAM,mEAAyC,EAAE,qBAAqB;oBACtF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC9B;;gBAEF,KAAK,UAAU,EAAE;oBACf,MAAM,MAAM,GAAG,CAAC,MAAM,uEAA6C,EAAE,iCAAiC;oBACtG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC9B;;gBAEF,KAAK,UAAU,EAAE;oBACf,MAAM,MAAM,GAAG,CAAC,MAAM,+DAAoC,EAAE,iCAAiC;oBAC7F,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC9B;;AAEF,gBAAA;oBACE,OAAO,CAAC,IAAI,CAAC;;AAEnB,SAAC,CAAC;;8GAxBO,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,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F;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE;AACV,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE;AACP,wBAAA;AACE,4BAAA,KAAK,EAAE,YAAY;AACnB,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,cAAc;AACrB,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B,yBAAA;;;;;;;;AAQD,wBAAA;AACE,4BAAA,KAAK,EAAE,QAAQ;AACf,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC;AAC9B;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,WAAW;AAClB,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE;AACR;AACF;AACF;AACF;AACF;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;;;;ACtTA;;AAEG;;;;"}
@@ -1,4 +0,0 @@
1
- # @acorex/modules/form-management
2
-
3
- Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/form-management`.
4
-
@@ -1 +0,0 @@
1
- export * from './lib/form-management.module';