@saasquatch/mint-components 2.5.5-1 → 2.5.5
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/AsYouType-5f15a922.js +4764 -0
- package/dist/cjs/{ErrorView-17578c10.js → ErrorView-8f6cf1cb.js} +1 -1
- package/dist/cjs/{GenericTableView-4c48c630.js → GenericTableView-12d35117.js} +17 -15
- package/dist/cjs/{JSS-8503a151.js → JSS-bf8078e9.js} +342 -338
- package/dist/cjs/{ShadowViewAddon-f57cb460.js → ShadowViewAddon-ee16ec1d.js} +312 -292
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-49517b2a.js} +2 -2
- package/dist/cjs/{data-ae38fa86.js → data-77273531.js} +5 -5
- package/dist/cjs/demoMerge-6f125494.js +203 -0
- package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-735c3942.js} +133 -76
- package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-36a74293.js} +10 -9
- package/dist/cjs/{global-3ba30270.js → global-973bc63c.js} +587 -583
- package/dist/cjs/{index.module-3221a469.js → index-8530c62f.js} +2911 -511
- package/dist/cjs/{index-8277cbb3.js → index-d41c2c94.js} +766 -340
- package/dist/cjs/{index-8c6255f5.js → index-f1dd6136.js} +47 -29
- package/dist/cjs/{jsonpointer-11327262.js → jsonpointer-0db21316.js} +8 -4
- package/dist/cjs/loader.cjs.js +6 -5
- package/dist/cjs/{luxon-c1ad356a.js → luxon-d3612a3d.js} +486 -299
- package/dist/cjs/mint-components.cjs.js +11 -7
- package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-e6a0a048.js} +5 -3
- package/dist/cjs/{parseStates-d1effc19.js → parseStates-35013ba4.js} +3 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-34b36aca.js → re-render-51c48d7c.js} +5 -5
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +399 -1395
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +818 -2891
- package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-74e5e1e9.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -11
- package/dist/cjs/sqm-code-verification.cjs.entry.js +20 -47
- package/dist/cjs/sqm-context-router.cjs.entry.js +9 -8
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +71 -182
- package/dist/cjs/sqm-empty_4.cjs.entry.js +21 -58
- package/dist/cjs/sqm-form-message_2.cjs.entry.js +7 -19
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +10 -9
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +11 -10
- package/dist/cjs/sqm-header-logo.cjs.entry.js +4 -19
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +14 -89
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +6 -8
- package/dist/cjs/{sqm-lead-checkbox-field-view-d6df81c7.js → sqm-lead-checkbox-field-view-24ac7358.js} +12 -11
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +14 -30
- package/dist/cjs/sqm-lead-input-field-view-7dfbc714.js +52 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +15 -31
- package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-e992762c.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +25 -22
- package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-ebee238e.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +17 -28
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9134e64e.js → sqm-navigation-sidebar-item-view-a2cab80e.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +23 -18
- package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-873e0c44.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +12 -17
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +40 -102
- package/dist/cjs/{sqm-partner-info-modal-view-6173c618.js → sqm-partner-info-modal-view-c8972001.js} +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +186 -86
- package/dist/cjs/sqm-popup-container.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-container-view-757f921b.js → sqm-portal-container-view-c0cf9af9.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-38d8344c.js → sqm-portal-email-verification-view-92866725.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +22 -52
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +101 -429
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +7 -13
- package/dist/cjs/{sqm-portal-profile-view-062eda68.js → sqm-portal-profile-view-60e78cdb.js} +20 -17
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +20 -56
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -24
- package/dist/cjs/{sqm-portal-registration-form-view-a45f7a52.js → sqm-portal-registration-form-view-5473e24d.js} +26 -21
- package/dist/cjs/{sqm-portal-reset-password-view-b2c546bd.js → sqm-portal-reset-password-view-7a6f55c5.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +21 -89
- package/dist/cjs/{sqm-portal-verify-email-view-2a120d0a.js → sqm-portal-verify-email-view-7efa70c9.js} +48 -45
- package/dist/cjs/{sqm-qr-code-view-0d43424e.js → sqm-qr-code-view-70da70f9.js} +3 -3
- package/dist/cjs/sqm-qr-code.cjs.entry.js +22 -48
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +37 -140
- 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 -7
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +98 -217
- package/dist/cjs/sqm-route.cjs.entry.js +2 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +12 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2892 -2264
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-text-span-view-b9e10f5d.js → sqm-text-span-view-c6938acd.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +8 -4
- package/dist/cjs/{sqm-user-info-form-view-aedca5fe.js → sqm-user-info-form-view-e878a9a3.js} +173 -163
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +6 -11
- package/dist/cjs/subregions-3dbacb18.js +1467 -0
- package/dist/cjs/{useChildElements-36f7e4bb.js → useChildElements-e5e26816.js} +3 -3
- package/dist/cjs/{useIndirectTaxForm-7656fc63.js → useIndirectTaxForm-691691c2.js} +42 -38
- package/dist/cjs/{useInstantAccessRegistration-43514e50.js → useInstantAccessRegistration-9201777d.js} +6 -6
- package/dist/cjs/{useLeadFormState-34f9834b.js → useLeadFormState-f5b768b9.js} +20 -20
- package/dist/cjs/{usePortalRegistrationForm-b18a1f6b.js → usePortalRegistrationForm-b3c0451b.js} +16 -13
- package/dist/cjs/{useReferralCodes-25d5320a.js → useReferralCodes-5794a177.js} +11 -11
- package/dist/cjs/{useReferralTable-ad86986b.js → useReferralTable-32b3541b.js} +19 -19
- package/dist/cjs/{useRegistrationFormState-ea81d55a.js → useRegistrationFormState-feccd2c8.js} +3 -3
- package/dist/cjs/{useVerificationEmail-70aad5f1.js → useVerificationEmail-f0807562.js} +17 -15
- package/dist/cjs/{utilities-dfc34bea.js → utilities-04345466.js} +3 -3
- package/dist/collection/ShadowViewAddon.js +1 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +36 -34
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +3 -7
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +11 -23
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +11 -27
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -16
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +294 -298
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +3 -3
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +4 -72
- package/dist/collection/components/sqm-brand/sqm-brand.js +61 -58
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +43 -120
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -5
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +55 -59
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +17 -22
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +5 -19
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +18 -21
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-close-button/CloseButton.stories.js +3 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +1 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button.js +32 -35
- package/dist/collection/components/sqm-context-router/ContextRouter.js +4 -33
- package/dist/collection/components/sqm-context-router/sqm-context-router.js +39 -33
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -7
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +601 -695
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +10 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +19 -36
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +129 -135
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +7 -7
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +3 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +13 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +128 -133
- package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +2 -2
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +9 -9
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +27 -45
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +272 -264
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +4 -3
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +4 -7
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +6 -12
- package/dist/collection/components/sqm-empty/sqm-empty.js +102 -95
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +9 -27
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +102 -108
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +61 -56
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +32 -28
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +147 -161
- package/dist/collection/components/sqm-hero/Hero.stories.js +20 -54
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +5 -11
- package/dist/collection/components/sqm-hero/sqm-hero.js +177 -202
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -26
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +533 -590
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +28 -23
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -6
- package/dist/collection/components/sqm-image/sqm-image.js +131 -131
- package/dist/collection/components/sqm-input-field/InputField.stories.js +17 -17
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +7 -22
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +14 -15
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +156 -162
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +410 -481
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +2 -18
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -14
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +27 -23
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +29 -29
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +85 -80
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +68 -64
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +40 -39
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -8
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +287 -310
- package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +1 -3
- package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +6 -10
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +10 -10
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +20 -24
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +13 -17
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +174 -189
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +22 -48
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +365 -420
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +13 -16
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +179 -191
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +3 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +23 -29
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +3 -15
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +11 -35
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +553 -563
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +3 -12
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +200 -192
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +4 -3
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +1 -6
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +73 -77
- package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +1 -9
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +106 -115
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +104 -109
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +21 -20
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +104 -109
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +6 -9
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +92 -82
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +1 -8
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +71 -73
- package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +1 -4
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +315 -308
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +1 -9
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +94 -100
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +13 -13
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +22 -54
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +515 -603
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +3 -3
- package/dist/collection/components/sqm-password-field/passwordValidation.js +8 -20
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +16 -18
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +197 -219
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +1 -7
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -4
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +82 -84
- package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +1 -2
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -5
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +161 -155
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +5 -5
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +8 -17
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +142 -154
- package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -24
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +380 -436
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +5 -2
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +16 -119
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -5
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +280 -299
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +5 -5
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +13 -25
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +216 -243
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -1
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +6 -6
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +1 -12
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -16
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +317 -351
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -14
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +279 -316
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -1
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +14 -55
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +1 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +141 -158
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +295 -342
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +19 -26
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +645 -749
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -17
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +255 -292
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +33 -36
- package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +6 -6
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +15 -26
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +282 -314
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +72 -82
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +8 -13
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +15 -28
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +525 -610
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -1
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +10 -15
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +20 -33
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +573 -663
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +5 -2
- package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -29
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +449 -514
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +2 -1
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -2
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +2 -14
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +196 -222
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +4 -2
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +20 -32
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -7
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +84 -78
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -10
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +231 -220
- package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +8 -25
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +8 -9
- package/dist/collection/components/sqm-qr-code/QRCode.stories.js +8 -8
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -11
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +206 -230
- package/dist/collection/components/sqm-radio-card/RadioCard.stories.js +2 -2
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +1 -9
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +29 -86
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +3 -11
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +304 -335
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +14 -14
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +369 -410
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +3 -3
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +9 -36
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +3 -14
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +167 -175
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +2 -4
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -3
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +125 -132
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +9 -24
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +5 -8
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +30 -30
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +8 -30
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +28 -23
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +219 -278
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +81 -76
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +24 -20
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +65 -61
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +120 -139
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +260 -300
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +208 -225
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +124 -133
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +229 -253
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +479 -557
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +5 -26
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -18
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +26 -28
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +96 -174
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +618 -726
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +16 -31
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +12 -15
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +11 -11
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +8 -30
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +45 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +97 -103
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +160 -156
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +336 -332
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +96 -105
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +67 -66
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +127 -135
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +173 -197
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +390 -463
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +4 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +206 -219
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -3
- package/dist/collection/components/sqm-route/sqm-route.js +31 -26
- package/dist/collection/components/sqm-router/Router.stories.js +4 -33
- package/dist/collection/components/sqm-router/sqm-router.js +17 -14
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +6 -89
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +259 -255
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +12 -46
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -7
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -6
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +509 -521
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +13 -13
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +329 -360
- package/dist/collection/components/sqm-share-code/useShareCode.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +85 -86
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +17 -20
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +21 -49
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +987 -1192
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +55 -59
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -5
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +162 -185
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +12 -15
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -5
- package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +1 -2
- package/dist/collection/components/sqm-stencilbook/Matrix.js +4 -13
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -13
- package/dist/collection/components/sqm-tab/sqm-tab.js +27 -25
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +47 -49
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +27 -30
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +10 -17
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +62 -59
- package/dist/collection/components/sqm-tabs/useTabs.js +1 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -7
- package/dist/collection/components/sqm-task-card/SVGs.js +3 -7
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +31 -277
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +1 -17
- package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +2 -10
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +10 -13
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +56 -83
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +780 -860
- package/dist/collection/components/sqm-text/Text.stories.js +2 -4
- package/dist/collection/components/sqm-text/sqm-text.js +61 -57
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -5
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +109 -101
- package/dist/collection/components/sqm-timeline/SVGs.js +3 -9
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +5 -57
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -16
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +178 -166
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +41 -45
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +5 -206
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -4
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +129 -148
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -7
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +1 -3
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +146 -137
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +82 -84
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +6 -26
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +215 -240
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +12 -22
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +12 -30
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +177 -195
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +33 -41
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +776 -921
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +4 -2
- package/dist/collection/components/tax-and-cash/SVGs.js +1 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +188 -198
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +34 -83
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1864 -2210
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -7
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +13 -31
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +26 -53
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +565 -660
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -3
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +24 -63
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +699 -816
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +11 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +1 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -20
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +130 -147
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -33
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +910 -1035
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +2 -19
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +4760 -5686
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +89 -176
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +1857 -2159
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +27 -27
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +24 -44
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +120 -157
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +713 -823
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -7
- package/dist/collection/components/views/EmailRegistration.stories.js +60 -60
- package/dist/collection/components/views/copy-text-view.js +6 -17
- package/dist/collection/components/views/email-registration-view.js +14 -28
- package/dist/collection/global/styles.js +8 -4
- package/dist/collection/stories/NewPortal.stories.js +106 -178
- package/dist/collection/tables/GenericTableView.js +19 -27
- package/dist/collection/tables/TableSlots.js +5 -19
- package/dist/collection/utils/DefaultTemplateView.js +6 -24
- package/dist/collection/utils/RequiredPropsError.js +10 -24
- package/dist/collection/utils/TemplateView.js +1 -3
- package/dist/collection/utils/demoMerge.js +10 -0
- package/dist/esm/AsYouType-cc09fa68.js +4746 -0
- package/dist/esm/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-4f7ac63d.js} +17 -15
- package/dist/esm/{JSS-67b5cff8.js → JSS-e97b34f4.js} +341 -337
- package/dist/esm/{ShadowViewAddon-e1375e0d.js → ShadowViewAddon-0c8005bd.js} +284 -264
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-e1c3f2cd.js} +2 -2
- package/dist/esm/{data-04d2da44.js → data-510cc9b7.js} +1 -1
- package/dist/esm/demoMerge-a0320a8e.js +201 -0
- package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-f88a3e54.js} +129 -72
- package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-7a63a912.js} +10 -9
- package/dist/esm/{global-f019575d.js → global-cf0cc6b1.js} +586 -582
- package/dist/esm/{index-38ad4957.js → index-7a8b0c0b.js} +766 -341
- package/dist/esm/{index.module-cc08450c.js → index-b04013cc.js} +2873 -473
- package/dist/esm/{index-ffa26b43.js → index-e6f5153e.js} +47 -29
- package/dist/esm/{jsonpointer-388a7082.js → jsonpointer-c5423376.js} +8 -4
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{luxon-1be92a8e.js → luxon-40b943cb.js} +486 -299
- package/dist/esm/mint-components.js +8 -7
- package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-2cceba7a.js} +5 -3
- package/dist/esm/{parseStates-ed75e224.js → parseStates-0c27f2de.js} +3 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-380499f8.js → re-render-e911a0f7.js} +5 -5
- package/dist/esm/sqm-banking-info-form_10.entry.js +381 -1377
- package/dist/esm/sqm-big-stat_47.entry.js +767 -2840
- package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -10
- package/dist/esm/sqm-code-verification.entry.js +19 -46
- package/dist/esm/sqm-context-router.entry.js +6 -5
- package/dist/esm/sqm-email-verification_2.entry.js +43 -154
- package/dist/esm/sqm-empty_4.entry.js +21 -58
- package/dist/esm/sqm-form-message_2.entry.js +7 -19
- package/dist/esm/sqm-google-sign-in.entry.js +4 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +9 -8
- package/dist/esm/sqm-header-logo.entry.js +4 -19
- package/dist/esm/sqm-instant-access-registration.entry.js +12 -87
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +6 -8
- package/dist/esm/{sqm-lead-checkbox-field-view-04aa32a7.js → sqm-lead-checkbox-field-view-d055e7bd.js} +12 -11
- package/dist/esm/sqm-lead-checkbox-field.entry.js +12 -28
- package/dist/esm/sqm-lead-input-field-view-b0d62f1c.js +50 -0
- package/dist/esm/sqm-lead-input-field.entry.js +13 -29
- package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +22 -19
- package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +12 -23
- package/dist/esm/{sqm-navigation-sidebar-item-view-40837457.js → sqm-navigation-sidebar-item-view-754b2484.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +21 -16
- package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-e2094399.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +11 -16
- package/dist/esm/sqm-pagination_3.entry.js +35 -97
- package/dist/esm/{sqm-partner-info-modal-view-e02fb63a.js → sqm-partner-info-modal-view-3b59be37.js} +4 -4
- package/dist/esm/sqm-password-field.entry.js +185 -85
- package/dist/esm/sqm-popup-container.entry.js +12 -12
- package/dist/esm/{sqm-portal-container-view-200c9df8.js → sqm-portal-container-view-fcd53673.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +18 -48
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +73 -401
- package/dist/esm/sqm-portal-logout.entry.js +5 -11
- package/dist/esm/{sqm-portal-profile-view-41894261.js → sqm-portal-profile-view-f27adfba.js} +20 -17
- package/dist/esm/sqm-portal-profile.entry.js +16 -52
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -21
- package/dist/esm/{sqm-portal-registration-form-view-79265df5.js → sqm-portal-registration-form-view-113e1969.js} +26 -21
- package/dist/esm/{sqm-portal-reset-password-view-c7dd1c01.js → sqm-portal-reset-password-view-f9fb6355.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +18 -86
- package/dist/esm/{sqm-portal-verify-email-view-c102aa7c.js → sqm-portal-verify-email-view-ee40e3f2.js} +48 -45
- package/dist/esm/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +3 -3
- package/dist/esm/sqm-qr-code.entry.js +18 -44
- package/dist/esm/sqm-referral-table_11.entry.js +36 -139
- 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 -7
- package/dist/esm/sqm-rewards-table_9.entry.js +55 -174
- package/dist/esm/sqm-route.entry.js +2 -1
- package/dist/esm/sqm-scroll.entry.js +12 -8
- package/dist/esm/sqm-stencilbook.entry.js +4808 -4180
- package/dist/esm/sqm-tab.entry.js +5 -4
- package/dist/esm/sqm-tabs.entry.js +9 -8
- package/dist/esm/{sqm-text-span-view-72f43dff.js → sqm-text-span-view-ed92b3c6.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +8 -4
- package/dist/esm/{sqm-user-info-form-view-8a95c5eb.js → sqm-user-info-form-view-c044a385.js} +173 -163
- package/dist/esm/sqm-widget-verification-controller.entry.js +4 -9
- package/dist/esm/subregions-d9f177f6.js +1452 -0
- package/dist/esm/{useChildElements-aa9eb7c9.js → useChildElements-a69f208f.js} +3 -3
- package/dist/esm/{useIndirectTaxForm-8d2e873d.js → useIndirectTaxForm-64a3ca69.js} +32 -28
- package/dist/esm/{useInstantAccessRegistration-7b11eb02.js → useInstantAccessRegistration-8c678a5a.js} +6 -6
- package/dist/esm/{useLeadFormState-b67018f2.js → useLeadFormState-34e05463.js} +7 -7
- package/dist/esm/{usePortalRegistrationForm-91e5786d.js → usePortalRegistrationForm-c6519939.js} +14 -11
- package/dist/esm/{useReferralCodes-a0a271ca.js → useReferralCodes-d0a384e4.js} +9 -9
- package/dist/esm/{useReferralTable-670580ff.js → useReferralTable-214dff06.js} +11 -11
- package/dist/esm/{useRegistrationFormState-95a75c57.js → useRegistrationFormState-72b4786d.js} +3 -3
- package/dist/esm/{useVerificationEmail-99d9f705.js → useVerificationEmail-b2c349a3.js} +12 -10
- package/dist/esm/{utilities-23a276e0.js → utilities-ceab25cd.js} +2 -2
- package/dist/esm-es5/AsYouType-cc09fa68.js +1 -0
- package/dist/esm-es5/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm-es5/GenericTableView-4f7ac63d.js +1 -0
- package/dist/esm-es5/JSS-e97b34f4.js +8 -0
- package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +1 -0
- package/dist/esm-es5/copy-text-view-e1c3f2cd.js +1 -0
- package/dist/esm-es5/data-510cc9b7.js +1 -0
- package/dist/esm-es5/demoMerge-a0320a8e.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-f88a3e54.js +53 -0
- package/dist/esm-es5/email-registration-view-7a63a912.js +1 -0
- package/dist/esm-es5/global-cf0cc6b1.js +271 -0
- package/dist/esm-es5/imageUrl-4775f17b.js +1 -1
- package/dist/esm-es5/index-7a8b0c0b.js +2 -0
- package/dist/esm-es5/index-b04013cc.js +1 -0
- package/dist/esm-es5/index-e6f5153e.js +1 -0
- package/dist/esm-es5/jsonpointer-c5423376.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-40b943cb.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mockRewardData-2cceba7a.js +1 -0
- package/dist/esm-es5/parseStates-0c27f2de.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-e911a0f7.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message_2.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field-view-d055e7bd.js +1 -0
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field-view-b0d62f1c.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-754b2484.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-e2094399.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-3b59be37.js +1 -0
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-fcd53673.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-f27adfba.js +1 -0
- 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-113e1969.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password-view-f9fb6355.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-ee40e3f2.js +1 -0
- package/dist/esm-es5/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.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-scroll.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-ed92b3c6.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-c044a385.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/subregions-d9f177f6.js +1 -0
- package/dist/esm-es5/useChildElements-a69f208f.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-64a3ca69.js +6 -0
- package/dist/esm-es5/useInstantAccessRegistration-8c678a5a.js +1 -0
- package/dist/esm-es5/useLeadFormState-34e05463.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-c6519939.js +1 -0
- package/dist/esm-es5/useReferralCodes-d0a384e4.js +1 -0
- package/dist/esm-es5/useReferralTable-214dff06.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-72b4786d.js +1 -0
- package/dist/esm-es5/useVerificationEmail-b2c349a3.js +1 -0
- package/dist/esm-es5/utilities-ceab25cd.js +1 -0
- package/dist/esm-es5/utils-334c1e34.js +1 -1
- package/dist/loader/index.d.ts +9 -1
- package/dist/loader/package.json +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +2 -1
- package/dist/mint-components/p-029ee766.system.js +1 -0
- package/dist/mint-components/p-04eaa3bb.system.js +1 -0
- package/dist/mint-components/p-056845fb.js +56 -0
- package/dist/mint-components/p-05715d8c.system.entry.js +1 -0
- package/dist/mint-components/p-0650e0f1.system.js +1 -0
- package/dist/mint-components/p-09a6ab1f.entry.js +1 -0
- package/dist/mint-components/p-0a8c9f35.system.entry.js +1 -0
- package/dist/mint-components/{p-11c127f5.js → p-0b77b3fe.js} +1 -1
- package/dist/mint-components/p-0bc61e27.system.entry.js +1 -0
- package/dist/mint-components/p-0bdacc2d.system.js +1 -0
- package/dist/mint-components/p-0c81f11f.system.entry.js +1 -0
- package/dist/mint-components/p-0c97293e.entry.js +1 -0
- package/dist/mint-components/p-0d69fc17.system.entry.js +1 -0
- package/dist/mint-components/p-0daa339e.entry.js +1 -0
- package/dist/mint-components/p-0f65e4ad.system.js +1 -0
- package/dist/mint-components/p-11028f98.system.js +1 -0
- package/dist/mint-components/p-119b9680.system.js +1 -0
- package/dist/mint-components/{p-ed741b3b.js → p-125c5bec.js} +6 -6
- package/dist/mint-components/p-12ae9c97.entry.js +1 -0
- package/dist/mint-components/p-139825b2.entry.js +1 -0
- package/dist/mint-components/p-14f0af4c.system.entry.js +1 -0
- package/dist/mint-components/{p-1a3a57c0.js → p-159a9368.js} +1 -1
- package/dist/mint-components/{p-78e98761.js → p-15f170d4.js} +4 -4
- package/dist/mint-components/p-162e5426.system.js +1 -0
- package/dist/mint-components/p-1933e4cc.system.entry.js +1 -0
- package/dist/mint-components/p-1aa5cdff.entry.js +1 -0
- package/dist/mint-components/p-1b673705.system.js +1 -0
- package/dist/mint-components/p-1e1543c7.entry.js +1 -0
- package/dist/mint-components/p-201ae45a.js +1 -0
- package/dist/mint-components/p-20b90db3.system.entry.js +1 -0
- package/dist/mint-components/p-2380b28e.system.entry.js +1 -0
- package/dist/mint-components/p-258152c8.system.entry.js +1 -0
- package/dist/mint-components/p-29be0454.system.entry.js +1 -0
- package/dist/mint-components/p-2af001d4.system.js +1 -0
- package/dist/mint-components/{p-88e16945.js → p-2b052eed.js} +1 -1
- package/dist/mint-components/p-2b5c577a.system.js +1 -0
- package/dist/mint-components/p-2ff39583.entry.js +33 -0
- package/dist/mint-components/p-3104b4ba.entry.js +1 -0
- package/dist/mint-components/p-324dd9c9.system.entry.js +1 -0
- package/dist/mint-components/p-32b3c92e.system.entry.js +1 -0
- package/dist/mint-components/{p-c813ec64.js → p-3595dbe3.js} +1 -1
- package/dist/mint-components/p-384d4366.system.entry.js +1 -0
- package/dist/mint-components/{p-a417a4c7.js → p-388fdcdc.js} +1 -1
- package/dist/mint-components/{p-acaf505d.entry.js → p-39e59497.entry.js} +1 -1
- package/dist/mint-components/p-3a8fa8df.system.entry.js +1 -0
- package/dist/mint-components/{p-456ccda6.system.js → p-3aab5e80.system.js} +1 -1
- package/dist/mint-components/p-3b7eac48.js +1 -0
- package/dist/mint-components/p-3f9d4025.js +254 -0
- package/dist/mint-components/p-4639a9ed.entry.js +1 -0
- package/dist/mint-components/p-483c2ce0.system.entry.js +1 -0
- package/dist/mint-components/p-487dac4b.system.js +271 -0
- package/dist/mint-components/p-49ca1533.system.entry.js +1 -0
- package/dist/mint-components/p-49d4188a.system.js +1 -0
- package/dist/mint-components/p-4be3689e.system.entry.js +1 -0
- package/dist/mint-components/p-4d690bf1.system.js +1 -0
- package/dist/mint-components/p-4ea630ba.system.js +1 -0
- package/dist/mint-components/p-5a1be3aa.entry.js +83 -0
- package/dist/mint-components/p-5a2c495f.js +1 -0
- package/dist/mint-components/p-5b043988.system.entry.js +1 -0
- package/dist/mint-components/p-5bacacba.entry.js +13 -0
- package/dist/mint-components/p-5e7e4e54.system.entry.js +1 -0
- package/dist/mint-components/p-6333265f.system.js +1 -1
- package/dist/mint-components/p-643a756b.system.js +53 -0
- package/dist/mint-components/p-647ca265.entry.js +1 -0
- package/dist/mint-components/p-647ffff2.entry.js +1 -0
- package/dist/mint-components/p-64c93b03.system.js +1 -0
- package/dist/mint-components/p-6708043c.entry.js +1 -0
- package/dist/mint-components/p-6a7c9ae4.system.entry.js +1 -0
- package/dist/mint-components/p-6a7cd966.system.js +1 -0
- package/dist/mint-components/p-6b9ff091.system.js +1 -0
- package/dist/mint-components/p-6be0e0a7.system.entry.js +1 -0
- package/dist/mint-components/p-6ccdf33a.js +1 -0
- package/dist/mint-components/p-6cdde5e8.system.js +1 -0
- package/dist/mint-components/p-6cfca206.js +1 -0
- package/dist/mint-components/{p-d276468c.js → p-6e00edce.js} +1 -1
- package/dist/mint-components/p-6eb14db9.system.entry.js +1 -0
- package/dist/mint-components/p-6f3ba1ad.system.js +1 -0
- package/dist/mint-components/p-6f66bb97.system.js +1 -0
- package/dist/mint-components/p-7127e360.system.entry.js +1 -0
- package/dist/mint-components/{p-d0559e66.js → p-71759064.js} +1 -1
- package/dist/mint-components/p-72f11f03.js +1 -0
- package/dist/mint-components/p-732ac03d.js +1 -0
- package/dist/mint-components/p-74f50554.js +1 -0
- package/dist/mint-components/p-7558fe46.js +499 -0
- package/dist/mint-components/{p-c43e1d3b.js → p-75b7496e.js} +1 -1
- package/dist/mint-components/p-76d36b05.js +1 -0
- package/dist/mint-components/p-7a8ed2f3.system.entry.js +1 -0
- package/dist/mint-components/{p-3390f1f2.system.js → p-7d992af1.system.js} +2 -2
- package/dist/mint-components/p-7f71b56b.system.entry.js +1 -0
- package/dist/mint-components/p-81b63e83.system.entry.js +1 -0
- package/dist/mint-components/p-83330731.system.js +1 -0
- package/dist/mint-components/p-834cd992.js +2 -0
- package/dist/mint-components/p-843c9997.system.js +1 -0
- package/dist/mint-components/{p-956f9479.system.js → p-8680e52b.system.js} +1 -1
- package/dist/mint-components/p-8740794e.system.js +2 -0
- package/dist/mint-components/p-885630e6.entry.js +1 -0
- package/dist/mint-components/p-8886a874.system.js +1 -0
- package/dist/mint-components/p-88b65807.system.js +1 -0
- package/dist/mint-components/p-89b410d5.system.entry.js +1 -0
- package/dist/mint-components/p-89eef397.entry.js +1 -0
- package/dist/mint-components/p-8aae5dba.system.entry.js +1 -0
- package/dist/mint-components/p-8ba39302.entry.js +1 -0
- package/dist/mint-components/{p-c2254b88.js → p-8d85f34c.js} +1 -1
- package/dist/mint-components/p-8f67c580.js +1 -0
- package/dist/mint-components/p-8fa1f8e3.entry.js +1 -0
- package/dist/mint-components/p-930cc94f.system.js +1 -0
- package/dist/mint-components/p-94f3e0a2.js +1 -0
- package/dist/mint-components/p-96e332db.entry.js +17 -0
- package/dist/mint-components/p-9755e82a.system.entry.js +1 -0
- package/dist/mint-components/p-9a7f186b.entry.js +1 -0
- package/dist/mint-components/p-9c2e286c.entry.js +11 -0
- package/dist/mint-components/{p-e30abc44.js → p-9cabd2d1.js} +1 -1
- package/dist/mint-components/p-9d06abb3.entry.js +13 -0
- package/dist/mint-components/p-9d1659c4.entry.js +308 -0
- package/dist/mint-components/p-9d6ef5ca.entry.js +11 -0
- package/dist/mint-components/p-a0e6ccbc.system.js +1 -0
- package/dist/mint-components/p-a35191ca.system.js +1 -0
- package/dist/mint-components/p-a3d1c665.system.entry.js +1 -0
- package/dist/mint-components/p-a43a9fa9.system.js +1 -1
- package/dist/mint-components/{p-04da3964.system.js → p-a6c96b8a.system.js} +1 -1
- package/dist/mint-components/p-a75748c4.js +13 -0
- package/dist/mint-components/{p-f9fcc772.js → p-a7a74002.js} +1 -1
- package/dist/mint-components/{p-3484f1c1.js → p-a8e2f45b.js} +1 -1
- package/dist/mint-components/p-a976d930.system.entry.js +1 -0
- package/dist/mint-components/p-aadbe44d.js +1 -0
- package/dist/mint-components/p-aaf15612.entry.js +1 -0
- package/dist/mint-components/p-ab1e96ea.system.js +1 -0
- package/dist/mint-components/p-abd9e52b.system.entry.js +1 -0
- package/dist/mint-components/{p-19aebd7d.js → p-ac32d96a.js} +1 -1
- package/dist/mint-components/{p-381af581.js → p-acd3e9e3.js} +1 -1
- package/dist/mint-components/{p-9a69f781.system.js → p-ae5f7df6.system.js} +1 -1
- package/dist/mint-components/p-af9d3491.js +1 -0
- package/dist/mint-components/p-b1f880ee.entry.js +1 -0
- package/dist/mint-components/p-b492fd4b.system.entry.js +1 -0
- package/dist/mint-components/p-b652d3b3.js +1 -0
- package/dist/mint-components/p-b6f5ab75.system.entry.js +1 -0
- package/dist/mint-components/p-b907384d.entry.js +1 -0
- package/dist/mint-components/p-bbb494a8.system.js +1 -0
- package/dist/mint-components/p-bd1a14ba.js +1 -0
- package/dist/mint-components/p-bd66c171.js +1 -0
- package/dist/mint-components/p-be38ae67.js +1 -0
- package/dist/mint-components/p-c30dfd5d.entry.js +92 -0
- package/dist/mint-components/p-c380988f.system.js +1 -0
- package/dist/mint-components/{p-104f6ced.entry.js → p-c3a07f51.entry.js} +1 -1
- package/dist/mint-components/p-c50c206e.system.js +1 -0
- package/dist/mint-components/p-c6d2a452.js +1 -0
- package/dist/mint-components/p-c7dd2eaa.system.entry.js +1 -0
- package/dist/mint-components/p-c8f697e4.system.js +1 -0
- package/dist/mint-components/p-c980e369.entry.js +1 -0
- package/dist/mint-components/p-cb714df1.system.js +1 -0
- package/dist/mint-components/p-cdf099fe.js +108 -0
- package/dist/mint-components/p-ce06d498.js +52 -0
- package/dist/mint-components/p-d08ebaa9.js +1 -0
- package/dist/mint-components/p-d8fac546.entry.js +1 -0
- package/dist/mint-components/p-d91a97d2.js +1 -0
- package/dist/mint-components/p-da6cb2c3.system.entry.js +1 -0
- package/dist/mint-components/p-dd7e8c95.system.js +8 -0
- package/dist/mint-components/p-dd82a675.system.entry.js +1 -0
- package/dist/mint-components/p-df1206f0.entry.js +1 -0
- package/dist/mint-components/p-df45273e.js +1 -0
- package/dist/mint-components/p-df531a5d.entry.js +1 -0
- package/dist/mint-components/p-e1c55f04.system.entry.js +1 -0
- package/dist/mint-components/p-e33839b3.system.js +1 -0
- package/dist/mint-components/p-e389aded.entry.js +1 -0
- package/dist/mint-components/p-e73e0fc4.system.js +1 -0
- package/dist/mint-components/p-e7f7b9c6.entry.js +1 -0
- package/dist/mint-components/{p-b47e3740.system.js → p-e9942aae.system.js} +1 -1
- package/dist/mint-components/p-eac100d1.system.js +1 -0
- package/dist/mint-components/p-eb47b174.entry.js +1 -0
- package/dist/mint-components/p-eba82926.js +1 -0
- package/dist/mint-components/p-ec00bb5f.js +1 -0
- package/dist/mint-components/p-edc8d9bc.system.js +1 -0
- package/dist/mint-components/p-f0e1d538.entry.js +147 -0
- package/dist/mint-components/{p-ff75998a.system.entry.js → p-f53c7a87.system.entry.js} +1 -1
- package/dist/mint-components/p-f686c142.system.js +1 -0
- package/dist/mint-components/{p-5b0de730.js → p-fa2edc58.js} +152 -152
- package/dist/mint-components/p-fab41ea8.system.entry.js +1 -0
- package/dist/mint-components/p-fd14377b.entry.js +1 -0
- package/dist/mint-components/p-ff1336b3.entry.js +148 -0
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -1
- package/dist/types/components/sqm-context-router/useContextRouter.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +2 -2
- package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +3 -3
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +2 -2
- package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +3 -3
- package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +3 -3
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +2 -2
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +2 -2
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +5 -5
- package/dist/types/components/sqm-router/useRouter.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-stencilbook/Matrix.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +2 -2
- package/dist/types/components/tax-and-cash/data.d.ts +13 -13
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/mockData.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +6 -6
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/subregions.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +3771 -3
- package/dist/types/global/mixins.d.ts +5 -5
- package/dist/types/stencil-public-runtime.d.ts +275 -193
- package/dist/types/utils/RequiredPropsError.d.ts +1 -1
- package/dist/types/utils/demoMerge.d.ts +8 -0
- package/dist/types/utils/utils.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/stats.json +120116 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +34 -45
- package/dist/cjs/AsYouType-d15caac8.js +0 -4128
- package/dist/cjs/cjs-1066ec21.js +0 -135
- package/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/sqm-lead-input-field-view-cd3f8076.js +0 -51
- package/dist/cjs/subregions-36662566.js +0 -1101
- package/dist/esm/AsYouType-2d56519e.js +0 -4108
- package/dist/esm/cjs-bdfb4486.js +0 -133
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/sqm-lead-input-field-view-919dc0a9.js +0 -49
- package/dist/esm/subregions-16dc47a9.js +0 -1086
- package/dist/esm-es5/AsYouType-2d56519e.js +0 -1
- package/dist/esm-es5/GenericTableView-471a9386.js +0 -1
- package/dist/esm-es5/JSS-67b5cff8.js +0 -8
- package/dist/esm-es5/ShadowViewAddon-e1375e0d.js +0 -1
- package/dist/esm-es5/cjs-bdfb4486.js +0 -1
- package/dist/esm-es5/copy-text-view-87259b11.js +0 -1
- package/dist/esm-es5/data-04d2da44.js +0 -1
- package/dist/esm-es5/dom-context-hooks.module-50442785.js +0 -53
- package/dist/esm-es5/email-registration-view-4cdb4129.js +0 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/global-f019575d.js +0 -271
- package/dist/esm-es5/index-38ad4957.js +0 -1
- package/dist/esm-es5/index-ffa26b43.js +0 -1
- package/dist/esm-es5/index.module-cc08450c.js +0 -1
- package/dist/esm-es5/jsonpointer-388a7082.js +0 -1
- package/dist/esm-es5/luxon-1be92a8e.js +0 -1
- package/dist/esm-es5/mockRewardData-9b27d6f1.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/re-render-380499f8.js +0 -1
- package/dist/esm-es5/sqm-lead-checkbox-field-view-04aa32a7.js +0 -1
- package/dist/esm-es5/sqm-lead-input-field-view-919dc0a9.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-40837457.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-2b66457a.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-e02fb63a.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-41894261.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-79265df5.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-c7dd1c01.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-c102aa7c.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-72f43dff.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-8a95c5eb.js +0 -1
- package/dist/esm-es5/subregions-16dc47a9.js +0 -1
- package/dist/esm-es5/useChildElements-aa9eb7c9.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-8d2e873d.js +0 -6
- package/dist/esm-es5/useInstantAccessRegistration-7b11eb02.js +0 -1
- package/dist/esm-es5/useLeadFormState-b67018f2.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-91e5786d.js +0 -1
- package/dist/esm-es5/useReferralCodes-a0a271ca.js +0 -1
- package/dist/esm-es5/useReferralTable-670580ff.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-95a75c57.js +0 -1
- package/dist/esm-es5/useVerificationEmail-99d9f705.js +0 -1
- package/dist/esm-es5/utilities-23a276e0.js +0 -1
- package/dist/mint-components/p-0306ce68.js +0 -1
- package/dist/mint-components/p-03361685.system.entry.js +0 -1
- package/dist/mint-components/p-036b876f.system.js +0 -1
- package/dist/mint-components/p-083180bf.js +0 -1
- package/dist/mint-components/p-08f36275.entry.js +0 -92
- package/dist/mint-components/p-08f82f9e.system.entry.js +0 -1
- package/dist/mint-components/p-092305db.entry.js +0 -1
- package/dist/mint-components/p-0ac8d8f4.system.js +0 -1
- package/dist/mint-components/p-0b1e90fe.system.js +0 -1
- package/dist/mint-components/p-0dca7884.entry.js +0 -148
- package/dist/mint-components/p-0ec9eb9b.entry.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-128610fb.system.js +0 -1
- package/dist/mint-components/p-13d1b10d.entry.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-16bd4751.system.entry.js +0 -1
- package/dist/mint-components/p-1a673057.system.js +0 -8
- package/dist/mint-components/p-1cf59d96.system.js +0 -1
- package/dist/mint-components/p-1ee1dd9c.system.entry.js +0 -1
- package/dist/mint-components/p-1f292473.entry.js +0 -1
- package/dist/mint-components/p-220cd813.system.entry.js +0 -1
- package/dist/mint-components/p-2392aabe.entry.js +0 -1
- package/dist/mint-components/p-263ca1be.system.js +0 -1
- package/dist/mint-components/p-274816ae.entry.js +0 -1
- package/dist/mint-components/p-2786819c.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-28fa5159.entry.js +0 -1
- package/dist/mint-components/p-290314a6.js +0 -52
- package/dist/mint-components/p-2cc01e0a.system.js +0 -1
- package/dist/mint-components/p-319bf866.system.entry.js +0 -1
- package/dist/mint-components/p-31b7d861.entry.js +0 -1
- package/dist/mint-components/p-31c5f477.entry.js +0 -1
- package/dist/mint-components/p-31cfa118.system.entry.js +0 -1
- package/dist/mint-components/p-3268c98c.system.entry.js +0 -1
- package/dist/mint-components/p-34917ee4.system.js +0 -1
- package/dist/mint-components/p-34bea1be.system.js +0 -1
- package/dist/mint-components/p-3db7a3c0.system.entry.js +0 -1
- package/dist/mint-components/p-429fa431.js +0 -1
- package/dist/mint-components/p-44ce74b6.js +0 -1
- package/dist/mint-components/p-45be99ae.system.js +0 -1
- package/dist/mint-components/p-47dc2362.system.entry.js +0 -1
- package/dist/mint-components/p-48b25874.system.js +0 -1
- package/dist/mint-components/p-4bd679a7.system.js +0 -1
- package/dist/mint-components/p-4ca6cc3c.system.entry.js +0 -1
- package/dist/mint-components/p-51d06654.system.js +0 -1
- package/dist/mint-components/p-5218d9dd.system.entry.js +0 -1
- package/dist/mint-components/p-5264ea68.js +0 -1
- package/dist/mint-components/p-5300edb5.js +0 -1
- package/dist/mint-components/p-556338c3.system.js +0 -1
- package/dist/mint-components/p-573ea3fd.system.entry.js +0 -1
- package/dist/mint-components/p-57c693ef.system.entry.js +0 -1
- package/dist/mint-components/p-59d5f239.system.entry.js +0 -1
- package/dist/mint-components/p-5c3cdefe.entry.js +0 -1
- package/dist/mint-components/p-5cda271c.system.entry.js +0 -1
- package/dist/mint-components/p-5d99dbc9.js +0 -1
- package/dist/mint-components/p-641f968d.system.js +0 -1
- package/dist/mint-components/p-686dd5eb.system.js +0 -1
- package/dist/mint-components/p-6b5528b1.entry.js +0 -33
- package/dist/mint-components/p-6c3a1d86.js +0 -1
- package/dist/mint-components/p-6c8758ac.entry.js +0 -1
- package/dist/mint-components/p-6dffb326.entry.js +0 -13
- package/dist/mint-components/p-6e9738a4.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-7010498f.js +0 -1
- package/dist/mint-components/p-7062154c.system.js +0 -1
- package/dist/mint-components/p-717fa601.js +0 -1
- package/dist/mint-components/p-732907b1.system.entry.js +0 -1
- package/dist/mint-components/p-7562cd98.system.js +0 -1
- package/dist/mint-components/p-7ae8fb53.system.js +0 -1
- package/dist/mint-components/p-808f7f22.entry.js +0 -1
- package/dist/mint-components/p-80cee817.system.js +0 -1
- package/dist/mint-components/p-8452837a.system.js +0 -1
- package/dist/mint-components/p-85996c52.system.entry.js +0 -1
- package/dist/mint-components/p-8629d0be.system.entry.js +0 -1
- package/dist/mint-components/p-86c430f8.system.entry.js +0 -1
- package/dist/mint-components/p-8707c7fb.entry.js +0 -1
- package/dist/mint-components/p-8899ff38.system.entry.js +0 -1
- package/dist/mint-components/p-88a5350b.entry.js +0 -11
- package/dist/mint-components/p-8d363802.js +0 -1
- package/dist/mint-components/p-93e4954e.entry.js +0 -308
- package/dist/mint-components/p-952eefec.system.js +0 -1
- package/dist/mint-components/p-95f82a6f.entry.js +0 -9
- package/dist/mint-components/p-9715be5b.entry.js +0 -1
- package/dist/mint-components/p-97b8073f.system.js +0 -1
- package/dist/mint-components/p-99f7e6f1.js +0 -1
- package/dist/mint-components/p-9f517f81.entry.js +0 -1
- package/dist/mint-components/p-9f7d1197.system.entry.js +0 -1
- package/dist/mint-components/p-a04be06d.system.entry.js +0 -1
- package/dist/mint-components/p-a08157c4.js +0 -1
- package/dist/mint-components/p-a495e3a5.entry.js +0 -1
- package/dist/mint-components/p-a52a961e.entry.js +0 -1
- package/dist/mint-components/p-a6920cc9.system.entry.js +0 -1
- package/dist/mint-components/p-a7fc1e02.js +0 -42
- package/dist/mint-components/p-ab8a551f.system.entry.js +0 -1
- package/dist/mint-components/p-ac65d2c1.entry.js +0 -1
- package/dist/mint-components/p-ad9ea625.system.entry.js +0 -1
- package/dist/mint-components/p-b0aa9348.entry.js +0 -1
- package/dist/mint-components/p-b2295bc5.system.js +0 -1
- package/dist/mint-components/p-b56f3e55.js +0 -1
- package/dist/mint-components/p-b61be711.entry.js +0 -1
- package/dist/mint-components/p-b6504987.system.js +0 -53
- package/dist/mint-components/p-b69dbed8.system.js +0 -1
- package/dist/mint-components/p-b6b5fa4f.system.entry.js +0 -1
- package/dist/mint-components/p-bc625793.system.js +0 -1
- package/dist/mint-components/p-bee4af5d.js +0 -1
- package/dist/mint-components/p-c03131dd.js +0 -1
- package/dist/mint-components/p-c09ae087.system.js +0 -1
- package/dist/mint-components/p-c1086930.js +0 -1
- package/dist/mint-components/p-c50e77ad.entry.js +0 -1
- package/dist/mint-components/p-c5698ef9.system.js +0 -1
- package/dist/mint-components/p-ca872769.system.entry.js +0 -1
- package/dist/mint-components/p-ca90ea64.js +0 -499
- package/dist/mint-components/p-cdf5354f.entry.js +0 -1
- package/dist/mint-components/p-cef45012.js +0 -1
- package/dist/mint-components/p-d028db52.system.entry.js +0 -1
- package/dist/mint-components/p-d0318b41.entry.js +0 -13
- package/dist/mint-components/p-d0ce74bd.system.js +0 -1
- package/dist/mint-components/p-d267f4bb.system.js +0 -1
- package/dist/mint-components/p-d26df2da.entry.js +0 -1
- package/dist/mint-components/p-d3b1ab20.system.entry.js +0 -1
- package/dist/mint-components/p-d463fa82.system.js +0 -1
- package/dist/mint-components/p-d46a048d.system.entry.js +0 -1
- package/dist/mint-components/p-d533ff7b.system.js +0 -271
- package/dist/mint-components/p-d6a7f402.entry.js +0 -1
- package/dist/mint-components/p-d9dbbf22.system.entry.js +0 -1
- package/dist/mint-components/p-db30fbd1.js +0 -13
- package/dist/mint-components/p-de8d7e90.entry.js +0 -17
- package/dist/mint-components/p-df28013f.system.entry.js +0 -1
- package/dist/mint-components/p-dffad4a8.entry.js +0 -1
- package/dist/mint-components/p-e006b6ad.entry.js +0 -1
- package/dist/mint-components/p-e0578030.system.js +0 -1
- package/dist/mint-components/p-e31c7242.system.entry.js +0 -1
- package/dist/mint-components/p-e4eac70d.js +0 -108
- package/dist/mint-components/p-e506bf7f.entry.js +0 -1
- package/dist/mint-components/p-e66187b6.system.entry.js +0 -1
- package/dist/mint-components/p-e7cf6632.js +0 -1
- package/dist/mint-components/p-e7d6e1e0.entry.js +0 -11
- package/dist/mint-components/p-e7e129ac.js +0 -1
- package/dist/mint-components/p-eb992f94.js +0 -1
- package/dist/mint-components/p-ec3e44c8.system.js +0 -1
- package/dist/mint-components/p-ec58040a.system.js +0 -1
- package/dist/mint-components/p-eedda43c.system.js +0 -1
- package/dist/mint-components/p-f0b63c48.entry.js +0 -83
- package/dist/mint-components/p-f1584abb.system.entry.js +0 -1
- package/dist/mint-components/p-f381533a.js +0 -1
- package/dist/mint-components/p-f45e076d.system.js +0 -1
- package/dist/mint-components/p-f507b364.system.entry.js +0 -1
- package/dist/mint-components/p-f69a4eb1.system.entry.js +0 -1
- package/dist/mint-components/p-f89c6a57.system.js +0 -1
- package/dist/mint-components/p-f982278b.entry.js +0 -1
- package/dist/mint-components/p-fbdd8c2a.system.entry.js +0 -1
- package/dist/mint-components/p-fdc4f293.system.entry.js +0 -1
- package/dist/mint-components/p-ff1a5481.system.js +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-
|
|
2
|
-
import { i as
|
|
3
|
-
import { b as browser, u as useMemo, k as useState, m as useRef } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { H, L, J, d as dist, w as wn, B, F as Fn, $ as $e, g as getEnvironmentSDK, X as Xe, Q as Qe } from './index.module-cc08450c.js';
|
|
5
|
-
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
|
-
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-a0a271ca.js';
|
|
1
|
+
import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-7a8b0c0b.js';
|
|
2
|
+
import { c as createStyleSheet, i as index, a as create } from './JSS-e97b34f4.js';
|
|
9
3
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
|
|
10
|
-
import {
|
|
11
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
12
|
-
import { u as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
4
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-fcd53673.js';
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-ed92b3c6.js';
|
|
6
|
+
import { b as browser, u as useMemo, k as useState, m as useRef } from './dom-context-hooks.module-f88a3e54.js';
|
|
7
|
+
import { d as demoMerge } from './demoMerge-a0320a8e.js';
|
|
8
|
+
import { u as useChildElements } from './useChildElements-a69f208f.js';
|
|
9
|
+
import { a as useProgramId, v as useLocale, b as useUserIdentity, d as dist, e as useQuery, c as useEngagementMedium, u as useParentValue, f as useMutation, g as getEnvironmentSDK, K as useLazyQuery, h as useRefreshDispatcher } from './index-b04013cc.js';
|
|
10
|
+
import { p as pathToRegexp } from './index-e6f5153e.js';
|
|
11
|
+
import { l as luxon } from './luxon-40b943cb.js';
|
|
12
|
+
import { i as intl } from './global-cf0cc6b1.js';
|
|
13
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
|
+
import { C as CopyTextView } from './copy-text-view-e1c3f2cd.js';
|
|
15
|
+
import { a as isValidColor, b as isMobile } from './utilities-ceab25cd.js';
|
|
15
16
|
import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
|
|
16
|
-
import { a as
|
|
17
|
-
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-200c9df8.js';
|
|
17
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-d0a384e4.js';
|
|
18
18
|
|
|
19
19
|
function BigStatView(props) {
|
|
20
20
|
const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
|
|
@@ -72,7 +72,7 @@ const medium = {
|
|
|
72
72
|
linemessenger: { color: "#00B300", text: "#fff", icon: "line" },
|
|
73
73
|
pinterest: { color: "#e60023", text: "#fff", icon: "pinterest" },
|
|
74
74
|
};
|
|
75
|
-
const style = {
|
|
75
|
+
const style$a = {
|
|
76
76
|
HostBlock: HostBlock,
|
|
77
77
|
buttonStyle: {
|
|
78
78
|
display: "flex",
|
|
@@ -81,8 +81,8 @@ const style = {
|
|
|
81
81
|
lineHeight: "0",
|
|
82
82
|
},
|
|
83
83
|
};
|
|
84
|
-
const sheet = createStyleSheet(style);
|
|
85
|
-
const styleString = sheet.toString();
|
|
84
|
+
const sheet$a = createStyleSheet(style$a);
|
|
85
|
+
const styleString$a = sheet$a.toString();
|
|
86
86
|
function ShareButtonView(props, children) {
|
|
87
87
|
const vanillaStyle = `
|
|
88
88
|
sl-button::part(base) {
|
|
@@ -112,9 +112,9 @@ function ShareButtonView(props, children) {
|
|
|
112
112
|
}
|
|
113
113
|
`;
|
|
114
114
|
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
|
|
115
|
-
h("style", { type: "text/css" }, styleString),
|
|
115
|
+
h("style", { type: "text/css" }, styleString$a),
|
|
116
116
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
117
|
-
h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base, base: button-base` },
|
|
117
|
+
h("sl-button", { class: sheet$a.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base, base: button-base` },
|
|
118
118
|
!props.hideicon && (h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
|
|
119
119
|
!props.hidetext && children)));
|
|
120
120
|
}
|
|
@@ -231,29 +231,29 @@ function PortalChangePasswordView(props) {
|
|
|
231
231
|
return (h("div", { part: "sqm-base" },
|
|
232
232
|
h("style", { type: "text/css" }, styleString),
|
|
233
233
|
h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, "onSl-hide": () => callbacks.setOpen(false) },
|
|
234
|
-
h(PortalSectionView,
|
|
234
|
+
h(PortalSectionView, { ...{
|
|
235
|
+
labelMargin: "x-large",
|
|
236
|
+
padding: "none",
|
|
237
|
+
label: (h(TextSpanView, { ...{ type: "h2" } }, states.content.modalChangePasswordHeader)),
|
|
238
|
+
content: (h(PortalContainerView, { ...{ direction: "column", padding: "none", gap: "32px" } },
|
|
239
|
+
states.error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
240
|
+
h("div", { part: "erroralert-text" }, states.error))),
|
|
241
|
+
states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
242
|
+
h("div", { part: "successalert-text" }, states.content.successMessage))),
|
|
243
|
+
h("sl-form", { "onSl-submit": callbacks.submit },
|
|
244
|
+
h("div", { class: sheet.classes.InputContainer },
|
|
245
|
+
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
246
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
247
|
+
h(PortalContainerView, { ...{ direction: "row", padding: "none", gap: "20px" } },
|
|
248
|
+
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
249
|
+
h("sl-button", { class: sheet.classes.CancelButton, type: "secondary", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
250
|
+
} })),
|
|
251
|
+
h(PortalSectionView, { ...{
|
|
235
252
|
labelMargin: "x-large",
|
|
236
|
-
padding: "
|
|
237
|
-
label: (h(TextSpanView,
|
|
238
|
-
content: (h(
|
|
239
|
-
|
|
240
|
-
h("div", { part: "erroralert-text" }, states.error))),
|
|
241
|
-
states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
242
|
-
h("div", { part: "successalert-text" }, states.content.successMessage))),
|
|
243
|
-
h("sl-form", { "onSl-submit": callbacks.submit },
|
|
244
|
-
h("div", { class: sheet.classes.InputContainer },
|
|
245
|
-
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
246
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
247
|
-
h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
248
|
-
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
249
|
-
h("sl-button", { class: sheet.classes.CancelButton, type: "secondary", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
250
|
-
}))),
|
|
251
|
-
h(PortalSectionView, Object.assign({}, {
|
|
252
|
-
labelMargin: "x-large",
|
|
253
|
-
padding: "xxx-large",
|
|
254
|
-
label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
|
|
255
|
-
content: (h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
256
|
-
}),
|
|
253
|
+
padding: "xxx-large",
|
|
254
|
+
label: (h(TextSpanView, { ...{ type: "h2" } }, states.content.portalChangePasswordHeader)),
|
|
255
|
+
content: (h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
256
|
+
} },
|
|
257
257
|
h("style", { type: "text/css" }, styleString))));
|
|
258
258
|
}
|
|
259
259
|
|
|
@@ -272,7 +272,7 @@ function PoweredByImg({ color = "#161414", width = 120, height = 17, }) {
|
|
|
272
272
|
h("path", { transform: "translate(1197.28 53.0)", d: "M139.6 0C124.92 0 111.45 8.01 104.35 20.68C97.23 8.01 83.7501 0 69.0601 0C57.4901 0 46.58 5.84 38.96 14.35V3.22H0V108.99H38.96V43.88C38.96 35.17 46.04 28.09 54.75 28.09C63.46 28.09 70.54 35.17 70.54 43.88V108.99H109.5V43.88C109.5 35.17 116.58 28.09 125.29 28.09C134 28.09 141.08 35.17 141.08 43.88V108.99H180.04V41.36C180.04 41.05 180.04 40.74 180.04 40.43C180.04 18.14 161.9 0.00999832 139.6 0.00999832V0Z", fill: color })));
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
const style$
|
|
275
|
+
const style$9 = {
|
|
276
276
|
Wrapper: AuthWrapper,
|
|
277
277
|
Column: AuthColumn,
|
|
278
278
|
HostBlock: HostBlock,
|
|
@@ -289,7 +289,7 @@ const style$1 = {
|
|
|
289
289
|
},
|
|
290
290
|
ErrorStyle: ErrorStyles,
|
|
291
291
|
};
|
|
292
|
-
const vanillaStyle = `
|
|
292
|
+
const vanillaStyle$8 = `
|
|
293
293
|
sqm-portal-register {
|
|
294
294
|
margin: 0 auto;
|
|
295
295
|
width: 100%;
|
|
@@ -304,19 +304,19 @@ sqm-portal-register {
|
|
|
304
304
|
display: none;
|
|
305
305
|
}
|
|
306
306
|
`;
|
|
307
|
-
const sheet$
|
|
308
|
-
const styleString$
|
|
307
|
+
const sheet$9 = createStyleSheet(style$9);
|
|
308
|
+
const styleString$9 = sheet$9.toString();
|
|
309
309
|
function BaseRegistrationFormView(props) {
|
|
310
310
|
var _a, _b;
|
|
311
311
|
const { states, content, callbacks } = props;
|
|
312
|
-
return (h("div", { class: sheet$
|
|
312
|
+
return (h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
|
|
313
313
|
h("style", { type: "text/css" },
|
|
314
|
-
vanillaStyle,
|
|
315
|
-
styleString$
|
|
314
|
+
vanillaStyle$8,
|
|
315
|
+
styleString$9),
|
|
316
316
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
317
|
-
h("sl-form", { class: sheet$
|
|
317
|
+
h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
|
|
318
318
|
content.formData,
|
|
319
|
-
h("sl-input",
|
|
319
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
|
|
320
320
|
if (!value) {
|
|
321
321
|
return content.requiredFieldErrorMessage;
|
|
322
322
|
}
|
|
@@ -324,14 +324,15 @@ function BaseRegistrationFormView(props) {
|
|
|
324
324
|
if (!value.includes("@")) {
|
|
325
325
|
return content.invalidEmailErrorMessage;
|
|
326
326
|
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
327
|
+
}, ...(((_a = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _a === void 0 ? void 0 : _a.email)
|
|
328
|
+
? {
|
|
329
|
+
class: sheet$9.classes.ErrorStyle,
|
|
330
|
+
helpText: ((_b = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ||
|
|
331
|
+
content.requiredFieldErrorMessage,
|
|
332
|
+
}
|
|
333
|
+
: []) }),
|
|
333
334
|
content.terms,
|
|
334
|
-
h("div", { class: sheet$
|
|
335
|
+
h("div", { class: sheet$9.classes.ButtonsContainer },
|
|
335
336
|
h("sl-button", { submit: true, exportparts: "base: primarybutton-base", type: "primary", style: { margin: "0" } }, content.submitLabel || "Register"),
|
|
336
337
|
h("sl-menu-divider", { style: { margin: "0" } }),
|
|
337
338
|
content.googleButton,
|
|
@@ -341,7 +342,7 @@ function BaseRegistrationFormView(props) {
|
|
|
341
342
|
const debug = browser("sq:useBigStat");
|
|
342
343
|
const LOADING = "...";
|
|
343
344
|
const debugQuery = (query, variables, getStat) => {
|
|
344
|
-
const res =
|
|
345
|
+
const res = useQuery(query, variables);
|
|
345
346
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
346
347
|
console.error("issue getting stat:", res);
|
|
347
348
|
}
|
|
@@ -768,7 +769,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
768
769
|
locale: $locale
|
|
769
770
|
formatType: UNIT_FORMATTED
|
|
770
771
|
)}`;
|
|
771
|
-
const result =
|
|
772
|
+
const result = useQuery(query, {
|
|
772
773
|
value: redeemedTotal,
|
|
773
774
|
unit,
|
|
774
775
|
locale,
|
|
@@ -827,7 +828,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
827
828
|
locale: $locale
|
|
828
829
|
formatType: UNIT_FORMATTED
|
|
829
830
|
)}`;
|
|
830
|
-
const result =
|
|
831
|
+
const result = useQuery(query, {
|
|
831
832
|
value: redeemedTotal,
|
|
832
833
|
unit,
|
|
833
834
|
locale,
|
|
@@ -1065,7 +1066,7 @@ const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValu
|
|
|
1065
1066
|
const totalEarned = balance
|
|
1066
1067
|
? (balance.totalAssignedCredit || 0) + (balance.totalPendingCredit || 0)
|
|
1067
1068
|
: 0;
|
|
1068
|
-
const result =
|
|
1069
|
+
const result = useQuery(dist.gql `
|
|
1069
1070
|
query (
|
|
1070
1071
|
$value: Int!
|
|
1071
1072
|
$unit: String!
|
|
@@ -1355,11 +1356,11 @@ const StatPaths = [
|
|
|
1355
1356
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1356
1357
|
function useBigStat(props) {
|
|
1357
1358
|
var _a;
|
|
1358
|
-
const { statType, flexReverse, alignment, programId =
|
|
1359
|
+
const { statType, flexReverse, alignment, programId = useProgramId(), } = props;
|
|
1359
1360
|
// triggers a re-render if the label is manually changed
|
|
1360
1361
|
useChildElements();
|
|
1361
|
-
const locale =
|
|
1362
|
-
const userIdent =
|
|
1362
|
+
const locale = useLocale();
|
|
1363
|
+
const userIdent = useUserIdentity();
|
|
1363
1364
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1364
1365
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1365
1366
|
return {
|
|
@@ -1438,7 +1439,7 @@ function useDemoBigStat(props) {
|
|
|
1438
1439
|
const queryName = result[1];
|
|
1439
1440
|
const label = queries[queryName].label;
|
|
1440
1441
|
return {
|
|
1441
|
-
props:
|
|
1442
|
+
props: demoMerge({
|
|
1442
1443
|
statvalue: "12345",
|
|
1443
1444
|
value: 0,
|
|
1444
1445
|
flexReverse: props.flexReverse,
|
|
@@ -1448,7 +1449,7 @@ function useDemoBigStat(props) {
|
|
|
1448
1449
|
descriptionTextColor: props.descriptionTextColor,
|
|
1449
1450
|
descriptionFontSize: props.descriptionFontSize,
|
|
1450
1451
|
statFontWeight: props.statFontWeight,
|
|
1451
|
-
}, props.demoData || {}
|
|
1452
|
+
}, props.demoData || {}),
|
|
1452
1453
|
label: label !== null && label !== void 0 ? label : "Demo Label",
|
|
1453
1454
|
};
|
|
1454
1455
|
}
|
|
@@ -1479,7 +1480,7 @@ function CardFeedView(props, children) {
|
|
|
1479
1480
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
1480
1481
|
}
|
|
1481
1482
|
|
|
1482
|
-
const style$
|
|
1483
|
+
const style$8 = {
|
|
1483
1484
|
Description: {
|
|
1484
1485
|
"& .icon": {
|
|
1485
1486
|
color: "var(--sqm-text)",
|
|
@@ -1524,20 +1525,20 @@ const style$2 = {
|
|
|
1524
1525
|
},
|
|
1525
1526
|
},
|
|
1526
1527
|
};
|
|
1527
|
-
const sheet$
|
|
1528
|
-
const styleString$
|
|
1528
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
1529
|
+
const styleString$8 = sheet$8.toString();
|
|
1529
1530
|
function Details(props) {
|
|
1530
1531
|
const rid = Math.random().toString(36).slice(2);
|
|
1531
1532
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1532
|
-
h("style", { type: "text/css" }, styleString$
|
|
1533
|
-
h("span", { class: sheet$
|
|
1533
|
+
h("style", { type: "text/css" }, styleString$8),
|
|
1534
|
+
h("span", { class: sheet$8.classes.Description },
|
|
1534
1535
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1535
1536
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1536
1537
|
h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
1537
1538
|
h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
|
|
1538
1539
|
}
|
|
1539
1540
|
|
|
1540
|
-
const Gift = () => {
|
|
1541
|
+
const Gift$1 = () => {
|
|
1541
1542
|
return (h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
1542
1543
|
h("path", { d: "M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z", fill: "#F2C94C" }),
|
|
1543
1544
|
h("path", { d: "M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z", fill: "#F2C94C" }),
|
|
@@ -1552,7 +1553,7 @@ const GreyGift = () => {
|
|
|
1552
1553
|
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" })));
|
|
1553
1554
|
};
|
|
1554
1555
|
|
|
1555
|
-
const style$
|
|
1556
|
+
const style$7 = {
|
|
1556
1557
|
ProgressBar: {
|
|
1557
1558
|
"& .progress-bar": {
|
|
1558
1559
|
height: "0",
|
|
@@ -1574,10 +1575,10 @@ const style$3 = {
|
|
|
1574
1575
|
marginTop: "var(--sl-spacing-medium)",
|
|
1575
1576
|
},
|
|
1576
1577
|
"&[data-expired] .progress::after": {
|
|
1577
|
-
backgroundColor: "#bfbfbf",
|
|
1578
|
+
backgroundColor: "#bfbfbf", //"var(--sl-color-neutral-300)",
|
|
1578
1579
|
},
|
|
1579
1580
|
"&[data-expired] .filled::after": {
|
|
1580
|
-
backgroundColor: "#bfbfbf",
|
|
1581
|
+
backgroundColor: "#bfbfbf", //"var(--sl-color-neutral-300)",
|
|
1581
1582
|
},
|
|
1582
1583
|
"&[data-complete] .filled::after .progress::after": {
|
|
1583
1584
|
backgroundColor: "var(--sl-color-primary-200)",
|
|
@@ -1665,14 +1666,14 @@ const style$3 = {
|
|
|
1665
1666
|
},
|
|
1666
1667
|
},
|
|
1667
1668
|
};
|
|
1668
|
-
const sheet$
|
|
1669
|
-
const styleString$
|
|
1669
|
+
const sheet$7 = createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
|
|
1670
|
+
const styleString$7 = sheet$7.toString();
|
|
1670
1671
|
function ProgressBarView(props) {
|
|
1671
1672
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1672
1673
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1673
1674
|
const { columns, items } = aggregate;
|
|
1674
|
-
return (h("div", { class: sheet$
|
|
1675
|
-
h("style", { type: "text/css" }, styleString$
|
|
1675
|
+
return (h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1676
|
+
h("style", { type: "text/css" }, styleString$7),
|
|
1676
1677
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1677
1678
|
(Boolean(finite) && progress > 2 * goal)
|
|
1678
1679
|
? "progress-bar repeatable-steps"
|
|
@@ -1723,7 +1724,7 @@ function addSteps({ progress, goal, expired }) {
|
|
|
1723
1724
|
columns.push("0fr");
|
|
1724
1725
|
items.push(h("div", { class: "filled" }));
|
|
1725
1726
|
items.push(h("div", { class: "progress bg" }, goal));
|
|
1726
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1727
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1727
1728
|
}
|
|
1728
1729
|
// reward fail
|
|
1729
1730
|
else {
|
|
@@ -1750,7 +1751,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1750
1751
|
items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progressBarUnit + progress));
|
|
1751
1752
|
items.push(h("div", { class: "remain" }));
|
|
1752
1753
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1753
|
-
items.push(h("div", { class: "gift" }, progress == goal ? expired ? h(GreyGift, null) : h(Gift, null) : h(GreyGift, null)));
|
|
1754
|
+
items.push(h("div", { class: "gift" }, progress == goal ? expired ? h(GreyGift, null) : h(Gift$1, null) : h(GreyGift, null)));
|
|
1754
1755
|
items.push(h("div", { class: "remain" }));
|
|
1755
1756
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
|
|
1756
1757
|
items.push(h("div", { class: "gift" }, h(GreyGift, null)));
|
|
@@ -1761,7 +1762,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1761
1762
|
"0.5fr 0fr 0fr " + ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr";
|
|
1762
1763
|
items.push(h("div", { class: "filled" }));
|
|
1763
1764
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1764
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1765
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1765
1766
|
items.push(h("div", { class: "filled" }));
|
|
1766
1767
|
items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progress == goal ? "" : progressBarUnit + progress));
|
|
1767
1768
|
items.push(h("div", { class: "remain" }));
|
|
@@ -1772,7 +1773,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1772
1773
|
else if (finite && repetitions >= finite) {
|
|
1773
1774
|
if (repetitions > 2) {
|
|
1774
1775
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 2)));
|
|
1775
|
-
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1776
|
+
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1776
1777
|
columns = "0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr";
|
|
1777
1778
|
}
|
|
1778
1779
|
else {
|
|
@@ -1780,10 +1781,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1780
1781
|
}
|
|
1781
1782
|
items.push(h("div", { class: "filled" }));
|
|
1782
1783
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 1)));
|
|
1783
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1784
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1784
1785
|
items.push(h("div", { class: "filled" }));
|
|
1785
1786
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * finite));
|
|
1786
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1787
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1787
1788
|
}
|
|
1788
1789
|
// multiple repetitions
|
|
1789
1790
|
else {
|
|
@@ -1794,10 +1795,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1794
1795
|
(0.5 - ratio) +
|
|
1795
1796
|
"fr 0fr 0fr";
|
|
1796
1797
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions - 1)));
|
|
1797
|
-
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1798
|
+
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1798
1799
|
items.push(h("div", { class: "filled" }));
|
|
1799
1800
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * repetitions));
|
|
1800
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1801
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1801
1802
|
items.push(h("div", { class: "filled" }));
|
|
1802
1803
|
items.push(h("div", { class: progress == goal * repetitions ? "progress top bg" : "progress top" }, progress == goal * repetitions ? "" : progressBarUnit + progress));
|
|
1803
1804
|
items.push(h("div", { class: "remain" }));
|
|
@@ -1839,7 +1840,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1839
1840
|
columns.push("0fr");
|
|
1840
1841
|
items.push(h("div", { class: "filled" }));
|
|
1841
1842
|
items.push(h("div", { class: "progress bg" }, i));
|
|
1842
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1843
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1843
1844
|
}
|
|
1844
1845
|
else {
|
|
1845
1846
|
items.push(h("div", { class: "filled" }));
|
|
@@ -1854,7 +1855,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1854
1855
|
columns.push("0fr");
|
|
1855
1856
|
columns.push("0fr");
|
|
1856
1857
|
items.push(h("div", { class: "progress bg" }, goal * (finite - 2)));
|
|
1857
|
-
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1858
|
+
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1858
1859
|
}
|
|
1859
1860
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
1860
1861
|
columns.push(ratio + "fr");
|
|
@@ -1871,14 +1872,14 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1871
1872
|
columns.push("0fr");
|
|
1872
1873
|
items.push(h("div", { class: "filled" }));
|
|
1873
1874
|
items.push(h("div", { class: "progress bg" }, goal * (finite - 1)));
|
|
1874
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1875
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1875
1876
|
}
|
|
1876
1877
|
else if (i == goal * 2) {
|
|
1877
1878
|
columns.push("0fr");
|
|
1878
1879
|
columns.push("0fr");
|
|
1879
1880
|
items.push(h("div", { class: "filled" }));
|
|
1880
1881
|
items.push(h("div", { class: "progress bg" }, goal * finite));
|
|
1881
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1882
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1882
1883
|
}
|
|
1883
1884
|
else {
|
|
1884
1885
|
items.push(h("div", { class: "filled" }));
|
|
@@ -1893,7 +1894,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1893
1894
|
columns.push("0fr");
|
|
1894
1895
|
columns.push("0fr");
|
|
1895
1896
|
items.push(h("div", { class: "progress bg" }, goal * (repetitions - 1)));
|
|
1896
|
-
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1897
|
+
items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1897
1898
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
1898
1899
|
columns.push(ratio + "fr");
|
|
1899
1900
|
columns.push("0fr");
|
|
@@ -1902,7 +1903,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1902
1903
|
columns.push("0fr");
|
|
1903
1904
|
items.push(h("div", { class: "filled" }));
|
|
1904
1905
|
items.push(h("div", { class: "progress bg" }, i + goal * (repetitions - 1)));
|
|
1905
|
-
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
|
|
1906
|
+
items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift$1, null)));
|
|
1906
1907
|
}
|
|
1907
1908
|
else {
|
|
1908
1909
|
items.push(h("div", { class: "filled" }));
|
|
@@ -1942,7 +1943,7 @@ function addLinear({ progress, goal, progressBarUnit, expired, }) {
|
|
|
1942
1943
|
: progressBarUnit + clamp(progress, 0, goal)));
|
|
1943
1944
|
items.push(h("div", { class: "remain" }));
|
|
1944
1945
|
items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1945
|
-
items.push(h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (h(GreyGift, null)) : (h(Gift, null))) : (h(GreyGift, null))));
|
|
1946
|
+
items.push(h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (h(GreyGift, null)) : (h(Gift$1, null))) : (h(GreyGift, null))));
|
|
1946
1947
|
return { items, columns };
|
|
1947
1948
|
}
|
|
1948
1949
|
function clamp(x, min, max) {
|
|
@@ -2188,8 +2189,8 @@ function TaskCardView(props) {
|
|
|
2188
2189
|
: "",
|
|
2189
2190
|
opacity: taskComplete || taskUnavailable ? "0.45" : "1",
|
|
2190
2191
|
} }, content.cardTitle)),
|
|
2191
|
-
states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details,
|
|
2192
|
-
content.showProgressBar && states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView,
|
|
2192
|
+
states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, { ...props, opacity: taskComplete || taskUnavailable ? "0.45" : "1" }))),
|
|
2193
|
+
content.showProgressBar && states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, { ...props.content, ...props.states, opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable }))),
|
|
2193
2194
|
h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sqm-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2194
2195
|
h("span", { class: "text" },
|
|
2195
2196
|
content.repeatable && (h("div", null,
|
|
@@ -2224,7 +2225,7 @@ function TaskCardView(props) {
|
|
|
2224
2225
|
} }, content.buttonText)))))))));
|
|
2225
2226
|
}
|
|
2226
2227
|
|
|
2227
|
-
const style$
|
|
2228
|
+
const style$6 = {
|
|
2228
2229
|
ErrorStyle: {
|
|
2229
2230
|
"&::part(control)": {
|
|
2230
2231
|
borderColor: "var(--sl-color-danger-500)",
|
|
@@ -2246,7 +2247,7 @@ const style$4 = {
|
|
|
2246
2247
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2247
2248
|
},
|
|
2248
2249
|
};
|
|
2249
|
-
const vanillaStyle$
|
|
2250
|
+
const vanillaStyle$7 = `
|
|
2250
2251
|
:host {
|
|
2251
2252
|
margin: 0 auto;
|
|
2252
2253
|
width: 100%;
|
|
@@ -2268,34 +2269,36 @@ sl-checkbox[checked]::part(checked-icon){
|
|
|
2268
2269
|
color: var(--sqm-input-background);
|
|
2269
2270
|
}
|
|
2270
2271
|
`;
|
|
2271
|
-
|
|
2272
|
-
const sheet$
|
|
2273
|
-
const styleString$
|
|
2272
|
+
index.setup(create());
|
|
2273
|
+
const sheet$6 = index.createStyleSheet(style$6);
|
|
2274
|
+
const styleString$6 = sheet$6.toString();
|
|
2274
2275
|
function CheckboxFieldView(props) {
|
|
2275
2276
|
var _a, _b, _c, _d, _e;
|
|
2276
2277
|
const { states, content, callbacks } = props;
|
|
2277
2278
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2278
|
-
return (h("div", { class: sheet$
|
|
2279
|
+
return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
|
|
2279
2280
|
h("style", { type: "text/css" },
|
|
2280
|
-
vanillaStyle$
|
|
2281
|
-
styleString$
|
|
2282
|
-
h("sl-checkbox",
|
|
2281
|
+
vanillaStyle$7,
|
|
2282
|
+
styleString$6),
|
|
2283
|
+
h("sl-checkbox", { exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2283
2284
|
e.target.value = e.target.checked;
|
|
2284
2285
|
callbacks.setChecked(e.target.value);
|
|
2285
|
-
}
|
|
2286
|
+
}, ...(!content.checkboxOptional ? { required: true } : []), disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) ||
|
|
2287
|
+
((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
|
|
2286
2288
|
if (!value && !content.checkboxOptional) {
|
|
2287
2289
|
return content.errorMessage;
|
|
2288
2290
|
}
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2291
|
+
}, ...(((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName])
|
|
2292
|
+
? {
|
|
2293
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2294
|
+
}
|
|
2295
|
+
: []) }, intl.formatMessage({
|
|
2293
2296
|
id: content.checkboxName + "-message",
|
|
2294
2297
|
defaultMessage: content.checkboxLabel,
|
|
2295
2298
|
}, {
|
|
2296
2299
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2297
2300
|
})),
|
|
2298
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2301
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$6.classes.ErrorMessageStyle }, content.errorMessage))));
|
|
2299
2302
|
}
|
|
2300
2303
|
|
|
2301
2304
|
function CouponCodeView(props) {
|
|
@@ -2322,7 +2325,7 @@ function CouponCodeView(props) {
|
|
|
2322
2325
|
vanillaStyle),
|
|
2323
2326
|
h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign }, part: "label" }, props.couponCodeLabel),
|
|
2324
2327
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "alert-icon, erroralert-icon" },
|
|
2325
|
-
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView,
|
|
2328
|
+
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, { ...props }))));
|
|
2326
2329
|
}
|
|
2327
2330
|
|
|
2328
2331
|
const style$5 = {
|
|
@@ -2341,7 +2344,7 @@ const style$5 = {
|
|
|
2341
2344
|
"margin-bottom": "var(--sl-spacing-medium)",
|
|
2342
2345
|
},
|
|
2343
2346
|
};
|
|
2344
|
-
const vanillaStyle$
|
|
2347
|
+
const vanillaStyle$6 = `
|
|
2345
2348
|
:host {
|
|
2346
2349
|
margin: 0 auto;
|
|
2347
2350
|
width: 100%;
|
|
@@ -2355,8 +2358,8 @@ sl-select::part(base){
|
|
|
2355
2358
|
color: var(--sqm-input-color);
|
|
2356
2359
|
}
|
|
2357
2360
|
`;
|
|
2358
|
-
|
|
2359
|
-
const sheet$5 =
|
|
2361
|
+
index.setup(create());
|
|
2362
|
+
const sheet$5 = index.createStyleSheet(style$5);
|
|
2360
2363
|
const styleString$5 = sheet$5.toString();
|
|
2361
2364
|
function DropdownFieldView(props) {
|
|
2362
2365
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -2364,15 +2367,18 @@ function DropdownFieldView(props) {
|
|
|
2364
2367
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2365
2368
|
return (h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
|
|
2366
2369
|
h("style", { type: "text/css" },
|
|
2367
|
-
vanillaStyle$
|
|
2370
|
+
vanillaStyle$6,
|
|
2368
2371
|
styleString$5),
|
|
2369
|
-
h("sl-select",
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2372
|
+
h("sl-select", { 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) ||
|
|
2373
|
+
((_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])
|
|
2374
|
+
? {
|
|
2375
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2376
|
+
}
|
|
2377
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName])
|
|
2378
|
+
? {
|
|
2379
|
+
class: sheet$5.classes.ErrorStyle,
|
|
2380
|
+
}
|
|
2381
|
+
: []) }, content.selectOptions),
|
|
2376
2382
|
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$5.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2377
2383
|
id: `errorMessage-${content.dropdownName}`,
|
|
2378
2384
|
defaultMessage: content.errorMessage,
|
|
@@ -2395,16 +2401,16 @@ const EditProfileView = (props) => {
|
|
|
2395
2401
|
h("div", { class: "FormSection" },
|
|
2396
2402
|
states.formState.error && (h("sqm-form-message", { loading: states.loading, type: "error", exportparts: "erroralert-icon" },
|
|
2397
2403
|
h("div", { part: "erroralert-text" }, states.formState.error))),
|
|
2398
|
-
h("sl-input",
|
|
2399
|
-
|
|
2400
|
-
|
|
2404
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", value: states.formState.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading, ...(errors.firstName && errors.firstName.status !== "valid"
|
|
2405
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
2406
|
+
: []), id: "firstName", name: "firstName", error: errors.firstName && errors.firstName.status !== "valid"
|
|
2401
2407
|
? errors.firstName.message
|
|
2402
|
-
: undefined })
|
|
2403
|
-
h("sl-input",
|
|
2404
|
-
|
|
2405
|
-
|
|
2408
|
+
: undefined }),
|
|
2409
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", value: states.formState.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName", ...(errors.lastName && errors.lastName.status !== "valid"
|
|
2410
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
2411
|
+
: []), error: errors.lastName && errors.lastName.status !== "valid"
|
|
2406
2412
|
? errors.lastName.message
|
|
2407
|
-
: undefined }))
|
|
2413
|
+
: undefined })),
|
|
2408
2414
|
text.showregion && states.formState.currentRegion && (h("sl-input", { exportparts: "label: input-label, base: input-base", disabled: true, value: states.formState.currentRegion, label: text.currentregiontext, id: "currentRegion", name: "currentRegion" })),
|
|
2409
2415
|
h("div", { class: "ButtonWrapper" },
|
|
2410
2416
|
h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
@@ -2703,44 +2709,47 @@ function HeroView(props) {
|
|
|
2703
2709
|
: ""}` }, content.secondaryColumn))) : (h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
2704
2710
|
}
|
|
2705
2711
|
|
|
2706
|
-
const style$
|
|
2712
|
+
const style$4 = {
|
|
2707
2713
|
ErrorStyle: ErrorStyles,
|
|
2708
2714
|
FieldContainer: {
|
|
2709
2715
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2710
2716
|
},
|
|
2711
2717
|
};
|
|
2712
|
-
const vanillaStyle$
|
|
2718
|
+
const vanillaStyle$5 = `
|
|
2713
2719
|
:host {
|
|
2714
2720
|
margin: 0 auto;
|
|
2715
2721
|
width: 100%;
|
|
2716
2722
|
display: block;
|
|
2717
2723
|
}
|
|
2718
2724
|
`;
|
|
2719
|
-
|
|
2720
|
-
const sheet$
|
|
2721
|
-
const styleString$
|
|
2725
|
+
index.setup(create());
|
|
2726
|
+
const sheet$4 = index.createStyleSheet(style$4);
|
|
2727
|
+
const styleString$4 = sheet$4.toString();
|
|
2722
2728
|
function InputFieldView(props) {
|
|
2723
2729
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2724
2730
|
const { states, content } = props;
|
|
2725
2731
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2726
|
-
return (h("div", { class: sheet$
|
|
2732
|
+
return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
|
|
2727
2733
|
h("style", { type: "text/css" },
|
|
2728
|
-
vanillaStyle$
|
|
2729
|
-
styleString$
|
|
2730
|
-
h("sl-input",
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2734
|
+
vanillaStyle$5,
|
|
2735
|
+
styleString$4),
|
|
2736
|
+
h("sl-input", { 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) ||
|
|
2737
|
+
((_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])
|
|
2738
|
+
? {
|
|
2739
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2740
|
+
}
|
|
2741
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName])
|
|
2742
|
+
? {
|
|
2743
|
+
class: sheet$4.classes.ErrorStyle,
|
|
2744
|
+
helpText: intl.formatMessage({
|
|
2745
|
+
id: `errorMessage-${content.fieldName}`,
|
|
2746
|
+
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
2747
|
+
}),
|
|
2748
|
+
}
|
|
2749
|
+
: []) })));
|
|
2741
2750
|
}
|
|
2742
2751
|
|
|
2743
|
-
const style$
|
|
2752
|
+
const style$3 = {
|
|
2744
2753
|
ErrorStyle: ErrorStyles,
|
|
2745
2754
|
FieldsContainer: {
|
|
2746
2755
|
"& sl-input": {
|
|
@@ -2785,32 +2794,38 @@ sl-input {
|
|
|
2785
2794
|
}
|
|
2786
2795
|
|
|
2787
2796
|
`;
|
|
2788
|
-
const sheet$
|
|
2789
|
-
const styleString$
|
|
2797
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
2798
|
+
const styleString$3 = sheet$3.toString();
|
|
2790
2799
|
function NameFieldsView(props) {
|
|
2791
2800
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2792
2801
|
const { states } = props;
|
|
2793
2802
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2794
|
-
return (h("div", { class: sheet$
|
|
2803
|
+
return (h("div", { class: sheet$3.classes.FieldsContainer },
|
|
2795
2804
|
h("style", { type: "text/css" },
|
|
2796
2805
|
vanillaStyle$4,
|
|
2797
|
-
styleString$
|
|
2798
|
-
h("sl-input",
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2806
|
+
styleString$3),
|
|
2807
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: !states.optional, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) ||
|
|
2808
|
+
((_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)
|
|
2809
|
+
? {
|
|
2810
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2811
|
+
}
|
|
2812
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName)
|
|
2813
|
+
? {
|
|
2814
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2815
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2816
|
+
}
|
|
2817
|
+
: []) }),
|
|
2818
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: !states.optional, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) ||
|
|
2819
|
+
((_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)
|
|
2820
|
+
? {
|
|
2821
|
+
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2822
|
+
}
|
|
2823
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName)
|
|
2824
|
+
? {
|
|
2825
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2826
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2827
|
+
}
|
|
2828
|
+
: []) })));
|
|
2814
2829
|
}
|
|
2815
2830
|
|
|
2816
2831
|
function ChangeMarktingView(props) {
|
|
@@ -2840,7 +2855,7 @@ function ChangeMarktingView(props) {
|
|
|
2840
2855
|
const styleString = sheet.toString();
|
|
2841
2856
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2842
2857
|
h("style", { type: "text/css" }, styleString),
|
|
2843
|
-
h(TextSpanView,
|
|
2858
|
+
h(TextSpanView, { ...{ type: "h2" } }, text.emailPreferencesHeader),
|
|
2844
2859
|
h("sl-form", { "onSl-submit": callbacks.onSubmit },
|
|
2845
2860
|
h(CheckboxFieldView, { states: {
|
|
2846
2861
|
checked: states.formState.marketingEmailOptIn,
|
|
@@ -2857,7 +2872,7 @@ function ChangeMarktingView(props) {
|
|
|
2857
2872
|
h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
2858
2873
|
}
|
|
2859
2874
|
|
|
2860
|
-
const vanillaStyle$
|
|
2875
|
+
const vanillaStyle$3 = `
|
|
2861
2876
|
:host {
|
|
2862
2877
|
margin: 0 auto;
|
|
2863
2878
|
width: 100%;
|
|
@@ -2914,7 +2929,7 @@ function PortalFooterView(props) {
|
|
|
2914
2929
|
const styleString = sheet.toString();
|
|
2915
2930
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2916
2931
|
h("style", { type: "text/css" },
|
|
2917
|
-
vanillaStyle$
|
|
2932
|
+
vanillaStyle$3,
|
|
2918
2933
|
styleString),
|
|
2919
2934
|
h("div", { class: sheet.classes.RowContainer },
|
|
2920
2935
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -3015,7 +3030,7 @@ const CheckMark = () => (h("svg", { width: 12, height: 10, fill: "none", xmlns:
|
|
|
3015
3030
|
const CheckmarkFilled = () => (h("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
3016
3031
|
h("path", { d: "M0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9Z", fill: "currentColor" }),
|
|
3017
3032
|
h("path", { d: "M5.68394 8.77046C5.28103 8.39273 4.64819 8.41315 4.27046 8.81606C3.89273 9.21897 3.91315 9.85181 4.31606 10.2295L5.68394 8.77046ZM7.66667 12L6.98273 12.7295C7.36738 13.0902 7.96595 13.0902 8.35061 12.7295L7.66667 12ZM13.6839 7.72954C14.0869 7.35181 14.1073 6.71897 13.7295 6.31606C13.3518 5.91315 12.719 5.89273 12.3161 6.27046L13.6839 7.72954ZM4.31606 10.2295L6.98273 12.7295L8.35061 11.2705L5.68394 8.77046L4.31606 10.2295ZM8.35061 12.7295L13.6839 7.72954L12.3161 6.27046L6.98273 11.2705L8.35061 12.7295Z", fill: "white" })));
|
|
3018
|
-
const Gift
|
|
3033
|
+
const Gift = () => (h("svg", { width: 156, height: 157, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
3019
3034
|
h("path", { d: "M40.18 126h83.663a3 3 0 0 0 3-3V73.966a3 3 0 0 0-3-3H40.18a3 3 0 0 0-3 3V123a3 3 0 0 0 3 3Z", fill: "#FFD34F" }),
|
|
3020
3035
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M37.18 73.862v7.966h89.663v-7.966H37.18Z", fill: "#E9BB30" }),
|
|
3021
3036
|
h("path", { d: "M133.039 74.224a2.18 2.18 0 0 0 2.187-2.172v-19.19c0-1.2-.98-2.172-2.187-2.172H31.347a2.18 2.18 0 0 0-2.187 2.172v19.19c0 1.2.98 2.172 2.187 2.172H133.04Z", fill: "#FFC000" }),
|
|
@@ -3096,7 +3111,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3096
3111
|
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 })))));
|
|
3097
3112
|
}
|
|
3098
3113
|
|
|
3099
|
-
const style$
|
|
3114
|
+
const style$2 = {
|
|
3100
3115
|
HostBlock: HostBlock,
|
|
3101
3116
|
Container: {
|
|
3102
3117
|
minWidth: "300px",
|
|
@@ -3447,8 +3462,8 @@ const style$8 = {
|
|
|
3447
3462
|
},
|
|
3448
3463
|
};
|
|
3449
3464
|
// JSS config
|
|
3450
|
-
const sheet$
|
|
3451
|
-
const styleString$
|
|
3465
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
3466
|
+
const styleString$2 = sheet$2.toString();
|
|
3452
3467
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3453
3468
|
function RewardExchangeView(props) {
|
|
3454
3469
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3471,7 +3486,7 @@ function RewardExchangeView(props) {
|
|
|
3471
3486
|
sourceUnit: item.sourceUnit,
|
|
3472
3487
|
})));
|
|
3473
3488
|
}
|
|
3474
|
-
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$
|
|
3489
|
+
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$2.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3475
3490
|
var _a, _b, _c, _d, _e;
|
|
3476
3491
|
return callbacks.setExchangeState({
|
|
3477
3492
|
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,
|
|
@@ -3479,7 +3494,7 @@ function RewardExchangeView(props) {
|
|
|
3479
3494
|
});
|
|
3480
3495
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3481
3496
|
var _a, _b;
|
|
3482
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3497
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$2.classes.SelectItem },
|
|
3483
3498
|
step.prettyDestinationValue,
|
|
3484
3499
|
h("br", null),
|
|
3485
3500
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3498,8 +3513,8 @@ function RewardExchangeView(props) {
|
|
|
3498
3513
|
var _a;
|
|
3499
3514
|
return [
|
|
3500
3515
|
h("div", { part: "choose-reward-container" },
|
|
3501
|
-
h("div", { class: sheet$
|
|
3502
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3516
|
+
h("div", { class: sheet$2.classes.Title }, states.content.text.rewardTitle),
|
|
3517
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$2.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3503
3518
|
var _a, _b, _c, _d, _e;
|
|
3504
3519
|
const style = {
|
|
3505
3520
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3509,7 +3524,7 @@ function RewardExchangeView(props) {
|
|
|
3509
3524
|
borderColor: "none",
|
|
3510
3525
|
};
|
|
3511
3526
|
return (h("div", { key: item.key, style: style },
|
|
3512
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3527
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$2.classes.Card, style: {
|
|
3513
3528
|
cursor: item.unavailableReasonCode
|
|
3514
3529
|
? "not-allowed"
|
|
3515
3530
|
: "pointer",
|
|
@@ -3526,14 +3541,14 @@ function RewardExchangeView(props) {
|
|
|
3526
3541
|
? "rgba(0, 0, 0, 0.05)"
|
|
3527
3542
|
: "rgba(0, 0, 0, 0)",
|
|
3528
3543
|
} },
|
|
3529
|
-
h("div", { class: sheet$
|
|
3544
|
+
h("div", { class: sheet$2.classes.Image, style: {
|
|
3530
3545
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3531
3546
|
} },
|
|
3532
3547
|
h("img", { class: item.unavailableReasonCode
|
|
3533
3548
|
? "image subdued"
|
|
3534
3549
|
: "image", src: optimizeCloudinaryUrl((item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3535
3550
|
getAssetPath("./assets/Reward-image.png")), decoding: "async" })),
|
|
3536
|
-
h("div", { class: sheet$
|
|
3551
|
+
h("div", { class: sheet$2.classes.TextArea, style: {
|
|
3537
3552
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3538
3553
|
} },
|
|
3539
3554
|
h("div", { class: "title", style: {
|
|
@@ -3566,7 +3581,7 @@ function RewardExchangeView(props) {
|
|
|
3566
3581
|
item.prettySourceMinValue,
|
|
3567
3582
|
}))))))));
|
|
3568
3583
|
}))),
|
|
3569
|
-
h("div", { class: sheet$
|
|
3584
|
+
h("div", { class: sheet$2.classes.Button },
|
|
3570
3585
|
h("sl-button", { exportparts: "base: primarybutton-base", type: "primary", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3571
3586
|
];
|
|
3572
3587
|
}
|
|
@@ -3577,7 +3592,7 @@ function RewardExchangeView(props) {
|
|
|
3577
3592
|
? false
|
|
3578
3593
|
: input && !states.amount;
|
|
3579
3594
|
return (h("div", null,
|
|
3580
|
-
h("div", { class: sheet$
|
|
3595
|
+
h("div", { class: sheet$2.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3581
3596
|
h("div", { class: "wrapper" },
|
|
3582
3597
|
h("img", { class: "image", src: optimizeCloudinaryUrl((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3583
3598
|
getAssetPath("./assets/Reward-image.png")), decoding: "async" }),
|
|
@@ -3586,7 +3601,7 @@ function RewardExchangeView(props) {
|
|
|
3586
3601
|
((_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)),
|
|
3587
3602
|
((_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)),
|
|
3588
3603
|
h("div", { class: "space" }))),
|
|
3589
|
-
h("div", { class: sheet$
|
|
3604
|
+
h("div", { class: sheet$2.classes.Button },
|
|
3590
3605
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3591
3606
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3592
3607
|
}
|
|
@@ -3594,8 +3609,8 @@ function RewardExchangeView(props) {
|
|
|
3594
3609
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
|
|
3595
3610
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3596
3611
|
return (h("div", null,
|
|
3597
|
-
h("div", { class: sheet$
|
|
3598
|
-
h("div", { class: sheet$
|
|
3612
|
+
h("div", { class: sheet$2.classes.Confirmation, part: "confirmation-container" },
|
|
3613
|
+
h("div", { class: sheet$2.classes.Title }, states.content.text.redeemTitle),
|
|
3599
3614
|
h("div", { class: "wrapper" },
|
|
3600
3615
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3601
3616
|
h("div", { class: "reward-item-container" },
|
|
@@ -3610,14 +3625,14 @@ function RewardExchangeView(props) {
|
|
|
3610
3625
|
h("div", { class: "wrapper top-border padding" },
|
|
3611
3626
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3612
3627
|
h("div", { class: "value" }, cost)),
|
|
3613
|
-
h("div", { class: sheet$
|
|
3628
|
+
h("div", { class: sheet$2.classes.Button },
|
|
3614
3629
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3615
3630
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3616
3631
|
}
|
|
3617
3632
|
function success() {
|
|
3618
3633
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3619
|
-
return (h("div", { class: sheet$
|
|
3620
|
-
h(Gift
|
|
3634
|
+
return (h("div", { class: sheet$2.classes.Success, part: "success-container" },
|
|
3635
|
+
h(Gift, null),
|
|
3621
3636
|
h(Confetti, null),
|
|
3622
3637
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
3623
3638
|
h("div", { class: "description" }, intl.formatMessage({
|
|
@@ -3625,12 +3640,14 @@ function RewardExchangeView(props) {
|
|
|
3625
3640
|
defaultMessage: states.content.text.redemptionSuccessText,
|
|
3626
3641
|
}, {
|
|
3627
3642
|
sourceValue: (_c = (_b = states.selectedItem) === null || _b === void 0 ? void 0 : _b.prettySourceValue) !== null && _c !== void 0 ? _c : (_d = states.selectedStep) === null || _d === void 0 ? void 0 : _d.prettySourceValue,
|
|
3628
|
-
destinationValue: ((_e = states.selectedStep) === null || _e === void 0 ? void 0 : _e.prettyDestinationValue) ||
|
|
3643
|
+
destinationValue: ((_e = states.selectedStep) === null || _e === void 0 ? void 0 : _e.prettyDestinationValue) ||
|
|
3644
|
+
((_f = states.selectedItem) === null || _f === void 0 ? void 0 : _f.name) ||
|
|
3645
|
+
((_g = states.selectedItem) === null || _g === void 0 ? void 0 : _g.globalRewardKey),
|
|
3629
3646
|
})),
|
|
3630
3647
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3631
3648
|
states.content.text.promoCode,
|
|
3632
3649
|
h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_h = states === null || states === void 0 ? void 0 : states.content) === null || _h === void 0 ? void 0 : _h.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3633
|
-
h("div", { class: sheet$
|
|
3650
|
+
h("div", { class: sheet$2.classes.Button },
|
|
3634
3651
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3635
3652
|
}
|
|
3636
3653
|
const stages = {
|
|
@@ -3642,7 +3659,7 @@ function RewardExchangeView(props) {
|
|
|
3642
3659
|
const currentStage = stages[states.redeemStage];
|
|
3643
3660
|
function stageMap() {
|
|
3644
3661
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3645
|
-
return (h("div", { class: sheet$
|
|
3662
|
+
return (h("div", { class: sheet$2.classes.ProgressBar },
|
|
3646
3663
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3647
3664
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3648
3665
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3654,10 +3671,10 @@ function RewardExchangeView(props) {
|
|
|
3654
3671
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3655
3672
|
}
|
|
3656
3673
|
function loading() {
|
|
3657
|
-
return (h("div", { class: sheet$
|
|
3674
|
+
return (h("div", { class: sheet$2.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3658
3675
|
return (h("div", null,
|
|
3659
|
-
h("sl-card", { class: sheet$
|
|
3660
|
-
h("div", { class: sheet$
|
|
3676
|
+
h("sl-card", { class: sheet$2.classes.Card },
|
|
3677
|
+
h("div", { class: sheet$2.classes.CardLayout },
|
|
3661
3678
|
h("div", null,
|
|
3662
3679
|
h("sqm-skeleton", { style: {
|
|
3663
3680
|
margin: "9px",
|
|
@@ -3689,12 +3706,12 @@ function RewardExchangeView(props) {
|
|
|
3689
3706
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3690
3707
|
return;
|
|
3691
3708
|
refs.canvasRef.current = canvas;
|
|
3692
|
-
}, id: "my-canvas", class: sheet$
|
|
3709
|
+
}, id: "my-canvas", class: sheet$2.classes.Confetti }));
|
|
3693
3710
|
}
|
|
3694
3711
|
if (states.noExchangeOptions)
|
|
3695
3712
|
return states.content.text.empty;
|
|
3696
|
-
return (h("div", { class: sheet$
|
|
3697
|
-
h("style", { type: "text/css" }, styleString$
|
|
3713
|
+
return (h("div", { class: sheet$2.classes.Container, part: "sqm-base" },
|
|
3714
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
3698
3715
|
h("div", null,
|
|
3699
3716
|
stageMap(),
|
|
3700
3717
|
states.exchangeError && errorMessage(),
|
|
@@ -3755,6 +3772,7 @@ const baseResponse = (data, stage = "chooseReward", selectedItem = null, selecte
|
|
|
3755
3772
|
setStage: null,
|
|
3756
3773
|
setExchangeState: null,
|
|
3757
3774
|
copyFuelTankCode: null,
|
|
3775
|
+
// refs: null,
|
|
3758
3776
|
},
|
|
3759
3777
|
refs: null,
|
|
3760
3778
|
});
|
|
@@ -4110,7 +4128,7 @@ const empty = {
|
|
|
4110
4128
|
...baseResponse(null, "chooseReward", null, null, false, false, null, true),
|
|
4111
4129
|
};
|
|
4112
4130
|
|
|
4113
|
-
const MessageLinkQuery = dist.gql `
|
|
4131
|
+
const MessageLinkQuery$1 = dist.gql `
|
|
4114
4132
|
query (
|
|
4115
4133
|
$programId: ID
|
|
4116
4134
|
$engagementMedium: UserEngagementMedium!
|
|
@@ -4164,19 +4182,19 @@ function GenericShare(messageLink, errorText) {
|
|
|
4164
4182
|
function useShareButton(props) {
|
|
4165
4183
|
var _a, _b, _c, _d;
|
|
4166
4184
|
const { sharetitle, sharetext, medium } = props;
|
|
4167
|
-
const programId = props.programId ? props.programId :
|
|
4168
|
-
const user =
|
|
4169
|
-
const engagementMedium =
|
|
4185
|
+
const programId = props.programId ? props.programId : useProgramId();
|
|
4186
|
+
const user = useUserIdentity();
|
|
4187
|
+
const engagementMedium = useEngagementMedium();
|
|
4170
4188
|
const variables = {
|
|
4171
4189
|
engagementMedium,
|
|
4172
4190
|
programId: programId,
|
|
4173
4191
|
shareMedium: medium.toUpperCase(),
|
|
4174
4192
|
};
|
|
4175
|
-
const contextData =
|
|
4193
|
+
const contextData = useParentValue(REFERRAL_CODES_NAMESPACE);
|
|
4176
4194
|
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
4177
4195
|
// only queries if a programId is available
|
|
4178
|
-
const res =
|
|
4179
|
-
const [setCopied, copiedRes] =
|
|
4196
|
+
const res = useQuery(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
4197
|
+
const [setCopied, copiedRes] = useMutation(SET_CODE_COPIED);
|
|
4180
4198
|
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);
|
|
4181
4199
|
const environment = getEnvironmentSDK();
|
|
4182
4200
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -4213,7 +4231,7 @@ function useShareButton(props) {
|
|
|
4213
4231
|
};
|
|
4214
4232
|
}
|
|
4215
4233
|
|
|
4216
|
-
const vanillaStyle$
|
|
4234
|
+
const vanillaStyle$2 = `
|
|
4217
4235
|
:host {
|
|
4218
4236
|
display: block;
|
|
4219
4237
|
width: 100%;
|
|
@@ -4363,7 +4381,7 @@ function ShareLinkView(props) {
|
|
|
4363
4381
|
return (h("div", { class: sheet.classes.Container },
|
|
4364
4382
|
h("style", { type: "text/css" },
|
|
4365
4383
|
styleString,
|
|
4366
|
-
vanillaStyle$
|
|
4384
|
+
vanillaStyle$2),
|
|
4367
4385
|
h("p", { class: sheet.classes.EditLabel }, editLabelText),
|
|
4368
4386
|
h("div", { class: sheet.classes.EditInputWrapper },
|
|
4369
4387
|
h("span", { class: sheet.classes.DomainPrefix, title: domainPrefix },
|
|
@@ -4397,8 +4415,8 @@ function ShareLinkView(props) {
|
|
|
4397
4415
|
return (h("div", { class: sheet.classes.Container },
|
|
4398
4416
|
h("style", { type: "text/css" },
|
|
4399
4417
|
styleString,
|
|
4400
|
-
vanillaStyle$
|
|
4401
|
-
h(CopyTextView,
|
|
4418
|
+
vanillaStyle$2),
|
|
4419
|
+
h(CopyTextView, { ...copyTextViewProps }),
|
|
4402
4420
|
allowCustomization &&
|
|
4403
4421
|
(customizeDisabled ? (h("sl-tooltip", { content: customizeDisabledTooltip, placement: "top", style: { display: "inline-block", width: "fit-content" } },
|
|
4404
4422
|
h("p", { class: sheet.classes.CustomizeLinkDisabled }, customizeLinkLabel))) : (h("div", { class: sheet.classes.LimitReachedContainer },
|
|
@@ -4416,7 +4434,7 @@ function ShareLinkView(props) {
|
|
|
4416
4434
|
const MAX_EDITS = 5;
|
|
4417
4435
|
const CHARACTER_LIMIT = 30;
|
|
4418
4436
|
const MIN_CHARACTERS = 3;
|
|
4419
|
-
const MessageLinkQuery
|
|
4437
|
+
const MessageLinkQuery = dist.gql `
|
|
4420
4438
|
query ($programId: ID) {
|
|
4421
4439
|
user: viewer {
|
|
4422
4440
|
... on User {
|
|
@@ -4489,18 +4507,18 @@ function parseShareUrl(url) {
|
|
|
4489
4507
|
}
|
|
4490
4508
|
function useShareLink(props) {
|
|
4491
4509
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
4492
|
-
const { programId =
|
|
4493
|
-
const user =
|
|
4494
|
-
const engagementMedium =
|
|
4495
|
-
const contextData =
|
|
4496
|
-
const { data, refetch } =
|
|
4497
|
-
const [sendLoadEvent] =
|
|
4498
|
-
const [setCopied] =
|
|
4499
|
-
const [addShareLinkCode, { loading: isSaving }] =
|
|
4500
|
-
const [validateLinkCode] =
|
|
4501
|
-
const { refresh } =
|
|
4502
|
-
const { data: linkDomainData } =
|
|
4503
|
-
const { data: editCountData, refetch: refetchEditCount } =
|
|
4510
|
+
const { programId = useProgramId() } = props;
|
|
4511
|
+
const user = useUserIdentity();
|
|
4512
|
+
const engagementMedium = useEngagementMedium();
|
|
4513
|
+
const contextData = useParentValue(REFERRAL_CODES_NAMESPACE);
|
|
4514
|
+
const { data, refetch } = useQuery(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
4515
|
+
const [sendLoadEvent] = useMutation(WIDGET_ENGAGEMENT_EVENT);
|
|
4516
|
+
const [setCopied] = useMutation(SET_CODE_COPIED);
|
|
4517
|
+
const [addShareLinkCode, { loading: isSaving }] = useMutation(ADD_SHARE_LINK_CODE);
|
|
4518
|
+
const [validateLinkCode] = useLazyQuery(VALIDATE_LINK_CODE);
|
|
4519
|
+
const { refresh } = useRefreshDispatcher();
|
|
4520
|
+
const { data: linkDomainData } = useQuery(GET_LINK_DOMAIN, {}, !(user === null || user === void 0 ? void 0 : user.jwt) || !props.allowCustomization);
|
|
4521
|
+
const { data: editCountData, refetch: refetchEditCount } = useQuery(SHARE_LINK_EDIT_COUNT, {}, !(user === null || user === void 0 ? void 0 : user.jwt) || !props.allowCustomization);
|
|
4504
4522
|
const { url: copyString, domain: domainPrefix, path: pathSuffix, } = parseShareUrl((_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 :
|
|
4505
4523
|
// Shown during loading
|
|
4506
4524
|
"...");
|
|
@@ -4683,7 +4701,7 @@ function useShareLink(props) {
|
|
|
4683
4701
|
};
|
|
4684
4702
|
}
|
|
4685
4703
|
|
|
4686
|
-
const style$
|
|
4704
|
+
const style$1 = {
|
|
4687
4705
|
Wrapper: {
|
|
4688
4706
|
...AuthWrapper,
|
|
4689
4707
|
"max-width": "600px",
|
|
@@ -4721,7 +4739,7 @@ const style$9 = {
|
|
|
4721
4739
|
},
|
|
4722
4740
|
ErrorStyle: ErrorStyles,
|
|
4723
4741
|
};
|
|
4724
|
-
const vanillaStyle$
|
|
4742
|
+
const vanillaStyle$1 = `
|
|
4725
4743
|
sqm-portal-register {
|
|
4726
4744
|
margin: 0 auto;
|
|
4727
4745
|
width: 100%;
|
|
@@ -4736,8 +4754,8 @@ sqm-portal-register {
|
|
|
4736
4754
|
display: none;
|
|
4737
4755
|
}
|
|
4738
4756
|
`;
|
|
4739
|
-
const sheet$
|
|
4740
|
-
const styleString$
|
|
4757
|
+
const sheet$1 = createStyleSheet(style$1);
|
|
4758
|
+
const styleString$1 = sheet$1.toString();
|
|
4741
4759
|
function LeadFormView(props) {
|
|
4742
4760
|
var _a, _b, _c, _d;
|
|
4743
4761
|
const { states, refs, callbacks, content } = props;
|
|
@@ -4751,22 +4769,22 @@ function LeadFormView(props) {
|
|
|
4751
4769
|
fieldLabel,
|
|
4752
4770
|
});
|
|
4753
4771
|
return (h(Fragment, null,
|
|
4754
|
-
states.success && (h("div", { class: sheet$
|
|
4772
|
+
states.success && (h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
|
|
4755
4773
|
h("style", { type: "text/css" },
|
|
4756
|
-
vanillaStyle$
|
|
4757
|
-
styleString$
|
|
4774
|
+
vanillaStyle$1,
|
|
4775
|
+
styleString$1),
|
|
4758
4776
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4759
4777
|
h("sqm-form-message", { loading: states.loading, exportparts: "successalert-icon" },
|
|
4760
4778
|
h("b", null, content.submitSuccessHeader),
|
|
4761
4779
|
h("br", null),
|
|
4762
4780
|
h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
|
|
4763
|
-
h("sl-button", { class: sheet$
|
|
4764
|
-
h("div", { class: sheet$
|
|
4781
|
+
h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
|
|
4782
|
+
h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
|
|
4765
4783
|
h("style", { type: "text/css" },
|
|
4766
|
-
vanillaStyle$
|
|
4767
|
-
styleString$
|
|
4784
|
+
vanillaStyle$1,
|
|
4785
|
+
styleString$1),
|
|
4768
4786
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4769
|
-
h("sl-form", { class: sheet$
|
|
4787
|
+
h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
4770
4788
|
states.error && (h("sqm-form-message", { type: "error" },
|
|
4771
4789
|
h("p", { part: "alert-title" }, content.submitErrorHeader),
|
|
4772
4790
|
h("p", { part: "alert-description" }, intl.formatMessage({
|
|
@@ -4775,10 +4793,10 @@ function LeadFormView(props) {
|
|
|
4775
4793
|
}, {
|
|
4776
4794
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
|
|
4777
4795
|
})))),
|
|
4778
|
-
h("div", { class: sheet$
|
|
4779
|
-
h("sqm-lead-input-field", { class: sheet$
|
|
4780
|
-
h("sqm-lead-input-field", { class: sheet$
|
|
4781
|
-
h("sl-input",
|
|
4796
|
+
h("div", { class: sheet$1.classes.NameFieldWrapper },
|
|
4797
|
+
h("sqm-lead-input-field", { class: sheet$1.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
|
|
4798
|
+
h("sqm-lead-input-field", { class: sheet$1.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
|
|
4799
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
4782
4800
|
if (!value) {
|
|
4783
4801
|
return getRequiredFieldErrorMessage({
|
|
4784
4802
|
fieldLabel: content.emailLabel || "Email",
|
|
@@ -4788,19 +4806,20 @@ function LeadFormView(props) {
|
|
|
4788
4806
|
if (!value.includes("@")) {
|
|
4789
4807
|
return content.invalidEmailErrorMessage;
|
|
4790
4808
|
}
|
|
4791
|
-
}
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4809
|
+
}, ...(((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email)
|
|
4810
|
+
? {
|
|
4811
|
+
class: sheet$1.classes.ErrorStyle,
|
|
4812
|
+
helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
4813
|
+
content.requiredFieldErrorMessage,
|
|
4814
|
+
}
|
|
4815
|
+
: []) }),
|
|
4797
4816
|
h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
|
|
4798
4817
|
content.formData,
|
|
4799
|
-
h("div", { class: sheet$
|
|
4818
|
+
h("div", { class: sheet$1.classes.ButtonsContainer },
|
|
4800
4819
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
|
|
4801
4820
|
}
|
|
4802
4821
|
|
|
4803
|
-
const style
|
|
4822
|
+
const style = {
|
|
4804
4823
|
ErrorStyle: {
|
|
4805
4824
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
4806
4825
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -4816,7 +4835,7 @@ const style$a = {
|
|
|
4816
4835
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
4817
4836
|
},
|
|
4818
4837
|
};
|
|
4819
|
-
const vanillaStyle
|
|
4838
|
+
const vanillaStyle = `
|
|
4820
4839
|
:host {
|
|
4821
4840
|
margin: 0 auto;
|
|
4822
4841
|
width: 100%;
|
|
@@ -4833,9 +4852,9 @@ sl-select::part(menu){
|
|
|
4833
4852
|
max-height: 300px;
|
|
4834
4853
|
}
|
|
4835
4854
|
`;
|
|
4836
|
-
|
|
4837
|
-
const sheet
|
|
4838
|
-
const styleString
|
|
4855
|
+
index.setup(create());
|
|
4856
|
+
const sheet = index.createStyleSheet(style);
|
|
4857
|
+
const styleString = sheet.toString();
|
|
4839
4858
|
function LeadDropdownFieldView(props) {
|
|
4840
4859
|
var _a, _b, _c, _d, _e;
|
|
4841
4860
|
const { states, content } = props;
|
|
@@ -4846,21 +4865,22 @@ function LeadDropdownFieldView(props) {
|
|
|
4846
4865
|
}, {
|
|
4847
4866
|
dropdownLabel,
|
|
4848
4867
|
});
|
|
4849
|
-
return (h("div", { class: sheet
|
|
4868
|
+
return (h("div", { class: sheet.classes.FieldContainer, part: "sqm-base" },
|
|
4850
4869
|
h("style", { type: "text/css" },
|
|
4851
|
-
vanillaStyle
|
|
4852
|
-
styleString
|
|
4853
|
-
h("sl-select",
|
|
4870
|
+
vanillaStyle,
|
|
4871
|
+
styleString),
|
|
4872
|
+
h("sl-select", { style: { maxHeight: "100px" }, exportparts: "label: input-label, base: input-base", label: `${content.dropdownLabel}${content.dropdownOptional ? ` ${content.optionalLabel}` : ""}`, name: `/${content.dropdownName}`, multiple: content.multiple, ...(!content.dropdownOptional ? { required: true } : []), disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
|
|
4854
4873
|
if (!value && !content.dropdownOptional) {
|
|
4855
4874
|
return getRequiredFieldErrorMessage({
|
|
4856
4875
|
dropdownLabel: content.dropdownLabel,
|
|
4857
4876
|
});
|
|
4858
4877
|
}
|
|
4859
|
-
}
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4878
|
+
}, ...(((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName])
|
|
4879
|
+
? {
|
|
4880
|
+
class: sheet.classes.ErrorStyle,
|
|
4881
|
+
}
|
|
4882
|
+
: []) }, content.selectOptions),
|
|
4883
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
|
|
4864
4884
|
dropdownLabel: content.dropdownLabel,
|
|
4865
4885
|
})))));
|
|
4866
4886
|
}
|