@acorex/modules 18.1.4 → 18.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/application-management/index.d.ts +2 -0
  2. package/application-management/lib/application-management.module.d.ts +0 -2
  3. package/application-management/lib/application-management.route.d.ts +2 -0
  4. package/application-management/lib/application-management.service.d.ts +18 -0
  5. package/application-management/lib/application-management.source.d.ts +7 -0
  6. package/application-management/lib/application-management.types.d.ts +50 -0
  7. package/application-management/lib/entity.loader.d.ts +9 -0
  8. package/application-management/lib/menu.provider.d.ts +4 -0
  9. package/auth/lib/auth.module.d.ts +4 -7
  10. package/auth/lib/menu.provider.d.ts +4 -0
  11. package/backend/lib/data/api/data-provider.d.ts +1 -0
  12. package/backend/lib/data/index.d.ts +0 -1
  13. package/backend/lib/data/local/local-data-provider.d.ts +1 -0
  14. package/esm2022/application-management/index.mjs +3 -1
  15. package/esm2022/application-management/lib/application-management.module.mjs +17 -47
  16. package/esm2022/application-management/lib/application-management.route.mjs +29 -0
  17. package/esm2022/application-management/lib/application-management.service.mjs +19 -3
  18. package/esm2022/application-management/lib/application-management.source.mjs +8 -0
  19. package/esm2022/application-management/lib/application-management.types.mjs +2 -0
  20. package/esm2022/application-management/lib/entities/property.entity.mjs +1 -2
  21. package/esm2022/application-management/lib/entity.loader.mjs +46 -0
  22. package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +3 -3
  23. package/esm2022/application-management/lib/menu.provider.mjs +24 -0
  24. package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +1 -1
  25. package/esm2022/auth/lib/account/app-chooser/app-chooser-slot.component.mjs +2 -2
  26. package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +7 -4
  27. package/esm2022/auth/lib/auth.module.mjs +20 -14
  28. package/esm2022/auth/lib/login/password/password.component.mjs +2 -2
  29. package/esm2022/auth/lib/menu.provider.mjs +45 -0
  30. package/esm2022/backend/lib/backend.module.mjs +22 -16
  31. package/esm2022/backend/lib/data/api/data-provider.mjs +9 -1
  32. package/esm2022/backend/lib/data/index.mjs +1 -2
  33. package/esm2022/backend/lib/data/local/local-data-provider.mjs +11 -1
  34. package/esm2022/form-management/lib/form-management.module.mjs +32 -8
  35. package/esm2022/form-management/lib/menu.provider.mjs +29 -0
  36. package/esm2022/notification-management/index.mjs +6 -1
  37. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +39 -0
  38. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.mjs +155 -0
  39. package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +36 -0
  40. package/esm2022/notification-management/lib/entities/my-notification.mjs +243 -0
  41. package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +18 -3
  42. package/esm2022/notification-management/lib/entities/notification-log.entity.mjs +180 -0
  43. package/esm2022/notification-management/lib/entities/notification.entity.mjs +207 -0
  44. package/esm2022/notification-management/lib/entity.loader.mjs +41 -0
  45. package/esm2022/notification-management/lib/menu.provider.mjs +51 -0
  46. package/esm2022/notification-management/lib/notification-management-mock-data.mjs +41 -6
  47. package/esm2022/notification-management/lib/notification-management.module.mjs +53 -36
  48. package/esm2022/notification-management/lib/notification-management.service.mjs +21 -12
  49. package/esm2022/notification-management/lib/notification-management.type.mjs +2 -0
  50. package/esm2022/notification-management/lib/notification.service.mjs +3 -0
  51. package/esm2022/platform-management/acorex-modules-platform-management.mjs +5 -0
  52. package/esm2022/platform-management/index.mjs +5 -0
  53. package/esm2022/platform-management/lib/comments/comment-management.service.mjs +18 -0
  54. package/esm2022/platform-management/lib/global-variables/entities/global-variable.entity.mjs +295 -0
  55. package/esm2022/platform-management/lib/global-variables/entity.loader.mjs +26 -0
  56. package/esm2022/platform-management/lib/global-variables/global-variables.service.mjs +16 -0
  57. package/esm2022/platform-management/lib/global-variables/global-variables.types.mjs +2 -0
  58. package/esm2022/platform-management/lib/global-variables/index.mjs +5 -0
  59. package/esm2022/platform-management/lib/languages/entities/language.entity.mjs +234 -0
  60. package/esm2022/platform-management/lib/languages/entity.loader.mjs +26 -0
  61. package/esm2022/platform-management/lib/languages/index.mjs +5 -0
  62. package/esm2022/platform-management/lib/languages/language-management.service.mjs +16 -0
  63. package/esm2022/platform-management/lib/languages/language.types.mjs +2 -0
  64. package/esm2022/platform-management/lib/menu.provider.mjs +46 -0
  65. package/esm2022/platform-management/lib/platform-management.module.mjs +82 -0
  66. package/esm2022/template-management/index.mjs +7 -3
  67. package/esm2022/template-management/lib/entities/category.entity.mjs +233 -0
  68. package/esm2022/template-management/lib/entities/index.mjs +4 -0
  69. package/esm2022/template-management/lib/entities/template-variable.entity.mjs +113 -110
  70. package/esm2022/template-management/lib/entities/text-template.entity.mjs +385 -0
  71. package/esm2022/template-management/lib/entity.loader.mjs +36 -0
  72. package/esm2022/template-management/lib/menu.provider.mjs +37 -0
  73. package/esm2022/template-management/lib/template-management.module.mjs +53 -37
  74. package/esm2022/template-management/lib/template-management.types.mjs +2 -0
  75. package/esm2022/template-management/lib/template.service.mjs +17 -0
  76. package/esm2022/template-management/lib/text-management.source.mjs +3 -0
  77. package/esm2022/template-management/lib/text-template-category.service.mjs +17 -0
  78. package/fesm2022/{acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs → acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs} +3 -3
  79. package/fesm2022/{acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs.map → acorex-modules-application-management-module-designer.component-BCaCCEXO.mjs.map} +1 -1
  80. package/fesm2022/acorex-modules-application-management.mjs +141 -51
  81. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  82. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs → acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs} +79 -25
  83. package/fesm2022/acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs.map +1 -0
  84. package/fesm2022/{acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs → acorex-modules-auth-app-chooser.component-4b6b3ttW.mjs} +2 -2
  85. package/fesm2022/{acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs.map → acorex-modules-auth-app-chooser.component-4b6b3ttW.mjs.map} +1 -1
  86. package/fesm2022/acorex-modules-auth-blank.layout-Bq822Iz4.mjs.map +1 -1
  87. package/fesm2022/{acorex-modules-auth-login.module-DMit4yw0.mjs → acorex-modules-auth-login.module-A7u1YYeo.mjs} +4 -4
  88. package/fesm2022/acorex-modules-auth-login.module-A7u1YYeo.mjs.map +1 -0
  89. package/fesm2022/{acorex-modules-auth-master.layout-BCYIjTB0.mjs → acorex-modules-auth-master.layout--UllrmW0.mjs} +2 -2
  90. package/fesm2022/{acorex-modules-auth-master.layout-BCYIjTB0.mjs.map → acorex-modules-auth-master.layout--UllrmW0.mjs.map} +1 -1
  91. package/fesm2022/{acorex-modules-auth-password.component-D16ms36y.mjs → acorex-modules-auth-password.component-BjqQ-qVo.mjs} +3 -3
  92. package/fesm2022/acorex-modules-auth-password.component-BjqQ-qVo.mjs.map +1 -0
  93. package/fesm2022/{acorex-modules-auth-password.component-WA-CA0Ln.mjs → acorex-modules-auth-password.component-Dv0VXzh_.mjs} +2 -2
  94. package/fesm2022/{acorex-modules-auth-password.component-WA-CA0Ln.mjs.map → acorex-modules-auth-password.component-Dv0VXzh_.mjs.map} +1 -1
  95. package/fesm2022/{acorex-modules-auth-routes-C3ye31RS.mjs → acorex-modules-auth-routes-C4eNPru3.mjs} +2 -2
  96. package/fesm2022/{acorex-modules-auth-routes-C3ye31RS.mjs.map → acorex-modules-auth-routes-C4eNPru3.mjs.map} +1 -1
  97. package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs.map +1 -1
  98. package/fesm2022/acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs.map +1 -1
  99. package/fesm2022/{acorex-modules-auth-two-factor.module-CkZCBo0B.mjs → acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs} +2 -2
  100. package/fesm2022/acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs.map +1 -0
  101. package/fesm2022/acorex-modules-auth.mjs +1 -1
  102. package/fesm2022/acorex-modules-backend.mjs +40 -155
  103. package/fesm2022/acorex-modules-backend.mjs.map +1 -1
  104. package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs.map +1 -1
  105. package/fesm2022/acorex-modules-form-management.mjs +57 -5
  106. package/fesm2022/acorex-modules-form-management.mjs.map +1 -1
  107. package/fesm2022/acorex-modules-notification-management.mjs +1102 -101
  108. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  109. package/fesm2022/acorex-modules-platform-management.mjs +752 -0
  110. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -0
  111. package/fesm2022/acorex-modules-template-management.mjs +600 -194
  112. package/fesm2022/acorex-modules-template-management.mjs.map +1 -1
  113. package/form-management/lib/form-management.module.d.ts +2 -1
  114. package/form-management/lib/menu.provider.d.ts +4 -0
  115. package/notification-management/index.d.ts +5 -0
  116. package/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.d.ts +10 -0
  117. package/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.d.ts +35 -0
  118. package/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.d.ts +7 -0
  119. package/{template-management/lib/entities/global-template.entity.d.ts → notification-management/lib/entities/my-notification.d.ts} +1 -1
  120. package/notification-management/lib/entities/notification-log.entity.d.ts +3 -0
  121. package/notification-management/lib/entities/notification.entity.d.ts +3 -0
  122. package/notification-management/lib/entity.loader.d.ts +9 -0
  123. package/notification-management/lib/menu.provider.d.ts +4 -0
  124. package/notification-management/lib/notification-management-mock-data.d.ts +33 -6
  125. package/notification-management/lib/notification-management.module.d.ts +5 -10
  126. package/notification-management/lib/notification-management.service.d.ts +8 -4
  127. package/notification-management/lib/notification-management.type.d.ts +42 -0
  128. package/notification-management/lib/notification.service.d.ts +6 -0
  129. package/package.json +6 -6
  130. package/platform-management/README.md +4 -0
  131. package/platform-management/index.d.ts +4 -0
  132. package/platform-management/lib/comments/comment-management.service.d.ts +10 -0
  133. package/platform-management/lib/global-variables/entities/global-variable.entity.d.ts +3 -0
  134. package/platform-management/lib/global-variables/entity.loader.d.ts +9 -0
  135. package/platform-management/lib/global-variables/global-variables.service.d.ts +10 -0
  136. package/platform-management/lib/global-variables/global-variables.types.d.ts +7 -0
  137. package/platform-management/lib/global-variables/index.d.ts +4 -0
  138. package/platform-management/lib/languages/entities/language.entity.d.ts +3 -0
  139. package/platform-management/lib/languages/entity.loader.d.ts +9 -0
  140. package/platform-management/lib/languages/index.d.ts +4 -0
  141. package/platform-management/lib/languages/language-management.service.d.ts +10 -0
  142. package/platform-management/lib/languages/language.types.d.ts +5 -0
  143. package/platform-management/lib/menu.provider.d.ts +4 -0
  144. package/platform-management/lib/platform-management.module.d.ts +6 -0
  145. package/template-management/index.d.ts +6 -2
  146. package/template-management/lib/entities/category.entity.d.ts +3 -0
  147. package/template-management/lib/entities/index.d.ts +3 -0
  148. package/template-management/lib/entities/template-variable.entity.d.ts +1 -1
  149. package/template-management/lib/entities/text-template.entity.d.ts +3 -0
  150. package/template-management/lib/entity.loader.d.ts +9 -0
  151. package/template-management/lib/menu.provider.d.ts +4 -0
  152. package/template-management/lib/template-management.module.d.ts +4 -10
  153. package/template-management/lib/template-management.types.d.ts +19 -0
  154. package/template-management/lib/template.service.d.ts +10 -0
  155. package/template-management/lib/text-management.source.d.ts +2 -0
  156. package/template-management/lib/text-template-category.service.d.ts +10 -0
  157. package/backend/lib/data/api/comment.mock.service.d.ts +0 -62
  158. package/esm2022/backend/lib/data/api/comment.mock.service.mjs +0 -142
  159. package/esm2022/notification/acorex-modules-notification.mjs +0 -5
  160. package/esm2022/notification/index.mjs +0 -4
  161. package/esm2022/notification/lib/notification.module.mjs +0 -16
  162. package/esm2022/template-management/lib/entities/global-template.entity.mjs +0 -298
  163. package/esm2022/template-management/lib/template-management-mock-data.mjs +0 -11
  164. package/esm2022/template-management/lib/template-management.service.mjs +0 -24
  165. package/fesm2022/acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs.map +0 -1
  166. package/fesm2022/acorex-modules-auth-login.module-DMit4yw0.mjs.map +0 -1
  167. package/fesm2022/acorex-modules-auth-password.component-D16ms36y.mjs.map +0 -1
  168. package/fesm2022/acorex-modules-auth-two-factor.module-CkZCBo0B.mjs.map +0 -1
  169. package/fesm2022/acorex-modules-notification.mjs +0 -26
  170. package/fesm2022/acorex-modules-notification.mjs.map +0 -1
  171. package/notification/README.md +0 -4
  172. package/notification/index.d.ts +0 -1
  173. package/notification/lib/notification.module.d.ts +0 -6
  174. package/template-management/lib/template-management-mock-data.d.ts +0 -7
  175. package/template-management/lib/template-management.service.d.ts +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-auth-password.component-WA-CA0Ln.mjs","sources":["../../../../libs/modules/auth/src/lib/forgot/password/password.component.ts","../../../../libs/modules/auth/src/lib/forgot/password/password.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\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, inject } from '@angular/core';\nimport { RouterModule } from '@angular/router';\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 AXCheckBoxModule,\n AXTranslationModule,\n RouterModule,\n];\n\n@Component({\n templateUrl: './password.component.html',\n imports: [...MODULES],\n standalone: true,\n})\nexport class AXPForgetPasswordComponent implements OnInit {\n protected l1!: string;\n protected l2!: string;\n\n protected configs: AXMAuthConfigs = inject<AXMAuthConfigs>(AXM_AUTH_CONFIG_TOKEN);\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\n break;\n case AXMAuthenticationTypes.UsernamePassword:\n default:\n this.l1 = 'username';\n }\n }\n}\n","<div class=\"ax-text-center ax-mb-4\" *translate=\"let t\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">{{ t('forgot.password',{scope:'auth'}) | async }}</h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('forgot.hint',{ scope:'auth', params:{ name:(t(l1,{scope:'auth'}) | async) } }) | async }}\n </p>\n</div>\n<div class=\"ax-w-80 lg:ax-w-96\" *translate=\"let t\">\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></ax-text-box>\n </ax-form-field>\n </div>\n <ax-button color=\"primary\" class=\"ax-mt-6 ax-w-full\" [text]=\"t('forgot.submit',{scope:'auth'}) | async\"></ax-button>\n <div class=\"ax-text-center ax-mt-6 ax-text-sm ax-font-normal\">\n <span> {{ t('forgot.remember',{scope:'auth'}) | async}} </span>\n <a [routerLink]=\"['/auth/login']\" class=\"ax-link ax-font-semibold\">{{ t('signin.title',{scope:'auth'}) |\n async }}</a>\n </div>\n </ax-form>\n</div>"],"names":["i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,mBAAmB;IACnB,YAAY;CACb,CAAC;MAOW,0BAA0B,CAA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ules-auth-password.component-Dv0VXzh_.mjs","sources":["../../../../libs/modules/auth/src/lib/forgot/password/password.component.ts","../../../../libs/modules/auth/src/lib/forgot/password/password.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\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, inject } from '@angular/core';\nimport { RouterModule } from '@angular/router';\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 AXCheckBoxModule,\n AXTranslationModule,\n RouterModule,\n];\n\n@Component({\n templateUrl: './password.component.html',\n imports: [...MODULES],\n standalone: true,\n})\nexport class AXPForgetPasswordComponent implements OnInit {\n protected l1!: string;\n protected l2!: string;\n\n protected configs: AXMAuthConfigs = inject<AXMAuthConfigs>(AXM_AUTH_CONFIG_TOKEN);\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\n break;\n case AXMAuthenticationTypes.UsernamePassword:\n default:\n this.l1 = 'username';\n }\n }\n}\n","<div class=\"ax-text-center ax-mb-4\" *translate=\"let t\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">{{ t('forgot.password',{scope:'auth'}) | async }}</h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('forgot.hint',{ scope:'auth', params:{ name:(t(l1,{scope:'auth'}) | async) } }) | async }}\n </p>\n</div>\n<div class=\"ax-w-80 lg:ax-w-96\" *translate=\"let t\">\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></ax-text-box>\n </ax-form-field>\n </div>\n <ax-button color=\"primary\" class=\"ax-mt-6 ax-w-full\" [text]=\"t('forgot.submit',{scope:'auth'}) | async\"></ax-button>\n <div class=\"ax-text-center ax-mt-6 ax-text-sm ax-font-normal\">\n <span> {{ t('forgot.remember',{scope:'auth'}) | async}} </span>\n <a [routerLink]=\"['/auth/login']\" class=\"ax-link ax-font-semibold\">{{ t('signin.title',{scope:'auth'}) |\n async }}</a>\n </div>\n </ax-form>\n</div>"],"names":["i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,mBAAmB;IACnB,YAAY;CACb;MAOY,0BAA0B,CAAA;AALvC,IAAA,WAAA,GAAA;AASY,QAAA,IAAA,CAAA,OAAO,GAAmB,MAAM,CAAiB,qBAAqB,CAAC;AAiBlF;IAfC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,EAAE,GAAG,UAAU;AACpB,QAAA,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI;YACvB,KAAK,sBAAsB,CAAC,aAAa;AACvC,gBAAA,IAAI,CAAC,EAAE,GAAG,OAAO;gBACjB;YACF,KAAK,sBAAsB,CAAC,cAAc;AACxC,gBAAA,IAAI,CAAC,EAAE,GAAG,QAAQ;gBAElB;YACF,KAAK,sBAAsB,CAAC,gBAAgB;AAC5C,YAAA;AACE,gBAAA,IAAI,CAAC,EAAE,GAAG,UAAU;;;8GAlBf,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,C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BAAgB,EAChB,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,8GACnB,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,aAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,MAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAQD,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAC,GAAG,OAAO,CAAC,EAAA,UAAA,EACT,IAAI,EAAA,QAAA,EAAA,8hCAAA,EAAA;;;;;"}
