@saasquatch/mint-components 1.12.1-7 → 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-fae7ab2c.js → ShadowViewAddon-c195102f.js} +135 -86
- 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 +5 -5
- package/dist/cjs/{luxon-14ae1f8a.js → luxon-2926d85f.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- 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_37.cjs.entry.js → sqm-big-stat_38.cjs.entry.js} +115 -66
- 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 +16 -24
- 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-0502824e.js → sqm-portal-registration-form-view-e947a5b3.js} +3 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -15
- 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 +80 -68
- 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-16151c0c.js → usePortalRegistrationForm-99ec3cc2.js} +9 -8
- 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-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 +15 -1
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -31
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +7 -8
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -29
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +2 -1
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +13 -0
- package/dist/esm/{GenericTableView-6aa9fac9.js → GenericTableView-7b9087af.js} +1 -1
- package/dist/esm/{ShadowViewAddon-f91cd444.js → ShadowViewAddon-fb9d29e1.js} +135 -87
- 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 +5 -5
- package/dist/esm/{luxon-9b1f9912.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- 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_37.entry.js → sqm-big-stat_38.entry.js} +115 -67
- 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 +16 -24
- 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-22ea3db3.js → sqm-portal-registration-form-view-90e2bfd5.js} +3 -4
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -15
- 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 +78 -66
- 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-8b093aa2.js → usePortalRegistrationForm-475d3959.js} +9 -8
- 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 -0
- 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-90e2bfd5.js +1 -0
- 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-08bd17ec.system.js +1 -0
- 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-1544a0f1.system.entry.js +1 -0
- 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-5b2b106c.system.entry.js +1 -0
- 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-62f6627d.js +1 -0
- package/dist/mint-components/{p-4b55e96b.entry.js → p-6487e6bf.entry.js} +16 -16
- 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-10b4282b.entry.js → p-82b4d2c5.entry.js} +2 -2
- 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-84d54a69.entry.js +1 -0
- 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-c6a8c075.system.js +1 -0
- 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-bebe70b4.js → p-e2639e1f.js} +3 -3
- package/dist/mint-components/p-e44a0794.system.js +1 -0
- 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-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/sqm-portal-google-registration-form.d.ts +0 -6
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +0 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +0 -6
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +0 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -0
- package/dist/types/components.d.ts +6 -20
- 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/sqm-name-fields-view-57c734bf.js +0 -55
- package/dist/cjs/sqm-name-fields.cjs.entry.js +0 -59
- package/dist/cjs/useRegistrationFormState-5911d016.js +0 -14
- package/dist/esm/sqm-name-fields-view-ec19e9e8.js +0 -53
- package/dist/esm/sqm-name-fields.entry.js +0 -55
- package/dist/esm/useRegistrationFormState-33f9cb24.js +0 -11
- package/dist/esm-es5/ShadowViewAddon-f91cd444.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-big-stat_37.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +0 -1
- package/dist/esm-es5/sqm-name-fields-view-ec19e9e8.js +0 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-a4e4edb6.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-22ea3db3.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-8b093aa2.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-18ecdc82.js +0 -13
- package/dist/mint-components/p-2295cf05.system.js +0 -1
- package/dist/mint-components/p-27407a2c.js +0 -1
- package/dist/mint-components/p-27ba7f25.system.entry.js +0 -1
- package/dist/mint-components/p-27f281f4.system.js +0 -1
- package/dist/mint-components/p-36e7a6f9.entry.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-455a3f54.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-5d09a6a3.entry.js +0 -1
- 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-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-966eed0f.system.js +0 -1
- package/dist/mint-components/p-989fdd2e.system.js +0 -1
- package/dist/mint-components/p-9dd86f9c.system.js +0 -1
- package/dist/mint-components/p-a1cb66c0.system.js +0 -1
- package/dist/mint-components/p-a2a3d9dc.entry.js +0 -1
- package/dist/mint-components/p-a7ac4fff.system.entry.js +0 -1
- package/dist/mint-components/p-a9166b6a.entry.js +0 -1
- package/dist/mint-components/p-b5a2df3f.system.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-b7bd7ff0.js +0 -1
- package/dist/mint-components/p-c56b47e5.system.js +0 -1
- package/dist/mint-components/p-c5dd12cf.entry.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-df387a02.system.entry.js +0 -1
- package/dist/mint-components/p-e10be944.entry.js +0 -1
- package/dist/mint-components/p-ec867cad.system.entry.js +0 -1
- package/dist/mint-components/p-ec9c8ced.system.js +0 -1
- package/dist/mint-components/p-f4b8a8d5.system.entry.js +0 -1
- package/dist/mint-components/p-fde23de1.entry.js +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-bfc7cfc0.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.Q;a=e.y;o=e.c;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f26aedcd.system.js","./p-076ef8f4.system.js","./p-1a673057.system.js","./p-e07bc6c4.system.js"],(function(e){"use strict";var s,t,a,i;return{setters:[function(e){s=e.h},function(e){t=e.i},function(e){a=e.c},function(e){i=e.T}],execute:function(){e("P",l);function l(e){var l,r,n,o,d;var u=e.states,m=e.callbacks;var c=u.text,p=u.formState;var v=p.errors,b=p.error;var x={Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}};var f=a(x);var g=f.toString();var y=((l=u.user)===null||l===void 0?void 0:l.countryCode)?t.formatDisplayName((r=u.user)===null||r===void 0?void 0:r.countryCode,{type:"region"}):"";return s("div",{class:f.classes.Container,part:"sqm-base"},s("style",{type:"text/css"},g),s(i,Object.assign({},{type:"h1"}),c.editProfileHeader),s(i,Object.assign({},{type:"h2"}),c.editProfileSubHeader),s("form",{class:f.classes.FormStyle,onSubmit:m.onSubmit},u.success&&s("sqm-form-message",{class:f.classes.Success,exportparts:"success-icon"},s("div",{part:"successalert-text"},c.submissionSuccessText)),b&&s("sqm-form-message",{class:f.classes.Error,type:"error",exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},b)),s("div",{class:f.classes.NameInputContainer},s("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(n=u.user)===null||n===void 0?void 0:n.firstName,onInput:m.onChange,label:c.firstnametext,disabled:u.loading},(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?{class:"ErrorStyles",helpText:c.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?v===null||v===void 0?void 0:v.firstName.message:undefined})),s("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(o=u.user)===null||o===void 0?void 0:o.lastName,onInput:m.onChange,label:c.lastnametext,disabled:u.loading,id:"lastName",name:"lastName"},(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?{class:"ErrorStyles",helpText:c.fieldEmptyText}:[],{error:(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?v===null||v===void 0?void 0:v.lastName.message:undefined}))),s("sl-input",{label:c.emailtext,value:(d=u.user)===null||d===void 0?void 0:d.email,exportparts:"label: input-label, base: input-base",disabled:true}),u.showCountry&&s("sl-input",{label:c.countrytext,value:y,exportparts:"label: input-label, base: input-base",disabled:true}),s("sl-button",{type:"primary",loading:u.loading,disabled:u.submitDisabled,onClick:function(e){m.onSubmit(e)},submit:true},c.submitChangeButtonText)))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./p-
|
|
1
|
+
import{l as e}from"./p-5bedb58c.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],c=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*c),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*c),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const p=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:c,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${c} ${y}`,prettyValueNumber:`${c}`,prettyAvailableNumber:R?"0":""+(c-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===p?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===p?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${c} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${c-o} ${y}`,exchangedRewardRedemptionTransaction:2===p?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as i}from"./p-f708da7b.js";import{k as a,m as t,f as s,n}from"./p-cd651f81.js";import"./p-2e4a0990.js";import{l as r,n as o,Q as l,f as c,u as d,i as v}from"./p-05f952b4.js";import{c as u}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-91521e9d.js";import"./p-c9f1dde7.js";import{P as m}from"./p-a12351b8.js";const f=class{constructor(i){e(this,i),this.ignored=!0,this.redirectPath="/verifyEmail",this.emailVerificationHeader="Verify your email",this.resendEmailButtonText="Re-send Email",this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.",this.verificationStatusMessage="Checking verification status in {countdown}",this.verificationLoadingMessage="Checking verification status",this.verificationResentMessage="Your verification email has been resent successfully",this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.",n(this)}disconnectedCallback(){}render(){const{states:e,callbacks:n,content:f}=v()?u({states:{error:"",loading:!1,success:!1,countdown:10},callbacks:{submit:async()=>{}},content:{email:"test@example.com",verifyMessage:(h=this).verifyMessage,emailVerificationHeader:h.emailVerificationHeader,resendEmailButtonText:h.resendEmailButtonText,verificationLoadingMessage:h.verificationLoadingMessage,verificationStatusMessage:h.verificationStatusMessage,verificationResentMessage:h.verificationResentMessage,networkErrorMessage:h.networkErrorMessage}},h.demoData||{},{arrayMerge:(e,i)=>i}):function(e){var i,n,v,u,m,f,h,g,p;const[y,{loading:b,errors:w}]=r(),[M,{data:k,loading:j}]=o(),I=l(),P=null===(i=null==I?void 0:I.managedIdentity)||void 0===i?void 0:i.email,E=new URLSearchParams(c.location.search),x=E.get("nextPage"),[R,V]=a(!1),[C,L]=a(""),[S,_]=a(10),A=t(void 0),B=t(void 0);async function H(){var i;const a=await M();if(null===(i=null==a?void 0:a.managedIdentitySession)||void 0===i?void 0:i.emailVerified)return clearInterval(A.current),c.push({pathname:e.redirectPath,search:E.toString()&&"?"+E.toString()});U(10)}const T=(e=1e4)=>setInterval(H,e),q=e=>setInterval((()=>_(e)),1e3);function U(e){if(clearInterval(B.current),clearInterval(A.current),"hidden"===document.visibilityState)return;e&&_(e);let i=S||10;B.current=q(e-1||i-1),A.current=T(1e3*e||1e3*i)}const Y=d((()=>U()),[S]);return s((()=>(A.current||(H(),A.current=T()),()=>{clearInterval(A.current)})),[]),s((()=>(S>0&&(clearInterval(B.current),B.current=q(S-1)),document.addEventListener("visibilitychange",Y),()=>{clearInterval(B.current),document.removeEventListener("visibilitychange",Y)})),[S]),{states:{loading:b,error:(null===(m=null===(u=null===(v=null===(n=null==w?void 0:w.response)||void 0===n?void 0:n.errors)||void 0===v?void 0:v[0])||void 0===u?void 0:u.extensions)||void 0===m?void 0:m.message)||(null===(g=null===(h=null===(f=null==w?void 0:w.response)||void 0===f?void 0:f.errors)||void 0===h?void 0:h[0])||void 0===g?void 0:g.message)||C,success:R,loadingVerification:j,isVerified:!!(null===(p=null==k?void 0:k.managedIdentitySession)||void 0===p?void 0:p.emailVerified),countdown:S},callbacks:{submit:async()=>{var i;if(!P)return;L(""),V(!1);const a={email:P,urlParams:x?{nextPage:x}:null,redirectPath:e.redirectPath},t=await y(a);t instanceof Error?t.message&&L(e.networkErrorMessage):(null===(i=t.requestManagedIdentityVerificationEmail)||void 0===i?void 0:i.success)&&V(!0)}},content:{email:P,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}(this);var h;return i(m,{states:e,callbacks:n,content:f})}};export{f as sqm_portal_email_verification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-a496f781.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.n},function(){},function(t){i=t.a}],execute:function(){var u=t("sqm_rewards_table_customer_note_column",function(){function t(t){e(this,t);this.columnTitle="Note";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o;return __generator(this,(function(i){o=t;return[2,n("sqm-rewards-table-customer-note-cell",{note:(r=o===null||o===void 0?void 0:o.meta)===null||r===void 0?void 0:r.message,locale:e===null||e===void 0?void 0:e.locale})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnTitle]}))}))};t.prototype.render=function(){i([this.columnTitle]);return n(r,{style:{display:"none"}})};return t}())}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as t,F as e,r as a}from"./p-
|
|
1
|
+
import{h as t,F as e,r as a}from"./p-f708da7b.js";import{n,k as s}from"./p-cd651f81.js";import{i as o}from"./p-2e4a0990.js";import{I as i,i as r,d as l,H as c,Q as d,y as u,$ as p,B as g}from"./p-05f952b4.js";import{c as m}from"./p-c1086930.js";import{g as f}from"./p-9ec99ced.js";import{c as h}from"./p-cef45012.js";import{R as v,a as y,S as x,C,u as b}from"./p-859954f7.js";import"./p-91521e9d.js";const P=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),T=P.toString();function j(a){const{states:n,callbacks:s,text:o}=a,{onNext:i,onPrev:r}=s,{currentPage:l,totalPages:c,loading:d}=n;return 1===c?t(e,null):t("span",{class:P.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},T),!d&&t(e,null,t("sl-button",{onClick:r,part:"sqm-pagination-button",circle:!0,disabled:1===l},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:P.classes.TextContainer},o.paginationText)),t("sl-button",{onClick:i,part:"sqm-pagination-button",circle:!0,disabled:l===c},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const I=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",n(this)}disconnectedCallback(){}render(){const e=r()?function(t){const[e,a]=s(1);return m({states:{currentPage:e,totalPages:5,loading:!1},callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=i(v),n=a.states.currentPage+1,s=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:n,totalPages:s,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:n,totalPages:s})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
|
|
2
2
|
query getReferralCode($programId: ID) {
|
|
3
3
|
user: viewer {
|
|
4
4
|
... on User {
|
|
@@ -10,4 +10,4 @@ import{h as t,F as e,r as a}from"./p-a8bf33fc.js";import{n,k as s}from"./p-b619a
|
|
|
10
10
|
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
11
11
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
12
12
|
}
|
|
13
|
-
`,w=class{constructor(t){a(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",n(this)}disconnectedCallback(){}render(){const e=f(this),a=r()?function(t){const[e,a]=s(!1),n="REFERRALCODE001";return m({copyString:n,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(n),a(!0),setTimeout((()=>a(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,a;const{programId:n=c()}=t,o=d(),r=g(),l=i(
|
|
13
|
+
`,w=class{constructor(t){a(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",n(this)}disconnectedCallback(){}render(){const e=f(this),a=r()?function(t){const[e,a]=s(!1),n="REFERRALCODE001";return m({copyString:n,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(n),a(!0),setTimeout((()=>a(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,a;const{programId:n=c()}=t,o=d(),r=g(),l=i(y),{data:m}=u(E,{programId:n},!(null==o?void 0:o.jwt)||void 0!==(null==l?void 0:l.referralCode)),[f]=p(k),[h]=p(x),v=null!==(a=(null==l?void 0:l.referralCode)||(null===(e=null==m?void 0:m.user)||void 0===e?void 0:e.referralCode))&&void 0!==a?a:"...",[C,b]=s(!1);return{...t,onClick:async function(){l&&(await h({referralCode:l.referralCode}),l.refresh()),navigator.clipboard.writeText(v),b(!0),setTimeout((()=>b(!1)),t.tooltiplifespan),f({eventMeta:{programId:n,id:null==o?void 0:o.id,accountId:null==o?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:r,shareMedium:"DIRECT"}}})},open:C,copyString:v,isCopied:null==l?void 0:l.isCopied,showNotificationText:t.showNotificationText&&!!(null==l?void 0:l.singleUse)}}(e);return t(C,Object.assign({},a))}},M=h({Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)"},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{color:"var(--sl-color-neutral-700)",fontSize:"var(--sl-font-size-large)",margin:"0"}}),S=M.toString();function R(e){const{slots:a,titleText:n,states:s}=e;return t("div",{class:M.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("div",{class:M.classes.HeaderContainer},t("h2",{class:M.classes.TitleText},n),!s.noCodes&&!s.loading&&a.pagination),(e=>e.noCodes?a.empty:e.loading?a.loading:t("div",{class:M.classes.Wrapper},t("div",{class:M.classes.ShareCodeContainer},a.shareCodes),t("div",{class:M.classes.ShareButtonContainer},a.shareButtons)))(s))}const q=class{constructor(t){a(this,t),this.titleText="Start sharing",this.emptyStateHeaderText="Your new codes and links aren’t ready yet",this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.",this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",n(this)}disconnectedCallback(){}render(){const e=f(this),a=r()?function(t){return m({titleText:t.titleText,states:{noCodes:!1,loading:!1}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):b(e),n={slots:{shareButtons:t("slot",{name:"shareButtons"}),shareCodes:t("slot",{name:"shareCodes"}),pagination:t("slot",{name:"pagination"}),empty:t(A,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:t(_,null)},...a,loading:a.states.loading,noCodes:a.states.noCodes};return t(R,Object.assign({},n))}};function A({headerText:e,descriptionText:a,imageUrl:n}){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateHeader:e,emptyStateText:a,emptyStateImage:n}))}function _(){return t("slot",{name:"loading"},t(N,null),t(N,null),t(N,null),t(N,null))}function N(){return t("sl-skeleton",{style:{width:"100%"}})}export{I as sqm_pagination,w as sqm_referral_code,q as sqm_referral_codes}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-f708da7b.js";import{c as s}from"./p-cef45012.js";import{A as e,a as r}from"./p-91521e9d.js";import{T as a}from"./p-c9f1dde7.js";const o=s({Wrapper:e,Column:r,ContinueButton:{width:"100%"}}),p=o.toString();function n(s){const{states:e,data:r,callbacks:n,content:i}=s;if(!e.loading)return e.success?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{exportparts:"success-icon"},t("div",{part:"successalert-text"},i.verifySuccessText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.gotoNextPage,loading:e.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):e.error||!r.oobCode?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},i.verifyInvalidText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.failed,disabled:e.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):void 0}export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-a496f781.system.js"],(function(t){"use strict";var n,e,s,r,u;return{setters:[function(t){n=t.h;e=t.c;s=t.r},function(t){r=t.n},function(){},function(t){u=t.a}],execute:function(){var c=function(t,s){return n(e,null,s)};var i=t("sqm_tab",function(){function t(t){s(this,t);r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){u([this.header]);return n(c,null,n("slot",null))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-a8d088cd.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.n},function(t){a=t.S;i=t.i},function(t){c=t.c},function(t){o=t.g},function(){},function(){},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?d(o(this)):u(o(this));return e(r,Object.assign({},t))};return t}());function d(t){return c({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js"],(function(t){"use strict";var e,i,n,s;return{setters:[function(t){e=t.r;i=t.h;n=t.c},function(t){s=t.n}],execute:function(){var r=t("sqm_header_logo",function(){function t(t){e(this,t);this.nextPage="/";this.height=60;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return i(n,null,i("a",{href:this.nextPage,part:"sqm-link"},i("img",{style:{height:(this===null||this===void 0?void 0:this.height)+"px"},src:this===null||this===void 0?void 0:this.imageUrl})))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,s=arguments.length;e<s;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-b2b447dc.system.js"],(function(t){"use strict";var i,e,s,r,n,a,o,l,u,c,d;return{setters:[function(t){i=t.h;e=t.r},function(t){s=t.i;r=t.k;n=t.n},function(t){a=t.i},function(t){o=t.c},function(t){l=t.g},function(t){u=t.c},function(t){c=t.E},function(t){d=t.R}],execute:function(){var p={error:{length:"Length should be a valid positive number",password:"Password should be a valid string"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}};var v=p.regex;function h(t,i){if(i&&i>1){var e=parseInt(i,10);return new RegExp(t+"{"+e+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function t(i){this.positive=false;if(i){return h.call(this,i)}return true},has:function t(i){this.positive=true;if(i){return h.call(this,i)}return true},is:function t(){this.positive=true;return true},min:function t(i){return this.password.length>=i},max:function t(i){return this.password.length<=i},digits:function t(i){return h.call(this,v.digits,i)},letters:function t(i){return h.call(this,v.letters,i)},uppercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toLowerCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toUpperCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function t(i){return h.call(this,v.symbols,i)},spaces:function t(i){return h.call(this,v.spaces,i)},oneOf:function t(i){return i.indexOf(this.password)>=0===this.positive}};var m=p.error;function g(t){var i=Number(t);if(isNaN(i)||!Number.isInteger(i)||i<1){throw new Error(m.length)}}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,i){this.properties.push({method:t,arguments:i});return this}var b=function(){function t(){this.properties=[]}t.prototype.validate=function(t,i){var e=this;this.list=Boolean(i&&i.list);this.password=String(t);this.positive=true;if(this.list){return this.properties.reduce((function(t,i){if(!w.call(e,i)){return t.concat(i.method)}return t}),[])}return this.properties.every(w.bind(this))};t.prototype.letters=function(t){t&&g(t);return y.call(this,"letters",arguments)};t.prototype.digits=function(t){t&&g(t);return y.call(this,"digits",arguments)};t.prototype.symbols=function(t){t&&g(t);return y.call(this,"symbols",arguments)};t.prototype.min=function(t){g(t);return y.call(this,"min",arguments)};t.prototype.max=function(t){g(t);return y.call(this,"max",arguments)};t.prototype.lowercase=function(t){t&&g(t);return y.call(this,"lowercase",arguments)};t.prototype.uppercase=function(t){t&&g(t);return y.call(this,"uppercase",arguments)};t.prototype.spaces=function(t){t&&g(t);return y.call(this,"spaces",arguments)};t.prototype.has=function(){return y.call(this,"has",arguments)};t.prototype.not=function(){return y.call(this,"not",arguments)};t.prototype.is=function(){return y.call(this,"is",arguments)};t.prototype.oneOf=function(){return y.call(this,"oneOf",arguments)};return t}();var x=b;var L=(new x).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/);var V=function(t,i){var e=L.validate(t,{list:true});var s=j(e,t,i);return s};var C=function(){return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},i("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"}))};var _=function(){return i("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"}))};var E={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}};var S={Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:__assign(__assign({},E),{color:"var(--sl-color-success-600)"}),ValidationItemInvalid:__assign({},E)};var I=u(S);var T=I.toString();var j=function(t,e,s){var r={min:s.minErrorText,uppercase:s.uppercaseErrorText,lowercase:s.lowercaseErrorText,has:s.hasErrorText};if(!t.length&&e)return i("div",{class:I.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},i("style",{type:"text/css"},T),i(C,null)," ",i("span",null,s.meetsRequirementsText));return i("div",{class:I.classes.Base},i("style",{type:"text/css"},T),s.doesNotMeetRequirementsText,i("ul",{class:I.classes.ValidationList},Object.keys(r).map((function(e){return t.includes(e)?i("li",{class:I.classes.ValidationItemInvalid},i(_,null)," ",i("span",null,r[e])):i("li",{class:I.classes.ValidationItemValid},i(C,null)," ",i("span",null,r[e]))}))))};var k={InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:c};var q="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=u(k);var F=D.toString();function O(t){var e,s,r,n,a,o,l,u,c,d;var p=t.states,v=t.callbacks;return i("div",{class:D.classes.InputContainer,part:"sqm-base"},i("style",{type:"text/css"},q,F),i("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:p.content.fieldLabel||"Password",required:true,disabled:((e=p.registrationFormState)===null||e===void 0?void 0:e.loading)||((s=p.registrationFormState)===null||s===void 0?void 0:s.disabled),validationError:function(t){var i=t.value;if(!i){return"Cannot be empty"}}},((n=(r=p.registrationFormState)===null||r===void 0?void 0:r.initialData)===null||n===void 0?void 0:n.password)?{value:(o=(a=p.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.password}:{},((u=(l=p.registrationFormState)===null||l===void 0?void 0:l.validationErrors)===null||u===void 0?void 0:u.password)?{class:D.classes.ErrorStyle,helpText:((d=(c=p.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||d===void 0?void 0:d.password)||"Cannot be empty"}:[],{onInput:function(t){return p.enableValidation&&v.onInput(t)}})),p.dynamicValidation)}function M(t){var i=s(d);var e=r(""),n=e[0],a=e[1];function o(i){var e=V(i.target.value,t);a(e)}return{states:{enableValidation:!t.disableValidation,dynamicValidation:n,registrationFormState:i,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:o}}}var R=t("sqm_password_field",function(){function t(t){e(this,t);this.ignored=true;this.fieldLabel="Password";this.disableValidation=false;this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=a()?B(l(this)):M(l(this)),e=t.states,s=t.callbacks;return i(O,{states:e,callbacks:s})};return t}());function B(t){var i,e,s,n,a,l,u;var c=r(""),d=c[0],p=c[1];var v=r(""),h=v[0],f=v[1];if(t.demoData&&h!=((i=t===null||t===void 0?void 0:t.demoData)===null||i===void 0?void 0:i.initValue)){var m=V(((e=t===null||t===void 0?void 0:t.demoData)===null||e===void 0?void 0:e.initValue)||"",t);p(((s=t===null||t===void 0?void 0:t.demoData)===null||s===void 0?void 0:s.initValue)===""?"":m);f((n=t===null||t===void 0?void 0:t.demoData)===null||n===void 0?void 0:n.initValue)}function g(i){var e=V(i.target.value,t);p(e)}return o({states:{enableValidation:!t.disableValidation,dynamicValidation:d,registrationFormState:((l=(a=t===null||t===void 0?void 0:t.demoData)===null||a===void 0?void 0:a.states)===null||l===void 0?void 0:l.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:g}},((u=t===null||t===void 0?void 0:t.demoData)===null||u===void 0?void 0:u.states)||{},{arrayMerge:function(t,i){return i}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-548df223.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-e07bc6c4.system.js","./p-b75bb6e3.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,c,l,f,d,v,y;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.f;a=e.n},function(e){o=e.Q;s=e.p;u=e.f;c=e.c;l=e.i},function(e){f=e.c},function(e){d=e.s;v=e.g},function(){},function(){},function(){},function(e){y=e.P}],execute:function(){var h=null;function g(e){var t=this;var n=e.nextPage,a=e.failedPage,l=e.verifySuccessText,f=e.verifyEmailText,v=e.verifyInvalidText,y=e.networkErrorMessage,g=e.continueText;var p,m,x,b,T,w,_,k,P,E;var S=i(false),I=S[0],j=S[1];var C=i(false),M=C[0],N=C[1];var V=o();var q=s(),A=q[0],D=q[1],G=D.loading,L=D.data,Q=D.errors;var R=new URLSearchParams(u.location.search);var U=R.get("oobCode");var Y=R.get("email");var z=R.get("nextPage");var B=L===undefined&&Q===undefined&&!!U;var F=!!(((p=V===null||V===void 0?void 0:V.managedIdentity)===null||p===void 0?void 0:p.emailVerified)||((m=L===null||L===void 0?void 0:L.verifyManagedIdentityEmail)===null||m===void 0?void 0:m.success)||M);var H=((x=V===null||V===void 0?void 0:V.managedIdentity)===null||x===void 0?void 0:x.email)===Y;var J=function(){return u.push({pathname:a,search:R.toString()&&"?"+R.toString()})};var K=function(){R.delete("nextPage");var e=d(z||n);u.push(e.href)};var O=function(){setTimeout((function(){c(undefined);K()}),3e3)};var W=function(){setTimeout(K,3e3)};r((function(){var e=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!h)h=A({oobCode:U});return[4,h];case 1:e=t.sent();if(!(e instanceof Error)&&e.verifyManagedIdentityEmail.success){N(true)}j(true);return[2]}}))}))};e()}),[]);r((function(){if(!I)return;if(F&&H)W();else O()}),[I,F]);return{states:{loading:G||!I,disableContinue:B,error:((_=(w=(T=(b=Q===null||Q===void 0?void 0:Q.response)===null||b===void 0?void 0:b.errors)===null||T===void 0?void 0:T[0])===null||w===void 0?void 0:w.extensions)===null||_===void 0?void 0:_.message)||((E=(P=(k=Q===null||Q===void 0?void 0:Q.response)===null||k===void 0?void 0:k.errors)===null||P===void 0?void 0:P[0])===null||E===void 0?void 0:E.message)||((Q===null||Q===void 0?void 0:Q.message)||!H)&&y,success:I&&(F||H)},data:{oobCode:U},callbacks:{failed:J,gotoNextPage:K},content:{verifySuccessText:l,verifyEmailText:f,verifyInvalidText:v,continueText:g}}}var p=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.verifyEmailText="Verify your email";this.verifySuccessText="Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";this.verifyInvalidText="The email verification code is invalid or has expired, please try again.";this.continueText="Continue";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?m(v(this)):g(v(this)),t=e.states,i=e.data,r=e.callbacks,a=e.content;return n(y,{states:t,data:i,callbacks:r,content:a})};return e}());function m(e){return f({states:{error:"",loading:false,success:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}},content:{verifySuccessText:e.verifySuccessText,verifyEmailText:e.verifyEmailText,verifyInvalidText:e.verifyInvalidText,continueText:e.continueText}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|