@saasquatch/mint-components 1.12.1-7 → 1.12.1-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-7ef786c3.js → GenericTableView-69534180.js} +3 -3
- package/dist/cjs/JSS-9a3cf556.js +8 -0
- package/dist/cjs/{ShadowViewAddon-fae7ab2c.js → ShadowViewAddon-03efae45.js} +259 -232
- package/dist/cjs/{email-registration-view-4eeee3e4.js → email-registration-view-ec79ef26.js} +3 -3
- package/dist/cjs/{global-d9abaf4d.js → global-02e50f09.js} +3 -3
- package/dist/cjs/{index-3cf5ef3d.js → index-b0129cd6.js} +0 -16
- package/dist/cjs/{index.module-ccf9bd9c.js → index.module-df530553.js} +19 -57
- package/dist/{esm/JSS-67b5cff8.js → cjs/jss-preset-default.esm-451bc403.js} +5 -4
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-14ae1f8a.js → luxon-05098e19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-f7e0377a.js → mixins-fe9d4112.js} +1 -0
- package/dist/cjs/{mockRewardData-a384d9f5.js → mockRewardData-4258e067.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-1e63c82b.js → re-render-1976e05e.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a3abee0b.js → sqm-asset-card-view-16494e3a.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -5
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +68 -67
- package/dist/cjs/{sqm-big-stat_37.cjs.entry.js → sqm-big-stat_38.cjs.entry.js} +119 -114
- package/dist/cjs/sqm-checkbox-field-view-49196804.js +66 -0
- package/dist/cjs/{sqm-close-button-view-0cdada3a.js → sqm-close-button-view-b96a4fb9.js} +3 -3
- package/dist/cjs/sqm-close-button.cjs.entry.js +7 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +8 -11
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- 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 +9 -8
- package/dist/cjs/{sqm-invoice-table-view-a13d1c7f.js → sqm-invoice-table-view-7cd560da.js} +3 -3
- package/dist/cjs/{sqm-leaderboard-rank-view-133f8d95.js → sqm-leaderboard-rank-view-5a3d4a88.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-64ca6abe.js → sqm-logout-current-user-view-47153187.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +8 -7
- package/dist/cjs/sqm-marketing-emails-checkbox.cjs.entry.js +54 -0
- package/dist/cjs/{sqm-navigation-sidebar-item-view-38519acf.js → sqm-navigation-sidebar-item-view-761d17e3.js} +5 -5
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-37209a17.js → sqm-navigation-sidebar-view-921704fb.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +7 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +205 -0
- package/dist/cjs/{sqm-portal-container-view-9a36f5ed.js → sqm-portal-container-view-7648fd3f.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-6e1e80e7.js → sqm-portal-email-verification-view-137ae9cf.js} +5 -5
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -13
- package/dist/cjs/{sqm-portal-forgot-password-view-97903679.js → sqm-portal-forgot-password-view-f43b703a.js} +4 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +11 -10
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-f4489585.js → sqm-portal-profile-view-9401d663.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form-view-890746ac.js +85 -0
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +220 -20
- package/dist/cjs/{sqm-portal-reset-password-view-0ed5419e.js → sqm-portal-reset-password-view-ac811594.js} +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +13 -12
- package/dist/cjs/{sqm-portal-verify-email-view-cd2c3086.js → sqm-portal-verify-email-view-d93a4291.js} +4 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +13 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -15
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +9 -8
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +5 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +18 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +422 -747
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-a22f50aa.js → sqm-text-span-view-f318b5ac.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +5 -4
- package/dist/cjs/{stencil-hooks.module-ece1ee46.js → stencil-hooks.module-72742a0b.js} +1 -1
- package/dist/cjs/useCheckboxField-97471065.js +27 -0
- package/dist/cjs/{useChildElements-438cf387.js → useChildElements-e0d44916.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-7d91867a.js → useInstantAccessRegistration-bbe746d1.js} +4 -4
- package/dist/cjs/{useReferralTable-6b4920f9.js → useReferralTable-a76adb0d.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-5911d016.js → useRegistrationFormState-876ed65d.js} +3 -3
- package/dist/cjs/{utilities-27e9535b.js → utilities-cec9dd36.js} +2 -2
- package/dist/collection/collection-manifest.json +3 -13
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- 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 +2 -10
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +11 -0
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +130 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +31 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +188 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +105 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -0
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +4 -28
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -9
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -80
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +3 -6
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +5 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +14 -16
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +3 -30
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +2 -1
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +2 -6
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +18 -29
- 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 +4 -11
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -12
- package/dist/collection/components/views/copy-text-view.js +3 -18
- package/dist/collection/global/mixins.js +1 -0
- package/dist/collection/stories/Widget.stories.js +0 -5
- package/dist/esm/{GenericTableView-6aa9fac9.js → GenericTableView-07d98ad0.js} +3 -3
- package/dist/esm/JSS-1c144d47.js +6 -0
- package/dist/esm/{ShadowViewAddon-f91cd444.js → ShadowViewAddon-0d8b1430.js} +254 -228
- package/dist/esm/{email-registration-view-6870d230.js → email-registration-view-799eb599.js} +3 -3
- package/dist/esm/{global-3611a2b7.js → global-62554cef.js} +3 -3
- package/dist/esm/{index-60f16d0a.js → index-17b4da69.js} +1 -15
- package/dist/esm/{index.module-f3d96fbb.js → index.module-48f73e70.js} +4 -41
- package/dist/{cjs/JSS-8503a151.js → esm/jss-preset-default.esm-f910d30d.js} +1 -8
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-9b1f9912.js → luxon-7600be8d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f60a614c.js} +1 -0
- package/dist/esm/{mockRewardData-8b3afd15.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-3b630de2.js → re-render-cb4d43dc.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-1ce99353.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +6 -5
- package/dist/esm/sqm-banking-info-form_16.entry.js +68 -67
- package/dist/esm/{sqm-big-stat_37.entry.js → sqm-big-stat_38.entry.js} +115 -111
- package/dist/esm/sqm-checkbox-field-view-308a6a1f.js +64 -0
- package/dist/esm/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-e00f01fa.js} +3 -3
- package/dist/esm/sqm-close-button.entry.js +7 -6
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +8 -11
- package/dist/esm/sqm-form-message.entry.js +2 -2
- 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 +9 -8
- package/dist/esm/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-3ee84dc1.js} +3 -3
- package/dist/esm/{sqm-leaderboard-rank-view-7cd0de83.js → sqm-leaderboard-rank-view-10657658.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-4f05c768.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +8 -7
- package/dist/esm/sqm-marketing-emails-checkbox.entry.js +50 -0
- package/dist/esm/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-02ad070b.js} +5 -5
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +8 -7
- package/dist/esm/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-0312e073.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +7 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/sqm-portal-change-marketing.entry.js +201 -0
- package/dist/esm/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-05f4bbe1.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-f255ec8a.js} +5 -5
- package/dist/esm/sqm-portal-email-verification.entry.js +14 -13
- package/dist/esm/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-1fb6c140.js} +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +11 -10
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-5a60747a.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +12 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form-view-f967552a.js +83 -0
- package/dist/esm/sqm-portal-registration-form.entry.js +219 -19
- package/dist/esm/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-17d19b2d.js} +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +13 -12
- package/dist/esm/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-d9f26e51.js} +4 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +13 -12
- package/dist/esm/sqm-referral-table_11.entry.js +14 -15
- package/dist/esm/sqm-referred-registration.entry.js +9 -8
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +5 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +18 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +408 -733
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-02ce93d8.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +5 -4
- package/dist/esm/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm/useCheckboxField-4cf3ab7f.js +25 -0
- package/dist/esm/{useChildElements-d1d3fedd.js → useChildElements-a6b895dd.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-46a98499.js} +4 -4
- package/dist/esm/{useReferralTable-fbcfc2a7.js → useReferralTable-6e8350db.js} +11 -11
- package/dist/esm/{useRegistrationFormState-33f9cb24.js → useRegistrationFormState-de6b208e.js} +3 -3
- package/dist/esm/{utilities-33996ce7.js → utilities-e8022681.js} +2 -2
- package/dist/esm-es5/{GenericTableView-6aa9fac9.js → GenericTableView-07d98ad0.js} +1 -1
- package/dist/esm-es5/JSS-1c144d47.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-0d8b1430.js +1 -0
- package/dist/esm-es5/{email-registration-view-6870d230.js → email-registration-view-799eb599.js} +1 -1
- package/dist/esm-es5/{global-3611a2b7.js → global-62554cef.js} +2 -2
- package/dist/esm-es5/{index-60f16d0a.js → index-17b4da69.js} +1 -1
- package/dist/esm-es5/index.module-48f73e70.js +1 -0
- package/dist/esm-es5/{JSS-67b5cff8.js → jss-preset-default.esm-f910d30d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-9b1f9912.js → luxon-7600be8d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mixins-83f90fa1.js → mixins-f60a614c.js} +1 -1
- package/dist/esm-es5/{mockRewardData-8b3afd15.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-3b630de2.js → re-render-cb4d43dc.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-1ce99353.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-big-stat_38.entry.js +1 -0
- package/dist/esm-es5/sqm-checkbox-field-view-308a6a1f.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-e00f01fa.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-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-3ee84dc1.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-4f05c768.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-marketing-emails-checkbox.entry.js +1 -0
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-02ad070b.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-0312e073.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-05f4bbe1.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-f255ec8a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-1fb6c140.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-5a60747a.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-f967552a.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-17d19b2d.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-d9f26e51.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-02ce93d8.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm-es5/useCheckboxField-4cf3ab7f.js +1 -0
- package/dist/esm-es5/useChildElements-a6b895dd.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-46a98499.js} +1 -1
- package/dist/esm-es5/{useReferralTable-fbcfc2a7.js → useReferralTable-6e8350db.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-de6b208e.js +1 -0
- package/dist/esm-es5/{utilities-33996ce7.js → utilities-e8022681.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-863340dc.entry.js → p-0068067d.entry.js} +1 -1
- package/dist/mint-components/{p-9e4e3d5f.system.js → p-01583213.system.js} +1 -1
- package/dist/mint-components/{p-91521e9d.js → p-02be1a88.js} +1 -1
- package/dist/mint-components/p-0a898ab1.js +1 -0
- package/dist/mint-components/p-0c486d59.system.entry.js +1 -0
- package/dist/mint-components/p-0e7aff90.entry.js +1 -0
- package/dist/mint-components/p-0f010c01.system.js +1 -0
- package/dist/mint-components/p-0f60a773.system.entry.js +1 -0
- package/dist/mint-components/p-10f50982.entry.js +1 -0
- package/dist/mint-components/p-115edc43.system.entry.js +1 -0
- package/dist/mint-components/p-11d71aca.system.entry.js +1 -0
- package/dist/mint-components/{p-88197cfd.js → p-140d7013.js} +1 -1
- package/dist/mint-components/p-175075e7.system.js +1 -0
- package/dist/mint-components/{p-8799b28f.entry.js → p-178d2d2e.entry.js} +1 -1
- package/dist/mint-components/p-1804b66f.entry.js +1 -0
- package/dist/mint-components/p-1a41a421.entry.js +1 -0
- package/dist/mint-components/p-1b150b6a.system.js +1 -0
- package/dist/mint-components/{p-5fb1bcb5.entry.js → p-1c731efb.entry.js} +6 -6
- package/dist/mint-components/{p-15b2063c.system.js → p-1eb21821.system.js} +1 -1
- package/dist/mint-components/p-215d9dce.system.entry.js +1 -0
- package/dist/mint-components/p-2246106b.js +1 -0
- package/dist/mint-components/{p-3dc9a448.entry.js → p-23112de2.entry.js} +1 -1
- package/dist/mint-components/{p-12d27b9b.js → p-251e7567.js} +1 -1
- package/dist/mint-components/{p-0e89ac7f.system.entry.js → p-275b2841.system.entry.js} +1 -1
- package/dist/mint-components/p-278956a2.entry.js +1 -0
- package/dist/mint-components/p-28853a6a.entry.js +1 -0
- package/dist/mint-components/p-29023a9c.entry.js +1 -0
- package/dist/mint-components/p-2a0fa0ad.js +1 -0
- package/dist/mint-components/{p-ef7b966e.system.js → p-2a2d4343.system.js} +1 -1
- package/dist/mint-components/{p-58bcece7.system.js → p-2a414b2e.system.js} +1 -1
- package/dist/mint-components/{p-5b6cf6cd.system.js → p-2aa7713d.system.js} +1 -1
- package/dist/mint-components/p-2acb78d3.entry.js +1 -0
- package/dist/mint-components/{p-a631db44.system.js → p-2b1aaa73.system.js} +1 -1
- package/dist/mint-components/p-2dea7656.system.js +1 -0
- package/dist/mint-components/p-347dd097.system.entry.js +1 -0
- package/dist/mint-components/{p-2dff4fb2.js → p-36e74ad7.js} +1 -1
- package/dist/mint-components/{p-3ae32130.system.js → p-370a1a73.system.js} +1 -1
- package/dist/mint-components/p-373e65b0.system.entry.js +1 -0
- package/dist/mint-components/{p-e864a155.entry.js → p-3b08cc52.entry.js} +1 -1
- package/dist/mint-components/p-3c62b21e.entry.js +1 -0
- package/dist/mint-components/p-3d6c5d14.system.entry.js +1 -0
- package/dist/mint-components/p-4086b633.js +1 -0
- package/dist/mint-components/p-41e50df2.system.entry.js +1 -0
- package/dist/mint-components/p-481dedf2.system.js +1 -0
- package/dist/mint-components/{p-5057380a.system.js → p-4a9499c7.system.js} +1 -1
- package/dist/mint-components/p-4ac09619.entry.js +1 -0
- package/dist/mint-components/p-4dcdf9b6.js +1 -0
- package/dist/mint-components/p-4e7a12df.system.entry.js +1 -0
- package/dist/mint-components/p-50d1a9b2.system.entry.js +1 -0
- package/dist/mint-components/p-512089bb.js +1 -0
- package/dist/mint-components/p-513f79fb.entry.js +13 -0
- package/dist/mint-components/p-527ec925.entry.js +1 -0
- package/dist/mint-components/{p-71d6b762.js → p-538aab3a.js} +1 -1
- package/dist/mint-components/p-54918603.entry.js +13 -0
- package/dist/mint-components/p-55108921.entry.js +1 -0
- package/dist/mint-components/p-568880c6.entry.js +11 -0
- package/dist/mint-components/{p-3c00282b.entry.js → p-59111d6c.entry.js} +1 -1
- package/dist/mint-components/p-597ad57b.system.js +1 -0
- package/dist/mint-components/p-5da7c982.system.js +1 -0
- package/dist/mint-components/{p-c1ede4f5.system.js → p-5e095969.system.js} +1 -1
- package/dist/mint-components/{p-d59c19ba.entry.js → p-60fd880a.entry.js} +2 -2
- package/dist/mint-components/{p-b3499953.entry.js → p-639d3dd3.entry.js} +1 -1
- package/dist/mint-components/p-64c3217a.js +1 -0
- package/dist/mint-components/{p-5309ebf3.js → p-66060832.js} +1 -1
- package/dist/mint-components/p-687d6357.system.js +1 -0
- package/dist/mint-components/p-6a026560.entry.js +1 -0
- package/dist/mint-components/{p-0aa76ad0.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ab3f305.system.js → p-6b5e355c.system.js} +1 -1
- package/dist/mint-components/{p-a67e8ef4.system.js → p-6f980faf.system.js} +1 -1
- package/dist/mint-components/p-711bb8da.entry.js +1 -0
- package/dist/mint-components/{p-4b55e96b.entry.js → p-7557ed77.entry.js} +16 -16
- package/dist/mint-components/p-75cef010.system.js +1 -0
- package/dist/mint-components/{p-3c04f8d1.system.js → p-771a2ee3.system.js} +1 -1
- package/dist/mint-components/{p-adc14a77.system.entry.js → p-7726e4ea.system.entry.js} +1 -1
- package/dist/mint-components/p-7a815193.system.entry.js +1 -0
- package/dist/mint-components/p-7df4e6bf.system.js +1 -0
- package/dist/mint-components/p-7eabcffc.js +1 -0
- package/dist/mint-components/p-833fe52b.js +1 -0
- package/dist/mint-components/p-873f57ea.system.entry.js +1 -0
- package/dist/mint-components/{p-ec379cf4.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-ff19bf56.system.js → p-8de27ef5.system.js} +1 -1
- package/dist/mint-components/p-8f53ea77.system.entry.js +1 -0
- package/dist/mint-components/p-8f87de4b.system.entry.js +1 -0
- package/dist/mint-components/{p-c33ccfb7.entry.js → p-92110eef.entry.js} +1 -1
- package/dist/mint-components/p-921225ad.system.entry.js +1 -0
- package/dist/mint-components/{p-22110634.js → p-968bad36.js} +1 -1
- package/dist/mint-components/p-98cebfec.system.js +1 -0
- package/dist/mint-components/p-9aa177d6.system.entry.js +1 -0
- package/dist/mint-components/{p-697d6e54.system.js → p-9ae5c6c1.system.js} +1 -1
- package/dist/mint-components/{p-7e3ada1b.system.js → p-9b46f9c3.system.js} +1 -1
- package/dist/mint-components/p-9b4a99c4.js +1 -0
- package/dist/mint-components/p-9b860442.entry.js +33 -0
- package/dist/mint-components/p-9bb9a767.system.js +1 -0
- package/dist/mint-components/p-9cbfc500.entry.js +1 -0
- package/dist/mint-components/p-a16c619c.js +1 -0
- package/dist/mint-components/p-a1948fb7.system.entry.js +1 -0
- package/dist/mint-components/p-a3ffc863.system.entry.js +1 -0
- package/dist/mint-components/{p-b402df18.js → p-a5b16d30.js} +1 -1
- package/dist/mint-components/p-a6b36268.system.js +1 -0
- package/dist/mint-components/p-a76a7e46.system.entry.js +1 -0
- package/dist/mint-components/{p-e56447fd.js → p-ac1bf045.js} +1 -1
- package/dist/mint-components/p-af5cc6f4.entry.js +18 -0
- package/dist/mint-components/p-b07a88fd.js +1 -0
- package/dist/mint-components/p-b0c53c97.system.entry.js +1 -0
- package/dist/mint-components/{p-683cfd07.js → p-b348d95c.js} +1 -1
- package/dist/mint-components/{p-e0c608e4.system.js → p-b54defaf.system.js} +1 -1
- package/dist/mint-components/p-b5b9f737.entry.js +1 -0
- package/dist/mint-components/p-b6c2318d.js +1 -0
- package/dist/mint-components/{p-3dbcd42a.system.entry.js → p-b7324c0e.system.entry.js} +1 -1
- package/dist/mint-components/p-b86003f6.entry.js +1 -0
- package/dist/mint-components/{p-5c714029.js → p-b9cff63f.js} +1 -1
- package/dist/mint-components/{p-0b6200b3.js → p-b9fe0c38.js} +1 -1
- package/dist/mint-components/p-bd6d9d54.system.entry.js +1 -0
- package/dist/mint-components/{p-682450a8.js → p-bda832b2.js} +1 -1
- package/dist/mint-components/p-c0b254f6.js +391 -0
- package/dist/mint-components/{p-b11f43ee.js → p-c136a447.js} +1 -1
- package/dist/mint-components/{p-8f705bea.system.entry.js → p-c1a47137.system.entry.js} +1 -1
- package/dist/mint-components/{p-d47569d0.js → p-c4719154.js} +1 -1
- package/dist/mint-components/p-c7624256.system.entry.js +1 -0
- package/dist/mint-components/{p-1a673057.system.js → p-c8d580ea.system.js} +1 -1
- package/dist/mint-components/p-c98cd85a.system.entry.js +1 -0
- package/dist/mint-components/p-ce65982f.entry.js +9 -0
- package/dist/mint-components/{p-d477a07b.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/{p-bc305236.system.entry.js → p-cefffd56.system.entry.js} +1 -1
- package/dist/mint-components/p-d9c53d4b.system.entry.js +1 -0
- package/dist/mint-components/p-deb712ef.system.js +1 -0
- package/dist/mint-components/p-df69e89b.entry.js +1 -0
- package/dist/mint-components/p-e13fb786.system.entry.js +1 -0
- package/dist/mint-components/p-e169497d.entry.js +1 -0
- package/dist/mint-components/p-e27a2d0f.js +1 -0
- package/dist/mint-components/{p-222fa722.system.js → p-e546347e.system.js} +1 -1
- package/dist/mint-components/{p-cef45012.js → p-ecc9ed0b.js} +1 -1
- package/dist/mint-components/p-eff03905.system.entry.js +1 -0
- package/dist/mint-components/{p-7bc9308c.system.entry.js → p-f0806232.system.entry.js} +1 -1
- package/dist/mint-components/p-f0cc9ed1.system.entry.js +1 -0
- package/dist/mint-components/p-f2bb6bd1.system.js +1 -0
- package/dist/mint-components/{p-9d078f60.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/{p-cd1d497f.system.js → p-f6934a55.system.js} +1 -1
- package/dist/mint-components/{p-aa5446c1.js → p-f817537a.js} +1 -1
- package/dist/mint-components/{p-9fff2218.js → p-f8574e9f.js} +1 -1
- package/dist/mint-components/p-f9b15dba.entry.js +1 -0
- package/dist/mint-components/{p-75956e50.entry.js → p-fbdf0738.entry.js} +1 -1
- package/dist/mint-components/p-fc58dc2f.system.entry.js +1 -0
- package/dist/mint-components/{p-b619a5e0.js → p-fd2c5407.js} +1 -1
- package/dist/mint-components/{p-989fdd2e.system.js → p-ff17b3a4.system.js} +1 -1
- 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-pagination/Pagination.stories.d.ts → sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts} +3 -0
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +28 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +26 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +33 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -8
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -2
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -7
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
- package/dist/types/components/views/copy-text-view.d.ts +0 -3
- package/dist/types/components.d.ts +105 -544
- package/dist/types/global/mixins.d.ts +2 -0
- package/dist/types/stories/Widget.stories.d.ts +0 -6
- 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/cjs/copy-text-view-43e8349f.js +0 -231
- package/dist/cjs/sqm-base-registration-form-view-e4a74dee.js +0 -68
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +0 -45
- package/dist/cjs/sqm-name-fields-view-57c734bf.js +0 -55
- package/dist/cjs/sqm-name-fields.cjs.entry.js +0 -59
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -392
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +0 -314
- package/dist/cjs/sqm-portal-registration-form-view-0502824e.js +0 -87
- package/dist/cjs/usePortalRegistrationForm-16151c0c.js +0 -214
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +0 -36
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +0 -63
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +0 -78
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -32
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -112
- package/dist/collection/components/sqm-pagination/usePagination.js +0 -29
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +0 -78
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +0 -880
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +0 -70
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -317
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -63
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -65
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -69
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -219
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -131
- package/dist/esm/copy-text-view-61eebf5d.js +0 -225
- package/dist/esm/sqm-base-registration-form-view-dd481f19.js +0 -66
- package/dist/esm/sqm-google-sign-in.entry.js +0 -41
- package/dist/esm/sqm-name-fields-view-ec19e9e8.js +0 -53
- package/dist/esm/sqm-name-fields.entry.js +0 -55
- package/dist/esm/sqm-pagination_3.entry.js +0 -386
- package/dist/esm/sqm-portal-google-registration-form.entry.js +0 -310
- package/dist/esm/sqm-portal-registration-form-view-22ea3db3.js +0 -85
- package/dist/esm/usePortalRegistrationForm-8b093aa2.js +0 -212
- package/dist/esm-es5/ShadowViewAddon-f91cd444.js +0 -1
- package/dist/esm-es5/copy-text-view-61eebf5d.js +0 -1
- package/dist/esm-es5/index.module-f3d96fbb.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-dd481f19.js +0 -1
- package/dist/esm-es5/sqm-big-stat_37.entry.js +0 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +0 -1
- package/dist/esm-es5/sqm-name-fields-view-ec19e9e8.js +0 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +0 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-22ea3db3.js +0 -1
- package/dist/esm-es5/useChildElements-d1d3fedd.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-8b093aa2.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-33f9cb24.js +0 -1
- package/dist/mint-components/p-070fa30d.entry.js +0 -1
- package/dist/mint-components/p-0725d1a7.system.entry.js +0 -1
- package/dist/mint-components/p-0954e95d.entry.js +0 -33
- package/dist/mint-components/p-0c4c5874.js +0 -1
- package/dist/mint-components/p-0fd20804.system.entry.js +0 -1
- package/dist/mint-components/p-0fe8fbe1.system.entry.js +0 -1
- package/dist/mint-components/p-10b4282b.entry.js +0 -9
- package/dist/mint-components/p-13fe7290.js +0 -1
- package/dist/mint-components/p-14dc52dc.system.entry.js +0 -1
- package/dist/mint-components/p-1739dfb8.entry.js +0 -1
- package/dist/mint-components/p-18ecdc82.js +0 -13
- package/dist/mint-components/p-1d58a8ff.entry.js +0 -1
- package/dist/mint-components/p-2295cf05.system.js +0 -1
- package/dist/mint-components/p-273ad080.system.entry.js +0 -1
- package/dist/mint-components/p-27407a2c.js +0 -1
- package/dist/mint-components/p-27ba7f25.system.entry.js +0 -1
- package/dist/mint-components/p-27f281f4.system.js +0 -1
- package/dist/mint-components/p-36e7a6f9.entry.js +0 -1
- package/dist/mint-components/p-38b8050c.system.entry.js +0 -1
- package/dist/mint-components/p-38bd81d1.system.js +0 -1
- package/dist/mint-components/p-3b923175.system.entry.js +0 -1
- package/dist/mint-components/p-3d4978ca.system.entry.js +0 -1
- package/dist/mint-components/p-44c4a54f.system.entry.js +0 -1
- package/dist/mint-components/p-455a3f54.system.entry.js +0 -1
- package/dist/mint-components/p-478e8baa.system.js +0 -1
- package/dist/mint-components/p-500a2bff.entry.js +0 -13
- package/dist/mint-components/p-53238aee.js +0 -1
- package/dist/mint-components/p-5d09a6a3.entry.js +0 -1
- package/dist/mint-components/p-5e61bdfd.entry.js +0 -1
- package/dist/mint-components/p-6465b781.js +0 -1
- package/dist/mint-components/p-6673a331.system.js +0 -1
- package/dist/mint-components/p-6a95e6b7.js +0 -52
- package/dist/mint-components/p-6ac9d2cf.entry.js +0 -1
- package/dist/mint-components/p-7027b14d.js +0 -1
- package/dist/mint-components/p-70eafbbd.system.entry.js +0 -1
- package/dist/mint-components/p-7141d536.system.entry.js +0 -1
- package/dist/mint-components/p-74d5d3d1.entry.js +0 -1
- package/dist/mint-components/p-7d2d59ec.system.entry.js +0 -1
- package/dist/mint-components/p-7ef0cb0a.system.js +0 -1
- package/dist/mint-components/p-7facf5cd.system.entry.js +0 -1
- package/dist/mint-components/p-823f61da.entry.js +0 -1
- package/dist/mint-components/p-8329e1fa.system.js +0 -1
- package/dist/mint-components/p-8525931d.system.entry.js +0 -1
- package/dist/mint-components/p-8a0a87e7.system.entry.js +0 -1
- package/dist/mint-components/p-8fb2af73.system.js +0 -1
- package/dist/mint-components/p-920b48ad.system.entry.js +0 -1
- package/dist/mint-components/p-93124bdb.entry.js +0 -1
- package/dist/mint-components/p-944918d9.entry.js +0 -1
- package/dist/mint-components/p-966eed0f.system.js +0 -1
- package/dist/mint-components/p-9716a83b.js +0 -1
- package/dist/mint-components/p-9c7a031a.js +0 -1
- package/dist/mint-components/p-9d954277.system.entry.js +0 -1
- package/dist/mint-components/p-9dd86f9c.system.js +0 -1
- package/dist/mint-components/p-a1cb66c0.system.js +0 -1
- package/dist/mint-components/p-a2a3d9dc.entry.js +0 -1
- package/dist/mint-components/p-a7ac4fff.system.entry.js +0 -1
- package/dist/mint-components/p-a8bf33fc.js +0 -1
- package/dist/mint-components/p-a9166b6a.entry.js +0 -1
- package/dist/mint-components/p-aeea67a3.entry.js +0 -1
- package/dist/mint-components/p-b043693d.system.entry.js +0 -1
- package/dist/mint-components/p-b33381a7.js +0 -1
- package/dist/mint-components/p-b5a2df3f.system.js +0 -1
- package/dist/mint-components/p-b667d890.system.entry.js +0 -1
- package/dist/mint-components/p-b6a4ce83.entry.js +0 -1
- package/dist/mint-components/p-b6f41077.entry.js +0 -1
- package/dist/mint-components/p-b7bd7ff0.js +0 -1
- package/dist/mint-components/p-b7edef12.system.entry.js +0 -1
- package/dist/mint-components/p-bd5706ba.entry.js +0 -1
- package/dist/mint-components/p-bebe70b4.js +0 -391
- package/dist/mint-components/p-c2bc302f.system.entry.js +0 -1
- package/dist/mint-components/p-c4c922fc.system.entry.js +0 -1
- package/dist/mint-components/p-c56b47e5.system.js +0 -1
- package/dist/mint-components/p-c5dd12cf.entry.js +0 -1
- package/dist/mint-components/p-cd39acd0.system.entry.js +0 -1
- package/dist/mint-components/p-d23d5113.js +0 -1
- package/dist/mint-components/p-d4c0d53f.js +0 -1
- package/dist/mint-components/p-d9dd65fd.entry.js +0 -1
- package/dist/mint-components/p-dacefee2.entry.js +0 -1
- package/dist/mint-components/p-df387a02.system.entry.js +0 -1
- package/dist/mint-components/p-e10be944.entry.js +0 -1
- package/dist/mint-components/p-e605fe66.entry.js +0 -11
- package/dist/mint-components/p-e64c49dd.system.js +0 -1
- package/dist/mint-components/p-eac81420.entry.js +0 -1
- package/dist/mint-components/p-ec867cad.system.entry.js +0 -1
- package/dist/mint-components/p-ec9c8ced.system.js +0 -1
- package/dist/mint-components/p-f4b8a8d5.system.entry.js +0 -1
- package/dist/mint-components/p-f7175fc2.system.entry.js +0 -1
- package/dist/mint-components/p-f81cc2cd.entry.js +0 -1
- package/dist/mint-components/p-f8450975.system.entry.js +0 -1
- package/dist/mint-components/p-f8b41805.system.js +0 -1
- package/dist/mint-components/p-fde23de1.entry.js +0 -13
- package/dist/types/components/sqm-base-registration/BaseRegistrationForm.stories.d.ts +0 -6
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +0 -19
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +0 -12
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -15
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -22
- package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -16
- package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +0 -8
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +0 -155
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +0 -14
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -3
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -12
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -16
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -39
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -52
|
@@ -1,18 +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-17b4da69.js';
|
|
2
|
+
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-62554cef.js';
|
|
4
|
+
import { d as dist, H, Q, y as yn, e as $e, B, a as getEnvironmentSDK, L } from './index.module-48f73e70.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 { j as jss, a as create } from './jss-preset-default.esm-f910d30d.js';
|
|
8
|
+
import { c as createStyleSheet } from './JSS-1c144d47.js';
|
|
9
|
+
import { u as useChildElements } from './useChildElements-a6b895dd.js';
|
|
10
|
+
import { l as luxon } from './luxon-7600be8d.js';
|
|
6
11
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
|
-
import {
|
|
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
|
+
import { T as TextSpanView } from './sqm-text-span-view-02ce93d8.js';
|
|
13
13
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
14
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
15
|
-
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-
|
|
14
|
+
import { a as isValidColor, b as isMobile } from './utilities-e8022681.js';
|
|
15
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-05f4bbe1.js';
|
|
16
16
|
|
|
17
17
|
const medium = {
|
|
18
18
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -217,6 +217,80 @@ function LeaderboardView(props) {
|
|
|
217
217
|
h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
+
const style$2 = {
|
|
221
|
+
HostBlock: HostBlock,
|
|
222
|
+
inputStyle: {
|
|
223
|
+
"&::part(input)": { textOverflow: "ellipsis", width: "100%" },
|
|
224
|
+
"&::part(base)": { cursor: "pointer", overflow: "visible" },
|
|
225
|
+
width: "100%",
|
|
226
|
+
},
|
|
227
|
+
inputErrorStyle: {
|
|
228
|
+
"&::part(base)": {
|
|
229
|
+
border: "2px solid red",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
containerStyle: {
|
|
233
|
+
display: "flex",
|
|
234
|
+
alignItems: "center",
|
|
235
|
+
gap: "var(--sl-spacing-x-small)",
|
|
236
|
+
width: "100%",
|
|
237
|
+
},
|
|
238
|
+
errorTextStyle: {
|
|
239
|
+
margin: "0",
|
|
240
|
+
color: "var(--sl-color-danger-500)",
|
|
241
|
+
},
|
|
242
|
+
};
|
|
243
|
+
const vanillaStyle$1 = `
|
|
244
|
+
:host{
|
|
245
|
+
display: block;
|
|
246
|
+
width: 100%;
|
|
247
|
+
}
|
|
248
|
+
`;
|
|
249
|
+
const textAlignStyle = {
|
|
250
|
+
right: `
|
|
251
|
+
sl-input::part(input){
|
|
252
|
+
text-align: right;
|
|
253
|
+
}`,
|
|
254
|
+
center: `
|
|
255
|
+
sl-input::part(input){
|
|
256
|
+
text-align: center;
|
|
257
|
+
}`,
|
|
258
|
+
left: ``,
|
|
259
|
+
};
|
|
260
|
+
const disabledStyles = `
|
|
261
|
+
sl-input::part(input){
|
|
262
|
+
cursor: default;
|
|
263
|
+
}
|
|
264
|
+
`;
|
|
265
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
266
|
+
const styleString$2 = sheet$2.toString();
|
|
267
|
+
function CopyTextView(props) {
|
|
268
|
+
const { buttonStyle = "icon" } = props;
|
|
269
|
+
const error = !props.loading && props.error;
|
|
270
|
+
const inputText = error ? props.inputPlaceholderText : props.copyString;
|
|
271
|
+
const disabled = error || props.loading || props.disabled;
|
|
272
|
+
const tooltipPlacement = props.buttonStyle === "button-below"
|
|
273
|
+
? "bottom"
|
|
274
|
+
: props.buttonStyle === "button-outside"
|
|
275
|
+
? "top"
|
|
276
|
+
: "top-end";
|
|
277
|
+
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"))));
|
|
278
|
+
return (h("div", null,
|
|
279
|
+
h("style", { type: "text/css" },
|
|
280
|
+
styleString$2,
|
|
281
|
+
vanillaStyle$1,
|
|
282
|
+
textAlignStyle[props.textAlign],
|
|
283
|
+
disabled && disabledStyles),
|
|
284
|
+
h("div", { class: sheet$2.classes.containerStyle, style: {
|
|
285
|
+
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
286
|
+
} },
|
|
287
|
+
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 },
|
|
288
|
+
buttonStyle === "icon" && copyButton,
|
|
289
|
+
error && (h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
|
|
290
|
+
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
291
|
+
copyButton)));
|
|
292
|
+
}
|
|
293
|
+
|
|
220
294
|
function BigStatView(props) {
|
|
221
295
|
const { statvalue, flexReverse, alignment } = props;
|
|
222
296
|
// Dependent on props, not feasiable to move out
|
|
@@ -252,7 +326,7 @@ function BigStatView(props) {
|
|
|
252
326
|
h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
253
327
|
}
|
|
254
328
|
|
|
255
|
-
const style$
|
|
329
|
+
const style$3 = {
|
|
256
330
|
HostBlock: HostBlock,
|
|
257
331
|
Frame: {
|
|
258
332
|
display: "flex",
|
|
@@ -286,17 +360,17 @@ const style$2 = {
|
|
|
286
360
|
},
|
|
287
361
|
},
|
|
288
362
|
};
|
|
289
|
-
const sheet$
|
|
290
|
-
const styleString$
|
|
363
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
364
|
+
const styleString$3 = sheet$3.toString();
|
|
291
365
|
function PortalFrameView(props, children) {
|
|
292
366
|
const { data, notFullScreen } = props;
|
|
293
|
-
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$
|
|
294
|
-
h("style", { type: "text/css" }, styleString$
|
|
295
|
-
h("div", { class: sheet$
|
|
367
|
+
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$3.classes.Frame, part: "sqm-base" },
|
|
368
|
+
h("style", { type: "text/css" }, styleString$3),
|
|
369
|
+
h("div", { class: sheet$3.classes.HeaderWrapper, part: "sqm-header" },
|
|
296
370
|
data.header,
|
|
297
371
|
h("slot", { name: "sqm-navigation-menu" })),
|
|
298
372
|
children,
|
|
299
|
-
h("div", { class: sheet$
|
|
373
|
+
h("div", { class: sheet$3.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
|
|
300
374
|
}
|
|
301
375
|
|
|
302
376
|
const EditProfileView = (props) => {
|
|
@@ -373,22 +447,16 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
373
447
|
`;
|
|
374
448
|
function useShareLink(props) {
|
|
375
449
|
var _a, _b;
|
|
376
|
-
const { programId =
|
|
377
|
-
const user =
|
|
378
|
-
const engagementMedium =
|
|
379
|
-
const
|
|
380
|
-
const
|
|
381
|
-
const
|
|
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 :
|
|
450
|
+
const { programId = H() } = props;
|
|
451
|
+
const user = Q();
|
|
452
|
+
const engagementMedium = B();
|
|
453
|
+
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
454
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
455
|
+
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
384
456
|
// Shown during loading
|
|
385
457
|
"...";
|
|
386
458
|
const [open, setOpen] = useState(false);
|
|
387
|
-
|
|
388
|
-
if (contextData) {
|
|
389
|
-
await setCopied({ referralCode: contextData.referralCode });
|
|
390
|
-
contextData.refresh();
|
|
391
|
-
}
|
|
459
|
+
function onClick() {
|
|
392
460
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
393
461
|
// Only if called from a user-initiated event
|
|
394
462
|
navigator.clipboard.writeText(copyString);
|
|
@@ -447,70 +515,60 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
|
|
|
447
515
|
alert(unsupportedPlatformText);
|
|
448
516
|
}
|
|
449
517
|
}
|
|
450
|
-
function FacebookShare(directLink,
|
|
451
|
-
|
|
518
|
+
function FacebookShare(directLink, res, errorText) {
|
|
519
|
+
var _a, _b;
|
|
520
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
|
|
521
|
+
directLink === "undefined") {
|
|
452
522
|
return alert(errorText);
|
|
453
523
|
}
|
|
454
524
|
if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
|
|
455
|
-
return SquatchAndroid.shareOnFacebook(directLink, messageLink);
|
|
525
|
+
return SquatchAndroid.shareOnFacebook(directLink, res.data.viewer.messageLink);
|
|
456
526
|
}
|
|
457
527
|
else {
|
|
458
|
-
return GenericShare(
|
|
528
|
+
return GenericShare(res, errorText);
|
|
459
529
|
}
|
|
460
530
|
}
|
|
461
|
-
function GenericShare(
|
|
462
|
-
|
|
531
|
+
function GenericShare(res, errorText) {
|
|
532
|
+
var _a, _b;
|
|
533
|
+
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)
|
|
534
|
+
: alert(errorText);
|
|
463
535
|
}
|
|
464
536
|
function useShareButton(props) {
|
|
465
537
|
var _a, _b;
|
|
466
538
|
const { sharetitle, sharetext, medium } = props;
|
|
467
|
-
const programId = props.programId ? props.programId :
|
|
468
|
-
const user =
|
|
469
|
-
const engagementMedium = ne();
|
|
539
|
+
const programId = props.programId ? props.programId : H();
|
|
540
|
+
const user = Q();
|
|
470
541
|
const variables = {
|
|
471
|
-
engagementMedium,
|
|
542
|
+
engagementMedium: B(),
|
|
472
543
|
programId: programId,
|
|
473
544
|
shareMedium: medium.toUpperCase(),
|
|
474
545
|
};
|
|
475
|
-
const contextData = Dn(REFERRAL_CODES_NAMESPACE);
|
|
476
|
-
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
477
546
|
// only queries if a programId is available
|
|
478
|
-
const res =
|
|
479
|
-
const
|
|
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);
|
|
547
|
+
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
548
|
+
const directLink = (_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;
|
|
481
549
|
const environment = getEnvironmentSDK();
|
|
482
550
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
483
551
|
window.orientation === undefined) ||
|
|
484
552
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
485
|
-
|
|
486
|
-
var _a, _b, _c, _d;
|
|
487
|
-
if (overrideData) {
|
|
488
|
-
await setCopied({ referralCode: contextData.referralCode });
|
|
489
|
-
contextData.refresh();
|
|
490
|
-
}
|
|
553
|
+
function onClick() {
|
|
491
554
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
492
555
|
environment.type === "SquatchAndroid") {
|
|
493
|
-
FacebookShare(directLink,
|
|
556
|
+
FacebookShare(directLink, res, props.errorText);
|
|
494
557
|
}
|
|
495
558
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
496
559
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
497
560
|
}
|
|
498
561
|
else {
|
|
499
|
-
GenericShare(
|
|
562
|
+
GenericShare(res, props.errorText);
|
|
500
563
|
}
|
|
501
564
|
}
|
|
502
|
-
return {
|
|
503
|
-
...props,
|
|
504
|
-
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
505
|
-
onClick,
|
|
506
|
-
hide,
|
|
507
|
-
};
|
|
565
|
+
return { ...props, loading: res.loading, onClick, hide };
|
|
508
566
|
}
|
|
509
567
|
|
|
510
568
|
const debug = browser("sq:useBigStat");
|
|
511
569
|
const LOADING = "...";
|
|
512
570
|
const debugQuery = (query, variables, getStat) => {
|
|
513
|
-
const res =
|
|
571
|
+
const res = yn(query, variables);
|
|
514
572
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
515
573
|
console.error("issue getting stat:", res);
|
|
516
574
|
}
|
|
@@ -921,7 +979,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
921
979
|
locale: $locale
|
|
922
980
|
formatType: UNIT_FORMATTED
|
|
923
981
|
)}`;
|
|
924
|
-
const result =
|
|
982
|
+
const result = yn(query, {
|
|
925
983
|
value: redeemedTotal,
|
|
926
984
|
unit,
|
|
927
985
|
locale,
|
|
@@ -980,7 +1038,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
980
1038
|
locale: $locale
|
|
981
1039
|
formatType: UNIT_FORMATTED
|
|
982
1040
|
)}`;
|
|
983
|
-
const result =
|
|
1041
|
+
const result = yn(query, {
|
|
984
1042
|
value: redeemedTotal,
|
|
985
1043
|
unit,
|
|
986
1044
|
locale,
|
|
@@ -1376,11 +1434,11 @@ const StatPaths = [
|
|
|
1376
1434
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1377
1435
|
function useBigStat(props) {
|
|
1378
1436
|
var _a;
|
|
1379
|
-
const { statType, flexReverse, alignment, programId =
|
|
1437
|
+
const { statType, flexReverse, alignment, programId = H(), } = props;
|
|
1380
1438
|
// triggers a re-render if the label is manually changed
|
|
1381
1439
|
useChildElements();
|
|
1382
|
-
const locale =
|
|
1383
|
-
const userIdent =
|
|
1440
|
+
const locale = L();
|
|
1441
|
+
const userIdent = Q();
|
|
1384
1442
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1385
1443
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1386
1444
|
return {
|
|
@@ -1577,7 +1635,7 @@ function PortalChangePasswordView(props) {
|
|
|
1577
1635
|
h("style", { type: "text/css" }, styleString))));
|
|
1578
1636
|
}
|
|
1579
1637
|
|
|
1580
|
-
const style$
|
|
1638
|
+
const style$4 = {
|
|
1581
1639
|
Wrapper: AuthWrapper,
|
|
1582
1640
|
Column: AuthColumn,
|
|
1583
1641
|
ForgotButtonContainer: {
|
|
@@ -1588,15 +1646,9 @@ const style$3 = {
|
|
|
1588
1646
|
color: "#AAAAAA",
|
|
1589
1647
|
margin: "0",
|
|
1590
1648
|
},
|
|
1591
|
-
ButtonsContainer:
|
|
1592
|
-
...AuthButtonsContainer,
|
|
1593
|
-
gap: "var(--sl-spacing-medium)",
|
|
1594
|
-
"& > *": {
|
|
1595
|
-
margin: "0 !important",
|
|
1596
|
-
},
|
|
1597
|
-
},
|
|
1649
|
+
ButtonsContainer: AuthButtonsContainer,
|
|
1598
1650
|
};
|
|
1599
|
-
const vanillaStyle$
|
|
1651
|
+
const vanillaStyle$2 = `
|
|
1600
1652
|
:host {
|
|
1601
1653
|
display: block;
|
|
1602
1654
|
}
|
|
@@ -1604,30 +1656,28 @@ const vanillaStyle$1 = `
|
|
|
1604
1656
|
display: none;
|
|
1605
1657
|
}
|
|
1606
1658
|
`;
|
|
1607
|
-
const sheet$
|
|
1608
|
-
const styleString$
|
|
1659
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1660
|
+
const styleString$4 = sheet$4.toString();
|
|
1609
1661
|
function PortalLoginView(props) {
|
|
1610
1662
|
const { states, callbacks, content } = props;
|
|
1611
|
-
return (h("div", { class: sheet$
|
|
1663
|
+
return (h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
|
|
1612
1664
|
h("style", { type: "text/css" },
|
|
1613
|
-
vanillaStyle$
|
|
1614
|
-
styleString$
|
|
1665
|
+
vanillaStyle$2,
|
|
1666
|
+
styleString$4),
|
|
1615
1667
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1616
|
-
h("sl-form", { class: sheet$
|
|
1668
|
+
h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit },
|
|
1617
1669
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1618
1670
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1619
1671
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1620
1672
|
h("div", null,
|
|
1621
1673
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1622
|
-
h("div", { class: sheet$
|
|
1623
|
-
h("div", { class: sheet$
|
|
1674
|
+
h("div", { class: sheet$4.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1675
|
+
h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1624
1676
|
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,
|
|
1627
1677
|
content.secondaryButton))));
|
|
1628
1678
|
}
|
|
1629
1679
|
|
|
1630
|
-
const style$
|
|
1680
|
+
const style$5 = {
|
|
1631
1681
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1632
1682
|
Column: AuthColumn,
|
|
1633
1683
|
HostBlock: HostBlock,
|
|
@@ -1638,7 +1688,7 @@ const style$4 = {
|
|
|
1638
1688
|
ButtonsContainer: AuthButtonsContainer,
|
|
1639
1689
|
ErrorStyle: ErrorStyles,
|
|
1640
1690
|
};
|
|
1641
|
-
const vanillaStyle$
|
|
1691
|
+
const vanillaStyle$3 = `
|
|
1642
1692
|
sqm-portal-register {
|
|
1643
1693
|
margin: 0 auto;
|
|
1644
1694
|
width: 100%;
|
|
@@ -1653,20 +1703,20 @@ sqm-portal-register {
|
|
|
1653
1703
|
display: none;
|
|
1654
1704
|
}
|
|
1655
1705
|
`;
|
|
1656
|
-
const sheet$
|
|
1657
|
-
const styleString$
|
|
1706
|
+
const sheet$5 = createStyleSheet(style$5);
|
|
1707
|
+
const styleString$5 = sheet$5.toString();
|
|
1658
1708
|
function PortalRegisterView(props) {
|
|
1659
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
1709
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1660
1710
|
const { states, refs, callbacks, content } = props;
|
|
1661
1711
|
if (states.error) {
|
|
1662
1712
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1663
1713
|
}
|
|
1664
|
-
return (h("div", { class: sheet$
|
|
1714
|
+
return (h("div", { class: sheet$5.classes.Wrapper, part: "sqm-base" },
|
|
1665
1715
|
h("style", { type: "text/css" },
|
|
1666
|
-
vanillaStyle$
|
|
1667
|
-
styleString$
|
|
1716
|
+
vanillaStyle$3,
|
|
1717
|
+
styleString$5),
|
|
1668
1718
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1669
|
-
h("sl-form", { class: sheet$
|
|
1719
|
+
h("sl-form", { class: sheet$5.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1670
1720
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1671
1721
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1672
1722
|
content.formData,
|
|
@@ -1679,28 +1729,25 @@ function PortalRegisterView(props) {
|
|
|
1679
1729
|
return content.invalidEmailErrorMessage;
|
|
1680
1730
|
}
|
|
1681
1731
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1682
|
-
class: sheet$
|
|
1732
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1683
1733
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1684
1734
|
content.requiredFieldErrorMessage,
|
|
1685
1735
|
}
|
|
1686
1736
|
: [])))),
|
|
1687
1737
|
!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 })),
|
|
1688
1738
|
content.passwordField,
|
|
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
|
|
1690
|
-
|
|
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,
|
|
1739
|
+
!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 }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
1740
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1741
|
+
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1695
1742
|
}
|
|
1696
1743
|
: [])))),
|
|
1697
1744
|
content.terms,
|
|
1698
|
-
h("div", { class: sheet$
|
|
1745
|
+
h("div", { class: sheet$5.classes.ButtonsContainer },
|
|
1699
1746
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1700
1747
|
content.secondaryButton))));
|
|
1701
1748
|
}
|
|
1702
1749
|
|
|
1703
|
-
const style$
|
|
1750
|
+
const style$6 = {
|
|
1704
1751
|
Description: {
|
|
1705
1752
|
"& input[type=checkbox]": {
|
|
1706
1753
|
display: "none",
|
|
@@ -1739,13 +1786,13 @@ const style$5 = {
|
|
|
1739
1786
|
},
|
|
1740
1787
|
},
|
|
1741
1788
|
};
|
|
1742
|
-
const sheet$
|
|
1743
|
-
const styleString$
|
|
1789
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
1790
|
+
const styleString$6 = sheet$6.toString();
|
|
1744
1791
|
function Details(props) {
|
|
1745
1792
|
const rid = Math.random().toString(36).slice(2);
|
|
1746
1793
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1747
|
-
h("style", { type: "text/css" }, styleString$
|
|
1748
|
-
h("span", { class: sheet$
|
|
1794
|
+
h("style", { type: "text/css" }, styleString$6),
|
|
1795
|
+
h("span", { class: sheet$6.classes.Description },
|
|
1749
1796
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1750
1797
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1751
1798
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1767,7 +1814,7 @@ const GreyGift = () => {
|
|
|
1767
1814
|
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" })));
|
|
1768
1815
|
};
|
|
1769
1816
|
|
|
1770
|
-
const style$
|
|
1817
|
+
const style$7 = {
|
|
1771
1818
|
ProgressBar: {
|
|
1772
1819
|
"& .progress-bar": {
|
|
1773
1820
|
height: "0",
|
|
@@ -1879,14 +1926,14 @@ const style$6 = {
|
|
|
1879
1926
|
},
|
|
1880
1927
|
},
|
|
1881
1928
|
};
|
|
1882
|
-
const sheet$
|
|
1883
|
-
const styleString$
|
|
1929
|
+
const sheet$7 = createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
|
|
1930
|
+
const styleString$7 = sheet$7.toString();
|
|
1884
1931
|
function ProgressBarView(props) {
|
|
1885
1932
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1886
1933
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1887
1934
|
const { columns, items } = aggregate;
|
|
1888
|
-
return (h("div", { class: sheet$
|
|
1889
|
-
h("style", { type: "text/css" }, styleString$
|
|
1935
|
+
return (h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1936
|
+
h("style", { type: "text/css" }, styleString$7),
|
|
1890
1937
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1891
1938
|
(Boolean(finite) && progress > 2 * goal)
|
|
1892
1939
|
? "progress-bar repeatable-steps"
|
|
@@ -2177,7 +2224,7 @@ const arrow_left_right = () => {
|
|
|
2177
2224
|
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" })));
|
|
2178
2225
|
};
|
|
2179
2226
|
|
|
2180
|
-
const style$
|
|
2227
|
+
const style$8 = {
|
|
2181
2228
|
TaskCard: {
|
|
2182
2229
|
display: "inline-block",
|
|
2183
2230
|
width: "100%",
|
|
@@ -2331,8 +2378,8 @@ const style$7 = {
|
|
|
2331
2378
|
},
|
|
2332
2379
|
},
|
|
2333
2380
|
};
|
|
2334
|
-
const sheet$
|
|
2335
|
-
const styleString$
|
|
2381
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
2382
|
+
const styleString$8 = sheet$8.toString();
|
|
2336
2383
|
function TaskCardView(props) {
|
|
2337
2384
|
var _a, _b;
|
|
2338
2385
|
const { callbacks, states, content } = props;
|
|
@@ -2368,11 +2415,11 @@ function TaskCardView(props) {
|
|
|
2368
2415
|
}
|
|
2369
2416
|
|
|
2370
2417
|
`;
|
|
2371
|
-
return (h("div", { class: sheet$
|
|
2418
|
+
return (h("div", { class: sheet$8.classes.TaskCard, part: "sqm-base" },
|
|
2372
2419
|
h("style", { type: "text/css" },
|
|
2373
|
-
styleString$
|
|
2420
|
+
styleString$8,
|
|
2374
2421
|
vanillaStyle),
|
|
2375
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2422
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$8.classes.NotStarted },
|
|
2376
2423
|
h("span", { class: "icon" },
|
|
2377
2424
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2378
2425
|
intl.formatMessage({
|
|
@@ -2383,7 +2430,7 @@ function TaskCardView(props) {
|
|
|
2383
2430
|
.setLocale(luxonLocale(states.locale))
|
|
2384
2431
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2385
2432
|
}))),
|
|
2386
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2433
|
+
!states.loading && taskEnded && (h("div", { class: sheet$8.classes.Ended },
|
|
2387
2434
|
h("span", { class: "icon" },
|
|
2388
2435
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2389
2436
|
intl.formatMessage({
|
|
@@ -2403,7 +2450,7 @@ function TaskCardView(props) {
|
|
|
2403
2450
|
? "main complete"
|
|
2404
2451
|
: "main" },
|
|
2405
2452
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2406
|
-
h("div", { class: sheet$
|
|
2453
|
+
h("div", { class: sheet$8.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2407
2454
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2408
2455
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2409
2456
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2419,7 +2466,7 @@ function TaskCardView(props) {
|
|
|
2419
2466
|
} }, content.cardTitle)),
|
|
2420
2467
|
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" })))),
|
|
2421
2468
|
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 })))),
|
|
2422
|
-
h("div", { class: sheet$
|
|
2469
|
+
h("div", { class: sheet$8.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2423
2470
|
h("span", { class: "text" },
|
|
2424
2471
|
content.repeatable && (h("div", null,
|
|
2425
2472
|
h("span", { class: repetitions > 0
|
|
@@ -2490,7 +2537,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2490
2537
|
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 })));
|
|
2491
2538
|
}
|
|
2492
2539
|
|
|
2493
|
-
const vanillaStyle$
|
|
2540
|
+
const vanillaStyle$4 = `
|
|
2494
2541
|
:host{
|
|
2495
2542
|
margin: 0 auto;
|
|
2496
2543
|
width: 100%;
|
|
@@ -2546,7 +2593,7 @@ function PortalFooterView(props) {
|
|
|
2546
2593
|
const styleString = sheet.toString();
|
|
2547
2594
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2548
2595
|
h("style", { type: "text/css" },
|
|
2549
|
-
vanillaStyle$
|
|
2596
|
+
vanillaStyle$4,
|
|
2550
2597
|
styleString),
|
|
2551
2598
|
h("div", { class: sheet.classes.RowContainer },
|
|
2552
2599
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2718,76 +2765,55 @@ function ReferralIframeView(props) {
|
|
|
2718
2765
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2719
2766
|
}
|
|
2720
2767
|
|
|
2721
|
-
const style$
|
|
2722
|
-
ErrorStyle:
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
outline: "var(--sl-color-danger-500)",
|
|
2727
|
-
},
|
|
2728
|
-
"&:host": {
|
|
2729
|
-
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
2768
|
+
const style$9 = {
|
|
2769
|
+
ErrorStyle: ErrorStyles,
|
|
2770
|
+
FieldsContainer: {
|
|
2771
|
+
"& sl-input": {
|
|
2772
|
+
"margin-bottom": "var(--sl-spacing-large)",
|
|
2730
2773
|
},
|
|
2731
2774
|
},
|
|
2732
|
-
ErrorMessageStyle: {
|
|
2733
|
-
margin: 0,
|
|
2734
|
-
marginTop: "5px",
|
|
2735
|
-
color: "var(--sl-color-danger-500)",
|
|
2736
|
-
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
2737
|
-
fontFamily: "var(--sl-font-sans)",
|
|
2738
|
-
fontWeight: "var(--sl-font-weight-normal)",
|
|
2739
|
-
},
|
|
2740
|
-
FieldContainer: {
|
|
2741
|
-
"margin-bottom": "var(--sl-spacing-large)",
|
|
2742
|
-
},
|
|
2743
2775
|
};
|
|
2744
|
-
const vanillaStyle$
|
|
2776
|
+
const vanillaStyle$5 = `
|
|
2745
2777
|
:host {
|
|
2746
2778
|
margin: 0 auto;
|
|
2747
2779
|
width: 100%;
|
|
2748
2780
|
display: block;
|
|
2749
2781
|
}
|
|
2750
|
-
|
|
2782
|
+
|
|
2783
|
+
sl-input::part(label){
|
|
2751
2784
|
font-size: var(--sl-input-label-font-size-small);
|
|
2752
|
-
font-weight: var(--sl-font-weight-
|
|
2753
|
-
line-height: 20px;
|
|
2754
|
-
}
|
|
2755
|
-
sl-checkbox::part(base){
|
|
2756
|
-
align-items: start;
|
|
2785
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
2757
2786
|
}
|
|
2758
2787
|
`;
|
|
2759
|
-
|
|
2760
|
-
const
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
const { states, content, callbacks } = props;
|
|
2788
|
+
const sheet$9 = createStyleSheet(style$9);
|
|
2789
|
+
const styleString$9 = sheet$9.toString();
|
|
2790
|
+
function NameFieldsView(props) {
|
|
2791
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2792
|
+
const { states } = props;
|
|
2765
2793
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2766
|
-
return (h("div", { class: sheet$
|
|
2794
|
+
return (h("div", { class: sheet$9.classes.FieldsContainer },
|
|
2767
2795
|
h("style", { type: "text/css" },
|
|
2768
|
-
vanillaStyle$
|
|
2769
|
-
styleString$
|
|
2770
|
-
h("sl-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
: [])),
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
}, {
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
defaultMessage: content.errorMessage,
|
|
2787
|
-
}))))));
|
|
2796
|
+
vanillaStyle$5,
|
|
2797
|
+
styleString$9),
|
|
2798
|
+
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) ? {
|
|
2799
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2800
|
+
}
|
|
2801
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2802
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2803
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2804
|
+
}
|
|
2805
|
+
: []))),
|
|
2806
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
2807
|
+
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2808
|
+
}
|
|
2809
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2810
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2811
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2812
|
+
}
|
|
2813
|
+
: [])))));
|
|
2788
2814
|
}
|
|
2789
2815
|
|
|
2790
|
-
const style$
|
|
2816
|
+
const style$a = {
|
|
2791
2817
|
ErrorStyle: {
|
|
2792
2818
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2793
2819
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2803,7 +2829,7 @@ const style$9 = {
|
|
|
2803
2829
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2804
2830
|
},
|
|
2805
2831
|
};
|
|
2806
|
-
const vanillaStyle$
|
|
2832
|
+
const vanillaStyle$6 = `
|
|
2807
2833
|
:host {
|
|
2808
2834
|
margin: 0 auto;
|
|
2809
2835
|
width: 100%;
|
|
@@ -2815,36 +2841,36 @@ sl-select::part(label){
|
|
|
2815
2841
|
}
|
|
2816
2842
|
`;
|
|
2817
2843
|
jss.setup(create());
|
|
2818
|
-
const sheet$
|
|
2819
|
-
const styleString$
|
|
2844
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2845
|
+
const styleString$a = sheet$a.toString();
|
|
2820
2846
|
function DropdownFieldView(props) {
|
|
2821
2847
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2822
2848
|
const { states, content } = props;
|
|
2823
2849
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2824
|
-
return (h("div", { class: sheet$
|
|
2850
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2825
2851
|
h("style", { type: "text/css" },
|
|
2826
|
-
vanillaStyle$
|
|
2827
|
-
styleString$
|
|
2852
|
+
vanillaStyle$6,
|
|
2853
|
+
styleString$a),
|
|
2828
2854
|
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]) ? {
|
|
2829
2855
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2830
2856
|
}
|
|
2831
2857
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2832
|
-
class: sheet$
|
|
2858
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2833
2859
|
}
|
|
2834
2860
|
: [])), content.selectOptions),
|
|
2835
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2861
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2836
2862
|
id: `errorMessage-${content.dropdownName}`,
|
|
2837
2863
|
defaultMessage: content.errorMessage,
|
|
2838
2864
|
})))));
|
|
2839
2865
|
}
|
|
2840
2866
|
|
|
2841
|
-
const style$
|
|
2867
|
+
const style$b = {
|
|
2842
2868
|
ErrorStyle: ErrorStyles,
|
|
2843
2869
|
FieldContainer: {
|
|
2844
2870
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2845
2871
|
},
|
|
2846
2872
|
};
|
|
2847
|
-
const vanillaStyle$
|
|
2873
|
+
const vanillaStyle$7 = `
|
|
2848
2874
|
:host {
|
|
2849
2875
|
margin: 0 auto;
|
|
2850
2876
|
width: 100%;
|
|
@@ -2852,21 +2878,21 @@ const vanillaStyle$6 = `
|
|
|
2852
2878
|
}
|
|
2853
2879
|
`;
|
|
2854
2880
|
jss.setup(create());
|
|
2855
|
-
const sheet$
|
|
2856
|
-
const styleString$
|
|
2881
|
+
const sheet$b = jss.createStyleSheet(style$b);
|
|
2882
|
+
const styleString$b = sheet$b.toString();
|
|
2857
2883
|
function InputFieldView(props) {
|
|
2858
2884
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2859
2885
|
const { states, content } = props;
|
|
2860
2886
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2861
|
-
return (h("div", { class: sheet$
|
|
2887
|
+
return (h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2862
2888
|
h("style", { type: "text/css" },
|
|
2863
|
-
vanillaStyle$
|
|
2864
|
-
styleString$
|
|
2889
|
+
vanillaStyle$7,
|
|
2890
|
+
styleString$b),
|
|
2865
2891
|
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]) ? {
|
|
2866
2892
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2867
2893
|
}
|
|
2868
2894
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2869
|
-
class: sheet$
|
|
2895
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2870
2896
|
helpText: intl.formatMessage({
|
|
2871
2897
|
id: `errorMessage-${content.fieldName}`,
|
|
2872
2898
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2961,7 +2987,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
2961
2987
|
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 })))));
|
|
2962
2988
|
}
|
|
2963
2989
|
|
|
2964
|
-
const style$
|
|
2990
|
+
const style$c = {
|
|
2965
2991
|
HostBlock: HostBlock,
|
|
2966
2992
|
Container: {
|
|
2967
2993
|
minWidth: "300px",
|
|
@@ -3312,8 +3338,8 @@ const style$b = {
|
|
|
3312
3338
|
},
|
|
3313
3339
|
};
|
|
3314
3340
|
// JSS config
|
|
3315
|
-
const sheet$
|
|
3316
|
-
const styleString$
|
|
3341
|
+
const sheet$c = createStyleSheet(style$c);
|
|
3342
|
+
const styleString$c = sheet$c.toString();
|
|
3317
3343
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3318
3344
|
function RewardExchangeView(props) {
|
|
3319
3345
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3336,7 +3362,7 @@ function RewardExchangeView(props) {
|
|
|
3336
3362
|
sourceUnit: item.sourceUnit,
|
|
3337
3363
|
})));
|
|
3338
3364
|
}
|
|
3339
|
-
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$
|
|
3365
|
+
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) => {
|
|
3340
3366
|
var _a, _b, _c, _d, _e;
|
|
3341
3367
|
return callbacks.setExchangeState({
|
|
3342
3368
|
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,
|
|
@@ -3344,7 +3370,7 @@ function RewardExchangeView(props) {
|
|
|
3344
3370
|
});
|
|
3345
3371
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3346
3372
|
var _a, _b;
|
|
3347
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3373
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3348
3374
|
step.prettyDestinationValue,
|
|
3349
3375
|
h("br", null),
|
|
3350
3376
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3363,8 +3389,8 @@ function RewardExchangeView(props) {
|
|
|
3363
3389
|
var _a;
|
|
3364
3390
|
return [
|
|
3365
3391
|
h("div", { part: "choose-reward-container" },
|
|
3366
|
-
h("div", { class: sheet$
|
|
3367
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3392
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3393
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3368
3394
|
var _a, _b, _c, _d, _e;
|
|
3369
3395
|
const style = {
|
|
3370
3396
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3373,7 +3399,7 @@ function RewardExchangeView(props) {
|
|
|
3373
3399
|
borderRadius: "4px",
|
|
3374
3400
|
};
|
|
3375
3401
|
return (h("div", { key: item.key, style: style },
|
|
3376
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3402
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3377
3403
|
cursor: item.unavailableReasonCode
|
|
3378
3404
|
? "not-allowed"
|
|
3379
3405
|
: "pointer",
|
|
@@ -3390,14 +3416,14 @@ function RewardExchangeView(props) {
|
|
|
3390
3416
|
? "rgba(0, 0, 0, 0.05)"
|
|
3391
3417
|
: "rgba(0, 0, 0, 0)",
|
|
3392
3418
|
} },
|
|
3393
|
-
h("div", { class: sheet$
|
|
3419
|
+
h("div", { class: sheet$c.classes.Image, style: {
|
|
3394
3420
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3395
3421
|
} },
|
|
3396
3422
|
h("img", { class: item.unavailableReasonCode
|
|
3397
3423
|
? "image subdued"
|
|
3398
3424
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3399
3425
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3400
|
-
h("div", { class: sheet$
|
|
3426
|
+
h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3401
3427
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3402
3428
|
} },
|
|
3403
3429
|
h("div", { class: "title", style: {
|
|
@@ -3430,7 +3456,7 @@ function RewardExchangeView(props) {
|
|
|
3430
3456
|
item.prettySourceMinValue,
|
|
3431
3457
|
}))))))));
|
|
3432
3458
|
}))),
|
|
3433
|
-
h("div", { class: sheet$
|
|
3459
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3434
3460
|
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))),
|
|
3435
3461
|
];
|
|
3436
3462
|
}
|
|
@@ -3441,7 +3467,7 @@ function RewardExchangeView(props) {
|
|
|
3441
3467
|
? false
|
|
3442
3468
|
: input && !states.amount;
|
|
3443
3469
|
return (h("div", null,
|
|
3444
|
-
h("div", { class: sheet$
|
|
3470
|
+
h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3445
3471
|
h("div", { class: "wrapper" },
|
|
3446
3472
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3447
3473
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3450,7 +3476,7 @@ function RewardExchangeView(props) {
|
|
|
3450
3476
|
((_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)),
|
|
3451
3477
|
((_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)),
|
|
3452
3478
|
h("div", { class: "space" }))),
|
|
3453
|
-
h("div", { class: sheet$
|
|
3479
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3454
3480
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3455
3481
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3456
3482
|
}
|
|
@@ -3458,8 +3484,8 @@ function RewardExchangeView(props) {
|
|
|
3458
3484
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3459
3485
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3460
3486
|
return (h("div", null,
|
|
3461
|
-
h("div", { class: sheet$
|
|
3462
|
-
h("div", { class: sheet$
|
|
3487
|
+
h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3488
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3463
3489
|
h("div", { class: "wrapper" },
|
|
3464
3490
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3465
3491
|
h("div", { class: "reward-item-container" },
|
|
@@ -3474,13 +3500,13 @@ function RewardExchangeView(props) {
|
|
|
3474
3500
|
h("div", { class: "wrapper top-border padding" },
|
|
3475
3501
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3476
3502
|
h("div", { class: "value" }, cost)),
|
|
3477
|
-
h("div", { class: sheet$
|
|
3503
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3478
3504
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3479
3505
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3480
3506
|
}
|
|
3481
3507
|
function success() {
|
|
3482
3508
|
var _a, _b, _c, _d, _e, _f;
|
|
3483
|
-
return (h("div", { class: sheet$
|
|
3509
|
+
return (h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3484
3510
|
h(Gift$1, null),
|
|
3485
3511
|
h(Confetti, null),
|
|
3486
3512
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3495,7 +3521,7 @@ function RewardExchangeView(props) {
|
|
|
3495
3521
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3496
3522
|
states.content.text.promoCode,
|
|
3497
3523
|
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 }))),
|
|
3498
|
-
h("div", { class: sheet$
|
|
3524
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3499
3525
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3500
3526
|
}
|
|
3501
3527
|
const stages = {
|
|
@@ -3507,7 +3533,7 @@ function RewardExchangeView(props) {
|
|
|
3507
3533
|
const currentStage = stages[states.redeemStage];
|
|
3508
3534
|
function stageMap() {
|
|
3509
3535
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3510
|
-
return (h("div", { class: sheet$
|
|
3536
|
+
return (h("div", { class: sheet$c.classes.ProgressBar },
|
|
3511
3537
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3512
3538
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3513
3539
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3519,10 +3545,10 @@ function RewardExchangeView(props) {
|
|
|
3519
3545
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3520
3546
|
}
|
|
3521
3547
|
function loading() {
|
|
3522
|
-
return (h("div", { class: sheet$
|
|
3548
|
+
return (h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3523
3549
|
return (h("div", null,
|
|
3524
|
-
h("sl-card", { class: sheet$
|
|
3525
|
-
h("div", { class: sheet$
|
|
3550
|
+
h("sl-card", { class: sheet$c.classes.Card },
|
|
3551
|
+
h("div", { class: sheet$c.classes.CardLayout },
|
|
3526
3552
|
h("div", null,
|
|
3527
3553
|
h("sl-skeleton", { style: {
|
|
3528
3554
|
width: "100px",
|
|
@@ -3554,12 +3580,12 @@ function RewardExchangeView(props) {
|
|
|
3554
3580
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3555
3581
|
return;
|
|
3556
3582
|
refs.canvasRef.current = canvas;
|
|
3557
|
-
}, id: "my-canvas", class: sheet$
|
|
3583
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3558
3584
|
}
|
|
3559
3585
|
if (states.noExchangeOptions)
|
|
3560
3586
|
return states.content.text.empty;
|
|
3561
|
-
return (h("div", { class: sheet$
|
|
3562
|
-
h("style", { type: "text/css" }, styleString$
|
|
3587
|
+
return (h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3588
|
+
h("style", { type: "text/css" }, styleString$c),
|
|
3563
3589
|
h("div", null,
|
|
3564
3590
|
stageMap(),
|
|
3565
3591
|
states.exchangeError && errorMessage(),
|
|
@@ -3975,7 +4001,7 @@ function CardFeedView(props, children) {
|
|
|
3975
4001
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
3976
4002
|
}
|
|
3977
4003
|
|
|
3978
|
-
const style$
|
|
4004
|
+
const style$d = {
|
|
3979
4005
|
HostBlock: HostBlock,
|
|
3980
4006
|
couponCodeLabel: {
|
|
3981
4007
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -3983,21 +4009,21 @@ const style$c = {
|
|
|
3983
4009
|
fontSize: "var(--sl-font-size-small)",
|
|
3984
4010
|
},
|
|
3985
4011
|
};
|
|
3986
|
-
const vanillaStyle$
|
|
4012
|
+
const vanillaStyle$8 = `
|
|
3987
4013
|
:host{
|
|
3988
4014
|
display: block;
|
|
3989
4015
|
width: 100%;
|
|
3990
4016
|
}
|
|
3991
4017
|
`;
|
|
3992
|
-
const sheet$
|
|
3993
|
-
const styleString$
|
|
4018
|
+
const sheet$d = createStyleSheet(style$d);
|
|
4019
|
+
const styleString$d = sheet$d.toString();
|
|
3994
4020
|
function CouponCodeView(props) {
|
|
3995
4021
|
const error = !props.loading && props.error;
|
|
3996
4022
|
return (h("div", null,
|
|
3997
4023
|
h("style", { type: "text/css" },
|
|
3998
|
-
styleString$
|
|
3999
|
-
vanillaStyle$
|
|
4000
|
-
h("p", { class: sheet$
|
|
4024
|
+
styleString$d,
|
|
4025
|
+
vanillaStyle$8),
|
|
4026
|
+
h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4001
4027
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4002
4028
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4003
4029
|
}
|
|
@@ -4087,4 +4113,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4087
4113
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4088
4114
|
};
|
|
4089
4115
|
|
|
4090
|
-
export { loading as A, BigStatView as B,
|
|
4116
|
+
export { loading as A, BigStatView as B, CopyTextView 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 };
|