@saasquatch/mint-components 1.13.0-0 → 1.13.0-1
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/dist/cjs/{GenericTableView-7ef786c3.js → GenericTableView-a9f4ba75.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-2aa1bd99.js → ShadowViewAddon-c195102f.js} +29 -29
- package/dist/cjs/{copy-text-view-43e8349f.js → copy-text-view-f7a88b15.js} +10 -10
- package/dist/cjs/{email-registration-view-4eeee3e4.js → email-registration-view-55b378dc.js} +1 -1
- package/dist/cjs/{global-d9abaf4d.js → global-0cb2907a.js} +3 -3
- package/dist/cjs/{index-3cf5ef3d.js → index-a29c60ef.js} +10 -0
- package/dist/cjs/{index.module-ccf9bd9c.js → index.module-3ae0c462.js} +19 -56
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-14ae1f8a.js → luxon-2926d85f.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{mockRewardData-a384d9f5.js → mockRewardData-272e22d6.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-1e63c82b.js → re-render-5bfdb0d3.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a3abee0b.js → sqm-asset-card-view-21ddf04f.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +65 -65
- package/dist/cjs/{sqm-base-registration-form-view-e4a74dee.js → sqm-base-registration-form-view-d5685747.js} +2 -2
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +70 -68
- package/dist/cjs/{sqm-close-button-view-0cdada3a.js → sqm-close-button-view-ea3fa23b.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +90 -27
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-a13d1c7f.js → sqm-invoice-table-view-1c270db0.js} +2 -2
- package/dist/cjs/{sqm-leaderboard-rank-view-133f8d95.js → sqm-leaderboard-rank-view-d39a55d8.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-64ca6abe.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-navigation-sidebar-item-view-38519acf.js → sqm-navigation-sidebar-item-view-9691839f.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-37209a17.js → sqm-navigation-sidebar-view-17111896.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +13 -13
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-9a36f5ed.js → sqm-portal-container-view-4f15143a.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-6e1e80e7.js → sqm-portal-email-verification-view-758f11cb.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-forgot-password-view-97903679.js → sqm-portal-forgot-password-view-78f19ef9.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +17 -17
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-f4489585.js → sqm-portal-profile-view-b944ddba.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-registration-form-view-add61eb6.js → sqm-portal-registration-form-view-e947a5b3.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-reset-password-view-0ed5419e.js → sqm-portal-reset-password-view-fe602822.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-portal-verify-email-view-cd2c3086.js → sqm-portal-verify-email-view-7b678f34.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +10 -10
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +15 -15
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +150 -151
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-a22f50aa.js → sqm-text-span-view-0aa82125.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/{stencil-hooks.module-ece1ee46.js → stencil-hooks.module-3a336b0f.js} +1 -1
- package/dist/cjs/{useChildElements-438cf387.js → useChildElements-4e04d4a0.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-7d91867a.js → useInstantAccessRegistration-b732990f.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-0d4fbcde.js → usePortalRegistrationForm-99ec3cc2.js} +9 -7
- package/dist/cjs/{useReferralTable-6b4920f9.js → useReferralTable-56d6576f.js} +11 -11
- package/dist/cjs/useRegistrationFormState-2a738647.js +27 -0
- package/dist/cjs/{utilities-27e9535b.js → utilities-7da4d59a.js} +2 -2
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +14 -3
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +55 -30
- package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +43 -0
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +43 -63
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -2
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +7 -8
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +21 -8
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +6 -5
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +2 -0
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +13 -0
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +0 -1
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -3
- package/dist/esm/{GenericTableView-6aa9fac9.js → GenericTableView-7b9087af.js} +1 -1
- package/dist/esm/{ShadowViewAddon-af23bc54.js → ShadowViewAddon-fb9d29e1.js} +29 -29
- package/dist/esm/{copy-text-view-61eebf5d.js → copy-text-view-d79ce112.js} +10 -10
- package/dist/esm/{email-registration-view-6870d230.js → email-registration-view-a7818cf2.js} +1 -1
- package/dist/esm/{global-3611a2b7.js → global-29e5c68b.js} +3 -3
- package/dist/esm/{index-60f16d0a.js → index-91e7729f.js} +10 -0
- package/dist/esm/{index.module-f3d96fbb.js → index.module-bc8dd3be.js} +4 -41
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-9b1f9912.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-8b3afd15.js → mockRewardData-8bd1b356.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-3b630de2.js → re-render-2a185c6d.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-fe5db3c0.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-banking-info-form_16.entry.js +65 -65
- package/dist/esm/{sqm-base-registration-form-view-dd481f19.js → sqm-base-registration-form-view-98c4db70.js} +2 -2
- package/dist/esm/sqm-big-stat_38.entry.js +70 -68
- package/dist/esm/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-f9819751.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +5 -5
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +90 -27
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
- package/dist/esm/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-79fd00be.js} +2 -2
- package/dist/esm/{sqm-leaderboard-rank-view-7cd0de83.js → sqm-leaderboard-rank-view-753c8d4a.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +6 -6
- package/dist/esm/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-700e2c99.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
- package/dist/esm/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-9d802b78.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-pagination_3.entry.js +13 -13
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-1683ae32.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-e2f6cd82.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +11 -11
- package/dist/esm/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-3d3182f1.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +17 -17
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-a52abf17.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +10 -10
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/{sqm-portal-registration-form-view-20b9c9bc.js → sqm-portal-registration-form-view-90e2bfd5.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-54a8651f.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
- package/dist/esm/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-b12cb894.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +10 -10
- package/dist/esm/sqm-referral-table_11.entry.js +11 -11
- package/dist/esm/sqm-referred-registration.entry.js +6 -6
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +15 -15
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +150 -151
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-ca32495e.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-4bc38af4.js} +1 -1
- package/dist/esm/{useChildElements-d1d3fedd.js → useChildElements-9d6edd4a.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-031d4454.js} +4 -4
- package/dist/esm/{usePortalRegistrationForm-e8ec6d4e.js → usePortalRegistrationForm-475d3959.js} +9 -7
- package/dist/esm/{useReferralTable-fbcfc2a7.js → useReferralTable-ccbc4934.js} +11 -11
- package/dist/esm/useRegistrationFormState-34651ee4.js +23 -0
- package/dist/esm/{utilities-33996ce7.js → utilities-fe487ceb.js} +2 -2
- package/dist/esm-es5/{GenericTableView-6aa9fac9.js → GenericTableView-7b9087af.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-fb9d29e1.js +1 -0
- package/dist/esm-es5/copy-text-view-d79ce112.js +1 -0
- package/dist/esm-es5/{email-registration-view-6870d230.js → email-registration-view-a7818cf2.js} +1 -1
- package/dist/esm-es5/{global-3611a2b7.js → global-29e5c68b.js} +2 -2
- package/dist/esm-es5/{index-60f16d0a.js → index-91e7729f.js} +1 -1
- package/dist/esm-es5/index.module-bc8dd3be.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-9b1f9912.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-8b3afd15.js → mockRewardData-8bd1b356.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-3b630de2.js → re-render-2a185c6d.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-fe5db3c0.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-dd481f19.js → sqm-base-registration-form-view-98c4db70.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-f9819751.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-79fd00be.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-700e2c99.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-9d802b78.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-1683ae32.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-e2f6cd82.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-3d3182f1.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-a52abf17.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-20b9c9bc.js → sqm-portal-registration-form-view-90e2bfd5.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-ca32495e.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-4bc38af4.js} +1 -1
- package/dist/esm-es5/{useChildElements-d1d3fedd.js → useChildElements-9d6edd4a.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-031d4454.js} +1 -1
- package/dist/esm-es5/usePortalRegistrationForm-475d3959.js +1 -0
- package/dist/esm-es5/{useReferralTable-fbcfc2a7.js → useReferralTable-ccbc4934.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-34651ee4.js +1 -0
- package/dist/esm-es5/{utilities-33996ce7.js → utilities-fe487ceb.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-053746b0.entry.js +1 -0
- package/dist/mint-components/p-05f952b4.js +1 -0
- package/dist/mint-components/{p-a67e8ef4.system.js → p-076ef8f4.system.js} +1 -1
- package/dist/mint-components/{p-a1cb66c0.system.js → p-08bd17ec.system.js} +1 -1
- package/dist/mint-components/{p-5b6cf6cd.system.js → p-0ae73dd2.system.js} +1 -1
- package/dist/mint-components/{p-0954e95d.entry.js → p-0feca7a7.entry.js} +2 -2
- package/dist/mint-components/{p-e605fe66.entry.js → p-102ecd33.entry.js} +2 -2
- package/dist/mint-components/{p-b7edef12.system.entry.js → p-120495ed.system.entry.js} +1 -1
- package/dist/mint-components/p-127e66c2.system.js +1 -0
- package/dist/mint-components/p-13c1fe04.js +1 -0
- package/dist/mint-components/{p-1ab3f305.system.js → p-14a65f29.system.js} +1 -1
- package/dist/mint-components/{p-9259fd35.system.entry.js → p-1544a0f1.system.entry.js} +1 -1
- package/dist/mint-components/{p-f8450975.system.entry.js → p-1713fcc2.system.entry.js} +1 -1
- package/dist/mint-components/{p-71d6b762.js → p-18fdfaff.js} +1 -1
- package/dist/mint-components/{p-3b923175.system.entry.js → p-19bc3406.system.entry.js} +1 -1
- package/dist/mint-components/p-1a99fc5a.entry.js +1 -0
- package/dist/mint-components/{p-0aa76ad0.system.entry.js → p-1b3ab15a.system.entry.js} +1 -1
- package/dist/mint-components/{p-7141d536.system.entry.js → p-1d3d2a7b.system.entry.js} +1 -1
- package/dist/mint-components/p-1f0c1adb.entry.js +1 -0
- package/dist/mint-components/{p-88197cfd.js → p-229f797b.js} +1 -1
- package/dist/mint-components/{p-e56447fd.js → p-24db5c70.js} +1 -1
- package/dist/mint-components/{p-b402df18.js → p-2564c732.js} +1 -1
- package/dist/mint-components/{p-5309ebf3.js → p-266a8b4d.js} +1 -1
- package/dist/mint-components/{p-eac81420.entry.js → p-269c7fcf.entry.js} +1 -1
- package/dist/mint-components/{p-863340dc.entry.js → p-28353152.entry.js} +1 -1
- package/dist/mint-components/{p-75956e50.entry.js → p-2bbff88f.entry.js} +1 -1
- package/dist/mint-components/{p-3dc9a448.entry.js → p-2c01a479.entry.js} +1 -1
- package/dist/mint-components/{p-c1ede4f5.system.js → p-2dca9e1a.system.js} +1 -1
- package/dist/mint-components/{p-d47569d0.js → p-2e4a0990.js} +1 -1
- package/dist/mint-components/{p-aa5446c1.js → p-35b475bf.js} +1 -1
- package/dist/mint-components/p-376eeb6c.system.entry.js +1 -0
- package/dist/mint-components/{p-c4c922fc.system.entry.js → p-37bb8a23.system.entry.js} +1 -1
- package/dist/mint-components/p-380bfde1.entry.js +1 -0
- package/dist/mint-components/{p-222fa722.system.js → p-38e5c429.system.js} +1 -1
- package/dist/mint-components/{p-682450a8.js → p-3aa09019.js} +2 -2
- package/dist/mint-components/{p-0725d1a7.system.entry.js → p-3d5530b7.system.entry.js} +1 -1
- package/dist/mint-components/p-3dc91b3e.system.js +1 -0
- package/dist/mint-components/{p-823f61da.entry.js → p-3f1d9ec1.entry.js} +1 -1
- package/dist/mint-components/p-3f35e499.entry.js +13 -0
- package/dist/mint-components/p-3f633736.entry.js +1 -0
- package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
- package/dist/mint-components/{p-58bcece7.system.js → p-48135f99.system.js} +1 -1
- package/dist/mint-components/{p-1d58a8ff.entry.js → p-482729cf.entry.js} +1 -1
- package/dist/mint-components/{p-697d6e54.system.js → p-492b70db.system.js} +1 -1
- package/dist/mint-components/{p-c33ccfb7.entry.js → p-4b6dc0e5.entry.js} +1 -1
- package/dist/mint-components/{p-ef7b966e.system.js → p-4e138f8c.system.js} +1 -1
- package/dist/mint-components/p-4e5af50c.js +1 -0
- package/dist/mint-components/{p-f7175fc2.system.entry.js → p-502f1135.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c00282b.entry.js → p-51f712d3.entry.js} +1 -1
- package/dist/mint-components/p-533ccb5b.entry.js +1 -0
- package/dist/mint-components/p-548df223.system.js +1 -0
- package/dist/mint-components/{p-38b8050c.system.entry.js → p-55885404.system.entry.js} +1 -1
- package/dist/mint-components/{p-e864a155.entry.js → p-57bb1a14.entry.js} +1 -1
- package/dist/mint-components/{p-ad00a797.system.entry.js → p-5b2b106c.system.entry.js} +1 -1
- package/dist/mint-components/{p-12d27b9b.js → p-5bedb58c.js} +1 -1
- package/dist/mint-components/p-5cdd1ac8.system.js +1 -0
- package/dist/mint-components/{p-e64c49dd.system.js → p-6055eb4c.system.js} +1 -1
- package/dist/mint-components/p-625141de.system.entry.js +1 -0
- package/dist/mint-components/{p-b33381a7.js → p-626e9e84.js} +1 -1
- package/dist/mint-components/{p-ffe78243.js → p-62f6627d.js} +1 -1
- package/dist/mint-components/{p-76769baa.entry.js → p-6487e6bf.entry.js} +7 -7
- package/dist/mint-components/{p-b3499953.entry.js → p-65ba9e94.entry.js} +1 -1
- package/dist/mint-components/p-660ac5ad.js +13 -0
- package/dist/mint-components/{p-5c714029.js → p-67269167.js} +1 -1
- package/dist/mint-components/{p-ec379cf4.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
- package/dist/mint-components/{p-d477a07b.system.js → p-6d9e52c7.system.js} +1 -1
- package/dist/mint-components/{p-7d2d59ec.system.entry.js → p-6e209200.system.entry.js} +1 -1
- package/dist/mint-components/{p-a631db44.system.js → p-6f78f2f4.system.js} +1 -1
- package/dist/mint-components/{p-9d078f60.js → p-726a9924.js} +1 -1
- package/dist/mint-components/p-74d2611a.entry.js +1 -0
- package/dist/mint-components/{p-adc14a77.system.entry.js → p-7503adda.system.entry.js} +1 -1
- package/dist/mint-components/{p-500a2bff.entry.js → p-78f3e403.entry.js} +2 -2
- package/dist/mint-components/{p-9716a83b.js → p-7a9290ba.js} +1 -1
- package/dist/mint-components/p-7bdac1cb.system.entry.js +1 -0
- package/dist/mint-components/p-7c83f973.system.entry.js +1 -0
- package/dist/mint-components/{p-7bc9308c.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-273ad080.system.entry.js → p-7dec07a0.system.entry.js} +1 -1
- package/dist/mint-components/{p-b043693d.system.entry.js → p-8280da48.system.entry.js} +1 -1
- package/dist/mint-components/p-82b4d2c5.entry.js +9 -0
- package/dist/mint-components/{p-0b6200b3.js → p-837a0fdd.js} +1 -1
- package/dist/mint-components/{p-3ae32130.system.js → p-8413ade9.system.js} +1 -1
- package/dist/mint-components/p-84add09b.system.js +1 -0
- package/dist/mint-components/{p-f8047aab.entry.js → p-84d54a69.entry.js} +1 -1
- package/dist/mint-components/{p-6a95e6b7.js → p-859954f7.js} +2 -2
- package/dist/mint-components/{p-2dff4fb2.js → p-92816d1f.js} +1 -1
- package/dist/mint-components/{p-8f705bea.system.entry.js → p-96431b4f.system.entry.js} +1 -1
- package/dist/mint-components/p-96b48c2b.system.js +1 -0
- package/dist/mint-components/{p-9e4e3d5f.system.js → p-97d4d651.system.js} +1 -1
- package/dist/mint-components/{p-ff19bf56.system.js → p-99ad7d56.system.js} +1 -1
- package/dist/mint-components/{p-bc305236.system.entry.js → p-9b90dae2.system.entry.js} +1 -1
- package/dist/mint-components/{p-22110634.js → p-a12351b8.js} +1 -1
- package/dist/mint-components/{p-7027b14d.js → p-a1b09b0d.js} +1 -1
- package/dist/mint-components/p-a37bc542.system.entry.js +1 -0
- package/dist/mint-components/{p-dacefee2.entry.js → p-a3b972e6.entry.js} +1 -1
- package/dist/mint-components/p-a496f781.system.js +1 -0
- package/dist/mint-components/p-a8d088cd.system.js +1 -0
- package/dist/mint-components/{p-9fff2218.js → p-a9f4ddb1.js} +1 -1
- package/dist/mint-components/p-af6cc283.system.entry.js +1 -0
- package/dist/mint-components/p-b0b220a2.js +1 -0
- package/dist/mint-components/p-b207beeb.entry.js +1 -0
- package/dist/mint-components/p-b2b447dc.system.js +1 -0
- package/dist/mint-components/p-b2fe992e.system.entry.js +1 -0
- package/dist/mint-components/p-b39f7ba2.system.entry.js +1 -0
- package/dist/mint-components/{p-aeea67a3.entry.js → p-b54f56c0.entry.js} +1 -1
- package/dist/mint-components/{p-5057380a.system.js → p-b75bb6e3.system.js} +1 -1
- package/dist/mint-components/{p-f81cc2cd.entry.js → p-bcbaf408.entry.js} +1 -1
- package/dist/mint-components/{p-8fb2af73.system.js → p-bfc7cfc0.system.js} +1 -1
- package/dist/mint-components/p-c2f1fb15.system.entry.js +1 -0
- package/dist/mint-components/{p-14dc52dc.system.entry.js → p-c43b22fc.system.entry.js} +1 -1
- package/dist/mint-components/p-c60f1c6d.entry.js +1 -0
- package/dist/mint-components/{p-003fb0ae.system.js → p-c6a8c075.system.js} +1 -1
- package/dist/mint-components/{p-b11f43ee.js → p-c9f1dde7.js} +1 -1
- package/dist/mint-components/{p-0e89ac7f.system.entry.js → p-cabcb677.system.entry.js} +1 -1
- package/dist/mint-components/p-cb008ff3.js +1 -0
- package/dist/mint-components/{p-b619a5e0.js → p-cd651f81.js} +1 -1
- package/dist/mint-components/{p-9d954277.system.entry.js → p-ce72ea82.system.entry.js} +1 -1
- package/dist/mint-components/p-d1a32dab.entry.js +1 -0
- package/dist/mint-components/{p-3dbcd42a.system.entry.js → p-d3aa845e.system.entry.js} +1 -1
- package/dist/mint-components/{p-bd5706ba.entry.js → p-d419afab.entry.js} +1 -1
- package/dist/mint-components/{p-9c7a031a.js → p-d87ce3d2.js} +1 -1
- package/dist/mint-components/{p-44c4a54f.system.entry.js → p-dc383779.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0c608e4.system.js → p-e07bc6c4.system.js} +1 -1
- package/dist/mint-components/{p-aed99250.js → p-e2639e1f.js} +3 -3
- package/dist/mint-components/{p-64af8fa4.system.js → p-e44a0794.system.js} +1 -1
- package/dist/mint-components/p-e5996773.entry.js +1 -0
- package/dist/mint-components/{p-070fa30d.entry.js → p-e7460ad7.entry.js} +1 -1
- package/dist/mint-components/{p-15b2063c.system.js → p-ea58b97c.system.js} +1 -1
- package/dist/mint-components/p-eaa75e41.system.entry.js +1 -0
- package/dist/mint-components/{p-d59c19ba.entry.js → p-ebf8b913.entry.js} +2 -2
- package/dist/mint-components/{p-5fb1bcb5.entry.js → p-ec4dff25.entry.js} +1 -1
- package/dist/mint-components/{p-f8b41805.system.js → p-edafa368.system.js} +1 -1
- package/dist/mint-components/{p-c2bc302f.system.entry.js → p-f07ce541.system.entry.js} +1 -1
- package/dist/mint-components/{p-1739dfb8.entry.js → p-f110c14d.entry.js} +1 -1
- package/dist/mint-components/p-f26aedcd.system.js +1 -0
- package/dist/mint-components/{p-70eafbbd.system.entry.js → p-f2d931b4.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ac9d2cf.entry.js → p-f34449e7.entry.js} +1 -1
- package/dist/mint-components/{p-a8bf33fc.js → p-f708da7b.js} +1 -1
- package/dist/mint-components/{p-7e3ada1b.system.js → p-f7c99803.system.js} +1 -1
- package/dist/mint-components/{p-683cfd07.js → p-f8d3bb77.js} +1 -1
- package/dist/mint-components/p-f940190a.js +1 -0
- package/dist/mint-components/{p-0fd20804.system.entry.js → p-f9881658.system.entry.js} +1 -1
- package/dist/mint-components/{p-8799b28f.entry.js → p-faba3198.entry.js} +1 -1
- package/dist/mint-components/p-fee4859d.system.js +1 -0
- package/dist/types/components/sqm-base-registration/BaseRegistrationForm.stories.d.ts +1 -0
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +4 -0
- package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +4 -0
- package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +0 -2
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -0
- package/dist/types/components.d.ts +6 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -1
- package/dist/cjs/useRegistrationFormState-5911d016.js +0 -14
- package/dist/esm/useRegistrationFormState-33f9cb24.js +0 -11
- package/dist/esm-es5/ShadowViewAddon-af23bc54.js +0 -1
- package/dist/esm-es5/copy-text-view-61eebf5d.js +0 -1
- package/dist/esm-es5/index.module-f3d96fbb.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-a4e4edb6.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-e8ec6d4e.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-33f9cb24.js +0 -1
- package/dist/mint-components/p-0c4c5874.js +0 -1
- package/dist/mint-components/p-0fe8fbe1.system.entry.js +0 -1
- package/dist/mint-components/p-13fe7290.js +0 -1
- package/dist/mint-components/p-192689fc.entry.js +0 -1
- package/dist/mint-components/p-27f281f4.system.js +0 -1
- package/dist/mint-components/p-38bd81d1.system.js +0 -1
- package/dist/mint-components/p-3c04f8d1.system.js +0 -1
- package/dist/mint-components/p-3d4978ca.system.entry.js +0 -1
- package/dist/mint-components/p-3e8e2f37.system.js +0 -1
- package/dist/mint-components/p-3f3cd0b9.system.entry.js +0 -1
- package/dist/mint-components/p-455a3f54.system.entry.js +0 -1
- package/dist/mint-components/p-4692d45d.system.entry.js +0 -1
- package/dist/mint-components/p-478e8baa.system.js +0 -1
- package/dist/mint-components/p-53238aee.js +0 -1
- package/dist/mint-components/p-5dd51c6f.entry.js +0 -9
- package/dist/mint-components/p-5e61bdfd.entry.js +0 -1
- package/dist/mint-components/p-6465b781.js +0 -1
- package/dist/mint-components/p-6673a331.system.js +0 -1
- package/dist/mint-components/p-705de128.js +0 -13
- package/dist/mint-components/p-74d5d3d1.entry.js +0 -1
- package/dist/mint-components/p-7ef0cb0a.system.js +0 -1
- package/dist/mint-components/p-7facf5cd.system.entry.js +0 -1
- package/dist/mint-components/p-8329e1fa.system.js +0 -1
- package/dist/mint-components/p-8525931d.system.entry.js +0 -1
- package/dist/mint-components/p-8a0a87e7.system.entry.js +0 -1
- package/dist/mint-components/p-920b48ad.system.entry.js +0 -1
- package/dist/mint-components/p-93124bdb.entry.js +0 -1
- package/dist/mint-components/p-944918d9.entry.js +0 -1
- package/dist/mint-components/p-989fdd2e.system.js +0 -1
- package/dist/mint-components/p-a2a3d9dc.entry.js +0 -1
- package/dist/mint-components/p-a9166b6a.entry.js +0 -1
- package/dist/mint-components/p-b667d890.system.entry.js +0 -1
- package/dist/mint-components/p-b6a4ce83.entry.js +0 -1
- package/dist/mint-components/p-b6f41077.entry.js +0 -1
- package/dist/mint-components/p-c56b47e5.system.js +0 -1
- package/dist/mint-components/p-cd39acd0.system.entry.js +0 -1
- package/dist/mint-components/p-d23d5113.js +0 -1
- package/dist/mint-components/p-d4c0d53f.js +0 -1
- package/dist/mint-components/p-d9dd65fd.entry.js +0 -1
- package/dist/mint-components/p-e10be944.entry.js +0 -1
- package/dist/mint-components/p-ec9c8ced.system.js +0 -1
- package/dist/mint-components/p-fde23de1.entry.js +0 -13
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const global = require('./global-0cb2907a.js');
|
|
8
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-
|
|
10
|
+
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-d39a55d8.js');
|
|
11
11
|
|
|
12
12
|
const GET_RANK = index_module.dist.gql `
|
|
13
13
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
@@ -24,10 +24,10 @@ const GET_RANK = index_module.dist.gql `
|
|
|
24
24
|
`;
|
|
25
25
|
function useLeaderboardRank(props) {
|
|
26
26
|
var _a, _b, _c, _d;
|
|
27
|
-
const programIdContext = index_module.
|
|
27
|
+
const programIdContext = index_module.H();
|
|
28
28
|
// Default to context, overriden by props
|
|
29
29
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
30
|
-
const user = index_module.
|
|
30
|
+
const user = index_module.Q();
|
|
31
31
|
const rankVariables = programId
|
|
32
32
|
? {
|
|
33
33
|
type: props.leaderboardType,
|
|
@@ -40,7 +40,7 @@ function useLeaderboardRank(props) {
|
|
|
40
40
|
if (props.interval) {
|
|
41
41
|
rankVariables.filter["interval"] = props.interval;
|
|
42
42
|
}
|
|
43
|
-
const { data: rankData } = index_module.
|
|
43
|
+
const { data: rankData } = index_module.yn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
44
44
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? global.intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
45
45
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
46
46
|
})
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
|
-
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-
|
|
11
|
+
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-11d57c12.js');
|
|
12
12
|
|
|
13
13
|
const GET_USER_DETAILS = index_module.dist.gql `
|
|
14
14
|
query getUserDetails {
|
|
@@ -23,8 +23,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
23
23
|
`;
|
|
24
24
|
function useLogoutCurrentUser(props) {
|
|
25
25
|
var _a, _b;
|
|
26
|
-
const user = index_module.
|
|
27
|
-
const { loading, data } = index_module.
|
|
26
|
+
const user = index_module.Q();
|
|
27
|
+
const { loading, data } = index_module.yn(GET_USER_DETAILS, {}, !user);
|
|
28
28
|
const onSwitchClick = () => {
|
|
29
29
|
index_module.setUserIdentity(undefined);
|
|
30
30
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-f7e0377a.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.$n.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
12
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-9691839f.js');
|
|
13
13
|
|
|
14
14
|
function useNavigationSidebarItem(props) {
|
|
15
|
-
const currentPage = index_module.
|
|
15
|
+
const currentPage = index_module.Sn();
|
|
16
16
|
return {
|
|
17
17
|
states: {
|
|
18
18
|
active: currentPage.pathname === props.path,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
8
|
-
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-17111896.js');
|
|
9
9
|
|
|
10
10
|
const NavigationSidebar = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -20,8 +20,8 @@ const NavigationSidebar = class {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
function useNavigationSidebar() {
|
|
23
|
-
const location = index_module.
|
|
24
|
-
const programId = index_module.
|
|
23
|
+
const location = index_module.Sn();
|
|
24
|
+
const programId = index_module.H();
|
|
25
25
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
26
26
|
// Close hamburger menu after navigation
|
|
27
27
|
stencilHooks_module.useEffect(() => {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const global = require('./global-0cb2907a.js');
|
|
8
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
|
-
const copyTextView = require('./copy-text-view-
|
|
12
|
+
const copyTextView = require('./copy-text-view-f7a88b15.js');
|
|
13
13
|
require('./mixins-f7e0377a.js');
|
|
14
14
|
|
|
15
15
|
const style = {
|
|
@@ -45,7 +45,7 @@ function PaginationView(props) {
|
|
|
45
45
|
|
|
46
46
|
function usePagination(props) {
|
|
47
47
|
var _a;
|
|
48
|
-
const context = index_module.
|
|
48
|
+
const context = index_module.In(copyTextView.REFERRAL_CODES_PAGINATION_CONTEXT);
|
|
49
49
|
const currentPage = context.states.currentPage + 1;
|
|
50
50
|
const totalPages = (_a = context.states) === null || _a === void 0 ? void 0 : _a.pageCount;
|
|
51
51
|
return {
|
|
@@ -128,13 +128,13 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
128
128
|
`;
|
|
129
129
|
function useReferralCode(props) {
|
|
130
130
|
var _a, _b;
|
|
131
|
-
const { programId = index_module.
|
|
132
|
-
const user = index_module.
|
|
133
|
-
const engagementMedium = index_module.
|
|
134
|
-
const contextData = index_module.
|
|
135
|
-
const { data } = index_module.
|
|
136
|
-
const [sendLoadEvent] = index_module
|
|
137
|
-
const [setCopied] = index_module
|
|
131
|
+
const { programId = index_module.H() } = props;
|
|
132
|
+
const user = index_module.Q();
|
|
133
|
+
const engagementMedium = index_module.B();
|
|
134
|
+
const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
|
|
135
|
+
const { data } = index_module.yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || (contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) !== undefined);
|
|
136
|
+
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
137
|
+
const [setCopied] = index_module.$e(copyTextView.SET_CODE_COPIED);
|
|
138
138
|
const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode))) !== null && _b !== void 0 ? _b :
|
|
139
139
|
// Shown during loading
|
|
140
140
|
"...";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
const JSS = require('./JSS-8503a151.js');
|
|
11
11
|
const mixins = require('./mixins-f7e0377a.js');
|
|
12
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
12
|
+
const useRegistrationFormState = require('./useRegistrationFormState-2a738647.js');
|
|
13
13
|
|
|
14
14
|
var constants = {
|
|
15
15
|
error: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
|
|
10
10
|
const PopupContainerView = (props) => {
|
|
@@ -18,10 +18,10 @@ const PopupContainerView = (props) => {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
function usePopupContainer(props) {
|
|
21
|
-
const engagementMedium = index_module.
|
|
21
|
+
const engagementMedium = index_module.B();
|
|
22
22
|
function closePopup() {
|
|
23
23
|
var _a;
|
|
24
|
-
if (index_module.
|
|
24
|
+
if (index_module.B() === "POPUP") {
|
|
25
25
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -35,7 +35,7 @@ function usePopupContainer(props) {
|
|
|
35
35
|
? "0"
|
|
36
36
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
37
37
|
: "0";
|
|
38
|
-
const padding = index_module.
|
|
38
|
+
const padding = index_module.B() === "POPUP" ? popupPadding : embedPadding;
|
|
39
39
|
return {
|
|
40
40
|
states: {
|
|
41
41
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const global = require('./global-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
|
+
const global = require('./global-0cb2907a.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-f7e0377a.js');
|
|
7
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
7
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
8
8
|
|
|
9
9
|
const style = {
|
|
10
10
|
Wrapper: mixins.AuthWrapper,
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
require('./global-0cb2907a.js');
|
|
8
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
|
-
require('./sqm-text-span-view-
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
12
|
+
require('./sqm-text-span-view-0aa82125.js');
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-758f11cb.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
17
|
-
const [request, { loading, data, errors }] = index_module.
|
|
18
|
-
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.
|
|
19
|
-
const userIdent = index_module.
|
|
17
|
+
const [request, { loading, data, errors }] = index_module.ln();
|
|
18
|
+
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.nn();
|
|
19
|
+
const userIdent = index_module.Q();
|
|
20
20
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
21
|
-
const urlParams = new URLSearchParams(index_module.
|
|
21
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
22
22
|
const nextPage = urlParams.get("nextPage");
|
|
23
23
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
24
24
|
const [error, setError] = stencilHooks_module.useState("");
|
|
@@ -48,7 +48,7 @@ function usePortalEmailVerification(props) {
|
|
|
48
48
|
const data = (await getVerificationStatus());
|
|
49
49
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
50
50
|
clearInterval(timerRef.current);
|
|
51
|
-
return index_module.
|
|
51
|
+
return index_module.$n.push({
|
|
52
52
|
pathname: props.redirectPath,
|
|
53
53
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
54
54
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
4
|
const JSS = require('./JSS-8503a151.js');
|
|
5
5
|
const mixins = require('./mixins-f7e0377a.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
6
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
7
7
|
|
|
8
8
|
const style = {
|
|
9
9
|
Wrapper: mixins.AuthWrapper,
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
|
-
require('./sqm-text-span-view-
|
|
13
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-
|
|
12
|
+
require('./sqm-text-span-view-0aa82125.js');
|
|
13
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-78f19ef9.js');
|
|
14
14
|
|
|
15
15
|
function usePortalForgotPassword(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
17
17
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
18
18
|
const [error, setError] = stencilHooks_module.useState("");
|
|
19
|
-
const [request, { loading, data, errors }] = index_module.
|
|
20
|
-
const urlParams = new URLSearchParams(index_module.
|
|
19
|
+
const [request, { loading, data, errors }] = index_module.un();
|
|
20
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
21
21
|
const nextPage = urlParams.get("nextPage");
|
|
22
22
|
const submit = async (event) => {
|
|
23
23
|
var _a;
|
|
@@ -106,7 +106,7 @@ const PortalForgotPassword = class {
|
|
|
106
106
|
? usePortalForgotPasswordDemo(this)
|
|
107
107
|
: usePortalForgotPassword(this);
|
|
108
108
|
const content = {
|
|
109
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
109
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginText))),
|
|
110
110
|
messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
|
|
111
111
|
emailLabel: this.emailLabel,
|
|
112
112
|
submitLabel: this.submitLabel,
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const JSS = require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
|
-
require('./sqm-text-span-view-
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
14
|
-
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-
|
|
15
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-
|
|
12
|
+
require('./sqm-text-span-view-0aa82125.js');
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-2a738647.js');
|
|
14
|
+
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-d5685747.js');
|
|
15
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-e947a5b3.js');
|
|
16
16
|
require('./AsYouType-6788393a.js');
|
|
17
|
-
const usePortalRegistrationForm = require('./usePortalRegistrationForm-
|
|
17
|
+
const usePortalRegistrationForm = require('./usePortalRegistrationForm-99ec3cc2.js');
|
|
18
18
|
|
|
19
19
|
function usePortalGoogleRegistrationForm(props) {
|
|
20
20
|
const [emailValidationError, setEmailValidationError] = stencilHooks_module.useState(null);
|
|
21
|
-
const
|
|
21
|
+
const [registrationFormState, setRegistrationFormState] = useRegistrationFormState.useRegistrationForm();
|
|
22
22
|
const [showRegistrationForm, setShowRegistrationForm] = stencilHooks_module.useState({
|
|
23
23
|
mode: "base",
|
|
24
24
|
});
|
|
@@ -58,15 +58,14 @@ function usePortalGoogleRegistrationForm(props) {
|
|
|
58
58
|
};
|
|
59
59
|
const handleGoogleInit = (event) => {
|
|
60
60
|
try {
|
|
61
|
-
const res = index_module.o(event.detail);
|
|
62
|
-
// TODO: Double check
|
|
61
|
+
const res = index_module.o(event.detail.credential);
|
|
63
62
|
setRegistrationFormState({
|
|
64
63
|
...registrationFormState,
|
|
64
|
+
_googleOAuthIdToken: event.detail.credential,
|
|
65
65
|
initialData: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
lastName: res.payload.family_name,
|
|
66
|
+
email: res.email,
|
|
67
|
+
firstName: res.given_name,
|
|
68
|
+
lastName: res.family_name,
|
|
70
69
|
},
|
|
71
70
|
});
|
|
72
71
|
setShowRegistrationForm({ mode: "google" });
|
|
@@ -230,8 +229,8 @@ const PortalGoogleRegistrationForm = class {
|
|
|
230
229
|
const { handleGoogleInit, handleEmailSubmit, showRegistrationForm, emailValidationError, } = index_module.isDemo() ? useGoogleDemo(this) : usePortalGoogleRegistrationForm(this);
|
|
231
230
|
const content = {
|
|
232
231
|
formData: index.h("slot", { name: "formData" }),
|
|
233
|
-
googleButton: (index.h("sqm-google-sign-in", { onInitComplete: handleGoogleInit })),
|
|
234
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.loginCTA, " ", index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
232
|
+
googleButton: (index.h("sqm-google-sign-in", { text: "Register with Google", onInitComplete: handleGoogleInit })),
|
|
233
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.loginCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath), className: sheet.classes.LoginButton }, this.loginLabel), " "))),
|
|
235
234
|
terms: index.h("slot", { name: "terms" }),
|
|
236
235
|
emailLabel: this.emailLabel,
|
|
237
236
|
passwordLabel: this.passwordLabel,
|
|
@@ -285,6 +284,7 @@ function useRegisterDemo(props) {
|
|
|
285
284
|
content: {
|
|
286
285
|
pageLabel: "Register",
|
|
287
286
|
formData: null,
|
|
287
|
+
passwordField: null,
|
|
288
288
|
},
|
|
289
289
|
refs: {
|
|
290
290
|
formRef: {},
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
|
|
9
9
|
function usePortalLogout({ nextPage }) {
|
|
10
10
|
index_module.setUserIdentity(undefined);
|
|
11
|
-
index_module.
|
|
11
|
+
index_module.$n.push({ pathname: nextPage, search: "" });
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const PortalLogout = class {
|
package/dist/cjs/{sqm-portal-profile-view-f4489585.js → sqm-portal-profile-view-b944ddba.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const global = require('./global-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
|
+
const global = require('./global-0cb2907a.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
6
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
7
7
|
|
|
8
8
|
function PortalProfileView(props) {
|
|
9
9
|
var _a, _b, _c, _d, _e;
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
require('./global-0cb2907a.js');
|
|
8
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
|
-
require('./sqm-text-span-view-
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
14
|
-
const utilities = require('./utilities-
|
|
12
|
+
require('./sqm-text-span-view-0aa82125.js');
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-b944ddba.js');
|
|
14
|
+
const utilities = require('./utilities-7da4d59a.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
17
17
|
query {
|
|
@@ -57,12 +57,12 @@ const defaultFormState = {
|
|
|
57
57
|
error: "",
|
|
58
58
|
};
|
|
59
59
|
function usePortalProfile(props) {
|
|
60
|
-
const userIdent = index_module.
|
|
60
|
+
const userIdent = index_module.Q();
|
|
61
61
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
62
62
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
63
63
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
64
|
-
const userDataResponse = index_module.
|
|
65
|
-
const [upsertUser, upsertUserResponse] = index_module
|
|
64
|
+
const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
65
|
+
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
66
66
|
stencilHooks_module.useEffect(() => {
|
|
67
67
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
68
68
|
return;
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
|
|
9
9
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
10
10
|
var _a;
|
|
11
|
-
const userIdent = index_module.
|
|
11
|
+
const userIdent = index_module.Q();
|
|
12
12
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
13
13
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
14
|
-
const { pathname, search } = index_module.
|
|
14
|
+
const { pathname, search } = index_module.Sn();
|
|
15
15
|
const nextPageParam = new URLSearchParams();
|
|
16
16
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
17
17
|
stencilHooks_module.useEffect(() => {
|
|
18
18
|
if (!authenticated) {
|
|
19
|
-
return index_module.
|
|
19
|
+
return index_module.$n.push({
|
|
20
20
|
pathname: redirectTo,
|
|
21
21
|
search: "?" + nextPageParam.toString(),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
if (requireEmailVerification && !emailVerified) {
|
|
25
|
-
return index_module.
|
|
25
|
+
return index_module.$n.push({
|
|
26
26
|
pathname: redirectToUnverified || redirectTo,
|
|
27
27
|
search: "?" + nextPageParam.toString(),
|
|
28
28
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
4
|
const JSS = require('./JSS-8503a151.js');
|
|
5
5
|
const mixins = require('./mixins-f7e0377a.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
6
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
7
7
|
|
|
8
8
|
const style = {
|
|
9
9
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-a29c60ef.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
|
-
require('./sqm-text-span-view-
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-
|
|
12
|
+
require('./sqm-text-span-view-0aa82125.js');
|
|
13
|
+
require('./useRegistrationFormState-2a738647.js');
|
|
14
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-e947a5b3.js');
|
|
15
15
|
require('./AsYouType-6788393a.js');
|
|
16
|
-
const usePortalRegistrationForm = require('./usePortalRegistrationForm-
|
|
16
|
+
const usePortalRegistrationForm = require('./usePortalRegistrationForm-99ec3cc2.js');
|
|
17
17
|
|
|
18
18
|
const PortalRegistrationForm = class {
|
|
19
19
|
constructor(hostRef) {
|
|
@@ -146,7 +146,7 @@ const PortalRegistrationForm = class {
|
|
|
146
146
|
: usePortalRegistrationForm.usePortalRegistrationForm(this);
|
|
147
147
|
const content = {
|
|
148
148
|
formData: index.h("slot", { name: "formData" }),
|
|
149
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
149
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginLabel))),
|
|
150
150
|
terms: index.h("slot", { name: "terms" }),
|
|
151
151
|
emailLabel: this.emailLabel,
|
|
152
152
|
passwordLabel: this.passwordLabel,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
4
|
const JSS = require('./JSS-8503a151.js');
|
|
5
5
|
const mixins = require('./mixins-f7e0377a.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
6
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
7
7
|
|
|
8
8
|
const style = {
|
|
9
9
|
Wrapper: mixins.AuthWrapper,
|