@acorex-platform/module-auth-client 0.0.62 → 0.0.63

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 (55) hide show
  1. package/fesm2022/{acorex-platform-module-auth-client-acorex-platform-module-auth-client-DINrCCAx.mjs → acorex-platform-module-auth-client-acorex-platform-module-auth-client-CN5vRSEZ.mjs} +32 -32
  2. package/fesm2022/{acorex-platform-module-auth-client-acorex-platform-module-auth-client-DINrCCAx.mjs.map → acorex-platform-module-auth-client-acorex-platform-module-auth-client-CN5vRSEZ.mjs.map} +1 -1
  3. package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-C1fUi_Mp.mjs → acorex-platform-module-auth-client-app-chooser.component-CNR-t2OL.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-C1fUi_Mp.mjs.map → acorex-platform-module-auth-client-app-chooser.component-CNR-t2OL.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-auth-client-change-password.command-UvBqwF9V.mjs → acorex-platform-module-auth-client-change-password.command-D7oHp3Tk.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-auth-client-change-password.command-UvBqwF9V.mjs.map → acorex-platform-module-auth-client-change-password.command-D7oHp3Tk.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-auth-client-change-photo.command-2e7ZjiEf.mjs → acorex-platform-module-auth-client-change-photo.command-D_n3Ahmj.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-auth-client-change-photo.command-2e7ZjiEf.mjs.map → acorex-platform-module-auth-client-change-photo.command-D_n3Ahmj.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-auth-client-get-user-activity.query-BGOYJ4FC.mjs → acorex-platform-module-auth-client-get-user-activity.query-BBCDko_I.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-module-auth-client-get-user-activity.query-BGOYJ4FC.mjs.map → acorex-platform-module-auth-client-get-user-activity.query-BBCDko_I.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-auth-client-lock-screen.command-BOKKr6WW.mjs → acorex-platform-module-auth-client-lock-screen.command-DNQRcNVK.mjs} +2 -2
  12. package/fesm2022/{acorex-platform-module-auth-client-lock-screen.command-BOKKr6WW.mjs.map → acorex-platform-module-auth-client-lock-screen.command-DNQRcNVK.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-module-auth-client-login.module-gi6wea8m.mjs → acorex-platform-module-auth-client-login.module-qkXYibtr.mjs} +3 -3
  14. package/fesm2022/{acorex-platform-module-auth-client-login.module-gi6wea8m.mjs.map → acorex-platform-module-auth-client-login.module-qkXYibtr.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-module-auth-client-manage-two-factor.command-DRsNZWZF.mjs → acorex-platform-module-auth-client-manage-two-factor.command-C3T0gPHl.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-auth-client-manage-two-factor.command-DRsNZWZF.mjs.map → acorex-platform-module-auth-client-manage-two-factor.command-C3T0gPHl.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-auth-client-open-sessions.command-CwWtPiTG.mjs → acorex-platform-module-auth-client-open-sessions.command-D_YqoYjt.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-auth-client-open-sessions.command-CwWtPiTG.mjs.map → acorex-platform-module-auth-client-open-sessions.command-D_YqoYjt.mjs.map} +1 -1
  19. package/fesm2022/{acorex-platform-module-auth-client-password.component-CAZ3tVPG.mjs → acorex-platform-module-auth-client-password.component-Lvsez0-1.mjs} +2 -2
  20. package/fesm2022/{acorex-platform-module-auth-client-password.component-CAZ3tVPG.mjs.map → acorex-platform-module-auth-client-password.component-Lvsez0-1.mjs.map} +1 -1
  21. package/fesm2022/{acorex-platform-module-auth-client-profile-activity-chart.component-BcbVLmZo.mjs → acorex-platform-module-auth-client-profile-activity-chart.component-LpyJFXl9.mjs} +2 -2
  22. package/fesm2022/{acorex-platform-module-auth-client-profile-activity-chart.component-BcbVLmZo.mjs.map → acorex-platform-module-auth-client-profile-activity-chart.component-LpyJFXl9.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-module-auth-client-profile-page-component.provider-DEVBmVKd.mjs → acorex-platform-module-auth-client-profile-page-component.provider-DzESXOAt.mjs} +3 -3
  24. package/fesm2022/{acorex-platform-module-auth-client-profile-page-component.provider-DEVBmVKd.mjs.map → acorex-platform-module-auth-client-profile-page-component.provider-DzESXOAt.mjs.map} +1 -1
  25. package/fesm2022/{acorex-platform-module-auth-client-profile-page.component-BNYoh2IL.mjs → acorex-platform-module-auth-client-profile-page.component-MatsNuqc.mjs} +2 -2
  26. package/fesm2022/{acorex-platform-module-auth-client-profile-page.component-BNYoh2IL.mjs.map → acorex-platform-module-auth-client-profile-page.component-MatsNuqc.mjs.map} +1 -1
  27. package/fesm2022/{acorex-platform-module-auth-client-register-password.component-DArLfswX.mjs → acorex-platform-module-auth-client-register-password.component-CqOsT6I6.mjs} +2 -2
  28. package/fesm2022/{acorex-platform-module-auth-client-register-password.component-DArLfswX.mjs.map → acorex-platform-module-auth-client-register-password.component-CqOsT6I6.mjs.map} +1 -1
  29. package/fesm2022/{acorex-platform-module-auth-client-register.module-BXMV9tp3.mjs → acorex-platform-module-auth-client-register.module-Izk6-GRU.mjs} +3 -3
  30. package/fesm2022/{acorex-platform-module-auth-client-register.module-BXMV9tp3.mjs.map → acorex-platform-module-auth-client-register.module-Izk6-GRU.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-module-auth-client-remove-pin-code.command-D9uLV6je.mjs → acorex-platform-module-auth-client-remove-pin-code.command-Cq9FMrtP.mjs} +2 -2
  32. package/fesm2022/{acorex-platform-module-auth-client-remove-pin-code.command-D9uLV6je.mjs.map → acorex-platform-module-auth-client-remove-pin-code.command-Cq9FMrtP.mjs.map} +1 -1
  33. package/fesm2022/{acorex-platform-module-auth-client-session-lock-overlay.component-D_IKdJl8.mjs → acorex-platform-module-auth-client-session-lock-overlay.component-BGujfU4G.mjs} +2 -2
  34. package/fesm2022/{acorex-platform-module-auth-client-session-lock-overlay.component-D_IKdJl8.mjs.map → acorex-platform-module-auth-client-session-lock-overlay.component-BGujfU4G.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.command-DRLTGXEF.mjs → acorex-platform-module-auth-client-set-pin-code.command-CoGcZIPV.mjs} +3 -3
  36. package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.command-DRLTGXEF.mjs.map → acorex-platform-module-auth-client-set-pin-code.command-CoGcZIPV.mjs.map} +1 -1
  37. package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.component-m7SwyaZH.mjs → acorex-platform-module-auth-client-set-pin-code.component-CoW81kSQ.mjs} +2 -2
  38. package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.component-m7SwyaZH.mjs.map → acorex-platform-module-auth-client-set-pin-code.component-CoW81kSQ.mjs.map} +1 -1
  39. package/fesm2022/{acorex-platform-module-auth-client-tenant-chooser.component-CdqBeKVw.mjs → acorex-platform-module-auth-client-tenant-chooser.component-CK4ZArN-.mjs} +2 -2
  40. package/fesm2022/{acorex-platform-module-auth-client-tenant-chooser.component-CdqBeKVw.mjs.map → acorex-platform-module-auth-client-tenant-chooser.component-CK4ZArN-.mjs.map} +1 -1
  41. package/fesm2022/{acorex-platform-module-auth-client-two-factor-code.component-B1334bPg.mjs → acorex-platform-module-auth-client-two-factor-code.component-3oy2lQAi.mjs} +2 -2
  42. package/fesm2022/{acorex-platform-module-auth-client-two-factor-code.component-B1334bPg.mjs.map → acorex-platform-module-auth-client-two-factor-code.component-3oy2lQAi.mjs.map} +1 -1
  43. package/fesm2022/{acorex-platform-module-auth-client-two-factor.module-C0mkbR4X.mjs → acorex-platform-module-auth-client-two-factor.module-CRx6T5H5.mjs} +2 -2
  44. package/fesm2022/{acorex-platform-module-auth-client-two-factor.module-C0mkbR4X.mjs.map → acorex-platform-module-auth-client-two-factor.module-CRx6T5H5.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-module-auth-client-view-login-history.command-CerhsvHF.mjs → acorex-platform-module-auth-client-view-login-history.command-BmjD2Aqv.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-module-auth-client-view-login-history.command-CerhsvHF.mjs.map → acorex-platform-module-auth-client-view-login-history.command-BmjD2Aqv.mjs.map} +1 -1
  47. package/fesm2022/{acorex-platform-module-auth-client-waiting-room.component-Wu8iPiTm.mjs → acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs} +3 -3
  48. package/fesm2022/acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs.map +1 -0
  49. package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding-page.component-BKqHYkv2.mjs → acorex-platform-module-auth-client-welcome-onboarding-page.component-BwVu2fzw.mjs} +2 -2
  50. package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding-page.component-BKqHYkv2.mjs.map → acorex-platform-module-auth-client-welcome-onboarding-page.component-BwVu2fzw.mjs.map} +1 -1
  51. package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding.command--Rr0duJS.mjs → acorex-platform-module-auth-client-welcome-onboarding.command-D-o9nga7.mjs} +2 -2
  52. package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding.command--Rr0duJS.mjs.map → acorex-platform-module-auth-client-welcome-onboarding.command-D-o9nga7.mjs.map} +1 -1
  53. package/fesm2022/acorex-platform-module-auth-client.mjs +1 -1
  54. package/package.json +3 -3
  55. package/fesm2022/acorex-platform-module-auth-client-waiting-room.component-Wu8iPiTm.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-auth-client-tenant-chooser.component-CdqBeKVw.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/account/tenant-chooser/tenant-chooser.component.ts","../../../../libs/modules/auth/client/src/lib/pages/account/tenant-chooser/tenant-chooser.component.html"],"sourcesContent":["import { Component, ViewEncapsulation, inject, ChangeDetectionStrategy, signal } from '@angular/core';\n\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 { AXSkeletonModule } from '@acorex/components/skeleton';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPPlatformBrandingService } from '@acorex-platform/framework-client/common';\nimport { AXPLogoComponent } from '@acorex-platform/framework-client/core';\nimport { AXPUserAvatarComponent } from '@acorex-platform/framework-client/layout/components';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { AXPTenantChooserListComponent } from './tenant-chooser-list.component';\n\n@Component({\n selector: 'axp-auth-tenant-chooser',\n templateUrl: './tenant-chooser.component.html',\n styleUrls: ['../shared/auth-chooser.layout.css', './tenant-chooser.component.css'],\n imports: [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXImageModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXLoadingModule,\n AXSkeletonModule,\n AXTranslationModule,\n AXPUserAvatarComponent,\n AXPTenantChooserListComponent,\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXPAuthTenantChooserComponent {\n private router = inject(Router);\n private readonly platformBranding = inject(AXPPlatformBrandingService);\n protected readonly platformTitle = signal('');\n private sessionService = inject(AXPSessionService);\n\n constructor() {\n void this.platformBranding.resolvePlatformTitle().then((title) => this.platformTitle.set(title));\n }\n\n protected user = this.sessionService.user;\n protected catalogLoading = signal(true);\n\n handleCatalogLoading(loading: boolean): void {\n this.catalogLoading.set(loading);\n }\n\n async handleSignout() {\n await this.sessionService.signout();\n this.router.navigate(['/auth/login']);\n }\n}\n","<main *translate=\"let t\" class=\"axp-auth-chooser\">\n <div class=\"axp-auth-chooser__inner\">\n <!-- ----- Platform branding ----- -->\n <section class=\"axp-auth-chooser__brand\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"colored\"\n format=\"full\"\n [size]=\"260\"\n [attr.alt]=\"platformTitle()\"\n ></axp-logo>\n </section>\n <!-- ----- Tenant selection card ----- -->\n <section class=\"axp-auth-chooser__card-wrap\">\n <div class=\"axp-auth-chooser__card\">\n <!-- ----- Profile header while catalog loads ----- -->\n @if (catalogLoading()) {\n <ax-skeleton [animated]=\"true\" class=\"size-[72px] rounded-full shrink-0\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"h-6 w-56 max-w-full\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"h-4 w-64 max-w-full\"></ax-skeleton>\n } @else {\n <axp-user-avatar\n [size]=\"72\"\n [userId]=\"$safeNavigationMigration(user?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n <h2 class=\"md:text-lg font-medium\">\n {{ '@auth:welcome.message' | translate | async }}, {{ user?.title }}\n </h2>\n <p class=\"text-neutral-500 text-sm md:text-base font-medium\">\n {{ '@auth:tenant-chooser.description' | translate | async }}\n </p>\n }\n <div class=\"mt-3 w-full\">\n <axp-tenant-chooser-list (loadingChange)=\"handleCatalogLoading($event)\"></axp-tenant-chooser-list>\n </div>\n </div>\n </section>\n <!-- ----- Sign-out footer ----- -->\n <section class=\"axp-auth-chooser__footer\">\n <p class=\"text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a (click)=\"handleSignout()\" class=\"text-primary cursor-pointer hover:underline font-medium\">\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </section>\n </div>\n</main>\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MA2Ca,6BAA6B,CAAA;AAMxC,IAAA,WAAA,GAAA;AALQ,QAAA,IAAA,CAAA,MA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EAAAC,IAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAD,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,KAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAKpB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAvBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,OAAA,EAG1B;wBACP,YAAY;wBACZ,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,aAAa;wBACb,gBAAgB;wBAChB,aAAa;wBACb,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,sBAAsB;wBACtB,6BAA6B;AAC9B,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,KAAK,EAAA,aAAA,EAC/B,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,2hEAAA,EAAA,MAAA,EAAA,CAAA,4yIAAA,EAAA,4QAAA,CAAA,EAAA;;;"}
1
+ {"version":3,"file":"acorex-platform-module-auth-client-tenant-chooser.component-CK4ZArN-.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/account/tenant-chooser/tenant-chooser.component.ts","../../../../libs/modules/auth/client/src/lib/pages/account/tenant-chooser/tenant-chooser.component.html"],"sourcesContent":["import { Component, ViewEncapsulation, inject, ChangeDetectionStrategy, signal } from '@angular/core';\n\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 { AXSkeletonModule } from '@acorex/components/skeleton';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPPlatformBrandingService } from '@acorex-platform/framework-client/common';\nimport { AXPLogoComponent } from '@acorex-platform/framework-client/core';\nimport { AXPUserAvatarComponent } from '@acorex-platform/framework-client/layout/components';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { AXPTenantChooserListComponent } from './tenant-chooser-list.component';\n\n@Component({\n selector: 'axp-auth-tenant-chooser',\n templateUrl: './tenant-chooser.component.html',\n styleUrls: ['../shared/auth-chooser.layout.css', './tenant-chooser.component.css'],\n imports: [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXImageModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXLoadingModule,\n AXSkeletonModule,\n AXTranslationModule,\n AXPUserAvatarComponent,\n AXPTenantChooserListComponent,\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXPAuthTenantChooserComponent {\n private router = inject(Router);\n private readonly platformBranding = inject(AXPPlatformBrandingService);\n protected readonly platformTitle = signal('');\n private sessionService = inject(AXPSessionService);\n\n constructor() {\n void this.platformBranding.resolvePlatformTitle().then((title) => this.platformTitle.set(title));\n }\n\n protected user = this.sessionService.user;\n protected catalogLoading = signal(true);\n\n handleCatalogLoading(loading: boolean): void {\n this.catalogLoading.set(loading);\n }\n\n async handleSignout() {\n await this.sessionService.signout();\n this.router.navigate(['/auth/login']);\n }\n}\n","<main *translate=\"let t\" class=\"axp-auth-chooser\">\n <div class=\"axp-auth-chooser__inner\">\n <!-- ----- Platform branding ----- -->\n <section class=\"axp-auth-chooser__brand\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"colored\"\n format=\"full\"\n [size]=\"260\"\n [attr.alt]=\"platformTitle()\"\n ></axp-logo>\n </section>\n <!-- ----- Tenant selection card ----- -->\n <section class=\"axp-auth-chooser__card-wrap\">\n <div class=\"axp-auth-chooser__card\">\n <!-- ----- Profile header while catalog loads ----- -->\n @if (catalogLoading()) {\n <ax-skeleton [animated]=\"true\" class=\"size-[72px] rounded-full shrink-0\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"h-6 w-56 max-w-full\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"h-4 w-64 max-w-full\"></ax-skeleton>\n } @else {\n <axp-user-avatar\n [size]=\"72\"\n [userId]=\"$safeNavigationMigration(user?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n <h2 class=\"md:text-lg font-medium\">\n {{ '@auth:welcome.message' | translate | async }}, {{ user?.title }}\n </h2>\n <p class=\"text-neutral-500 text-sm md:text-base font-medium\">\n {{ '@auth:tenant-chooser.description' | translate | async }}\n </p>\n }\n <div class=\"mt-3 w-full\">\n <axp-tenant-chooser-list (loadingChange)=\"handleCatalogLoading($event)\"></axp-tenant-chooser-list>\n </div>\n </div>\n </section>\n <!-- ----- Sign-out footer ----- -->\n <section class=\"axp-auth-chooser__footer\">\n <p class=\"text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a (click)=\"handleSignout()\" class=\"text-primary cursor-pointer hover:underline font-medium\">\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </section>\n </div>\n</main>\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MA2Ca,6BAA6B,CAAA;AAMxC,IAAA,WAAA,GAAA;AALQ,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACd,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;QACnD,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,EAAE;0FAAC;AACrC,QAAA,IAAA,CAAA,cAAc,GA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AAA,uBAAA,CAAA,KAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAKpB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAvBzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,OAAA,EAG1B;wBACP,YAAY;wBACZ,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,aAAa;wBACb,gBAAgB;wBAChB,aAAa;wBACb,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,sBAAsB;wBACtB,6BAA6B;AAC9B,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,KAAK,EAAA,aAAA,EAC/B,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,2hEAAA,EAAA,MAAA,EAAA,CAAA,4yIAAA,EAAA,4QAAA,CAAA,EAAA;;;"}
@@ -23,7 +23,7 @@ import { inject, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, Componen
23
23
  import { FormsModule } from '@angular/forms';
24
24
  import { RouterModule, Router, ActivatedRoute } from '@angular/router';
25
25
  import { BehaviorSubject, firstValueFrom } from 'rxjs';
26
- import { x as AXMAuthPlatformSettingsService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-DINrCCAx.mjs';
26
+ import { x as AXMAuthPlatformSettingsService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-CN5vRSEZ.mjs';
27
27
  import { r as readTwoFactorChallenge, c as clearTwoFactorChallenge } from './acorex-platform-module-auth-client-two-factor-challenge.storage-mi0UD7Sc.mjs';
28
28
 
29
29
  //#region ----- Constants -----
@@ -197,4 +197,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
197
197
  }] } });