@@ -1,9 +1,9 @@
1
1
  var routes = [{
2
2
  path: 'forgot',
3
3
  loadComponent: () => {
4
- return import('./acorex-modules-auth-password.component-WA-CA0Ln.mjs').then((c) => c.AXPForgetPasswordComponent);
4
+ return import('./acorex-modules-auth-password.component-Dv0VXzh_.mjs').then((c) => c.AXPForgetPasswordComponent);
5
5
  },
6
6
  }];
7
7
 
8
8
  export { routes as default };
9
- //# sourceMappingURL=acorex-modules-auth-routes-C3ye31RS.mjs.map
9
+ //# sourceMappingURL=acorex-modules-auth-routes-C4eNPru3.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-auth-routes-C3ye31RS.mjs","sources":["../../../../libs/modules/auth/src/lib/forgot/routes.ts"],"sourcesContent":["import { Route } from '@angular/router';\n\nexport default [{\n path: 'forgot',\n loadComponent: () => {\n return import('./password/password.component').then(\n (c) => c.AXPForgetPasswordComponent\n );\n },\n}] as Route[];"],"names":[],"mappings":"AAEA,aAAe,CAAC;AACZ,QAAA,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,MAAK;AAChB,YAAA,OAAO,OAAO,uDAA+B,CAAC,CAAC,IAAI,CAC/C,CAAC,CAAC,KAAK,CAAC,CAAC,0BAA0B,CACtC,CAAC;SACL;AACJ,KAAA,CAAY;;;;"}
1
+ {"version":3,"file":"acorex-modules-auth-routes-C4eNPru3.mjs","sources":["../../../../libs/modules/auth/src/lib/forgot/routes.ts"],"sourcesContent":["import { Route } from '@angular/router';\n\nexport default [{\n path: 'forgot',\n loadComponent: () => {\n return import('./password/password.component').then(\n (c) => c.AXPForgetPasswordComponent\n );\n },\n}] as Route[];"],"names":[],"mappings":"AAEA,aAAe,CAAC;AACZ,QAAA,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,MAAK;AAChB,YAAA,OAAO,OAAO,uDAA+B,CAAC,CAAC,IAAI,CAC/C,CAAC,CAAC,KAAK,CAAC,CAAC,0BAA0B,CACtC;SACJ;AACJ,KAAA,CAAY;;;;"}
@@ -1 +1 @@
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,CAAC;AACtB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAC;AACrD,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAE3C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;AAEhC,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;QAEhC,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;QAChB,IAAc,CAAA,cAAA,GAAqB,IAAI,CAAC;QACxC,IAAgB,CAAA,gBAAA,GAAgB,EAAE,CAAC;AA+B9C,KAAA;IA5BW,MAAM,kBAAkB,CAAC,IAAe,EAAA;AAChD,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,2BAA2B,CAAC,CAAC,CAAC;KACrD;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,cAAc,CAAC,QAAQ;aACzB,IAAI,CAAC,KAAK,EAAE,CAAC;AACb,aAAA,SAAS,CAAC,CAAC,OAAO,KAAI;YACrB,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5C,YAAA,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC;AAC5B,SAAC,CAAC,CAAC;K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AA,EAAA,UAAA,EAAA,IAAA,EAChB,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,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAKV,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBArBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAG1B,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;AACpB,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,krFAAA,EAAA,MAAA,EAAA,CAAA,yMAAA,CAAA,EAAA,CAAA;;;;;"}
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,CAAC,2BAA2B,CAAC,CAAC;;IAGrD,QAAQ,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,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACjB,gBAAgB,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAChB,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,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAKV,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBArBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAG1B,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;AACpB,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,krFAAA,EAAA,MAAA,EAAA,CAAA,yMAAA,CAAA,EAAA;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs","sources":["../../../../libs/modules/auth/src/lib/two-factor/two-factor-code/two-factor-code.component.ts","../../../../libs/modules/auth/src/lib/two-factor/two-factor-code/two-factor-code.component.html"],"sourcesContent":["import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\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';\n\n\n@Component({\n selector: 'axp-auth-two-factor-code',\n templateUrl: './two-factor-code.component.html',\n imports: [\n CommonModule,\n AXFormModule,\n AXButtonModule,\n AXDecoratorModule,\n AXFormModule,\n AXTextBoxModule,\n AXLabelModule,\n AXPasswordBoxModule,\n AXTranslationModule,\n ],\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class AXPAuthTwoFactorCodeComponent implements OnInit, OnDestroy {\n ngOnInit(): void { }\n\n ngOnDestroy(): void { }\n}\n","<ng-container *translate=\"let t\">\n <div class=\"ax-text-center ax-mb-8\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">\n {{ t('auth.twofactor.title') | async }}\n </h1>\n <p class=\"ax-text-base ax-text-neutral-600 ax-mb-4\">\n {{ t('auth.twofactor.hint') | async }}\n </p>\n <p class=\"ax-text-base ax-font-medium\">**** *** 3320</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 class=\"ax-text-start\">{{ t('auth.twofactor.textBoxHint') | async }}</ax-label>\n <ax-password-box></ax-password-box>\n </ax-form-field>\n <ax-button class=\"ax-w-full\" [text]=\"t('common.submit') | async\" color=\"primary\"> </ax-button>\n </div>\n </ax-form>\n </div>\n</ng-container>"],"names":["i3","i4","i6"],"mappings":";;;;;;;;;;;;;;;;;MA6Ba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AA,EAAA,CAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,8BAEjB,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,aAAa,EACb,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,KAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,+ZACnB,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAKV,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAjBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAE3B,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,cAAc;wBACd,iBAAiB;wBACjB,YAAY;wBACZ,eAAe;wBACf,aAAa;wBACb,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,m1BAAA,EAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs","sources":["../../../../libs/modules/auth/src/lib/two-factor/two-factor-code/two-factor-code.component.ts","../../../../libs/modules/auth/src/lib/two-factor/two-factor-code/two-factor-code.component.html"],"sourcesContent":["import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\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';\n\n\n@Component({\n selector: 'axp-auth-two-factor-code',\n templateUrl: './two-factor-code.component.html',\n imports: [\n CommonModule,\n AXFormModule,\n AXButtonModule,\n AXDecoratorModule,\n AXFormModule,\n AXTextBoxModule,\n AXLabelModule,\n AXPasswordBoxModule,\n AXTranslationModule,\n ],\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class AXPAuthTwoFactorCodeComponent implements OnInit, OnDestroy {\n ngOnInit(): void { }\n\n ngOnDestroy(): void { }\n}\n","<ng-container *translate=\"let t\">\n <div class=\"ax-text-center ax-mb-8\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">\n {{ t('auth.twofactor.title') | async }}\n </h1>\n <p class=\"ax-text-base ax-text-neutral-600 ax-mb-4\">\n {{ t('auth.twofactor.hint') | async }}\n </p>\n <p class=\"ax-text-base ax-font-medium\">**** *** 3320</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 class=\"ax-text-start\">{{ t('auth.twofactor.textBoxHint') | async }}</ax-label>\n <ax-password-box></ax-password-box>\n </ax-form-field>\n <ax-button class=\"ax-w-full\" [text]=\"t('common.submit') | async\" color=\"primary\"> </ax-button>\n </div>\n </ax-form>\n </div>\n</ng-container>"],"names":["i3","i4","i6"],"mappings":";;;;;;;;;;;;;;;;;MA6Ba,6BAA6B,CAAA;AACxC,IAAA,QAAQ;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A,EAAA,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,8BAEjB,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,aAAa,EACb,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,KAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,+ZACnB,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAKV,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAjBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAE3B,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,cAAc;wBACd,iBAAiB;wBACjB,YAAY;wBACZ,eAAe;wBACf,aAAa;wBACb,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,m1BAAA,EAAA;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, NgModule } from '@angular/core';
3
3
  import { RouterModule, ROUTES } from '@angular/router';
4
- import { A as AXM_AUTH_CONFIG_TOKEN } from './acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs';
4
+ import { A as AXM_AUTH_CONFIG_TOKEN } from './acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs';
5
5
  import '@acorex/platform/auth';
6
6
  import '@acorex/platform/common';
7
7
  import '@angular/common/http';
@@ -58,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
58
58
  }] });
