@acorex-platform/module-auth-client 2.0.0-next.5 → 2.0.0-next.54
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.
- package/fesm2022/{acorex-platform-module-auth-client-accept-invitation.component-Bq49K_8F.mjs → acorex-platform-module-auth-client-accept-invitation.component-DJ9xVuLR.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-accept-invitation.component-Bq49K_8F.mjs.map → acorex-platform-module-auth-client-accept-invitation.component-DJ9xVuLR.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-acorex-platform-module-auth-client-CWE43xt1.mjs → acorex-platform-module-auth-client-acorex-platform-module-auth-client-LvKwBD7L.mjs} +105 -90
- package/fesm2022/acorex-platform-module-auth-client-acorex-platform-module-auth-client-LvKwBD7L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-D14L5cdt.mjs → acorex-platform-module-auth-client-app-chooser.component-BwCKpB0-.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-D14L5cdt.mjs.map → acorex-platform-module-auth-client-app-chooser.component-BwCKpB0-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-blank.layout-xSXPWxyw.mjs → acorex-platform-module-auth-client-blank.layout-Br0_-TxC.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-blank.layout-xSXPWxyw.mjs.map → acorex-platform-module-auth-client-blank.layout-Br0_-TxC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-change-password.command-DN0yaJ9l.mjs → acorex-platform-module-auth-client-change-password.command-Cc0aiSYd.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-change-password.command-DN0yaJ9l.mjs.map → acorex-platform-module-auth-client-change-password.command-Cc0aiSYd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-change-photo.command-CWeeauFw.mjs → acorex-platform-module-auth-client-change-photo.command-CNerD59E.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-change-photo.command-CWeeauFw.mjs.map → acorex-platform-module-auth-client-change-photo.command-CNerD59E.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-command-return-url.util-mBmtJ7T2.mjs → acorex-platform-module-auth-client-command-return-url.util-D2zy8M1F.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-command-return-url.util-mBmtJ7T2.mjs.map → acorex-platform-module-auth-client-command-return-url.util-D2zy8M1F.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-auth-client-contracts.mjs +17 -2
- package/fesm2022/acorex-platform-module-auth-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-edit-account-info.command-DulLUfWs.mjs → acorex-platform-module-auth-client-edit-account-info.command-hZ1ze6Q8.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-edit-account-info.command-DulLUfWs.mjs.map → acorex-platform-module-auth-client-edit-account-info.command-hZ1ze6Q8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-edit-signature.command-TjOLhvKL.mjs → acorex-platform-module-auth-client-edit-signature.command-ZEGATkZs.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-edit-signature.command-TjOLhvKL.mjs.map → acorex-platform-module-auth-client-edit-signature.command-ZEGATkZs.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-get-user-activity.query-DI0JR1cS.mjs → acorex-platform-module-auth-client-get-user-activity.query-Cam2NyHp.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-get-user-activity.query-DI0JR1cS.mjs.map → acorex-platform-module-auth-client-get-user-activity.query-Cam2NyHp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-lock-screen.command-BnS3p6z3.mjs → acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-lock-screen.command-BnS3p6z3.mjs.map → acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-login.module-DVbaukL7.mjs → acorex-platform-module-auth-client-login.module-mWYuF4d_.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-login.module-DVbaukL7.mjs.map → acorex-platform-module-auth-client-login.module-mWYuF4d_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-manage-two-factor.command-7e4HVcyU.mjs → acorex-platform-module-auth-client-manage-two-factor.command-DoMcX3d_.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-manage-two-factor.command-7e4HVcyU.mjs.map → acorex-platform-module-auth-client-manage-two-factor.command-DoMcX3d_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-menu.provider-Bz-kRip4.mjs → acorex-platform-module-auth-client-menu.provider-BrnaQ1ed.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-menu.provider-Bz-kRip4.mjs.map → acorex-platform-module-auth-client-menu.provider-BrnaQ1ed.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-oauth-callback.component-DLrIDQXn.mjs → acorex-platform-module-auth-client-oauth-callback.component-WEoRB-N-.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-oauth-callback.component-DLrIDQXn.mjs.map → acorex-platform-module-auth-client-oauth-callback.component-WEoRB-N-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-open-sessions.command-CMNlOr22.mjs → acorex-platform-module-auth-client-open-sessions.command-ClbBCljk.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-open-sessions.command-CMNlOr22.mjs.map → acorex-platform-module-auth-client-open-sessions.command-ClbBCljk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-open-waiting-room.command-CR-_ppYd.mjs → acorex-platform-module-auth-client-open-waiting-room.command-C7FwVYLd.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-open-waiting-room.command-CR-_ppYd.mjs.map → acorex-platform-module-auth-client-open-waiting-room.command-C7FwVYLd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-password.component-DekdMba0.mjs → acorex-platform-module-auth-client-password.component-BNhlOo_P.mjs} +33 -17
- package/fesm2022/acorex-platform-module-auth-client-password.component-BNhlOo_P.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-auth-client-password.component-CE2nXYCz.mjs → acorex-platform-module-auth-client-password.component-BRnmcVUL.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-password.component-CE2nXYCz.mjs.map → acorex-platform-module-auth-client-password.component-BRnmcVUL.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-pin-code.constants-CRsFG7fg.mjs → acorex-platform-module-auth-client-pin-code.constants-Cf4Ktvwz.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-pin-code.constants-CRsFG7fg.mjs.map → acorex-platform-module-auth-client-pin-code.constants-Cf4Ktvwz.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-platform-settings-unavailable.component-BJMtsa99.mjs → acorex-platform-module-auth-client-platform-settings-unavailable.component-CM8Lk6EC.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-platform-settings-unavailable.component-BJMtsa99.mjs.map → acorex-platform-module-auth-client-platform-settings-unavailable.component-CM8Lk6EC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-activity-chart.component-DUpEusRs.mjs → acorex-platform-module-auth-client-profile-activity-chart.component-C7eIc_pL.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-profile-activity-chart.component-DUpEusRs.mjs.map → acorex-platform-module-auth-client-profile-activity-chart.component-C7eIc_pL.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-coming-soon.command-Crh2GsRA.mjs → acorex-platform-module-auth-client-profile-coming-soon.command-BwcWdaYV.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-coming-soon.command-Crh2GsRA.mjs.map → acorex-platform-module-auth-client-profile-coming-soon.command-BwcWdaYV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-delete-account-danger-zone.component-Dx2-o9XL.mjs → acorex-platform-module-auth-client-profile-delete-account-danger-zone.component-BahADIHf.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-profile-delete-account-danger-zone.component-Dx2-o9XL.mjs.map → acorex-platform-module-auth-client-profile-delete-account-danger-zone.component-BahADIHf.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-page-component.provider-DaFESP6l.mjs → acorex-platform-module-auth-client-profile-page-component.provider-C3c8g9wa.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-profile-page-component.provider-DaFESP6l.mjs.map → acorex-platform-module-auth-client-profile-page-component.provider-C3c8g9wa.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-profile-page.component-ClNuHd7p.mjs → acorex-platform-module-auth-client-profile-page.component-BkORVzXq.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-profile-page.component-ClNuHd7p.mjs.map → acorex-platform-module-auth-client-profile-page.component-BkORVzXq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-register-password.component-Cu_R4Y5F.mjs → acorex-platform-module-auth-client-register-password.component-Bz1Y10RY.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-register-password.component-Cu_R4Y5F.mjs.map → acorex-platform-module-auth-client-register-password.component-Bz1Y10RY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-register.module-DwbrjF2b.mjs → acorex-platform-module-auth-client-register.module-BDtivWVl.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-register.module-DwbrjF2b.mjs.map → acorex-platform-module-auth-client-register.module-BDtivWVl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-remove-pin-code.command-CC5IWpwS.mjs → acorex-platform-module-auth-client-remove-pin-code.command-dSUrW_14.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-remove-pin-code.command-CC5IWpwS.mjs.map → acorex-platform-module-auth-client-remove-pin-code.command-dSUrW_14.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-reset-password.component-Cz4UePgF.mjs → acorex-platform-module-auth-client-reset-password.component-COsy6HUr.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-reset-password.component-Cz4UePgF.mjs.map → acorex-platform-module-auth-client-reset-password.component-COsy6HUr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-result.component-BS5uizi6.mjs → acorex-platform-module-auth-client-result.component-755aGMyK.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-result.component-BS5uizi6.mjs.map → acorex-platform-module-auth-client-result.component-755aGMyK.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-routes-Dw8YhBrw.mjs → acorex-platform-module-auth-client-routes-BNr55xqd.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-auth-client-routes-Dw8YhBrw.mjs.map → acorex-platform-module-auth-client-routes-BNr55xqd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-session-limit.component-DH58dRba.mjs → acorex-platform-module-auth-client-session-limit.component-DonVNqDf.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-session-limit.component-DH58dRba.mjs.map → acorex-platform-module-auth-client-session-limit.component-DonVNqDf.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-session-lock-overlay.component-8Bj33U4_.mjs → acorex-platform-module-auth-client-session-lock-overlay.component-CUyA9vGi.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-auth-client-session-lock-overlay.component-8Bj33U4_.mjs.map → acorex-platform-module-auth-client-session-lock-overlay.component-CUyA9vGi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.command-BEyXf2XA.mjs → acorex-platform-module-auth-client-set-pin-code.command-C87VNWyn.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.command-BEyXf2XA.mjs.map → acorex-platform-module-auth-client-set-pin-code.command-C87VNWyn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.component-CRft8IKd.mjs → acorex-platform-module-auth-client-set-pin-code.component-f58QBER2.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-auth-client-set-pin-code.component-CRft8IKd.mjs.map → acorex-platform-module-auth-client-set-pin-code.component-f58QBER2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-settings.provider-DsKsZrOC.mjs → acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs} +37 -3
- package/fesm2022/acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-auth-client-show-profile-command-BWoDxIdx.mjs → acorex-platform-module-auth-client-show-profile-command-BprKlX1F.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-show-profile-command-BWoDxIdx.mjs.map → acorex-platform-module-auth-client-show-profile-command-BprKlX1F.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-signout-command-D4Qgv7q2.mjs → acorex-platform-module-auth-client-signout-command-Be5bQi8S.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-signout-command-D4Qgv7q2.mjs.map → acorex-platform-module-auth-client-signout-command-Be5bQi8S.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-tenant-chooser.component-B0kWYel9.mjs → acorex-platform-module-auth-client-tenant-chooser.component-ZLNSHtpe.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-tenant-chooser.component-B0kWYel9.mjs.map → acorex-platform-module-auth-client-tenant-chooser.component-ZLNSHtpe.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-tenant-request.component-B-qx-HIi.mjs → acorex-platform-module-auth-client-tenant-request.component-DGmq6I9N.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-tenant-request.component-B-qx-HIi.mjs.map → acorex-platform-module-auth-client-tenant-request.component-DGmq6I9N.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-two-factor-challenge.storage-mi0UD7Sc.mjs → acorex-platform-module-auth-client-two-factor-challenge.storage-CRxxIWr4.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-two-factor-challenge.storage-mi0UD7Sc.mjs.map → acorex-platform-module-auth-client-two-factor-challenge.storage-CRxxIWr4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-two-factor-code.component-DkIXfsXi.mjs → acorex-platform-module-auth-client-two-factor-code.component-C4JdjAEa.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-two-factor-code.component-DkIXfsXi.mjs.map → acorex-platform-module-auth-client-two-factor-code.component-C4JdjAEa.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-two-factor.module-DMlxcFuT.mjs → acorex-platform-module-auth-client-two-factor.module-CxUrLbb4.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-two-factor.module-DMlxcFuT.mjs.map → acorex-platform-module-auth-client-two-factor.module-CxUrLbb4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-view-login-history.command-BHbkWOO3.mjs → acorex-platform-module-auth-client-view-login-history.command-ClrzUAOX.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-view-login-history.command-BHbkWOO3.mjs.map → acorex-platform-module-auth-client-view-login-history.command-ClrzUAOX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs → acorex-platform-module-auth-client-waiting-room.component-BCBZEvJi.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-waiting-room.component-C0VyZQdV.mjs.map → acorex-platform-module-auth-client-waiting-room.component-BCBZEvJi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding-page.component-DcVVR1Zp.mjs → acorex-platform-module-auth-client-welcome-onboarding-page.component-C7vJ-WrT.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding-page.component-DcVVR1Zp.mjs.map → acorex-platform-module-auth-client-welcome-onboarding-page.component-C7vJ-WrT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding.command-BpZt3m22.mjs → acorex-platform-module-auth-client-welcome-onboarding.command-CdGRjX5D.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding.command-BpZt3m22.mjs.map → acorex-platform-module-auth-client-welcome-onboarding.command-CdGRjX5D.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-auth-client.mjs +1 -1
- package/i18n/en-AU/auth.json +6 -0
- package/i18n/en-US/auth.json +6 -0
- package/i18n/fa-IR/auth.json +6 -0
- package/package.json +3 -3
- package/types/acorex-platform-module-auth-client-contracts.d.ts +15 -2
- package/types/acorex-platform-module-auth-client.d.ts +2 -0
- package/fesm2022/acorex-platform-module-auth-client-acorex-platform-module-auth-client-CWE43xt1.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-auth-client-password.component-DekdMba0.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-auth-client-settings.provider-DsKsZrOC.mjs.map +0 -1
|
@@ -304,7 +304,7 @@ class AXPAuthWaitingRoomComponent {
|
|
|
304
304
|
return String(this.formatService.format(new Date(parsed), 'datetime', { format }) ?? '');
|
|
305
305
|
}
|
|
306
306
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAuthWaitingRoomComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
307
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAuthWaitingRoomComponent, isStandalone: true, selector: "axp-auth-waiting-room", ngImport: i0, template: "<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", styles: ["@layer properties;.axp-auth-chooser{display:flex;width:100%;flex-direction:column;align-items:center;overflow-y:auto;background-color:rgba(var(--ax-sys-color-lightest-surface));height:100vh;height:100dvh;-webkit-overflow-scrolling:touch}.axp-auth-chooser__inner{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 6);padding-inline:calc(var(--spacing, .25rem) * 4);min-height:100%;box-sizing:border-box;padding-top:max(2.75rem,calc(env(safe-area-inset-top,0px) + 1.75rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}.axp-auth-chooser__brand{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,85vw);max-width:100%}.axp-auth-chooser__card-wrap{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__card{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 4);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:0px;padding:calc(var(--spacing, .25rem) * 5);text-align:center;--tw-shadow: 0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);max-width:28rem}.axp-auth-chooser__footer{flex-shrink:0;padding-inline:var(--spacing, .25rem);text-align:center}@media(min-width:640px){.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 8);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:max(3rem,calc(env(safe-area-inset-top,0px) + 2rem))}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,90vw)}}@media(min-width:768px){.axp-auth-chooser{background-color:var(--color-bg-default)}.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 10);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{gap:calc(var(--spacing, .25rem) * 2);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing, .25rem) * 6);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);width:min(90vw,28rem);max-width:28rem}}@media(min-width:1024px){.axp-auth-chooser__inner{padding-inline:0px;padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{width:min(90vw,28rem)}}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXSkeletonModule }, { kind: "component", type: i3.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["logoKey", "appearance", "size", "format"] }, { kind: "component", type: AXPUserAvatarComponent, selector: "axp-user-avatar", inputs: ["size", "userId", "showPresence", "displayName", "displayAvatar"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
307
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAuthWaitingRoomComponent, isStandalone: true, selector: "axp-auth-waiting-room", ngImport: i0, template: "<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", styles: ["@layer properties;.axp-auth-chooser{display:flex;width:100%;flex-direction:column;align-items:center;overflow-y:auto;background-color:rgba(var(--ax-sys-color-lightest-surface));height:100vh;height:100dvh;-webkit-overflow-scrolling:touch}.axp-auth-chooser__inner{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 6);padding-inline:calc(var(--spacing, .25rem) * 4);min-height:100%;box-sizing:border-box;padding-top:max(2.75rem,calc(env(safe-area-inset-top,0px) + 1.75rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}.axp-auth-chooser__brand{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,85vw);max-width:100%}.axp-auth-chooser__card-wrap{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__card{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 4);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:0px;padding:calc(var(--spacing, .25rem) * 5);text-align:center;--tw-shadow: 0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);max-width:28rem}.axp-auth-chooser__footer{flex-shrink:0;padding-inline:var(--spacing, .25rem);text-align:center}@media(min-width:640px){.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 8);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:max(3rem,calc(env(safe-area-inset-top,0px) + 2rem))}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,90vw)}}@media(min-width:768px){.axp-auth-chooser{background-color:var(--color-bg-default)}.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 10);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{gap:calc(var(--spacing, .25rem) * 2);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing, .25rem) * 6);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);width:min(90vw,28rem);max-width:28rem}}@media(min-width:1024px){.axp-auth-chooser__inner{padding-inline:0px;padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{width:min(90vw,28rem)}}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n", ""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXSkeletonModule }, { kind: "component", type: i3.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["logoKey", "appearance", "size", "format"] }, { kind: "component", type: AXPUserAvatarComponent, selector: "axp-user-avatar", inputs: ["size", "userId", "showPresence", "displayName", "displayAvatar"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
308
308
|
}
|
|
309
309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAuthWaitingRoomComponent, decorators: [{
|
|
310
310
|
type: Component,
|
|
@@ -320,8 +320,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
320
320
|
AXTranslationModule,
|
|
321
321
|
AXPLogoComponent,
|
|
322
322
|
AXPUserAvatarComponent,
|
|
323
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<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", styles: ["@layer properties;.axp-auth-chooser{display:flex;width:100%;flex-direction:column;align-items:center;overflow-y:auto;background-color:rgba(var(--ax-sys-color-lightest-surface));height:100vh;height:100dvh;-webkit-overflow-scrolling:touch}.axp-auth-chooser__inner{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 6);padding-inline:calc(var(--spacing, .25rem) * 4);min-height:100%;box-sizing:border-box;padding-top:max(2.75rem,calc(env(safe-area-inset-top,0px) + 1.75rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}.axp-auth-chooser__brand{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,85vw);max-width:100%}.axp-auth-chooser__card-wrap{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__card{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 4);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:0px;padding:calc(var(--spacing, .25rem) * 5);text-align:center;--tw-shadow: 0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);max-width:28rem}.axp-auth-chooser__footer{flex-shrink:0;padding-inline:var(--spacing, .25rem);text-align:center}@media(min-width:640px){.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 8);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:max(3rem,calc(env(safe-area-inset-top,0px) + 2rem))}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,90vw)}}@media(min-width:768px){.axp-auth-chooser{background-color:var(--color-bg-default)}.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 10);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{gap:calc(var(--spacing, .25rem) * 2);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing, .25rem) * 6);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);width:min(90vw,28rem);max-width:28rem}}@media(min-width:1024px){.axp-auth-chooser__inner{padding-inline:0px;padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{width:min(90vw,28rem)}}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
323
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<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", styles: ["@layer properties;.axp-auth-chooser{display:flex;width:100%;flex-direction:column;align-items:center;overflow-y:auto;background-color:rgba(var(--ax-sys-color-lightest-surface));height:100vh;height:100dvh;-webkit-overflow-scrolling:touch}.axp-auth-chooser__inner{display:flex;width:100%;flex-grow:1;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 6);padding-inline:calc(var(--spacing, .25rem) * 4);min-height:100%;box-sizing:border-box;padding-top:max(2.75rem,calc(env(safe-area-inset-top,0px) + 1.75rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}.axp-auth-chooser__brand{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,85vw);max-width:100%}.axp-auth-chooser__card-wrap{display:flex;width:100%;flex-shrink:0;justify-content:center}.axp-auth-chooser__card{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 4);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:0px;padding:calc(var(--spacing, .25rem) * 5);text-align:center;--tw-shadow: 0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);max-width:28rem}.axp-auth-chooser__footer{flex-shrink:0;padding-inline:var(--spacing, .25rem);text-align:center}@media(min-width:640px){.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 8);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:max(3rem,calc(env(safe-area-inset-top,0px) + 2rem))}.axp-auth-chooser__brand axp-logo{width:min(16.25rem,90vw)}}@media(min-width:768px){.axp-auth-chooser{background-color:var(--color-bg-default)}.axp-auth-chooser__inner{gap:calc(var(--spacing, .25rem) * 10);padding-inline:calc(var(--spacing, .25rem) * 6);padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{gap:calc(var(--spacing, .25rem) * 2);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing, .25rem) * 6);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);width:min(90vw,28rem);max-width:28rem}}@media(min-width:1024px){.axp-auth-chooser__inner{padding-inline:0px;padding-top:3.5rem;padding-bottom:2.5rem}.axp-auth-chooser__card{width:min(90vw,28rem)}}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"] }]
|
|
324
324
|
}] });
|
|
325
325
|
|
|
326
326
|
export { AXPAuthWaitingRoomComponent };
|
|
327
|
-
//# sourceMappingURL=acorex-platform-module-auth-client-waiting-room.component-
|
|
327
|
+
//# sourceMappingURL=acorex-platform-module-auth-client-waiting-room.component-BCBZEvJi.mjs.map
|
|
@@ -1 +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;AACrC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AACrD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC5C,QAAA,IAAA,CAAA,gBAA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gB;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;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-auth-client-waiting-room.component-BCBZEvJi.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;AACrC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,0BAA0B,CAAC;AACrD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC5C,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,gCAAgC,CAAC;AAC3D,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;;;QAM5B,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,EA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