198
198
 
199
199
  export { AXPAuthTwoFactorCodeComponent };
200
- //# sourceMappingURL=acorex-platform-module-auth-client-two-factor-code.component-B1334bPg.mjs.map
200
+ //# sourceMappingURL=acorex-platform-module-auth-client-two-factor-code.component-3oy2lQAi.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-auth-client-two-factor-code.component-B1334bPg.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor-code/two-factor-code.component.ts","../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor-code/two-factor-code.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPHomePageService } from '@acorex-platform/framework-client/common';\nimport { AXM_TWO_FACTOR_ERROR_CODES } from '@acorex-platform/module-security-management-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\nimport { BehaviorSubject, firstValueFrom } from 'rxjs';\n\nimport { AXMAuthPlatformSettingsService } from '../../../auth-platform-settings.service';\nimport {\n clearTwoFactorChallenge,\n readTwoFactorChallenge,\n} from '../two-factor-challenge.storage';\n\n//#region ----- Constants -----\n\nconst TWO_FACTOR_ERROR_I18N: Record<string, string> = {\n [AXM_TWO_FACTOR_ERROR_CODES.InvalidInput]: '@auth:twofactor.errors.invalid-input',\n [AXM_TWO_FACTOR_ERROR_CODES.IncorrectCode]: '@auth:twofactor.errors.incorrect-code',\n [AXM_TWO_FACTOR_ERROR_CODES.ChallengeExpired]: '@auth:twofactor.errors.challenge-expired',\n [AXM_TWO_FACTOR_ERROR_CODES.RateLimited]: '@auth:twofactor.errors.rate-limited',\n [AXM_TWO_FACTOR_ERROR_CODES.InvalidConfiguration]: '@auth:twofactor.errors.invalid-configuration',\n [AXM_TWO_FACTOR_ERROR_CODES.NotEnabled]: '@auth:twofactor.errors.not-enabled',\n};\n\nconst CHALLENGE_CLEARING_CODES = new Set<string>([\n AXM_TWO_FACTOR_ERROR_CODES.ChallengeExpired,\n AXM_TWO_FACTOR_ERROR_CODES.InvalidConfiguration,\n AXM_TWO_FACTOR_ERROR_CODES.NotEnabled,\n]);\n\n//#endregion\n\n//#region ----- Module Imports -----\n\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXLoadingModule,\n RouterModule,\n AXValidationModule,\n];\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axp-auth-two-factor-code',\n templateUrl: './two-factor-code.component.html',\n imports: [...MODULES],\n changeDetection: ChangeDetectionStrategy.Eager,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXPAuthTwoFactorCodeComponent implements OnInit {\n //#region ----- Services & Dependencies -----\n\n private readonly sessionService = inject(AXPSessionService);\n private readonly authPlatformSettings = inject(AXMAuthPlatformSettingsService);\n private readonly homePageService = inject(AXPHomePageService);\n private readonly toastService = inject(AXToastService);\n private readonly translateService = inject(AXTranslationService);\n private readonly router = inject(Router);\n private readonly activateRoute = inject(ActivatedRoute);\n\n //#endregion\n\n //#region ----- Form References -----\n\n @ViewChild(AXFormComponent)\n private form!: AXFormComponent;\n\n //#endregion\n\n //#region ----- State -----\n\n protected code = '';\n protected isLoading$ = new BehaviorSubject<boolean>(false);\n protected submitText = 'twofactor.submit';\n private challengeId = '';\n private rememberMe = false;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n ngOnInit(): void {\n const stored = readTwoFactorChallenge();\n if (!stored?.challengeId) {\n void this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n return;\n }\n\n this.challengeId = stored.challengeId;\n this.rememberMe = stored.rememberMe;\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected handleBackToLogin(): void {\n clearTwoFactorChallenge();\n void this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n }\n\n protected handleVerifyClick(): void {\n const strategyName = this.authPlatformSettings.defaultStrategyName();\n this.sessionService.setStrategy(strategyName);\n const redirectUrl = this.activateRoute.snapshot.queryParams['redirectUrl'];\n\n void this.form.validate().then(async (form) => {\n if (!form.result) {\n return;\n }\n\n const trimmedCode = this.code.trim();\n if (!trimmedCode || !this.challengeId) {\n return;\n }\n\n this.isLoading$.next(true);\n this.submitText = 'processing';\n\n try {\n await this.sessionService.signin({\n strategy: strategyName,\n username: '',\n password: '',\n challengeId: this.challengeId,\n code: trimmedCode,\n rememberMe: this.rememberMe,\n });\n\n const isAuthenticated = await firstValueFrom(this.sessionService.isAuthenticated$);\n if (!isAuthenticated) {\n throw new Error('Authentication failed after two-factor verification');\n }\n\n clearTwoFactorChallenge();\n await this.navigateAfterAuth(redirectUrl);\n } catch (error: unknown) {\n await this.handleVerifyError(error);\n } finally {\n this.submitText = 'twofactor.submit';\n this.isLoading$.next(false);\n }\n });\n }\n\n //#endregion\n\n //#region ----- Private Helpers -----\n\n private async navigateAfterAuth(redirectUrl?: string): Promise<void> {\n if (this.sessionService.tenant?.id == null) {\n await this.router.navigate(['/auth/account/tenant-chooser']);\n return;\n }\n\n if (this.sessionService.application?.id == null) {\n await this.router.navigate(['/auth/account/app-chooser']);\n return;\n }\n\n if (redirectUrl) {\n await this.router.navigate([redirectUrl]);\n return;\n }\n\n await this.homePageService.navigateTo();\n }\n\n private async handleVerifyError(error: unknown): Promise<void> {\n const apiError = this.extractApiError(error);\n const errorCode =\n (typeof apiError?.['error'] === 'string' && apiError['error']) ||\n (typeof apiError?.['code'] === 'string' && apiError['code']) ||\n '';\n\n const messageKey = TWO_FACTOR_ERROR_I18N[errorCode] ?? '@auth:twofactor.errors.verify-failed';\n const content = await this.translateService.translateAsync(messageKey);\n\n this.toastService.show({\n color: 'danger',\n content,\n timeOut: 5000,\n });\n\n this.code = '';\n\n if (CHALLENGE_CLEARING_CODES.has(errorCode)) {\n clearTwoFactorChallenge();\n await this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n }\n }\n\n private extractApiError(error: unknown): Record<string, unknown> | null {\n if (!error || typeof error !== 'object') {\n return null;\n }\n\n const err = error as Record<string, unknown>;\n if (err['apiError'] && typeof err['apiError'] === 'object') {\n return err['apiError'] as Record<string, unknown>;\n }\n\n if (err['error'] && typeof err['error'] === 'object') {\n return err['error'] as Record<string, unknown>;\n }\n\n return null;\n }\n\n //#endregion\n}\n\n//#endregion\n","<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:twofactor.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:twofactor.hint' | translate | async }}\n </p>\n </div>\n <div class=\"w-full lg:w-96 mx-auto\">\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label class=\"text-start\">{{ '@auth:twofactor.textBoxHint' | translate | async }}</ax-label>\n <ax-text-box\n [name]=\"'twoFactorCode'\"\n id=\"twoFactorCode\"\n [autoComplete]=\"'one-time-code'\"\n [(value)]=\"code\"\n >\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-button\n class=\"w-full\"\n [text]=\"('@auth:' + submitText) | translate | async\"\n color=\"primary\"\n [disabled]=\"isLoading$ | async\"\n (onClick)=\"handleVerifyClick()\"\n >\n @if (isLoading$ | async) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n <ax-button\n class=\"w-full\"\n look=\"outline\"\n [text]=\"'@auth:twofactor.back-to-login' | translate | async\"\n [disabled]=\"isLoading$ | async\"\n (onClick)=\"handleBackToLogin()\"\n >\n </ax-button>\n </div>\n </ax-form>\n </div>\n </div>\n</ng-container>\n"],"names":["i3","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AAEA,MAAM,qBAAqB,GAA2B;AACpD,IAAA,CAAC,0BAA0B,CAAC,YAAY,GAAG,sCAAsC;AACjF,IAAA,CAAC,0BAA0B,CAAC,aAAa,GAAG,uCAAuC;AACnF,IAAA,CAAC,0BAA0B,CAAC,gBAAgB,GAAG,0CAA0C;AACzF,IAAA,CAAC,0BAA0B,CAAC,WAAW,GAAG,qCAAqC;AAC/E,IAAA,CAAC,0BAA0B,CAAC,oBAAoB,GAAG,8CAA8C;AACjG,IAAA,CAAC,0BAA0B,CAAC,UAAU,GAAG,oCAAoC;CAC9E;AAED,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAS;AAC/C,IAAA,0BAA0B,CAAC,gBAAgB;AAC3C,IAAA,0BAA0B,CAAC,oBAAoB;AAC/C,IAAA,0BAA0B,CAAC,UAAU;AACtC,CAAA,CAAC;AAEF;AAEA;AAEA,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,eAAe;IACf,cAAc;IACd,aAAa;IACb,iBAAiB;IACjB,mBAAmB;IACnB,eAAe;IACf,YAAY;IACZ,kBAAkB;CACnB;AAED;AAEA;MASa,6BAA6B,CAAA;AAP1C,IAAA,WAAA,GAAA;;AAUmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,oBAAoB,GAAG,MAAM,CAAC,8BAA8B,CAAC;AAC7D,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC5C,QAAA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,IAAI,EAAA,QAAA,EAAA,oqDAAA,EAAA;;sBAiBpC,SAAS;uBAAC,eAAe;;;"}
1
+ {"version":3,"file":"acorex-platform-module-auth-client-two-factor-code.component-3oy2lQAi.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor-code/two-factor-code.component.ts","../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor-code/two-factor-code.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPHomePageService } from '@acorex-platform/framework-client/common';\nimport { AXM_TWO_FACTOR_ERROR_CODES } from '@acorex-platform/module-security-management-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\nimport { BehaviorSubject, firstValueFrom } from 'rxjs';\n\nimport { AXMAuthPlatformSettingsService } from '../../../auth-platform-settings.service';\nimport {\n clearTwoFactorChallenge,\n readTwoFactorChallenge,\n} from '../two-factor-challenge.storage';\n\n//#region ----- Constants -----\n\nconst TWO_FACTOR_ERROR_I18N: Record<string, string> = {\n [AXM_TWO_FACTOR_ERROR_CODES.InvalidInput]: '@auth:twofactor.errors.invalid-input',\n [AXM_TWO_FACTOR_ERROR_CODES.IncorrectCode]: '@auth:twofactor.errors.incorrect-code',\n [AXM_TWO_FACTOR_ERROR_CODES.ChallengeExpired]: '@auth:twofactor.errors.challenge-expired',\n [AXM_TWO_FACTOR_ERROR_CODES.RateLimited]: '@auth:twofactor.errors.rate-limited',\n [AXM_TWO_FACTOR_ERROR_CODES.InvalidConfiguration]: '@auth:twofactor.errors.invalid-configuration',\n [AXM_TWO_FACTOR_ERROR_CODES.NotEnabled]: '@auth:twofactor.errors.not-enabled',\n};\n\nconst CHALLENGE_CLEARING_CODES = new Set<string>([\n AXM_TWO_FACTOR_ERROR_CODES.ChallengeExpired,\n AXM_TWO_FACTOR_ERROR_CODES.InvalidConfiguration,\n AXM_TWO_FACTOR_ERROR_CODES.NotEnabled,\n]);\n\n//#endregion\n\n//#region ----- Module Imports -----\n\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXLoadingModule,\n RouterModule,\n AXValidationModule,\n];\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axp-auth-two-factor-code',\n templateUrl: './two-factor-code.component.html',\n imports: [...MODULES],\n changeDetection: ChangeDetectionStrategy.Eager,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXPAuthTwoFactorCodeComponent implements OnInit {\n //#region ----- Services & Dependencies -----\n\n private readonly sessionService = inject(AXPSessionService);\n private readonly authPlatformSettings = inject(AXMAuthPlatformSettingsService);\n private readonly homePageService = inject(AXPHomePageService);\n private readonly toastService = inject(AXToastService);\n private readonly translateService = inject(AXTranslationService);\n private readonly router = inject(Router);\n private readonly activateRoute = inject(ActivatedRoute);\n\n //#endregion\n\n //#region ----- Form References -----\n\n @ViewChild(AXFormComponent)\n private form!: AXFormComponent;\n\n //#endregion\n\n //#region ----- State -----\n\n protected code = '';\n protected isLoading$ = new BehaviorSubject<boolean>(false);\n protected submitText = 'twofactor.submit';\n private challengeId = '';\n private rememberMe = false;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n ngOnInit(): void {\n const stored = readTwoFactorChallenge();\n if (!stored?.challengeId) {\n void this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n return;\n }\n\n this.challengeId = stored.challengeId;\n this.rememberMe = stored.rememberMe;\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected handleBackToLogin(): void {\n clearTwoFactorChallenge();\n void this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n }\n\n protected handleVerifyClick(): void {\n const strategyName = this.authPlatformSettings.defaultStrategyName();\n this.sessionService.setStrategy(strategyName);\n const redirectUrl = this.activateRoute.snapshot.queryParams['redirectUrl'];\n\n void this.form.validate().then(async (form) => {\n if (!form.result) {\n return;\n }\n\n const trimmedCode = this.code.trim();\n if (!trimmedCode || !this.challengeId) {\n return;\n }\n\n this.isLoading$.next(true);\n this.submitText = 'processing';\n\n try {\n await this.sessionService.signin({\n strategy: strategyName,\n username: '',\n password: '',\n challengeId: this.challengeId,\n code: trimmedCode,\n rememberMe: this.rememberMe,\n });\n\n const isAuthenticated = await firstValueFrom(this.sessionService.isAuthenticated$);\n if (!isAuthenticated) {\n throw new Error('Authentication failed after two-factor verification');\n }\n\n clearTwoFactorChallenge();\n await this.navigateAfterAuth(redirectUrl);\n } catch (error: unknown) {\n await this.handleVerifyError(error);\n } finally {\n this.submitText = 'twofactor.submit';\n this.isLoading$.next(false);\n }\n });\n }\n\n //#endregion\n\n //#region ----- Private Helpers -----\n\n private async navigateAfterAuth(redirectUrl?: string): Promise<void> {\n if (this.sessionService.tenant?.id == null) {\n await this.router.navigate(['/auth/account/tenant-chooser']);\n return;\n }\n\n if (this.sessionService.application?.id == null) {\n await this.router.navigate(['/auth/account/app-chooser']);\n return;\n }\n\n if (redirectUrl) {\n await this.router.navigate([redirectUrl]);\n return;\n }\n\n await this.homePageService.navigateTo();\n }\n\n private async handleVerifyError(error: unknown): Promise<void> {\n const apiError = this.extractApiError(error);\n const errorCode =\n (typeof apiError?.['error'] === 'string' && apiError['error']) ||\n (typeof apiError?.['code'] === 'string' && apiError['code']) ||\n '';\n\n const messageKey = TWO_FACTOR_ERROR_I18N[errorCode] ?? '@auth:twofactor.errors.verify-failed';\n const content = await this.translateService.translateAsync(messageKey);\n\n this.toastService.show({\n color: 'danger',\n content,\n timeOut: 5000,\n });\n\n this.code = '';\n\n if (CHALLENGE_CLEARING_CODES.has(errorCode)) {\n clearTwoFactorChallenge();\n await this.router.navigate(['/auth/login'], {\n queryParams: this.activateRoute.snapshot.queryParams,\n });\n }\n }\n\n private extractApiError(error: unknown): Record<string, unknown> | null {\n if (!error || typeof error !== 'object') {\n return null;\n }\n\n const err = error as Record<string, unknown>;\n if (err['apiError'] && typeof err['apiError'] === 'object') {\n return err['apiError'] as Record<string, unknown>;\n }\n\n if (err['error'] && typeof err['error'] === 'object') {\n return err['error'] as Record<string, unknown>;\n }\n\n return null;\n }\n\n //#endregion\n}\n\n//#endregion\n","<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:twofactor.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:twofactor.hint' | translate | async }}\n </p>\n </div>\n <div class=\"w-full lg:w-96 mx-auto\">\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label class=\"text-start\">{{ '@auth:twofactor.textBoxHint' | translate | async }}</ax-label>\n <ax-text-box\n [name]=\"'twoFactorCode'\"\n id=\"twoFactorCode\"\n [autoComplete]=\"'one-time-code'\"\n [(value)]=\"code\"\n >\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-button\n class=\"w-full\"\n [text]=\"('@auth:' + submitText) | translate | async\"\n color=\"primary\"\n [disabled]=\"isLoading$ | async\"\n (onClick)=\"handleVerifyClick()\"\n >\n @if (isLoading$ | async) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n <ax-button\n class=\"w-full\"\n look=\"outline\"\n [text]=\"'@auth:twofactor.back-to-login' | translate | async\"\n [disabled]=\"isLoading$ | async\"\n (onClick)=\"handleBackToLogin()\"\n >\n </ax-button>\n </div>\n </ax-form>\n </div>\n </div>\n</ng-container>\n"],"names":["i3","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AAEA,MAAM,qBAAqB,GAA2B;AACpD,IAAA,CAAC,0BAA0B,CAAC,YAAY,GAAG,sCAAsC;AACjF,IAAA,CAAC,0BAA0B,CAAC,aAAa,GAAG,uCAAuC;AACnF,IAAA,CAAC,0BAA0B,CAAC,gBAAgB,GAAG,0CAA0C;AACzF,IAAA,CAAC,0BAA0B,CAAC,WAAW,GAAG,qCAAqC;AAC/E,IAAA,CAAC,0BAA0B,CAAC,oBAAoB,GAAG,8CAA8C;AACjG,IAAA,CAAC,0BAA0B,CAAC,UAAU,GAAG,oCAAoC;CAC9E;AAED,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAS;AAC/C,IAAA,0BAA0B,CAAC,gBAAgB;AAC3C,IAAA,0BAA0B,CAAC,oBAAoB;AAC/C,IAAA,0BAA0B,CAAC,UAAU;AACtC,CAAA,CAAC;AAEF;AAEA;AAEA,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,eAAe;IACf,cAAc;IACd,aAAa;IACb,iBAAiB;IACjB,mBAAmB;IACnB,eAAe;IACf,YAAY;IACZ,kBAAkB;CACnB;AAED;AAEA;MASa,6BAA6B,CAAA;AAP1C,IAAA,WAAA,GAAA;;AAUmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,oBAAoB,GAAG,MAAM,CAAC,8BAA8B,CAAC;AAC7D,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC5C,QAAA,IAAA,CAAA,YA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AA,EAAA,oqDAAA,EAAA;;sBAiBpC,SAAS;uBAAC,eAAe;;;"}
@@ -6,7 +6,7 @@ function routesFactory() {
6
6
  const routes = [
7
7
  {
8
8
  path: 'twofactor',
9
- loadComponent: () => import('./acorex-platform-module-auth-client-two-factor-code.component-B1334bPg.mjs').then((c) => c.AXPAuthTwoFactorCodeComponent),
9
+ loadComponent: () => import('./acorex-platform-module-auth-client-two-factor-code.component-3oy2lQAi.mjs').then((c) => c.AXPAuthTwoFactorCodeComponent),
10
10
  },
11
11
  {
12
12
  path: 'two-step',
@@ -44,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
44
44
  }] });