59
59
 
60
60
  export { AXPTwoFactorModule };
61
- //# sourceMappingURL=acorex-modules-auth-two-factor.module-CkZCBo0B.mjs.map
61
+ //# sourceMappingURL=acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-modules-auth-two-factor.module-C6V_pb_Q.mjs","sources":["../../../../libs/modules/auth/src/lib/two-factor/two-factor.module.ts"],"sourcesContent":["import { inject, NgModule } from '@angular/core';\nimport { RouterModule, ROUTES, Routes } from '@angular/router';\nimport { AXM_AUTH_CONFIG_TOKEN } from '../auth.config';\n\nfunction routesFacory() {\n const val = inject(AXM_AUTH_CONFIG_TOKEN);\n let routes: Routes = [];\n routes = [\n {\n path: 'two-step',\n loadComponent: () =>\n import('./two-factor-code/two-factor-code.component').then(\n (c) => c.AXPAuthTwoFactorCodeComponent\n ),\n },\n ];\n return routes;\n}\n\n@NgModule({\n declarations: [],\n imports: [RouterModule],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n ],\n})\nexport class AXPTwoFactorModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,SAAS,YAAY,GAAA;AACnB,IAAA,MAAM,GAAG,GAAG,MAAM,CAAC,qBAAqB,CAAC;IACzC,IAAI,MAAM,GAAW,EAAE;AACvB,IAAA,MAAM,GAAG;AACP,QAAA;AACE,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,aAAa,EAAE,MACb,OAAO,8DAA6C,CAAC,CAAC,IAAI,CACxD,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CACvC;AACJ,SAAA;KACF;AACD,IAAA,OAAO,MAAM;AACf;MAca,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAVnB,YAAY,CAAA,EAAA,CAAA,CAAA;AAUX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EARlB,SAAA,EAAA;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,MAAM;AACf,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,UAAU,EAAE,YAAY;AACzB,aAAA;AACF,SAAA,EAAA,OAAA,EAAA,CARS,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAUX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,MAAM;AACf,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,UAAU,EAAE,YAAY;AACzB,yBAAA;AACF,qBAAA;AACF,iBAAA;;;;;"}
@@ -1,4 +1,4 @@
1
- export { d as AXMAuthErrorHandler, g as AXMAuthModule, a as AXMAuthenticationTypes, e as AXMDefaultAuthConfigs, A as AXM_AUTH_CONFIG_TOKEN, h as AXPIdleService, f as configAuthModule } from './acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs';
1
+ export { d as AXMAuthErrorHandler, g as AXMAuthModule, a as AXMAuthenticationTypes, e as AXMDefaultAuthConfigs, A as AXM_AUTH_CONFIG_TOKEN, h as AXPIdleService, f as configAuthModule } from './acorex-modules-auth-acorex-modules-auth-B0aeYVeJ.mjs';
2
2
  import '@acorex/platform/auth';
