@saasquatch/mint-components 1.15.0-9 → 1.15.0-91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
- package/dist/cjs/IndirectTaxDetailsView-cf888c7b.js +646 -0
- package/dist/cjs/{ShadowViewAddon-3e3e03ab.js → ShadowViewAddon-6c747e8a.js} +1570 -1398
- package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-1865c546.js} +20 -9
- package/dist/cjs/data-d4339c2e.js +137 -0
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
- package/dist/cjs/{global-124aec2c.js → global-191f2253.js} +12152 -11932
- package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
- package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +874 -2413
- package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
- package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +1124 -302
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
- package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
- package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
- package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
- package/dist/cjs/sqm-empty_4.cjs.entry.js +57 -63
- package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +56 -0
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +29 -18
- package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
- package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-f5ce25cc.js → sqm-portal-email-verification-view-87e083ca.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-07d13061.js → sqm-portal-profile-view-7ac7d3ac.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
- package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13728 -12448
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
- package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +25 -13
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
- package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
- package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/cjs/utils-e3305bd8.js +105 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +169 -4
- package/dist/collection/components/sqm-big-stat/useBigStat.js +127 -8
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +14 -5
- package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +61 -4
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +13 -6
- package/dist/collection/components/sqm-hero/sqm-hero.js +30 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +2 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +202 -61
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- 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 +21 -13
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +34 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +80 -11
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +8 -4
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +39 -42
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +48 -7
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +5 -5
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +5 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -20
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
- package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
- package/dist/collection/components/sqm-text/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +101 -50
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -7
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +45 -8
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +54 -58
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -62
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +283 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -92
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +49 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +18 -7
- package/dist/collection/components/views/email-registration-view.js +3 -1
- package/dist/collection/global/global.js +27 -12
- package/dist/collection/global/mixins.js +6 -6
- package/dist/collection/global/styles.js +307 -134
- package/dist/collection/global/styles.ts +396 -135
- package/dist/collection/insertfont.js +18 -0
- package/dist/collection/stories/PortalTemplates.stories.js +22 -30
- package/dist/collection/tables/GenericTableView.js +4 -4
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
- package/dist/esm/IndirectTaxDetailsView-084314d5.js +639 -0
- package/dist/esm/{ShadowViewAddon-ccd5586b.js → ShadowViewAddon-ae3c90a3.js} +1569 -1396
- package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-708e62b5.js} +20 -9
- package/dist/esm/data-ee3ae298.js +121 -0
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
- package/dist/esm/{global-6dc825bc.js → global-80edfef3.js} +11849 -11630
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-9c90767d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +723 -2255
- package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
- package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_43.entry.js} +1036 -216
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-code-verification.entry.js +348 -0
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +145 -21
- package/dist/esm/sqm-empty_4.entry.js +54 -60
- package/dist/esm/sqm-form-message.entry.js +7 -7
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +54 -0
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
- package/dist/esm/sqm-pagination_3.entry.js +23 -12
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-5719eb87.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
- package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-9a82fe2e.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
- package/dist/esm/sqm-qr-code.entry.js +6 -7
- package/dist/esm/sqm-referral-table_11.entry.js +122 -33
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +13716 -12436
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +24 -10
- package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
- package/dist/esm/sqm-widget-verification.entry.js +22 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-27b2ed4b.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-084314d5.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-ae3c90a3.js +1 -0
- package/dist/esm-es5/copy-text-view-708e62b5.js +1 -0
- package/dist/esm-es5/data-ee3ae298.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
- package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
- package/dist/esm-es5/{global-6dc825bc.js → global-80edfef3.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-38dad6c9.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-9c90767d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.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-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-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-5719eb87.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-9a82fe2e.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
- 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-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
- package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
- package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
- package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
- package/dist/esm-es5/utilities-ad9c2893.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-27b2ed4b.js +1 -0
- package/dist/mint-components/global/styles.ts +396 -135
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-000c91b1.js +1 -0
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
- package/dist/mint-components/p-00378aec.entry.js +144 -0
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-05650cb6.entry.js +1 -0
- package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
- package/dist/mint-components/p-0935f9b7.system.js +1 -0
- package/dist/mint-components/p-09631d19.entry.js +93 -0
- package/dist/mint-components/{p-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
- package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
- package/dist/mint-components/p-0e66f410.system.entry.js +1 -0
- package/dist/mint-components/p-0ea61502.system.js +1 -0
- package/dist/mint-components/p-100c878b.system.entry.js +1 -0
- package/dist/mint-components/p-115c07cc.system.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-1337f47c.entry.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- package/dist/mint-components/{p-95ae4ab9.system.js → p-1394d253.system.js} +1 -1
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-14128c84.system.entry.js +1 -0
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-19f41a8e.js +1 -0
- package/dist/mint-components/p-1a278658.entry.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/{p-cf8677ea.js → p-1d4a327c.js} +1 -1
- package/dist/mint-components/p-1f511d5d.entry.js +25 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/p-209ea185.js +1 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
- package/dist/mint-components/p-342b142c.system.js +1 -0
- package/dist/mint-components/p-36a86049.entry.js +258 -0
- package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
- package/dist/mint-components/p-3cb249c3.js +1 -0
- package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
- package/dist/mint-components/p-3d99fa43.entry.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/p-42da8239.system.js +1 -0
- package/dist/mint-components/{p-a37541ae.system.entry.js → p-433ca566.system.entry.js} +1 -1
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
- package/dist/mint-components/p-587115cb.system.entry.js +1 -0
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
- package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/p-61e09ea8.js +1 -0
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/p-672d144e.entry.js +1 -0
- package/dist/mint-components/p-67ad2252.system.js +1 -0
- package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-692bacf3.js +1 -0
- package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
- package/dist/mint-components/p-6ad674c2.js +103 -0
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/p-6e069052.entry.js +1 -0
- package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.entry.js} +1 -1
- package/dist/mint-components/p-71271fbd.system.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/p-7270fb59.entry.js +1 -0
- package/dist/mint-components/{p-44a82cf3.system.js → p-773ce89c.system.js} +22 -22
- package/dist/mint-components/p-7970e73a.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/p-7f7f2fd3.entry.js +9 -0
- package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
- package/dist/mint-components/p-8543a70f.system.entry.js +1 -0
- package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
- package/dist/mint-components/{p-9209a016.system.entry.js → p-89b859c7.system.entry.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8b63c2f2.entry.js +13 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-8e2bead4.js +1 -0
- package/dist/mint-components/p-9049b387.entry.js +1 -0
- package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
- package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
- package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-984b0123.system.entry.js +1 -0
- package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
- package/dist/mint-components/p-9c667435.system.entry.js +1 -0
- package/dist/mint-components/p-9d29a0ff.system.entry.js +1 -0
- package/dist/mint-components/p-9dbfdb41.system.entry.js +1 -0
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9f82e69d.entry.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
- package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/{p-abefb7cc.js → p-a4e56204.js} +1 -1
- package/dist/mint-components/p-a5c9ce6c.entry.js +1 -0
- package/dist/mint-components/{p-d3e5704c.entry.js → p-a6234a78.entry.js} +1 -1
- package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
- package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
- package/dist/mint-components/p-a89baf7b.system.js +1 -0
- package/dist/mint-components/p-aa5e3689.js +448 -0
- package/dist/mint-components/p-abd33116.system.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
- package/dist/mint-components/p-ad174af6.system.entry.js +1 -0
- package/dist/mint-components/p-ad586adc.system.entry.js +1 -0
- package/dist/mint-components/p-b065215a.entry.js +1 -0
- package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
- package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/p-c1629004.entry.js +1 -0
- package/dist/mint-components/p-c2c59452.system.js +1 -0
- package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c4886223.entry.js +1 -0
- package/dist/mint-components/p-c7965639.entry.js +1 -0
- package/dist/mint-components/p-c79bb1c6.entry.js +16 -0
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/p-cab1f502.js +1 -0
- package/dist/mint-components/p-d2e2e10f.js +1233 -0
- package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
- package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
- package/dist/mint-components/p-d785a297.system.entry.js +1 -0
- package/dist/mint-components/p-d821418e.system.js +1 -0
- package/dist/mint-components/p-d8c5b80a.system.js +1 -0
- package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
- package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-11519322.system.js → p-df37ef17.system.js} +1 -1
- package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
- package/dist/mint-components/{p-6f34c2c2.entry.js → p-e425b7a1.entry.js} +2 -2
- package/dist/mint-components/p-e4e3ddb6.system.js +1 -0
- package/dist/mint-components/p-e539fed3.entry.js +1 -0
- package/dist/mint-components/p-e57d61af.system.js +1 -0
- package/dist/mint-components/p-e64fbb70.js +1 -0
- package/dist/mint-components/p-e9d0caf7.entry.js +11 -0
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/{p-ad985d37.system.entry.js → p-ef8b70cd.system.entry.js} +1 -1
- package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
- package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
- package/dist/mint-components/{p-619c2aa3.entry.js → p-f4dc053e.entry.js} +2 -2
- package/dist/mint-components/p-f51e41dd.system.entry.js +1 -0
- package/dist/mint-components/p-f609302e.system.entry.js +1 -0
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
- package/dist/mint-components/p-fb77f662.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +45 -1
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +14 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +6 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +53 -17
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +24 -3
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +3 -2
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +8 -1
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
- package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +13 -1
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -2
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +46 -4
- 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/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
- 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 +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +958 -90
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +10 -2
- package/dist/types/insertfont.d.ts +1 -0
- package/dist/types/saasquatch.d.ts +142 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/shoelace/assets/icons/twitter-x.svg +4 -0
- package/dist/cjs/ErrorView-b2fcf954.js +0 -35
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/cjs/sqm-invoice-table-view-f369b0a6.js +0 -2038
- package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
- package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
- package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
- package/dist/esm/ErrorView-48e2b969.js +0 -33
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
- package/dist/esm/sqm-asset-card.entry.js +0 -41
- package/dist/esm/sqm-invoice-table-view-1bd8afaa.js +0 -2022
- package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
- package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
- package/dist/esm/sqm-referred-registration.entry.js +0 -174
- package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
- package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
- package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-ccd5586b.js +0 -1
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +0 -1
- package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
- package/dist/esm-es5/index.module-89a79f66.js +0 -1
- package/dist/esm-es5/luxon-8d51c92b.js +0 -1
- package/dist/esm-es5/mixins-83f90fa1.js +0 -1
- package/dist/esm-es5/re-render-cc945f38.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-1bd8afaa.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
- package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
- package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
- package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
- package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
- package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
- package/dist/esm-es5/utilities-5b0ca040.js +0 -1
- package/dist/esm-es5/utils-334c1e34.js +0 -1
- package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-11542862.system.entry.js +0 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-1513309d.entry.js +0 -1
- package/dist/mint-components/p-19439bf0.system.entry.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
- package/dist/mint-components/p-208d8d75.system.entry.js +0 -1
- package/dist/mint-components/p-217514ac.system.js +0 -1
- package/dist/mint-components/p-229f797b.js +0 -1
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-275b4767.entry.js +0 -1
- package/dist/mint-components/p-2bbff88f.entry.js +0 -1
- package/dist/mint-components/p-2c07df76.entry.js +0 -144
- package/dist/mint-components/p-2c7ebd5b.js +0 -1
- package/dist/mint-components/p-2dca9e1a.system.js +0 -1
- package/dist/mint-components/p-2e110002.system.js +0 -1
- package/dist/mint-components/p-32dbde60.system.js +0 -1
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-38de17fa.system.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-38fc919b.entry.js +0 -1
- package/dist/mint-components/p-3a49811c.js +0 -1
- package/dist/mint-components/p-3a62a7e2.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-42187319.system.entry.js +0 -1
- package/dist/mint-components/p-4428294b.entry.js +0 -1
- package/dist/mint-components/p-48135f99.system.js +0 -53
- package/dist/mint-components/p-49206a9c.entry.js +0 -1
- package/dist/mint-components/p-49deb225.entry.js +0 -1
- package/dist/mint-components/p-4dbe2d08.entry.js +0 -25
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-5ca43353.system.entry.js +0 -1
- package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-6333265f.system.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
- package/dist/mint-components/p-6d061986.system.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-734695a0.entry.js +0 -205
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
- package/dist/mint-components/p-7e3a84bc.js +0 -1
- package/dist/mint-components/p-802b9f7e.entry.js +0 -1
- package/dist/mint-components/p-8053366e.system.entry.js +0 -1
- package/dist/mint-components/p-837dbf90.system.entry.js +0 -1
- package/dist/mint-components/p-893d7ab4.js +0 -1
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-8c494bf1.js +0 -1
- package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-90421929.system.entry.js +0 -1
- package/dist/mint-components/p-91521e9d.js +0 -1
- package/dist/mint-components/p-92816d1f.js +0 -1
- package/dist/mint-components/p-93fed35b.system.js +0 -1
- package/dist/mint-components/p-94a876b9.js +0 -1
- package/dist/mint-components/p-97d4d651.system.js +0 -1
- package/dist/mint-components/p-98698131.js +0 -1
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-ab47e9a7.js +0 -394
- package/dist/mint-components/p-b59cd472.entry.js +0 -9
- package/dist/mint-components/p-bd2a2546.system.js +0 -1
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-ccb5699b.js +0 -1
- package/dist/mint-components/p-ccc207bc.system.entry.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd31cfd4.entry.js +0 -258
- package/dist/mint-components/p-cd63a965.system.entry.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-d4546357.entry.js +0 -13
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-e01fe915.js +0 -1248
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-eab1c9f3.js +0 -1
- package/dist/mint-components/p-ed11966d.system.js +0 -1
- package/dist/mint-components/p-eda5e82c.entry.js +0 -1
- package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f2d8d3d3.system.entry.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/mint-components/p-fd0a013f.entry.js +0 -1
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -1,27 +1,376 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn,
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
|
+
import { b as buildFontsCssUrl, i as intl } from './global-80edfef3.js';
|
|
3
|
+
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
|
|
4
|
+
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, L, y as yn, j as jn, r as Ue, V as Ve, u as useCallback, b as setUserIdentity, Q as Qe, k as kn } from './index.module-38dad6c9.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps, a as getMissingProps } from './utils-
|
|
7
|
+
import { g as getProps, a as getMissingProps } from './utils-03188de2.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './useReferralCodes-
|
|
10
|
-
import './mixins-
|
|
11
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
12
|
-
import { a as useRequestRerender } from './re-render-
|
|
13
|
-
import { u as useChildElements } from './useChildElements-
|
|
14
|
-
import './luxon-
|
|
15
|
-
import './sqm-text-span-view-
|
|
9
|
+
import './useReferralCodes-311e6d72.js';
|
|
10
|
+
import './mixins-f750863a.js';
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-708e62b5.js';
|
|
12
|
+
import { a as useRequestRerender } from './re-render-9c90767d.js';
|
|
13
|
+
import { u as useChildElements } from './useChildElements-4e70ac0e.js';
|
|
14
|
+
import './luxon-bbf75a9d.js';
|
|
15
|
+
import './sqm-text-span-view-4c17b8c9.js';
|
|
16
16
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
17
|
+
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-18c2cea7.js';
|
|
19
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-0f04459e.js';
|
|
20
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
21
|
+
import { u as usePortalLogin } from './usePortalLogin-d0720c81.js';
|
|
20
22
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
21
|
-
import { i as isEmpty } from './utilities-
|
|
22
|
-
import {
|
|
23
|
-
import './sqm-portal-container-view-
|
|
24
|
-
import {
|
|
23
|
+
import { i as isEmpty } from './utilities-ad9c2893.js';
|
|
24
|
+
import { u as useDemoBigStat, Q as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, i as RewardExchangeView, V as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-ae3c90a3.js';
|
|
25
|
+
import './sqm-portal-container-view-176e92e3.js';
|
|
26
|
+
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
27
|
+
import { u as usePayoutStatus } from './usePayoutStatus-7eeec61b.js';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Themes
|
|
32
|
+
*
|
|
33
|
+
* Export only valid CSS. Those will be injected into style tags.
|
|
34
|
+
*
|
|
35
|
+
* Useful links:
|
|
36
|
+
* - https://brandcolors.net/
|
|
37
|
+
* - Shoelace color generator: https://codepen.io/claviska/full/QWveRgL
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
// @ts-nocheck
|
|
41
|
+
const Default = null;
|
|
42
|
+
const Netflix = {
|
|
43
|
+
main: {
|
|
44
|
+
brandFont: "Netflix Sans, Arial, sans-serif",
|
|
45
|
+
brandColor: "#E50914",
|
|
46
|
+
},
|
|
47
|
+
border: {
|
|
48
|
+
borderColor: "#333333",
|
|
49
|
+
borderRadius: 4,
|
|
50
|
+
borderThickness: 1,
|
|
51
|
+
},
|
|
52
|
+
color: {
|
|
53
|
+
textColorShades: {
|
|
54
|
+
mainText: "white",
|
|
55
|
+
subduedText: "#B3B3B3",
|
|
56
|
+
},
|
|
57
|
+
backgroundColor: "#101010",
|
|
58
|
+
accentColorShades: {
|
|
59
|
+
text: "#E50914",
|
|
60
|
+
icon: "#E50914",
|
|
61
|
+
border: "#E50914",
|
|
62
|
+
background: "#300609",
|
|
63
|
+
},
|
|
64
|
+
success: {
|
|
65
|
+
text: "#66BB6A",
|
|
66
|
+
border: "#4CAF50",
|
|
67
|
+
background: "#1B5E20",
|
|
68
|
+
iconAndBadge: "#4CAF50",
|
|
69
|
+
},
|
|
70
|
+
warning: {
|
|
71
|
+
text: "#FFCA28",
|
|
72
|
+
border: "#FFA726",
|
|
73
|
+
background: "#F57C00",
|
|
74
|
+
iconAndBadge: "#FFA726",
|
|
75
|
+
},
|
|
76
|
+
critical: {
|
|
77
|
+
text: "#EF9A9A",
|
|
78
|
+
border: "#E50914",
|
|
79
|
+
background: "#B71C1C",
|
|
80
|
+
iconAndBadge: "#E50914",
|
|
81
|
+
},
|
|
82
|
+
informative: {
|
|
83
|
+
text: "#64B5F6",
|
|
84
|
+
border: "#42A5F5",
|
|
85
|
+
background: "#1976D2",
|
|
86
|
+
iconAndBadge: "#42A5F5",
|
|
87
|
+
},
|
|
88
|
+
neutral: {
|
|
89
|
+
text: "white",
|
|
90
|
+
iconAndBadge: "#B3B3B3",
|
|
91
|
+
border: "#333333",
|
|
92
|
+
background: "#222222",
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
primaryButton: {
|
|
96
|
+
buttonColor: {
|
|
97
|
+
background: "#E50914",
|
|
98
|
+
border: "transparent",
|
|
99
|
+
label: "#FFFFFF",
|
|
100
|
+
},
|
|
101
|
+
buttonHoverColor: {
|
|
102
|
+
background: "#CC0000",
|
|
103
|
+
border: "transparent",
|
|
104
|
+
label: "#FFFFFF",
|
|
105
|
+
},
|
|
106
|
+
borderRadius: 4,
|
|
107
|
+
},
|
|
108
|
+
secondaryButton: {
|
|
109
|
+
buttonColor: {
|
|
110
|
+
background: "transparent",
|
|
111
|
+
border: "#B3B3B3",
|
|
112
|
+
label: "#FFFFFF",
|
|
113
|
+
},
|
|
114
|
+
buttonHoverColor: {
|
|
115
|
+
background: "#333333",
|
|
116
|
+
border: "#B3B3B3",
|
|
117
|
+
label: "#FFFFFF",
|
|
118
|
+
},
|
|
119
|
+
borderRadius: 4,
|
|
120
|
+
},
|
|
121
|
+
formFields: {
|
|
122
|
+
formFieldColor: {
|
|
123
|
+
background: "#222222",
|
|
124
|
+
border: "#B3B3B3",
|
|
125
|
+
inputText: "#B3B3B3",
|
|
126
|
+
},
|
|
127
|
+
hoverStateColor: "#777777",
|
|
128
|
+
selectedStateColor: "#E50914",
|
|
129
|
+
borderRadius: 4,
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
const Amazon = {
|
|
133
|
+
main: {
|
|
134
|
+
brandFont: "Amazon Ember, Arial, sans-serif",
|
|
135
|
+
brandColor: "#FF9900",
|
|
136
|
+
},
|
|
137
|
+
border: {
|
|
138
|
+
borderColor: "#D5D9D9",
|
|
139
|
+
borderRadius: 4,
|
|
140
|
+
borderThickness: 1,
|
|
141
|
+
},
|
|
142
|
+
color: {
|
|
143
|
+
backgroundColor: "#ffffff",
|
|
144
|
+
textColorShades: {
|
|
145
|
+
mainText: "#2f2f2f",
|
|
146
|
+
subduedText: "#565959",
|
|
147
|
+
},
|
|
148
|
+
accentColorShades: {
|
|
149
|
+
text: "#FF9900",
|
|
150
|
+
icon: "#FF9900",
|
|
151
|
+
border: "#FFBF66",
|
|
152
|
+
background: "#FFF4DD",
|
|
153
|
+
},
|
|
154
|
+
success: {
|
|
155
|
+
text: "#198754",
|
|
156
|
+
border: "#BCE8B2",
|
|
157
|
+
background: "#D4EDDA",
|
|
158
|
+
iconAndBadge: "#28A745",
|
|
159
|
+
},
|
|
160
|
+
warning: {
|
|
161
|
+
text: "#856404",
|
|
162
|
+
border: "#FFEBA2",
|
|
163
|
+
background: "#FFF3CD",
|
|
164
|
+
iconAndBadge: "#FFC107",
|
|
165
|
+
},
|
|
166
|
+
critical: {
|
|
167
|
+
text: "#721C24",
|
|
168
|
+
border: "#F5C6CB",
|
|
169
|
+
background: "#F8D7DA",
|
|
170
|
+
iconAndBadge: "#DC3545",
|
|
171
|
+
},
|
|
172
|
+
informative: {
|
|
173
|
+
text: "#004085",
|
|
174
|
+
border: "#B8DAFF",
|
|
175
|
+
background: "#CCE5FF",
|
|
176
|
+
iconAndBadge: "#007BFF",
|
|
177
|
+
},
|
|
178
|
+
neutral: {
|
|
179
|
+
text: "#232F3E",
|
|
180
|
+
iconAndBadge: "#565959",
|
|
181
|
+
border: "#D5D9D9",
|
|
182
|
+
background: "#F0F2F2",
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
primaryButton: {
|
|
186
|
+
buttonColor: {
|
|
187
|
+
background: "#FF9900",
|
|
188
|
+
border: "transparent",
|
|
189
|
+
label: "#FFFFFF",
|
|
190
|
+
},
|
|
191
|
+
buttonHoverColor: {
|
|
192
|
+
background: "#EB9100",
|
|
193
|
+
border: "transparent",
|
|
194
|
+
label: "#FFFFFF",
|
|
195
|
+
},
|
|
196
|
+
borderRadius: 4,
|
|
197
|
+
},
|
|
198
|
+
secondaryButton: {
|
|
199
|
+
buttonColor: {
|
|
200
|
+
background: "#FFFFFF",
|
|
201
|
+
border: "#888C8C",
|
|
202
|
+
label: "#232F3E",
|
|
203
|
+
},
|
|
204
|
+
buttonHoverColor: {
|
|
205
|
+
background: "#F0F2F2",
|
|
206
|
+
border: "#888C8C",
|
|
207
|
+
label: "#232F3E",
|
|
208
|
+
},
|
|
209
|
+
borderRadius: 4,
|
|
210
|
+
},
|
|
211
|
+
formFields: {
|
|
212
|
+
formFieldColor: {
|
|
213
|
+
background: "#FFFFFF",
|
|
214
|
+
border: "#D5D9D9",
|
|
215
|
+
inputText: "#2f2f2f",
|
|
216
|
+
},
|
|
217
|
+
borderRadius: 4,
|
|
218
|
+
hoverStateColor: "#A2A2A2",
|
|
219
|
+
selectedStateColor: "#007185",
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
const Spotify = {
|
|
223
|
+
main: {
|
|
224
|
+
brandColor: "#1ed760",
|
|
225
|
+
},
|
|
226
|
+
border: {
|
|
227
|
+
borderColor: "#f4f4f4",
|
|
228
|
+
borderRadius: 18,
|
|
229
|
+
borderThickness: 1,
|
|
230
|
+
},
|
|
231
|
+
color: {
|
|
232
|
+
textColorShades: {
|
|
233
|
+
mainText: "white",
|
|
234
|
+
subduedText: "white",
|
|
235
|
+
},
|
|
236
|
+
backgroundColor: "#121212",
|
|
237
|
+
accentColorShades: {
|
|
238
|
+
icon: "#1ed760",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
primaryButton: {
|
|
242
|
+
buttonColor: {
|
|
243
|
+
background: "#1ed760",
|
|
244
|
+
border: "transparent",
|
|
245
|
+
label: "#121212",
|
|
246
|
+
},
|
|
247
|
+
buttonHoverColor: {
|
|
248
|
+
background: "#1DB954",
|
|
249
|
+
border: "transparent",
|
|
250
|
+
label: "#121212",
|
|
251
|
+
},
|
|
252
|
+
borderRadius: 30,
|
|
253
|
+
},
|
|
254
|
+
secondaryButton: {
|
|
255
|
+
buttonColor: {
|
|
256
|
+
background: "#191414",
|
|
257
|
+
border: "#FFFFFF",
|
|
258
|
+
label: "#FFFFFF",
|
|
259
|
+
},
|
|
260
|
+
buttonHoverColor: {
|
|
261
|
+
background: "#282828",
|
|
262
|
+
border: "#FFFFFF",
|
|
263
|
+
label: "#121212",
|
|
264
|
+
},
|
|
265
|
+
borderRadius: 30,
|
|
266
|
+
},
|
|
267
|
+
formFields: {
|
|
268
|
+
formFieldColor: {
|
|
269
|
+
background: "#121212",
|
|
270
|
+
border: "#7c7c7c",
|
|
271
|
+
inputText: "#fff",
|
|
272
|
+
},
|
|
273
|
+
borderRadius: 30,
|
|
274
|
+
hoverStateColor: "white",
|
|
275
|
+
selectedStateColor: "white",
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
const Google = {
|
|
279
|
+
main: { brandColor: "#4285F4", brandFont: "Roboto, Arial, sans-serif" },
|
|
280
|
+
border: {
|
|
281
|
+
borderColor: "#DADCE0",
|
|
282
|
+
borderRadius: 4,
|
|
283
|
+
borderThickness: 1,
|
|
284
|
+
},
|
|
285
|
+
color: {
|
|
286
|
+
textColorShades: {
|
|
287
|
+
mainText: "#212124",
|
|
288
|
+
subduedText: "#5F6368",
|
|
289
|
+
},
|
|
290
|
+
backgroundColor: "#FFFFFF",
|
|
291
|
+
accentColorShades: {
|
|
292
|
+
text: "#1A73E8",
|
|
293
|
+
border: "#8AB4F8",
|
|
294
|
+
background: "#E8F0FE",
|
|
295
|
+
icon: "#4285F4",
|
|
296
|
+
},
|
|
297
|
+
success: {
|
|
298
|
+
text: "#044e1d",
|
|
299
|
+
border: "#A8DCD7",
|
|
300
|
+
background: "#E6F4EA",
|
|
301
|
+
iconAndBadge: "#34A853",
|
|
302
|
+
},
|
|
303
|
+
warning: {
|
|
304
|
+
text: "#996a3d",
|
|
305
|
+
border: "#FCD667",
|
|
306
|
+
background: "#FFF7EE",
|
|
307
|
+
iconAndBadge: "#FBBC04",
|
|
308
|
+
},
|
|
309
|
+
critical: {
|
|
310
|
+
text: "#760b09",
|
|
311
|
+
border: "#F28B82",
|
|
312
|
+
background: "#FCE8E6",
|
|
313
|
+
iconAndBadge: "#EA4335",
|
|
314
|
+
},
|
|
315
|
+
informative: {
|
|
316
|
+
text: "#01368c",
|
|
317
|
+
border: "#BFDBFE",
|
|
318
|
+
background: "#E8F0FE",
|
|
319
|
+
iconAndBadge: "#4285F4",
|
|
320
|
+
},
|
|
321
|
+
neutral: {
|
|
322
|
+
text: "#202124",
|
|
323
|
+
border: "#DADCE0",
|
|
324
|
+
background: "#F8F9FA",
|
|
325
|
+
iconAndBadge: "#5F6368",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
primaryButton: {
|
|
329
|
+
buttonColor: {
|
|
330
|
+
background: "#4285F4",
|
|
331
|
+
border: "transparent",
|
|
332
|
+
label: "#FFFFFF",
|
|
333
|
+
},
|
|
334
|
+
buttonHoverColor: {
|
|
335
|
+
background: "#3C7CD1",
|
|
336
|
+
border: "transparent",
|
|
337
|
+
label: "#FFFFFF",
|
|
338
|
+
},
|
|
339
|
+
borderRadius: 4,
|
|
340
|
+
},
|
|
341
|
+
secondaryButton: {
|
|
342
|
+
buttonColor: {
|
|
343
|
+
background: "#FFFFFF",
|
|
344
|
+
border: "#DADCE0",
|
|
345
|
+
label: "#4285F4",
|
|
346
|
+
},
|
|
347
|
+
buttonHoverColor: {
|
|
348
|
+
background: "#E8F0FE",
|
|
349
|
+
border: "#DADCE0",
|
|
350
|
+
label: "#4285F4",
|
|
351
|
+
},
|
|
352
|
+
borderRadius: 4,
|
|
353
|
+
},
|
|
354
|
+
formFields: {
|
|
355
|
+
formFieldColor: {
|
|
356
|
+
background: "#FFFFFF",
|
|
357
|
+
border: "#DADCE0",
|
|
358
|
+
inputText: "#202124",
|
|
359
|
+
},
|
|
360
|
+
borderRadius: 4,
|
|
361
|
+
hoverStateColor: "#9AA0A6",
|
|
362
|
+
selectedStateColor: "#4285F4",
|
|
363
|
+
},
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
const Themes = /*#__PURE__*/Object.freeze({
|
|
367
|
+
__proto__: null,
|
|
368
|
+
Default: Default,
|
|
369
|
+
Netflix: Netflix,
|
|
370
|
+
Amazon: Amazon,
|
|
371
|
+
Spotify: Spotify,
|
|
372
|
+
Google: Google
|
|
373
|
+
});
|
|
25
374
|
|
|
26
375
|
const BigStat = class {
|
|
27
376
|
constructor(hostRef) {
|
|
@@ -31,8 +380,19 @@ const BigStat = class {
|
|
|
31
380
|
*
|
|
32
381
|
* @uiName Flex reverse
|
|
33
382
|
* @default
|
|
383
|
+
* @uiGroup Additional Settings
|
|
34
384
|
*/
|
|
35
385
|
this.flexReverse = false;
|
|
386
|
+
/**
|
|
387
|
+
* Controls the alignment of the flexbox
|
|
388
|
+
*
|
|
389
|
+
* @uiName Alignment
|
|
390
|
+
* @uiType string
|
|
391
|
+
* @uiEnum ["left", "right", "center"]
|
|
392
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
393
|
+
* @uiGroup Additional Settings
|
|
394
|
+
*/
|
|
395
|
+
this.alignment = "center";
|
|
36
396
|
this.ignored = true;
|
|
37
397
|
h(this);
|
|
38
398
|
}
|
|
@@ -40,24 +400,62 @@ const BigStat = class {
|
|
|
40
400
|
render() {
|
|
41
401
|
var _a;
|
|
42
402
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
43
|
-
const host = _();
|
|
403
|
+
const host = _$1();
|
|
44
404
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
45
405
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
46
406
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
47
407
|
}
|
|
48
408
|
};
|
|
49
409
|
|
|
410
|
+
function t(t,n,r){return Math.min(Math.max(t,r),n)}class n extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}}function r(r){if("string"!=typeof r)throw new n(r);if("transparent"===r.trim().toLowerCase())return [0,0,0,0];let e=r.trim();e=u.test(r)?function(t){const r=t.toLowerCase().trim(),e=o[function(t){let n=5381,r=t.length;for(;r;)n=33*n^t.charCodeAt(--r);return (n>>>0)%2341}(r)];if(!e)throw new n(t);return `#${e}`}(r):r;const f=s.exec(e);if(f){const t=Array.from(f).slice(1);return [...t.slice(0,3).map(t=>parseInt(_(t,2),16)),parseInt(_(t[3]||"f",2),16)/255]}const p=i.exec(e);if(p){const t=Array.from(p).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const z=a.exec(e);if(z){const t=Array.from(z).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const h=c.exec(e);if(h){const[e,o,_,s]=Array.from(h).slice(1).map(parseFloat);if(t(0,100,o)!==o)throw new n(r);if(t(0,100,_)!==_)throw new n(r);return [...l(e,o,_),s||1]}throw new n(r)}const e=t=>parseInt(t.replace(/_/g,""),36),o="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,n)=>{const r=e(n.substring(0,3)),o=e(n.substring(3)).toString(16);let _="";for(let t=0;t<6-o.length;t++)_+="0";return t[r]=`${_}${o}`,t},{}),_=(t,n)=>Array.from(Array(n)).map(()=>t).join(""),s=new RegExp(`^#${_("([a-f0-9])",3)}([a-f0-9])?$`,"i"),i=new RegExp(`^#${_("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),a=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${_(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),c=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,u=/^[a-z]+$/i,f=t=>Math.round(255*t),l=(t,n,r)=>{let e=r/100;if(0===n)return [e,e,e].map(f);const o=(t%360+360)%360/60,_=(1-Math.abs(2*e-1))*(n/100),s=_*(1-Math.abs(o%2-1));let i=0,a=0,c=0;o>=0&&o<1?(i=_,a=s):o>=1&&o<2?(i=s,a=_):o>=2&&o<3?(a=_,c=s):o>=3&&o<4?(a=s,c=_):o>=4&&o<5?(i=s,c=_):o>=5&&o<6&&(i=_,c=s);const u=e-_/2;return [i+u,a+u,c+u].map(f)};function p(t){const[n,e,o,_]=r(t).map((t,n)=>3===n?t:t/255),s=Math.max(n,e,o),i=Math.min(n,e,o),a=(s+i)/2;if(s===i)return [0,0,a,_];const c=s-i;return [60*(n===s?(e-o)/c+(e<o?6:0):e===s?(o-n)/c+2:(n-e)/c+4),a>.5?c/(2-s-i):c/(s+i),a,_]}function z(n,r,e,o){return `hsla(${(n%360).toFixed()}, ${t(0,100,100*r).toFixed()}%, ${t(0,100,100*e).toFixed()}%, ${parseFloat(t(0,1,o).toFixed(3))})`}
|
|
411
|
+
|
|
412
|
+
const colorScale = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
|
413
|
+
const lScale = [
|
|
414
|
+
0.95,
|
|
415
|
+
0.86,
|
|
416
|
+
0.76,
|
|
417
|
+
0.66,
|
|
418
|
+
0.56,
|
|
419
|
+
0.46,
|
|
420
|
+
0.39,
|
|
421
|
+
0.32,
|
|
422
|
+
0.25,
|
|
423
|
+
0.18,
|
|
424
|
+
0.15,
|
|
425
|
+
];
|
|
426
|
+
// https://github.com/ricokahler/color2k/blob/main/src/parseToRgba.ts
|
|
427
|
+
const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;
|
|
428
|
+
function niceParseToHsla(color) {
|
|
429
|
+
const normalizedColor = color.trim();
|
|
430
|
+
const hslaMatch = hslaRegex.exec(normalizedColor);
|
|
431
|
+
if (hslaMatch) {
|
|
432
|
+
const [h, s, l, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
|
|
433
|
+
if (t(0, 100, s) !== s)
|
|
434
|
+
throw new n(color);
|
|
435
|
+
if (t(0, 100, l) !== l)
|
|
436
|
+
throw new n(color);
|
|
437
|
+
return [h, s / 100, l, a || 1];
|
|
438
|
+
}
|
|
439
|
+
// Warning -- converts to RGB first, so is lossy
|
|
440
|
+
return p(color);
|
|
441
|
+
}
|
|
442
|
+
function generateScale(color, name = "primary") {
|
|
443
|
+
const [h, s, l, a] = niceParseToHsla(color);
|
|
444
|
+
return lScale
|
|
445
|
+
.map((l) => z(h, s, l, a))
|
|
446
|
+
.map((color, index) => {
|
|
447
|
+
return `--sl-color-${name}-${colorScale[index]}: ${color};\n`;
|
|
448
|
+
});
|
|
449
|
+
}
|
|
50
450
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* Docs: https://developers.google.com/fonts/docs/css2
|
|
451
|
+
* Generated a Shoelace color scale css string from a base color
|
|
54
452
|
*
|
|
55
|
-
* @param
|
|
56
|
-
* @
|
|
453
|
+
* @param color
|
|
454
|
+
* @param name
|
|
455
|
+
* @returns
|
|
57
456
|
*/
|
|
58
|
-
function
|
|
59
|
-
|
|
60
|
-
return `https://fonts.googleapis.com/css2?${queryString}`;
|
|
457
|
+
function autoColorScaleCss(color, name = "primary") {
|
|
458
|
+
return generateScale(color, name).join("\n");
|
|
61
459
|
}
|
|
62
460
|
|
|
63
461
|
const BrandComponent = class {
|
|
@@ -67,7 +465,7 @@ const BrandComponent = class {
|
|
|
67
465
|
}
|
|
68
466
|
disconnectedCallback() { }
|
|
69
467
|
render() {
|
|
70
|
-
var _a, _b;
|
|
468
|
+
var _a, _b, _c, _d, _e, _f;
|
|
71
469
|
function getCss(brandColor) {
|
|
72
470
|
if (brandColor) {
|
|
73
471
|
try {
|
|
@@ -77,11 +475,14 @@ const BrandComponent = class {
|
|
|
77
475
|
}
|
|
78
476
|
return undefined;
|
|
79
477
|
}
|
|
80
|
-
const
|
|
81
|
-
const
|
|
478
|
+
const brandingConfigFont = (_b = (_a = window.SquatchBrandingConfig) === null || _a === void 0 ? void 0 : _a.main) === null || _b === void 0 ? void 0 : _b.brandFont;
|
|
479
|
+
const css = ((_d = (_c = window.SquatchBrandingConfig) === null || _c === void 0 ? void 0 : _c.main) === null || _d === void 0 ? void 0 : _d.brandColor) ? ""
|
|
480
|
+
: (_e = getCss(this.brandColor)) !== null && _e !== void 0 ? _e : "";
|
|
481
|
+
const sanitizedFont = ((_f = this.brandFont) !== null && _f !== void 0 ? _f : "Nunito Sans").trim() || undefined;
|
|
82
482
|
useEffect(() => {
|
|
83
|
-
if (!sanitizedFont) {
|
|
483
|
+
if (!sanitizedFont || brandingConfigFont) {
|
|
84
484
|
// Nothing required in default case.
|
|
485
|
+
// Don't add font if it's set in the global config
|
|
85
486
|
return;
|
|
86
487
|
}
|
|
87
488
|
const sheet = document.createElement("link");
|
|
@@ -101,6 +502,10 @@ const BrandComponent = class {
|
|
|
101
502
|
- resets css variable inheritence for fonts
|
|
102
503
|
|
|
103
504
|
*/
|
|
505
|
+
|
|
506
|
+
${brandingConfigFont
|
|
507
|
+
? ``
|
|
508
|
+
: `
|
|
104
509
|
::slotted(*) {
|
|
105
510
|
--sl-font-sans: "${font}", arial;
|
|
106
511
|
--sl-input-font-family: "${font}", arial;
|
|
@@ -108,6 +513,7 @@ const BrandComponent = class {
|
|
|
108
513
|
font-family: "${font}", arial;
|
|
109
514
|
|
|
110
515
|
${css}
|
|
516
|
+
`}
|
|
111
517
|
|
|
112
518
|
--sl-focus-ring-color-primary: var(--sl-color-primary-100);
|
|
113
519
|
--sl-input-border-color-focus: var(--sl-color-primary-500);
|
|
@@ -116,6 +522,195 @@ const BrandComponent = class {
|
|
|
116
522
|
}
|
|
117
523
|
};
|
|
118
524
|
|
|
525
|
+
const LOCAL_STORAGE_BRAND_KEY = "localStorageBrandKey";
|
|
526
|
+
const LOCAL_STORAGE_BRAND_CONFIG_KEY = "localStorageBrandConfigKey";
|
|
527
|
+
const SqmBrandSelector = class {
|
|
528
|
+
constructor(hostRef) {
|
|
529
|
+
registerInstance(this, hostRef);
|
|
530
|
+
this.selectedBrand = "Netflix";
|
|
531
|
+
this.brands = [
|
|
532
|
+
{
|
|
533
|
+
name: "Netflix",
|
|
534
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803365/netflix_ftjbrr.png",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: "Amazon",
|
|
538
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803366/amazon_mc22fr.png",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
name: "Spotify",
|
|
542
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803510/spotify_j5qi1r.png",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: "Google",
|
|
546
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803168/pngimg.com_-_google_PNG19644_jvypwl.png",
|
|
547
|
+
},
|
|
548
|
+
];
|
|
549
|
+
const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
|
|
550
|
+
const initialBrandName = storedBrand;
|
|
551
|
+
this.selectedBrand = initialBrandName;
|
|
552
|
+
// Initialize window.SquatchBrandingConfig based on the loaded brand
|
|
553
|
+
const initialConfig = Themes[initialBrandName] || Netflix;
|
|
554
|
+
window.SquatchBrandingConfig = initialConfig;
|
|
555
|
+
const event = new CustomEvent("brandingConfigUpdated", {
|
|
556
|
+
detail: window.SquatchBrandingConfig,
|
|
557
|
+
});
|
|
558
|
+
window.dispatchEvent(event);
|
|
559
|
+
}
|
|
560
|
+
componentDidLoad() {
|
|
561
|
+
const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
|
|
562
|
+
const initialBrandName = storedBrand;
|
|
563
|
+
this.selectedBrand = initialBrandName;
|
|
564
|
+
}
|
|
565
|
+
disconnectedCallback() { }
|
|
566
|
+
updateBrand(brandName) {
|
|
567
|
+
this.selectedBrand = brandName;
|
|
568
|
+
const configToSet = Themes[brandName] || Netflix;
|
|
569
|
+
const brandConfigString = JSON.stringify(configToSet);
|
|
570
|
+
localStorage.setItem(LOCAL_STORAGE_BRAND_KEY, brandName);
|
|
571
|
+
localStorage.setItem(LOCAL_STORAGE_BRAND_CONFIG_KEY, brandConfigString);
|
|
572
|
+
window.SquatchBrandingConfig = configToSet;
|
|
573
|
+
window.location.reload();
|
|
574
|
+
const event = new CustomEvent("brandingConfigUpdated", {
|
|
575
|
+
detail: window.SquatchBrandingConfig,
|
|
576
|
+
});
|
|
577
|
+
window.dispatchEvent(event);
|
|
578
|
+
}
|
|
579
|
+
render() {
|
|
580
|
+
return (h$1(Host, null, h$1("style", null, `
|
|
581
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
|
|
582
|
+
|
|
583
|
+
:host {
|
|
584
|
+
display: block; /* Ensure the custom element itself is a block-level element */
|
|
585
|
+
font-family: 'Inter', sans-serif;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.card-container {
|
|
589
|
+
background-color: #fff !important;
|
|
590
|
+
border-radius: 18px;
|
|
591
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
592
|
+
width: 100%;
|
|
593
|
+
max-width: 350px;
|
|
594
|
+
overflow: hidden;
|
|
595
|
+
padding: 10px;
|
|
596
|
+
position: fixed;
|
|
597
|
+
bottom: 0;
|
|
598
|
+
right: 0;
|
|
599
|
+
z-index: 999999;
|
|
600
|
+
border: 1px solid #ccc;
|
|
601
|
+
margin: 10px;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.card-heading {
|
|
605
|
+
display: flex;
|
|
606
|
+
align-items: center;
|
|
607
|
+
justify-content: center;
|
|
608
|
+
padding-bottom: 10px;
|
|
609
|
+
color: black;
|
|
610
|
+
margin: 0;
|
|
611
|
+
font-size: 16px;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.segmented-control-container {
|
|
615
|
+
display: flex;
|
|
616
|
+
background-color: #e5e7eb !important;
|
|
617
|
+
border-radius: 9999px;
|
|
618
|
+
padding: 0.25rem;
|
|
619
|
+
margin-left: auto;
|
|
620
|
+
margin-right: auto;
|
|
621
|
+
max-width: 28rem;
|
|
622
|
+
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.brand-segment {
|
|
626
|
+
display: flex;
|
|
627
|
+
flex-direction: column;
|
|
628
|
+
align-items: center;
|
|
629
|
+
justify-content: center;
|
|
630
|
+
flex: 1;
|
|
631
|
+
padding: 0px 8px;
|
|
632
|
+
cursor: pointer;
|
|
633
|
+
transition: all 300ms ease-in-out;
|
|
634
|
+
border-radius: 9999px;
|
|
635
|
+
color: #4b5563;
|
|
636
|
+
cursor: pointer;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.brand-segment:hover {
|
|
640
|
+
background-color: #f3f4f6 !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.brand-segment.active {
|
|
644
|
+
background-color: #fff !important;
|
|
645
|
+
color: #1f2937;
|
|
646
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.brand-logo {
|
|
650
|
+
height: 40px;
|
|
651
|
+
width: 40px;
|
|
652
|
+
object-fit: contain;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.brand-name {
|
|
656
|
+
font-size: 0.75rem;
|
|
657
|
+
line-height: 1rem;
|
|
658
|
+
font-weight: 600;
|
|
659
|
+
color: #4b5563;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.brand-segment.active .brand-name {
|
|
663
|
+
color: #1f2937;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.content-area {
|
|
667
|
+
padding: 2rem;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.selected-text {
|
|
671
|
+
color: #4b5563;
|
|
672
|
+
text-align: center;
|
|
673
|
+
font-size: 1.125rem;
|
|
674
|
+
line-height: 1.75rem;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.selected-brand-name {
|
|
678
|
+
font-weight: 700; /* font-bold */
|
|
679
|
+
color: #6d28d9; /* text-purple-700 */
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.dynamic-content-box {
|
|
683
|
+
margin-top: 1.5rem; /* mt-6 */
|
|
684
|
+
padding: 1rem; /* p-4 */
|
|
685
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
686
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
687
|
+
color: #374151; /* text-gray-700 */
|
|
688
|
+
font-size: 0.875rem; /* text-sm */
|
|
689
|
+
line-height: 1.25rem; /* text-sm */
|
|
690
|
+
font-style: italic;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/* Responsive adjustments for smaller screens if needed */
|
|
694
|
+
@media (max-width: 640px) {
|
|
695
|
+
.segmented-control-container {
|
|
696
|
+
max-width: 100%; /* Allows it to take full width on small screens */
|
|
697
|
+
padding: 0.15rem; /* Slightly less padding */
|
|
698
|
+
}
|
|
699
|
+
.brand-segment {
|
|
700
|
+
padding-left: 0.5rem;
|
|
701
|
+
padding-right: 0.5rem;
|
|
702
|
+
}
|
|
703
|
+
.brand-logo {
|
|
704
|
+
height: 1.8rem; /* Slightly smaller on mobile */
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
`), h$1("div", { class: "card-container" }, h$1("h2", { class: "card-heading" }, "Select Branding"), h$1("div", { class: "segmented-control-container" }, this.brands.map((brand) => (h$1("div", { key: brand.name, class: `brand-segment ${this.selectedBrand === brand.name ? "active" : ""}`, onClick: () => this.updateBrand(brand.name) }, h$1("img", { src: brand.logoUrl, alt: `${brand.name} Logo`, class: "brand-logo", onError: (e) => {
|
|
708
|
+
e.target.src =
|
|
709
|
+
"https://placehold.co/80x40/cccccc/000000?text=Logo";
|
|
710
|
+
} }))))))));
|
|
711
|
+
}
|
|
712
|
+
};
|
|
713
|
+
|
|
119
714
|
const CardFeed = class {
|
|
120
715
|
constructor(hostRef) {
|
|
121
716
|
registerInstance(this, hostRef);
|
|
@@ -161,7 +756,7 @@ const styleString = sheet.toString();
|
|
|
161
756
|
function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
|
|
162
757
|
if (!missingProps)
|
|
163
758
|
return false;
|
|
164
|
-
const host = _();
|
|
759
|
+
const host = _$1();
|
|
165
760
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
166
761
|
return (h$1("sl-alert", { type: "danger", open: true },
|
|
167
762
|
h$1("style", { type: "text/css" }, styleString),
|
|
@@ -392,6 +987,7 @@ function useCouponCode(props) {
|
|
|
392
987
|
dateAvailable,
|
|
393
988
|
loading,
|
|
394
989
|
errorType,
|
|
990
|
+
buttonType: props.buttonType || "primary",
|
|
395
991
|
};
|
|
396
992
|
}
|
|
397
993
|
|
|
@@ -415,6 +1011,7 @@ const CouponCode = class {
|
|
|
415
1011
|
* @uiType string
|
|
416
1012
|
* @uiEnum ["left", "center", "right"]
|
|
417
1013
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1014
|
+
* @uiGroup Style
|
|
418
1015
|
*/
|
|
419
1016
|
this.textAlign = "left";
|
|
420
1017
|
/**
|
|
@@ -428,6 +1025,7 @@ const CouponCode = class {
|
|
|
428
1025
|
* @uiType string
|
|
429
1026
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
430
1027
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
1028
|
+
* @uiGroup Style
|
|
431
1029
|
*/
|
|
432
1030
|
this.buttonStyle = "icon";
|
|
433
1031
|
/**
|
|
@@ -489,6 +1087,15 @@ const CouponCode = class {
|
|
|
489
1087
|
* @uiGroup Coupon code error
|
|
490
1088
|
*/
|
|
491
1089
|
this.couponCodePlaceholder = "...";
|
|
1090
|
+
/**
|
|
1091
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
1092
|
+
* @uiName Button Type
|
|
1093
|
+
* @uiType string
|
|
1094
|
+
* @uiEnum ["primary", "secondary"]
|
|
1095
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1096
|
+
* @uiGroup Style
|
|
1097
|
+
*/
|
|
1098
|
+
this.buttonType = "primary";
|
|
492
1099
|
h(this);
|
|
493
1100
|
}
|
|
494
1101
|
disconnectedCallback() { }
|
|
@@ -512,6 +1119,11 @@ function useDemoCouponCode(props) {
|
|
|
512
1119
|
error: false,
|
|
513
1120
|
couponCodePlaceholder: props.couponCodePlaceholder,
|
|
514
1121
|
couponCodeLabel: props.couponCodeLabel,
|
|
1122
|
+
borderColor: props.borderColor,
|
|
1123
|
+
backgroundColor: props.backgroundColor,
|
|
1124
|
+
textColor: props.textColor,
|
|
1125
|
+
borderRadius: props.borderRadius,
|
|
1126
|
+
buttonType: props.buttonType,
|
|
515
1127
|
open,
|
|
516
1128
|
onClick: () => {
|
|
517
1129
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -526,14 +1138,23 @@ function useDemoCouponCode(props) {
|
|
|
526
1138
|
function DividedLayoutView(props, children) {
|
|
527
1139
|
const getBorder = () => {
|
|
528
1140
|
if (props.direction === "row") {
|
|
529
|
-
return {
|
|
1141
|
+
return {
|
|
1142
|
+
"border-right": props.borderless
|
|
1143
|
+
? "none"
|
|
1144
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1145
|
+
};
|
|
530
1146
|
}
|
|
531
1147
|
else {
|
|
532
|
-
return {
|
|
1148
|
+
return {
|
|
1149
|
+
"border-bottom": props.borderless
|
|
1150
|
+
? "none"
|
|
1151
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1152
|
+
};
|
|
533
1153
|
}
|
|
534
1154
|
};
|
|
535
1155
|
const style = {
|
|
536
1156
|
LayoutContainer: {
|
|
1157
|
+
background: props.backgroundColor,
|
|
537
1158
|
display: "contents",
|
|
538
1159
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
539
1160
|
"& > :not(:last-child)": {
|
|
@@ -549,11 +1170,10 @@ function DividedLayoutView(props, children) {
|
|
|
549
1170
|
flex: 1;
|
|
550
1171
|
box-sizing: border-box;
|
|
551
1172
|
flex-direction: ${props.direction};
|
|
552
|
-
background-color: var(--sqm-
|
|
1173
|
+
background-color: var(--sqm-portal-background);
|
|
1174
|
+
color: var(--sqm-text);
|
|
553
1175
|
overflow-x: clip;
|
|
554
|
-
${props.direction === "column"
|
|
555
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
556
|
-
: ""}
|
|
1176
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
557
1177
|
${props.contentAreaWidth !== null
|
|
558
1178
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
559
1179
|
: ""}
|
|
@@ -585,10 +1205,17 @@ const DividedLayout = class {
|
|
|
585
1205
|
constructor(hostRef) {
|
|
586
1206
|
registerInstance(this, hostRef);
|
|
587
1207
|
/**
|
|
1208
|
+
* @undocumented
|
|
588
1209
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
589
1210
|
* @uiName Border style
|
|
590
1211
|
*/
|
|
591
|
-
this.dividerStyle = "
|
|
1212
|
+
this.dividerStyle = "var(--sqm-border-thickness) solid var(--sqm-border-color)";
|
|
1213
|
+
/**
|
|
1214
|
+
* Background color of the divider
|
|
1215
|
+
* @uiName Divider Background Color
|
|
1216
|
+
* @uiWidget color
|
|
1217
|
+
*/
|
|
1218
|
+
this.backgroundColor = "#FFFFFF";
|
|
592
1219
|
h(this);
|
|
593
1220
|
}
|
|
594
1221
|
disconnectedCallback() { }
|
|
@@ -909,12 +1536,12 @@ const Hero = class {
|
|
|
909
1536
|
*/
|
|
910
1537
|
this.minHeight = 200;
|
|
911
1538
|
/**
|
|
912
|
-
*
|
|
1539
|
+
* Add an image or select a color. Recommended image aspect ratio of 4:5
|
|
913
1540
|
*
|
|
914
1541
|
* @uiName Background
|
|
915
1542
|
* @uiWidget Background
|
|
916
1543
|
*/
|
|
917
|
-
this.background = "
|
|
1544
|
+
this.background = "#f9fafb";
|
|
918
1545
|
/**
|
|
919
1546
|
* @uiName Padding size
|
|
920
1547
|
* @uiEnum ["none", "small", "medium","large"]
|
|
@@ -929,6 +1556,10 @@ const Hero = class {
|
|
|
929
1556
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
930
1557
|
*/
|
|
931
1558
|
this.wrapDirection = "wrap";
|
|
1559
|
+
/**
|
|
1560
|
+
* @uiName Hide the column in mobile view (can only be used when two columns are present)
|
|
1561
|
+
*/
|
|
1562
|
+
this.columnToHideInMobile = null;
|
|
932
1563
|
h(this);
|
|
933
1564
|
}
|
|
934
1565
|
disconnectedCallback() { }
|
|
@@ -957,7 +1588,7 @@ function HeroImageView(props, children) {
|
|
|
957
1588
|
width: "100%",
|
|
958
1589
|
height: "100%",
|
|
959
1590
|
position: "absolute",
|
|
960
|
-
background: props.overlayColor || "var(--sl-color-
|
|
1591
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
961
1592
|
opacity: props.overlayOpacity,
|
|
962
1593
|
},
|
|
963
1594
|
},
|
|
@@ -1064,7 +1695,7 @@ function HeroImageView(props, children) {
|
|
|
1064
1695
|
h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1065
1696
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1066
1697
|
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
1067
|
-
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType
|
|
1698
|
+
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
1068
1699
|
? window.open(props.buttonLink)
|
|
1069
1700
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1070
1701
|
children && children)));
|
|
@@ -1143,7 +1774,7 @@ const HeroImage = class {
|
|
|
1143
1774
|
*/
|
|
1144
1775
|
this.paddingImage = "none";
|
|
1145
1776
|
/**
|
|
1146
|
-
* The type of the button (primary or secondary)
|
|
1777
|
+
* The type of the button that is used (primary or secondary).
|
|
1147
1778
|
* @uiName Button Type
|
|
1148
1779
|
* @uiType string
|
|
1149
1780
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -1439,13 +2070,6 @@ const Leaderboard = class {
|
|
|
1439
2070
|
* @uiName Width
|
|
1440
2071
|
*/
|
|
1441
2072
|
this.width = "100%";
|
|
1442
|
-
/**
|
|
1443
|
-
* Hide the viewer's leaderboard row if not in the top results.
|
|
1444
|
-
*
|
|
1445
|
-
* @uiName Hide viewing user
|
|
1446
|
-
* @default
|
|
1447
|
-
*/
|
|
1448
|
-
this.hideViewer = false;
|
|
1449
2073
|
/**
|
|
1450
2074
|
* @uiName Viewing user text
|
|
1451
2075
|
*/
|
|
@@ -1468,6 +2092,13 @@ const Leaderboard = class {
|
|
|
1468
2092
|
* @uiName Maximum rows number
|
|
1469
2093
|
*/
|
|
1470
2094
|
this.maxRows = 10;
|
|
2095
|
+
/**
|
|
2096
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
2097
|
+
*
|
|
2098
|
+
* @uiName Hide viewing user
|
|
2099
|
+
* @default
|
|
2100
|
+
*/
|
|
2101
|
+
this.hideViewer = false;
|
|
1471
2102
|
this.ignored = true;
|
|
1472
2103
|
h(this);
|
|
1473
2104
|
withShadowView(this);
|
|
@@ -1491,6 +2122,12 @@ const Leaderboard = class {
|
|
|
1491
2122
|
showRank: this.showRank,
|
|
1492
2123
|
rankSuffix: this.rankSuffix,
|
|
1493
2124
|
width: this.width,
|
|
2125
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
2126
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
2127
|
+
background: this.background,
|
|
2128
|
+
borderColor: this.borderColor,
|
|
2129
|
+
textColor: this.textColor,
|
|
2130
|
+
borderRadius: this.borderRadius,
|
|
1494
2131
|
};
|
|
1495
2132
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1496
2133
|
const viewprops = isDemo()
|
|
@@ -1545,7 +2182,6 @@ function useLeaderboardDemo(props) {
|
|
|
1545
2182
|
hasLeaders: true,
|
|
1546
2183
|
isEssentials: false,
|
|
1547
2184
|
styles: {
|
|
1548
|
-
// viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
1549
2185
|
usersheading: props.usersheading
|
|
1550
2186
|
? props.usersheading
|
|
1551
2187
|
: "Top referrers",
|
|
@@ -1562,6 +2198,12 @@ function useLeaderboardDemo(props) {
|
|
|
1562
2198
|
hideNames: props.hideNames,
|
|
1563
2199
|
rankSuffix: props.rankSuffix,
|
|
1564
2200
|
width: props.width,
|
|
2201
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
2202
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
2203
|
+
background: props.background,
|
|
2204
|
+
borderColor: props.borderColor,
|
|
2205
|
+
textColor: props.textColor,
|
|
2206
|
+
borderRadius: props.borderRadius,
|
|
1565
2207
|
},
|
|
1566
2208
|
},
|
|
1567
2209
|
data: {
|
|
@@ -1782,7 +2424,7 @@ const style$2 = {
|
|
|
1782
2424
|
marginLeft: "auto",
|
|
1783
2425
|
},
|
|
1784
2426
|
PayoutButtonDescription: {
|
|
1785
|
-
color: "var(--
|
|
2427
|
+
color: "var(--sqm-text-subdued)",
|
|
1786
2428
|
fontSize: "var(--sl-font-size-small)",
|
|
1787
2429
|
margin: "0",
|
|
1788
2430
|
},
|
|
@@ -1878,33 +2520,6 @@ const style$3 = {
|
|
|
1878
2520
|
margin: "0",
|
|
1879
2521
|
marginBottom: "var(--sl-spacing-small)",
|
|
1880
2522
|
},
|
|
1881
|
-
ErrorAlertContainer: {
|
|
1882
|
-
"&::part(base)": {
|
|
1883
|
-
backgroundColor: "var(--sl-color-red-100)",
|
|
1884
|
-
borderTop: "none",
|
|
1885
|
-
},
|
|
1886
|
-
"& sl-icon::part(base)": {
|
|
1887
|
-
color: "var(--sl-color-danger-500)",
|
|
1888
|
-
},
|
|
1889
|
-
},
|
|
1890
|
-
WarningAlertContainer: {
|
|
1891
|
-
"&::part(base)": {
|
|
1892
|
-
backgroundColor: "var(--sl-color-yellow-100)",
|
|
1893
|
-
borderTop: "none",
|
|
1894
|
-
},
|
|
1895
|
-
"& sl-icon::part(base)": {
|
|
1896
|
-
color: "var(--sl-color-danger-500)",
|
|
1897
|
-
},
|
|
1898
|
-
},
|
|
1899
|
-
InfoAlertContainer: {
|
|
1900
|
-
"&::part(base)": {
|
|
1901
|
-
backgroundColor: "var(--sl-color-sky-100)",
|
|
1902
|
-
borderTop: "none",
|
|
1903
|
-
},
|
|
1904
|
-
"& sl-icon::part(base)": {
|
|
1905
|
-
color: "var(--sl-color-blue-500)",
|
|
1906
|
-
},
|
|
1907
|
-
},
|
|
1908
2523
|
Dialog: {
|
|
1909
2524
|
"&::part(panel)": {
|
|
1910
2525
|
height: "600px",
|
|
@@ -1920,6 +2535,13 @@ const style$3 = {
|
|
|
1920
2535
|
"&::part(footer)": {},
|
|
1921
2536
|
},
|
|
1922
2537
|
};
|
|
2538
|
+
const vanillaStyle$1 = `
|
|
2539
|
+
a {
|
|
2540
|
+
color: inherit;
|
|
2541
|
+
text-decoration: underline;
|
|
2542
|
+
cursor: pointer;
|
|
2543
|
+
}
|
|
2544
|
+
`;
|
|
1923
2545
|
const sheet$3 = createStyleSheet(style$3);
|
|
1924
2546
|
const styleString$3 = sheet$3.toString();
|
|
1925
2547
|
function PayoutStatusAlertView(props) {
|
|
@@ -1931,8 +2553,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1931
2553
|
description: text.errorDescription,
|
|
1932
2554
|
buttonText: null,
|
|
1933
2555
|
alertType: "critical",
|
|
1934
|
-
icon: "exclamation-triangle",
|
|
1935
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
1936
2556
|
};
|
|
1937
2557
|
switch (status) {
|
|
1938
2558
|
case "INFORMATION_REQUIRED":
|
|
@@ -1941,8 +2561,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1941
2561
|
description: text.informationRequiredDescription,
|
|
1942
2562
|
buttonText: text.informationRequiredButtonText,
|
|
1943
2563
|
alertType: "info",
|
|
1944
|
-
icon: "info-circle",
|
|
1945
|
-
class: sheet$3.classes.InfoAlertContainer,
|
|
1946
2564
|
};
|
|
1947
2565
|
case "VERIFICATION:REQUIRED":
|
|
1948
2566
|
return {
|
|
@@ -1955,8 +2573,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1955
2573
|
}),
|
|
1956
2574
|
buttonText: text.verificationRequiredButtonText,
|
|
1957
2575
|
alertType: "warning",
|
|
1958
|
-
icon: "exclamation-triangle",
|
|
1959
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1960
2576
|
};
|
|
1961
2577
|
case "VERIFICATION:INTERNAL":
|
|
1962
2578
|
return {
|
|
@@ -1968,8 +2584,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1968
2584
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1969
2585
|
}),
|
|
1970
2586
|
alertType: "warning",
|
|
1971
|
-
icon: "exclamation-triangle",
|
|
1972
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1973
2587
|
};
|
|
1974
2588
|
case "VERIFICATION:REVIEW":
|
|
1975
2589
|
return {
|
|
@@ -1981,8 +2595,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1981
2595
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1982
2596
|
}),
|
|
1983
2597
|
alertType: "warning",
|
|
1984
|
-
icon: "exclamation-triangle",
|
|
1985
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1986
2598
|
};
|
|
1987
2599
|
case "VERIFICATION:FAILED":
|
|
1988
2600
|
return {
|
|
@@ -1994,8 +2606,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1994
2606
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1995
2607
|
}),
|
|
1996
2608
|
alertType: "critical",
|
|
1997
|
-
icon: "exclamation-octagon",
|
|
1998
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
1999
2609
|
};
|
|
2000
2610
|
case "HOLD":
|
|
2001
2611
|
return {
|
|
@@ -2008,8 +2618,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2008
2618
|
}),
|
|
2009
2619
|
buttonText: null,
|
|
2010
2620
|
alertType: "warning",
|
|
2011
|
-
icon: "exclamation-triangle",
|
|
2012
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
2013
2621
|
};
|
|
2014
2622
|
default:
|
|
2015
2623
|
return;
|
|
@@ -2018,11 +2626,15 @@ function PayoutStatusAlertView(props) {
|
|
|
2018
2626
|
function getButton(status) {
|
|
2019
2627
|
switch (status) {
|
|
2020
2628
|
case "INFORMATION_REQUIRED":
|
|
2021
|
-
return data.type === "SquatchJS2" ? (h$1("
|
|
2629
|
+
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
2630
|
+
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
2631
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText))) : (
|
|
2022
2632
|
// Demo case
|
|
2023
|
-
h$1("
|
|
2633
|
+
h$1("div", { style: { paddingTop: "10px" } },
|
|
2634
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base" }, text.informationRequiredButtonText)));
|
|
2024
2635
|
case "VERIFICATION:REQUIRED":
|
|
2025
|
-
return (h$1("
|
|
2636
|
+
return (h$1("div", { style: { paddingTop: "10px" } },
|
|
2637
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
|
|
2026
2638
|
default:
|
|
2027
2639
|
return;
|
|
2028
2640
|
}
|
|
@@ -2036,10 +2648,10 @@ function PayoutStatusAlertView(props) {
|
|
|
2036
2648
|
}
|
|
2037
2649
|
return (h$1("div", { part: "sqm-base" },
|
|
2038
2650
|
h$1("style", { type: "text/css" }, styleString$3),
|
|
2039
|
-
h$1("
|
|
2040
|
-
|
|
2041
|
-
h$1("
|
|
2042
|
-
h$1("p", {
|
|
2651
|
+
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
2652
|
+
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
2653
|
+
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
2654
|
+
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
2043
2655
|
getButton(states.status))));
|
|
2044
2656
|
}
|
|
2045
2657
|
|
|
@@ -2573,7 +3185,7 @@ const PortalFooter = class {
|
|
|
2573
3185
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2574
3186
|
};
|
|
2575
3187
|
|
|
2576
|
-
function usePortalFrame(footerContent, headerContent) {
|
|
3188
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2577
3189
|
const [, rerender] = yn();
|
|
2578
3190
|
return {
|
|
2579
3191
|
data: {
|
|
@@ -2583,6 +3195,9 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2583
3195
|
callbacks: {
|
|
2584
3196
|
rerender,
|
|
2585
3197
|
},
|
|
3198
|
+
backgroundColor: props.backgroundColor,
|
|
3199
|
+
border: props.border,
|
|
3200
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
2586
3201
|
};
|
|
2587
3202
|
}
|
|
2588
3203
|
|
|
@@ -2594,6 +3209,25 @@ const PortalFrame = class {
|
|
|
2594
3209
|
* @undocumented
|
|
2595
3210
|
*/
|
|
2596
3211
|
this.notFullScreen = false;
|
|
3212
|
+
/**
|
|
3213
|
+
* @uiName Background color
|
|
3214
|
+
* @uiWidget color
|
|
3215
|
+
* @uiType string
|
|
3216
|
+
*/
|
|
3217
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff)";
|
|
3218
|
+
/**
|
|
3219
|
+
* Borders placed to seperate the header and footer from the body content.
|
|
3220
|
+
* @uiName Border
|
|
3221
|
+
* @uiType string
|
|
3222
|
+
*/
|
|
3223
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3224
|
+
/**
|
|
3225
|
+
* Background color for the header and footer.
|
|
3226
|
+
* @uiName Header and Footer Background Color
|
|
3227
|
+
* @uiWidget color
|
|
3228
|
+
* @uiType string
|
|
3229
|
+
*/
|
|
3230
|
+
this.headerAndFooterBackgroundColor = "var(--sqm-portal-background, #fff)";
|
|
2597
3231
|
h(this);
|
|
2598
3232
|
}
|
|
2599
3233
|
disconnectedCallback() { }
|
|
@@ -2602,13 +3236,16 @@ const PortalFrame = class {
|
|
|
2602
3236
|
const headerContent = h$1("slot", { name: "header" });
|
|
2603
3237
|
const props = isDemo()
|
|
2604
3238
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2605
|
-
: usePortalFrame(footerContent, headerContent);
|
|
3239
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2606
3240
|
return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
|
|
2607
3241
|
}
|
|
2608
3242
|
};
|
|
2609
3243
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2610
3244
|
return cjs({
|
|
2611
3245
|
notFullScreen: true,
|
|
3246
|
+
backgroundColor: props.backgroundColor,
|
|
3247
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
3248
|
+
border: props.border,
|
|
2612
3249
|
data: {
|
|
2613
3250
|
footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
|
|
2614
3251
|
header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
|
|
@@ -2698,7 +3335,7 @@ const PortalLogin = class {
|
|
|
2698
3335
|
const content = {
|
|
2699
3336
|
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2700
3337
|
googleButton: null,
|
|
2701
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
3338
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
2702
3339
|
emailLabel: this.emailLabel,
|
|
2703
3340
|
passwordLabel: this.passwordLabel,
|
|
2704
3341
|
submitLabel: this.submitLabel,
|
|
@@ -2860,7 +3497,7 @@ function usePortalRegister(props) {
|
|
|
2860
3497
|
const PortalRegister = class {
|
|
2861
3498
|
constructor(hostRef) {
|
|
2862
3499
|
registerInstance(this, hostRef);
|
|
2863
|
-
this.ignored =
|
|
3500
|
+
this.ignored = false;
|
|
2864
3501
|
/**
|
|
2865
3502
|
* Redirect participants to this page from their verification email
|
|
2866
3503
|
*
|
|
@@ -3086,9 +3723,11 @@ function ProgramExplainerStepView(props) {
|
|
|
3086
3723
|
width: "100%",
|
|
3087
3724
|
padding: "var(--sl-spacing-x-large)",
|
|
3088
3725
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3089
|
-
borderRadius: props.borderRadius
|
|
3726
|
+
borderRadius: props.borderRadius
|
|
3727
|
+
? `${props.borderRadius}px`
|
|
3728
|
+
: "var(--sqm-border-radius-normal)",
|
|
3090
3729
|
color: props.textColor || "var(--sqm-text)",
|
|
3091
|
-
background: props.backgroundColor || "var(--
|
|
3730
|
+
background: props.backgroundColor || "var(--sqm-accent-color-background)",
|
|
3092
3731
|
"@media (max-width: 499px)": {
|
|
3093
3732
|
flexDirection: "row",
|
|
3094
3733
|
width: "auto",
|
|
@@ -3124,7 +3763,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3124
3763
|
objectFit: "cover",
|
|
3125
3764
|
userSelect: "none",
|
|
3126
3765
|
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3127
|
-
color: props.iconColor || "var(--
|
|
3766
|
+
color: props.iconColor || "var(--sqm-accent-color-icon)",
|
|
3128
3767
|
fontSize: "26px",
|
|
3129
3768
|
textAlign: "center",
|
|
3130
3769
|
lineHeight: "72px",
|
|
@@ -3159,7 +3798,7 @@ const debug = browser("sq:useProgramMenu");
|
|
|
3159
3798
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
3160
3799
|
function useProgramMenu(props) {
|
|
3161
3800
|
const programId = H();
|
|
3162
|
-
const host = _();
|
|
3801
|
+
const host = _$1();
|
|
3163
3802
|
debug({ programId, props });
|
|
3164
3803
|
const ref = useRef();
|
|
3165
3804
|
const [, rerender] = yn();
|
|
@@ -3199,44 +3838,47 @@ const ProgramMenu = class {
|
|
|
3199
3838
|
}
|
|
3200
3839
|
};
|
|
3201
3840
|
|
|
3202
|
-
const
|
|
3203
|
-
Container: {
|
|
3204
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
3205
|
-
color: "var(--sqm-text)",
|
|
3206
|
-
background: "var(--sl-color-neutral-0)",
|
|
3207
|
-
display: "flex",
|
|
3208
|
-
flexDirection: "column",
|
|
3209
|
-
rowGap: "var(--sl-spacing-large)",
|
|
3210
|
-
},
|
|
3211
|
-
EndContainer: {
|
|
3212
|
-
display: "flex",
|
|
3213
|
-
flexDirection: "column",
|
|
3214
|
-
alignItems: "center",
|
|
3215
|
-
},
|
|
3216
|
-
ColumnContainer: {
|
|
3217
|
-
"& p": { margin: "0" },
|
|
3218
|
-
display: "grid",
|
|
3219
|
-
gridAutoColumns: "minmax(0, 1fr)",
|
|
3220
|
-
gridAutoFlow: "column",
|
|
3221
|
-
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3222
|
-
"@media (max-width: 499px)": {
|
|
3223
|
-
gridAutoFlow: "unset",
|
|
3224
|
-
gridAutoColumns: "unset",
|
|
3225
|
-
gridTemplateColumns: "1fr",
|
|
3226
|
-
border: "none",
|
|
3227
|
-
},
|
|
3228
|
-
},
|
|
3229
|
-
};
|
|
3230
|
-
const sheet$4 = createStyleSheet(style$4);
|
|
3231
|
-
const styleString$4 = sheet$4.toString();
|
|
3232
|
-
const vanillaStyle$1 = `
|
|
3841
|
+
const vanillaStyle$2 = `
|
|
3233
3842
|
:host{
|
|
3234
3843
|
display: block;
|
|
3235
3844
|
}
|
|
3236
3845
|
`;
|
|
3237
3846
|
function ReferralCardView(props) {
|
|
3238
|
-
|
|
3239
|
-
|
|
3847
|
+
const style = {
|
|
3848
|
+
Container: {
|
|
3849
|
+
borderRadius: props.borderRadius || "var(--sqm-border-radius-normal)",
|
|
3850
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3851
|
+
background: props.backgroundColor || "var(--sqm-portal-background)",
|
|
3852
|
+
display: "flex",
|
|
3853
|
+
flexDirection: "column",
|
|
3854
|
+
rowGap: "var(--sl-spacing-large)",
|
|
3855
|
+
},
|
|
3856
|
+
EndContainer: {
|
|
3857
|
+
display: "flex",
|
|
3858
|
+
flexDirection: "column",
|
|
3859
|
+
alignItems: "center",
|
|
3860
|
+
},
|
|
3861
|
+
ColumnContainer: {
|
|
3862
|
+
"& p": { margin: "0" },
|
|
3863
|
+
display: "grid",
|
|
3864
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
3865
|
+
gridAutoFlow: "column",
|
|
3866
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3867
|
+
"@media (max-width: 499px)": {
|
|
3868
|
+
gridAutoFlow: "unset",
|
|
3869
|
+
gridAutoColumns: "unset",
|
|
3870
|
+
gridTemplateColumns: "1fr",
|
|
3871
|
+
border: "none",
|
|
3872
|
+
},
|
|
3873
|
+
},
|
|
3874
|
+
};
|
|
3875
|
+
const sheet = createStyleSheet(style);
|
|
3876
|
+
const styleString = sheet.toString();
|
|
3877
|
+
const borderColor = props.borderColor || "var(--sqm-border-color)";
|
|
3878
|
+
return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3879
|
+
border: `${props.hideBorder
|
|
3880
|
+
? "none"
|
|
3881
|
+
: `var(--sqm-border-thickness) solid ${borderColor}`}`,
|
|
3240
3882
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3241
3883
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3242
3884
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3246,15 +3888,15 @@ function ReferralCardView(props) {
|
|
|
3246
3888
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
3247
3889
|
} },
|
|
3248
3890
|
h$1("style", { type: "text/css" },
|
|
3249
|
-
styleString
|
|
3250
|
-
vanillaStyle$
|
|
3251
|
-
props.hasHeader && (h$1("div", { class: sheet
|
|
3252
|
-
h$1("div", { part: "sqm-column-container", class: sheet
|
|
3891
|
+
styleString,
|
|
3892
|
+
vanillaStyle$2),
|
|
3893
|
+
props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3894
|
+
h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3253
3895
|
alignItems: props.verticalAlignment,
|
|
3254
3896
|
} },
|
|
3255
3897
|
props.slots.left,
|
|
3256
3898
|
props.slots.right),
|
|
3257
|
-
props.hasFooter && (h$1("div", { class: sheet
|
|
3899
|
+
props.hasFooter && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
|
|
3258
3900
|
}
|
|
3259
3901
|
|
|
3260
3902
|
const ReferralCard = class {
|
|
@@ -3301,12 +3943,6 @@ const ReferralCard = class {
|
|
|
3301
3943
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
3302
3944
|
*/
|
|
3303
3945
|
this.paddingLeft = "large";
|
|
3304
|
-
/**
|
|
3305
|
-
* @uiName Background color
|
|
3306
|
-
* @uiWidget color
|
|
3307
|
-
* @uiType string
|
|
3308
|
-
*/
|
|
3309
|
-
this.backgroundColor = "#ffffff";
|
|
3310
3946
|
/**
|
|
3311
3947
|
* @uiName Limit width
|
|
3312
3948
|
* @uiType boolean
|
|
@@ -3400,6 +4036,161 @@ function useReferralIframeDemo(props) {
|
|
|
3400
4036
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3401
4037
|
}
|
|
3402
4038
|
|
|
4039
|
+
const ReferredRegistration = class {
|
|
4040
|
+
constructor(hostRef) {
|
|
4041
|
+
registerInstance(this, hostRef);
|
|
4042
|
+
this.ignored = true;
|
|
4043
|
+
/**
|
|
4044
|
+
* @uiName Email field label
|
|
4045
|
+
*/
|
|
4046
|
+
this.emailLabel = "Email";
|
|
4047
|
+
/**
|
|
4048
|
+
* @uiName First name field label
|
|
4049
|
+
*/
|
|
4050
|
+
this.firstNameLabel = "First Name";
|
|
4051
|
+
/**
|
|
4052
|
+
* @uiName Last name field label
|
|
4053
|
+
*/
|
|
4054
|
+
this.lastNameLabel = "Last Name";
|
|
4055
|
+
/**
|
|
4056
|
+
* @uiName Register button text
|
|
4057
|
+
*/
|
|
4058
|
+
this.registerLabel = "Start Referring";
|
|
4059
|
+
/**
|
|
4060
|
+
* Require your participants to enter their first and last name.
|
|
4061
|
+
*
|
|
4062
|
+
* @uiName Include name fields
|
|
4063
|
+
*/
|
|
4064
|
+
this.includeName = false;
|
|
4065
|
+
/**
|
|
4066
|
+
* @uiName Hide border
|
|
4067
|
+
* @uiGroup Card style
|
|
4068
|
+
*/
|
|
4069
|
+
this.hideBorder = false;
|
|
4070
|
+
/**
|
|
4071
|
+
* Display this message when a required field has not been filled out.
|
|
4072
|
+
*
|
|
4073
|
+
* @uiName Required field message
|
|
4074
|
+
* @uiWidget textArea
|
|
4075
|
+
* @uiGroup Error messages
|
|
4076
|
+
*/
|
|
4077
|
+
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4078
|
+
/**
|
|
4079
|
+
* Display this message when the given email is invalid.
|
|
4080
|
+
*
|
|
4081
|
+
* @uiName Invalid email message
|
|
4082
|
+
* @uiWidget textArea
|
|
4083
|
+
* @uiGroup Error messages
|
|
4084
|
+
*/
|
|
4085
|
+
this.invalidEmailErrorMessage = "Please enter a valid email address";
|
|
4086
|
+
/**
|
|
4087
|
+
* Display this message when the form submission unexpectedly fails.
|
|
4088
|
+
*
|
|
4089
|
+
* @uiName Network error message
|
|
4090
|
+
* @uiWidget textArea
|
|
4091
|
+
* @uiGroup Error messages
|
|
4092
|
+
*/
|
|
4093
|
+
this.networkErrorMessage = "There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";
|
|
4094
|
+
/**
|
|
4095
|
+
* Display this message when there is suspected fraud.
|
|
4096
|
+
*
|
|
4097
|
+
* @uiName Fraud error message
|
|
4098
|
+
* @uiWidget textArea
|
|
4099
|
+
* @uiGroup Error messages
|
|
4100
|
+
*/
|
|
4101
|
+
this.fraudErrorMessage = "Our team will review this referral. If approved, you and your friend will receive your rewards. Need help? Reach out to our Support team.";
|
|
4102
|
+
/**
|
|
4103
|
+
* Display this message when there is suspected fraud.
|
|
4104
|
+
*
|
|
4105
|
+
* @uiName Fraud error message title
|
|
4106
|
+
* @uiWidget textArea
|
|
4107
|
+
* @uiGroup Error messages
|
|
4108
|
+
*/
|
|
4109
|
+
this.fraudErrorMessageTitle = "Looks like you tried referring yourself";
|
|
4110
|
+
/**
|
|
4111
|
+
* @uiName Top padding
|
|
4112
|
+
* @uiGroup Card style
|
|
4113
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4114
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4115
|
+
*/
|
|
4116
|
+
this.paddingTop = "large";
|
|
4117
|
+
/**
|
|
4118
|
+
* @uiName Right padding
|
|
4119
|
+
* @uiGroup Card style
|
|
4120
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4121
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4122
|
+
*/
|
|
4123
|
+
this.paddingRight = "large";
|
|
4124
|
+
/**
|
|
4125
|
+
* @uiName Bottom padding
|
|
4126
|
+
* @uiGroup Card style
|
|
4127
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4128
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4129
|
+
*/
|
|
4130
|
+
this.paddingBottom = "large";
|
|
4131
|
+
/**
|
|
4132
|
+
* @uiName Left padding
|
|
4133
|
+
* @uiGroup Card style
|
|
4134
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4135
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4136
|
+
*/
|
|
4137
|
+
this.paddingLeft = "large";
|
|
4138
|
+
/**
|
|
4139
|
+
* @undocumented
|
|
4140
|
+
* @uiType boolean
|
|
4141
|
+
*/
|
|
4142
|
+
this.includeCookies = true;
|
|
4143
|
+
h(this);
|
|
4144
|
+
}
|
|
4145
|
+
disconnectedCallback() { }
|
|
4146
|
+
render() {
|
|
4147
|
+
const { states, callbacks } = isDemo()
|
|
4148
|
+
? useRegistrationDemo(this)
|
|
4149
|
+
: useInstantAccessRegistration(this);
|
|
4150
|
+
const content = {
|
|
4151
|
+
fraudErrorMessage: this.fraudErrorMessage,
|
|
4152
|
+
fraudErrorMessageTitle: this.fraudErrorMessageTitle,
|
|
4153
|
+
emailLabel: this.emailLabel,
|
|
4154
|
+
registerLabel: this.registerLabel,
|
|
4155
|
+
firstNameLabel: this.firstNameLabel,
|
|
4156
|
+
lastNameLabel: this.lastNameLabel,
|
|
4157
|
+
includeName: this.includeName,
|
|
4158
|
+
hideBorder: this.hideBorder,
|
|
4159
|
+
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4160
|
+
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4161
|
+
paddingTop: this.paddingTop,
|
|
4162
|
+
paddingBottom: this.paddingBottom,
|
|
4163
|
+
paddingLeft: this.paddingLeft,
|
|
4164
|
+
paddingRight: this.paddingRight,
|
|
4165
|
+
backgroundColor: this.backgroundColor,
|
|
4166
|
+
// slots
|
|
4167
|
+
topSlot: h$1("slot", { name: "top" }),
|
|
4168
|
+
bottomSlot: h$1("slot", { name: "bottom" }),
|
|
4169
|
+
};
|
|
4170
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
4171
|
+
}
|
|
4172
|
+
};
|
|
4173
|
+
function useRegistrationDemo(props) {
|
|
4174
|
+
const onSubmit = () => {
|
|
4175
|
+
setUserIdentity({
|
|
4176
|
+
id: "referrer@example.com",
|
|
4177
|
+
accountId: "referrer@example.com",
|
|
4178
|
+
jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
|
|
4179
|
+
});
|
|
4180
|
+
};
|
|
4181
|
+
return cjs({
|
|
4182
|
+
states: {
|
|
4183
|
+
error: "",
|
|
4184
|
+
loading: false,
|
|
4185
|
+
},
|
|
4186
|
+
callbacks: {
|
|
4187
|
+
submit: async (_event) => {
|
|
4188
|
+
onSubmit();
|
|
4189
|
+
},
|
|
4190
|
+
},
|
|
4191
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4192
|
+
}
|
|
4193
|
+
|
|
3403
4194
|
// canvas-confetti v1.4.0 built on 2021-03-10T12:32:33.488Z
|
|
3404
4195
|
var module = {};
|
|
3405
4196
|
|
|
@@ -4336,6 +5127,13 @@ const SqmRewardExchangeList = class {
|
|
|
4336
5127
|
* @uiName Cost row title
|
|
4337
5128
|
*/
|
|
4338
5129
|
this.costTitle = "Cost to Redeem";
|
|
5130
|
+
/**
|
|
5131
|
+
* @componentState { "title": "Choose reward", "props": { "redeemStage": "chooseReward" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5132
|
+
* @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5133
|
+
* @componentState { "title": "Confirm exchange", "props": { "redeemStage": "confirmation" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5134
|
+
* @componentState { "title": "Exchange successful", "props": { "redeemStage": "success" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5135
|
+
*/
|
|
5136
|
+
this.stateController = "{}";
|
|
4339
5137
|
h(this);
|
|
4340
5138
|
}
|
|
4341
5139
|
disconnectedCallback() { }
|
|
@@ -4355,6 +5153,10 @@ function EmptySlot$1() {
|
|
|
4355
5153
|
return (h$1("slot", { name: "empty" }, h$1("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
|
|
4356
5154
|
}
|
|
4357
5155
|
function useRewardExchangeListDemo(props) {
|
|
5156
|
+
const states = parseStates(props.stateController);
|
|
5157
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "reward-exchange-list"
|
|
5158
|
+
? { ...prev, ...states[key] }
|
|
5159
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4358
5160
|
return cjs({
|
|
4359
5161
|
states: {
|
|
4360
5162
|
content: {
|
|
@@ -4369,10 +5171,9 @@ function useRewardExchangeListDemo(props) {
|
|
|
4369
5171
|
queryError: false,
|
|
4370
5172
|
loading: false,
|
|
4371
5173
|
noExchangeOptions: false,
|
|
4372
|
-
empty: EmptySlot$1(),
|
|
4373
5174
|
},
|
|
4374
5175
|
data: {
|
|
4375
|
-
shareCode: "SHARECODE123",
|
|
5176
|
+
// shareCode: "SHARECODE123",
|
|
4376
5177
|
exchangeList: demoRewardExchange.data.exchangeList,
|
|
4377
5178
|
},
|
|
4378
5179
|
callbacks: {
|
|
@@ -4385,7 +5186,7 @@ function useRewardExchangeListDemo(props) {
|
|
|
4385
5186
|
refs: {
|
|
4386
5187
|
canvasRef: {},
|
|
4387
5188
|
},
|
|
4388
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5189
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4389
5190
|
}
|
|
4390
5191
|
|
|
4391
5192
|
const debug$1 = browser("sq:useRouter");
|
|
@@ -4397,7 +5198,7 @@ function matchPath(pattern, page) {
|
|
|
4397
5198
|
}
|
|
4398
5199
|
function useRouter() {
|
|
4399
5200
|
const location = kn();
|
|
4400
|
-
const host = _();
|
|
5201
|
+
const host = _$1();
|
|
4401
5202
|
const [slot, setSlot] = useState(undefined);
|
|
4402
5203
|
const [container, setContainer] = useState(undefined);
|
|
4403
5204
|
const page = location.pathname;
|
|
@@ -4488,8 +5289,8 @@ const ShareButton = class {
|
|
|
4488
5289
|
/**
|
|
4489
5290
|
* @uiType string
|
|
4490
5291
|
* @uiName Button style
|
|
4491
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4492
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
5292
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
5293
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4493
5294
|
*/
|
|
4494
5295
|
this.type = "default";
|
|
4495
5296
|
/**
|
|
@@ -4501,11 +5302,13 @@ const ShareButton = class {
|
|
|
4501
5302
|
this.iconslot = "prefix";
|
|
4502
5303
|
/**
|
|
4503
5304
|
* @uiName Hide icon
|
|
5305
|
+
* @uiGroup Style
|
|
4504
5306
|
* @default
|
|
4505
5307
|
*/
|
|
4506
5308
|
this.hideicon = false;
|
|
4507
5309
|
/**
|
|
4508
5310
|
* @uiName Hide text
|
|
5311
|
+
* @uiGroup Style
|
|
4509
5312
|
* @default
|
|
4510
5313
|
*/
|
|
4511
5314
|
this.hidetext = false;
|
|
@@ -4629,7 +5432,7 @@ const ShareCode = class {
|
|
|
4629
5432
|
*/
|
|
4630
5433
|
this.buttonStyle = "icon";
|
|
4631
5434
|
/**
|
|
4632
|
-
* The type of the button (primary or secondary)
|
|
5435
|
+
* The type of the button that is used (primary or secondary).
|
|
4633
5436
|
* @uiName Button Type
|
|
4634
5437
|
* @uiType string
|
|
4635
5438
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4704,7 +5507,7 @@ const ShareLink = class {
|
|
|
4704
5507
|
*/
|
|
4705
5508
|
this.copyButtonLabel = "Copy Link";
|
|
4706
5509
|
/**
|
|
4707
|
-
* The type of the button (primary or secondary)
|
|
5510
|
+
* The type of the button that is used (primary or secondary).
|
|
4708
5511
|
* @uiName Button Type
|
|
4709
5512
|
* @uiType string
|
|
4710
5513
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4771,12 +5574,29 @@ const StatContainer = class {
|
|
|
4771
5574
|
*/
|
|
4772
5575
|
this.space = "xxx-large";
|
|
4773
5576
|
/**
|
|
5577
|
+
* @undocumented
|
|
4774
5578
|
* @uiName Display
|
|
4775
5579
|
* @uiType string
|
|
4776
5580
|
* @uiEnum ["grid", "flex"]
|
|
4777
5581
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4778
5582
|
*/
|
|
4779
|
-
this.display = "
|
|
5583
|
+
this.display = "flex";
|
|
5584
|
+
/**
|
|
5585
|
+
* Controls the alignment of the flexbox
|
|
5586
|
+
*
|
|
5587
|
+
* @uiName Alignment
|
|
5588
|
+
* @uiType string
|
|
5589
|
+
* @uiEnum ["left", "right", "center"]
|
|
5590
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
5591
|
+
*/
|
|
5592
|
+
this.alignment = "center";
|
|
5593
|
+
/**
|
|
5594
|
+
* @uiName Gap
|
|
5595
|
+
* @uiType string
|
|
5596
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
5597
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
5598
|
+
*/
|
|
5599
|
+
this.gap = "x-large";
|
|
4780
5600
|
h(this);
|
|
4781
5601
|
}
|
|
4782
5602
|
disconnectedCallback() { }
|
|
@@ -4826,7 +5646,7 @@ function useTaskCard(props) {
|
|
|
4826
5646
|
textColor: props.textColor,
|
|
4827
5647
|
borderColor: props.borderColor,
|
|
4828
5648
|
borderRadius: props.borderRadius,
|
|
4829
|
-
|
|
5649
|
+
buttonType: props.buttonType,
|
|
4830
5650
|
},
|
|
4831
5651
|
};
|
|
4832
5652
|
return {
|
|
@@ -4952,7 +5772,7 @@ const TaskCard = class {
|
|
|
4952
5772
|
* @uiEnumNames ["Primary", "Secondary"]
|
|
4953
5773
|
* @uiGroup Style
|
|
4954
5774
|
*/
|
|
4955
|
-
this.
|
|
5775
|
+
this.buttonType = "primary";
|
|
4956
5776
|
h(this);
|
|
4957
5777
|
}
|
|
4958
5778
|
disconnectedCallback() { }
|
|
@@ -4964,7 +5784,6 @@ const TaskCard = class {
|
|
|
4964
5784
|
const { states, callbacks } = isDemo()
|
|
4965
5785
|
? useTaskCardDemo(this)
|
|
4966
5786
|
: useTaskCard(this);
|
|
4967
|
-
console.log("button style from controller", this.buttonStyle);
|
|
4968
5787
|
return (h$1(TaskCardView, { callbacks: callbacks, states: {
|
|
4969
5788
|
loading,
|
|
4970
5789
|
loadingEvent: states.loadingEvent,
|
|
@@ -4975,6 +5794,7 @@ const TaskCard = class {
|
|
|
4975
5794
|
};
|
|
4976
5795
|
function useTaskCardDemo(props) {
|
|
4977
5796
|
return cjs({
|
|
5797
|
+
content: { ...props },
|
|
4978
5798
|
states: { loadingEvent: false, locale: "en" },
|
|
4979
5799
|
callbacks: {
|
|
4980
5800
|
sendEvent: (event) => console.log(event),
|
|
@@ -5028,52 +5848,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
5028
5848
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
5029
5849
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
5030
5850
|
|
|
5031
|
-
const
|
|
5032
|
-
TimelineReward: {
|
|
5033
|
-
color: "var(--sqm-text)",
|
|
5034
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
5035
|
-
"& .container": {
|
|
5036
|
-
display: "flex",
|
|
5037
|
-
},
|
|
5038
|
-
"& .line": {
|
|
5039
|
-
display: "none",
|
|
5040
|
-
color: "transparent",
|
|
5041
|
-
userSelect: "none",
|
|
5042
|
-
background: "var(--sl-color-primary-300)",
|
|
5043
|
-
width: "4px",
|
|
5044
|
-
borderRadius: "4px",
|
|
5045
|
-
margin: "-2px",
|
|
5046
|
-
position: "relative",
|
|
5047
|
-
left: "12px",
|
|
5048
|
-
top: "34px",
|
|
5049
|
-
},
|
|
5050
|
-
"& .step": {
|
|
5051
|
-
display: "flex",
|
|
5052
|
-
},
|
|
5053
|
-
"& .icon": {
|
|
5054
|
-
position: "relative",
|
|
5055
|
-
top: "4px",
|
|
5056
|
-
zIndex: "1",
|
|
5057
|
-
color: "var(--sl-color-primary-300)",
|
|
5058
|
-
marginRight: "var(--sl-spacing-large)",
|
|
5059
|
-
},
|
|
5060
|
-
"& .reward": {
|
|
5061
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
5062
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
5063
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5064
|
-
},
|
|
5065
|
-
"& .unit": {
|
|
5066
|
-
textTransform: "uppercase",
|
|
5067
|
-
fontSize: "var(--sl-font-size-small)",
|
|
5068
|
-
},
|
|
5069
|
-
"& .description": {
|
|
5070
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
5071
|
-
},
|
|
5072
|
-
},
|
|
5073
|
-
};
|
|
5074
|
-
const sheet$5 = createStyleSheet(style$5);
|
|
5075
|
-
const styleString$5 = sheet$5.toString();
|
|
5076
|
-
const vanillaStyle$2 = `
|
|
5851
|
+
const vanillaStyle$3 = `
|
|
5077
5852
|
:host{
|
|
5078
5853
|
display: block;
|
|
5079
5854
|
}
|
|
@@ -5085,10 +5860,55 @@ const vanillaStyle$2 = `
|
|
|
5085
5860
|
function TimelineEntryView(props) {
|
|
5086
5861
|
var _a;
|
|
5087
5862
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5088
|
-
|
|
5863
|
+
const style = {
|
|
5864
|
+
TimelineReward: {
|
|
5865
|
+
color: props.textColor || "var(--sqm-text)",
|
|
5866
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
5867
|
+
"& .container": {
|
|
5868
|
+
display: "flex",
|
|
5869
|
+
},
|
|
5870
|
+
"& .line": {
|
|
5871
|
+
display: "none",
|
|
5872
|
+
color: "transparent",
|
|
5873
|
+
userSelect: "none",
|
|
5874
|
+
background: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5875
|
+
width: "4px",
|
|
5876
|
+
borderRadius: "4px",
|
|
5877
|
+
margin: "-2px",
|
|
5878
|
+
position: "relative",
|
|
5879
|
+
left: "12px",
|
|
5880
|
+
top: "34px",
|
|
5881
|
+
},
|
|
5882
|
+
"& .step": {
|
|
5883
|
+
display: "flex",
|
|
5884
|
+
},
|
|
5885
|
+
"& .icon": {
|
|
5886
|
+
position: "relative",
|
|
5887
|
+
top: "4px",
|
|
5888
|
+
zIndex: "1",
|
|
5889
|
+
color: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5890
|
+
marginRight: "var(--sl-spacing-large)",
|
|
5891
|
+
},
|
|
5892
|
+
"& .reward": {
|
|
5893
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
5894
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
5895
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5896
|
+
},
|
|
5897
|
+
"& .unit": {
|
|
5898
|
+
textTransform: "uppercase",
|
|
5899
|
+
fontSize: "var(--sl-font-size-small)",
|
|
5900
|
+
},
|
|
5901
|
+
"& .description": {
|
|
5902
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
5903
|
+
},
|
|
5904
|
+
},
|
|
5905
|
+
};
|
|
5906
|
+
const sheet = createStyleSheet(style);
|
|
5907
|
+
const styleString = sheet.toString();
|
|
5908
|
+
return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5089
5909
|
h$1("style", { type: "text/css" },
|
|
5090
|
-
styleString
|
|
5091
|
-
vanillaStyle$
|
|
5910
|
+
styleString,
|
|
5911
|
+
vanillaStyle$3),
|
|
5092
5912
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
5093
5913
|
h$1("div", { class: "line" }, "/"),
|
|
5094
5914
|
h$1("div", { class: "step" },
|
|
@@ -5178,4 +5998,4 @@ function useUserNameDemo(props) {
|
|
|
5178
5998
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5179
5999
|
}
|
|
5180
6000
|
|
|
5181
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
6001
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|