45
45
 
46
46
  export { AXPTwoFactorModule };
47
- //# sourceMappingURL=acorex-platform-module-auth-client-two-factor.module-C0mkbR4X.mjs.map
47
+ //# sourceMappingURL=acorex-platform-module-auth-client-two-factor.module-CRx6T5H5.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-auth-client-two-factor.module-C0mkbR4X.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { ROUTES, Routes } from '@angular/router';\n\nfunction routesFactory() {\n const routes: Routes = [\n {\n path: 'twofactor',\n loadComponent: () =>\n import('./two-factor-code/two-factor-code.component').then((c) => c.AXPAuthTwoFactorCodeComponent),\n },\n {\n path: 'two-step',\n redirectTo: 'twofactor',\n pathMatch: 'full',\n },\n ];\n return routes;\n}\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFactory,\n },\n ],\n})\nexport class AXPTwoFactorModule {}\n"],"names":[],"mappings":";;;;AAGA,SAAS,aAAa,GAAA;AACpB,IAAA,MAAM,MAAM,GAAW;AACrB,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,aAAa,EAAE,MACb,OAAO,6EAA6C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CAAC;AACrG,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,UAAU,EAAE,WAAW;AACvB,YAAA,SAAS,EAAE,MAAM;AAClB,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;+GAAlB,kBAAkB,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,EAAA,SAAA,EARlB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,MAAM;AACf,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,UAAU,EAAE,aAAa;AAC1B,aAAA;AACF,SAAA,EAAA,CAAA,CAAA;;2FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,MAAM;AACf,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,UAAU,EAAE,aAAa;AAC1B,yBAAA;AACF,qBAAA;AACF,iBAAA;;;"}
1
+ {"version":3,"file":"acorex-platform-module-auth-client-two-factor.module-CRx6T5H5.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/two-factor/two-factor.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { ROUTES, Routes } from '@angular/router';\n\nfunction routesFactory() {\n const routes: Routes = [\n {\n path: 'twofactor',\n loadComponent: () =>\n import('./two-factor-code/two-factor-code.component').then((c) => c.AXPAuthTwoFactorCodeComponent),\n },\n {\n path: 'two-step',\n redirectTo: 'twofactor',\n pathMatch: 'full',\n },\n ];\n return routes;\n}\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFactory,\n },\n ],\n})\nexport class AXPTwoFactorModule {}\n"],"names":[],"mappings":";;;;AAGA,SAAS,aAAa,GAAA;AACpB,IAAA,MAAM,MAAM,GAAW;AACrB,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,aAAa,EAAE,MACb,OAAO,6EAA6C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CAAC;AACrG,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,UAAU,EAAE,WAAW;AACvB,YAAA,SAAS,EAAE,MAAM;AAClB,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;+GAAlB,kBAAkB,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,EAAA,SAAA,EARlB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,MAAM;AACf,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,UAAU,EAAE,aAAa;AAC1B,aAAA;AACF,SAAA,EAAA,CAAA,CAAA;;2FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,MAAM;AACf,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,UAAU,EAAE,aAAa;AAC1B,yBAAA;AACF,qBAAA;AACF,iBAAA;;;"}
@@ -3,7 +3,7 @@ import { AXPLayoutBuilderService } from '@acorex-platform/framework-client/layou
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, Injectable } from '@angular/core';
5
5
  import { isEmpty } from 'lodash';