3
3
  import '@acorex/platform/common';
4
4
  import '@angular/common/http';
@@ -1,8 +1,7 @@
1
- import * as i2 from '@acorex/modules/auth';
2
1
  import { AXM_AUTH_CONFIG_TOKEN, AXMAuthModule } from '@acorex/modules/auth';
3
- import * as i3 from '@acorex/platform/auth';
2
+ import * as i2 from '@acorex/platform/auth';
4
3
  import { AXPSessionService, AXP_TENANT_LOADER, AXP_APPLICATION_LOADER, AXP_PERMISSION_LOADER, AXP_FEATURE_LOADER, AXPAuthModule } from '@acorex/platform/auth';
5
- import { AXP_ROOT_CONFIG_TOKEN, AXPStorageService, AXPDataGenerator, AXPDataProvider } from '@acorex/platform/common';
4
+ import { AXP_ROOT_CONFIG_TOKEN, AXPDataProvider } from '@acorex/platform/common';
6
5
  import * as i0 from '@angular/core';
7
6
  import { inject, Injectable, Component, NgModule } from '@angular/core';
8
7
  import * as i1$1 from '@angular/router';
@@ -13,7 +12,6 @@ import { map, BehaviorSubject, tap, filter, take, of, switchMap, delay, firstVal
13
12
  import * as i1$3 from 'angular-oauth2-oidc';
14
13
  import { OAuthService, OAuthModule } from 'angular-oauth2-oidc';
15
14
  import { AXPModuleDesignerService } from '@acorex/modules/application-management';
16
- import { AXPCommentService } from '@acorex/platform/themes/shared';
17
15
  import { AXPFileManagementService } from '@acorex/platform/widgets';
18
16
  import { AXNetworkService, AXUploadStatus, AXDownloadStatus } from '@acorex/core/network';
19
17
  import { AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';
@@ -518,6 +516,14 @@ class AXMBackendDataProvider {
518
516
  formData.append('Title', title);
519
517
  return firstValueFrom(this.http.post(url, formData));
520
518
  }
519
+ // to update a uploaded file
520
+ updateFile(id, file, title, customUrl) {
521
+ const url = customUrl ? `${this.mainUrl}/${customUrl}` : `${this.mainUrl}/common/files?id=${id}`;
522
+ const formData = new FormData();
523
+ formData.append('File', file);
524
+ formData.append('Title', title);
525
+ return firstValueFrom(this.http.put(url, formData));
526
+ }
521
527
  // Function to upload multiple files
522
528
  uploadMultipleFiles(files, title) {
523
529
  const uploadPromises = files.map((file) => this.uploadFile(file, title));
@@ -581,145 +587,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
581
587
  }]
582
588
  }], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }] });
