@saasquatch/mint-components 2.5.5-2 → 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 +813 -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 +771 -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 +762 -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-6196e0f6.entry.js +0 -308
- 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-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-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-d6fd8f37.system.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,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const
|
|
5
|
-
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
6
|
-
const index_module = require('./index.module-3221a469.js');
|
|
7
|
-
const cjs = require('./cjs-1066ec21.js');
|
|
8
|
-
const utils = require('./utils-6847bc06.js');
|
|
9
|
-
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const useReferralCodes = require('./useReferralCodes-25d5320a.js');
|
|
3
|
+
const index = require('./index-d41c2c94.js');
|
|
4
|
+
const JSS = require('./JSS-bf8078e9.js');
|
|
11
5
|
const mixins = require('./mixins-4761d472.js');
|
|
12
|
-
const
|
|
13
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
6
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-c0cf9af9.js');
|
|
7
|
+
const sqmTextSpanView = require('./sqm-text-span-view-c6938acd.js');
|
|
8
|
+
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
9
|
+
const demoMerge = require('./demoMerge-6f125494.js');
|
|
10
|
+
const useChildElements = require('./useChildElements-e5e26816.js');
|
|
11
|
+
const index$2 = require('./index-8530c62f.js');
|
|
12
|
+
const index$1 = require('./index-f1dd6136.js');
|
|
13
|
+
const luxon = require('./luxon-d3612a3d.js');
|
|
14
|
+
const global = require('./global-973bc63c.js');
|
|
15
|
+
const utils = require('./utils-6847bc06.js');
|
|
16
|
+
const copyTextView = require('./copy-text-view-49517b2a.js');
|
|
17
|
+
const utilities = require('./utilities-04345466.js');
|
|
17
18
|
const imageUrl$1 = require('./imageUrl-a7880cab.js');
|
|
18
|
-
const
|
|
19
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
|
|
19
|
+
const useReferralCodes = require('./useReferralCodes-5794a177.js');
|
|
20
20
|
|
|
21
21
|
function BigStatView(props) {
|
|
22
22
|
const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
|
|
@@ -74,7 +74,7 @@ const medium = {
|
|
|
74
74
|
linemessenger: { color: "#00B300", text: "#fff", icon: "line" },
|
|
75
75
|
pinterest: { color: "#e60023", text: "#fff", icon: "pinterest" },
|
|
76
76
|
};
|
|
77
|
-
const style = {
|
|
77
|
+
const style$a = {
|
|
78
78
|
HostBlock: mixins.HostBlock,
|
|
79
79
|
buttonStyle: {
|
|
80
80
|
display: "flex",
|
|
@@ -83,8 +83,8 @@ const style = {
|
|
|
83
83
|
lineHeight: "0",
|
|
84
84
|
},
|
|
85
85
|
};
|
|
86
|
-
const sheet = JSS.createStyleSheet(style);
|
|
87
|
-
const styleString = sheet.toString();
|
|
86
|
+
const sheet$a = JSS.createStyleSheet(style$a);
|
|
87
|
+
const styleString$a = sheet$a.toString();
|
|
88
88
|
function ShareButtonView(props, children) {
|
|
89
89
|
const vanillaStyle = `
|
|
90
90
|
sl-button::part(base) {
|
|
@@ -114,9 +114,9 @@ function ShareButtonView(props, children) {
|
|
|
114
114
|
}
|
|
115
115
|
`;
|
|
116
116
|
return props.hide ? (index.h(index.Host, { style: { display: "none" } })) : (index.h("div", null,
|
|
117
|
-
index.h("style", { type: "text/css" }, styleString),
|
|
117
|
+
index.h("style", { type: "text/css" }, styleString$a),
|
|
118
118
|
index.h("style", { type: "text/css" }, vanillaStyle),
|
|
119
|
-
index.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` },
|
|
119
|
+
index.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` },
|
|
120
120
|
!props.hideicon && (index.h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
|
|
121
121
|
!props.hidetext && children)));
|
|
122
122
|
}
|
|
@@ -233,29 +233,29 @@ function PortalChangePasswordView(props) {
|
|
|
233
233
|
return (index.h("div", { part: "sqm-base" },
|
|
234
234
|
index.h("style", { type: "text/css" }, styleString),
|
|
235
235
|
index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, "onSl-hide": () => callbacks.setOpen(false) },
|
|
236
|
-
index.h(sqmPortalContainerView.PortalSectionView,
|
|
236
|
+
index.h(sqmPortalContainerView.PortalSectionView, { ...{
|
|
237
|
+
labelMargin: "x-large",
|
|
238
|
+
padding: "none",
|
|
239
|
+
label: (index.h(sqmTextSpanView.TextSpanView, { ...{ type: "h2" } }, states.content.modalChangePasswordHeader)),
|
|
240
|
+
content: (index.h(sqmPortalContainerView.PortalContainerView, { ...{ direction: "column", padding: "none", gap: "32px" } },
|
|
241
|
+
states.error && (index.h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
242
|
+
index.h("div", { part: "erroralert-text" }, states.error))),
|
|
243
|
+
states.success && (index.h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
244
|
+
index.h("div", { part: "successalert-text" }, states.content.successMessage))),
|
|
245
|
+
index.h("sl-form", { "onSl-submit": callbacks.submit },
|
|
246
|
+
index.h("div", { class: sheet.classes.InputContainer },
|
|
247
|
+
index.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 }),
|
|
248
|
+
index.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" })),
|
|
249
|
+
index.h(sqmPortalContainerView.PortalContainerView, { ...{ direction: "row", padding: "none", gap: "20px" } },
|
|
250
|
+
index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
251
|
+
index.h("sl-button", { class: sheet.classes.CancelButton, type: "secondary", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
252
|
+
} })),
|
|
253
|
+
index.h(sqmPortalContainerView.PortalSectionView, { ...{
|
|
237
254
|
labelMargin: "x-large",
|
|
238
|
-
padding: "
|
|
239
|
-
label: (index.h(sqmTextSpanView.TextSpanView,
|
|
240
|
-
content: (index.h(
|
|
241
|
-
|
|
242
|
-
index.h("div", { part: "erroralert-text" }, states.error))),
|
|
243
|
-
states.success && (index.h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
244
|
-
index.h("div", { part: "successalert-text" }, states.content.successMessage))),
|
|
245
|
-
index.h("sl-form", { "onSl-submit": callbacks.submit },
|
|
246
|
-
index.h("div", { class: sheet.classes.InputContainer },
|
|
247
|
-
index.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 }),
|
|
248
|
-
index.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" })),
|
|
249
|
-
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
250
|
-
index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
251
|
-
index.h("sl-button", { class: sheet.classes.CancelButton, type: "secondary", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
|
252
|
-
}))),
|
|
253
|
-
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
254
|
-
labelMargin: "x-large",
|
|
255
|
-
padding: "xxx-large",
|
|
256
|
-
label: (index.h(sqmTextSpanView.TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
|
|
257
|
-
content: (index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
258
|
-
}),
|
|
255
|
+
padding: "xxx-large",
|
|
256
|
+
label: (index.h(sqmTextSpanView.TextSpanView, { ...{ type: "h2" } }, states.content.portalChangePasswordHeader)),
|
|
257
|
+
content: (index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
|
|
258
|
+
} },
|
|
259
259
|
index.h("style", { type: "text/css" }, styleString))));
|
|
260
260
|
}
|
|
261
261
|
|
|
@@ -274,7 +274,7 @@ function PoweredByImg({ color = "#161414", width = 120, height = 17, }) {
|
|
|
274
274
|
index.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 })));
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
const style$
|
|
277
|
+
const style$9 = {
|
|
278
278
|
Wrapper: mixins.AuthWrapper,
|
|
279
279
|
Column: mixins.AuthColumn,
|
|
280
280
|
HostBlock: mixins.HostBlock,
|
|
@@ -291,7 +291,7 @@ const style$1 = {
|
|
|
291
291
|
},
|
|
292
292
|
ErrorStyle: mixins.ErrorStyles,
|
|
293
293
|
};
|
|
294
|
-
const vanillaStyle = `
|
|
294
|
+
const vanillaStyle$8 = `
|
|
295
295
|
sqm-portal-register {
|
|
296
296
|
margin: 0 auto;
|
|
297
297
|
width: 100%;
|
|
@@ -306,19 +306,19 @@ sqm-portal-register {
|
|
|
306
306
|
display: none;
|
|
307
307
|
}
|
|
308
308
|
`;
|
|
309
|
-
const sheet$
|
|
310
|
-
const styleString$
|
|
309
|
+
const sheet$9 = JSS.createStyleSheet(style$9);
|
|
310
|
+
const styleString$9 = sheet$9.toString();
|
|
311
311
|
function BaseRegistrationFormView(props) {
|
|
312
312
|
var _a, _b;
|
|
313
313
|
const { states, content, callbacks } = props;
|
|
314
|
-
return (index.h("div", { class: sheet$
|
|
314
|
+
return (index.h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
|
|
315
315
|
index.h("style", { type: "text/css" },
|
|
316
|
-
vanillaStyle,
|
|
317
|
-
styleString$
|
|
316
|
+
vanillaStyle$8,
|
|
317
|
+
styleString$9),
|
|
318
318
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
319
|
-
index.h("sl-form", { class: sheet$
|
|
319
|
+
index.h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
|
|
320
320
|
content.formData,
|
|
321
|
-
index.h("sl-input",
|
|
321
|
+
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
|
|
322
322
|
if (!value) {
|
|
323
323
|
return content.requiredFieldErrorMessage;
|
|
324
324
|
}
|
|
@@ -326,14 +326,15 @@ function BaseRegistrationFormView(props) {
|
|
|
326
326
|
if (!value.includes("@")) {
|
|
327
327
|
return content.invalidEmailErrorMessage;
|
|
328
328
|
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
329
|
+
}, ...(((_a = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _a === void 0 ? void 0 : _a.email)
|
|
330
|
+
? {
|
|
331
|
+
class: sheet$9.classes.ErrorStyle,
|
|
332
|
+
helpText: ((_b = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ||
|
|
333
|
+
content.requiredFieldErrorMessage,
|
|
334
|
+
}
|
|
335
|
+
: []) }),
|
|
335
336
|
content.terms,
|
|
336
|
-
index.h("div", { class: sheet$
|
|
337
|
+
index.h("div", { class: sheet$9.classes.ButtonsContainer },
|
|
337
338
|
index.h("sl-button", { submit: true, exportparts: "base: primarybutton-base", type: "primary", style: { margin: "0" } }, content.submitLabel || "Register"),
|
|
338
339
|
index.h("sl-menu-divider", { style: { margin: "0" } }),
|
|
339
340
|
content.googleButton,
|
|
@@ -343,7 +344,7 @@ function BaseRegistrationFormView(props) {
|
|
|
343
344
|
const debug = domContextHooks_module.browser("sq:useBigStat");
|
|
344
345
|
const LOADING = "...";
|
|
345
346
|
const debugQuery = (query, variables, getStat) => {
|
|
346
|
-
const res =
|
|
347
|
+
const res = index$2.useQuery(query, variables);
|
|
347
348
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
348
349
|
console.error("issue getting stat:", res);
|
|
349
350
|
}
|
|
@@ -362,7 +363,7 @@ _, status) => {
|
|
|
362
363
|
? { dateConverted_exists: false }
|
|
363
364
|
: {};
|
|
364
365
|
const queryFilter = { ...programFilter, ...convertedFilter };
|
|
365
|
-
return debugQuery(
|
|
366
|
+
return debugQuery(index$2.dist.gql `
|
|
366
367
|
query ($queryFilter: ReferralFilterInput) {
|
|
367
368
|
viewer {
|
|
368
369
|
... on User {
|
|
@@ -384,7 +385,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
384
385
|
// Confirm this behaviour
|
|
385
386
|
if (programId === "classic")
|
|
386
387
|
return null;
|
|
387
|
-
return debugQuery(
|
|
388
|
+
return debugQuery(index$2.dist.gql `
|
|
388
389
|
query {
|
|
389
390
|
viewer {
|
|
390
391
|
... on User {
|
|
@@ -407,7 +408,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
407
408
|
});
|
|
408
409
|
};
|
|
409
410
|
const customFieldsQuery = (_programId, locale, fieldName, goalId) => {
|
|
410
|
-
return debugQuery(
|
|
411
|
+
return debugQuery(index$2.dist.gql `
|
|
411
412
|
query {
|
|
412
413
|
viewer {
|
|
413
414
|
... on User {
|
|
@@ -440,7 +441,7 @@ _, status) => {
|
|
|
440
441
|
...convertedFilter,
|
|
441
442
|
dateReferralStarted_timeframe: "this_month",
|
|
442
443
|
};
|
|
443
|
-
return debugQuery(
|
|
444
|
+
return debugQuery(index$2.dist.gql `
|
|
444
445
|
query ($filter: ReferralFilterInput) {
|
|
445
446
|
viewer {
|
|
446
447
|
... on User {
|
|
@@ -474,7 +475,7 @@ _, status) => {
|
|
|
474
475
|
...convertedFilter,
|
|
475
476
|
dateReferralStarted_timeframe: "this_week",
|
|
476
477
|
};
|
|
477
|
-
return debugQuery(
|
|
478
|
+
return debugQuery(index$2.dist.gql `
|
|
478
479
|
query ($filter: ReferralFilterInput) {
|
|
479
480
|
viewer {
|
|
480
481
|
... on User {
|
|
@@ -495,7 +496,7 @@ _, status) => {
|
|
|
495
496
|
const rewardsCountQuery = (programId,
|
|
496
497
|
// locale
|
|
497
498
|
_, global = "") => {
|
|
498
|
-
return debugQuery(
|
|
499
|
+
return debugQuery(index$2.dist.gql `
|
|
499
500
|
query ($programId: ID) {
|
|
500
501
|
viewer {
|
|
501
502
|
... on User {
|
|
@@ -519,7 +520,7 @@ const rewardsCountFilteredQuery = (programId,
|
|
|
519
520
|
// locale
|
|
520
521
|
_, type, unit, status, global = "") => {
|
|
521
522
|
const statusFilter = status ? { status } : null;
|
|
522
|
-
return debugQuery(
|
|
523
|
+
return debugQuery(index$2.dist.gql `
|
|
523
524
|
query (
|
|
524
525
|
$programId: ID
|
|
525
526
|
$unit: String
|
|
@@ -558,7 +559,7 @@ const integrationRewardsCountFilteredQuery = (programId,
|
|
|
558
559
|
// locale
|
|
559
560
|
_, status, global = "") => {
|
|
560
561
|
const statusFilter = status ? { status } : null;
|
|
561
|
-
return debugQuery(
|
|
562
|
+
return debugQuery(index$2.dist.gql `
|
|
562
563
|
query ($programId: ID, ${statusFilter ? "$statusFilter: RewardStatusFilterInput" : ""}) {
|
|
563
564
|
viewer {
|
|
564
565
|
... on User {
|
|
@@ -588,7 +589,7 @@ _, status, global = "") => {
|
|
|
588
589
|
const rewardsMonthQuery = (programId,
|
|
589
590
|
// locale
|
|
590
591
|
_, global = "") => {
|
|
591
|
-
return debugQuery(
|
|
592
|
+
return debugQuery(index$2.dist.gql `
|
|
592
593
|
query ($programId: ID) {
|
|
593
594
|
viewer {
|
|
594
595
|
... on User {
|
|
@@ -616,7 +617,7 @@ _, global = "") => {
|
|
|
616
617
|
const rewardsWeekQuery = (programId,
|
|
617
618
|
// locale
|
|
618
619
|
_, global = "") => {
|
|
619
|
-
return debugQuery(
|
|
620
|
+
return debugQuery(index$2.dist.gql `
|
|
620
621
|
query ($programId: ID) {
|
|
621
622
|
viewer {
|
|
622
623
|
... on User {
|
|
@@ -642,7 +643,7 @@ _, global = "") => {
|
|
|
642
643
|
});
|
|
643
644
|
};
|
|
644
645
|
const rewardsPendingQuery = (programId, locale, type, unit, global = "") => {
|
|
645
|
-
return debugQuery(
|
|
646
|
+
return debugQuery(index$2.dist.gql `
|
|
646
647
|
query (
|
|
647
648
|
$programId: ID
|
|
648
649
|
$type: RewardType
|
|
@@ -685,7 +686,7 @@ const rewardsPendingQuery = (programId, locale, type, unit, global = "") => {
|
|
|
685
686
|
});
|
|
686
687
|
};
|
|
687
688
|
const rewardsRedeemedQuery = (programId, locale, type, unit, global = "") => {
|
|
688
|
-
return debugQuery(
|
|
689
|
+
return debugQuery(index$2.dist.gql `
|
|
689
690
|
query (
|
|
690
691
|
$programId: ID
|
|
691
692
|
$type: RewardType
|
|
@@ -728,7 +729,7 @@ const rewardsRedeemedQuery = (programId, locale, type, unit, global = "") => {
|
|
|
728
729
|
});
|
|
729
730
|
};
|
|
730
731
|
const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") => {
|
|
731
|
-
return debugQuery(
|
|
732
|
+
return debugQuery(index$2.dist.gql `
|
|
732
733
|
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
733
734
|
viewer: viewer {
|
|
734
735
|
... on User {
|
|
@@ -770,7 +771,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
770
771
|
locale: $locale
|
|
771
772
|
formatType: UNIT_FORMATTED
|
|
772
773
|
)}`;
|
|
773
|
-
const result =
|
|
774
|
+
const result = index$2.useQuery(query, {
|
|
774
775
|
value: redeemedTotal,
|
|
775
776
|
unit,
|
|
776
777
|
locale,
|
|
@@ -787,7 +788,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
787
788
|
});
|
|
788
789
|
};
|
|
789
790
|
const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") => {
|
|
790
|
-
return debugQuery(
|
|
791
|
+
return debugQuery(index$2.dist.gql `
|
|
791
792
|
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
792
793
|
viewer: viewer {
|
|
793
794
|
... on User {
|
|
@@ -829,7 +830,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
829
830
|
locale: $locale
|
|
830
831
|
formatType: UNIT_FORMATTED
|
|
831
832
|
)}`;
|
|
832
|
-
const result =
|
|
833
|
+
const result = index$2.useQuery(query, {
|
|
833
834
|
value: redeemedTotal,
|
|
834
835
|
unit,
|
|
835
836
|
locale,
|
|
@@ -846,7 +847,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
846
847
|
});
|
|
847
848
|
};
|
|
848
849
|
const rewardsAssignedQuery = (programId, locale, type, unit, global = "") => {
|
|
849
|
-
return debugQuery(
|
|
850
|
+
return debugQuery(index$2.dist.gql `
|
|
850
851
|
query (
|
|
851
852
|
$programId: ID
|
|
852
853
|
$type: RewardType
|
|
@@ -889,7 +890,7 @@ const rewardsAssignedQuery = (programId, locale, type, unit, global = "") => {
|
|
|
889
890
|
});
|
|
890
891
|
};
|
|
891
892
|
const rewardsExpiredQuery = (programId, locale, type, unit, global = "") => {
|
|
892
|
-
return debugQuery(
|
|
893
|
+
return debugQuery(index$2.dist.gql `
|
|
893
894
|
query (
|
|
894
895
|
$programId: ID
|
|
895
896
|
$type: RewardType
|
|
@@ -932,7 +933,7 @@ const rewardsExpiredQuery = (programId, locale, type, unit, global = "") => {
|
|
|
932
933
|
});
|
|
933
934
|
};
|
|
934
935
|
const rewardsCancelledQuery = (programId, locale, type, unit, global = "") => {
|
|
935
|
-
return debugQuery(
|
|
936
|
+
return debugQuery(index$2.dist.gql `
|
|
936
937
|
query (
|
|
937
938
|
$programId: ID
|
|
938
939
|
$type: RewardType
|
|
@@ -975,7 +976,7 @@ const rewardsCancelledQuery = (programId, locale, type, unit, global = "") => {
|
|
|
975
976
|
});
|
|
976
977
|
};
|
|
977
978
|
const rewardsAvailableQuery = (programId, locale, type, unit, global = "") => {
|
|
978
|
-
return debugQuery(
|
|
979
|
+
return debugQuery(index$2.dist.gql `
|
|
979
980
|
query (
|
|
980
981
|
$programId: ID
|
|
981
982
|
$type: RewardType
|
|
@@ -1024,7 +1025,7 @@ const parseRewardValueFormat = {
|
|
|
1024
1025
|
const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValue", global = "") => {
|
|
1025
1026
|
var _a;
|
|
1026
1027
|
const formatType = (_a = parseRewardValueFormat[format]) !== null && _a !== void 0 ? _a : "UNIT_FORMATTED";
|
|
1027
|
-
return debugQuery(
|
|
1028
|
+
return debugQuery(index$2.dist.gql `
|
|
1028
1029
|
query (
|
|
1029
1030
|
$programId: ID
|
|
1030
1031
|
$type: RewardType!
|
|
@@ -1067,7 +1068,7 @@ const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValu
|
|
|
1067
1068
|
const totalEarned = balance
|
|
1068
1069
|
? (balance.totalAssignedCredit || 0) + (balance.totalPendingCredit || 0)
|
|
1069
1070
|
: 0;
|
|
1070
|
-
const result =
|
|
1071
|
+
const result = index$2.useQuery(index$2.dist.gql `
|
|
1071
1072
|
query (
|
|
1072
1073
|
$value: Int!
|
|
1073
1074
|
$unit: String!
|
|
@@ -1094,7 +1095,7 @@ const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValu
|
|
|
1094
1095
|
});
|
|
1095
1096
|
};
|
|
1096
1097
|
const trafficQuery = () => {
|
|
1097
|
-
return debugQuery(
|
|
1098
|
+
return debugQuery(index$2.dist.gql `
|
|
1098
1099
|
query traffic {
|
|
1099
1100
|
viewer: viewer {
|
|
1100
1101
|
... on User {
|
|
@@ -1130,7 +1131,7 @@ const userStatsQuery = (_programId, _locale, statId) => {
|
|
|
1130
1131
|
referredRevenue: false,
|
|
1131
1132
|
...statArg,
|
|
1132
1133
|
};
|
|
1133
|
-
return debugQuery(
|
|
1134
|
+
return debugQuery(index$2.dist.gql `
|
|
1134
1135
|
query userStat(
|
|
1135
1136
|
$traffic: Boolean!
|
|
1136
1137
|
$referrals: Boolean!
|
|
@@ -1169,7 +1170,7 @@ const userStatsQuery = (_programId, _locale, statId) => {
|
|
|
1169
1170
|
});
|
|
1170
1171
|
};
|
|
1171
1172
|
const payoutBalanceQuery = () => {
|
|
1172
|
-
return debugQuery(
|
|
1173
|
+
return debugQuery(index$2.dist.gql `
|
|
1173
1174
|
query payoutBalance {
|
|
1174
1175
|
viewer: viewer {
|
|
1175
1176
|
... on User {
|
|
@@ -1357,11 +1358,11 @@ const StatPaths = [
|
|
|
1357
1358
|
const StatPatterns = StatPaths.map((pattern) => index$1.pathToRegexp(pattern.route));
|
|
1358
1359
|
function useBigStat(props) {
|
|
1359
1360
|
var _a;
|
|
1360
|
-
const { statType, flexReverse, alignment, programId =
|
|
1361
|
+
const { statType, flexReverse, alignment, programId = index$2.useProgramId(), } = props;
|
|
1361
1362
|
// triggers a re-render if the label is manually changed
|
|
1362
1363
|
useChildElements.useChildElements();
|
|
1363
|
-
const locale =
|
|
1364
|
-
const userIdent =
|
|
1364
|
+
const locale = index$2.useLocale();
|
|
1365
|
+
const userIdent = index$2.useUserIdentity();
|
|
1365
1366
|
const re = domContextHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1366
1367
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1367
1368
|
return {
|
|
@@ -1440,7 +1441,7 @@ function useDemoBigStat(props) {
|
|
|
1440
1441
|
const queryName = result[1];
|
|
1441
1442
|
const label = queries[queryName].label;
|
|
1442
1443
|
return {
|
|
1443
|
-
props:
|
|
1444
|
+
props: demoMerge.demoMerge({
|
|
1444
1445
|
statvalue: "12345",
|
|
1445
1446
|
value: 0,
|
|
1446
1447
|
flexReverse: props.flexReverse,
|
|
@@ -1450,7 +1451,7 @@ function useDemoBigStat(props) {
|
|
|
1450
1451
|
descriptionTextColor: props.descriptionTextColor,
|
|
1451
1452
|
descriptionFontSize: props.descriptionFontSize,
|
|
1452
1453
|
statFontWeight: props.statFontWeight,
|
|
1453
|
-
}, props.demoData || {}
|
|
1454
|
+
}, props.demoData || {}),
|
|
1454
1455
|
label: label !== null && label !== void 0 ? label : "Demo Label",
|
|
1455
1456
|
};
|
|
1456
1457
|
}
|
|
@@ -1481,7 +1482,7 @@ function CardFeedView(props, children) {
|
|
|
1481
1482
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
1482
1483
|
}
|
|
1483
1484
|
|
|
1484
|
-
const style$
|
|
1485
|
+
const style$8 = {
|
|
1485
1486
|
Description: {
|
|
1486
1487
|
"& .icon": {
|
|
1487
1488
|
color: "var(--sqm-text)",
|
|
@@ -1526,20 +1527,20 @@ const style$2 = {
|
|
|
1526
1527
|
},
|
|
1527
1528
|
},
|
|
1528
1529
|
};
|
|
1529
|
-
const sheet$
|
|
1530
|
-
const styleString$
|
|
1530
|
+
const sheet$8 = JSS.createStyleSheet(style$8);
|
|
1531
|
+
const styleString$8 = sheet$8.toString();
|
|
1531
1532
|
function Details(props) {
|
|
1532
1533
|
const rid = Math.random().toString(36).slice(2);
|
|
1533
1534
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1534
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1535
|
-
index.h("span", { class: sheet$
|
|
1535
|
+
index.h("style", { type: "text/css" }, styleString$8),
|
|
1536
|
+
index.h("span", { class: sheet$8.classes.Description },
|
|
1536
1537
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1537
1538
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1538
1539
|
index.h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
1539
1540
|
index.h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
|
|
1540
1541
|
}
|
|
1541
1542
|
|
|
1542
|
-
const Gift = () => {
|
|
1543
|
+
const Gift$1 = () => {
|
|
1543
1544
|
return (index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
1544
1545
|
index.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" }),
|
|
1545
1546
|
index.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" }),
|
|
@@ -1554,7 +1555,7 @@ const GreyGift = () => {
|
|
|
1554
1555
|
index.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" })));
|
|
1555
1556
|
};
|
|
1556
1557
|
|
|
1557
|
-
const style$
|
|
1558
|
+
const style$7 = {
|
|
1558
1559
|
ProgressBar: {
|
|
1559
1560
|
"& .progress-bar": {
|
|
1560
1561
|
height: "0",
|
|
@@ -1576,10 +1577,10 @@ const style$3 = {
|
|
|
1576
1577
|
marginTop: "var(--sl-spacing-medium)",
|
|
1577
1578
|
},
|
|
1578
1579
|
"&[data-expired] .progress::after": {
|
|
1579
|
-
backgroundColor: "#bfbfbf",
|
|
1580
|
+
backgroundColor: "#bfbfbf", //"var(--sl-color-neutral-300)",
|
|
1580
1581
|
},
|
|
1581
1582
|
"&[data-expired] .filled::after": {
|
|
1582
|
-
backgroundColor: "#bfbfbf",
|
|
1583
|
+
backgroundColor: "#bfbfbf", //"var(--sl-color-neutral-300)",
|
|
1583
1584
|
},
|
|
1584
1585
|
"&[data-complete] .filled::after .progress::after": {
|
|
1585
1586
|
backgroundColor: "var(--sl-color-primary-200)",
|
|
@@ -1667,14 +1668,14 @@ const style$3 = {
|
|
|
1667
1668
|
},
|
|
1668
1669
|
},
|
|
1669
1670
|
};
|
|
1670
|
-
const sheet$
|
|
1671
|
-
const styleString$
|
|
1671
|
+
const sheet$7 = JSS.createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
|
|
1672
|
+
const styleString$7 = sheet$7.toString();
|
|
1672
1673
|
function ProgressBarView(props) {
|
|
1673
1674
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1674
1675
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1675
1676
|
const { columns, items } = aggregate;
|
|
1676
|
-
return (index.h("div", { class: sheet$
|
|
1677
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1677
|
+
return (index.h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1678
|
+
index.h("style", { type: "text/css" }, styleString$7),
|
|
1678
1679
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1679
1680
|
(Boolean(finite) && progress > 2 * goal)
|
|
1680
1681
|
? "progress-bar repeatable-steps"
|
|
@@ -1725,7 +1726,7 @@ function addSteps({ progress, goal, expired }) {
|
|
|
1725
1726
|
columns.push("0fr");
|
|
1726
1727
|
items.push(index.h("div", { class: "filled" }));
|
|
1727
1728
|
items.push(index.h("div", { class: "progress bg" }, goal));
|
|
1728
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1729
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1729
1730
|
}
|
|
1730
1731
|
// reward fail
|
|
1731
1732
|
else {
|
|
@@ -1752,7 +1753,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1752
1753
|
items.push(index.h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progressBarUnit + progress));
|
|
1753
1754
|
items.push(index.h("div", { class: "remain" }));
|
|
1754
1755
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1755
|
-
items.push(index.h("div", { class: "gift" }, progress == goal ? expired ? index.h(GreyGift, null) : index.h(Gift, null) : index.h(GreyGift, null)));
|
|
1756
|
+
items.push(index.h("div", { class: "gift" }, progress == goal ? expired ? index.h(GreyGift, null) : index.h(Gift$1, null) : index.h(GreyGift, null)));
|
|
1756
1757
|
items.push(index.h("div", { class: "remain" }));
|
|
1757
1758
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
|
|
1758
1759
|
items.push(index.h("div", { class: "gift" }, index.h(GreyGift, null)));
|
|
@@ -1763,7 +1764,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1763
1764
|
"0.5fr 0fr 0fr " + ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr";
|
|
1764
1765
|
items.push(index.h("div", { class: "filled" }));
|
|
1765
1766
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1766
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1767
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1767
1768
|
items.push(index.h("div", { class: "filled" }));
|
|
1768
1769
|
items.push(index.h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progress == goal ? "" : progressBarUnit + progress));
|
|
1769
1770
|
items.push(index.h("div", { class: "remain" }));
|
|
@@ -1774,7 +1775,7 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1774
1775
|
else if (finite && repetitions >= finite) {
|
|
1775
1776
|
if (repetitions > 2) {
|
|
1776
1777
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 2)));
|
|
1777
|
-
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1778
|
+
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1778
1779
|
columns = "0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr";
|
|
1779
1780
|
}
|
|
1780
1781
|
else {
|
|
@@ -1782,10 +1783,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1782
1783
|
}
|
|
1783
1784
|
items.push(index.h("div", { class: "filled" }));
|
|
1784
1785
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 1)));
|
|
1785
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1786
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1786
1787
|
items.push(index.h("div", { class: "filled" }));
|
|
1787
1788
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * finite));
|
|
1788
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1789
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1789
1790
|
}
|
|
1790
1791
|
// multiple repetitions
|
|
1791
1792
|
else {
|
|
@@ -1796,10 +1797,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired,
|
|
|
1796
1797
|
(0.5 - ratio) +
|
|
1797
1798
|
"fr 0fr 0fr";
|
|
1798
1799
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions - 1)));
|
|
1799
|
-
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1800
|
+
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1800
1801
|
items.push(index.h("div", { class: "filled" }));
|
|
1801
1802
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * repetitions));
|
|
1802
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1803
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1803
1804
|
items.push(index.h("div", { class: "filled" }));
|
|
1804
1805
|
items.push(index.h("div", { class: progress == goal * repetitions ? "progress top bg" : "progress top" }, progress == goal * repetitions ? "" : progressBarUnit + progress));
|
|
1805
1806
|
items.push(index.h("div", { class: "remain" }));
|
|
@@ -1841,7 +1842,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1841
1842
|
columns.push("0fr");
|
|
1842
1843
|
items.push(index.h("div", { class: "filled" }));
|
|
1843
1844
|
items.push(index.h("div", { class: "progress bg" }, i));
|
|
1844
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1845
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1845
1846
|
}
|
|
1846
1847
|
else {
|
|
1847
1848
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -1856,7 +1857,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1856
1857
|
columns.push("0fr");
|
|
1857
1858
|
columns.push("0fr");
|
|
1858
1859
|
items.push(index.h("div", { class: "progress bg" }, goal * (finite - 2)));
|
|
1859
|
-
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1860
|
+
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1860
1861
|
}
|
|
1861
1862
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
1862
1863
|
columns.push(ratio + "fr");
|
|
@@ -1873,14 +1874,14 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1873
1874
|
columns.push("0fr");
|
|
1874
1875
|
items.push(index.h("div", { class: "filled" }));
|
|
1875
1876
|
items.push(index.h("div", { class: "progress bg" }, goal * (finite - 1)));
|
|
1876
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1877
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1877
1878
|
}
|
|
1878
1879
|
else if (i == goal * 2) {
|
|
1879
1880
|
columns.push("0fr");
|
|
1880
1881
|
columns.push("0fr");
|
|
1881
1882
|
items.push(index.h("div", { class: "filled" }));
|
|
1882
1883
|
items.push(index.h("div", { class: "progress bg" }, goal * finite));
|
|
1883
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1884
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1884
1885
|
}
|
|
1885
1886
|
else {
|
|
1886
1887
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -1895,7 +1896,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1895
1896
|
columns.push("0fr");
|
|
1896
1897
|
columns.push("0fr");
|
|
1897
1898
|
items.push(index.h("div", { class: "progress bg" }, goal * (repetitions - 1)));
|
|
1898
|
-
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1899
|
+
items.push(index.h("div", { class: "gift start" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1899
1900
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
1900
1901
|
columns.push(ratio + "fr");
|
|
1901
1902
|
columns.push("0fr");
|
|
@@ -1904,7 +1905,7 @@ function addStepsRepeatable({ progress, goal, finite, expired, }) {
|
|
|
1904
1905
|
columns.push("0fr");
|
|
1905
1906
|
items.push(index.h("div", { class: "filled" }));
|
|
1906
1907
|
items.push(index.h("div", { class: "progress bg" }, i + goal * (repetitions - 1)));
|
|
1907
|
-
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift, null)));
|
|
1908
|
+
items.push(index.h("div", { class: "gift" }, expired ? index.h(GreyGift, null) : index.h(Gift$1, null)));
|
|
1908
1909
|
}
|
|
1909
1910
|
else {
|
|
1910
1911
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -1944,7 +1945,7 @@ function addLinear({ progress, goal, progressBarUnit, expired, }) {
|
|
|
1944
1945
|
: progressBarUnit + clamp(progress, 0, goal)));
|
|
1945
1946
|
items.push(index.h("div", { class: "remain" }));
|
|
1946
1947
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
1947
|
-
items.push(index.h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (index.h(GreyGift, null)) : (index.h(Gift, null))) : (index.h(GreyGift, null))));
|
|
1948
|
+
items.push(index.h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (index.h(GreyGift, null)) : (index.h(Gift$1, null))) : (index.h(GreyGift, null))));
|
|
1948
1949
|
return { items, columns };
|
|
1949
1950
|
}
|
|
1950
1951
|
function clamp(x, min, max) {
|
|
@@ -2190,8 +2191,8 @@ function TaskCardView(props) {
|
|
|
2190
2191
|
: "",
|
|
2191
2192
|
opacity: taskComplete || taskUnavailable ? "0.45" : "1",
|
|
2192
2193
|
} }, content.cardTitle)),
|
|
2193
|
-
states.loading ? (index.h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details,
|
|
2194
|
-
content.showProgressBar && states.loading ? (index.h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView,
|
|
2194
|
+
states.loading ? (index.h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, { ...props, opacity: taskComplete || taskUnavailable ? "0.45" : "1" }))),
|
|
2195
|
+
content.showProgressBar && states.loading ? (index.h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, { ...props.content, ...props.states, opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable }))),
|
|
2195
2196
|
index.h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sqm-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2196
2197
|
index.h("span", { class: "text" },
|
|
2197
2198
|
content.repeatable && (index.h("div", null,
|
|
@@ -2226,7 +2227,7 @@ function TaskCardView(props) {
|
|
|
2226
2227
|
} }, content.buttonText)))))))));
|
|
2227
2228
|
}
|
|
2228
2229
|
|
|
2229
|
-
const style$
|
|
2230
|
+
const style$6 = {
|
|
2230
2231
|
ErrorStyle: {
|
|
2231
2232
|
"&::part(control)": {
|
|
2232
2233
|
borderColor: "var(--sl-color-danger-500)",
|
|
@@ -2248,7 +2249,7 @@ const style$4 = {
|
|
|
2248
2249
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2249
2250
|
},
|
|
2250
2251
|
};
|
|
2251
|
-
const vanillaStyle$
|
|
2252
|
+
const vanillaStyle$7 = `
|
|
2252
2253
|
:host {
|
|
2253
2254
|
margin: 0 auto;
|
|
2254
2255
|
width: 100%;
|
|
@@ -2270,34 +2271,36 @@ sl-checkbox[checked]::part(checked-icon){
|
|
|
2270
2271
|
color: var(--sqm-input-background);
|
|
2271
2272
|
}
|
|
2272
2273
|
`;
|
|
2273
|
-
JSS.
|
|
2274
|
-
const sheet$
|
|
2275
|
-
const styleString$
|
|
2274
|
+
JSS.index.setup(JSS.create());
|
|
2275
|
+
const sheet$6 = JSS.index.createStyleSheet(style$6);
|
|
2276
|
+
const styleString$6 = sheet$6.toString();
|
|
2276
2277
|
function CheckboxFieldView(props) {
|
|
2277
2278
|
var _a, _b, _c, _d, _e;
|
|
2278
2279
|
const { states, content, callbacks } = props;
|
|
2279
2280
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2280
|
-
return (index.h("div", { class: sheet$
|
|
2281
|
+
return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
|
|
2281
2282
|
index.h("style", { type: "text/css" },
|
|
2282
|
-
vanillaStyle$
|
|
2283
|
-
styleString$
|
|
2284
|
-
index.h("sl-checkbox",
|
|
2283
|
+
vanillaStyle$7,
|
|
2284
|
+
styleString$6),
|
|
2285
|
+
index.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2285
2286
|
e.target.value = e.target.checked;
|
|
2286
2287
|
callbacks.setChecked(e.target.value);
|
|
2287
|
-
}
|
|
2288
|
+
}, ...(!content.checkboxOptional ? { required: true } : []), disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) ||
|
|
2289
|
+
((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
|
|
2288
2290
|
if (!value && !content.checkboxOptional) {
|
|
2289
2291
|
return content.errorMessage;
|
|
2290
2292
|
}
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2293
|
+
}, ...(((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName])
|
|
2294
|
+
? {
|
|
2295
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2296
|
+
}
|
|
2297
|
+
: []) }, global.intl.formatMessage({
|
|
2295
2298
|
id: content.checkboxName + "-message",
|
|
2296
2299
|
defaultMessage: content.checkboxLabel,
|
|
2297
2300
|
}, {
|
|
2298
2301
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2299
2302
|
})),
|
|
2300
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2303
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$6.classes.ErrorMessageStyle }, content.errorMessage))));
|
|
2301
2304
|
}
|
|
2302
2305
|
|
|
2303
2306
|
function CouponCodeView(props) {
|
|
@@ -2324,7 +2327,7 @@ function CouponCodeView(props) {
|
|
|
2324
2327
|
vanillaStyle),
|
|
2325
2328
|
index.h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign }, part: "label" }, props.couponCodeLabel),
|
|
2326
2329
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "alert-icon, erroralert-icon" },
|
|
2327
|
-
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView,
|
|
2330
|
+
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, { ...props }))));
|
|
2328
2331
|
}
|
|
2329
2332
|
|
|
2330
2333
|
const style$5 = {
|
|
@@ -2343,7 +2346,7 @@ const style$5 = {
|
|
|
2343
2346
|
"margin-bottom": "var(--sl-spacing-medium)",
|
|
2344
2347
|
},
|
|
2345
2348
|
};
|
|
2346
|
-
const vanillaStyle$
|
|
2349
|
+
const vanillaStyle$6 = `
|
|
2347
2350
|
:host {
|
|
2348
2351
|
margin: 0 auto;
|
|
2349
2352
|
width: 100%;
|
|
@@ -2357,8 +2360,8 @@ sl-select::part(base){
|
|
|
2357
2360
|
color: var(--sqm-input-color);
|
|
2358
2361
|
}
|
|
2359
2362
|
`;
|
|
2360
|
-
JSS.
|
|
2361
|
-
const sheet$5 = JSS.
|
|
2363
|
+
JSS.index.setup(JSS.create());
|
|
2364
|
+
const sheet$5 = JSS.index.createStyleSheet(style$5);
|
|
2362
2365
|
const styleString$5 = sheet$5.toString();
|
|
2363
2366
|
function DropdownFieldView(props) {
|
|
2364
2367
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -2366,15 +2369,18 @@ function DropdownFieldView(props) {
|
|
|
2366
2369
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2367
2370
|
return (index.h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
|
|
2368
2371
|
index.h("style", { type: "text/css" },
|
|
2369
|
-
vanillaStyle$
|
|
2372
|
+
vanillaStyle$6,
|
|
2370
2373
|
styleString$5),
|
|
2371
|
-
index.h("sl-select",
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2374
|
+
index.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) ||
|
|
2375
|
+
((_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])
|
|
2376
|
+
? {
|
|
2377
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2378
|
+
}
|
|
2379
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName])
|
|
2380
|
+
? {
|
|
2381
|
+
class: sheet$5.classes.ErrorStyle,
|
|
2382
|
+
}
|
|
2383
|
+
: []) }, content.selectOptions),
|
|
2378
2384
|
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$5.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2379
2385
|
id: `errorMessage-${content.dropdownName}`,
|
|
2380
2386
|
defaultMessage: content.errorMessage,
|
|
@@ -2397,16 +2403,16 @@ const EditProfileView = (props) => {
|
|
|
2397
2403
|
index.h("div", { class: "FormSection" },
|
|
2398
2404
|
states.formState.error && (index.h("sqm-form-message", { loading: states.loading, type: "error", exportparts: "erroralert-icon" },
|
|
2399
2405
|
index.h("div", { part: "erroralert-text" }, states.formState.error))),
|
|
2400
|
-
index.h("sl-input",
|
|
2401
|
-
|
|
2402
|
-
|
|
2406
|
+
index.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"
|
|
2407
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
2408
|
+
: []), id: "firstName", name: "firstName", error: errors.firstName && errors.firstName.status !== "valid"
|
|
2403
2409
|
? errors.firstName.message
|
|
2404
|
-
: undefined })
|
|
2405
|
-
index.h("sl-input",
|
|
2406
|
-
|
|
2407
|
-
|
|
2410
|
+
: undefined }),
|
|
2411
|
+
index.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"
|
|
2412
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
2413
|
+
: []), error: errors.lastName && errors.lastName.status !== "valid"
|
|
2408
2414
|
? errors.lastName.message
|
|
2409
|
-
: undefined }))
|
|
2415
|
+
: undefined })),
|
|
2410
2416
|
text.showregion && states.formState.currentRegion && (index.h("sl-input", { exportparts: "label: input-label, base: input-base", disabled: true, value: states.formState.currentRegion, label: text.currentregiontext, id: "currentRegion", name: "currentRegion" })),
|
|
2411
2417
|
index.h("div", { class: "ButtonWrapper" },
|
|
2412
2418
|
index.h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
@@ -2705,44 +2711,47 @@ function HeroView(props) {
|
|
|
2705
2711
|
: ""}` }, content.secondaryColumn))) : (index.h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
2706
2712
|
}
|
|
2707
2713
|
|
|
2708
|
-
const style$
|
|
2714
|
+
const style$4 = {
|
|
2709
2715
|
ErrorStyle: mixins.ErrorStyles,
|
|
2710
2716
|
FieldContainer: {
|
|
2711
2717
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2712
2718
|
},
|
|
2713
2719
|
};
|
|
2714
|
-
const vanillaStyle$
|
|
2720
|
+
const vanillaStyle$5 = `
|
|
2715
2721
|
:host {
|
|
2716
2722
|
margin: 0 auto;
|
|
2717
2723
|
width: 100%;
|
|
2718
2724
|
display: block;
|
|
2719
2725
|
}
|
|
2720
2726
|
`;
|
|
2721
|
-
JSS.
|
|
2722
|
-
const sheet$
|
|
2723
|
-
const styleString$
|
|
2727
|
+
JSS.index.setup(JSS.create());
|
|
2728
|
+
const sheet$4 = JSS.index.createStyleSheet(style$4);
|
|
2729
|
+
const styleString$4 = sheet$4.toString();
|
|
2724
2730
|
function InputFieldView(props) {
|
|
2725
2731
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2726
2732
|
const { states, content } = props;
|
|
2727
2733
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2728
|
-
return (index.h("div", { class: sheet$
|
|
2734
|
+
return (index.h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
|
|
2729
2735
|
index.h("style", { type: "text/css" },
|
|
2730
|
-
vanillaStyle$
|
|
2731
|
-
styleString$
|
|
2732
|
-
index.h("sl-input",
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2736
|
+
vanillaStyle$5,
|
|
2737
|
+
styleString$4),
|
|
2738
|
+
index.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) ||
|
|
2739
|
+
((_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])
|
|
2740
|
+
? {
|
|
2741
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2742
|
+
}
|
|
2743
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName])
|
|
2744
|
+
? {
|
|
2745
|
+
class: sheet$4.classes.ErrorStyle,
|
|
2746
|
+
helpText: global.intl.formatMessage({
|
|
2747
|
+
id: `errorMessage-${content.fieldName}`,
|
|
2748
|
+
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
2749
|
+
}),
|
|
2750
|
+
}
|
|
2751
|
+
: []) })));
|
|
2743
2752
|
}
|
|
2744
2753
|
|
|
2745
|
-
const style$
|
|
2754
|
+
const style$3 = {
|
|
2746
2755
|
ErrorStyle: mixins.ErrorStyles,
|
|
2747
2756
|
FieldsContainer: {
|
|
2748
2757
|
"& sl-input": {
|
|
@@ -2787,32 +2796,38 @@ sl-input {
|
|
|
2787
2796
|
}
|
|
2788
2797
|
|
|
2789
2798
|
`;
|
|
2790
|
-
const sheet$
|
|
2791
|
-
const styleString$
|
|
2799
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
2800
|
+
const styleString$3 = sheet$3.toString();
|
|
2792
2801
|
function NameFieldsView(props) {
|
|
2793
2802
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2794
2803
|
const { states } = props;
|
|
2795
2804
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2796
|
-
return (index.h("div", { class: sheet$
|
|
2805
|
+
return (index.h("div", { class: sheet$3.classes.FieldsContainer },
|
|
2797
2806
|
index.h("style", { type: "text/css" },
|
|
2798
2807
|
vanillaStyle$4,
|
|
2799
|
-
styleString$
|
|
2800
|
-
index.h("sl-input",
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2808
|
+
styleString$3),
|
|
2809
|
+
index.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) ||
|
|
2810
|
+
((_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)
|
|
2811
|
+
? {
|
|
2812
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2813
|
+
}
|
|
2814
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName)
|
|
2815
|
+
? {
|
|
2816
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2817
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2818
|
+
}
|
|
2819
|
+
: []) }),
|
|
2820
|
+
index.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) ||
|
|
2821
|
+
((_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)
|
|
2822
|
+
? {
|
|
2823
|
+
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2824
|
+
}
|
|
2825
|
+
: {}), ...((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName)
|
|
2826
|
+
? {
|
|
2827
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2828
|
+
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2829
|
+
}
|
|
2830
|
+
: []) })));
|
|
2816
2831
|
}
|
|
2817
2832
|
|
|
2818
2833
|
function ChangeMarktingView(props) {
|
|
@@ -2842,7 +2857,7 @@ function ChangeMarktingView(props) {
|
|
|
2842
2857
|
const styleString = sheet.toString();
|
|
2843
2858
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2844
2859
|
index.h("style", { type: "text/css" }, styleString),
|
|
2845
|
-
index.h(sqmTextSpanView.TextSpanView,
|
|
2860
|
+
index.h(sqmTextSpanView.TextSpanView, { ...{ type: "h2" } }, text.emailPreferencesHeader),
|
|
2846
2861
|
index.h("sl-form", { "onSl-submit": callbacks.onSubmit },
|
|
2847
2862
|
index.h(CheckboxFieldView, { states: {
|
|
2848
2863
|
checked: states.formState.marketingEmailOptIn,
|
|
@@ -2859,7 +2874,7 @@ function ChangeMarktingView(props) {
|
|
|
2859
2874
|
index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
2860
2875
|
}
|
|
2861
2876
|
|
|
2862
|
-
const vanillaStyle$
|
|
2877
|
+
const vanillaStyle$3 = `
|
|
2863
2878
|
:host {
|
|
2864
2879
|
margin: 0 auto;
|
|
2865
2880
|
width: 100%;
|
|
@@ -2916,7 +2931,7 @@ function PortalFooterView(props) {
|
|
|
2916
2931
|
const styleString = sheet.toString();
|
|
2917
2932
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2918
2933
|
index.h("style", { type: "text/css" },
|
|
2919
|
-
vanillaStyle$
|
|
2934
|
+
vanillaStyle$3,
|
|
2920
2935
|
styleString),
|
|
2921
2936
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2922
2937
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -3017,7 +3032,7 @@ const CheckMark = () => (index.h("svg", { width: 12, height: 10, fill: "none", x
|
|
|
3017
3032
|
const CheckmarkFilled = () => (index.h("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
3018
3033
|
index.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" }),
|
|
3019
3034
|
index.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" })));
|
|
3020
|
-
const Gift
|
|
3035
|
+
const Gift = () => (index.h("svg", { width: 156, height: 157, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
3021
3036
|
index.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" }),
|
|
3022
3037
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M37.18 73.862v7.966h89.663v-7.966H37.18Z", fill: "#E9BB30" }),
|
|
3023
3038
|
index.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" }),
|
|
@@ -3098,7 +3113,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3098
3113
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3099
3114
|
}
|
|
3100
3115
|
|
|
3101
|
-
const style$
|
|
3116
|
+
const style$2 = {
|
|
3102
3117
|
HostBlock: mixins.HostBlock,
|
|
3103
3118
|
Container: {
|
|
3104
3119
|
minWidth: "300px",
|
|
@@ -3449,8 +3464,8 @@ const style$8 = {
|
|
|
3449
3464
|
},
|
|
3450
3465
|
};
|
|
3451
3466
|
// JSS config
|
|
3452
|
-
const sheet$
|
|
3453
|
-
const styleString$
|
|
3467
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
3468
|
+
const styleString$2 = sheet$2.toString();
|
|
3454
3469
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3455
3470
|
function RewardExchangeView(props) {
|
|
3456
3471
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3473,7 +3488,7 @@ function RewardExchangeView(props) {
|
|
|
3473
3488
|
sourceUnit: item.sourceUnit,
|
|
3474
3489
|
})));
|
|
3475
3490
|
}
|
|
3476
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3491
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$2.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3477
3492
|
var _a, _b, _c, _d, _e;
|
|
3478
3493
|
return callbacks.setExchangeState({
|
|
3479
3494
|
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,
|
|
@@ -3481,7 +3496,7 @@ function RewardExchangeView(props) {
|
|
|
3481
3496
|
});
|
|
3482
3497
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3483
3498
|
var _a, _b;
|
|
3484
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3499
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$2.classes.SelectItem },
|
|
3485
3500
|
step.prettyDestinationValue,
|
|
3486
3501
|
index.h("br", null),
|
|
3487
3502
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3500,8 +3515,8 @@ function RewardExchangeView(props) {
|
|
|
3500
3515
|
var _a;
|
|
3501
3516
|
return [
|
|
3502
3517
|
index.h("div", { part: "choose-reward-container" },
|
|
3503
|
-
index.h("div", { class: sheet$
|
|
3504
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3518
|
+
index.h("div", { class: sheet$2.classes.Title }, states.content.text.rewardTitle),
|
|
3519
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$2.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3505
3520
|
var _a, _b, _c, _d, _e;
|
|
3506
3521
|
const style = {
|
|
3507
3522
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3511,7 +3526,7 @@ function RewardExchangeView(props) {
|
|
|
3511
3526
|
borderColor: "none",
|
|
3512
3527
|
};
|
|
3513
3528
|
return (index.h("div", { key: item.key, style: style },
|
|
3514
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3529
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$2.classes.Card, style: {
|
|
3515
3530
|
cursor: item.unavailableReasonCode
|
|
3516
3531
|
? "not-allowed"
|
|
3517
3532
|
: "pointer",
|
|
@@ -3528,14 +3543,14 @@ function RewardExchangeView(props) {
|
|
|
3528
3543
|
? "rgba(0, 0, 0, 0.05)"
|
|
3529
3544
|
: "rgba(0, 0, 0, 0)",
|
|
3530
3545
|
} },
|
|
3531
|
-
index.h("div", { class: sheet$
|
|
3546
|
+
index.h("div", { class: sheet$2.classes.Image, style: {
|
|
3532
3547
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3533
3548
|
} },
|
|
3534
3549
|
index.h("img", { class: item.unavailableReasonCode
|
|
3535
3550
|
? "image subdued"
|
|
3536
3551
|
: "image", src: imageUrl$1.optimizeCloudinaryUrl((item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3537
3552
|
index.getAssetPath("./assets/Reward-image.png")), decoding: "async" })),
|
|
3538
|
-
index.h("div", { class: sheet$
|
|
3553
|
+
index.h("div", { class: sheet$2.classes.TextArea, style: {
|
|
3539
3554
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3540
3555
|
} },
|
|
3541
3556
|
index.h("div", { class: "title", style: {
|
|
@@ -3568,7 +3583,7 @@ function RewardExchangeView(props) {
|
|
|
3568
3583
|
item.prettySourceMinValue,
|
|
3569
3584
|
}))))))));
|
|
3570
3585
|
}))),
|
|
3571
|
-
index.h("div", { class: sheet$
|
|
3586
|
+
index.h("div", { class: sheet$2.classes.Button },
|
|
3572
3587
|
index.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))),
|
|
3573
3588
|
];
|
|
3574
3589
|
}
|
|
@@ -3579,7 +3594,7 @@ function RewardExchangeView(props) {
|
|
|
3579
3594
|
? false
|
|
3580
3595
|
: input && !states.amount;
|
|
3581
3596
|
return (index.h("div", null,
|
|
3582
|
-
index.h("div", { class: sheet$
|
|
3597
|
+
index.h("div", { class: sheet$2.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3583
3598
|
index.h("div", { class: "wrapper" },
|
|
3584
3599
|
index.h("img", { class: "image", src: imageUrl$1.optimizeCloudinaryUrl((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3585
3600
|
index.getAssetPath("./assets/Reward-image.png")), decoding: "async" }),
|
|
@@ -3588,7 +3603,7 @@ function RewardExchangeView(props) {
|
|
|
3588
3603
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3589
3604
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3590
3605
|
index.h("div", { class: "space" }))),
|
|
3591
|
-
index.h("div", { class: sheet$
|
|
3606
|
+
index.h("div", { class: sheet$2.classes.Button },
|
|
3592
3607
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3593
3608
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3594
3609
|
}
|
|
@@ -3596,8 +3611,8 @@ function RewardExchangeView(props) {
|
|
|
3596
3611
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
|
|
3597
3612
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3598
3613
|
return (index.h("div", null,
|
|
3599
|
-
index.h("div", { class: sheet$
|
|
3600
|
-
index.h("div", { class: sheet$
|
|
3614
|
+
index.h("div", { class: sheet$2.classes.Confirmation, part: "confirmation-container" },
|
|
3615
|
+
index.h("div", { class: sheet$2.classes.Title }, states.content.text.redeemTitle),
|
|
3601
3616
|
index.h("div", { class: "wrapper" },
|
|
3602
3617
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3603
3618
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3612,14 +3627,14 @@ function RewardExchangeView(props) {
|
|
|
3612
3627
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3613
3628
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3614
3629
|
index.h("div", { class: "value" }, cost)),
|
|
3615
|
-
index.h("div", { class: sheet$
|
|
3630
|
+
index.h("div", { class: sheet$2.classes.Button },
|
|
3616
3631
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3617
3632
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3618
3633
|
}
|
|
3619
3634
|
function success() {
|
|
3620
3635
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3621
|
-
return (index.h("div", { class: sheet$
|
|
3622
|
-
index.h(Gift
|
|
3636
|
+
return (index.h("div", { class: sheet$2.classes.Success, part: "success-container" },
|
|
3637
|
+
index.h(Gift, null),
|
|
3623
3638
|
index.h(Confetti, null),
|
|
3624
3639
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
3625
3640
|
index.h("div", { class: "description" }, global.intl.formatMessage({
|
|
@@ -3627,12 +3642,14 @@ function RewardExchangeView(props) {
|
|
|
3627
3642
|
defaultMessage: states.content.text.redemptionSuccessText,
|
|
3628
3643
|
}, {
|
|
3629
3644
|
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,
|
|
3630
|
-
destinationValue: ((_e = states.selectedStep) === null || _e === void 0 ? void 0 : _e.prettyDestinationValue) ||
|
|
3645
|
+
destinationValue: ((_e = states.selectedStep) === null || _e === void 0 ? void 0 : _e.prettyDestinationValue) ||
|
|
3646
|
+
((_f = states.selectedItem) === null || _f === void 0 ? void 0 : _f.name) ||
|
|
3647
|
+
((_g = states.selectedItem) === null || _g === void 0 ? void 0 : _g.globalRewardKey),
|
|
3631
3648
|
})),
|
|
3632
3649
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3633
3650
|
states.content.text.promoCode,
|
|
3634
3651
|
index.h(copyTextView.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 }))),
|
|
3635
|
-
index.h("div", { class: sheet$
|
|
3652
|
+
index.h("div", { class: sheet$2.classes.Button },
|
|
3636
3653
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3637
3654
|
}
|
|
3638
3655
|
const stages = {
|
|
@@ -3644,7 +3661,7 @@ function RewardExchangeView(props) {
|
|
|
3644
3661
|
const currentStage = stages[states.redeemStage];
|
|
3645
3662
|
function stageMap() {
|
|
3646
3663
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3647
|
-
return (index.h("div", { class: sheet$
|
|
3664
|
+
return (index.h("div", { class: sheet$2.classes.ProgressBar },
|
|
3648
3665
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3649
3666
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3650
3667
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3656,10 +3673,10 @@ function RewardExchangeView(props) {
|
|
|
3656
3673
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3657
3674
|
}
|
|
3658
3675
|
function loading() {
|
|
3659
|
-
return (index.h("div", { class: sheet$
|
|
3676
|
+
return (index.h("div", { class: sheet$2.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3660
3677
|
return (index.h("div", null,
|
|
3661
|
-
index.h("sl-card", { class: sheet$
|
|
3662
|
-
index.h("div", { class: sheet$
|
|
3678
|
+
index.h("sl-card", { class: sheet$2.classes.Card },
|
|
3679
|
+
index.h("div", { class: sheet$2.classes.CardLayout },
|
|
3663
3680
|
index.h("div", null,
|
|
3664
3681
|
index.h("sqm-skeleton", { style: {
|
|
3665
3682
|
margin: "9px",
|
|
@@ -3691,12 +3708,12 @@ function RewardExchangeView(props) {
|
|
|
3691
3708
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3692
3709
|
return;
|
|
3693
3710
|
refs.canvasRef.current = canvas;
|
|
3694
|
-
}, id: "my-canvas", class: sheet$
|
|
3711
|
+
}, id: "my-canvas", class: sheet$2.classes.Confetti }));
|
|
3695
3712
|
}
|
|
3696
3713
|
if (states.noExchangeOptions)
|
|
3697
3714
|
return states.content.text.empty;
|
|
3698
|
-
return (index.h("div", { class: sheet$
|
|
3699
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3715
|
+
return (index.h("div", { class: sheet$2.classes.Container, part: "sqm-base" },
|
|
3716
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
3700
3717
|
index.h("div", null,
|
|
3701
3718
|
stageMap(),
|
|
3702
3719
|
states.exchangeError && errorMessage(),
|
|
@@ -3757,6 +3774,7 @@ const baseResponse = (data, stage = "chooseReward", selectedItem = null, selecte
|
|
|
3757
3774
|
setStage: null,
|
|
3758
3775
|
setExchangeState: null,
|
|
3759
3776
|
copyFuelTankCode: null,
|
|
3777
|
+
// refs: null,
|
|
3760
3778
|
},
|
|
3761
3779
|
refs: null,
|
|
3762
3780
|
});
|
|
@@ -4112,7 +4130,7 @@ const empty = {
|
|
|
4112
4130
|
...baseResponse(null, "chooseReward", null, null, false, false, null, true),
|
|
4113
4131
|
};
|
|
4114
4132
|
|
|
4115
|
-
const MessageLinkQuery =
|
|
4133
|
+
const MessageLinkQuery$1 = index$2.dist.gql `
|
|
4116
4134
|
query (
|
|
4117
4135
|
$programId: ID
|
|
4118
4136
|
$engagementMedium: UserEngagementMedium!
|
|
@@ -4166,21 +4184,21 @@ function GenericShare(messageLink, errorText) {
|
|
|
4166
4184
|
function useShareButton(props) {
|
|
4167
4185
|
var _a, _b, _c, _d;
|
|
4168
4186
|
const { sharetitle, sharetext, medium } = props;
|
|
4169
|
-
const programId = props.programId ? props.programId :
|
|
4170
|
-
const user =
|
|
4171
|
-
const engagementMedium =
|
|
4187
|
+
const programId = props.programId ? props.programId : index$2.useProgramId();
|
|
4188
|
+
const user = index$2.useUserIdentity();
|
|
4189
|
+
const engagementMedium = index$2.useEngagementMedium();
|
|
4172
4190
|
const variables = {
|
|
4173
4191
|
engagementMedium,
|
|
4174
4192
|
programId: programId,
|
|
4175
4193
|
shareMedium: medium.toUpperCase(),
|
|
4176
4194
|
};
|
|
4177
|
-
const contextData =
|
|
4195
|
+
const contextData = index$2.useParentValue(useReferralCodes.REFERRAL_CODES_NAMESPACE);
|
|
4178
4196
|
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
4179
4197
|
// only queries if a programId is available
|
|
4180
|
-
const res =
|
|
4181
|
-
const [setCopied, copiedRes] =
|
|
4198
|
+
const res = index$2.useQuery(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
4199
|
+
const [setCopied, copiedRes] = index$2.useMutation(useReferralCodes.SET_CODE_COPIED);
|
|
4182
4200
|
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);
|
|
4183
|
-
const environment =
|
|
4201
|
+
const environment = index$2.getEnvironmentSDK();
|
|
4184
4202
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
4185
4203
|
window.orientation === undefined) ||
|
|
4186
4204
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
@@ -4215,7 +4233,7 @@ function useShareButton(props) {
|
|
|
4215
4233
|
};
|
|
4216
4234
|
}
|
|
4217
4235
|
|
|
4218
|
-
const vanillaStyle$
|
|
4236
|
+
const vanillaStyle$2 = `
|
|
4219
4237
|
:host {
|
|
4220
4238
|
display: block;
|
|
4221
4239
|
width: 100%;
|
|
@@ -4365,7 +4383,7 @@ function ShareLinkView(props) {
|
|
|
4365
4383
|
return (index.h("div", { class: sheet.classes.Container },
|
|
4366
4384
|
index.h("style", { type: "text/css" },
|
|
4367
4385
|
styleString,
|
|
4368
|
-
vanillaStyle$
|
|
4386
|
+
vanillaStyle$2),
|
|
4369
4387
|
index.h("p", { class: sheet.classes.EditLabel }, editLabelText),
|
|
4370
4388
|
index.h("div", { class: sheet.classes.EditInputWrapper },
|
|
4371
4389
|
index.h("span", { class: sheet.classes.DomainPrefix, title: domainPrefix },
|
|
@@ -4399,8 +4417,8 @@ function ShareLinkView(props) {
|
|
|
4399
4417
|
return (index.h("div", { class: sheet.classes.Container },
|
|
4400
4418
|
index.h("style", { type: "text/css" },
|
|
4401
4419
|
styleString,
|
|
4402
|
-
vanillaStyle$
|
|
4403
|
-
index.h(copyTextView.CopyTextView,
|
|
4420
|
+
vanillaStyle$2),
|
|
4421
|
+
index.h(copyTextView.CopyTextView, { ...copyTextViewProps }),
|
|
4404
4422
|
allowCustomization &&
|
|
4405
4423
|
(customizeDisabled ? (index.h("sl-tooltip", { content: customizeDisabledTooltip, placement: "top", style: { display: "inline-block", width: "fit-content" } },
|
|
4406
4424
|
index.h("p", { class: sheet.classes.CustomizeLinkDisabled }, customizeLinkLabel))) : (index.h("div", { class: sheet.classes.LimitReachedContainer },
|
|
@@ -4418,7 +4436,7 @@ function ShareLinkView(props) {
|
|
|
4418
4436
|
const MAX_EDITS = 5;
|
|
4419
4437
|
const CHARACTER_LIMIT = 30;
|
|
4420
4438
|
const MIN_CHARACTERS = 3;
|
|
4421
|
-
const MessageLinkQuery
|
|
4439
|
+
const MessageLinkQuery = index$2.dist.gql `
|
|
4422
4440
|
query ($programId: ID) {
|
|
4423
4441
|
user: viewer {
|
|
4424
4442
|
... on User {
|
|
@@ -4427,12 +4445,12 @@ const MessageLinkQuery$1 = index_module.dist.gql `
|
|
|
4427
4445
|
}
|
|
4428
4446
|
}
|
|
4429
4447
|
`;
|
|
4430
|
-
const WIDGET_ENGAGEMENT_EVENT =
|
|
4448
|
+
const WIDGET_ENGAGEMENT_EVENT = index$2.dist.gql `
|
|
4431
4449
|
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
4432
4450
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
4433
4451
|
}
|
|
4434
4452
|
`;
|
|
4435
|
-
const ADD_SHARE_LINK_CODE =
|
|
4453
|
+
const ADD_SHARE_LINK_CODE = index$2.dist.gql `
|
|
4436
4454
|
mutation ($addShareLinkCodeInput: AddShareLinkCodeInput!) {
|
|
4437
4455
|
addShareLinkCode(addShareLinkCodeInput: $addShareLinkCodeInput) {
|
|
4438
4456
|
linkCode {
|
|
@@ -4445,7 +4463,7 @@ const ADD_SHARE_LINK_CODE = index_module.dist.gql `
|
|
|
4445
4463
|
}
|
|
4446
4464
|
}
|
|
4447
4465
|
`;
|
|
4448
|
-
const VALIDATE_LINK_CODE =
|
|
4466
|
+
const VALIDATE_LINK_CODE = index$2.dist.gql `
|
|
4449
4467
|
query validateLinkCode($linkCode: String!) {
|
|
4450
4468
|
validateLinkCode(linkCode: $linkCode) {
|
|
4451
4469
|
valid
|
|
@@ -4453,7 +4471,7 @@ const VALIDATE_LINK_CODE = index_module.dist.gql `
|
|
|
4453
4471
|
}
|
|
4454
4472
|
}
|
|
4455
4473
|
`;
|
|
4456
|
-
const GET_LINK_DOMAIN =
|
|
4474
|
+
const GET_LINK_DOMAIN = index$2.dist.gql `
|
|
4457
4475
|
query getLinkDomain {
|
|
4458
4476
|
tenantSettings {
|
|
4459
4477
|
primaryLinkDomain {
|
|
@@ -4462,7 +4480,7 @@ const GET_LINK_DOMAIN = index_module.dist.gql `
|
|
|
4462
4480
|
}
|
|
4463
4481
|
}
|
|
4464
4482
|
`;
|
|
4465
|
-
const SHARE_LINK_EDIT_COUNT =
|
|
4483
|
+
const SHARE_LINK_EDIT_COUNT = index$2.dist.gql `
|
|
4466
4484
|
query shareLinkEditCount {
|
|
4467
4485
|
viewer {
|
|
4468
4486
|
... on User {
|
|
@@ -4491,18 +4509,18 @@ function parseShareUrl(url) {
|
|
|
4491
4509
|
}
|
|
4492
4510
|
function useShareLink(props) {
|
|
4493
4511
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
4494
|
-
const { programId =
|
|
4495
|
-
const user =
|
|
4496
|
-
const engagementMedium =
|
|
4497
|
-
const contextData =
|
|
4498
|
-
const { data, refetch } =
|
|
4499
|
-
const [sendLoadEvent] =
|
|
4500
|
-
const [setCopied] =
|
|
4501
|
-
const [addShareLinkCode, { loading: isSaving }] =
|
|
4502
|
-
const [validateLinkCode] =
|
|
4503
|
-
const { refresh } =
|
|
4504
|
-
const { data: linkDomainData } =
|
|
4505
|
-
const { data: editCountData, refetch: refetchEditCount } =
|
|
4512
|
+
const { programId = index$2.useProgramId() } = props;
|
|
4513
|
+
const user = index$2.useUserIdentity();
|
|
4514
|
+
const engagementMedium = index$2.useEngagementMedium();
|
|
4515
|
+
const contextData = index$2.useParentValue(useReferralCodes.REFERRAL_CODES_NAMESPACE);
|
|
4516
|
+
const { data, refetch } = index$2.useQuery(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
4517
|
+
const [sendLoadEvent] = index$2.useMutation(WIDGET_ENGAGEMENT_EVENT);
|
|
4518
|
+
const [setCopied] = index$2.useMutation(useReferralCodes.SET_CODE_COPIED);
|
|
4519
|
+
const [addShareLinkCode, { loading: isSaving }] = index$2.useMutation(ADD_SHARE_LINK_CODE);
|
|
4520
|
+
const [validateLinkCode] = index$2.useLazyQuery(VALIDATE_LINK_CODE);
|
|
4521
|
+
const { refresh } = index$2.useRefreshDispatcher();
|
|
4522
|
+
const { data: linkDomainData } = index$2.useQuery(GET_LINK_DOMAIN, {}, !(user === null || user === void 0 ? void 0 : user.jwt) || !props.allowCustomization);
|
|
4523
|
+
const { data: editCountData, refetch: refetchEditCount } = index$2.useQuery(SHARE_LINK_EDIT_COUNT, {}, !(user === null || user === void 0 ? void 0 : user.jwt) || !props.allowCustomization);
|
|
4506
4524
|
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 :
|
|
4507
4525
|
// Shown during loading
|
|
4508
4526
|
"...");
|
|
@@ -4685,7 +4703,7 @@ function useShareLink(props) {
|
|
|
4685
4703
|
};
|
|
4686
4704
|
}
|
|
4687
4705
|
|
|
4688
|
-
const style$
|
|
4706
|
+
const style$1 = {
|
|
4689
4707
|
Wrapper: {
|
|
4690
4708
|
...mixins.AuthWrapper,
|
|
4691
4709
|
"max-width": "600px",
|
|
@@ -4723,7 +4741,7 @@ const style$9 = {
|
|
|
4723
4741
|
},
|
|
4724
4742
|
ErrorStyle: mixins.ErrorStyles,
|
|
4725
4743
|
};
|
|
4726
|
-
const vanillaStyle$
|
|
4744
|
+
const vanillaStyle$1 = `
|
|
4727
4745
|
sqm-portal-register {
|
|
4728
4746
|
margin: 0 auto;
|
|
4729
4747
|
width: 100%;
|
|
@@ -4738,8 +4756,8 @@ sqm-portal-register {
|
|
|
4738
4756
|
display: none;
|
|
4739
4757
|
}
|
|
4740
4758
|
`;
|
|
4741
|
-
const sheet$
|
|
4742
|
-
const styleString$
|
|
4759
|
+
const sheet$1 = JSS.createStyleSheet(style$1);
|
|
4760
|
+
const styleString$1 = sheet$1.toString();
|
|
4743
4761
|
function LeadFormView(props) {
|
|
4744
4762
|
var _a, _b, _c, _d;
|
|
4745
4763
|
const { states, refs, callbacks, content } = props;
|
|
@@ -4753,22 +4771,22 @@ function LeadFormView(props) {
|
|
|
4753
4771
|
fieldLabel,
|
|
4754
4772
|
});
|
|
4755
4773
|
return (index.h(index.Fragment, null,
|
|
4756
|
-
states.success && (index.h("div", { class: sheet$
|
|
4774
|
+
states.success && (index.h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
|
|
4757
4775
|
index.h("style", { type: "text/css" },
|
|
4758
|
-
vanillaStyle$
|
|
4759
|
-
styleString$
|
|
4776
|
+
vanillaStyle$1,
|
|
4777
|
+
styleString$1),
|
|
4760
4778
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4761
4779
|
index.h("sqm-form-message", { loading: states.loading, exportparts: "successalert-icon" },
|
|
4762
4780
|
index.h("b", null, content.submitSuccessHeader),
|
|
4763
4781
|
index.h("br", null),
|
|
4764
4782
|
index.h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
|
|
4765
|
-
index.h("sl-button", { class: sheet$
|
|
4766
|
-
index.h("div", { class: sheet$
|
|
4783
|
+
index.h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
|
|
4784
|
+
index.h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
|
|
4767
4785
|
index.h("style", { type: "text/css" },
|
|
4768
|
-
vanillaStyle$
|
|
4769
|
-
styleString$
|
|
4786
|
+
vanillaStyle$1,
|
|
4787
|
+
styleString$1),
|
|
4770
4788
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4771
|
-
index.h("sl-form", { class: sheet$
|
|
4789
|
+
index.h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
4772
4790
|
states.error && (index.h("sqm-form-message", { type: "error" },
|
|
4773
4791
|
index.h("p", { part: "alert-title" }, content.submitErrorHeader),
|
|
4774
4792
|
index.h("p", { part: "alert-description" }, global.intl.formatMessage({
|
|
@@ -4777,10 +4795,10 @@ function LeadFormView(props) {
|
|
|
4777
4795
|
}, {
|
|
4778
4796
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
|
|
4779
4797
|
})))),
|
|
4780
|
-
index.h("div", { class: sheet$
|
|
4781
|
-
index.h("sqm-lead-input-field", { class: sheet$
|
|
4782
|
-
index.h("sqm-lead-input-field", { class: sheet$
|
|
4783
|
-
index.h("sl-input",
|
|
4798
|
+
index.h("div", { class: sheet$1.classes.NameFieldWrapper },
|
|
4799
|
+
index.h("sqm-lead-input-field", { class: sheet$1.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
|
|
4800
|
+
index.h("sqm-lead-input-field", { class: sheet$1.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
|
|
4801
|
+
index.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 }) => {
|
|
4784
4802
|
if (!value) {
|
|
4785
4803
|
return getRequiredFieldErrorMessage({
|
|
4786
4804
|
fieldLabel: content.emailLabel || "Email",
|
|
@@ -4790,19 +4808,20 @@ function LeadFormView(props) {
|
|
|
4790
4808
|
if (!value.includes("@")) {
|
|
4791
4809
|
return content.invalidEmailErrorMessage;
|
|
4792
4810
|
}
|
|
4793
|
-
}
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4811
|
+
}, ...(((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email)
|
|
4812
|
+
? {
|
|
4813
|
+
class: sheet$1.classes.ErrorStyle,
|
|
4814
|
+
helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
4815
|
+
content.requiredFieldErrorMessage,
|
|
4816
|
+
}
|
|
4817
|
+
: []) }),
|
|
4799
4818
|
index.h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
|
|
4800
4819
|
content.formData,
|
|
4801
|
-
index.h("div", { class: sheet$
|
|
4820
|
+
index.h("div", { class: sheet$1.classes.ButtonsContainer },
|
|
4802
4821
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
|
|
4803
4822
|
}
|
|
4804
4823
|
|
|
4805
|
-
const style
|
|
4824
|
+
const style = {
|
|
4806
4825
|
ErrorStyle: {
|
|
4807
4826
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
4808
4827
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -4818,7 +4837,7 @@ const style$a = {
|
|
|
4818
4837
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
4819
4838
|
},
|
|
4820
4839
|
};
|
|
4821
|
-
const vanillaStyle
|
|
4840
|
+
const vanillaStyle = `
|
|
4822
4841
|
:host {
|
|
4823
4842
|
margin: 0 auto;
|
|
4824
4843
|
width: 100%;
|
|
@@ -4835,9 +4854,9 @@ sl-select::part(menu){
|
|
|
4835
4854
|
max-height: 300px;
|
|
4836
4855
|
}
|
|
4837
4856
|
`;
|
|
4838
|
-
JSS.
|
|
4839
|
-
const sheet
|
|
4840
|
-
const styleString
|
|
4857
|
+
JSS.index.setup(JSS.create());
|
|
4858
|
+
const sheet = JSS.index.createStyleSheet(style);
|
|
4859
|
+
const styleString = sheet.toString();
|
|
4841
4860
|
function LeadDropdownFieldView(props) {
|
|
4842
4861
|
var _a, _b, _c, _d, _e;
|
|
4843
4862
|
const { states, content } = props;
|
|
@@ -4848,21 +4867,22 @@ function LeadDropdownFieldView(props) {
|
|
|
4848
4867
|
}, {
|
|
4849
4868
|
dropdownLabel,
|
|
4850
4869
|
});
|
|
4851
|
-
return (index.h("div", { class: sheet
|
|
4870
|
+
return (index.h("div", { class: sheet.classes.FieldContainer, part: "sqm-base" },
|
|
4852
4871
|
index.h("style", { type: "text/css" },
|
|
4853
|
-
vanillaStyle
|
|
4854
|
-
styleString
|
|
4855
|
-
index.h("sl-select",
|
|
4872
|
+
vanillaStyle,
|
|
4873
|
+
styleString),
|
|
4874
|
+
index.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 }) => {
|
|
4856
4875
|
if (!value && !content.dropdownOptional) {
|
|
4857
4876
|
return getRequiredFieldErrorMessage({
|
|
4858
4877
|
dropdownLabel: content.dropdownLabel,
|
|
4859
4878
|
});
|
|
4860
4879
|
}
|
|
4861
|
-
}
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4880
|
+
}, ...(((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName])
|
|
4881
|
+
? {
|
|
4882
|
+
class: sheet.classes.ErrorStyle,
|
|
4883
|
+
}
|
|
4884
|
+
: []) }, content.selectOptions),
|
|
4885
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
|
|
4866
4886
|
dropdownLabel: content.dropdownLabel,
|
|
4867
4887
|
})))));
|
|
4868
4888
|
}
|