6
- import { t as AXPLoginHistoryService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-DINrCCAx.mjs';
6
+ import { t as AXPLoginHistoryService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-CN5vRSEZ.mjs';
7
7
 
8
8
  //#region ---- View login history command ----
9
9
  /** Opens a read-only dialog listing recent sign-in attempts for the current user. */
@@ -104,4 +104,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
104
104
  }] });
105
105
 
106
106
  export { AXPViewLoginHistoryCommand };
107
- //# sourceMappingURL=acorex-platform-module-auth-client-view-login-history.command-CerhsvHF.mjs.map
107
+ //# sourceMappingURL=acorex-platform-module-auth-client-view-login-history.command-BmjD2Aqv.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-auth-client-view-login-history.command-CerhsvHF.mjs","sources":["../../../../libs/modules/auth/client/src/lib/commands/view-login-history.command.ts"],"sourcesContent":["import { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPLayoutBuilderService } from '@acorex-platform/framework-client/layout/builder';\n\nimport { inject, Injectable } from '@angular/core';\nimport { isEmpty } from 'lodash';\nimport { AXPLoginHistoryEntry, AXPLoginHistoryService } from '../shared/services/login-history.service';\n\n//#region ---- View login history command ----\n\n/** Opens a read-only dialog listing recent sign-in attempts for the current user. */\n@Injectable({ providedIn: 'root' })\nexport class AXPViewLoginHistoryCommand implements AXPCommand {\n //#region ---- Services & Dependencies ----\n\n private readonly layoutBuilder = inject(AXPLayoutBuilderService);\n private readonly loginHistoryService = inject(AXPLoginHistoryService);\n private readonly translateService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(): AXPCommandExecuteResultPromise<void> {\n const entries = await this.loginHistoryService.getEntries();\n const rows = await this.buildRows(entries);\n\n const dialogTitle = await this.translateService.translateAsync(\n '@auth:profile-page.commands.view-login-history.dialog.title',\n );\n\n await this.layoutBuilder\n .create()\n .dialog((dialog) => {\n dialog.setTitle(dialogTitle).setSize('lg').setCloseButton(true);\n\n if (isEmpty(rows)) {\n dialog.setMessage('@auth:profile-page.commands.view-login-history.empty');\n } else {\n dialog.content((layout) => {\n layout.list((list) => {\n list\n .setDataSource(rows)\n .setColumns([\n {\n name: 'lastLoginDate',\n title: '@auth:profile-page.commands.view-login-history.columns.date',\n width: '180px',\n widget: {\n type: 'date-time-editor',\n path: 'lastLoginDate',\n options: { format: 'datetime', readOnly: true },\n },\n },\n {\n name: 'device',\n title: '@auth:profile-page.commands.view-login-history.columns.device',\n widget: { type: 'text-editor', path: 'device', options: { readOnly: true } },\n },\n {\n name: 'location',\n title: '@auth:profile-page.commands.view-login-history.columns.location',\n widget: { type: 'text-editor', path: 'location', options: { readOnly: true } },\n },\n {\n name: 'ipAddress',\n title: '@auth:profile-page.commands.view-login-history.columns.ip-address',\n width: '140px',\n widget: { type: 'text-editor', path: 'ipAddress', options: { readOnly: true } },\n },\n {\n name: 'browser',\n title: '@auth:profile-page.commands.view-login-history.columns.browser',\n widget: { type: 'text-editor', path: 'browser', options: { readOnly: true } },\n },\n {\n name: 'statusLabel',\n title: '@auth:profile-page.commands.view-login-history.columns.status',\n width: '120px',\n widget: { type: 'text-editor', path: 'statusLabel', options: { readOnly: true } },\n },\n ])\n .setPaging(true)\n .setShowHeader(true)\n .setAllowSelection(false)\n .setMinHeight(360);\n });\n });\n }\n })\n .show();\n\n return {\n success: true,\n kind: 'object',\n data: undefined,\n metadata: { refresh: false },\n };\n }\n\n //#endregion\n\n //#region ---- Utility Methods ----\n\n private async buildRows(\n entries: AXPLoginHistoryEntry[],\n ): Promise<Array<AXPLoginHistoryEntry & { statusLabel: string }>> {\n return Promise.all(\n entries.map(async (entry) => ({\n ...entry,\n statusLabel: await this.translateService.translateAsync(\n `@auth:profile-page.commands.view-login-history.status.${entry.status}`,\n ),\n })),\n );\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAQA;AAEA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAC/C,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACpD,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAqGjE,IAAA;;;AA/FC,IAAA,MAAM,OAAO,GAAA;QACX,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,UAAU,EAAE;QAC3D,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;QAE1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAC5D,6DAA6D,CAC9D;QAED,MAAM,IAAI,CAAC;AACR,aAAA,MAAM;AACN,aAAA,MAAM,CAAC,CAAC,MAAM,KAAI;AACjB,YAAA,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC;AAE/D,YAAA,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE;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B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADb,MAAM,EAAA,CAAA,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
1
+ {"version":3,"file":"acorex-platform-module-auth-client-view-login-history.command-BmjD2Aqv.mjs","sources":["../../../../libs/modules/auth/client/src/lib/commands/view-login-history.command.ts"],"sourcesContent":["import { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPLayoutBuilderService } from '@acorex-platform/framework-client/layout/builder';\n\nimport { inject, Injectable } from '@angular/core';\nimport { isEmpty } from 'lodash';\nimport { AXPLoginHistoryEntry, AXPLoginHistoryService } from '../shared/services/login-history.service';\n\n//#region ---- View login history command ----\n\n/** Opens a read-only dialog listing recent sign-in attempts for the current user. */\n@Injectable({ providedIn: 'root' })\nexport class AXPViewLoginHistoryCommand implements AXPCommand {\n //#region ---- Services & Dependencies ----\n\n private readonly layoutBuilder = inject(AXPLayoutBuilderService);\n private readonly loginHistoryService = inject(AXPLoginHistoryService);\n private readonly translateService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(): AXPCommandExecuteResultPromise<void> {\n const entries = await this.loginHistoryService.getEntries();\n const rows = await this.buildRows(entries);\n\n const dialogTitle = await this.translateService.translateAsync(\n '@auth:profile-page.commands.view-login-history.dialog.title',\n );\n\n await this.layoutBuilder\n .create()\n .dialog((dialog) => {\n dialog.setTitle(dialogTitle).setSize('lg').setCloseButton(true);\n\n if (isEmpty(rows)) {\n dialog.setMessage('@auth:profile-page.commands.view-login-history.empty');\n } else {\n dialog.content((layout) => {\n layout.list((list) => {\n list\n .setDataSource(rows)\n .setColumns([\n {\n name: 'lastLoginDate',\n title: '@auth:profile-page.commands.view-login-history.columns.date',\n width: '180px',\n widget: {\n type: 'date-time-editor',\n path: 'lastLoginDate',\n options: { format: 'datetime', readOnly: true },\n },\n },\n {\n name: 'device',\n title: '@auth:profile-page.commands.view-login-history.columns.device',\n widget: { type: 'text-editor', path: 'device', options: { readOnly: true } },\n },\n {\n name: 'location',\n title: '@auth:profile-page.commands.view-login-history.columns.location',\n widget: { type: 'text-editor', path: 'location', options: { readOnly: true } },\n },\n {\n name: 'ipAddress',\n title: '@auth:profile-page.commands.view-login-history.columns.ip-address',\n width: '140px',\n widget: { type: 'text-editor', path: 'ipAddress', options: { readOnly: true } },\n },\n {\n name: 'browser',\n title: '@auth:profile-page.commands.view-login-history.columns.browser',\n widget: { type: 'text-editor', path: 'browser', options: { readOnly: true } },\n },\n {\n name: 'statusLabel',\n title: '@auth:profile-page.commands.view-login-history.columns.status',\n width: '120px',\n widget: { type: 'text-editor', path: 'statusLabel', options: { readOnly: true } },\n },\n ])\n .setPaging(true)\n .setShowHeader(true)\n .setAllowSelection(false)\n .setMinHeight(360);\n });\n });\n }\n })\n .show();\n\n return {\n success: true,\n kind: 'object',\n data: undefined,\n metadata: { refresh: false },\n };\n }\n\n //#endregion\n\n //#region ---- Utility Methods ----\n\n private async buildRows(\n entries: AXPLoginHistoryEntry[],\n ): Promise<Array<AXPLoginHistoryEntry & { statusLabel: string }>> {\n return Promise.all(\n entries.map(async (entry) => ({\n ...entry,\n statusLabel: await this.translateService.translateAsync(\n `@auth:profile-page.commands.view-login-history.status.${entry.status}`,\n ),\n })),\n );\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAQA;AAEA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAC/C,QAAA,IAAA,CAAA,mBAAmB,GAAG,MA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;AACA,aAAA,IAAI,EAAE;QAET,OAAO;AACL,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;SAC7B;IACH;;;IAMQ,MAAM,SAAS,CACrB,OAA+B,EAAA;AAE/B,QAAA,OAAO,OAAO,CAAC,GAAG,CAChB,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,MAAM;AAC5B,YAAA,GAAG,KAAK;AACR,YAAA,WAAW,EAAE,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CACrD,CAAA,sDAAA,EAAyD,KAAK,CAAC,MAAM,EAAE,CACxE;SACF,CAAC,CAAC,CACJ;IACH;8GAvGW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADb,MAAM,EAAA,CAAA,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -15,7 +15,7 @@ import { AXPPlatformBrandingService, AXPSettingsService } from '@acorex-platform
15
15
  import { AXPEntityLogoRegistrationService, axpTenantLogoKey, axpExtractLogoUrl, AXPLogoComponent } from '@acorex-platform/framework-client/core';
16
16
  import { AXPUserAvatarComponent } from '@acorex-platform/framework-client/layout/components';
17
17
  import { AXPCommandService } from '@acorex-platform/framework-client/runtime';
18
- import { AXPRegionalSetting } from '@acorex-platform/framework-shared/core';
18
+ import { coerceUnknownToTrimmedString, AXPRegionalSetting } from '@acorex-platform/framework-shared/core';
19
19
  import { AXM_MEMBERSHIP_INVITE_WAITING_ROOM_SOURCE, AXMSecurityManagementServerCommands, AXM_JOIN_REQUEST_ERROR_CODES } from '@acorex-platform/module-security-management-client/contracts';
20
20
  import * as i5 from '@angular/common';
21
21
  import { CommonModule } from '@angular/common';
@@ -269,7 +269,7 @@ class AXPAuthWaitingRoomComponent {
269
269
  }
270
270
  registerTenantLogos(rows) {
271
271
  for (const row of rows) {
272
- const tenantId = typeof row.tenantId === 'string' ? row.tenantId.trim() : '';
272
+ const tenantId = coerceUnknownToTrimmedString(row.tenantId);
273
273
  if (!tenantId) {
274
274
  continue;
275
275
  }
@@ -324,4 +324,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
324
324
  }] });