583
589
 
584
- class AXMMockCommentService {
585
- constructor() {
586
- this.storageService = inject(AXPStorageService);
587
- this.name = 'comments';
588
- }
589
- async get(params) {
590
- const data = (await this.storageService.getAll(this.name));
591
- return Promise.resolve({ totalCount: data.length, items: data });
592
- }
593
- async post(payload) {
594
- const extraPayload = {
595
- id: AXPDataGenerator.uuid(), // Generate a unique ID for the comment
596
- memberId: AXPDataGenerator.uuid(), // Simulate member ID (e.g., the user posting)
597
- memberType: AXPDataGenerator.pick(['user', 'admin']), // Simulate the member type (user/admin)
598
- roomId: AXPDataGenerator.uuid(), // Generate a random room ID
599
- messageVisibles: [], // Empty array for visibility, can be customized
600
- messageStatuses: [], // Empty array for statuses, can be customized
601
- messageHistories: [], // Empty array for history, can be customized
602
- replies: [], // Initially no replies
603
- isArchived: false, // Default to not archived
604
- isLiked: false, // Default to not liked
605
- reactionsCount: 0, // Default to 0 reactions
606
- repliesCount: 0, // Default to 0 replies
607
- user: {
608
- userName: AXPDataGenerator.firstName().toLowerCase(),
609
- firstName: AXPDataGenerator.firstName(),
610
- lastName: AXPDataGenerator.lastName(),
611
- picture: null,
612
- id: AXPDataGenerator.uuid(),
613
- },
614
- };
615
- const fullPayload = { ...payload, ...extraPayload };
616
- if (payload.replyId) {
617
- const message = await this.storageService.getOne(this.name, payload.replyId);
618
- await this.storageService.updateOne(this.name, payload.replyId, {
619
- ...message,
620
- replies: [...message.replies, fullPayload],
621
- });
622
- return Promise.resolve('done');
623
- }
624
- else {
625
- await this.storageService.insertOne(this.name, fullPayload);
626
- return Promise.resolve('done');
627
- }
628
- }
629
- async put(payload) {
630
- //const message = await this.storageService.getOne(this.name, payload.id);
631
- await this.storageService.updateOne(this.name, payload.id, { content: payload.content });
632
- return Promise.resolve('done');
633
- }
634
- async delete(payload) {
635
- await this.storageService.deleteOne(this.name, payload.id);
636
- return Promise.resolve();
637
- }
638
- async like(payload) {
639
- const message = await this.storageService.getOne(this.name, payload.messageId);
640
- await this.storageService.updateOne(this.name, payload.messageId, {
641
- ...message,
642
- isLiked: !message.isLiked,
643
- reactionsCount: message.isLiked ? --message.reactionsCount : ++message.reactionsCount,
644
- });
645
- return Promise.resolve('done');
646
- }
647
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockCommentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
648
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockCommentService, providedIn: 'root' }); }
649
- }
650
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockCommentService, decorators: [{
651
- type: Injectable,
652
- args: [{
653
- providedIn: 'root',
654
- }]
655
- }] });
656
- const COMMENTS = Array.from({ length: 10 }).map(() => {
657
- const contentSource = [
658
- 'This is a comment.',
659
- 'I really like this!',
660
- 'Could you clarify your point?',
661
- 'Great job on this!',
662
- 'I have some suggestions.',
663
- 'This is quite insightful.',
664
- 'Thanks for sharing!',
665
- 'I disagree with this perspective.',
666
- 'Interesting take!',
667
- 'What do you think about this?',
668
- ];
669
- const repliesCount = AXPDataGenerator.number(0, 3);
670
- return {
671
- id: AXPDataGenerator.uuid(),
672
- entityId: 'test', // AXPDataGenerator.pick(ENTITIES).id,//need to fix
673
- content: `<p>${AXPDataGenerator.pick(contentSource)}</p>`,
674
- contentType: AXPDataGenerator.pick(['text', 'image', 'video']),
675
- memberId: AXPDataGenerator.uuid(),
676
- memberType: AXPDataGenerator.pick(['user', 'admin']),
677
- roomId: AXPDataGenerator.uuid(),
678
- isPrivate: AXPDataGenerator.boolean(),
679
- replyId: null,
680
- messageVisibles: [],
681
- messageStatuses: [],
682
- messageHistories: [],
683
- replies: Array.from({ length: repliesCount }).map(() => {
684
- return {
685
- id: AXPDataGenerator.uuid(),
686
- content: `<p>${AXPDataGenerator.pick(contentSource)}</p>`,
687
- contentType: AXPDataGenerator.pick(['text']),
688
- memberId: AXPDataGenerator.uuid(),
689
- memberType: AXPDataGenerator.pick(['user', 'admin']),
690
- roomId: AXPDataGenerator.uuid(),
691
- isPrivate: AXPDataGenerator.boolean(),
692
- replyId: AXPDataGenerator.uuid(),
693
- messageVisibles: [],
694
- messageStatuses: [],
695
- messageHistories: [],
696
- isArchived: AXPDataGenerator.boolean(),
697
- isLiked: AXPDataGenerator.boolean(),
698
- reactionsCount: AXPDataGenerator.number(0, 10),
699
- repliesCount: 0,
700
- user: {
701
- userName: AXPDataGenerator.firstName().toLowerCase(),
702
- firstName: AXPDataGenerator.firstName(),
703
- lastName: AXPDataGenerator.lastName(),
704
- picture: null,
705
- id: AXPDataGenerator.uuid(),
706
- },
707
- };
708
- }),
709
- isArchived: AXPDataGenerator.boolean(),
710
- isLiked: AXPDataGenerator.boolean(),
711
- reactionsCount: AXPDataGenerator.number(0, 100),
712
- repliesCount: repliesCount,
713
- user: {
714
- userName: AXPDataGenerator.firstName().toLowerCase(),
715
- firstName: AXPDataGenerator.firstName(),
716
- lastName: AXPDataGenerator.lastName(),
717
- picture: null,
718
- id: AXPDataGenerator.uuid(),
719
- },
720
- };
721
- });
722
-
723
590
  class AXMCommentService {
724
591
  constructor() {
725
592
  this.configs = inject(AXP_ROOT_CONFIG_TOKEN);
@@ -996,6 +863,16 @@ class AXMLocalDataProvider {
996
863
  });
997
864
  });
