@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,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
5
|
+
const global = require('./global-0cb2907a.js');
|
|
6
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const copyTextView = require('./copy-text-view-
|
|
10
|
+
const copyTextView = require('./copy-text-view-f7a88b15.js');
|
|
11
11
|
const mixins = require('./mixins-f7e0377a.js');
|
|
12
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
-
const luxon = require('./luxon-
|
|
14
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
12
|
+
const useChildElements = require('./useChildElements-4e04d4a0.js');
|
|
13
|
+
const luxon = require('./luxon-2926d85f.js');
|
|
14
|
+
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
15
15
|
const index$1 = require('./index-8c6255f5.js');
|
|
16
|
-
const utilities = require('./utilities-
|
|
17
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
16
|
+
const utilities = require('./utilities-7da4d59a.js');
|
|
17
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
18
18
|
|
|
19
19
|
const medium = {
|
|
20
20
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -375,13 +375,13 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
375
375
|
`;
|
|
376
376
|
function useShareLink(props) {
|
|
377
377
|
var _a, _b;
|
|
378
|
-
const { programId = index_module.
|
|
379
|
-
const user = index_module.
|
|
380
|
-
const engagementMedium = index_module.
|
|
381
|
-
const contextData = index_module.
|
|
382
|
-
const { data } = index_module.
|
|
383
|
-
const [sendLoadEvent] = index_module
|
|
384
|
-
const [setCopied, copiedRes] = index_module
|
|
378
|
+
const { programId = index_module.H() } = props;
|
|
379
|
+
const user = index_module.Q();
|
|
380
|
+
const engagementMedium = index_module.B();
|
|
381
|
+
const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
|
|
382
|
+
const { data } = index_module.yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
383
|
+
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
384
|
+
const [setCopied, copiedRes] = index_module.$e(copyTextView.SET_CODE_COPIED);
|
|
385
385
|
const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink))) !== null && _b !== void 0 ? _b :
|
|
386
386
|
// Shown during loading
|
|
387
387
|
"...";
|
|
@@ -466,19 +466,19 @@ function GenericShare(messageLink, errorText) {
|
|
|
466
466
|
function useShareButton(props) {
|
|
467
467
|
var _a, _b;
|
|
468
468
|
const { sharetitle, sharetext, medium } = props;
|
|
469
|
-
const programId = props.programId ? props.programId : index_module.
|
|
470
|
-
const user = index_module.
|
|
471
|
-
const engagementMedium = index_module.
|
|
469
|
+
const programId = props.programId ? props.programId : index_module.H();
|
|
470
|
+
const user = index_module.Q();
|
|
471
|
+
const engagementMedium = index_module.B();
|
|
472
472
|
const variables = {
|
|
473
473
|
engagementMedium,
|
|
474
474
|
programId: programId,
|
|
475
475
|
shareMedium: medium.toUpperCase(),
|
|
476
476
|
};
|
|
477
|
-
const contextData = index_module.
|
|
477
|
+
const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
|
|
478
478
|
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
479
479
|
// only queries if a programId is available
|
|
480
|
-
const res = index_module.
|
|
481
|
-
const [setCopied, copiedRes] = index_module
|
|
480
|
+
const res = index_module.yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
481
|
+
const [setCopied, copiedRes] = index_module.$e(copyTextView.SET_CODE_COPIED);
|
|
482
482
|
const directLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.shareLink) || ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink);
|
|
483
483
|
const environment = index_module.getEnvironmentSDK();
|
|
484
484
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -512,7 +512,7 @@ function useShareButton(props) {
|
|
|
512
512
|
const debug = stencilHooks_module.browser("sq:useBigStat");
|
|
513
513
|
const LOADING = "...";
|
|
514
514
|
const debugQuery = (query, variables, getStat) => {
|
|
515
|
-
const res = index_module.
|
|
515
|
+
const res = index_module.yn(query, variables);
|
|
516
516
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
517
517
|
console.error("issue getting stat:", res);
|
|
518
518
|
}
|
|
@@ -923,7 +923,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
923
923
|
locale: $locale
|
|
924
924
|
formatType: UNIT_FORMATTED
|
|
925
925
|
)}`;
|
|
926
|
-
const result = index_module.
|
|
926
|
+
const result = index_module.yn(query, {
|
|
927
927
|
value: redeemedTotal,
|
|
928
928
|
unit,
|
|
929
929
|
locale,
|
|
@@ -982,7 +982,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
982
982
|
locale: $locale
|
|
983
983
|
formatType: UNIT_FORMATTED
|
|
984
984
|
)}`;
|
|
985
|
-
const result = index_module.
|
|
985
|
+
const result = index_module.yn(query, {
|
|
986
986
|
value: redeemedTotal,
|
|
987
987
|
unit,
|
|
988
988
|
locale,
|
|
@@ -1378,11 +1378,11 @@ const StatPaths = [
|
|
|
1378
1378
|
const StatPatterns = StatPaths.map((pattern) => index$1.pathToRegexp(pattern.route));
|
|
1379
1379
|
function useBigStat(props) {
|
|
1380
1380
|
var _a;
|
|
1381
|
-
const { statType, flexReverse, alignment, programId = index_module.
|
|
1381
|
+
const { statType, flexReverse, alignment, programId = index_module.H(), } = props;
|
|
1382
1382
|
// triggers a re-render if the label is manually changed
|
|
1383
1383
|
useChildElements.useChildElements();
|
|
1384
|
-
const locale = index_module.
|
|
1385
|
-
const userIdent = index_module.
|
|
1384
|
+
const locale = index_module.L();
|
|
1385
|
+
const userIdent = index_module.Q();
|
|
1386
1386
|
const re = stencilHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1387
1387
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1388
1388
|
return {
|
|
@@ -2721,6 +2721,54 @@ function ReferralIframeView(props) {
|
|
|
2721
2721
|
}
|
|
2722
2722
|
|
|
2723
2723
|
const style$8 = {
|
|
2724
|
+
ErrorStyle: mixins.ErrorStyles,
|
|
2725
|
+
FieldsContainer: {
|
|
2726
|
+
"& sl-input": {
|
|
2727
|
+
"margin-bottom": "var(--sl-spacing-large)",
|
|
2728
|
+
},
|
|
2729
|
+
},
|
|
2730
|
+
};
|
|
2731
|
+
const vanillaStyle$4 = `
|
|
2732
|
+
:host {
|
|
2733
|
+
margin: 0 auto;
|
|
2734
|
+
width: 100%;
|
|
2735
|
+
display: block;
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
sl-input::part(label){
|
|
2739
|
+
font-size: var(--sl-input-label-font-size-small);
|
|
2740
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
2741
|
+
}
|
|
2742
|
+
`;
|
|
2743
|
+
const sheet$8 = JSS.createStyleSheet(style$8);
|
|
2744
|
+
const styleString$8 = sheet$8.toString();
|
|
2745
|
+
function NameFieldsView(props) {
|
|
2746
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2747
|
+
const { states } = props;
|
|
2748
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2749
|
+
return (index.h("div", { class: sheet$8.classes.FieldsContainer },
|
|
2750
|
+
index.h("style", { type: "text/css" },
|
|
2751
|
+
vanillaStyle$4,
|
|
2752
|
+
styleString$8),
|
|
2753
|
+
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2754
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2755
|
+
}
|
|
2756
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2757
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2758
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2759
|
+
}
|
|
2760
|
+
: []))),
|
|
2761
|
+
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
2762
|
+
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2763
|
+
}
|
|
2764
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2765
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2766
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2767
|
+
}
|
|
2768
|
+
: [])))));
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
const style$9 = {
|
|
2724
2772
|
ErrorStyle: {
|
|
2725
2773
|
"&::part(control)": {
|
|
2726
2774
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2743,7 +2791,7 @@ const style$8 = {
|
|
|
2743
2791
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2744
2792
|
},
|
|
2745
2793
|
};
|
|
2746
|
-
const vanillaStyle$
|
|
2794
|
+
const vanillaStyle$5 = `
|
|
2747
2795
|
:host {
|
|
2748
2796
|
margin: 0 auto;
|
|
2749
2797
|
width: 100%;
|
|
@@ -2759,22 +2807,22 @@ sl-checkbox::part(base){
|
|
|
2759
2807
|
}
|
|
2760
2808
|
`;
|
|
2761
2809
|
JSS.jss.setup(JSS.create());
|
|
2762
|
-
const sheet$
|
|
2763
|
-
const styleString$
|
|
2810
|
+
const sheet$9 = JSS.jss.createStyleSheet(style$9);
|
|
2811
|
+
const styleString$9 = sheet$9.toString();
|
|
2764
2812
|
function CheckboxFieldView(props) {
|
|
2765
2813
|
var _a, _b, _c;
|
|
2766
2814
|
const { states, content, callbacks } = props;
|
|
2767
2815
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2768
|
-
return (index.h("div", { class: sheet$
|
|
2816
|
+
return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2769
2817
|
index.h("style", { type: "text/css" },
|
|
2770
|
-
vanillaStyle$
|
|
2771
|
-
styleString$
|
|
2818
|
+
vanillaStyle$5,
|
|
2819
|
+
styleString$9),
|
|
2772
2820
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2773
2821
|
e.target.value = e.target.checked;
|
|
2774
2822
|
callbacks.setChecked(e.target.value);
|
|
2775
2823
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2776
2824
|
? {
|
|
2777
|
-
class: sheet$
|
|
2825
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2778
2826
|
}
|
|
2779
2827
|
: [])),
|
|
2780
2828
|
global.intl.formatMessage({
|
|
@@ -2783,13 +2831,13 @@ function CheckboxFieldView(props) {
|
|
|
2783
2831
|
}, {
|
|
2784
2832
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2785
2833
|
}),
|
|
2786
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2834
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2787
2835
|
id: `errorMessage-${content.checkboxName}`,
|
|
2788
2836
|
defaultMessage: content.errorMessage,
|
|
2789
2837
|
}))))));
|
|
2790
2838
|
}
|
|
2791
2839
|
|
|
2792
|
-
const style$
|
|
2840
|
+
const style$a = {
|
|
2793
2841
|
ErrorStyle: {
|
|
2794
2842
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2795
2843
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2805,7 +2853,7 @@ const style$9 = {
|
|
|
2805
2853
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2806
2854
|
},
|
|
2807
2855
|
};
|
|
2808
|
-
const vanillaStyle$
|
|
2856
|
+
const vanillaStyle$6 = `
|
|
2809
2857
|
:host {
|
|
2810
2858
|
margin: 0 auto;
|
|
2811
2859
|
width: 100%;
|
|
@@ -2817,36 +2865,36 @@ sl-select::part(label){
|
|
|
2817
2865
|
}
|
|
2818
2866
|
`;
|
|
2819
2867
|
JSS.jss.setup(JSS.create());
|
|
2820
|
-
const sheet$
|
|
2821
|
-
const styleString$
|
|
2868
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2869
|
+
const styleString$a = sheet$a.toString();
|
|
2822
2870
|
function DropdownFieldView(props) {
|
|
2823
2871
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2824
2872
|
const { states, content } = props;
|
|
2825
2873
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2826
|
-
return (index.h("div", { class: sheet$
|
|
2874
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2827
2875
|
index.h("style", { type: "text/css" },
|
|
2828
|
-
vanillaStyle$
|
|
2829
|
-
styleString$
|
|
2876
|
+
vanillaStyle$6,
|
|
2877
|
+
styleString$a),
|
|
2830
2878
|
index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2831
2879
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2832
2880
|
}
|
|
2833
2881
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2834
|
-
class: sheet$
|
|
2882
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2835
2883
|
}
|
|
2836
2884
|
: [])), content.selectOptions),
|
|
2837
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2885
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2838
2886
|
id: `errorMessage-${content.dropdownName}`,
|
|
2839
2887
|
defaultMessage: content.errorMessage,
|
|
2840
2888
|
})))));
|
|
2841
2889
|
}
|
|
2842
2890
|
|
|
2843
|
-
const style$
|
|
2891
|
+
const style$b = {
|
|
2844
2892
|
ErrorStyle: mixins.ErrorStyles,
|
|
2845
2893
|
FieldContainer: {
|
|
2846
2894
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2847
2895
|
},
|
|
2848
2896
|
};
|
|
2849
|
-
const vanillaStyle$
|
|
2897
|
+
const vanillaStyle$7 = `
|
|
2850
2898
|
:host {
|
|
2851
2899
|
margin: 0 auto;
|
|
2852
2900
|
width: 100%;
|
|
@@ -2854,21 +2902,21 @@ const vanillaStyle$6 = `
|
|
|
2854
2902
|
}
|
|
2855
2903
|
`;
|
|
2856
2904
|
JSS.jss.setup(JSS.create());
|
|
2857
|
-
const sheet$
|
|
2858
|
-
const styleString$
|
|
2905
|
+
const sheet$b = JSS.jss.createStyleSheet(style$b);
|
|
2906
|
+
const styleString$b = sheet$b.toString();
|
|
2859
2907
|
function InputFieldView(props) {
|
|
2860
2908
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2861
2909
|
const { states, content } = props;
|
|
2862
2910
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2863
|
-
return (index.h("div", { class: sheet$
|
|
2911
|
+
return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2864
2912
|
index.h("style", { type: "text/css" },
|
|
2865
|
-
vanillaStyle$
|
|
2866
|
-
styleString$
|
|
2913
|
+
vanillaStyle$7,
|
|
2914
|
+
styleString$b),
|
|
2867
2915
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2868
2916
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2869
2917
|
}
|
|
2870
2918
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2871
|
-
class: sheet$
|
|
2919
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2872
2920
|
helpText: global.intl.formatMessage({
|
|
2873
2921
|
id: `errorMessage-${content.fieldName}`,
|
|
2874
2922
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2963,7 +3011,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
2963
3011
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
2964
3012
|
}
|
|
2965
3013
|
|
|
2966
|
-
const style$
|
|
3014
|
+
const style$c = {
|
|
2967
3015
|
HostBlock: mixins.HostBlock,
|
|
2968
3016
|
Container: {
|
|
2969
3017
|
minWidth: "300px",
|
|
@@ -3314,8 +3362,8 @@ const style$b = {
|
|
|
3314
3362
|
},
|
|
3315
3363
|
};
|
|
3316
3364
|
// JSS config
|
|
3317
|
-
const sheet$
|
|
3318
|
-
const styleString$
|
|
3365
|
+
const sheet$c = JSS.createStyleSheet(style$c);
|
|
3366
|
+
const styleString$c = sheet$c.toString();
|
|
3319
3367
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3320
3368
|
function RewardExchangeView(props) {
|
|
3321
3369
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3338,7 +3386,7 @@ function RewardExchangeView(props) {
|
|
|
3338
3386
|
sourceUnit: item.sourceUnit,
|
|
3339
3387
|
})));
|
|
3340
3388
|
}
|
|
3341
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3389
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$c.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3342
3390
|
var _a, _b, _c, _d, _e;
|
|
3343
3391
|
return callbacks.setExchangeState({
|
|
3344
3392
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3346,7 +3394,7 @@ function RewardExchangeView(props) {
|
|
|
3346
3394
|
});
|
|
3347
3395
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3348
3396
|
var _a, _b;
|
|
3349
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3397
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3350
3398
|
step.prettyDestinationValue,
|
|
3351
3399
|
index.h("br", null),
|
|
3352
3400
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3365,8 +3413,8 @@ function RewardExchangeView(props) {
|
|
|
3365
3413
|
var _a;
|
|
3366
3414
|
return [
|
|
3367
3415
|
index.h("div", { part: "choose-reward-container" },
|
|
3368
|
-
index.h("div", { class: sheet$
|
|
3369
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3416
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3417
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3370
3418
|
var _a, _b, _c, _d, _e;
|
|
3371
3419
|
const style = {
|
|
3372
3420
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3375,7 +3423,7 @@ function RewardExchangeView(props) {
|
|
|
3375
3423
|
borderRadius: "4px",
|
|
3376
3424
|
};
|
|
3377
3425
|
return (index.h("div", { key: item.key, style: style },
|
|
3378
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3426
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3379
3427
|
cursor: item.unavailableReasonCode
|
|
3380
3428
|
? "not-allowed"
|
|
3381
3429
|
: "pointer",
|
|
@@ -3392,14 +3440,14 @@ function RewardExchangeView(props) {
|
|
|
3392
3440
|
? "rgba(0, 0, 0, 0.05)"
|
|
3393
3441
|
: "rgba(0, 0, 0, 0)",
|
|
3394
3442
|
} },
|
|
3395
|
-
index.h("div", { class: sheet$
|
|
3443
|
+
index.h("div", { class: sheet$c.classes.Image, style: {
|
|
3396
3444
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3397
3445
|
} },
|
|
3398
3446
|
index.h("img", { class: item.unavailableReasonCode
|
|
3399
3447
|
? "image subdued"
|
|
3400
3448
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3401
3449
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3402
|
-
index.h("div", { class: sheet$
|
|
3450
|
+
index.h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3403
3451
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3404
3452
|
} },
|
|
3405
3453
|
index.h("div", { class: "title", style: {
|
|
@@ -3432,7 +3480,7 @@ function RewardExchangeView(props) {
|
|
|
3432
3480
|
item.prettySourceMinValue,
|
|
3433
3481
|
}))))))));
|
|
3434
3482
|
}))),
|
|
3435
|
-
index.h("div", { class: sheet$
|
|
3483
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3436
3484
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3437
3485
|
];
|
|
3438
3486
|
}
|
|
@@ -3443,7 +3491,7 @@ function RewardExchangeView(props) {
|
|
|
3443
3491
|
? false
|
|
3444
3492
|
: input && !states.amount;
|
|
3445
3493
|
return (index.h("div", null,
|
|
3446
|
-
index.h("div", { class: sheet$
|
|
3494
|
+
index.h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3447
3495
|
index.h("div", { class: "wrapper" },
|
|
3448
3496
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3449
3497
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3452,7 +3500,7 @@ function RewardExchangeView(props) {
|
|
|
3452
3500
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3453
3501
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3454
3502
|
index.h("div", { class: "space" }))),
|
|
3455
|
-
index.h("div", { class: sheet$
|
|
3503
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3456
3504
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3457
3505
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3458
3506
|
}
|
|
@@ -3460,8 +3508,8 @@ function RewardExchangeView(props) {
|
|
|
3460
3508
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3461
3509
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3462
3510
|
return (index.h("div", null,
|
|
3463
|
-
index.h("div", { class: sheet$
|
|
3464
|
-
index.h("div", { class: sheet$
|
|
3511
|
+
index.h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3512
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3465
3513
|
index.h("div", { class: "wrapper" },
|
|
3466
3514
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3467
3515
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3476,13 +3524,13 @@ function RewardExchangeView(props) {
|
|
|
3476
3524
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3477
3525
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3478
3526
|
index.h("div", { class: "value" }, cost)),
|
|
3479
|
-
index.h("div", { class: sheet$
|
|
3527
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3480
3528
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3481
3529
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3482
3530
|
}
|
|
3483
3531
|
function success() {
|
|
3484
3532
|
var _a, _b, _c, _d, _e, _f;
|
|
3485
|
-
return (index.h("div", { class: sheet$
|
|
3533
|
+
return (index.h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3486
3534
|
index.h(Gift$1, null),
|
|
3487
3535
|
index.h(Confetti, null),
|
|
3488
3536
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3497,7 +3545,7 @@ function RewardExchangeView(props) {
|
|
|
3497
3545
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3498
3546
|
states.content.text.promoCode,
|
|
3499
3547
|
index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3500
|
-
index.h("div", { class: sheet$
|
|
3548
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3501
3549
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3502
3550
|
}
|
|
3503
3551
|
const stages = {
|
|
@@ -3509,7 +3557,7 @@ function RewardExchangeView(props) {
|
|
|
3509
3557
|
const currentStage = stages[states.redeemStage];
|
|
3510
3558
|
function stageMap() {
|
|
3511
3559
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3512
|
-
return (index.h("div", { class: sheet$
|
|
3560
|
+
return (index.h("div", { class: sheet$c.classes.ProgressBar },
|
|
3513
3561
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3514
3562
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3515
3563
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3521,10 +3569,10 @@ function RewardExchangeView(props) {
|
|
|
3521
3569
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3522
3570
|
}
|
|
3523
3571
|
function loading() {
|
|
3524
|
-
return (index.h("div", { class: sheet$
|
|
3572
|
+
return (index.h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3525
3573
|
return (index.h("div", null,
|
|
3526
|
-
index.h("sl-card", { class: sheet$
|
|
3527
|
-
index.h("div", { class: sheet$
|
|
3574
|
+
index.h("sl-card", { class: sheet$c.classes.Card },
|
|
3575
|
+
index.h("div", { class: sheet$c.classes.CardLayout },
|
|
3528
3576
|
index.h("div", null,
|
|
3529
3577
|
index.h("sl-skeleton", { style: {
|
|
3530
3578
|
width: "100px",
|
|
@@ -3556,12 +3604,12 @@ function RewardExchangeView(props) {
|
|
|
3556
3604
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3557
3605
|
return;
|
|
3558
3606
|
refs.canvasRef.current = canvas;
|
|
3559
|
-
}, id: "my-canvas", class: sheet$
|
|
3607
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3560
3608
|
}
|
|
3561
3609
|
if (states.noExchangeOptions)
|
|
3562
3610
|
return states.content.text.empty;
|
|
3563
|
-
return (index.h("div", { class: sheet$
|
|
3564
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3611
|
+
return (index.h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3612
|
+
index.h("style", { type: "text/css" }, styleString$c),
|
|
3565
3613
|
index.h("div", null,
|
|
3566
3614
|
stageMap(),
|
|
3567
3615
|
states.exchangeError && errorMessage(),
|
|
@@ -3977,7 +4025,7 @@ function CardFeedView(props, children) {
|
|
|
3977
4025
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
3978
4026
|
}
|
|
3979
4027
|
|
|
3980
|
-
const style$
|
|
4028
|
+
const style$d = {
|
|
3981
4029
|
HostBlock: mixins.HostBlock,
|
|
3982
4030
|
couponCodeLabel: {
|
|
3983
4031
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -3985,21 +4033,21 @@ const style$c = {
|
|
|
3985
4033
|
fontSize: "var(--sl-font-size-small)",
|
|
3986
4034
|
},
|
|
3987
4035
|
};
|
|
3988
|
-
const vanillaStyle$
|
|
4036
|
+
const vanillaStyle$8 = `
|
|
3989
4037
|
:host{
|
|
3990
4038
|
display: block;
|
|
3991
4039
|
width: 100%;
|
|
3992
4040
|
}
|
|
3993
4041
|
`;
|
|
3994
|
-
const sheet$
|
|
3995
|
-
const styleString$
|
|
4042
|
+
const sheet$d = JSS.createStyleSheet(style$d);
|
|
4043
|
+
const styleString$d = sheet$d.toString();
|
|
3996
4044
|
function CouponCodeView(props) {
|
|
3997
4045
|
const error = !props.loading && props.error;
|
|
3998
4046
|
return (index.h("div", null,
|
|
3999
4047
|
index.h("style", { type: "text/css" },
|
|
4000
|
-
styleString$
|
|
4001
|
-
vanillaStyle$
|
|
4002
|
-
index.h("p", { class: sheet$
|
|
4048
|
+
styleString$d,
|
|
4049
|
+
vanillaStyle$8),
|
|
4050
|
+
index.h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4003
4051
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4004
4052
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
|
|
4005
4053
|
}
|
|
@@ -4098,6 +4146,7 @@ exports.EditProfileView = EditProfileView;
|
|
|
4098
4146
|
exports.HeroView = HeroView;
|
|
4099
4147
|
exports.InputFieldView = InputFieldView;
|
|
4100
4148
|
exports.LeaderboardView = LeaderboardView;
|
|
4149
|
+
exports.NameFieldsView = NameFieldsView;
|
|
4101
4150
|
exports.PortalChangePasswordView = PortalChangePasswordView;
|
|
4102
4151
|
exports.PortalFooterView = PortalFooterView;
|
|
4103
4152
|
exports.PortalFrameView = PortalFrameView;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const index_module = require('./index.module-
|
|
3
|
+
const index = require('./index-a29c60ef.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
5
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
const mixins = require('./mixins-f7e0377a.js');
|
|
8
8
|
|
|
@@ -62,11 +62,11 @@ const SET_CODE_COPIED = index_module.dist.gql `
|
|
|
62
62
|
}
|
|
63
63
|
`;
|
|
64
64
|
function useReferralCodes(props) {
|
|
65
|
-
const user = index_module.
|
|
66
|
-
const engagementMedium = index_module.
|
|
67
|
-
const programId = props.programId || index_module.
|
|
68
|
-
const { refresh } = index_module.
|
|
69
|
-
const { envelope: referralData, states, callbacks, } = index_module.
|
|
65
|
+
const user = index_module.Q();
|
|
66
|
+
const engagementMedium = index_module.B();
|
|
67
|
+
const programId = props.programId || index_module.H();
|
|
68
|
+
const { refresh } = index_module.ze();
|
|
69
|
+
const { envelope: referralData, states, callbacks, } = index_module.kn(GET_REFERRAL_CODES, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referralCodeList; }, {
|
|
70
70
|
limit: 1,
|
|
71
71
|
offset: 0,
|
|
72
72
|
}, {
|
|
@@ -78,11 +78,11 @@ function useReferralCodes(props) {
|
|
|
78
78
|
dateUsed_exists: false,
|
|
79
79
|
},
|
|
80
80
|
}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
81
|
-
const [paginationContext, setPaginationContext] = index_module.
|
|
81
|
+
const [paginationContext, setPaginationContext] = index_module.Cn({
|
|
82
82
|
namespace: REFERRAL_CODES_PAGINATION_CONTEXT,
|
|
83
83
|
initialValue: { states, callbacks },
|
|
84
84
|
});
|
|
85
|
-
const [referralCodesContext, setReferralCodesContext] = index_module.
|
|
85
|
+
const [referralCodesContext, setReferralCodesContext] = index_module.Cn({
|
|
86
86
|
namespace: REFERRAL_CODES_NAMESPACE,
|
|
87
87
|
initialValue: {
|
|
88
88
|
refresh,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
4
|
+
const index_module = require('./index.module-3ae0c462.js');
|
|
5
5
|
|
|
6
6
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
7
7
|
__assign = Object.assign || function(t) {
|
|
@@ -26637,7 +26637,7 @@ sl-input::part(label){
|
|
|
26637
26637
|
|
|
26638
26638
|
`;
|
|
26639
26639
|
|
|
26640
|
-
index_module.
|
|
26640
|
+
index_module.U(stencilHooks_module.l);
|
|
26641
26641
|
const debug = stencilHooks_module.browser("sq:global");
|
|
26642
26642
|
const cache = createIntlCache();
|
|
26643
26643
|
const intl = createIntl({
|
|
@@ -1345,6 +1345,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1345
1345
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1346
1346
|
}
|
|
1347
1347
|
endNewInstance();
|
|
1348
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1348
1349
|
}
|
|
1349
1350
|
if ( Cstr.style) {
|
|
1350
1351
|
// this component has styles but we haven't registered them yet
|
|
@@ -1373,6 +1374,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1373
1374
|
schedule();
|
|
1374
1375
|
}
|
|
1375
1376
|
};
|
|
1377
|
+
const fireConnectedCallback = (instance) => {
|
|
1378
|
+
{
|
|
1379
|
+
safeCall(instance, 'connectedCallback');
|
|
1380
|
+
}
|
|
1381
|
+
};
|
|
1376
1382
|
const connectedCallback = (elm) => {
|
|
1377
1383
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1378
1384
|
const hostRef = getHostRef(elm);
|
|
@@ -1421,6 +1427,10 @@ const connectedCallback = (elm) => {
|
|
|
1421
1427
|
initializeComponent(elm, hostRef, cmpMeta);
|
|
1422
1428
|
}
|
|
1423
1429
|
}
|
|
1430
|
+
else {
|
|
1431
|
+
// fire off connectedCallback() on component instance
|
|
1432
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1433
|
+
}
|
|
1424
1434
|
endConnected();
|
|
1425
1435
|
}
|
|
1426
1436
|
};
|