@saasquatch/mint-components 1.12.1-5 → 1.13.0-0
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-80d7642e.js → GenericTableView-7ef786c3.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-fa205e28.js → ShadowViewAddon-2aa1bd99.js} +208 -245
- package/dist/cjs/copy-text-view-43e8349f.js +231 -0
- package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-4eeee3e4.js} +2 -2
- package/dist/cjs/{global-02e50f09.js → global-d9abaf4d.js} +3 -3
- package/dist/cjs/{index-b0129cd6.js → index-3cf5ef3d.js} +16 -0
- package/dist/cjs/{index.module-df530553.js → index.module-ccf9bd9c.js} +57 -19
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-05098e19.js → luxon-14ae1f8a.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-fe9d4112.js → mixins-f7e0377a.js} +0 -1
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-a384d9f5.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-1976e05e.js → re-render-1e63c82b.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-a3abee0b.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 +67 -67
- package/dist/cjs/sqm-base-registration-form-view-e4a74dee.js +68 -0
- package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_38.cjs.entry.js} +92 -107
- package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-0cdada3a.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +11 -7
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +45 -0
- 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 +7 -7
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-a13d1c7f.js} +2 -2
- package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-133f8d95.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-64ca6abe.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-38519acf.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-37209a17.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +392 -0
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-9a36f5ed.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-6e1e80e7.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-97903679.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +306 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-f4489585.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-registration-form-view-621348a6.js → sqm-portal-registration-form-view-add61eb6.js} +17 -16
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +12 -218
- package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-0ed5419e.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cd2c3086.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -13
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
- 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 +17 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +752 -412
- 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-e1cd9bd3.js → sqm-text-span-view-a22f50aa.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-ece1ee46.js} +1 -1
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-438cf387.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-7d91867a.js} +4 -4
- package/dist/cjs/usePortalRegistrationForm-0d4fbcde.js +213 -0
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-6b4920f9.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-5911d016.js} +3 -3
- package/dist/cjs/{utilities-cec9dd36.js → utilities-27e9535b.js} +2 -2
- package/dist/collection/collection-manifest.json +13 -2
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +25 -0
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +63 -0
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +15 -6
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +5 -5
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +78 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +32 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +112 -0
- package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +112 -0
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +86 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +851 -0
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +70 -0
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +14 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +9 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +81 -3
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +6 -3
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -5
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +14 -13
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +2 -3
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -2
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +63 -0
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +219 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +131 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
- package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +12 -4
- package/dist/collection/components/views/copy-text-view.js +18 -3
- package/dist/collection/global/mixins.js +0 -1
- package/dist/collection/stories/Widget.stories.js +5 -0
- package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-6aa9fac9.js} +2 -2
- package/dist/esm/{ShadowViewAddon-170728a6.js → ShadowViewAddon-af23bc54.js} +207 -243
- package/dist/esm/copy-text-view-61eebf5d.js +225 -0
- package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-6870d230.js} +2 -2
- package/dist/esm/{global-04c7d3b5.js → global-3611a2b7.js} +3 -3
- package/dist/esm/{index-17b4da69.js → index-60f16d0a.js} +15 -1
- package/dist/esm/{index.module-def4aec5.js → index.module-f3d96fbb.js} +41 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-7600be8d.js → luxon-9b1f9912.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-f60a614c.js → mixins-83f90fa1.js} +0 -1
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-8b3afd15.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-12fd274a.js → re-render-3b630de2.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-2157b61f.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-banking-info-form_16.entry.js +67 -67
- package/dist/esm/sqm-base-registration-form-view-dd481f19.js +66 -0
- package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_38.entry.js} +91 -105
- package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-0c0bfff8.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +11 -7
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +41 -0
- 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 +7 -7
- package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-b8240dc6.js} +2 -2
- package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-7cd0de83.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-02e9f508.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-a4e4edb6.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-ce55d74d.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-pagination_3.entry.js +386 -0
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-c3be4b88.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-d500dd01.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +12 -12
- package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-4f6c89a7.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +9 -9
- package/dist/esm/sqm-portal-google-registration-form.entry.js +302 -0
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-2997f902.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +11 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form-view-20b9c9bc.js +84 -0
- package/dist/esm/sqm-portal-registration-form.entry.js +11 -217
- package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-e29f1842.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -12
- package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-d5dcf5c5.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
- package/dist/esm/sqm-referral-table_11.entry.js +15 -13
- package/dist/esm/sqm-referred-registration.entry.js +7 -7
- 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 +17 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +739 -399
- 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-8d140661.js → sqm-text-span-view-d1b54710.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-e20edc0b.js} +1 -1
- package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-d1d3fedd.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-c5d80a2e.js} +4 -4
- package/dist/esm/usePortalRegistrationForm-e8ec6d4e.js +211 -0
- package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-fbcfc2a7.js} +11 -11
- package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-33f9cb24.js} +3 -3
- package/dist/esm/{utilities-3f5bba22.js → utilities-33996ce7.js} +2 -2
- package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-6aa9fac9.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-af23bc54.js +1 -0
- package/dist/esm-es5/copy-text-view-61eebf5d.js +1 -0
- package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-6870d230.js} +1 -1
- package/dist/esm-es5/{global-04c7d3b5.js → global-3611a2b7.js} +2 -2
- package/dist/esm-es5/{index-17b4da69.js → index-60f16d0a.js} +1 -1
- package/dist/esm-es5/index.module-f3d96fbb.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-9b1f9912.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mixins-f60a614c.js → mixins-83f90fa1.js} +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-8b3afd15.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-12fd274a.js → re-render-3b630de2.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-2157b61f.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 +1 -0
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-0c0bfff8.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 -0
- 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-6e13a323.js → sqm-invoice-table-view-b8240dc6.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-02e9f508.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-a4e4edb6.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-ce55d74d.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
- 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-6c582684.js → sqm-portal-container-view-c3be4b88.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-d500dd01.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-4f6c89a7.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 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-2997f902.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-20b9c9bc.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-e29f1842.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-d5dcf5c5.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-8d140661.js → sqm-text-span-view-d1b54710.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-e20edc0b.js} +1 -1
- package/dist/esm-es5/useChildElements-d1d3fedd.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-c5d80a2e.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-e8ec6d4e.js +1 -0
- package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-fbcfc2a7.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-33f9cb24.js +1 -0
- package/dist/esm-es5/{utilities-3f5bba22.js → utilities-33996ce7.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-003fb0ae.system.js +1 -0
- package/dist/mint-components/{p-56f14840.entry.js → p-070fa30d.entry.js} +1 -1
- package/dist/mint-components/p-0725d1a7.system.entry.js +1 -0
- package/dist/mint-components/{p-1c857edb.entry.js → p-0954e95d.entry.js} +2 -2
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-0aa76ad0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d2e4ba.js → p-0b6200b3.js} +1 -1
- package/dist/mint-components/p-0c4c5874.js +1 -0
- package/dist/mint-components/{p-cf690d55.system.entry.js → p-0e89ac7f.system.entry.js} +1 -1
- package/dist/mint-components/{p-8679ed9f.system.entry.js → p-0fd20804.system.entry.js} +1 -1
- package/dist/mint-components/p-0fe8fbe1.system.entry.js +1 -0
- package/dist/mint-components/{p-251e7567.js → p-12d27b9b.js} +1 -1
- package/dist/mint-components/p-13fe7290.js +1 -0
- package/dist/mint-components/{p-7731f793.system.entry.js → p-14dc52dc.system.entry.js} +1 -1
- package/dist/mint-components/{p-c84659a3.system.js → p-15b2063c.system.js} +1 -1
- package/dist/mint-components/{p-021a735d.entry.js → p-1739dfb8.entry.js} +1 -1
- package/dist/mint-components/p-192689fc.entry.js +1 -0
- package/dist/mint-components/{p-6b5e355c.system.js → p-1ab3f305.system.js} +1 -1
- package/dist/mint-components/{p-a9050eb0.entry.js → p-1d58a8ff.entry.js} +1 -1
- package/dist/mint-components/{p-4d233cd4.js → p-22110634.js} +1 -1
- package/dist/mint-components/{p-e546347e.system.js → p-222fa722.system.js} +1 -1
- package/dist/mint-components/{p-5f1c4160.system.entry.js → p-273ad080.system.entry.js} +1 -1
- package/dist/mint-components/p-27f281f4.system.js +1 -0
- package/dist/mint-components/{p-509e29e6.js → p-2dff4fb2.js} +1 -1
- package/dist/mint-components/{p-01cfff8a.system.entry.js → p-38b8050c.system.entry.js} +1 -1
- package/dist/mint-components/p-38bd81d1.system.js +1 -0
- package/dist/mint-components/{p-370a1a73.system.js → p-3ae32130.system.js} +1 -1
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-3b923175.system.entry.js} +1 -1
- package/dist/mint-components/{p-4edde470.entry.js → p-3c00282b.entry.js} +1 -1
- package/dist/mint-components/p-3c04f8d1.system.js +1 -0
- package/dist/mint-components/p-3d4978ca.system.entry.js +1 -0
- package/dist/mint-components/{p-4ea58025.system.entry.js → p-3dbcd42a.system.entry.js} +1 -1
- package/dist/mint-components/{p-3223ba7b.entry.js → p-3dc9a448.entry.js} +1 -1
- package/dist/mint-components/p-3e8e2f37.system.js +1 -0
- package/dist/mint-components/p-3f3cd0b9.system.entry.js +1 -0
- package/dist/mint-components/{p-b6fc1227.system.entry.js → p-44c4a54f.system.entry.js} +1 -1
- package/dist/mint-components/p-455a3f54.system.entry.js +1 -0
- package/dist/mint-components/p-4692d45d.system.entry.js +1 -0
- package/dist/mint-components/p-478e8baa.system.js +1 -0
- package/dist/mint-components/p-500a2bff.entry.js +13 -0
- package/dist/mint-components/{p-3ed71bef.system.js → p-5057380a.system.js} +1 -1
- package/dist/mint-components/{p-e3e16c36.js → p-5309ebf3.js} +1 -1
- package/dist/mint-components/p-53238aee.js +1 -0
- package/dist/mint-components/{p-2a414b2e.system.js → p-58bcece7.system.js} +1 -1
- package/dist/mint-components/{p-44787d6e.system.js → p-5b6cf6cd.system.js} +1 -1
- package/dist/mint-components/{p-bb00db59.js → p-5c714029.js} +1 -1
- package/dist/mint-components/p-5dd51c6f.entry.js +9 -0
- package/dist/mint-components/p-5e61bdfd.entry.js +1 -0
- package/dist/mint-components/{p-ec41d6a4.entry.js → p-5fb1bcb5.entry.js} +6 -6
- package/dist/mint-components/p-6465b781.js +1 -0
- package/dist/mint-components/p-64af8fa4.system.js +1 -0
- package/dist/mint-components/p-6673a331.system.js +1 -0
- package/dist/mint-components/{p-2ee2ebba.js → p-682450a8.js} +2 -2
- package/dist/mint-components/{p-41a11a7f.js → p-683cfd07.js} +1 -1
- package/dist/mint-components/{p-7d5e0645.system.js → p-697d6e54.system.js} +1 -1
- package/dist/mint-components/p-6a95e6b7.js +52 -0
- package/dist/mint-components/{p-6cef104b.entry.js → p-6ac9d2cf.entry.js} +1 -1
- package/dist/mint-components/p-7027b14d.js +1 -0
- package/dist/mint-components/p-705de128.js +13 -0
- package/dist/mint-components/{p-be4b748a.system.entry.js → p-70eafbbd.system.entry.js} +1 -1
- package/dist/mint-components/{p-35d84041.system.entry.js → p-7141d536.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce621bcc.js → p-71d6b762.js} +1 -1
- package/dist/mint-components/p-74d5d3d1.entry.js +1 -0
- package/dist/mint-components/{p-fbdf0738.entry.js → p-75956e50.entry.js} +1 -1
- package/dist/mint-components/p-76769baa.entry.js +223 -0
- package/dist/mint-components/{p-f0806232.system.entry.js → p-7bc9308c.system.entry.js} +1 -1
- package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-7d2d59ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-e8dde8f4.system.js → p-7e3ada1b.system.js} +1 -1
- package/dist/mint-components/p-7ef0cb0a.system.js +1 -0
- package/dist/mint-components/p-7facf5cd.system.entry.js +1 -0
- package/dist/mint-components/p-823f61da.entry.js +1 -0
- package/dist/mint-components/p-8329e1fa.system.js +1 -0
- package/dist/mint-components/p-8525931d.system.entry.js +1 -0
- package/dist/mint-components/{p-ce5afa40.entry.js → p-863340dc.entry.js} +1 -1
- package/dist/mint-components/{p-178d2d2e.entry.js → p-8799b28f.entry.js} +1 -1
- package/dist/mint-components/{p-79da7f18.js → p-88197cfd.js} +1 -1
- package/dist/mint-components/p-8a0a87e7.system.entry.js +1 -0
- package/dist/mint-components/{p-c1a47137.system.entry.js → p-8f705bea.system.entry.js} +1 -1
- package/dist/mint-components/p-8fb2af73.system.js +1 -0
- package/dist/mint-components/{p-02be1a88.js → p-91521e9d.js} +1 -1
- package/dist/mint-components/p-920b48ad.system.entry.js +1 -0
- package/dist/mint-components/p-9259fd35.system.entry.js +1 -0
- package/dist/mint-components/p-93124bdb.entry.js +1 -0
- package/dist/mint-components/p-944918d9.entry.js +1 -0
- package/dist/mint-components/{p-c8610d0c.js → p-9716a83b.js} +1 -1
- package/dist/mint-components/{p-ff17b3a4.system.js → p-989fdd2e.system.js} +1 -1
- package/dist/mint-components/p-9c7a031a.js +1 -0
- package/dist/mint-components/{p-f3053c61.js → p-9d078f60.js} +1 -1
- package/dist/mint-components/{p-1dd69917.system.entry.js → p-9d954277.system.entry.js} +1 -1
- package/dist/mint-components/{p-3036cf58.system.js → p-9e4e3d5f.system.js} +1 -1
- package/dist/mint-components/{p-c7fd9e16.js → p-9fff2218.js} +1 -1
- package/dist/mint-components/p-a1cb66c0.system.js +1 -0
- package/dist/mint-components/p-a2a3d9dc.entry.js +1 -0
- package/dist/mint-components/{p-ed095674.system.js → p-a631db44.system.js} +1 -1
- package/dist/mint-components/{p-59fe4ad1.system.js → p-a67e8ef4.system.js} +1 -1
- package/dist/mint-components/p-a8bf33fc.js +1 -0
- package/dist/mint-components/p-a9166b6a.entry.js +1 -0
- package/dist/mint-components/{p-fb93c962.js → p-aa5446c1.js} +1 -1
- package/dist/mint-components/p-ad00a797.system.entry.js +1 -0
- package/dist/mint-components/{p-4502ed11.system.entry.js → p-adc14a77.system.entry.js} +1 -1
- package/dist/mint-components/p-aed99250.js +391 -0
- package/dist/mint-components/{p-2dd67762.entry.js → p-aeea67a3.entry.js} +1 -1
- package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-b043693d.system.entry.js} +1 -1
- package/dist/mint-components/{p-5d0c9424.js → p-b11f43ee.js} +1 -1
- package/dist/mint-components/{p-1b9e6fc6.js → p-b33381a7.js} +1 -1
- package/dist/mint-components/{p-639d3dd3.entry.js → p-b3499953.entry.js} +1 -1
- package/dist/mint-components/{p-eaada4da.js → p-b402df18.js} +1 -1
- package/dist/mint-components/{p-fd2c5407.js → p-b619a5e0.js} +1 -1
- package/dist/mint-components/p-b667d890.system.entry.js +1 -0
- package/dist/mint-components/p-b6a4ce83.entry.js +1 -0
- package/dist/mint-components/p-b6f41077.entry.js +1 -0
- package/dist/mint-components/p-b7edef12.system.entry.js +1 -0
- package/dist/mint-components/{p-9c310991.system.entry.js → p-bc305236.system.entry.js} +1 -1
- package/dist/mint-components/{p-7f088154.entry.js → p-bd5706ba.entry.js} +1 -1
- package/dist/mint-components/{p-c5577dd7.system.js → p-c1ede4f5.system.js} +1 -1
- package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-c2bc302f.system.entry.js} +1 -1
- package/dist/mint-components/{p-92110eef.entry.js → p-c33ccfb7.entry.js} +1 -1
- package/dist/mint-components/p-c4c922fc.system.entry.js +1 -0
- package/dist/mint-components/p-c56b47e5.system.js +1 -0
- package/dist/mint-components/{p-f6934a55.system.js → p-cd1d497f.system.js} +1 -1
- package/dist/mint-components/p-cd39acd0.system.entry.js +1 -0
- package/dist/mint-components/p-d23d5113.js +1 -0
- package/dist/mint-components/{p-8704937c.js → p-d47569d0.js} +1 -1
- package/dist/mint-components/{p-ce9e7c98.system.js → p-d477a07b.system.js} +1 -1
- package/dist/mint-components/p-d4c0d53f.js +1 -0
- package/dist/mint-components/{p-b4c52c5a.entry.js → p-d59c19ba.entry.js} +2 -2
- package/dist/mint-components/{p-137ea86e.entry.js → p-d9dd65fd.entry.js} +1 -1
- package/dist/mint-components/{p-aad11a68.entry.js → p-dacefee2.entry.js} +1 -1
- package/dist/mint-components/{p-4f775e84.system.js → p-e0c608e4.system.js} +1 -1
- package/dist/mint-components/p-e10be944.entry.js +1 -0
- package/dist/mint-components/{p-ac1bf045.js → p-e56447fd.js} +1 -1
- package/dist/mint-components/{p-e3735866.entry.js → p-e605fe66.entry.js} +2 -2
- package/dist/mint-components/p-e64c49dd.system.js +1 -0
- package/dist/mint-components/{p-86990110.entry.js → p-e864a155.entry.js} +1 -1
- package/dist/mint-components/p-eac81420.entry.js +1 -0
- package/dist/mint-components/{p-88a2e66e.system.entry.js → p-ec379cf4.system.entry.js} +1 -1
- package/dist/mint-components/p-ec9c8ced.system.js +1 -0
- package/dist/mint-components/{p-0d8c53ac.system.js → p-ef7b966e.system.js} +1 -1
- package/dist/mint-components/{p-5cac90e8.system.entry.js → p-f7175fc2.system.entry.js} +1 -1
- package/dist/mint-components/p-f8047aab.entry.js +1 -0
- package/dist/mint-components/p-f81cc2cd.entry.js +1 -0
- package/dist/mint-components/{p-5b333fa8.system.entry.js → p-f8450975.system.entry.js} +1 -1
- package/dist/mint-components/p-f8b41805.system.js +1 -0
- package/dist/mint-components/p-fde23de1.entry.js +13 -0
- package/dist/mint-components/{p-4e48267b.system.js → p-ff19bf56.system.js} +1 -1
- package/dist/mint-components/p-ffe78243.js +1 -0
- package/dist/types/components/{sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts → sqm-base-registration/BaseRegistrationForm.stories.d.ts} +0 -3
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +19 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -4
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +12 -0
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +16 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
- package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +31 -0
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +149 -0
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +14 -0
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +8 -0
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +0 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +3 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +39 -0
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +52 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
- package/dist/types/components/views/copy-text-view.d.ts +3 -0
- package/dist/types/components.d.ts +523 -48
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/global/mixins.d.ts +0 -2
- package/dist/types/stories/Widget.stories.d.ts +6 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +0 -11
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +0 -130
- package/dist/esm/sqm-portal-registration-form-view-1d3066e1.js +0 -83
- package/dist/esm-es5/ShadowViewAddon-170728a6.js +0 -1
- package/dist/esm-es5/index.module-def4aec5.js +0 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-1d3066e1.js +0 -1
- package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
- package/dist/mint-components/p-02424350.system.js +0 -1
- package/dist/mint-components/p-03494732.entry.js +0 -1
- package/dist/mint-components/p-04e666dc.js +0 -391
- package/dist/mint-components/p-07f675ab.system.entry.js +0 -1
- package/dist/mint-components/p-0a898ab1.js +0 -1
- package/dist/mint-components/p-0b9fa97f.js +0 -1
- package/dist/mint-components/p-10e89d0a.entry.js +0 -1
- package/dist/mint-components/p-1ce3afa6.entry.js +0 -223
- package/dist/mint-components/p-32d1d162.entry.js +0 -1
- package/dist/mint-components/p-3d4656bb.system.js +0 -1
- package/dist/mint-components/p-3ec16698.entry.js +0 -13
- package/dist/mint-components/p-40b1de58.js +0 -1
- package/dist/mint-components/p-4112e198.system.js +0 -1
- package/dist/mint-components/p-4df8f1d2.system.js +0 -1
- package/dist/mint-components/p-51f517a2.js +0 -1
- package/dist/mint-components/p-58ef25d3.system.entry.js +0 -1
- package/dist/mint-components/p-5b761128.system.entry.js +0 -1
- package/dist/mint-components/p-5be235f9.entry.js +0 -1
- package/dist/mint-components/p-61eab172.js +0 -1
- package/dist/mint-components/p-62221541.system.js +0 -1
- package/dist/mint-components/p-64c3217a.js +0 -1
- package/dist/mint-components/p-674a64fe.system.js +0 -1
- package/dist/mint-components/p-7049e9b0.entry.js +0 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
- package/dist/mint-components/p-770368bc.system.js +0 -1
- package/dist/mint-components/p-79191f88.entry.js +0 -1
- package/dist/mint-components/p-7c6c96e2.system.entry.js +0 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
- package/dist/mint-components/p-8b617d7e.entry.js +0 -9
- package/dist/mint-components/p-8baf6566.system.entry.js +0 -1
- package/dist/mint-components/p-8e907ac7.system.entry.js +0 -1
- package/dist/mint-components/p-91669312.entry.js +0 -1
- package/dist/mint-components/p-9dcfa187.system.js +0 -1
- package/dist/mint-components/p-9f0629ba.system.entry.js +0 -1
- package/dist/mint-components/p-a51533cb.system.js +0 -1
- package/dist/mint-components/p-a6a7dcaa.js +0 -1
- package/dist/mint-components/p-a8f7cb95.js +0 -1
- package/dist/mint-components/p-af062c8f.system.entry.js +0 -1
- package/dist/mint-components/p-afd366ae.system.entry.js +0 -1
- package/dist/mint-components/p-b370fca8.system.js +0 -1
- package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
- package/dist/mint-components/p-b5861974.system.entry.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-d49e2f7a.js +0 -1
- package/dist/mint-components/p-d8d2de11.entry.js +0 -1
- package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
- package/dist/mint-components/p-dd7ee007.system.js +0 -1
- package/dist/mint-components/p-eba44835.system.entry.js +0 -1
- package/dist/mint-components/p-ed17e637.system.js +0 -1
- package/dist/mint-components/p-ed6ebd60.system.js +0 -1
- package/dist/mint-components/p-f3dd15c5.entry.js +0 -13
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +0 -28
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { h, c as Host, d as getAssetPath, g as getElement } from './index-
|
|
2
|
-
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
1
|
+
import { h, c as Host, d as getAssetPath, g as getElement } from './index-60f16d0a.js';
|
|
2
|
+
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-e20edc0b.js';
|
|
3
|
+
import { i as intl } from './global-3611a2b7.js';
|
|
4
|
+
import { d as dist, z as z$1, K, D as Dn, E as En, x as xe, n as ne, g as getEnvironmentSDK, Q } from './index.module-f3d96fbb.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
|
-
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
9
|
-
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
|
-
import {
|
|
7
|
+
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-61eebf5d.js';
|
|
9
|
+
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-d1d3fedd.js';
|
|
11
|
+
import { l as luxon } from './luxon-9b1f9912.js';
|
|
12
|
+
import { T as TextSpanView } from './sqm-text-span-view-d1b54710.js';
|
|
12
13
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
13
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
14
|
-
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-
|
|
14
|
+
import { a as isValidColor, b as isMobile } from './utilities-33996ce7.js';
|
|
15
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-c3be4b88.js';
|
|
15
16
|
|
|
16
17
|
const medium = {
|
|
17
18
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -216,80 +217,6 @@ function LeaderboardView(props) {
|
|
|
216
217
|
h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
|
|
217
218
|
}
|
|
218
219
|
|
|
219
|
-
const style$2 = {
|
|
220
|
-
HostBlock: HostBlock,
|
|
221
|
-
inputStyle: {
|
|
222
|
-
"&::part(input)": { textOverflow: "ellipsis", width: "100%" },
|
|
223
|
-
"&::part(base)": { cursor: "pointer", overflow: "visible" },
|
|
224
|
-
width: "100%",
|
|
225
|
-
},
|
|
226
|
-
inputErrorStyle: {
|
|
227
|
-
"&::part(base)": {
|
|
228
|
-
border: "2px solid red",
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
containerStyle: {
|
|
232
|
-
display: "flex",
|
|
233
|
-
alignItems: "center",
|
|
234
|
-
gap: "var(--sl-spacing-x-small)",
|
|
235
|
-
width: "100%",
|
|
236
|
-
},
|
|
237
|
-
errorTextStyle: {
|
|
238
|
-
margin: "0",
|
|
239
|
-
color: "var(--sl-color-danger-500)",
|
|
240
|
-
},
|
|
241
|
-
};
|
|
242
|
-
const vanillaStyle$1 = `
|
|
243
|
-
:host{
|
|
244
|
-
display: block;
|
|
245
|
-
width: 100%;
|
|
246
|
-
}
|
|
247
|
-
`;
|
|
248
|
-
const textAlignStyle = {
|
|
249
|
-
right: `
|
|
250
|
-
sl-input::part(input){
|
|
251
|
-
text-align: right;
|
|
252
|
-
}`,
|
|
253
|
-
center: `
|
|
254
|
-
sl-input::part(input){
|
|
255
|
-
text-align: center;
|
|
256
|
-
}`,
|
|
257
|
-
left: ``,
|
|
258
|
-
};
|
|
259
|
-
const disabledStyles = `
|
|
260
|
-
sl-input::part(input){
|
|
261
|
-
cursor: default;
|
|
262
|
-
}
|
|
263
|
-
`;
|
|
264
|
-
const sheet$2 = createStyleSheet(style$2);
|
|
265
|
-
const styleString$2 = sheet$2.toString();
|
|
266
|
-
function CopyTextView(props) {
|
|
267
|
-
const { buttonStyle = "icon" } = props;
|
|
268
|
-
const error = !props.loading && props.error;
|
|
269
|
-
const inputText = error ? props.inputPlaceholderText : props.copyString;
|
|
270
|
-
const disabled = error || props.loading || props.disabled;
|
|
271
|
-
const tooltipPlacement = props.buttonStyle === "button-below"
|
|
272
|
-
? "bottom"
|
|
273
|
-
: props.buttonStyle === "button-outside"
|
|
274
|
-
? "top"
|
|
275
|
-
: "top-end";
|
|
276
|
-
const copyButton = (h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (h("sl-icon-button", { exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (h("sl-button", { exportparts: "base: copy-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
|
|
277
|
-
return (h("div", null,
|
|
278
|
-
h("style", { type: "text/css" },
|
|
279
|
-
styleString$2,
|
|
280
|
-
vanillaStyle$1,
|
|
281
|
-
textAlignStyle[props.textAlign],
|
|
282
|
-
disabled && disabledStyles),
|
|
283
|
-
h("div", { class: sheet$2.classes.containerStyle, style: {
|
|
284
|
-
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
285
|
-
} },
|
|
286
|
-
h("sl-input", { class: `${sheet$2.classes.inputStyle} ${error ? sheet$2.classes.inputErrorStyle : ""}`, exportparts: "base: input-base, input: input-label", value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
287
|
-
buttonStyle === "icon" && copyButton,
|
|
288
|
-
error && (h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
|
|
289
|
-
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
290
|
-
copyButton)));
|
|
291
|
-
}
|
|
292
|
-
|
|
293
220
|
function BigStatView(props) {
|
|
294
221
|
const { statvalue, flexReverse, alignment } = props;
|
|
295
222
|
// Dependent on props, not feasiable to move out
|
|
@@ -325,7 +252,7 @@ function BigStatView(props) {
|
|
|
325
252
|
h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
326
253
|
}
|
|
327
254
|
|
|
328
|
-
const style$
|
|
255
|
+
const style$2 = {
|
|
329
256
|
HostBlock: HostBlock,
|
|
330
257
|
Frame: {
|
|
331
258
|
display: "flex",
|
|
@@ -359,17 +286,17 @@ const style$3 = {
|
|
|
359
286
|
},
|
|
360
287
|
},
|
|
361
288
|
};
|
|
362
|
-
const sheet$
|
|
363
|
-
const styleString$
|
|
289
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
290
|
+
const styleString$2 = sheet$2.toString();
|
|
364
291
|
function PortalFrameView(props, children) {
|
|
365
292
|
const { data, notFullScreen } = props;
|
|
366
|
-
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$
|
|
367
|
-
h("style", { type: "text/css" }, styleString$
|
|
368
|
-
h("div", { class: sheet$
|
|
293
|
+
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
|
|
294
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
295
|
+
h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
|
|
369
296
|
data.header,
|
|
370
297
|
h("slot", { name: "sqm-navigation-menu" })),
|
|
371
298
|
children,
|
|
372
|
-
h("div", { class: sheet$
|
|
299
|
+
h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
|
|
373
300
|
}
|
|
374
301
|
|
|
375
302
|
const EditProfileView = (props) => {
|
|
@@ -446,16 +373,22 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
446
373
|
`;
|
|
447
374
|
function useShareLink(props) {
|
|
448
375
|
var _a, _b;
|
|
449
|
-
const { programId =
|
|
450
|
-
const user =
|
|
451
|
-
const engagementMedium =
|
|
452
|
-
const
|
|
453
|
-
const
|
|
454
|
-
const
|
|
376
|
+
const { programId = z$1() } = props;
|
|
377
|
+
const user = K();
|
|
378
|
+
const engagementMedium = ne();
|
|
379
|
+
const contextData = Dn(REFERRAL_CODES_NAMESPACE);
|
|
380
|
+
const { data } = En(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
381
|
+
const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT);
|
|
382
|
+
const [setCopied, copiedRes] = xe(SET_CODE_COPIED);
|
|
383
|
+
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 :
|
|
455
384
|
// Shown during loading
|
|
456
385
|
"...";
|
|
457
386
|
const [open, setOpen] = useState(false);
|
|
458
|
-
function onClick() {
|
|
387
|
+
async function onClick() {
|
|
388
|
+
if (contextData) {
|
|
389
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
390
|
+
contextData.refresh();
|
|
391
|
+
}
|
|
459
392
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
460
393
|
// Only if called from a user-initiated event
|
|
461
394
|
navigator.clipboard.writeText(copyString);
|
|
@@ -514,60 +447,70 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
|
|
|
514
447
|
alert(unsupportedPlatformText);
|
|
515
448
|
}
|
|
516
449
|
}
|
|
517
|
-
function FacebookShare(directLink,
|
|
518
|
-
|
|
519
|
-
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
|
|
520
|
-
directLink === "undefined") {
|
|
450
|
+
function FacebookShare(directLink, messageLink, errorText) {
|
|
451
|
+
if (messageLink === "undefined" || directLink === "undefined") {
|
|
521
452
|
return alert(errorText);
|
|
522
453
|
}
|
|
523
454
|
if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
|
|
524
|
-
return SquatchAndroid.shareOnFacebook(directLink,
|
|
455
|
+
return SquatchAndroid.shareOnFacebook(directLink, messageLink);
|
|
525
456
|
}
|
|
526
457
|
else {
|
|
527
|
-
return GenericShare(
|
|
458
|
+
return GenericShare(messageLink, errorText);
|
|
528
459
|
}
|
|
529
460
|
}
|
|
530
|
-
function GenericShare(
|
|
531
|
-
|
|
532
|
-
return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) ? window.open(res.data.viewer.messageLink)
|
|
533
|
-
: alert(errorText);
|
|
461
|
+
function GenericShare(messageLink, errorText) {
|
|
462
|
+
return messageLink ? window.open(messageLink) : alert(errorText);
|
|
534
463
|
}
|
|
535
464
|
function useShareButton(props) {
|
|
536
465
|
var _a, _b;
|
|
537
466
|
const { sharetitle, sharetext, medium } = props;
|
|
538
|
-
const programId = props.programId ? props.programId :
|
|
539
|
-
const user =
|
|
467
|
+
const programId = props.programId ? props.programId : z$1();
|
|
468
|
+
const user = K();
|
|
469
|
+
const engagementMedium = ne();
|
|
540
470
|
const variables = {
|
|
541
|
-
engagementMedium
|
|
471
|
+
engagementMedium,
|
|
542
472
|
programId: programId,
|
|
543
473
|
shareMedium: medium.toUpperCase(),
|
|
544
474
|
};
|
|
475
|
+
const contextData = Dn(REFERRAL_CODES_NAMESPACE);
|
|
476
|
+
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
545
477
|
// only queries if a programId is available
|
|
546
|
-
const res =
|
|
547
|
-
const
|
|
478
|
+
const res = En(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
479
|
+
const [setCopied, copiedRes] = xe(SET_CODE_COPIED);
|
|
480
|
+
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);
|
|
548
481
|
const environment = getEnvironmentSDK();
|
|
549
482
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
550
483
|
window.orientation === undefined) ||
|
|
551
484
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
552
|
-
function onClick() {
|
|
485
|
+
async function onClick() {
|
|
486
|
+
var _a, _b, _c, _d;
|
|
487
|
+
if (overrideData) {
|
|
488
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
489
|
+
contextData.refresh();
|
|
490
|
+
}
|
|
553
491
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
554
492
|
environment.type === "SquatchAndroid") {
|
|
555
|
-
FacebookShare(directLink, res, props.errorText);
|
|
493
|
+
FacebookShare(directLink, (overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink), props.errorText);
|
|
556
494
|
}
|
|
557
495
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
558
496
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
559
497
|
}
|
|
560
498
|
else {
|
|
561
|
-
GenericShare(res, props.errorText);
|
|
499
|
+
GenericShare((overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.messageLink), props.errorText);
|
|
562
500
|
}
|
|
563
501
|
}
|
|
564
|
-
return {
|
|
502
|
+
return {
|
|
503
|
+
...props,
|
|
504
|
+
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
505
|
+
onClick,
|
|
506
|
+
hide,
|
|
507
|
+
};
|
|
565
508
|
}
|
|
566
509
|
|
|
567
510
|
const debug = browser("sq:useBigStat");
|
|
568
511
|
const LOADING = "...";
|
|
569
512
|
const debugQuery = (query, variables, getStat) => {
|
|
570
|
-
const res =
|
|
513
|
+
const res = En(query, variables);
|
|
571
514
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
572
515
|
console.error("issue getting stat:", res);
|
|
573
516
|
}
|
|
@@ -978,7 +921,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
978
921
|
locale: $locale
|
|
979
922
|
formatType: UNIT_FORMATTED
|
|
980
923
|
)}`;
|
|
981
|
-
const result =
|
|
924
|
+
const result = En(query, {
|
|
982
925
|
value: redeemedTotal,
|
|
983
926
|
unit,
|
|
984
927
|
locale,
|
|
@@ -1037,7 +980,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1037
980
|
locale: $locale
|
|
1038
981
|
formatType: UNIT_FORMATTED
|
|
1039
982
|
)}`;
|
|
1040
|
-
const result =
|
|
983
|
+
const result = En(query, {
|
|
1041
984
|
value: redeemedTotal,
|
|
1042
985
|
unit,
|
|
1043
986
|
locale,
|
|
@@ -1433,11 +1376,11 @@ const StatPaths = [
|
|
|
1433
1376
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1434
1377
|
function useBigStat(props) {
|
|
1435
1378
|
var _a;
|
|
1436
|
-
const { statType, flexReverse, alignment, programId =
|
|
1379
|
+
const { statType, flexReverse, alignment, programId = z$1(), } = props;
|
|
1437
1380
|
// triggers a re-render if the label is manually changed
|
|
1438
1381
|
useChildElements();
|
|
1439
|
-
const locale =
|
|
1440
|
-
const userIdent =
|
|
1382
|
+
const locale = Q();
|
|
1383
|
+
const userIdent = K();
|
|
1441
1384
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1442
1385
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1443
1386
|
return {
|
|
@@ -1634,7 +1577,7 @@ function PortalChangePasswordView(props) {
|
|
|
1634
1577
|
h("style", { type: "text/css" }, styleString))));
|
|
1635
1578
|
}
|
|
1636
1579
|
|
|
1637
|
-
const style$
|
|
1580
|
+
const style$3 = {
|
|
1638
1581
|
Wrapper: AuthWrapper,
|
|
1639
1582
|
Column: AuthColumn,
|
|
1640
1583
|
ForgotButtonContainer: {
|
|
@@ -1645,9 +1588,15 @@ const style$4 = {
|
|
|
1645
1588
|
color: "#AAAAAA",
|
|
1646
1589
|
margin: "0",
|
|
1647
1590
|
},
|
|
1648
|
-
ButtonsContainer:
|
|
1591
|
+
ButtonsContainer: {
|
|
1592
|
+
...AuthButtonsContainer,
|
|
1593
|
+
gap: "var(--sl-spacing-medium)",
|
|
1594
|
+
"& > *": {
|
|
1595
|
+
margin: "0 !important",
|
|
1596
|
+
},
|
|
1597
|
+
},
|
|
1649
1598
|
};
|
|
1650
|
-
const vanillaStyle$
|
|
1599
|
+
const vanillaStyle$1 = `
|
|
1651
1600
|
:host {
|
|
1652
1601
|
display: block;
|
|
1653
1602
|
}
|
|
@@ -1655,28 +1604,30 @@ const vanillaStyle$2 = `
|
|
|
1655
1604
|
display: none;
|
|
1656
1605
|
}
|
|
1657
1606
|
`;
|
|
1658
|
-
const sheet$
|
|
1659
|
-
const styleString$
|
|
1607
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1608
|
+
const styleString$3 = sheet$3.toString();
|
|
1660
1609
|
function PortalLoginView(props) {
|
|
1661
1610
|
const { states, callbacks, content } = props;
|
|
1662
|
-
return (h("div", { class: sheet$
|
|
1611
|
+
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1663
1612
|
h("style", { type: "text/css" },
|
|
1664
|
-
vanillaStyle$
|
|
1665
|
-
styleString$
|
|
1613
|
+
vanillaStyle$1,
|
|
1614
|
+
styleString$3),
|
|
1666
1615
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1667
|
-
h("sl-form", { class: sheet$
|
|
1616
|
+
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1668
1617
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1669
1618
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1670
1619
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1671
1620
|
h("div", null,
|
|
1672
1621
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1673
|
-
h("div", { class: sheet$
|
|
1674
|
-
h("div", { class: sheet$
|
|
1622
|
+
h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1623
|
+
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1675
1624
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1625
|
+
content.googleButton && h("sl-menu-divider", null),
|
|
1626
|
+
content.googleButton,
|
|
1676
1627
|
content.secondaryButton))));
|
|
1677
1628
|
}
|
|
1678
1629
|
|
|
1679
|
-
const style$
|
|
1630
|
+
const style$4 = {
|
|
1680
1631
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1681
1632
|
Column: AuthColumn,
|
|
1682
1633
|
HostBlock: HostBlock,
|
|
@@ -1687,7 +1638,7 @@ const style$5 = {
|
|
|
1687
1638
|
ButtonsContainer: AuthButtonsContainer,
|
|
1688
1639
|
ErrorStyle: ErrorStyles,
|
|
1689
1640
|
};
|
|
1690
|
-
const vanillaStyle$
|
|
1641
|
+
const vanillaStyle$2 = `
|
|
1691
1642
|
sqm-portal-register {
|
|
1692
1643
|
margin: 0 auto;
|
|
1693
1644
|
width: 100%;
|
|
@@ -1702,20 +1653,20 @@ sqm-portal-register {
|
|
|
1702
1653
|
display: none;
|
|
1703
1654
|
}
|
|
1704
1655
|
`;
|
|
1705
|
-
const sheet$
|
|
1706
|
-
const styleString$
|
|
1656
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1657
|
+
const styleString$4 = sheet$4.toString();
|
|
1707
1658
|
function PortalRegisterView(props) {
|
|
1708
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1659
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1709
1660
|
const { states, refs, callbacks, content } = props;
|
|
1710
1661
|
if (states.error) {
|
|
1711
1662
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1712
1663
|
}
|
|
1713
|
-
return (h("div", { class: sheet$
|
|
1664
|
+
return (h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
|
|
1714
1665
|
h("style", { type: "text/css" },
|
|
1715
|
-
vanillaStyle$
|
|
1716
|
-
styleString$
|
|
1666
|
+
vanillaStyle$2,
|
|
1667
|
+
styleString$4),
|
|
1717
1668
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1718
|
-
h("sl-form", { class: sheet$
|
|
1669
|
+
h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1719
1670
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1720
1671
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1721
1672
|
content.formData,
|
|
@@ -1728,25 +1679,28 @@ function PortalRegisterView(props) {
|
|
|
1728
1679
|
return content.invalidEmailErrorMessage;
|
|
1729
1680
|
}
|
|
1730
1681
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1731
|
-
class: sheet$
|
|
1682
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1732
1683
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1733
1684
|
content.requiredFieldErrorMessage,
|
|
1734
1685
|
}
|
|
1735
1686
|
: [])))),
|
|
1736
1687
|
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
1737
1688
|
content.passwordField,
|
|
1738
|
-
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((
|
|
1739
|
-
|
|
1740
|
-
|
|
1689
|
+
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.disabled), required: true }, (((_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.confirmPassword) ? {
|
|
1690
|
+
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1691
|
+
}
|
|
1692
|
+
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1693
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1694
|
+
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1741
1695
|
}
|
|
1742
1696
|
: [])))),
|
|
1743
1697
|
content.terms,
|
|
1744
|
-
h("div", { class: sheet$
|
|
1698
|
+
h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1745
1699
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1746
1700
|
content.secondaryButton))));
|
|
1747
1701
|
}
|
|
1748
1702
|
|
|
1749
|
-
const style$
|
|
1703
|
+
const style$5 = {
|
|
1750
1704
|
Description: {
|
|
1751
1705
|
"& input[type=checkbox]": {
|
|
1752
1706
|
display: "none",
|
|
@@ -1785,13 +1739,13 @@ const style$6 = {
|
|
|
1785
1739
|
},
|
|
1786
1740
|
},
|
|
1787
1741
|
};
|
|
1788
|
-
const sheet$
|
|
1789
|
-
const styleString$
|
|
1742
|
+
const sheet$5 = createStyleSheet(style$5);
|
|
1743
|
+
const styleString$5 = sheet$5.toString();
|
|
1790
1744
|
function Details(props) {
|
|
1791
1745
|
const rid = Math.random().toString(36).slice(2);
|
|
1792
1746
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1793
|
-
h("style", { type: "text/css" }, styleString$
|
|
1794
|
-
h("span", { class: sheet$
|
|
1747
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
1748
|
+
h("span", { class: sheet$5.classes.Description },
|
|
1795
1749
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1796
1750
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1797
1751
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1813,7 +1767,7 @@ const GreyGift = () => {
|
|
|
1813
1767
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1814
1768
|
};
|
|
1815
1769
|
|
|
1816
|
-
const style$
|
|
1770
|
+
const style$6 = {
|
|
1817
1771
|
ProgressBar: {
|
|
1818
1772
|
"& .progress-bar": {
|
|
1819
1773
|
height: "0",
|
|
@@ -1925,14 +1879,14 @@ const style$7 = {
|
|
|
1925
1879
|
},
|
|
1926
1880
|
},
|
|
1927
1881
|
};
|
|
1928
|
-
const sheet$
|
|
1929
|
-
const styleString$
|
|
1882
|
+
const sheet$6 = createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
|
|
1883
|
+
const styleString$6 = sheet$6.toString();
|
|
1930
1884
|
function ProgressBarView(props) {
|
|
1931
1885
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1932
1886
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1933
1887
|
const { columns, items } = aggregate;
|
|
1934
|
-
return (h("div", { class: sheet$
|
|
1935
|
-
h("style", { type: "text/css" }, styleString$
|
|
1888
|
+
return (h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1889
|
+
h("style", { type: "text/css" }, styleString$6),
|
|
1936
1890
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1937
1891
|
(Boolean(finite) && progress > 2 * goal)
|
|
1938
1892
|
? "progress-bar repeatable-steps"
|
|
@@ -2223,7 +2177,7 @@ const arrow_left_right = () => {
|
|
|
2223
2177
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2224
2178
|
};
|
|
2225
2179
|
|
|
2226
|
-
const style$
|
|
2180
|
+
const style$7 = {
|
|
2227
2181
|
TaskCard: {
|
|
2228
2182
|
display: "inline-block",
|
|
2229
2183
|
width: "100%",
|
|
@@ -2377,8 +2331,8 @@ const style$8 = {
|
|
|
2377
2331
|
},
|
|
2378
2332
|
},
|
|
2379
2333
|
};
|
|
2380
|
-
const sheet$
|
|
2381
|
-
const styleString$
|
|
2334
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
2335
|
+
const styleString$7 = sheet$7.toString();
|
|
2382
2336
|
function TaskCardView(props) {
|
|
2383
2337
|
var _a, _b;
|
|
2384
2338
|
const { callbacks, states, content } = props;
|
|
@@ -2414,11 +2368,11 @@ function TaskCardView(props) {
|
|
|
2414
2368
|
}
|
|
2415
2369
|
|
|
2416
2370
|
`;
|
|
2417
|
-
return (h("div", { class: sheet$
|
|
2371
|
+
return (h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
|
|
2418
2372
|
h("style", { type: "text/css" },
|
|
2419
|
-
styleString$
|
|
2373
|
+
styleString$7,
|
|
2420
2374
|
vanillaStyle),
|
|
2421
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2375
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$7.classes.NotStarted },
|
|
2422
2376
|
h("span", { class: "icon" },
|
|
2423
2377
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2424
2378
|
intl.formatMessage({
|
|
@@ -2429,7 +2383,7 @@ function TaskCardView(props) {
|
|
|
2429
2383
|
.setLocale(luxonLocale(states.locale))
|
|
2430
2384
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2431
2385
|
}))),
|
|
2432
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2386
|
+
!states.loading && taskEnded && (h("div", { class: sheet$7.classes.Ended },
|
|
2433
2387
|
h("span", { class: "icon" },
|
|
2434
2388
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2435
2389
|
intl.formatMessage({
|
|
@@ -2449,7 +2403,7 @@ function TaskCardView(props) {
|
|
|
2449
2403
|
? "main complete"
|
|
2450
2404
|
: "main" },
|
|
2451
2405
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2452
|
-
h("div", { class: sheet$
|
|
2406
|
+
h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2453
2407
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2454
2408
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2455
2409
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2465,7 +2419,7 @@ function TaskCardView(props) {
|
|
|
2465
2419
|
} }, content.cardTitle)),
|
|
2466
2420
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2467
2421
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2468
|
-
h("div", { class: sheet$
|
|
2422
|
+
h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2469
2423
|
h("span", { class: "text" },
|
|
2470
2424
|
content.repeatable && (h("div", null,
|
|
2471
2425
|
h("span", { class: repetitions > 0
|
|
@@ -2536,7 +2490,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2536
2490
|
h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2537
2491
|
}
|
|
2538
2492
|
|
|
2539
|
-
const vanillaStyle$
|
|
2493
|
+
const vanillaStyle$3 = `
|
|
2540
2494
|
:host{
|
|
2541
2495
|
margin: 0 auto;
|
|
2542
2496
|
width: 100%;
|
|
@@ -2592,7 +2546,7 @@ function PortalFooterView(props) {
|
|
|
2592
2546
|
const styleString = sheet.toString();
|
|
2593
2547
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2594
2548
|
h("style", { type: "text/css" },
|
|
2595
|
-
vanillaStyle$
|
|
2549
|
+
vanillaStyle$3,
|
|
2596
2550
|
styleString),
|
|
2597
2551
|
h("div", { class: sheet.classes.RowContainer },
|
|
2598
2552
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2764,7 +2718,7 @@ function ReferralIframeView(props) {
|
|
|
2764
2718
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2765
2719
|
}
|
|
2766
2720
|
|
|
2767
|
-
const style$
|
|
2721
|
+
const style$8 = {
|
|
2768
2722
|
ErrorStyle: ErrorStyles,
|
|
2769
2723
|
FieldsContainer: {
|
|
2770
2724
|
"& sl-input": {
|
|
@@ -2772,7 +2726,7 @@ const style$9 = {
|
|
|
2772
2726
|
},
|
|
2773
2727
|
},
|
|
2774
2728
|
};
|
|
2775
|
-
const vanillaStyle$
|
|
2729
|
+
const vanillaStyle$4 = `
|
|
2776
2730
|
:host {
|
|
2777
2731
|
margin: 0 auto;
|
|
2778
2732
|
width: 100%;
|
|
@@ -2784,21 +2738,21 @@ sl-input::part(label){
|
|
|
2784
2738
|
font-weight: var(--sl-font-weight-semibold);
|
|
2785
2739
|
}
|
|
2786
2740
|
`;
|
|
2787
|
-
const sheet$
|
|
2788
|
-
const styleString$
|
|
2741
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
2742
|
+
const styleString$8 = sheet$8.toString();
|
|
2789
2743
|
function NameFieldsView(props) {
|
|
2790
2744
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2791
2745
|
const { states } = props;
|
|
2792
2746
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2793
|
-
return (h("div", { class: sheet$
|
|
2747
|
+
return (h("div", { class: sheet$8.classes.FieldsContainer },
|
|
2794
2748
|
h("style", { type: "text/css" },
|
|
2795
|
-
vanillaStyle$
|
|
2796
|
-
styleString$
|
|
2749
|
+
vanillaStyle$4,
|
|
2750
|
+
styleString$8),
|
|
2797
2751
|
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) ? {
|
|
2798
2752
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2799
2753
|
}
|
|
2800
2754
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2801
|
-
class: sheet$
|
|
2755
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2802
2756
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2803
2757
|
}
|
|
2804
2758
|
: []))),
|
|
@@ -2806,13 +2760,13 @@ function NameFieldsView(props) {
|
|
|
2806
2760
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2807
2761
|
}
|
|
2808
2762
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2809
|
-
class: sheet$
|
|
2763
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2810
2764
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2811
2765
|
}
|
|
2812
2766
|
: [])))));
|
|
2813
2767
|
}
|
|
2814
2768
|
|
|
2815
|
-
const style$
|
|
2769
|
+
const style$9 = {
|
|
2816
2770
|
ErrorStyle: {
|
|
2817
2771
|
"&::part(control)": {
|
|
2818
2772
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2835,7 +2789,7 @@ const style$a = {
|
|
|
2835
2789
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2836
2790
|
},
|
|
2837
2791
|
};
|
|
2838
|
-
const vanillaStyle$
|
|
2792
|
+
const vanillaStyle$5 = `
|
|
2839
2793
|
:host {
|
|
2840
2794
|
margin: 0 auto;
|
|
2841
2795
|
width: 100%;
|
|
@@ -2851,27 +2805,37 @@ sl-checkbox::part(base){
|
|
|
2851
2805
|
}
|
|
2852
2806
|
`;
|
|
2853
2807
|
jss.setup(create());
|
|
2854
|
-
const sheet$
|
|
2855
|
-
const styleString$
|
|
2808
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
2809
|
+
const styleString$9 = sheet$9.toString();
|
|
2856
2810
|
function CheckboxFieldView(props) {
|
|
2857
|
-
var _b, _c;
|
|
2811
|
+
var _a, _b, _c;
|
|
2858
2812
|
const { states, content, callbacks } = props;
|
|
2859
|
-
|
|
2813
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2814
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2860
2815
|
h("style", { type: "text/css" },
|
|
2861
|
-
vanillaStyle$
|
|
2862
|
-
styleString$
|
|
2816
|
+
vanillaStyle$5,
|
|
2817
|
+
styleString$9),
|
|
2863
2818
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2864
2819
|
e.target.value = e.target.checked;
|
|
2865
2820
|
callbacks.setChecked(e.target.value);
|
|
2866
|
-
} }, (!content.checkboxOptional ? { required:
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2821
|
+
} }, (!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])
|
|
2822
|
+
? {
|
|
2823
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2824
|
+
}
|
|
2825
|
+
: [])),
|
|
2826
|
+
intl.formatMessage({
|
|
2827
|
+
id: content.checkboxName + "-message",
|
|
2828
|
+
defaultMessage: content.checkboxLabel,
|
|
2829
|
+
}, {
|
|
2830
|
+
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2831
|
+
}),
|
|
2832
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2833
|
+
id: `errorMessage-${content.checkboxName}`,
|
|
2834
|
+
defaultMessage: content.errorMessage,
|
|
2835
|
+
}))))));
|
|
2872
2836
|
}
|
|
2873
2837
|
|
|
2874
|
-
const style$
|
|
2838
|
+
const style$a = {
|
|
2875
2839
|
ErrorStyle: {
|
|
2876
2840
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2877
2841
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2887,7 +2851,7 @@ const style$b = {
|
|
|
2887
2851
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2888
2852
|
},
|
|
2889
2853
|
};
|
|
2890
|
-
const vanillaStyle$
|
|
2854
|
+
const vanillaStyle$6 = `
|
|
2891
2855
|
:host {
|
|
2892
2856
|
margin: 0 auto;
|
|
2893
2857
|
width: 100%;
|
|
@@ -2899,36 +2863,36 @@ sl-select::part(label){
|
|
|
2899
2863
|
}
|
|
2900
2864
|
`;
|
|
2901
2865
|
jss.setup(create());
|
|
2902
|
-
const sheet$
|
|
2903
|
-
const styleString$
|
|
2866
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2867
|
+
const styleString$a = sheet$a.toString();
|
|
2904
2868
|
function DropdownFieldView(props) {
|
|
2905
2869
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2906
2870
|
const { states, content } = props;
|
|
2907
2871
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2908
|
-
return (h("div", { class: sheet$
|
|
2872
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2909
2873
|
h("style", { type: "text/css" },
|
|
2910
|
-
vanillaStyle$
|
|
2911
|
-
styleString$
|
|
2874
|
+
vanillaStyle$6,
|
|
2875
|
+
styleString$a),
|
|
2912
2876
|
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]) ? {
|
|
2913
2877
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2914
2878
|
}
|
|
2915
2879
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2916
|
-
class: sheet$
|
|
2880
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2917
2881
|
}
|
|
2918
2882
|
: [])), content.selectOptions),
|
|
2919
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2883
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2920
2884
|
id: `errorMessage-${content.dropdownName}`,
|
|
2921
2885
|
defaultMessage: content.errorMessage,
|
|
2922
2886
|
})))));
|
|
2923
2887
|
}
|
|
2924
2888
|
|
|
2925
|
-
const style$
|
|
2889
|
+
const style$b = {
|
|
2926
2890
|
ErrorStyle: ErrorStyles,
|
|
2927
2891
|
FieldContainer: {
|
|
2928
2892
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2929
2893
|
},
|
|
2930
2894
|
};
|
|
2931
|
-
const vanillaStyle$
|
|
2895
|
+
const vanillaStyle$7 = `
|
|
2932
2896
|
:host {
|
|
2933
2897
|
margin: 0 auto;
|
|
2934
2898
|
width: 100%;
|
|
@@ -2936,21 +2900,21 @@ const vanillaStyle$8 = `
|
|
|
2936
2900
|
}
|
|
2937
2901
|
`;
|
|
2938
2902
|
jss.setup(create());
|
|
2939
|
-
const sheet$
|
|
2940
|
-
const styleString$
|
|
2903
|
+
const sheet$b = jss.createStyleSheet(style$b);
|
|
2904
|
+
const styleString$b = sheet$b.toString();
|
|
2941
2905
|
function InputFieldView(props) {
|
|
2942
2906
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2943
2907
|
const { states, content } = props;
|
|
2944
2908
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2945
|
-
return (h("div", { class: sheet$
|
|
2909
|
+
return (h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2946
2910
|
h("style", { type: "text/css" },
|
|
2947
|
-
vanillaStyle$
|
|
2948
|
-
styleString$
|
|
2911
|
+
vanillaStyle$7,
|
|
2912
|
+
styleString$b),
|
|
2949
2913
|
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]) ? {
|
|
2950
2914
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2951
2915
|
}
|
|
2952
2916
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2953
|
-
class: sheet$
|
|
2917
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2954
2918
|
helpText: intl.formatMessage({
|
|
2955
2919
|
id: `errorMessage-${content.fieldName}`,
|
|
2956
2920
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3045,7 +3009,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3045
3009
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3046
3010
|
}
|
|
3047
3011
|
|
|
3048
|
-
const style$
|
|
3012
|
+
const style$c = {
|
|
3049
3013
|
HostBlock: HostBlock,
|
|
3050
3014
|
Container: {
|
|
3051
3015
|
minWidth: "300px",
|
|
@@ -3396,8 +3360,8 @@ const style$d = {
|
|
|
3396
3360
|
},
|
|
3397
3361
|
};
|
|
3398
3362
|
// JSS config
|
|
3399
|
-
const sheet$
|
|
3400
|
-
const styleString$
|
|
3363
|
+
const sheet$c = createStyleSheet(style$c);
|
|
3364
|
+
const styleString$c = sheet$c.toString();
|
|
3401
3365
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3402
3366
|
function RewardExchangeView(props) {
|
|
3403
3367
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3420,7 +3384,7 @@ function RewardExchangeView(props) {
|
|
|
3420
3384
|
sourceUnit: item.sourceUnit,
|
|
3421
3385
|
})));
|
|
3422
3386
|
}
|
|
3423
|
-
return (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$
|
|
3387
|
+
return (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) => {
|
|
3424
3388
|
var _a, _b, _c, _d, _e;
|
|
3425
3389
|
return callbacks.setExchangeState({
|
|
3426
3390
|
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,
|
|
@@ -3428,7 +3392,7 @@ function RewardExchangeView(props) {
|
|
|
3428
3392
|
});
|
|
3429
3393
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3430
3394
|
var _a, _b;
|
|
3431
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3395
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3432
3396
|
step.prettyDestinationValue,
|
|
3433
3397
|
h("br", null),
|
|
3434
3398
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3447,8 +3411,8 @@ function RewardExchangeView(props) {
|
|
|
3447
3411
|
var _a;
|
|
3448
3412
|
return [
|
|
3449
3413
|
h("div", { part: "choose-reward-container" },
|
|
3450
|
-
h("div", { class: sheet$
|
|
3451
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3414
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3415
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3452
3416
|
var _a, _b, _c, _d, _e;
|
|
3453
3417
|
const style = {
|
|
3454
3418
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3457,7 +3421,7 @@ function RewardExchangeView(props) {
|
|
|
3457
3421
|
borderRadius: "4px",
|
|
3458
3422
|
};
|
|
3459
3423
|
return (h("div", { key: item.key, style: style },
|
|
3460
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3424
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3461
3425
|
cursor: item.unavailableReasonCode
|
|
3462
3426
|
? "not-allowed"
|
|
3463
3427
|
: "pointer",
|
|
@@ -3474,14 +3438,14 @@ function RewardExchangeView(props) {
|
|
|
3474
3438
|
? "rgba(0, 0, 0, 0.05)"
|
|
3475
3439
|
: "rgba(0, 0, 0, 0)",
|
|
3476
3440
|
} },
|
|
3477
|
-
h("div", { class: sheet$
|
|
3441
|
+
h("div", { class: sheet$c.classes.Image, style: {
|
|
3478
3442
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3479
3443
|
} },
|
|
3480
3444
|
h("img", { class: item.unavailableReasonCode
|
|
3481
3445
|
? "image subdued"
|
|
3482
3446
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3483
3447
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3484
|
-
h("div", { class: sheet$
|
|
3448
|
+
h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3485
3449
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3486
3450
|
} },
|
|
3487
3451
|
h("div", { class: "title", style: {
|
|
@@ -3514,7 +3478,7 @@ function RewardExchangeView(props) {
|
|
|
3514
3478
|
item.prettySourceMinValue,
|
|
3515
3479
|
}))))))));
|
|
3516
3480
|
}))),
|
|
3517
|
-
h("div", { class: sheet$
|
|
3481
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3518
3482
|
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))),
|
|
3519
3483
|
];
|
|
3520
3484
|
}
|
|
@@ -3525,7 +3489,7 @@ function RewardExchangeView(props) {
|
|
|
3525
3489
|
? false
|
|
3526
3490
|
: input && !states.amount;
|
|
3527
3491
|
return (h("div", null,
|
|
3528
|
-
h("div", { class: sheet$
|
|
3492
|
+
h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3529
3493
|
h("div", { class: "wrapper" },
|
|
3530
3494
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3531
3495
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3534,7 +3498,7 @@ function RewardExchangeView(props) {
|
|
|
3534
3498
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3535
3499
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3536
3500
|
h("div", { class: "space" }))),
|
|
3537
|
-
h("div", { class: sheet$
|
|
3501
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3538
3502
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3539
3503
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3540
3504
|
}
|
|
@@ -3542,8 +3506,8 @@ function RewardExchangeView(props) {
|
|
|
3542
3506
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3543
3507
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3544
3508
|
return (h("div", null,
|
|
3545
|
-
h("div", { class: sheet$
|
|
3546
|
-
h("div", { class: sheet$
|
|
3509
|
+
h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3510
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3547
3511
|
h("div", { class: "wrapper" },
|
|
3548
3512
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3549
3513
|
h("div", { class: "reward-item-container" },
|
|
@@ -3558,13 +3522,13 @@ function RewardExchangeView(props) {
|
|
|
3558
3522
|
h("div", { class: "wrapper top-border padding" },
|
|
3559
3523
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3560
3524
|
h("div", { class: "value" }, cost)),
|
|
3561
|
-
h("div", { class: sheet$
|
|
3525
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3562
3526
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3563
3527
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3564
3528
|
}
|
|
3565
3529
|
function success() {
|
|
3566
3530
|
var _a, _b, _c, _d, _e, _f;
|
|
3567
|
-
return (h("div", { class: sheet$
|
|
3531
|
+
return (h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3568
3532
|
h(Gift$1, null),
|
|
3569
3533
|
h(Confetti, null),
|
|
3570
3534
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3579,7 +3543,7 @@ function RewardExchangeView(props) {
|
|
|
3579
3543
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3580
3544
|
states.content.text.promoCode,
|
|
3581
3545
|
h(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 }))),
|
|
3582
|
-
h("div", { class: sheet$
|
|
3546
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3583
3547
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3584
3548
|
}
|
|
3585
3549
|
const stages = {
|
|
@@ -3591,7 +3555,7 @@ function RewardExchangeView(props) {
|
|
|
3591
3555
|
const currentStage = stages[states.redeemStage];
|
|
3592
3556
|
function stageMap() {
|
|
3593
3557
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3594
|
-
return (h("div", { class: sheet$
|
|
3558
|
+
return (h("div", { class: sheet$c.classes.ProgressBar },
|
|
3595
3559
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3596
3560
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3597
3561
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3603,10 +3567,10 @@ function RewardExchangeView(props) {
|
|
|
3603
3567
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3604
3568
|
}
|
|
3605
3569
|
function loading() {
|
|
3606
|
-
return (h("div", { class: sheet$
|
|
3570
|
+
return (h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3607
3571
|
return (h("div", null,
|
|
3608
|
-
h("sl-card", { class: sheet$
|
|
3609
|
-
h("div", { class: sheet$
|
|
3572
|
+
h("sl-card", { class: sheet$c.classes.Card },
|
|
3573
|
+
h("div", { class: sheet$c.classes.CardLayout },
|
|
3610
3574
|
h("div", null,
|
|
3611
3575
|
h("sl-skeleton", { style: {
|
|
3612
3576
|
width: "100px",
|
|
@@ -3638,12 +3602,12 @@ function RewardExchangeView(props) {
|
|
|
3638
3602
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3639
3603
|
return;
|
|
3640
3604
|
refs.canvasRef.current = canvas;
|
|
3641
|
-
}, id: "my-canvas", class: sheet$
|
|
3605
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3642
3606
|
}
|
|
3643
3607
|
if (states.noExchangeOptions)
|
|
3644
3608
|
return states.content.text.empty;
|
|
3645
|
-
return (h("div", { class: sheet$
|
|
3646
|
-
h("style", { type: "text/css" }, styleString$
|
|
3609
|
+
return (h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3610
|
+
h("style", { type: "text/css" }, styleString$c),
|
|
3647
3611
|
h("div", null,
|
|
3648
3612
|
stageMap(),
|
|
3649
3613
|
states.exchangeError && errorMessage(),
|
|
@@ -4059,7 +4023,7 @@ function CardFeedView(props, children) {
|
|
|
4059
4023
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4060
4024
|
}
|
|
4061
4025
|
|
|
4062
|
-
const style$
|
|
4026
|
+
const style$d = {
|
|
4063
4027
|
HostBlock: HostBlock,
|
|
4064
4028
|
couponCodeLabel: {
|
|
4065
4029
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4067,21 +4031,21 @@ const style$e = {
|
|
|
4067
4031
|
fontSize: "var(--sl-font-size-small)",
|
|
4068
4032
|
},
|
|
4069
4033
|
};
|
|
4070
|
-
const vanillaStyle$
|
|
4034
|
+
const vanillaStyle$8 = `
|
|
4071
4035
|
:host{
|
|
4072
4036
|
display: block;
|
|
4073
4037
|
width: 100%;
|
|
4074
4038
|
}
|
|
4075
4039
|
`;
|
|
4076
|
-
const sheet$
|
|
4077
|
-
const styleString$
|
|
4040
|
+
const sheet$d = createStyleSheet(style$d);
|
|
4041
|
+
const styleString$d = sheet$d.toString();
|
|
4078
4042
|
function CouponCodeView(props) {
|
|
4079
4043
|
const error = !props.loading && props.error;
|
|
4080
4044
|
return (h("div", null,
|
|
4081
4045
|
h("style", { type: "text/css" },
|
|
4082
|
-
styleString$
|
|
4083
|
-
vanillaStyle$
|
|
4084
|
-
h("p", { class: sheet$
|
|
4046
|
+
styleString$d,
|
|
4047
|
+
vanillaStyle$8),
|
|
4048
|
+
h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4085
4049
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4086
4050
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4087
4051
|
}
|
|
@@ -4171,4 +4135,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4171
4135
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4172
4136
|
};
|
|
4173
4137
|
|
|
4174
|
-
export {
|
|
4138
|
+
export { loading as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, empty as F, rewardExchange as G, HeroView as H, InputFieldView as I, CardFeedView as J, CouponCodeView as K, LeaderboardView as L, ProgressBar as M, NameFieldsView as N, autoColorScaleCss as O, PortalFrameView as P, ShadowViewAddon as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, useBigStat as U, withShadowView as V, demoRewardExchange as W, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalLoginView as e, PortalRegisterView as f, ProgressBarView as g, PoweredByImg as h, PortalFooterView as i, RewardExchangeView as j, rewardExchangeLongText as k, rewardExchangeSelected as l, chooseAmountFixed as m, chooseAmountFixedNoDescription as n, chooseAmountVariable as o, chooseAmountVariableNoDescription as p, chooseAmountVariableDisabled as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableUnavailable as s, confirmFixed as t, useShareLink as u, confirmVariable as v, redemptionError as w, queryError as x, success as y, successVariable as z };
|