998
865
  }
866
+ updateFile(id, file, title) {
867
+ return new Promise((resolve) => {
868
+ // Mock file ID generation
869
+ const fileId = `mock-file-id-${Math.random().toString(36).substr(2, 9)}`;
870
+ const fileRecord = { id: fileId, title, file };
871
+ this.storageService.insertOrupdateOne('files', fileRecord).then(() => {
872
+ resolve(fileId);
873
+ });
874
+ });
875
+ }
999
876
  // Mock function to upload multiple files
1000
877
  uploadMultipleFiles(files, title) {
1001
878
  const uploadPromises = files.map((file) => this.uploadFile(file, title));
@@ -1033,7 +910,7 @@ function routesFactory() {
1033
910
  }
1034
911
  class AXMBackendModule {
1035
912
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMBackendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1036
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMBackendModule, imports: [i1$3.OAuthModule, i2.AXMAuthModule, i3.AXPAuthModule] }); }
913
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMBackendModule, imports: [i1$3.OAuthModule, AXMAuthModule, i2.AXPAuthModule] }); }
1037
914
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMBackendModule, providers: [
1038
915
  {
1039
916
  provide: AXPDataProvider,
@@ -1059,10 +936,14 @@ class AXMBackendModule {
1059
936
  provide: AXPFileManagementService,
1060
937
  useClass: AXMFileManagementService,
1061
938
  },
1062
- {
1063
- provide: AXPCommentService,
1064
- useClass: AXMCommentService,
1065
- },
939
+ // {
940
+ // provide: AXPCommentService,
941
+ // useClass: AXMCommentService,
942
+ // },
943
+ // {
944
+ // provide: AXMNotificationService,
945
+ // useClass: AXMMockNotificationService,
946
+ // },
1066
947
  {
1067
948
  provide: AXPModuleDesignerService,
1068
949
  useClass: AXMModuleDesignerService,
@@ -1073,7 +954,7 @@ class AXMBackendModule {
1073
954
  useFactory: routesFactory,
1074
955
  },
1075
956
  ], imports: [OAuthModule.forRoot(),
1076
- AXMAuthModule.forRoot(),
957
+ AXMAuthModule,
1077
958
  AXPAuthModule.forRoot({
1078
959
  strategies: [AXMOidcStrategy],
1079
960
  })] }); }