325
325
 
326
326
  export { AXPAuthWaitingRoomComponent };
327
- //# sourceMappingURL=acorex-platform-module-auth-client-waiting-room.component-Wu8iPiTm.mjs.map
327
+ //# sourceMappingURL=acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/account/waiting-room/waiting-room.component.ts","../../../../libs/modules/auth/client/src/lib/pages/account/waiting-room/waiting-room.component.html"],"sourcesContent":["import { AXValueChangedEvent } from '@acorex/cdk/common';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXSkeletonModule } from '@acorex/components/skeleton';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXFormatService } from '@acorex/core/format';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPPlatformBrandingService, AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport {\n AXPEntityLogoRegistrationService,\n AXPLogoComponent,\n axpExtractLogoUrl,\n axpTenantLogoKey,\n} from '@acorex-platform/framework-client/core';\nimport { AXPUserAvatarComponent } from '@acorex-platform/framework-client/layout/components';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport { AXPRegionalSetting, coerceUnknownToTrimmedString } from '@acorex-platform/framework-shared/core';\nimport {\n AXM_JOIN_REQUEST_ERROR_CODES,\n AXM_MEMBERSHIP_INVITE_WAITING_ROOM_SOURCE,\n AXMSecurityManagementServerCommands,\n type AXMJoinRequestItem,\n type AXMPendingInvitationItem,\n} from '@acorex-platform/module-security-management-client/contracts';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewEncapsulation,\n computed,\n inject,\n signal,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\n\n//#region ----- Types -----\n\ninterface WaitingRoomInvitation extends AXMPendingInvitationItem {\n expiresAtLabel: string;\n}\n\ninterface WaitingRoomJoinRequest extends AXMJoinRequestItem {\n expiresAtLabel: string;\n}\n\n//#endregion\n\n//#region ----- Waiting room -----\n\n@Component({\n selector: 'axp-auth-waiting-room',\n templateUrl: './waiting-room.component.html',\n styleUrls: ['../shared/auth-chooser.layout.css', './waiting-room.component.css'],\n imports: [\n CommonModule,\n FormsModule,\n RouterModule,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXSkeletonModule,\n AXTextBoxModule,\n AXTranslationModule,\n AXPLogoComponent,\n AXPUserAvatarComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXPAuthWaitingRoomComponent implements OnInit {\n //#region ----- Services & Dependencies -----\n\n private readonly sessionService = inject(AXPSessionService);\n private readonly commandService = inject(AXPCommandService);\n private readonly translationService = inject(AXTranslationService);\n private readonly toastService = inject(AXToastService);\n private readonly platformBranding = inject(AXPPlatformBrandingService);\n private readonly formatService = inject(AXFormatService);\n private readonly settingsService = inject(AXPSettingsService);\n private readonly logoRegistration = inject(AXPEntityLogoRegistrationService);\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n\n //#endregion\n\n //#region ----- State Signals -----\n\n protected readonly platformTitle = signal('');\n protected readonly loading = signal(true);\n protected readonly busyId = signal<string | null>(null);\n protected readonly invitations = signal<WaitingRoomInvitation[]>([]);\n protected readonly joinRequests = signal<WaitingRoomJoinRequest[]>([]);\n /** True when opened from membership-invite notification or user already has other tenants. */\n protected readonly membershipContext = signal(false);\n protected readonly uniqueName = signal('');\n protected readonly submitBusy = signal(false);\n\n //#endregion\n\n //#region ----- Computed Properties -----\n\n protected readonly titleKey = computed(() =>\n this.membershipContext()\n ? '@auth:waiting-room.membership-invite.title'\n : '@auth:waiting-room.title',\n );\n\n protected readonly descriptionKey = computed(() =>\n this.membershipContext()\n ? '@auth:waiting-room.membership-invite.description'\n : '@auth:waiting-room.description',\n );\n\n protected readonly canSubmitJoinRequest = computed(\n () => this.uniqueName().trim().length > 0 && !this.submitBusy(),\n );\n\n protected get user() {\n return this.sessionService.user;\n }\n\n protected tenantLogoKey(tenantId: string): string {\n return axpTenantLogoKey(tenantId);\n }\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n async ngOnInit(): Promise<void> {\n const title = await this.platformBranding.resolvePlatformTitle().catch(() => '');\n this.platformTitle.set(title || 'ACoreX');\n\n // After admin approves a join request, a refresh must leave the waiting room.\n if (await this.redirectIfMembershipAvailable()) {\n return;\n }\n\n const source = String(this.route.snapshot.queryParamMap.get('source') ?? '').trim();\n const fromInvite = source === AXM_MEMBERSHIP_INVITE_WAITING_ROOM_SOURCE;\n this.membershipContext.set(fromInvite);\n\n await this.reloadLists();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n /**\n * Refresh clears the in-memory tenants catalog cache (hard navigation), then the\n * tenant-chooser guard sends the user back here only when still without membership.\n */\n protected async reload(): Promise<void> {\n if (typeof window !== 'undefined') {\n window.location.assign('/auth/account/tenant-chooser');\n return;\n }\n if (await this.redirectIfMembershipAvailable()) {\n return;\n }\n await this.reloadLists();\n }\n\n protected onUniqueNameChange(event: AXValueChangedEvent): void {\n const next = typeof event?.value === 'string' ? event.value : String(event?.value ?? '');\n this.uniqueName.set(next);\n }\n\n protected async submitJoinRequest(): Promise<void> {\n const uniqueName = this.uniqueName().trim();\n if (!uniqueName || this.submitBusy()) {\n return;\n }\n this.submitBusy.set(true);\n try {\n const result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.RequestTenantMembership,\n { uniqueName },\n );\n if (!result?.success) {\n const text = await this.joinRequestErrorText(result);\n this.toastService.show({ color: 'danger', content: text, timeOut: 4000 });\n return;\n }\n const ok = await this.translationService\n .translateAsync('@auth:waiting-room.join-request.submit-success')\n .catch(() => 'Membership request sent. An administrator will review it.');\n this.toastService.show({ color: 'success', content: ok, timeOut: 3000 });\n this.uniqueName.set('');\n await this.reloadJoinRequests();\n } finally {\n this.submitBusy.set(false);\n }\n }\n\n protected async cancelJoinRequest(item: AXMJoinRequestItem): Promise<void> {\n this.busyId.set(item.tenantUserId);\n try {\n const result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.CancelMyJoinRequest,\n { tenantUserId: item.tenantUserId },\n );\n if (!result?.success) {\n const text = await this.joinRequestErrorText(result);\n this.toastService.show({ color: 'danger', content: text, timeOut: 4000 });\n return;\n }\n await this.reloadJoinRequests();\n } finally {\n this.busyId.set(null);\n }\n }\n\n protected async accept(item: AXMPendingInvitationItem): Promise<void> {\n this.busyId.set(item.tenantUserId);\n try {\n let newPassword: string | undefined;\n // First attempt without password; if server requires one, prompt once.\n let result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.AcceptMyInvitation,\n { tenantUserId: item.tenantUserId },\n );\n const needsPassword =\n !result?.success &&\n typeof result?.message?.text === 'string' &&\n result.message.text.toLowerCase().includes('password');\n if (needsPassword) {\n const promptTitle = await this.translationService\n .translateAsync('@auth:waiting-room.set-password-title')\n .catch(() => 'Set Password');\n const promptMessage = await this.translationService\n .translateAsync('@auth:waiting-room.set-password-message')\n .catch(() => 'Choose a password to activate your account (min 6 characters).');\n newPassword = window.prompt(`${promptTitle}\\n${promptMessage}`) ?? undefined;\n if (!newPassword || newPassword.length < 6) {\n return;\n }\n result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.AcceptMyInvitation,\n { tenantUserId: item.tenantUserId, newPassword },\n );\n }\n if (!result?.success) {\n const fallback = await this.translationService\n .translateAsync('@auth:waiting-room.accept-failed')\n .catch(() => 'Could not accept the invitation.');\n const text =\n (typeof result?.message?.text === 'string' && result.message.text) || fallback;\n this.toastService.show({ color: 'danger', title: text, content: text, timeOut: 4000 });\n return;\n }\n const ok = await this.translationService\n .translateAsync('@auth:waiting-room.accept-success')\n .catch(() => 'Invitation accepted. Choose a tenant to continue.');\n this.toastService.show({ color: 'success', title: ok, content: ok, timeOut: 3000 });\n // Hard reload clears the in-memory tenants catalog cache so the chooser\n // sees the newly activated membership (no public invalidate API yet).\n if (typeof window !== 'undefined') {\n window.location.assign('/auth/account/tenant-chooser');\n return;\n }\n await this.router.navigate(['/auth/account/tenant-chooser']);\n } finally {\n this.busyId.set(null);\n }\n }\n\n protected async decline(item: AXMPendingInvitationItem): Promise<void> {\n this.busyId.set(item.tenantUserId);\n try {\n const result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.DeclineInvitation,\n { tenantUserId: item.tenantUserId },\n );\n if (!result?.success) {\n const fallback = await this.translationService\n .translateAsync('@auth:waiting-room.decline-failed')\n .catch(() => 'Could not decline the invitation.');\n const text =\n (typeof result?.message?.text === 'string' && result.message.text) || fallback;\n this.toastService.show({ color: 'danger', title: text, content: text, timeOut: 4000 });\n return;\n }\n await this.reloadLists();\n } finally {\n this.busyId.set(null);\n }\n }\n\n protected async signOut(): Promise<void> {\n await this.sessionService.signout().catch(() => undefined);\n await this.router.navigate(['/auth/login']);\n }\n\n protected async goBack(): Promise<void> {\n await this.router.navigate(['/auth/account/tenant-chooser']);\n }\n\n //#endregion\n\n //#region ----- Data Loading -----\n\n /** Returns true when navigation away from the waiting room was started. */\n private async redirectIfMembershipAvailable(): Promise<boolean> {\n const tenants = await this.sessionService.getTenantsList().catch(() => []);\n if (!Array.isArray(tenants) || tenants.length === 0) {\n return false;\n }\n await this.router.navigate(['/auth/account/tenant-chooser']);\n return true;\n }\n\n private async reloadLists(): Promise<void> {\n this.loading.set(true);\n try {\n await Promise.all([this.reloadInvitations(), this.reloadJoinRequests()]);\n } finally {\n this.loading.set(false);\n }\n }\n\n private async reloadInvitations(): Promise<void> {\n const result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.ListMyPendingInvitations,\n {},\n );\n const items =\n ((result as { data?: { items?: AXMPendingInvitationItem[] } })?.data?.items as\n | AXMPendingInvitationItem[]\n | undefined) ?? [];\n const rows = Array.isArray(items) ? items : [];\n this.registerTenantLogos(rows);\n this.invitations.set(\n await Promise.all(\n rows.map(async (item) => ({\n ...item,\n expiresAtLabel: await this.formatExpiresAt(item.expiresAt),\n })),\n ),\n );\n }\n\n private async reloadJoinRequests(): Promise<void> {\n try {\n const result = await this.commandService.execute(\n AXMSecurityManagementServerCommands.ListMyJoinRequests,\n {},\n );\n const items =\n ((result as { data?: { items?: AXMJoinRequestItem[] } })?.data?.items as\n | AXMJoinRequestItem[]\n | undefined) ?? [];\n const rows = Array.isArray(items) ? items : [];\n this.registerTenantLogos(rows);\n this.joinRequests.set(\n await Promise.all(\n rows.map(async (item) => ({\n ...item,\n expiresAtLabel: await this.formatExpiresAt(item.expiresAt),\n })),\n ),\n );\n } catch {\n this.joinRequests.set([]);\n }\n }\n\n private registerTenantLogos(\n rows: Array<{ tenantId?: string; tenantLogo?: string; tenantTitle?: string }>,\n ): void {\n for (const row of rows) {\n const tenantId = coerceUnknownToTrimmedString(row.tenantId);\n if (!tenantId) {\n continue;\n }\n this.logoRegistration.registerTenant({\n id: tenantId,\n title: row.tenantTitle,\n logo: axpExtractLogoUrl(row.tenantLogo) ?? row.tenantLogo,\n });\n }\n }\n\n //#endregion\n\n //#region ----- Display -----\n\n private async joinRequestErrorText(\n result: { message?: { code?: string } } | null | undefined,\n ): Promise<string> {\n const code = typeof result?.message?.code === 'string' ? result.message.code : '';\n const keyByCode: Record<string, string> = {\n [AXM_JOIN_REQUEST_ERROR_CODES.AlreadyMember]:\n '@auth:waiting-room.join-request.errors.already-member',\n [AXM_JOIN_REQUEST_ERROR_CODES.InvitePending]:\n '@auth:waiting-room.join-request.errors.invite-pending',\n [AXM_JOIN_REQUEST_ERROR_CODES.TenantNotFound]:\n '@auth:waiting-room.join-request.errors.not-found',\n [AXM_JOIN_REQUEST_ERROR_CODES.NotPending]:\n '@auth:waiting-room.join-request.errors.not-pending',\n };\n const key = keyByCode[code] ?? '@auth:waiting-room.join-request.submit-failed';\n return this.translationService.translateAsync(key).catch(() => 'Could not send the request.');\n }\n\n private async formatExpiresAt(iso: string | undefined): Promise<string> {\n const parsed = iso ? Date.parse(iso) : Number.NaN;\n if (!Number.isFinite(parsed)) {\n return '';\n }\n const dateFormat = await this.settingsService.get(AXPRegionalSetting.ShortDate);\n const timeFormat = await this.settingsService.get(AXPRegionalSetting.ShortTime);\n const format = `${dateFormat} ${timeFormat}`.trim();\n return String(this.formatService.format(new Date(parsed), 'datetime', { format }) ?? '');\n }\n\n //#endregion\n}\n\n//#endregion\n","<main class=\"axp-auth-chooser\">\n <div class=\"axp-auth-chooser__inner\">\n <section class=\"axp-auth-chooser__brand\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onLight\"\n format=\"full\"\n [size]=\"260\"\n [attr.alt]=\"platformTitle()\"\n ></axp-logo>\n </section>\n\n <section class=\"axp-auth-chooser__card-wrap\">\n <div class=\"axp-auth-chooser__card\">\n <!-- ----- Loading skeleton while invitations are fetched ----- -->\n @if (loading()) {\n <ax-skeleton [animated]=\"true\" class=\"size-[72px] rounded-full shrink-0\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"h-6 w-56 max-w-full\"></ax-skeleton>\n }\n <!-- ----- Signed-in identity for the waiting room ----- -->\n @else {\n <axp-user-avatar\n [size]=\"72\"\n [userId]=\"user?.id!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n <h2 class=\"md:text-lg font-medium\">\n {{ titleKey() | translate | async }}\n </h2>\n <p class=\"text-neutral-500 text-sm md:text-base font-medium\">\n {{ descriptionKey() | translate | async }}\n </p>\n <p class=\"text-sm text-neutral-600 m-0\">\n {{ user?.title || user?.name }}\n </p>\n }\n\n <div class=\"mt-4 w-full flex flex-col gap-3 text-start\">\n <!-- ----- Request membership by unique tenant name ----- -->\n <h3 class=\"text-sm font-semibold m-0\">\n {{ '@auth:waiting-room.join-request.heading' | translate | async }}\n </h3>\n <p class=\"text-sm text-neutral-500 m-0\">\n {{ '@auth:waiting-room.join-request.help' | translate | async }}\n </p>\n <div class=\"flex flex-col gap-1\">\n <span class=\"text-xs text-neutral-500\">\n {{ '@auth:waiting-room.join-request.unique-name' | translate | async }}\n </span>\n <ax-text-box\n [ngModel]=\"uniqueName()\"\n (onValueChanged)=\"onUniqueNameChange($event)\"\n [placeholder]=\"('@auth:waiting-room.join-request.placeholder' | translate | async) ?? ''\"\n ></ax-text-box>\n </div>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@auth:waiting-room.join-request.submit' | translate | async\"\n [disabled]=\"!canSubmitJoinRequest()\"\n (onClick)=\"submitJoinRequest()\"\n ></ax-button>\n\n <!-- ----- Pending join requests waiting for admin review ----- -->\n @if (joinRequests().length > 0) {\n <h3 class=\"text-sm font-semibold m-0 mt-2\">\n {{ '@auth:waiting-room.join-request.pending-heading' | translate | async }}\n </h3>\n @for (item of joinRequests(); track item.tenantUserId) {\n <div\n class=\"flex flex-col gap-2 p-3 rounded-md border border-neutral-100 dark:border-neutral-800\"\n [class.opacity-50]=\"busyId() === item.tenantUserId\"\n >\n <div class=\"flex items-center gap-3\">\n <div class=\"shrink-0 size-9 overflow-hidden rounded-md grid place-items-center\">\n <axp-logo\n [logoKey]=\"tenantLogoKey(item.tenantId)\"\n appearance=\"colored\"\n [size]=\"36\"\n class=\"size-9 overflow-hidden\"\n ></axp-logo>\n </div>\n <div class=\"font-medium\">\n {{ item.tenantTitle || item.tenantName || item.tenantId }}\n </div>\n </div>\n <!-- ----- Show request expiry when present ----- -->\n @if (item.expiresAtLabel) {\n <div class=\"text-xs text-neutral-500\">\n {{\n '@auth:waiting-room.expires-at'\n | translate: { params: { datetime: item.expiresAtLabel } }\n | async\n }}\n </div>\n }\n <ax-button\n look=\"outline\"\n color=\"default\"\n [text]=\"'@auth:waiting-room.join-request.cancel' | translate | async\"\n [disabled]=\"!!busyId() || submitBusy()\"\n (onClick)=\"cancelJoinRequest(item)\"\n ></ax-button>\n </div>\n }\n }\n\n <h3 class=\"text-sm font-semibold m-0\">\n {{ '@auth:waiting-room.invitations-heading' | translate | async }}\n </h3>\n\n <!-- ----- Invitation list loading placeholders ----- -->\n @if (loading()) {\n @for (n of [1, 2]; track n) {\n <ax-skeleton [animated]=\"true\" class=\"h-16 w-full rounded-md\"></ax-skeleton>\n }\n }\n <!-- ----- Empty state when there are no pending invitations ----- -->\n @else if (invitations().length === 0) {\n <p class=\"text-sm text-neutral-500 m-0\">\n {{ '@auth:waiting-room.empty' | translate | async }}\n </p>\n }\n <!-- ----- Pending invitation cards with accept / decline ----- -->\n @else {\n @for (item of invitations(); track item.tenantUserId) {\n <div\n class=\"flex flex-col gap-2 p-3 rounded-md border border-neutral-100 dark:border-neutral-800\"\n [class.opacity-50]=\"busyId() === item.tenantUserId\"\n >\n <div class=\"flex items-center gap-3\">\n <div class=\"shrink-0 size-9 overflow-hidden rounded-md grid place-items-center\">\n <axp-logo\n [logoKey]=\"tenantLogoKey(item.tenantId)\"\n appearance=\"colored\"\n [size]=\"36\"\n class=\"size-9 overflow-hidden\"\n ></axp-logo>\n </div>\n <div class=\"font-medium\">\n {{ item.tenantTitle || item.tenantId }}\n </div>\n </div>\n <!-- ----- Show invitation expiry when present ----- -->\n @if (item.expiresAtLabel) {\n <div class=\"text-xs text-neutral-500\">\n {{\n '@auth:waiting-room.expires-at'\n | translate: { params: { datetime: item.expiresAtLabel } }\n | async\n }}\n </div>\n }\n <div class=\"flex gap-2 flex-wrap\">\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@auth:waiting-room.actions.accept' | translate | async\"\n [disabled]=\"!!busyId()\"\n (onClick)=\"accept(item)\"\n ></ax-button>\n <ax-button\n look=\"outline\"\n color=\"default\"\n [text]=\"'@auth:waiting-room.actions.decline' | translate | async\"\n [disabled]=\"!!busyId()\"\n (onClick)=\"decline(item)\"\n ></ax-button>\n </div>\n </div>\n }\n }\n </div>\n\n <div class=\"mt-4 flex gap-2 flex-wrap justify-center\">\n @if (membershipContext()) {\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@auth:waiting-room.actions.back' | translate | async\"\n (onClick)=\"goBack()\"\n ></ax-button>\n }\n <ax-button\n look=\"outline\"\n color=\"default\"\n [text]=\"'@auth:waiting-room.actions.sign-out' | translate | async\"\n (onClick)=\"signOut()\"\n ></ax-button>\n <ax-button\n look=\"outline\"\n color=\"default\"\n [text]=\"'@auth:waiting-room.actions.refresh' | translate | async\"\n (onClick)=\"reload()\"\n ></ax-button>\n </div>\n </div>\n </section>\n </div>\n</main>\n"],"names":["i2","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA;AAEA;MAsBa,2BAA2B,CAAA;AApBxC,IAAA,WAAA,GAAA;;AAuBmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AAC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AKb,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBApBvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,EAAA,OAAA,EAGxB;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;wBACZ,cAAc;wBACd,iBAAiB;wBACjB,eAAe;wBACf,gBAAgB;wBAChB,eAAe;wBACf,mBAAmB;wBACnB,gBAAgB;wBAChB,sBAAsB;AACvB,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,6wQAAA,EAAA,MAAA,EAAA,CAAA,4yIAAA,CAAA,EAAA;;;"}
@@ -16,7 +16,7 @@ import { CommonModule } from '@angular/common';
16
16
  import * as i0 from '@angular/core';
