@acorex-platform/module-auth-client 2.0.0-next.50 → 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-Cq9R3s5A.mjs → acorex-platform-module-auth-client-acorex-platform-module-auth-client-LvKwBD7L.mjs} +57 -57
- package/fesm2022/{acorex-platform-module-auth-client-acorex-platform-module-auth-client-Cq9R3s5A.mjs.map → acorex-platform-module-auth-client-acorex-platform-module-auth-client-LvKwBD7L.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-D99xVLtc.mjs → acorex-platform-module-auth-client-app-chooser.component-BwCKpB0-.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-app-chooser.component-D99xVLtc.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-CAJir6Go.mjs → acorex-platform-module-auth-client-change-password.command-Cc0aiSYd.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-change-password.command-CAJir6Go.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-C-RYaG1B.mjs → acorex-platform-module-auth-client-change-photo.command-CNerD59E.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-change-photo.command-C-RYaG1B.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-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-Bug-SR6J.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-Bug-SR6J.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-Uros3kRx.mjs → acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-lock-screen.command-Uros3kRx.mjs.map → acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-login.module-B-NNlaEN.mjs → acorex-platform-module-auth-client-login.module-mWYuF4d_.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-login.module-B-NNlaEN.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-CD5kAdfT.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-CD5kAdfT.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-Do8kp-x5.mjs → acorex-platform-module-auth-client-open-sessions.command-ClbBCljk.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-open-sessions.command-Do8kp-x5.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-DLtE_j1b.mjs → acorex-platform-module-auth-client-password.component-BNhlOo_P.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-auth-client-password.component-DLtE_j1b.mjs.map → acorex-platform-module-auth-client-password.component-BNhlOo_P.mjs.map} +1 -1
- 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-DuNBjC-O.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-DuNBjC-O.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-DCRYHTan.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-DCRYHTan.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-jkPWFgK_.mjs → acorex-platform-module-auth-client-profile-page.component-BkORVzXq.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-profile-page.component-jkPWFgK_.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-CEa_p9cm.mjs → acorex-platform-module-auth-client-register-password.component-Bz1Y10RY.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-register-password.component-CEa_p9cm.mjs.map → acorex-platform-module-auth-client-register-password.component-Bz1Y10RY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-register.module-aoUzVW_4.mjs → acorex-platform-module-auth-client-register.module-BDtivWVl.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-register.module-aoUzVW_4.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-BMoNBdxW.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-BMoNBdxW.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-DAwpb1Ca.mjs → acorex-platform-module-auth-client-routes-BNr55xqd.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-auth-client-routes-DAwpb1Ca.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-BJ6P7d-t.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-BJ6P7d-t.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-CNCfNhTn.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-CNCfNhTn.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-9jRCg4WY.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-9jRCg4WY.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-Z2Lr-p1J.mjs → acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-auth-client-settings.provider-Z2Lr-p1J.mjs.map → acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs.map} +1 -1
- 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-V3KZwLtP.mjs → acorex-platform-module-auth-client-tenant-chooser.component-ZLNSHtpe.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-auth-client-tenant-chooser.component-V3KZwLtP.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-CG74dqMX.mjs → acorex-platform-module-auth-client-tenant-request.component-DGmq6I9N.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-auth-client-tenant-request.component-CG74dqMX.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-DYq_OSj5.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-DYq_OSj5.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-Da2azaCv.mjs → acorex-platform-module-auth-client-two-factor.module-CxUrLbb4.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-two-factor.module-Da2azaCv.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-Nmc5ORJQ.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-Nmc5ORJQ.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-Cg_QMkvo.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-Cg_QMkvo.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-BZEt6U3g.mjs → acorex-platform-module-auth-client-welcome-onboarding.command-CdGRjX5D.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-auth-client-welcome-onboarding.command-BZEt6U3g.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/package.json +3 -3
|
@@ -144,7 +144,7 @@ class AXPAcceptInvitationComponent {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAcceptInvitationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
147
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAcceptInvitationComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}.axp-auth-form{width:100%;margin-inline:auto}@media(min-width:768px){.axp-auth-form{width:24rem;max-width:100%}}.axp-auth-form ax-form,.axp-auth-form ax-form-field,.axp-auth-form ax-password-box{display:block;width:100%}\n/*! tailwindcss v4.3.
|
|
147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAcceptInvitationComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}.axp-auth-form{width:100%;margin-inline:auto}@media(min-width:768px){.axp-auth-form{width:24rem;max-width:100%}}.axp-auth-form ax-form,.axp-auth-form ax-form-field,.axp-auth-form ax-password-box{display:block;width:100%}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i1.AXFormComponent, selector: "ax-form", inputs: ["disabled", "readonly", "labelMode", "look", "messageStyle", "updateOn", "inUserInteractionActive"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "component", type: i2.AXPasswordBoxComponent, selector: "ax-password-box", inputs: ["readonly", "disabled", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "autoComplete", "showToggleButton", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { 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: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i5.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i6.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "pipe", type: i5$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
148
148
|
}
|
|
149
149
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAcceptInvitationComponent, decorators: [{
|
|
150
150
|
type: Component,
|
|
@@ -156,7 +156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
156
156
|
AXLabelModule,
|
|
157
157
|
AXTranslationModule,
|
|
158
158
|
RouterModule,
|
|
159
|
-
], template: "<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}.axp-auth-form{width:100%;margin-inline:auto}@media(min-width:768px){.axp-auth-form{width:24rem;max-width:100%}}.axp-auth-form ax-form,.axp-auth-form ax-form-field,.axp-auth-form ax-password-box{display:block;width:100%}\n/*! tailwindcss v4.3.
|
|
159
|
+
], template: "<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}.axp-auth-form{width:100%;margin-inline:auto}@media(min-width:768px){.axp-auth-form{width:24rem;max-width:100%}}.axp-auth-form ax-form,.axp-auth-form ax-form-field,.axp-auth-form ax-password-box{display:block;width:100%}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"] }]
|
|
160
160
|
}] });
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region ----- Helpers -----
|
|
@@ -176,4 +176,4 @@ function isPasswordRequired(code, text) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export { AXPAcceptInvitationComponent };
|
|
179
|
-
//# sourceMappingURL=acorex-platform-module-auth-client-accept-invitation.component-
|
|
179
|
+
//# sourceMappingURL=acorex-platform-module-auth-client-accept-invitation.component-DJ9xVuLR.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-auth-client-accept-invitation.component-Bq49K_8F.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/accept-invitation/accept-invitation.component.ts","../../../../libs/modules/auth/client/src/lib/pages/accept-invitation/accept-invitation.component.html"],"sourcesContent":["import { commandMessageTextForError } from '@acorex-platform/framework-client/common';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport {\n AXM_ACCEPT_INVITATION_ERROR_CODES,\n AXMSecurityManagementServerCommands,\n type AXMAcceptInvitationPreviewResult,\n} from '@acorex-platform/module-security-management-client/contracts';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnInit, inject, signal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\n\n//#region ----- Types -----\n\ntype AcceptInvitationPhase = 'checking' | 'form' | 'unusable';\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n templateUrl: './accept-invitation.component.html',\n styleUrls: ['./accept-invitation.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXFormModule,\n AXPasswordBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXTranslationModule,\n RouterModule,\n ],\n})\nexport class AXPAcceptInvitationComponent implements OnInit {\n //#region ----- Services & Dependencies -----\n\n private readonly route = inject(ActivatedRoute);\n private readonly router = inject(Router);\n private readonly commandService = inject(AXPCommandService);\n private readonly toast = inject(AXToastService);\n private readonly translation = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- State Signals -----\n\n /** `unusable` hides the password form and shows the used/invalid message. */\n protected readonly phase = signal<AcceptInvitationPhase>('checking');\n\n //#endregion\n\n //#region ----- Form State -----\n\n protected token = '';\n protected newPassword = '';\n protected confirmPassword = '';\n protected submitting = false;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n ngOnInit(): void {\n this.token = this.route.snapshot.queryParamMap.get('token') ?? '';\n void this.loadPreview();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected goToLogin(): void {\n void this.router.navigate(['/auth/login']);\n }\n\n protected async submit(): Promise<void> {\n if (this.submitting || this.phase() !== 'form') {\n return;\n }\n\n const token = this.token.trim();\n if (!token) {\n this.phase.set('unusable');\n return;\n }\n\n if (this.newPassword && this.newPassword.length < 6) {\n const msg = await this.translation\n .translateAsync('@auth:accept-invitation.password-too-short')\n .catch(() => 'Password must be at least 6 characters.');\n this.toast.show({ color: 'warning', title: msg, content: msg });\n return;\n }\n\n if (this.newPassword !== this.confirmPassword) {\n const msg = await this.translation\n .translateAsync('@auth:accept-invitation.password-mismatch')\n .catch(() => 'Passwords do not match.');\n this.toast.show({ color: 'warning', title: msg, content: msg });\n return;\n }\n\n this.submitting = true;\n try {\n const result = await this.commandService.executeRemote(\n AXMSecurityManagementServerCommands.AcceptInvitation,\n {\n token,\n newPassword: this.newPassword || undefined,\n },\n );\n\n if (!result?.success) {\n const messageText = commandMessageTextForError(result?.message?.text);\n if (isInvitationLinkUnusable(result?.message?.code, messageText)) {\n this.phase.set('unusable');\n return;\n }\n throw new Error(messageText || 'Accept failed');\n }\n\n const [title, content] = await Promise.all([\n this.translation\n .translateAsync('@auth:accept-invitation.success.title')\n .catch(() => 'Invitation Accepted'),\n this.translation\n .translateAsync('@auth:accept-invitation.success.description')\n .catch(() => 'Your invitation was accepted. You can sign in now.'),\n ]);\n this.toast.show({ color: 'success', title, content, timeOut: 4000 });\n await this.router.navigate(['/auth/login']);\n } catch (error) {\n const [title, fallbackContent] = await Promise.all([\n this.translation\n .translateAsync('@auth:accept-invitation.error.title')\n .catch(() => 'Accept Failed'),\n this.translation\n .translateAsync('@auth:accept-invitation.error.description')\n .catch(() => 'Unable to accept the invitation. The link may have expired.'),\n ]);\n const content =\n error instanceof Error && error.message ? error.message : fallbackContent;\n this.toast.show({ color: 'danger', title, content, timeOut: 5000 });\n } finally {\n this.submitting = false;\n }\n }\n\n //#endregion\n\n //#region ----- Preview -----\n\n private async loadPreview(): Promise<void> {\n const token = this.token.trim();\n if (!token) {\n this.phase.set('unusable');\n return;\n }\n\n try {\n const result = await this.commandService.executeRemote(\n AXMSecurityManagementServerCommands.AcceptInvitation,\n { token, preview: true },\n );\n\n if (!result?.success) {\n // Older API ignores `preview` and rejects a missing password — still show the form.\n const messageText = commandMessageTextForError(result?.message?.text);\n if (isPasswordRequired(result?.message?.code, messageText)) {\n this.phase.set('form');\n return;\n }\n this.phase.set('unusable');\n return;\n }\n\n const preview = result.data as AXMAcceptInvitationPreviewResult | undefined;\n this.phase.set(preview?.usable === false ? 'unusable' : 'form');\n } catch {\n this.phase.set('unusable');\n }\n }\n\n //#endregion\n}\n\n//#endregion\n\n//#region ----- Helpers -----\n\nfunction isInvitationLinkUnusable(code: string | undefined, text: string | undefined): boolean {\n if (\n code === AXM_ACCEPT_INVITATION_ERROR_CODES.Invalid ||\n code === AXM_ACCEPT_INVITATION_ERROR_CODES.Expired\n ) {\n return true;\n }\n const normalized = (text ?? '').toLowerCase();\n return normalized.includes('invalid') || normalized.includes('expired') || normalized.includes('token is required');\n}\n\nfunction isPasswordRequired(code: string | undefined, text: string | undefined): boolean {\n if (code === AXM_ACCEPT_INVITATION_ERROR_CODES.PasswordRequired) {\n return true;\n }\n return (text ?? '').toLowerCase().includes('password');\n}\n\n//#endregion\n","<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n"],"names":["i3","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA;AAEA;MAgBa,4BAA4B,CAAA;AAdzC,IAAA,WAAA,GAAA;;AAiBmB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;;QAOxC,I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U,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,mBAAmB,CAAC;AACrH;AAEA,SAAS,kBAAkB,CAAC,IAAwB,EAAE,IAAwB,EAAA;AAC5E,IAAA,IAAI,IAAI,KAAK,iCAAiC,CAAC,gBAAgB,EAAE;AAC/D,QAAA,OAAO,IAAI;IACb;AACA,IAAA,OAAO,CAAC,IAAI,IAAI,EAAE,EAAE,WAAW,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;AACxD;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-auth-client-accept-invitation.component-DJ9xVuLR.mjs","sources":["../../../../libs/modules/auth/client/src/lib/pages/accept-invitation/accept-invitation.component.ts","../../../../libs/modules/auth/client/src/lib/pages/accept-invitation/accept-invitation.component.html"],"sourcesContent":["import { commandMessageTextForError } from '@acorex-platform/framework-client/common';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport {\n AXM_ACCEPT_INVITATION_ERROR_CODES,\n AXMSecurityManagementServerCommands,\n type AXMAcceptInvitationPreviewResult,\n} from '@acorex-platform/module-security-management-client/contracts';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnInit, inject, signal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\n\n//#region ----- Types -----\n\ntype AcceptInvitationPhase = 'checking' | 'form' | 'unusable';\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n templateUrl: './accept-invitation.component.html',\n styleUrls: ['./accept-invitation.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXFormModule,\n AXPasswordBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXTranslationModule,\n RouterModule,\n ],\n})\nexport class AXPAcceptInvitationComponent implements OnInit {\n //#region ----- Services & Dependencies -----\n\n private readonly route = inject(ActivatedRoute);\n private readonly router = inject(Router);\n private readonly commandService = inject(AXPCommandService);\n private readonly toast = inject(AXToastService);\n private readonly translation = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- State Signals -----\n\n /** `unusable` hides the password form and shows the used/invalid message. */\n protected readonly phase = signal<AcceptInvitationPhase>('checking');\n\n //#endregion\n\n //#region ----- Form State -----\n\n protected token = '';\n protected newPassword = '';\n protected confirmPassword = '';\n protected submitting = false;\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n ngOnInit(): void {\n this.token = this.route.snapshot.queryParamMap.get('token') ?? '';\n void this.loadPreview();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n protected goToLogin(): void {\n void this.router.navigate(['/auth/login']);\n }\n\n protected async submit(): Promise<void> {\n if (this.submitting || this.phase() !== 'form') {\n return;\n }\n\n const token = this.token.trim();\n if (!token) {\n this.phase.set('unusable');\n return;\n }\n\n if (this.newPassword && this.newPassword.length < 6) {\n const msg = await this.translation\n .translateAsync('@auth:accept-invitation.password-too-short')\n .catch(() => 'Password must be at least 6 characters.');\n this.toast.show({ color: 'warning', title: msg, content: msg });\n return;\n }\n\n if (this.newPassword !== this.confirmPassword) {\n const msg = await this.translation\n .translateAsync('@auth:accept-invitation.password-mismatch')\n .catch(() => 'Passwords do not match.');\n this.toast.show({ color: 'warning', title: msg, content: msg });\n return;\n }\n\n this.submitting = true;\n try {\n const result = await this.commandService.executeRemote(\n AXMSecurityManagementServerCommands.AcceptInvitation,\n {\n token,\n newPassword: this.newPassword || undefined,\n },\n );\n\n if (!result?.success) {\n const messageText = commandMessageTextForError(result?.message?.text);\n if (isInvitationLinkUnusable(result?.message?.code, messageText)) {\n this.phase.set('unusable');\n return;\n }\n throw new Error(messageText || 'Accept failed');\n }\n\n const [title, content] = await Promise.all([\n this.translation\n .translateAsync('@auth:accept-invitation.success.title')\n .catch(() => 'Invitation Accepted'),\n this.translation\n .translateAsync('@auth:accept-invitation.success.description')\n .catch(() => 'Your invitation was accepted. You can sign in now.'),\n ]);\n this.toast.show({ color: 'success', title, content, timeOut: 4000 });\n await this.router.navigate(['/auth/login']);\n } catch (error) {\n const [title, fallbackContent] = await Promise.all([\n this.translation\n .translateAsync('@auth:accept-invitation.error.title')\n .catch(() => 'Accept Failed'),\n this.translation\n .translateAsync('@auth:accept-invitation.error.description')\n .catch(() => 'Unable to accept the invitation. The link may have expired.'),\n ]);\n const content =\n error instanceof Error && error.message ? error.message : fallbackContent;\n this.toast.show({ color: 'danger', title, content, timeOut: 5000 });\n } finally {\n this.submitting = false;\n }\n }\n\n //#endregion\n\n //#region ----- Preview -----\n\n private async loadPreview(): Promise<void> {\n const token = this.token.trim();\n if (!token) {\n this.phase.set('unusable');\n return;\n }\n\n try {\n const result = await this.commandService.executeRemote(\n AXMSecurityManagementServerCommands.AcceptInvitation,\n { token, preview: true },\n );\n\n if (!result?.success) {\n // Older API ignores `preview` and rejects a missing password — still show the form.\n const messageText = commandMessageTextForError(result?.message?.text);\n if (isPasswordRequired(result?.message?.code, messageText)) {\n this.phase.set('form');\n return;\n }\n this.phase.set('unusable');\n return;\n }\n\n const preview = result.data as AXMAcceptInvitationPreviewResult | undefined;\n this.phase.set(preview?.usable === false ? 'unusable' : 'form');\n } catch {\n this.phase.set('unusable');\n }\n }\n\n //#endregion\n}\n\n//#endregion\n\n//#region ----- Helpers -----\n\nfunction isInvitationLinkUnusable(code: string | undefined, text: string | undefined): boolean {\n if (\n code === AXM_ACCEPT_INVITATION_ERROR_CODES.Invalid ||\n code === AXM_ACCEPT_INVITATION_ERROR_CODES.Expired\n ) {\n return true;\n }\n const normalized = (text ?? '').toLowerCase();\n return normalized.includes('invalid') || normalized.includes('expired') || normalized.includes('token is required');\n}\n\nfunction isPasswordRequired(code: string | undefined, text: string | undefined): boolean {\n if (code === AXM_ACCEPT_INVITATION_ERROR_CODES.PasswordRequired) {\n return true;\n }\n return (text ?? '').toLowerCase().includes('password');\n}\n\n//#endregion\n","<ng-container *translate=\"let t\">\n <div class=\"axp-auth-form\">\n <!-- ----- Checking the token before any password fields are shown ----- -->\n @if (phase() === 'checking') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.checking' | translate | async }}\n </p>\n </div>\n }\n <!-- ----- Used, unknown, or expired link: message and login, no password form ----- -->\n @else if (phase() === 'unusable') {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.unavailable.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.unavailable.description' | translate | async }}\n </p>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.unavailable.go-to-login' | translate | async\"\n (onClick)=\"goToLogin()\"\n ></ax-button>\n }\n <!-- ----- Open invitation: set a password ----- -->\n @else {\n <div class=\"text-center mb-3 lg:mb-5\">\n <h1 class=\"font-bold text-xl mb-1 lg:mb-2\">\n {{ '@auth:accept-invitation.title' | translate | async }}\n </h1>\n <p class=\"text-base text-neutral-600\">\n {{ '@auth:accept-invitation.hint' | translate | async }}\n </p>\n </div>\n <ax-form>\n <div class=\"flex flex-col gap-4 lg:gap-6\">\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.new-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"newPassword\"\n [(value)]=\"newPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{\n '@auth:accept-invitation.confirm-password' | translate | async\n }}</ax-label>\n <ax-password-box\n name=\"confirmPassword\"\n [(value)]=\"confirmPassword\"\n [disabled]=\"submitting\"\n ></ax-password-box>\n </ax-form-field>\n </div>\n <ax-button\n color=\"primary\"\n class=\"mt-4 lg:mt-6 w-full\"\n [text]=\"'@auth:accept-invitation.submit' | translate | async\"\n [disabled]=\"submitting\"\n (onClick)=\"submit()\"\n ></ax-button>\n <p class=\"text-center mt-6 text-neutral-400 text-sm\">\n {{ '@auth:tenant-chooser.footer' | translate | async }}\n <a\n [routerLink]=\"['/auth/login']\"\n class=\"text-primary font-medium cursor-pointer hover:underline\"\n >\n {{ '@auth:backLogin' | translate | async }}\n </a>\n </p>\n </ax-form>\n }\n </div>\n</ng-container>\n"],"names":["i3","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA;AAEA;MAgBa,4BAA4B,CAAA;AAdzC,IAAA,WAAA,GAAA;;AAiBmB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;;QAOxC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAwB,UAAU;kFAAC;;;QAM1D,IAAA,CAAA,KAAK,GAAG,EAAE;QACV,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,eAAe,GAAG,EAAE;QACpB,IAAA,CAAA,UAAU,GAAG,KAAK;AAgI7B,IAAA;;;IA1HC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;AACjE,QAAA,KAAK,IAAI,CAAC,WAAW,EAAE;IACzB;;;IAMU,SAAS,GAAA;QACjB,KAAK,IAAI,CAAC,MAAM,CAAC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-auth-client-platform-settings-unavailable.component-
|
|
1002
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-platform-settings-unavailable.component-CM8Lk6EC.mjs').then((c) => c.AXMPlatformSettingsUnavailableComponent),
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
1005
|
path: '',
|
|
1006
1006
|
loadComponent: () => Promise.resolve().then(function () { return master_layout; }).then((c) => c.AXPAuthMasterLayoutComponent),
|
|
1007
|
-
loadChildren: () => import('./acorex-platform-module-auth-client-login.module-
|
|
1007
|
+
loadChildren: () => import('./acorex-platform-module-auth-client-login.module-mWYuF4d_.mjs').then((c) => c.AXPSignInModule),
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
path: '',
|
|
1011
1011
|
loadComponent: () => Promise.resolve().then(function () { return master_layout; }).then((c) => c.AXPAuthMasterLayoutComponent),
|
|
1012
|
-
loadChildren: () => import('./acorex-platform-module-auth-client-two-factor.module-
|
|
1012
|
+
loadChildren: () => import('./acorex-platform-module-auth-client-two-factor.module-CxUrLbb4.mjs').then((c) => c.AXPTwoFactorModule),
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
1015
|
path: '',
|
|
1016
1016
|
loadComponent: () => Promise.resolve().then(function () { return master_layout; }).then((c) => c.AXPAuthMasterLayoutComponent),
|
|
1017
|
-
loadChildren: () => import('./acorex-platform-module-auth-client-routes-
|
|
1017
|
+
loadChildren: () => import('./acorex-platform-module-auth-client-routes-BNr55xqd.mjs').then((c) => c),
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
1020
|
path: 'oauth-callback',
|
|
1021
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-oauth-callback.component-
|
|
1021
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-oauth-callback.component-WEoRB-N-.mjs').then((c) => c.AXPOAuthCallbackComponent),
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
1024
|
path: 'account',
|
|
1025
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-blank.layout-
|
|
1025
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-blank.layout-Br0_-TxC.mjs').then((c) => c.AXPAuthBlankLayoutComponent),
|
|
1026
1026
|
loadChildren: () => Promise.resolve().then(function () { return account_module; }).then((c) => c.AXPAccountModule),
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
1029
|
path: '',
|
|
1030
1030
|
loadComponent: () => Promise.resolve().then(function () { return master_layout; }).then((c) => c.AXPAuthMasterLayoutComponent),
|
|
1031
|
-
loadChildren: () => import('./acorex-platform-module-auth-client-register.module-
|
|
1031
|
+
loadChildren: () => import('./acorex-platform-module-auth-client-register.module-BDtivWVl.mjs').then((c) => c.AXPRegisterModule),
|
|
1032
1032
|
},
|
|
1033
1033
|
],
|
|
1034
1034
|
},
|
|
@@ -1686,7 +1686,7 @@ class AXMAuthProfileSlotComponent {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
1688
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMAuthProfileSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMAuthProfileSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "@if (isAuthenticated$ | async) {\n <div class=\"size-fit\">\n <div #avatar>\n <axp-user-avatar\n [size]=\"36\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"true\"\n ></axp-user-avatar>\n </div>\n\n <ax-popover\n [target]=\"avatar\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"false\"\n #p\n >\n <div\n class=\"bg-lightest border border-lightest rounded-md shadow-md w-80\"\n >\n <div class=\"flex flex-col items-center p-4 border-b\">\n <axp-user-avatar\n [size]=\"64\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n\n <div class=\"flex flex-col items-center justify-center mt-2\">\n <div class=\"text-base font-bold \">{{ (user$ | async)?.title }}</div>\n @if (!deviceService.isSmall()) {\n <axp-tenant-chooser-dropdown class=\"mt-1\"></axp-tenant-chooser-dropdown>\n }\n </div>\n </div>\n <div class=\"axp-profile-slot-menus\">\n <ul>\n @for (item of menuItems(); track item.name ?? item.title) {\n @if (item.visible != false) {\n @if (hasProfileSlotMenuBreakBefore(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n <li [class]=\"menuItemClass(item)\">\n <a (click)=\"handleMenuItemClick(item, p)\">\n <i [class]=\"item.icon\"></i>\n <span class=\"flex-1\">{{\n item.title | translate | async\n }}</span>\n </a>\n </li>\n @if (hasProfileSlotMenuBreakAfter(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n }\n }\n </ul>\n </div>\n </div>\n </ax-popover>\n </div>\n} @else {\n <ax-button\n color=\"default\"\n look=\"blank\"\n [text]=\"('@auth:profile-page.profile-slot.sign-up-sign-in' | translate | async) ?? ''\"\n (click)=\"handleSignIn()\"\n >\n <ax-icon>\n <i class=\"fa-solid fa-user text-slate-400 dark:text-slate-200\"></i>\n </ax-icon>\n </ax-button>\n}\n", styles: ["@layer properties;.axp-profile-slot-menus ul{margin-top:calc(var(--spacing, .25rem) * 2);display:flex;flex-direction:column;gap:var(--spacing, .25rem);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding-inline:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul:last-child{border-style:var(--tw-border-style);border-width:0px}.axp-profile-slot-menus ul li{display:flex;cursor:pointer;border-radius:var(--radius-md, .375rem)}.axp-profile-slot-menus ul li:last-child{margin-bottom:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul li:hover{background-color:rgba(var(--ax-sys-color-dark-surface))}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break{pointer-events:none;margin-inline:calc(var(--spacing, .25rem) * 2);margin-block:var(--spacing, .25rem);height:0px;min-height:0px;cursor:default;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding:0}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break:hover{background-color:transparent}.axp-profile-slot-menus ul li i{margin-inline-end:calc(var(--spacing, .25rem) * 3);display:grid;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);place-items:center;font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)))}.axp-profile-slot-menus ul li a{display:flex;height:100%;width:100%;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 2)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim:
|
|
1689
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMAuthProfileSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "@if (isAuthenticated$ | async) {\n <div class=\"size-fit\">\n <div #avatar>\n <axp-user-avatar\n [size]=\"36\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"true\"\n ></axp-user-avatar>\n </div>\n\n <ax-popover\n [target]=\"avatar\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"false\"\n #p\n >\n <div\n class=\"bg-lightest border border-lightest rounded-md shadow-md w-80\"\n >\n <div class=\"flex flex-col items-center p-4 border-b\">\n <axp-user-avatar\n [size]=\"64\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n\n <div class=\"flex flex-col items-center justify-center mt-2\">\n <div class=\"text-base font-bold \">{{ (user$ | async)?.title }}</div>\n @if (!deviceService.isSmall()) {\n <axp-tenant-chooser-dropdown class=\"mt-1\"></axp-tenant-chooser-dropdown>\n }\n </div>\n </div>\n <div class=\"axp-profile-slot-menus\">\n <ul>\n @for (item of menuItems(); track item.name ?? item.title) {\n @if (item.visible != false) {\n @if (hasProfileSlotMenuBreakBefore(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n <li [class]=\"menuItemClass(item)\">\n <a (click)=\"handleMenuItemClick(item, p)\">\n <i [class]=\"item.icon\"></i>\n <span class=\"flex-1\">{{\n item.title | translate | async\n }}</span>\n </a>\n </li>\n @if (hasProfileSlotMenuBreakAfter(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n }\n }\n </ul>\n </div>\n </div>\n </ax-popover>\n </div>\n} @else {\n <ax-button\n color=\"default\"\n look=\"blank\"\n [text]=\"('@auth:profile-page.profile-slot.sign-up-sign-in' | translate | async) ?? ''\"\n (click)=\"handleSignIn()\"\n >\n <ax-icon>\n <i class=\"fa-solid fa-user text-slate-400 dark:text-slate-200\"></i>\n </ax-icon>\n </ax-button>\n}\n", styles: ["@layer properties;.axp-profile-slot-menus ul{margin-top:calc(var(--spacing, .25rem) * 2);display:flex;flex-direction:column;gap:var(--spacing, .25rem);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding-inline:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul:last-child{border-style:var(--tw-border-style);border-width:0px}.axp-profile-slot-menus ul li{display:flex;cursor:pointer;border-radius:var(--radius-md, .375rem)}.axp-profile-slot-menus ul li:last-child{margin-bottom:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul li:hover{background-color:rgba(var(--ax-sys-color-dark-surface))}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break{pointer-events:none;margin-inline:calc(var(--spacing, .25rem) * 2);margin-block:var(--spacing, .25rem);height:0px;min-height:0px;cursor:default;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding:0}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break:hover{background-color:transparent}.axp-profile-slot-menus ul li i{margin-inline-end:calc(var(--spacing, .25rem) * 3);display:grid;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);place-items:center;font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)))}.axp-profile-slot-menus ul li a{display:flex;height:100%;width:100%;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 2)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@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}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type:
|
|
1690
1690
|
//
|
|
1691
1691
|
AXImageModule }, { kind: "ngmodule", type: AXAvatarModule }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i2$1.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disablePanelClass", "visualContextScope", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "restoreFocusOnClose", "openAfter", "closeAfter", "closeOnScroll", "closeOnNavigation", "backdropClass", "panelClass", "adaptivityEnabled", "draggable"], outputs: ["onOpened", "onClosed"] }, { 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: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type:
|
|
1692
1692
|
// AXKBDComponent,
|
|
@@ -1713,7 +1713,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1713
1713
|
AXPUserAvatarComponent,
|
|
1714
1714
|
//
|
|
1715
1715
|
AXPTenantChooserDropdownComponent,
|
|
1716
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@if (isAuthenticated$ | async) {\n <div class=\"size-fit\">\n <div #avatar>\n <axp-user-avatar\n [size]=\"36\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"true\"\n ></axp-user-avatar>\n </div>\n\n <ax-popover\n [target]=\"avatar\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"false\"\n #p\n >\n <div\n class=\"bg-lightest border border-lightest rounded-md shadow-md w-80\"\n >\n <div class=\"flex flex-col items-center p-4 border-b\">\n <axp-user-avatar\n [size]=\"64\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n\n <div class=\"flex flex-col items-center justify-center mt-2\">\n <div class=\"text-base font-bold \">{{ (user$ | async)?.title }}</div>\n @if (!deviceService.isSmall()) {\n <axp-tenant-chooser-dropdown class=\"mt-1\"></axp-tenant-chooser-dropdown>\n }\n </div>\n </div>\n <div class=\"axp-profile-slot-menus\">\n <ul>\n @for (item of menuItems(); track item.name ?? item.title) {\n @if (item.visible != false) {\n @if (hasProfileSlotMenuBreakBefore(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n <li [class]=\"menuItemClass(item)\">\n <a (click)=\"handleMenuItemClick(item, p)\">\n <i [class]=\"item.icon\"></i>\n <span class=\"flex-1\">{{\n item.title | translate | async\n }}</span>\n </a>\n </li>\n @if (hasProfileSlotMenuBreakAfter(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n }\n }\n </ul>\n </div>\n </div>\n </ax-popover>\n </div>\n} @else {\n <ax-button\n color=\"default\"\n look=\"blank\"\n [text]=\"('@auth:profile-page.profile-slot.sign-up-sign-in' | translate | async) ?? ''\"\n (click)=\"handleSignIn()\"\n >\n <ax-icon>\n <i class=\"fa-solid fa-user text-slate-400 dark:text-slate-200\"></i>\n </ax-icon>\n </ax-button>\n}\n", styles: ["@layer properties;.axp-profile-slot-menus ul{margin-top:calc(var(--spacing, .25rem) * 2);display:flex;flex-direction:column;gap:var(--spacing, .25rem);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding-inline:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul:last-child{border-style:var(--tw-border-style);border-width:0px}.axp-profile-slot-menus ul li{display:flex;cursor:pointer;border-radius:var(--radius-md, .375rem)}.axp-profile-slot-menus ul li:last-child{margin-bottom:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul li:hover{background-color:rgba(var(--ax-sys-color-dark-surface))}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break{pointer-events:none;margin-inline:calc(var(--spacing, .25rem) * 2);margin-block:var(--spacing, .25rem);height:0px;min-height:0px;cursor:default;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding:0}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break:hover{background-color:transparent}.axp-profile-slot-menus ul li i{margin-inline-end:calc(var(--spacing, .25rem) * 3);display:grid;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);place-items:center;font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)))}.axp-profile-slot-menus ul li a{display:flex;height:100%;width:100%;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 2)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim:
|
|
1716
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@if (isAuthenticated$ | async) {\n <div class=\"size-fit\">\n <div #avatar>\n <axp-user-avatar\n [size]=\"36\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"true\"\n ></axp-user-avatar>\n </div>\n\n <ax-popover\n [target]=\"avatar\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"false\"\n #p\n >\n <div\n class=\"bg-lightest border border-lightest rounded-md shadow-md w-80\"\n >\n <div class=\"flex flex-col items-center p-4 border-b\">\n <axp-user-avatar\n [size]=\"64\"\n [userId]=\"$safeNavigationMigration((user$ | async)?.id)!\"\n [showPresence]=\"false\"\n ></axp-user-avatar>\n\n <div class=\"flex flex-col items-center justify-center mt-2\">\n <div class=\"text-base font-bold \">{{ (user$ | async)?.title }}</div>\n @if (!deviceService.isSmall()) {\n <axp-tenant-chooser-dropdown class=\"mt-1\"></axp-tenant-chooser-dropdown>\n }\n </div>\n </div>\n <div class=\"axp-profile-slot-menus\">\n <ul>\n @for (item of menuItems(); track item.name ?? item.title) {\n @if (item.visible != false) {\n @if (hasProfileSlotMenuBreakBefore(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n <li [class]=\"menuItemClass(item)\">\n <a (click)=\"handleMenuItemClick(item, p)\">\n <i [class]=\"item.icon\"></i>\n <span class=\"flex-1\">{{\n item.title | translate | async\n }}</span>\n </a>\n </li>\n @if (hasProfileSlotMenuBreakAfter(item.break)) {\n <li class=\"axp-profile-slot-menu-break\" role=\"separator\"></li>\n }\n }\n }\n </ul>\n </div>\n </div>\n </ax-popover>\n </div>\n} @else {\n <ax-button\n color=\"default\"\n look=\"blank\"\n [text]=\"('@auth:profile-page.profile-slot.sign-up-sign-in' | translate | async) ?? ''\"\n (click)=\"handleSignIn()\"\n >\n <ax-icon>\n <i class=\"fa-solid fa-user text-slate-400 dark:text-slate-200\"></i>\n </ax-icon>\n </ax-button>\n}\n", styles: ["@layer properties;.axp-profile-slot-menus ul{margin-top:calc(var(--spacing, .25rem) * 2);display:flex;flex-direction:column;gap:var(--spacing, .25rem);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding-inline:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul:last-child{border-style:var(--tw-border-style);border-width:0px}.axp-profile-slot-menus ul li{display:flex;cursor:pointer;border-radius:var(--radius-md, .375rem)}.axp-profile-slot-menus ul li:last-child{margin-bottom:calc(var(--spacing, .25rem) * 2)}.axp-profile-slot-menus ul li:hover{background-color:rgba(var(--ax-sys-color-dark-surface))}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break{pointer-events:none;margin-inline:calc(var(--spacing, .25rem) * 2);margin-block:var(--spacing, .25rem);height:0px;min-height:0px;cursor:default;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-default);padding:0}.axp-profile-slot-menus ul li.axp-profile-slot-menu-break:hover{background-color:transparent}.axp-profile-slot-menus ul li i{margin-inline-end:calc(var(--spacing, .25rem) * 3);display:grid;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);place-items:center;font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)))}.axp-profile-slot-menus ul li a{display:flex;height:100%;width:100%;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 2)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@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}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"] }]
|
|
1717
1717
|
}] });
|
|
1718
1718
|
|
|
1719
1719
|
class AXMUserProfileCardSlotComponent {
|
|
@@ -2446,27 +2446,27 @@ function routesFacory() {
|
|
|
2446
2446
|
routes = [
|
|
2447
2447
|
{
|
|
2448
2448
|
path: 'tenant-chooser',
|
|
2449
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-tenant-chooser.component-
|
|
2449
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-tenant-chooser.component-ZLNSHtpe.mjs').then((c) => c.AXPAuthTenantChooserComponent),
|
|
2450
2450
|
canActivate: [AXPAuthGuard, canActivateTenantChooser],
|
|
2451
2451
|
},
|
|
2452
2452
|
{
|
|
2453
2453
|
path: 'waiting-room',
|
|
2454
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-waiting-room.component-
|
|
2454
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-waiting-room.component-BCBZEvJi.mjs').then((c) => c.AXPAuthWaitingRoomComponent),
|
|
2455
2455
|
canActivate: [AXPAuthGuard],
|
|
2456
2456
|
},
|
|
2457
2457
|
{
|
|
2458
2458
|
path: 'session-limit',
|
|
2459
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-session-limit.component-
|
|
2459
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-session-limit.component-DonVNqDf.mjs').then((c) => c.AXPAuthSessionLimitComponent),
|
|
2460
2460
|
canActivate: [AXPAuthGuard],
|
|
2461
2461
|
},
|
|
2462
2462
|
{
|
|
2463
2463
|
path: 'app-chooser',
|
|
2464
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-app-chooser.component-
|
|
2464
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-app-chooser.component-BwCKpB0-.mjs').then((c) => c.AXPAuthAppChooserComponent),
|
|
2465
2465
|
canActivate: [AXPAuthGuard, canActivateAppChooser],
|
|
2466
2466
|
},
|
|
2467
2467
|
{
|
|
2468
2468
|
path: 'welcome-onboarding',
|
|
2469
|
-
loadComponent: () => import('./acorex-platform-module-auth-client-welcome-onboarding-page.component-
|
|
2469
|
+
loadComponent: () => import('./acorex-platform-module-auth-client-welcome-onboarding-page.component-C7vJ-WrT.mjs').then((c) => c.AXPAuthWelcomeOnboardingPageComponent),
|
|
2470
2470
|
canActivate: [AXPAuthGuard, canActivateWelcomeOnboarding],
|
|
2471
2471
|
},
|
|
2472
2472
|
];
|
|
@@ -2854,7 +2854,7 @@ class AXPIdleLockService {
|
|
|
2854
2854
|
this.overlayOpening = true;
|
|
2855
2855
|
this.locked.set(true);
|
|
2856
2856
|
try {
|
|
2857
|
-
const { AXMSessionLockOverlayComponent: overlayComponent } = await import('./acorex-platform-module-auth-client-session-lock-overlay.component-
|
|
2857
|
+
const { AXMSessionLockOverlayComponent: overlayComponent } = await import('./acorex-platform-module-auth-client-session-lock-overlay.component-CUyA9vGi.mjs');
|
|
2858
2858
|
const panelClasses = ['axm-session-lock-overlay-shell'];
|
|
2859
2859
|
if (this.platform.isDark()) {
|
|
2860
2860
|
panelClasses.push('ax-dark');
|
|
@@ -4115,7 +4115,7 @@ function provideAuthSecurityAlertRealtime() {
|
|
|
4115
4115
|
//#endregion
|
|
4116
4116
|
|
|
4117
4117
|
function profileRoutesFactory() {
|
|
4118
|
-
const loadProfilePage = () => import('./acorex-platform-module-auth-client-profile-page.component-
|
|
4118
|
+
const loadProfilePage = () => import('./acorex-platform-module-auth-client-profile-page.component-BkORVzXq.mjs').then((c) => c.AXMUserProfilePageComponent);
|
|
4119
4119
|
return [
|
|
4120
4120
|
{
|
|
4121
4121
|
path: ':app/profile',
|
|
@@ -4231,13 +4231,13 @@ class AXMAuthModule {
|
|
|
4231
4231
|
};
|
|
4232
4232
|
}),
|
|
4233
4233
|
AXMAuthErrorHandler,
|
|
4234
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-platform-module-auth-client-menu.provider-
|
|
4235
|
-
provideLazyProvider(AXP_SETTING_DEFINITION_PROVIDER, () => import('./acorex-platform-module-auth-client-settings.provider-
|
|
4236
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-auth-client-profile-page-component.provider-
|
|
4234
|
+
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-platform-module-auth-client-menu.provider-BrnaQ1ed.mjs').then(m => m.AXMSecurityManagementModuleMenuProvider)),
|
|
4235
|
+
provideLazyProvider(AXP_SETTING_DEFINITION_PROVIDER, () => import('./acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs').then(m => m.AXMSettingProvider)),
|
|
4236
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-auth-client-profile-page-component.provider-C3c8g9wa.mjs').then((module) => module.AXMProfilePageComponentProvider)),
|
|
4237
4237
|
provideQuerySetups([
|
|
4238
4238
|
{
|
|
4239
4239
|
key: 'Auth:GetUserActivity',
|
|
4240
|
-
loader: () => import('./acorex-platform-module-auth-client-get-user-activity.query-
|
|
4240
|
+
loader: () => import('./acorex-platform-module-auth-client-get-user-activity.query-Cam2NyHp.mjs').then((c) => c.AXMGetUserActivityQuery),
|
|
4241
4241
|
},
|
|
4242
4242
|
]),
|
|
4243
4243
|
{
|
|
@@ -4253,63 +4253,63 @@ class AXMAuthModule {
|
|
|
4253
4253
|
provideCommandSetups([
|
|
4254
4254
|
{
|
|
4255
4255
|
key: AXMAuthCommandKeys.Profile.Show,
|
|
4256
|
-
command: () => import('./acorex-platform-module-auth-client-show-profile-command-
|
|
4256
|
+
command: () => import('./acorex-platform-module-auth-client-show-profile-command-BprKlX1F.mjs').then((c) => c.AXPShowProfileCommand),
|
|
4257
4257
|
},
|
|
4258
4258
|
{
|
|
4259
4259
|
key: AXMAuthCommandKeys.Session.Signout,
|
|
4260
|
-
command: () => import('./acorex-platform-module-auth-client-signout-command-
|
|
4260
|
+
command: () => import('./acorex-platform-module-auth-client-signout-command-Be5bQi8S.mjs').then((c) => c.AXPSignoutCommand),
|
|
4261
4261
|
},
|
|
4262
4262
|
{
|
|
4263
4263
|
key: AXMAuthCommandKeys.Session.OpenSessions,
|
|
4264
|
-
command: () => import('./acorex-platform-module-auth-client-open-sessions.command-
|
|
4264
|
+
command: () => import('./acorex-platform-module-auth-client-open-sessions.command-ClbBCljk.mjs').then((c) => c.AXPOpenSessionsCommand),
|
|
4265
4265
|
},
|
|
4266
4266
|
{
|
|
4267
4267
|
key: AXMAuthCommandKeys.Session.LockScreen,
|
|
4268
|
-
command: () => import('./acorex-platform-module-auth-client-lock-screen.command-
|
|
4268
|
+
command: () => import('./acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs').then((c) => c.AXPLockScreenCommand),
|
|
4269
4269
|
},
|
|
4270
4270
|
{
|
|
4271
4271
|
key: AXMAuthCommandKeys.Profile.ChangePhoto,
|
|
4272
|
-
command: () => import('./acorex-platform-module-auth-client-change-photo.command-
|
|
4272
|
+
command: () => import('./acorex-platform-module-auth-client-change-photo.command-CNerD59E.mjs').then((c) => c.AXPChangePhotoCommand),
|
|
4273
4273
|
},
|
|
4274
4274
|
{
|
|
4275
4275
|
key: AXMAuthCommandKeys.Profile.EditAccountInfo,
|
|
4276
|
-
command: () => import('./acorex-platform-module-auth-client-edit-account-info.command-
|
|
4276
|
+
command: () => import('./acorex-platform-module-auth-client-edit-account-info.command-hZ1ze6Q8.mjs').then((c) => c.AXPEditAccountInfoCommand),
|
|
4277
4277
|
},
|
|
4278
4278
|
{
|
|
4279
4279
|
key: AXMAuthCommandKeys.Security.ChangePassword,
|
|
4280
|
-
command: () => import('./acorex-platform-module-auth-client-change-password.command-
|
|
4280
|
+
command: () => import('./acorex-platform-module-auth-client-change-password.command-Cc0aiSYd.mjs').then((c) => c.AXPChangePasswordCommand),
|
|
4281
4281
|
},
|
|
4282
4282
|
{
|
|
4283
4283
|
key: AXMAuthCommandKeys.Security.ManageTwoFactor,
|
|
4284
|
-
command: () => import('./acorex-platform-module-auth-client-manage-two-factor.command-
|
|
4284
|
+
command: () => import('./acorex-platform-module-auth-client-manage-two-factor.command-DoMcX3d_.mjs').then((c) => c.AXPManageTwoFactorCommand),
|
|
4285
4285
|
},
|
|
4286
4286
|
{
|
|
4287
4287
|
key: AXMAuthCommandKeys.Security.SetPinCode,
|
|
4288
|
-
command: () => import('./acorex-platform-module-auth-client-set-pin-code.command-
|
|
4288
|
+
command: () => import('./acorex-platform-module-auth-client-set-pin-code.command-C87VNWyn.mjs').then((c) => c.AXPSetPinCodeCommand),
|
|
4289
4289
|
},
|
|
4290
4290
|
{
|
|
4291
4291
|
key: AXMAuthCommandKeys.Security.RemovePinCode,
|
|
4292
|
-
command: () => import('./acorex-platform-module-auth-client-remove-pin-code.command-
|
|
4292
|
+
command: () => import('./acorex-platform-module-auth-client-remove-pin-code.command-dSUrW_14.mjs').then((c) => c.AXPRemovePinCodeCommand),
|
|
4293
4293
|
},
|
|
4294
4294
|
{
|
|
4295
4295
|
key: AXMAuthCommandKeys.Security.ViewLoginHistory,
|
|
4296
|
-
command: () => import('./acorex-platform-module-auth-client-view-login-history.command-
|
|
4296
|
+
command: () => import('./acorex-platform-module-auth-client-view-login-history.command-ClrzUAOX.mjs').then((c) => c.AXPViewLoginHistoryCommand),
|
|
4297
4297
|
},
|
|
4298
4298
|
{
|
|
4299
4299
|
key: AXMAuthCommandKeys.Security.EditSignature,
|
|
4300
|
-
command: () => import('./acorex-platform-module-auth-client-edit-signature.command-
|
|
4300
|
+
command: () => import('./acorex-platform-module-auth-client-edit-signature.command-ZEGATkZs.mjs').then((c) => c.AXPEditSignatureCommand),
|
|
4301
4301
|
},
|
|
4302
4302
|
{
|
|
4303
4303
|
key: AXMAuthCommandKeys.Profile.ComingSoon,
|
|
4304
|
-
command: () => import('./acorex-platform-module-auth-client-profile-coming-soon.command-
|
|
4304
|
+
command: () => import('./acorex-platform-module-auth-client-profile-coming-soon.command-BwcWdaYV.mjs').then((c) => c.AXPProfileComingSoonCommand),
|
|
4305
4305
|
},
|
|
4306
4306
|
{
|
|
4307
4307
|
key: AXMAuthCommandKeys.Onboarding.Welcome,
|
|
4308
|
-
command: () => import('./acorex-platform-module-auth-client-welcome-onboarding.command-
|
|
4308
|
+
command: () => import('./acorex-platform-module-auth-client-welcome-onboarding.command-CdGRjX5D.mjs').then((c) => c.AXPWelcomeOnboardingCommand),
|
|
4309
4309
|
},
|
|
4310
4310
|
{
|
|
4311
4311
|
key: AXMAuthCommandKeys.Account.OpenWaitingRoom,
|
|
4312
|
-
command: () => import('./acorex-platform-module-auth-client-open-waiting-room.command-
|
|
4312
|
+
command: () => import('./acorex-platform-module-auth-client-open-waiting-room.command-C7FwVYLd.mjs').then((c) => c.AXPOpenWaitingRoomCommand),
|
|
4313
4313
|
},
|
|
4314
4314
|
]),
|
|
4315
4315
|
AXPWelcomeOnboardingTriggerService,
|
|
@@ -4469,13 +4469,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4469
4469
|
};
|
|
4470
4470
|
}),
|
|
4471
4471
|
AXMAuthErrorHandler,
|
|
4472
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-platform-module-auth-client-menu.provider-
|
|
4473
|
-
provideLazyProvider(AXP_SETTING_DEFINITION_PROVIDER, () => import('./acorex-platform-module-auth-client-settings.provider-
|
|
4474
|
-
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-auth-client-profile-page-component.provider-
|
|
4472
|
+
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-platform-module-auth-client-menu.provider-BrnaQ1ed.mjs').then(m => m.AXMSecurityManagementModuleMenuProvider)),
|
|
4473
|
+
provideLazyProvider(AXP_SETTING_DEFINITION_PROVIDER, () => import('./acorex-platform-module-auth-client-settings.provider-DEI1iy0_.mjs').then(m => m.AXMSettingProvider)),
|
|
4474
|
+
provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-auth-client-profile-page-component.provider-C3c8g9wa.mjs').then((module) => module.AXMProfilePageComponentProvider)),
|
|
4475
4475
|
provideQuerySetups([
|
|
4476
4476
|
{
|
|
4477
4477
|
key: 'Auth:GetUserActivity',
|
|
4478
|
-
loader: () => import('./acorex-platform-module-auth-client-get-user-activity.query-
|
|
4478
|
+
loader: () => import('./acorex-platform-module-auth-client-get-user-activity.query-Cam2NyHp.mjs').then((c) => c.AXMGetUserActivityQuery),
|
|
4479
4479
|
},
|
|
4480
4480
|
]),
|
|
4481
4481
|
{
|
|
@@ -4491,63 +4491,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4491
4491
|
provideCommandSetups([
|
|
4492
4492
|
{
|
|
4493
4493
|
key: AXMAuthCommandKeys.Profile.Show,
|
|
4494
|
-
command: () => import('./acorex-platform-module-auth-client-show-profile-command-
|
|
4494
|
+
command: () => import('./acorex-platform-module-auth-client-show-profile-command-BprKlX1F.mjs').then((c) => c.AXPShowProfileCommand),
|
|
4495
4495
|
},
|
|
4496
4496
|
{
|
|
4497
4497
|
key: AXMAuthCommandKeys.Session.Signout,
|
|
4498
|
-
command: () => import('./acorex-platform-module-auth-client-signout-command-
|
|
4498
|
+
command: () => import('./acorex-platform-module-auth-client-signout-command-Be5bQi8S.mjs').then((c) => c.AXPSignoutCommand),
|
|
4499
4499
|
},
|
|
4500
4500
|
{
|
|
4501
4501
|
key: AXMAuthCommandKeys.Session.OpenSessions,
|
|
4502
|
-
command: () => import('./acorex-platform-module-auth-client-open-sessions.command-
|
|
4502
|
+
command: () => import('./acorex-platform-module-auth-client-open-sessions.command-ClbBCljk.mjs').then((c) => c.AXPOpenSessionsCommand),
|
|
4503
4503
|
},
|
|
4504
4504
|
{
|
|
4505
4505
|
key: AXMAuthCommandKeys.Session.LockScreen,
|
|
4506
|
-
command: () => import('./acorex-platform-module-auth-client-lock-screen.command-
|
|
4506
|
+
command: () => import('./acorex-platform-module-auth-client-lock-screen.command-DPwl64UZ.mjs').then((c) => c.AXPLockScreenCommand),
|
|
4507
4507
|
},
|
|
4508
4508
|
{
|
|
4509
4509
|
key: AXMAuthCommandKeys.Profile.ChangePhoto,
|
|
4510
|
-
command: () => import('./acorex-platform-module-auth-client-change-photo.command-
|
|
4510
|
+
command: () => import('./acorex-platform-module-auth-client-change-photo.command-CNerD59E.mjs').then((c) => c.AXPChangePhotoCommand),
|
|
4511
4511
|
},
|
|
4512
4512
|
{
|
|
4513
4513
|
key: AXMAuthCommandKeys.Profile.EditAccountInfo,
|
|
4514
|
-
command: () => import('./acorex-platform-module-auth-client-edit-account-info.command-
|
|
4514
|
+
command: () => import('./acorex-platform-module-auth-client-edit-account-info.command-hZ1ze6Q8.mjs').then((c) => c.AXPEditAccountInfoCommand),
|
|
4515
4515
|
},
|
|
4516
4516
|
{
|
|
4517
4517
|
key: AXMAuthCommandKeys.Security.ChangePassword,
|
|
4518
|
-
command: () => import('./acorex-platform-module-auth-client-change-password.command-
|
|
4518
|
+
command: () => import('./acorex-platform-module-auth-client-change-password.command-Cc0aiSYd.mjs').then((c) => c.AXPChangePasswordCommand),
|
|
4519
4519
|
},
|
|
4520
4520
|
{
|
|
4521
4521
|
key: AXMAuthCommandKeys.Security.ManageTwoFactor,
|
|
4522
|
-
command: () => import('./acorex-platform-module-auth-client-manage-two-factor.command-
|
|
4522
|
+
command: () => import('./acorex-platform-module-auth-client-manage-two-factor.command-DoMcX3d_.mjs').then((c) => c.AXPManageTwoFactorCommand),
|
|
4523
4523
|
},
|
|
4524
4524
|
{
|
|
4525
4525
|
key: AXMAuthCommandKeys.Security.SetPinCode,
|
|
4526
|
-
command: () => import('./acorex-platform-module-auth-client-set-pin-code.command-
|
|
4526
|
+
command: () => import('./acorex-platform-module-auth-client-set-pin-code.command-C87VNWyn.mjs').then((c) => c.AXPSetPinCodeCommand),
|
|
4527
4527
|
},
|
|
4528
4528
|
{
|
|
4529
4529
|
key: AXMAuthCommandKeys.Security.RemovePinCode,
|
|
4530
|
-
command: () => import('./acorex-platform-module-auth-client-remove-pin-code.command-
|
|
4530
|
+
command: () => import('./acorex-platform-module-auth-client-remove-pin-code.command-dSUrW_14.mjs').then((c) => c.AXPRemovePinCodeCommand),
|
|
4531
4531
|
},
|
|
4532
4532
|
{
|
|
4533
4533
|
key: AXMAuthCommandKeys.Security.ViewLoginHistory,
|
|
4534
|
-
command: () => import('./acorex-platform-module-auth-client-view-login-history.command-
|
|
4534
|
+
command: () => import('./acorex-platform-module-auth-client-view-login-history.command-ClrzUAOX.mjs').then((c) => c.AXPViewLoginHistoryCommand),
|
|
4535
4535
|
},
|
|
4536
4536
|
{
|
|
4537
4537
|
key: AXMAuthCommandKeys.Security.EditSignature,
|
|
4538
|
-
command: () => import('./acorex-platform-module-auth-client-edit-signature.command-
|
|
4538
|
+
command: () => import('./acorex-platform-module-auth-client-edit-signature.command-ZEGATkZs.mjs').then((c) => c.AXPEditSignatureCommand),
|
|
4539
4539
|
},
|
|
4540
4540
|
{
|
|
4541
4541
|
key: AXMAuthCommandKeys.Profile.ComingSoon,
|
|
4542
|
-
command: () => import('./acorex-platform-module-auth-client-profile-coming-soon.command-
|
|
4542
|
+
command: () => import('./acorex-platform-module-auth-client-profile-coming-soon.command-BwcWdaYV.mjs').then((c) => c.AXPProfileComingSoonCommand),
|
|
4543
4543
|
},
|
|
4544
4544
|
{
|
|
4545
4545
|
key: AXMAuthCommandKeys.Onboarding.Welcome,
|
|
4546
|
-
command: () => import('./acorex-platform-module-auth-client-welcome-onboarding.command-
|
|
4546
|
+
command: () => import('./acorex-platform-module-auth-client-welcome-onboarding.command-CdGRjX5D.mjs').then((c) => c.AXPWelcomeOnboardingCommand),
|
|
4547
4547
|
},
|
|
4548
4548
|
{
|
|
4549
4549
|
key: AXMAuthCommandKeys.Account.OpenWaitingRoom,
|
|
4550
|
-
command: () => import('./acorex-platform-module-auth-client-open-waiting-room.command-
|
|
4550
|
+
command: () => import('./acorex-platform-module-auth-client-open-waiting-room.command-C7FwVYLd.mjs').then((c) => c.AXPOpenWaitingRoomCommand),
|
|
4551
4551
|
},
|
|
4552
4552
|
]),
|
|
4553
4553
|
AXPWelcomeOnboardingTriggerService,
|
|
@@ -4706,11 +4706,11 @@ class AXPAuthMasterLayoutComponent {
|
|
|
4706
4706
|
return text.match(SLOGAN_MARK)?.[0]?.trim() ?? '';
|
|
4707
4707
|
}
|
|
4708
4708
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAuthMasterLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4709
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAuthMasterLayoutComponent, isStandalone: true, selector: "ng-component", providers: [AXPContextStore], ngImport: i0, template: "<div class=\"w-full h-full flex overflow-hidden\">\n <div\n class=\"axp-auth-master__form-pane flex-1 min-h-0 lightest-surface dark:darker-surface overflow-y-auto px-6 sm:px-8 md:px-10 lg:px-0\"\n >\n <!-- ----- Stack: logo + form vertically centered; footer pinned below ----- -->\n <div\n class=\"axp-auth-master__stack w-full min-h-full flex flex-col items-center\"\n >\n <div\n class=\"axp-auth-master__main w-full grow flex flex-col items-center justify-center gap-5 pt-6 pb-4 sm:pt-8 lg:pt-0 lg:gap-0\"\n >\n <!-- ----- Platform branding on viewports without the side panel ----- -->\n <div class=\"axp-auth-master__brand lg:hidden shrink-0 w-full flex justify-center\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onLight\"\n format=\"full\"\n [size]=\"240\"\n [attr.alt]=\"platformTitle()\"\n class=\"axp-auth-master__logo\"\n ></axp-logo>\n </div>\n <div class=\"axp-auth-master__form-body w-full flex flex-col items-center\">\n <router-outlet></router-outlet>\n </div>\n </div>\n <div class=\"flex justify-between shrink-0 pt-2 pb-1\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n </div>\n <div class=\"hidden lg:flex bg-primary-500 flex-1 axp-auth-bk text-white\">\n <div class=\"flex w-full flex-col justify-between px-48 py-20 text-center \">\n <div>\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onDark\"\n format=\"full\"\n [size]=\"280\"\n [attr.alt]=\"platformTitle()\"\n class=\"w-[280px] max-w-full mx-auto\"\n ></axp-logo>\n </div>\n <div>\n <p class=\"font-black text-4xl mb-4\">\n @if (slogan | translate | async; as sloganText) {\n <!-- ----- Headline; registered mark stays white and smaller than the title ----- -->\n {{ sloganBody(sloganText) }}<sup class=\"axp-auth-master__mark\">{{ sloganMark(sloganText) }}</sup>\n }\n </p>\n <p>{{ description | translate | async }}</p>\n </div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties;.axp-auth-master__form-pane{-webkit-overflow-scrolling:touch;padding-top:max(1.75rem,calc(env(safe-area-inset-top,0px) + 1.25rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}@media(min-width:1024px){.axp-auth-master__form-pane{padding-top:3rem;padding-bottom:3rem}}.axp-auth-master__brand{padding-top:.5rem;margin-bottom:.25rem}.axp-auth-master__logo{width:min(15rem,85vw);max-width:100%}@media(min-width:640px){.axp-auth-master__logo{width:min(16.25rem,90vw)}}.axp-auth-master__form-body>*:not(router-outlet){display:block;width:100%}.axp-auth-master__mark{margin-inline-start:.12em;color:inherit;font-size:.38em;font-weight:700;line-height:0;position:relative;top:-1.35em}.axp-auth-master__mark:empty{display:none}.auth-footer-links{gap:calc(var(--spacing, .25rem) * 5);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}.auth-footer-links a{background-color:transparent;color:var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-surface)))}.auth-footer-links a.ax-state-selected{color:var(--ax-comp-ink-darker, var(--ax-comp-bg-darker, var(--color-on-surface)))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim:
|
|
4709
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPAuthMasterLayoutComponent, isStandalone: true, selector: "ng-component", providers: [AXPContextStore], ngImport: i0, template: "<div class=\"w-full h-full flex overflow-hidden\">\n <div\n class=\"axp-auth-master__form-pane flex-1 min-h-0 lightest-surface dark:darker-surface overflow-y-auto px-6 sm:px-8 md:px-10 lg:px-0\"\n >\n <!-- ----- Stack: logo + form vertically centered; footer pinned below ----- -->\n <div\n class=\"axp-auth-master__stack w-full min-h-full flex flex-col items-center\"\n >\n <div\n class=\"axp-auth-master__main w-full grow flex flex-col items-center justify-center gap-5 pt-6 pb-4 sm:pt-8 lg:pt-0 lg:gap-0\"\n >\n <!-- ----- Platform branding on viewports without the side panel ----- -->\n <div class=\"axp-auth-master__brand lg:hidden shrink-0 w-full flex justify-center\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onLight\"\n format=\"full\"\n [size]=\"240\"\n [attr.alt]=\"platformTitle()\"\n class=\"axp-auth-master__logo\"\n ></axp-logo>\n </div>\n <div class=\"axp-auth-master__form-body w-full flex flex-col items-center\">\n <router-outlet></router-outlet>\n </div>\n </div>\n <div class=\"flex justify-between shrink-0 pt-2 pb-1\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n </div>\n <div class=\"hidden lg:flex bg-primary-500 flex-1 axp-auth-bk text-white\">\n <div class=\"flex w-full flex-col justify-between px-48 py-20 text-center \">\n <div>\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onDark\"\n format=\"full\"\n [size]=\"280\"\n [attr.alt]=\"platformTitle()\"\n class=\"w-[280px] max-w-full mx-auto\"\n ></axp-logo>\n </div>\n <div>\n <p class=\"font-black text-4xl mb-4\">\n @if (slogan | translate | async; as sloganText) {\n <!-- ----- Headline; registered mark stays white and smaller than the title ----- -->\n {{ sloganBody(sloganText) }}<sup class=\"axp-auth-master__mark\">{{ sloganMark(sloganText) }}</sup>\n }\n </p>\n <p>{{ description | translate | async }}</p>\n </div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties;.axp-auth-master__form-pane{-webkit-overflow-scrolling:touch;padding-top:max(1.75rem,calc(env(safe-area-inset-top,0px) + 1.25rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}@media(min-width:1024px){.axp-auth-master__form-pane{padding-top:3rem;padding-bottom:3rem}}.axp-auth-master__brand{padding-top:.5rem;margin-bottom:.25rem}.axp-auth-master__logo{width:min(15rem,85vw);max-width:100%}@media(min-width:640px){.axp-auth-master__logo{width:min(16.25rem,90vw)}}.axp-auth-master__form-body>*:not(router-outlet){display:block;width:100%}.axp-auth-master__mark{margin-inline-start:.12em;color:inherit;font-size:.38em;font-weight:700;line-height:0;position:relative;top:-1.35em}.axp-auth-master__mark:empty{display:none}.auth-footer-links{gap:calc(var(--spacing, .25rem) * 5);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}.auth-footer-links a{background-color:transparent;color:var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-surface)))}.auth-footer-links a.ax-state-selected{color:var(--ax-comp-ink-darker, var(--ax-comp-bg-darker, var(--color-on-surface)))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@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-font-weight: initial}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i6$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["logoKey", "appearance", "size", "format"] }, { kind: "ngmodule", type: AXPComponentSlotModule }, { kind: "directive", type: i1$3.AXPComponentSlotDirective, selector: "axp-component-slot", inputs: ["name", "host", "context"], exportAs: ["slot"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4710
4710
|
}
|
|
4711
4711
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPAuthMasterLayoutComponent, decorators: [{
|
|
4712
4712
|
type: Component,
|
|
4713
|
-
args: [{ imports: [RouterModule, AXPLogoComponent, AXPComponentSlotModule, AXTranslationModule, AsyncPipe], providers: [AXPContextStore], changeDetection: ChangeDetectionStrategy.Eager, encapsulation: ViewEncapsulation.None, template: "<div class=\"w-full h-full flex overflow-hidden\">\n <div\n class=\"axp-auth-master__form-pane flex-1 min-h-0 lightest-surface dark:darker-surface overflow-y-auto px-6 sm:px-8 md:px-10 lg:px-0\"\n >\n <!-- ----- Stack: logo + form vertically centered; footer pinned below ----- -->\n <div\n class=\"axp-auth-master__stack w-full min-h-full flex flex-col items-center\"\n >\n <div\n class=\"axp-auth-master__main w-full grow flex flex-col items-center justify-center gap-5 pt-6 pb-4 sm:pt-8 lg:pt-0 lg:gap-0\"\n >\n <!-- ----- Platform branding on viewports without the side panel ----- -->\n <div class=\"axp-auth-master__brand lg:hidden shrink-0 w-full flex justify-center\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onLight\"\n format=\"full\"\n [size]=\"240\"\n [attr.alt]=\"platformTitle()\"\n class=\"axp-auth-master__logo\"\n ></axp-logo>\n </div>\n <div class=\"axp-auth-master__form-body w-full flex flex-col items-center\">\n <router-outlet></router-outlet>\n </div>\n </div>\n <div class=\"flex justify-between shrink-0 pt-2 pb-1\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n </div>\n <div class=\"hidden lg:flex bg-primary-500 flex-1 axp-auth-bk text-white\">\n <div class=\"flex w-full flex-col justify-between px-48 py-20 text-center \">\n <div>\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onDark\"\n format=\"full\"\n [size]=\"280\"\n [attr.alt]=\"platformTitle()\"\n class=\"w-[280px] max-w-full mx-auto\"\n ></axp-logo>\n </div>\n <div>\n <p class=\"font-black text-4xl mb-4\">\n @if (slogan | translate | async; as sloganText) {\n <!-- ----- Headline; registered mark stays white and smaller than the title ----- -->\n {{ sloganBody(sloganText) }}<sup class=\"axp-auth-master__mark\">{{ sloganMark(sloganText) }}</sup>\n }\n </p>\n <p>{{ description | translate | async }}</p>\n </div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties;.axp-auth-master__form-pane{-webkit-overflow-scrolling:touch;padding-top:max(1.75rem,calc(env(safe-area-inset-top,0px) + 1.25rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}@media(min-width:1024px){.axp-auth-master__form-pane{padding-top:3rem;padding-bottom:3rem}}.axp-auth-master__brand{padding-top:.5rem;margin-bottom:.25rem}.axp-auth-master__logo{width:min(15rem,85vw);max-width:100%}@media(min-width:640px){.axp-auth-master__logo{width:min(16.25rem,90vw)}}.axp-auth-master__form-body>*:not(router-outlet){display:block;width:100%}.axp-auth-master__mark{margin-inline-start:.12em;color:inherit;font-size:.38em;font-weight:700;line-height:0;position:relative;top:-1.35em}.axp-auth-master__mark:empty{display:none}.auth-footer-links{gap:calc(var(--spacing, .25rem) * 5);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}.auth-footer-links a{background-color:transparent;color:var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-surface)))}.auth-footer-links a.ax-state-selected{color:var(--ax-comp-ink-darker, var(--ax-comp-bg-darker, var(--color-on-surface)))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim:
|
|
4713
|
+
args: [{ imports: [RouterModule, AXPLogoComponent, AXPComponentSlotModule, AXTranslationModule, AsyncPipe], providers: [AXPContextStore], changeDetection: ChangeDetectionStrategy.Eager, encapsulation: ViewEncapsulation.None, template: "<div class=\"w-full h-full flex overflow-hidden\">\n <div\n class=\"axp-auth-master__form-pane flex-1 min-h-0 lightest-surface dark:darker-surface overflow-y-auto px-6 sm:px-8 md:px-10 lg:px-0\"\n >\n <!-- ----- Stack: logo + form vertically centered; footer pinned below ----- -->\n <div\n class=\"axp-auth-master__stack w-full min-h-full flex flex-col items-center\"\n >\n <div\n class=\"axp-auth-master__main w-full grow flex flex-col items-center justify-center gap-5 pt-6 pb-4 sm:pt-8 lg:pt-0 lg:gap-0\"\n >\n <!-- ----- Platform branding on viewports without the side panel ----- -->\n <div class=\"axp-auth-master__brand lg:hidden shrink-0 w-full flex justify-center\">\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onLight\"\n format=\"full\"\n [size]=\"240\"\n [attr.alt]=\"platformTitle()\"\n class=\"axp-auth-master__logo\"\n ></axp-logo>\n </div>\n <div class=\"axp-auth-master__form-body w-full flex flex-col items-center\">\n <router-outlet></router-outlet>\n </div>\n </div>\n <div class=\"flex justify-between shrink-0 pt-2 pb-1\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n </div>\n <div class=\"hidden lg:flex bg-primary-500 flex-1 axp-auth-bk text-white\">\n <div class=\"flex w-full flex-col justify-between px-48 py-20 text-center \">\n <div>\n <axp-logo\n logoKey=\"platform\"\n appearance=\"onDark\"\n format=\"full\"\n [size]=\"280\"\n [attr.alt]=\"platformTitle()\"\n class=\"w-[280px] max-w-full mx-auto\"\n ></axp-logo>\n </div>\n <div>\n <p class=\"font-black text-4xl mb-4\">\n @if (slogan | translate | async; as sloganText) {\n <!-- ----- Headline; registered mark stays white and smaller than the title ----- -->\n {{ sloganBody(sloganText) }}<sup class=\"axp-auth-master__mark\">{{ sloganMark(sloganText) }}</sup>\n }\n </p>\n <p>{{ description | translate | async }}</p>\n </div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties;.axp-auth-master__form-pane{-webkit-overflow-scrolling:touch;padding-top:max(1.75rem,calc(env(safe-area-inset-top,0px) + 1.25rem));padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))}@media(min-width:1024px){.axp-auth-master__form-pane{padding-top:3rem;padding-bottom:3rem}}.axp-auth-master__brand{padding-top:.5rem;margin-bottom:.25rem}.axp-auth-master__logo{width:min(15rem,85vw);max-width:100%}@media(min-width:640px){.axp-auth-master__logo{width:min(16.25rem,90vw)}}.axp-auth-master__form-body>*:not(router-outlet){display:block;width:100%}.axp-auth-master__mark{margin-inline-start:.12em;color:inherit;font-size:.38em;font-weight:700;line-height:0;position:relative;top:-1.35em}.axp-auth-master__mark:empty{display:none}.auth-footer-links{gap:calc(var(--spacing, .25rem) * 5);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}.auth-footer-links a{background-color:transparent;color:var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-surface)))}.auth-footer-links a.ax-state-selected{color:var(--ax-comp-ink-darker, var(--ax-comp-bg-darker, var(--color-on-surface)))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@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-font-weight: initial}}}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"] }]
|
|
4714
4714
|
}], ctorParameters: () => [] });
|
|
4715
4715
|
|
|
4716
4716
|
var master_layout = /*#__PURE__*/Object.freeze({
|
|
@@ -4723,4 +4723,4 @@ var master_layout = /*#__PURE__*/Object.freeze({
|
|
|
4723
4723
|
*/
|
|
4724
4724
|
|
|
4725
4725
|
export { configAuthModule as $, AXMUserDeviceSessionsService as A, AXPAppChooserListComponent as B, CHANGE_PASSWORD_SECTION_ID as C, AXPOnboardingProgressService as D, formatCompactActivityCount as E, AXPLoginExternalProvidersComponent as F, AXMAuthenticationTypes as G, AUTH_LOGIN_EXTERNAL_PROVIDERS_SLOT as H, AUTH_USER_ACTIVITY_CLUSTER_GAP_DAYS as I, AUTH_USER_ACTIVITY_DEFAULT_WEEKS as J, AUTH_USER_ACTIVITY_WEEK_PRESETS as K, AXMAuthErrorHandler as L, AXMAuthModule as M, AXMDefaultAuthConfigs as N, AXM_AUTH_CONFIG_TOKEN as O, PROFILE_PAGE_GROUPS_HOOK as P, AXPAuthMasterLayoutComponent as Q, ONBOARDING_STEPS_HOOK as R, ONBOARDING_WELCOME_SETTING_KEY as S, TWO_FACTOR_SECTION_ID$1 as T, PROFILE_SLOT_MENU_ITEMS_HOOK as U, aggregateDailySessionCounts as V, aggregateHourlySessionCounts as W, buildUserActivityHours as X, buildUserActivityWeeks as Y, canActivateLogin as Z, computeUserActivityStats as _, PROFILE_PAGE_SECTIONS_HOOK as a, countToActivityLevel as a0, extractUserActivityEndDate as a1, extractUserActivityStartDate as a2, extractUserActivityUserId as a3, hasProfileSlotMenuBreakAfter as a4, hasProfileSlotMenuBreakBefore as a5, isUserProfileGroupComponent as a6, isUserProfileSectionsGroupRequested as a7, parseAuthCredentialType as a8, resolveDayDateRange as a9, resolveUserActivityHeatmapLayout as aa, PROFILE_PAGE_HEADER_META_HOOK as b, resolveUserProfileSectionContent as c, PROFILE_SECTION_INSIGHTS_PATCH_METADATA_KEY as d, PROFILE_ACTIVITY_CHART_COMPONENT_KEY as e, PROFILE_DELETE_ACCOUNT_DANGER_ZONE_COMPONENT_KEY as f, resolveDefaultUserActivityDateRange as g, resolveSmartUserActivityDateRange as h, buildUserActivityDataSourceItem as i, AXPIdleLockService as j, AXPUserAvatarSyncService as k, AXPAuthPasswordComplexityService as l, AXPAuthPasswordChangeTrackingService as m, getPasswordComplexityHintKey as n, getPasswordComplexityValidationMessageKey as o, validatePasswordAgainstComplexity as p, buildPasswordLastChangedInsights as q, resolveDefaultUserProfileSectionAction as r, buildTwoFactorStatusInsights as s, AXPLoginHistoryService as t, AXPWelcomeOnboardingFlowService as u, visibleUserProfileSectionActions as v, AXM_LOGIN_GUARD_TOKEN as w, AXMAuthPlatformSettingsService as x, AXPTenantChooserListComponent as y, AXPTenantChooserDropdownComponent as z };
|
|
4726
|
-
//# sourceMappingURL=acorex-platform-module-auth-client-acorex-platform-module-auth-client-
|
|
4726
|
+
//# sourceMappingURL=acorex-platform-module-auth-client-acorex-platform-module-auth-client-LvKwBD7L.mjs.map
|