@@ -1083,7 +964,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1083
964
  args: [{
1084
965
  imports: [
1085
966
  OAuthModule.forRoot(),
1086
- AXMAuthModule.forRoot(),
967
+ AXMAuthModule,
1087
968
  AXPAuthModule.forRoot({
1088
969
  strategies: [AXMOidcStrategy],
1089
970
  }),
@@ -1115,10 +996,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1115
996
  provide: AXPFileManagementService,
1116
997
  useClass: AXMFileManagementService,
1117
998
  },
1118
- {
1119
- provide: AXPCommentService,
1120
- useClass: AXMCommentService,
1121
- },
999
+ // {
1000
+ // provide: AXPCommentService,
1001
+ // useClass: AXMCommentService,
1002
+ // },
1003
+ // {
1004
+ // provide: AXMNotificationService,
1005
+ // useClass: AXMMockNotificationService,
1006
+ // },
1122
1007
  {
1123
1008
  provide: AXPModuleDesignerService,
1124
1009
  useClass: AXMModuleDesignerService,
@@ -1136,5 +1021,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1136
1021
  * Generated bundle index. Do not edit.
1137
1022
  */
1138
1023
 
1139
- export { AXMBackendDataProvider, AXMBackendModule, AXMCommentService, AXMConfigurationService, AXMFileManagementService, AXMLocalDataProvider, AXMMockCommentService, AXMModuleDesignerService, AXMOidcApplicationLoader, AXMOidcFeatureLoader, AXMOidcPermissionLoader, AXMOidcStrategy, AXMOidcTenantLoader, COMMENTS };
1024
+ export { AXMBackendDataProvider, AXMBackendModule, AXMCommentService, AXMConfigurationService, AXMFileManagementService, AXMLocalDataProvider, AXMModuleDesignerService, AXMOidcApplicationLoader, AXMOidcFeatureLoader, AXMOidcPermissionLoader, AXMOidcStrategy, AXMOidcTenantLoader };
1140
1025
  //# sourceMappingURL=acorex-modules-backend.mjs.map