17
17
  import { inject, DestroyRef, signal, viewChild, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
18
18
  import { ActivatedRoute, Router } from '@angular/router';
19
- import { u as AXPWelcomeOnboardingFlowService, D as AXPOnboardingProgressService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-DINrCCAx.mjs';
19
+ import { u as AXPWelcomeOnboardingFlowService, D as AXPOnboardingProgressService } from './acorex-platform-module-auth-client-acorex-platform-module-auth-client-CN5vRSEZ.mjs';
20
20
 
21
21
  //#region ----- Scoped palette CSS -----
22
22
  const WELCOME_PALETTE_SCOPE = '.axp-welcome-onboarding';
@@ -810,4 +810,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
810
810
  }], propDecorators: { formScrollHost: [{ type: i0.ViewChild, args: ['formScrollHost', { isSignal: true }] }], confettiHost: [{ type: i0.ViewChild, args: ['confettiHost', { isSignal: true }] }] } });
811
811
 
812
812
  export { AXPAuthWelcomeOnboardingPageComponent };
813
- //# sourceMappingURL=acorex-platform-module-auth-client-welcome-onboarding-page.component-BKqHYkv2.mjs.map
813
+ //# sourceMappingURL=acorex-platform-module-auth-client-welcome-onboarding-page.component-BwVu2fzw.mjs.map