@saasquatch/mint-components 1.15.0-13 → 1.15.0-131
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-7e1bb557.js +646 -0
- package/dist/cjs/{ShadowViewAddon-d2ed86e8.js → ShadowViewAddon-e56c90ab.js} +1594 -1394
- package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-9d368345.js} +22 -11
- 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-19fe8600.js → global-0df1c47f.js} +11938 -11717
- 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} +885 -2416
- 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_44.cjs.entry.js} +1164 -217
- 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 +9 -15
- 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 +28 -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-9f7b86a9.js → sqm-portal-email-verification-view-bd4ec210.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- 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-e77710f0.js → sqm-portal-profile-view-9f6772c0.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 +21 -67
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13719 -12490
- 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-ba8fc342.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 +2 -2
- 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 +5 -5
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +16 -8
- package/dist/collection/components/sqm-hero/sqm-hero.js +39 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +5 -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/sqm-leaderboard-view.js +3 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +9 -5
- 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 +5 -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/sqm-program-explainer.js +1 -1
- 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 +5 -5
- 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 +6 -4
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +7 -13
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +4 -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-scroll/sqm-scroll.js +22 -101
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +12 -24
- 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 +13 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +6 -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 +80 -100
- 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/sqm-text.js +1 -1
- 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/sqm-timeline-entry-view.js +2 -2
- 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 +58 -62
- 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 +59 -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 +284 -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 +171 -53
- 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 +20 -9
- 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 -133
- package/dist/collection/global/styles.ts +408 -134
- 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-8e181f45.js +639 -0
- package/dist/esm/{ShadowViewAddon-3651cb42.js → ShadowViewAddon-439a4d47.js} +1592 -1392
- package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-5c086e98.js} +22 -11
- package/dist/esm/data-dea73d4d.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-9d6f3bbe.js → global-200e3d35.js} +11849 -11629
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-c9811a48.js} +154 -154
- 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-7e22fb0d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +734 -2258
- 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_44.entry.js} +1075 -131
- 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 +6 -12
- 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-bedd6ed7.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 +22 -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-14f1c22c.js → sqm-portal-email-verification-view-6b046416.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -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-41116f1d.js → sqm-portal-profile-view-322e6649.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 +20 -66
- package/dist/esm/sqm-stencilbook.entry.js +10918 -9689
- 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-3d872cef.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-e95df3c3.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-c2e809cf.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-909ccb28.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-24d594ea.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-55e0e98f.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-72c07b09.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-325c4849.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-8e181f45.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-439a4d47.js +1 -0
- package/dist/esm-es5/copy-text-view-5c086e98.js +1 -0
- package/dist/esm-es5/data-dea73d4d.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-9d6f3bbe.js → global-200e3d35.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-c9811a48.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-7e22fb0d.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_44.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-bedd6ed7.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-14f1c22c.js → sqm-portal-email-verification-view-6b046416.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.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-41116f1d.js → sqm-portal-profile-view-322e6649.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-3d872cef.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-dda1f52b.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +2 -2
- package/dist/esm-es5/usePortalLogin-e95df3c3.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-1eb3cd72.js +1 -0
- package/dist/esm-es5/useReferralCodes-c2e809cf.js +1 -0
- package/dist/esm-es5/useReferralTable-909ccb28.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-24d594ea.js +1 -0
- package/dist/esm-es5/useVerificationEmail-55e0e98f.js +1 -0
- package/dist/esm-es5/utilities-72c07b09.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-325c4849.js +1 -0
- package/dist/mint-components/global/styles.ts +408 -134
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-019a2c63.system.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-0e532b53.entry.js +1 -0
- package/dist/mint-components/p-0ec54f97.js +1 -0
- package/dist/mint-components/p-10c63703.entry.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- 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-a81b507f.entry.js → p-155f7d25.entry.js} +2 -2
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-171310d9.system.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-20916402.entry.js} +2 -2
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/p-2756b971.system.js +1 -0
- package/dist/mint-components/{p-0559d880.entry.js → p-27a7f6a6.entry.js} +1 -1
- package/dist/mint-components/p-2830e2e4.system.entry.js +1 -0
- package/dist/mint-components/p-29398c98.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-293e3b25.js} +2 -2
- package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
- package/dist/mint-components/p-2c6fd7ae.entry.js +33 -0
- package/dist/mint-components/p-2fb29f43.system.entry.js +1 -0
- package/dist/mint-components/p-34f8a8f7.entry.js +9 -0
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-355079f4.system.entry.js} +1 -1
- package/dist/mint-components/{p-44891949.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/{p-28b011a0.js → p-40601ea1.js} +1 -1
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.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-345fd28e.system.entry.js → p-43d9c1c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/p-46336db6.system.js +1 -0
- package/dist/mint-components/{p-c0f19490.js → p-49400aab.js} +2 -2
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/p-4a0f42ac.system.entry.js +1 -0
- package/dist/mint-components/p-4a3fd23f.js +448 -0
- package/dist/mint-components/p-4b8c6fd2.system.entry.js +1 -0
- package/dist/mint-components/{p-1b7e6ee9.entry.js → p-4c3a9913.entry.js} +1 -1
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-4f5a3dad.system.entry.js} +1 -1
- package/dist/mint-components/p-513f5d80.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-54abb144.system.entry.js} +1 -1
- package/dist/mint-components/p-552a6d1b.js +103 -0
- package/dist/mint-components/{p-642b0650.system.js → p-56e5d39c.system.js} +21 -21
- package/dist/mint-components/{p-45bb63c7.system.entry.js → p-582d1771.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-58e0eccc.system.entry.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/p-59d63018.entry.js +25 -0
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-5b29d833.system.entry.js} +1 -1
- package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-5e8d6f3a.system.entry.js} +1 -1
- package/dist/mint-components/p-5fdc28c3.entry.js +13 -0
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.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-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-69782dfe.js +1233 -0
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/{p-8175e85f.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/p-6db40a60.entry.js +144 -0
- package/dist/mint-components/p-70874177.system.entry.js +1 -0
- 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-05f29f64.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/{p-cc7af682.system.js → p-71daeed9.system.js} +2 -2
- package/dist/mint-components/p-73c3804f.system.js +1 -0
- package/dist/mint-components/p-75b8fd75.entry.js +1 -0
- package/dist/mint-components/p-7602eb6a.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/p-7a0ed7a9.system.entry.js +1 -0
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/{p-b385c9f0.system.entry.js → p-7e51f5eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-7eb0573c.entry.js} +1 -1
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8c5ac470.entry.js +93 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-916a2045.system.entry.js +1 -0
- package/dist/mint-components/p-92a54b0c.entry.js +1 -0
- package/dist/mint-components/p-932d8135.system.entry.js +1 -0
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/p-97b980b3.js +1 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/p-990ba8c3.js +1 -0
- package/dist/mint-components/{p-284e4ed5.entry.js → p-9943f53e.entry.js} +1 -1
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-9ab8a0fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-3f7b81b8.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/{p-3c96533f.js → p-9c7a614a.js} +1 -1
- package/dist/mint-components/p-9d8815bb.entry.js +258 -0
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-a41fe0bf.system.entry.js +1 -0
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a4e8eb33.entry.js +1 -0
- package/dist/mint-components/{p-87c21535.entry.js → p-a52df294.entry.js} +1 -1
- package/dist/mint-components/p-a597b136.entry.js +1 -0
- package/dist/mint-components/p-a5e8bfd4.system.js +1 -0
- 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-a8c86cd8.system.entry.js +1 -0
- package/dist/mint-components/p-a8e92144.js +1 -0
- package/dist/mint-components/p-aa349f83.entry.js +1 -0
- package/dist/mint-components/{p-4e526a94.js → p-aa596749.js} +1 -1
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-b2fdb0b1.entry.js} +1 -1
- package/dist/mint-components/p-b39e5b44.entry.js +11 -0
- package/dist/mint-components/p-b4a922e1.system.entry.js +1 -0
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/p-bb295a46.system.entry.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/p-bcac83f0.system.js +1 -0
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/p-c020a549.system.entry.js +1 -0
- package/dist/mint-components/{p-4027c743.system.entry.js → p-c1d8b28d.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6831af5.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/{p-17da19a2.system.js → p-c98f526c.system.js} +1 -1
- package/dist/mint-components/p-cb39dc04.system.js +1 -0
- package/dist/mint-components/{p-605c2904.system.entry.js → p-cc8ca3ff.system.entry.js} +1 -1
- package/dist/mint-components/p-cd827626.system.entry.js +1 -0
- package/dist/mint-components/{p-aaff68dc.entry.js → p-d08bcd88.entry.js} +1 -1
- package/dist/mint-components/{p-a71b9154.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/p-d14f3149.system.js +1 -0
- package/dist/mint-components/p-d399b343.system.entry.js +1 -0
- package/dist/mint-components/p-d848957e.system.entry.js +1 -0
- package/dist/mint-components/p-d8ae8320.js +1 -0
- package/dist/mint-components/p-dcc50d90.entry.js +1 -0
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-2d52e2d7.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/p-e6fa59bc.entry.js +1 -0
- package/dist/mint-components/{p-4d91a1d6.system.js → p-e90c16ea.system.js} +1 -1
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-ea063d99.entry.js} +1 -1
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/p-ee92a728.system.entry.js +1 -0
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/p-f1bd5e64.entry.js +1 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-f3392945.system.js} +1 -1
- package/dist/mint-components/p-f4202a64.system.entry.js +1 -0
- package/dist/mint-components/p-f4721635.entry.js +13 -0
- package/dist/mint-components/{p-4e451f75.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f764e51f.entry.js +16 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-f9295990.entry.js} +1 -1
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/p-fab109de.entry.js +1 -0
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-ff0e1564.system.js} +1 -1
- 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 +1 -1
- 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 +9 -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/sqm-leaderboard.d.ts +5 -5
- 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/PortalForgotPassword.stories.d.ts +1 -0
- 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/sqm-program-explainer.d.ts +1 -1
- 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 +3 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +6 -5
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +2 -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-scroll/sqm-scroll.d.ts +0 -8
- 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/ShareLink.stories.d.ts +1 -0
- 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/sqm-text.d.ts +1 -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-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 +47 -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 +718 -120
- 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/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-55066ec6.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-portal-forgot-password-view-b986086e.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +0 -127
- 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-fda573e4.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-portal-forgot-password-view-50444a7c.js +0 -43
- package/dist/esm/sqm-portal-forgot-password.entry.js +0 -123
- 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-3651cb42.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-fda573e4.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-forgot-password.entry.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-12536a1f.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-16dba1eb.system.js +0 -1
- package/dist/mint-components/p-18425f38.system.entry.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1ae6c418.entry.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-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-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-2e3acbb8.system.entry.js +0 -1
- package/dist/mint-components/p-320d3c31.entry.js +0 -205
- 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-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-4e5af50c.js +0 -1
- package/dist/mint-components/p-52858682.system.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-60e72631.entry.js +0 -9
- 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-6d8f7c71.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-70c8fea5.system.entry.js +0 -1
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-776260e8.js +0 -1248
- 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-7e3d84a3.entry.js +0 -13
- 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-8119a65e.system.entry.js +0 -1
- package/dist/mint-components/p-82d04fd3.entry.js +0 -25
- package/dist/mint-components/p-868daffd.system.entry.js +0 -1
- package/dist/mint-components/p-893d7ab4.js +0 -1
- package/dist/mint-components/p-8ab87bd4.entry.js +0 -144
- 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-8d9328dd.entry.js +0 -33
- package/dist/mint-components/p-8d9d04b7.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-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-9abb9ab0.entry.js +0 -13
- 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-a6ca754f.js +0 -394
- package/dist/mint-components/p-afbb3f73.entry.js +0 -1
- package/dist/mint-components/p-b12e132b.system.entry.js +0 -1
- package/dist/mint-components/p-b7d1469d.system.entry.js +0 -1
- package/dist/mint-components/p-bd2a2546.system.js +0 -1
- package/dist/mint-components/p-be4b9c0e.entry.js +0 -258
- 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-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-da7708a7.entry.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-dce51a2e.system.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-eab1c9f3.js +0 -1
- package/dist/mint-components/p-ee06426a.system.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-f708da7b.js +0 -1
- package/dist/mint-components/p-f9da2c34.system.entry.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-200e3d35.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, q as Ue, r as un, V as Ve, u as useCallback, b as setUserIdentity, Q as Qe, k as kn } from './index.module-c9811a48.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-c2e809cf.js';
|
|
10
|
+
import './mixins-f750863a.js';
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-5c086e98.js';
|
|
12
|
+
import { a as useRequestRerender } from './re-render-7e22fb0d.js';
|
|
13
|
+
import { u as useChildElements } from './useChildElements-3d872cef.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-24d594ea.js';
|
|
19
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
|
|
20
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
21
|
+
import { u as usePortalLogin } from './usePortalLogin-e95df3c3.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-72c07b09.js';
|
|
24
|
+
import { u as useDemoBigStat, U 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, V as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, W as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-439a4d47.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-93462be3.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
|
-
*
|
|
451
|
+
* Generated a Shoelace color scale css string from a base color
|
|
52
452
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* @
|
|
56
|
-
* @returns url to a .css file
|
|
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
|
|
|
@@ -542,14 +1138,23 @@ function useDemoCouponCode(props) {
|
|
|
542
1138
|
function DividedLayoutView(props, children) {
|
|
543
1139
|
const getBorder = () => {
|
|
544
1140
|
if (props.direction === "row") {
|
|
545
|
-
return {
|
|
1141
|
+
return {
|
|
1142
|
+
"border-right": props.borderless
|
|
1143
|
+
? "none"
|
|
1144
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1145
|
+
};
|
|
546
1146
|
}
|
|
547
1147
|
else {
|
|
548
|
-
return {
|
|
1148
|
+
return {
|
|
1149
|
+
"border-bottom": props.borderless
|
|
1150
|
+
? "none"
|
|
1151
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1152
|
+
};
|
|
549
1153
|
}
|
|
550
1154
|
};
|
|
551
1155
|
const style = {
|
|
552
1156
|
LayoutContainer: {
|
|
1157
|
+
background: props.backgroundColor,
|
|
553
1158
|
display: "contents",
|
|
554
1159
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
555
1160
|
"& > :not(:last-child)": {
|
|
@@ -565,11 +1170,10 @@ function DividedLayoutView(props, children) {
|
|
|
565
1170
|
flex: 1;
|
|
566
1171
|
box-sizing: border-box;
|
|
567
1172
|
flex-direction: ${props.direction};
|
|
568
|
-
background-color: var(--sqm-
|
|
1173
|
+
background-color: var(--sqm-portal-background);
|
|
1174
|
+
color: var(--sqm-text);
|
|
569
1175
|
overflow-x: clip;
|
|
570
|
-
${props.direction === "column"
|
|
571
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
572
|
-
: ""}
|
|
1176
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
573
1177
|
${props.contentAreaWidth !== null
|
|
574
1178
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
575
1179
|
: ""}
|
|
@@ -601,10 +1205,17 @@ const DividedLayout = class {
|
|
|
601
1205
|
constructor(hostRef) {
|
|
602
1206
|
registerInstance(this, hostRef);
|
|
603
1207
|
/**
|
|
1208
|
+
* @undocumented
|
|
604
1209
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
605
1210
|
* @uiName Border style
|
|
606
1211
|
*/
|
|
607
|
-
this.dividerStyle = "
|
|
1212
|
+
this.dividerStyle = "var(--sqm-border-thickness) solid var(--sqm-border-color)";
|
|
1213
|
+
/**
|
|
1214
|
+
* Background color of the divider
|
|
1215
|
+
* @uiName Background Color
|
|
1216
|
+
* @uiWidget color
|
|
1217
|
+
*/
|
|
1218
|
+
this.backgroundColor = "#FFFFFF";
|
|
608
1219
|
h(this);
|
|
609
1220
|
}
|
|
610
1221
|
disconnectedCallback() { }
|
|
@@ -925,12 +1536,12 @@ const Hero = class {
|
|
|
925
1536
|
*/
|
|
926
1537
|
this.minHeight = 200;
|
|
927
1538
|
/**
|
|
928
|
-
*
|
|
1539
|
+
* Add an image or select a color. Recommended image aspect ratio of 4:5
|
|
929
1540
|
*
|
|
930
1541
|
* @uiName Background
|
|
931
1542
|
* @uiWidget Background
|
|
932
1543
|
*/
|
|
933
|
-
this.background = "
|
|
1544
|
+
this.background = "#f9fafb";
|
|
934
1545
|
/**
|
|
935
1546
|
* @uiName Padding size
|
|
936
1547
|
* @uiEnum ["none", "small", "medium","large"]
|
|
@@ -945,6 +1556,13 @@ const Hero = class {
|
|
|
945
1556
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
946
1557
|
*/
|
|
947
1558
|
this.wrapDirection = "wrap";
|
|
1559
|
+
/**
|
|
1560
|
+
* Can only be used when two columns are present
|
|
1561
|
+
* @uiName Hide the column in mobile view
|
|
1562
|
+
* @uiEnum ["primary", "secondary", "null"]
|
|
1563
|
+
* @uiEnumNames ["Primary", "Secondary", "None"]
|
|
1564
|
+
*/
|
|
1565
|
+
this.columnToHideInMobile = null;
|
|
948
1566
|
h(this);
|
|
949
1567
|
}
|
|
950
1568
|
disconnectedCallback() { }
|
|
@@ -973,7 +1591,7 @@ function HeroImageView(props, children) {
|
|
|
973
1591
|
width: "100%",
|
|
974
1592
|
height: "100%",
|
|
975
1593
|
position: "absolute",
|
|
976
|
-
background: props.overlayColor || "var(--sl-color-
|
|
1594
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
977
1595
|
opacity: props.overlayOpacity,
|
|
978
1596
|
},
|
|
979
1597
|
},
|
|
@@ -1057,6 +1675,9 @@ function HeroImageView(props, children) {
|
|
|
1057
1675
|
marginTop: "var(--sl-spacing-medium)",
|
|
1058
1676
|
"&::part(base)": {
|
|
1059
1677
|
padding: "0 var(--sl-spacing-x-large)",
|
|
1678
|
+
color: "var(--sqm-primary-button-color)",
|
|
1679
|
+
backgroundColor: "var(--sqm-primary-button-background)",
|
|
1680
|
+
border: "var(--sqm-primary-button-color-border)",
|
|
1060
1681
|
},
|
|
1061
1682
|
"@media (max-width: 599px)": {
|
|
1062
1683
|
width: "100%",
|
|
@@ -1080,7 +1701,7 @@ function HeroImageView(props, children) {
|
|
|
1080
1701
|
h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1081
1702
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1082
1703
|
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
1083
|
-
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType
|
|
1704
|
+
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
1084
1705
|
? window.open(props.buttonLink)
|
|
1085
1706
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1086
1707
|
children && children)));
|
|
@@ -1159,7 +1780,7 @@ const HeroImage = class {
|
|
|
1159
1780
|
*/
|
|
1160
1781
|
this.paddingImage = "none";
|
|
1161
1782
|
/**
|
|
1162
|
-
* The type of the button (primary or secondary)
|
|
1783
|
+
* The type of the button that is used (primary or secondary).
|
|
1163
1784
|
* @uiName Button Type
|
|
1164
1785
|
* @uiType string
|
|
1165
1786
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -1509,6 +2130,10 @@ const Leaderboard = class {
|
|
|
1509
2130
|
width: this.width,
|
|
1510
2131
|
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
1511
2132
|
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
2133
|
+
background: this.background,
|
|
2134
|
+
borderColor: this.borderColor,
|
|
2135
|
+
textColor: this.textColor,
|
|
2136
|
+
borderRadius: this.borderRadius,
|
|
1512
2137
|
};
|
|
1513
2138
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1514
2139
|
const viewprops = isDemo()
|
|
@@ -1805,7 +2430,7 @@ const style$2 = {
|
|
|
1805
2430
|
marginLeft: "auto",
|
|
1806
2431
|
},
|
|
1807
2432
|
PayoutButtonDescription: {
|
|
1808
|
-
color: "var(--
|
|
2433
|
+
color: "var(--sqm-text-subdued)",
|
|
1809
2434
|
fontSize: "var(--sl-font-size-small)",
|
|
1810
2435
|
margin: "0",
|
|
1811
2436
|
},
|
|
@@ -1901,33 +2526,6 @@ const style$3 = {
|
|
|
1901
2526
|
margin: "0",
|
|
1902
2527
|
marginBottom: "var(--sl-spacing-small)",
|
|
1903
2528
|
},
|
|
1904
|
-
ErrorAlertContainer: {
|
|
1905
|
-
"&::part(base)": {
|
|
1906
|
-
backgroundColor: "var(--sl-color-red-100)",
|
|
1907
|
-
borderTop: "none",
|
|
1908
|
-
},
|
|
1909
|
-
"& sl-icon::part(base)": {
|
|
1910
|
-
color: "var(--sl-color-danger-500)",
|
|
1911
|
-
},
|
|
1912
|
-
},
|
|
1913
|
-
WarningAlertContainer: {
|
|
1914
|
-
"&::part(base)": {
|
|
1915
|
-
backgroundColor: "var(--sl-color-yellow-100)",
|
|
1916
|
-
borderTop: "none",
|
|
1917
|
-
},
|
|
1918
|
-
"& sl-icon::part(base)": {
|
|
1919
|
-
color: "var(--sl-color-danger-500)",
|
|
1920
|
-
},
|
|
1921
|
-
},
|
|
1922
|
-
InfoAlertContainer: {
|
|
1923
|
-
"&::part(base)": {
|
|
1924
|
-
backgroundColor: "var(--sl-color-sky-100)",
|
|
1925
|
-
borderTop: "none",
|
|
1926
|
-
},
|
|
1927
|
-
"& sl-icon::part(base)": {
|
|
1928
|
-
color: "var(--sl-color-blue-500)",
|
|
1929
|
-
},
|
|
1930
|
-
},
|
|
1931
2529
|
Dialog: {
|
|
1932
2530
|
"&::part(panel)": {
|
|
1933
2531
|
height: "600px",
|
|
@@ -1943,6 +2541,13 @@ const style$3 = {
|
|
|
1943
2541
|
"&::part(footer)": {},
|
|
1944
2542
|
},
|
|
1945
2543
|
};
|
|
2544
|
+
const vanillaStyle$1 = `
|
|
2545
|
+
a {
|
|
2546
|
+
color: inherit;
|
|
2547
|
+
text-decoration: underline;
|
|
2548
|
+
cursor: pointer;
|
|
2549
|
+
}
|
|
2550
|
+
`;
|
|
1946
2551
|
const sheet$3 = createStyleSheet(style$3);
|
|
1947
2552
|
const styleString$3 = sheet$3.toString();
|
|
1948
2553
|
function PayoutStatusAlertView(props) {
|
|
@@ -1954,8 +2559,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1954
2559
|
description: text.errorDescription,
|
|
1955
2560
|
buttonText: null,
|
|
1956
2561
|
alertType: "critical",
|
|
1957
|
-
icon: "exclamation-triangle",
|
|
1958
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
1959
2562
|
};
|
|
1960
2563
|
switch (status) {
|
|
1961
2564
|
case "INFORMATION_REQUIRED":
|
|
@@ -1964,8 +2567,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1964
2567
|
description: text.informationRequiredDescription,
|
|
1965
2568
|
buttonText: text.informationRequiredButtonText,
|
|
1966
2569
|
alertType: "info",
|
|
1967
|
-
icon: "info-circle",
|
|
1968
|
-
class: sheet$3.classes.InfoAlertContainer,
|
|
1969
2570
|
};
|
|
1970
2571
|
case "VERIFICATION:REQUIRED":
|
|
1971
2572
|
return {
|
|
@@ -1978,8 +2579,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1978
2579
|
}),
|
|
1979
2580
|
buttonText: text.verificationRequiredButtonText,
|
|
1980
2581
|
alertType: "warning",
|
|
1981
|
-
icon: "exclamation-triangle",
|
|
1982
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1983
2582
|
};
|
|
1984
2583
|
case "VERIFICATION:INTERNAL":
|
|
1985
2584
|
return {
|
|
@@ -1991,8 +2590,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1991
2590
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1992
2591
|
}),
|
|
1993
2592
|
alertType: "warning",
|
|
1994
|
-
icon: "exclamation-triangle",
|
|
1995
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1996
2593
|
};
|
|
1997
2594
|
case "VERIFICATION:REVIEW":
|
|
1998
2595
|
return {
|
|
@@ -2004,8 +2601,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2004
2601
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2005
2602
|
}),
|
|
2006
2603
|
alertType: "warning",
|
|
2007
|
-
icon: "exclamation-triangle",
|
|
2008
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
2009
2604
|
};
|
|
2010
2605
|
case "VERIFICATION:FAILED":
|
|
2011
2606
|
return {
|
|
@@ -2017,8 +2612,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2017
2612
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2018
2613
|
}),
|
|
2019
2614
|
alertType: "critical",
|
|
2020
|
-
icon: "exclamation-octagon",
|
|
2021
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
2022
2615
|
};
|
|
2023
2616
|
case "HOLD":
|
|
2024
2617
|
return {
|
|
@@ -2031,8 +2624,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2031
2624
|
}),
|
|
2032
2625
|
buttonText: null,
|
|
2033
2626
|
alertType: "warning",
|
|
2034
|
-
icon: "exclamation-triangle",
|
|
2035
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
2036
2627
|
};
|
|
2037
2628
|
default:
|
|
2038
2629
|
return;
|
|
@@ -2041,11 +2632,15 @@ function PayoutStatusAlertView(props) {
|
|
|
2041
2632
|
function getButton(status) {
|
|
2042
2633
|
switch (status) {
|
|
2043
2634
|
case "INFORMATION_REQUIRED":
|
|
2044
|
-
return data.type === "SquatchJS2" ? (h$1("
|
|
2635
|
+
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
2636
|
+
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" } },
|
|
2637
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText))) : (
|
|
2045
2638
|
// Demo case
|
|
2046
|
-
h$1("
|
|
2639
|
+
h$1("div", { style: { paddingTop: "10px" } },
|
|
2640
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base" }, text.informationRequiredButtonText)));
|
|
2047
2641
|
case "VERIFICATION:REQUIRED":
|
|
2048
|
-
return (h$1("
|
|
2642
|
+
return (h$1("div", { style: { paddingTop: "10px" } },
|
|
2643
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
|
|
2049
2644
|
default:
|
|
2050
2645
|
return;
|
|
2051
2646
|
}
|
|
@@ -2059,10 +2654,10 @@ function PayoutStatusAlertView(props) {
|
|
|
2059
2654
|
}
|
|
2060
2655
|
return (h$1("div", { part: "sqm-base" },
|
|
2061
2656
|
h$1("style", { type: "text/css" }, styleString$3),
|
|
2062
|
-
h$1("
|
|
2063
|
-
|
|
2064
|
-
h$1("
|
|
2065
|
-
h$1("p", {
|
|
2657
|
+
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
2658
|
+
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
2659
|
+
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
2660
|
+
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
2066
2661
|
getButton(states.status))));
|
|
2067
2662
|
}
|
|
2068
2663
|
|
|
@@ -2596,7 +3191,148 @@ const PortalFooter = class {
|
|
|
2596
3191
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2597
3192
|
};
|
|
2598
3193
|
|
|
2599
|
-
function
|
|
3194
|
+
function usePortalForgotPassword(props) {
|
|
3195
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
3196
|
+
const [success, setSuccess] = useState(false);
|
|
3197
|
+
const [error, setError] = useState("");
|
|
3198
|
+
const [request, { loading, data, errors }] = un();
|
|
3199
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
3200
|
+
const nextPage = urlParams.get("nextPage");
|
|
3201
|
+
const submit = async (event) => {
|
|
3202
|
+
var _a;
|
|
3203
|
+
setError("");
|
|
3204
|
+
setSuccess(false);
|
|
3205
|
+
let formData = event.detail.formData;
|
|
3206
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3207
|
+
jsonpointer.set(formData, key, value);
|
|
3208
|
+
});
|
|
3209
|
+
const urlParams = nextPage ? { nextPage } : null;
|
|
3210
|
+
const redirectPath = props.redirectPath;
|
|
3211
|
+
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3212
|
+
const result = await request(variables);
|
|
3213
|
+
if (result instanceof Error) {
|
|
3214
|
+
if (result.message)
|
|
3215
|
+
setError(props.networkErrorMessage);
|
|
3216
|
+
return;
|
|
3217
|
+
}
|
|
3218
|
+
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3219
|
+
setSuccess(true);
|
|
3220
|
+
}
|
|
3221
|
+
};
|
|
3222
|
+
return {
|
|
3223
|
+
states: {
|
|
3224
|
+
loading,
|
|
3225
|
+
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
3226
|
+
error,
|
|
3227
|
+
success,
|
|
3228
|
+
loginPath: props.loginPath,
|
|
3229
|
+
headerText: props.headerText,
|
|
3230
|
+
loginText: props.loginText,
|
|
3231
|
+
},
|
|
3232
|
+
callbacks: {
|
|
3233
|
+
submit,
|
|
3234
|
+
},
|
|
3235
|
+
};
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
const PortalForgotPassword = class {
|
|
3239
|
+
constructor(hostRef) {
|
|
3240
|
+
registerInstance(this, hostRef);
|
|
3241
|
+
this.ignored = true;
|
|
3242
|
+
/**
|
|
3243
|
+
* Redirect participants to this page after they verify their email.
|
|
3244
|
+
*
|
|
3245
|
+
* @uiName Email redirect
|
|
3246
|
+
* @uiWidget pageSelect
|
|
3247
|
+
*/
|
|
3248
|
+
this.redirectPath = "/resetPassword";
|
|
3249
|
+
/**
|
|
3250
|
+
* @uiName Email field label
|
|
3251
|
+
*/
|
|
3252
|
+
this.emailLabel = "Email";
|
|
3253
|
+
/**
|
|
3254
|
+
* @uiName Password reset button text
|
|
3255
|
+
*/
|
|
3256
|
+
this.submitLabel = "Request Password Reset";
|
|
3257
|
+
/**
|
|
3258
|
+
* @uiName Login redirect path
|
|
3259
|
+
* @uiWidget pageSelect
|
|
3260
|
+
*/
|
|
3261
|
+
this.loginPath = "/login";
|
|
3262
|
+
/**
|
|
3263
|
+
* @uiName Header text
|
|
3264
|
+
* @uiWidget textArea
|
|
3265
|
+
*/
|
|
3266
|
+
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3267
|
+
/**
|
|
3268
|
+
* @uiName Sign in link text
|
|
3269
|
+
*/
|
|
3270
|
+
this.loginText = "Sign In";
|
|
3271
|
+
/**
|
|
3272
|
+
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3273
|
+
* @uiName Network error message
|
|
3274
|
+
*/
|
|
3275
|
+
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3276
|
+
/**
|
|
3277
|
+
* @uiName Email verification sent text
|
|
3278
|
+
*/
|
|
3279
|
+
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3280
|
+
/**
|
|
3281
|
+
* @uiName Background color
|
|
3282
|
+
* @uiWidget color
|
|
3283
|
+
*/
|
|
3284
|
+
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3285
|
+
/**
|
|
3286
|
+
* @uiName Border radius
|
|
3287
|
+
* @uiWidget number
|
|
3288
|
+
*/
|
|
3289
|
+
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3290
|
+
/**
|
|
3291
|
+
* @uiName Border style
|
|
3292
|
+
* @uiWidget textArea
|
|
3293
|
+
*/
|
|
3294
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3295
|
+
h(this);
|
|
3296
|
+
}
|
|
3297
|
+
disconnectedCallback() { }
|
|
3298
|
+
render() {
|
|
3299
|
+
const { states, callbacks } = isDemo()
|
|
3300
|
+
? usePortalForgotPasswordDemo(this)
|
|
3301
|
+
: usePortalForgotPassword(this);
|
|
3302
|
+
const content = {
|
|
3303
|
+
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
3304
|
+
emailLabel: this.emailLabel,
|
|
3305
|
+
submitLabel: this.submitLabel,
|
|
3306
|
+
successAlertText: this.successAlertText,
|
|
3307
|
+
loginText: this.loginText,
|
|
3308
|
+
backgroundColor: this.backgroundColor,
|
|
3309
|
+
borderRadius: this.borderRadius,
|
|
3310
|
+
border: this.border,
|
|
3311
|
+
};
|
|
3312
|
+
return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3313
|
+
}
|
|
3314
|
+
};
|
|
3315
|
+
function usePortalForgotPasswordDemo(props) {
|
|
3316
|
+
return cjs({
|
|
3317
|
+
states: { error: "", loading: false, success: false },
|
|
3318
|
+
callbacks: {
|
|
3319
|
+
submit: async (_event) => { },
|
|
3320
|
+
},
|
|
3321
|
+
content: {
|
|
3322
|
+
secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
|
|
3323
|
+
messageSlot: h$1("span", null, props.headerText),
|
|
3324
|
+
emailLabel: props.emailLabel,
|
|
3325
|
+
submitLabel: props.submitLabel,
|
|
3326
|
+
successAlertText: props.successAlertText,
|
|
3327
|
+
loginText: props.loginText,
|
|
3328
|
+
backgroundColor: props.backgroundColor,
|
|
3329
|
+
borderRadius: props.borderRadius,
|
|
3330
|
+
border: props.border,
|
|
3331
|
+
},
|
|
3332
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2600
3336
|
const [, rerender] = yn();
|
|
2601
3337
|
return {
|
|
2602
3338
|
data: {
|
|
@@ -2606,6 +3342,9 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2606
3342
|
callbacks: {
|
|
2607
3343
|
rerender,
|
|
2608
3344
|
},
|
|
3345
|
+
backgroundColor: props.backgroundColor,
|
|
3346
|
+
border: props.border,
|
|
3347
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
2609
3348
|
};
|
|
2610
3349
|
}
|
|
2611
3350
|
|
|
@@ -2617,6 +3356,25 @@ const PortalFrame = class {
|
|
|
2617
3356
|
* @undocumented
|
|
2618
3357
|
*/
|
|
2619
3358
|
this.notFullScreen = false;
|
|
3359
|
+
/**
|
|
3360
|
+
* @uiName Background color
|
|
3361
|
+
* @uiWidget color
|
|
3362
|
+
* @uiType string
|
|
3363
|
+
*/
|
|
3364
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff)";
|
|
3365
|
+
/**
|
|
3366
|
+
* Borders placed to seperate the header and footer from the body content.
|
|
3367
|
+
* @uiName Border
|
|
3368
|
+
* @uiType string
|
|
3369
|
+
*/
|
|
3370
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3371
|
+
/**
|
|
3372
|
+
* Background color for the header and footer.
|
|
3373
|
+
* @uiName Header and Footer Background Color
|
|
3374
|
+
* @uiWidget color
|
|
3375
|
+
* @uiType string
|
|
3376
|
+
*/
|
|
3377
|
+
this.headerAndFooterBackgroundColor = "var(--sqm-portal-background, #fff)";
|
|
2620
3378
|
h(this);
|
|
2621
3379
|
}
|
|
2622
3380
|
disconnectedCallback() { }
|
|
@@ -2625,13 +3383,16 @@ const PortalFrame = class {
|
|
|
2625
3383
|
const headerContent = h$1("slot", { name: "header" });
|
|
2626
3384
|
const props = isDemo()
|
|
2627
3385
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2628
|
-
: usePortalFrame(footerContent, headerContent);
|
|
3386
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2629
3387
|
return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
|
|
2630
3388
|
}
|
|
2631
3389
|
};
|
|
2632
3390
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2633
3391
|
return cjs({
|
|
2634
3392
|
notFullScreen: true,
|
|
3393
|
+
backgroundColor: props.backgroundColor,
|
|
3394
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
3395
|
+
border: props.border,
|
|
2635
3396
|
data: {
|
|
2636
3397
|
footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
|
|
2637
3398
|
header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
|
|
@@ -2721,7 +3482,7 @@ const PortalLogin = class {
|
|
|
2721
3482
|
const content = {
|
|
2722
3483
|
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2723
3484
|
googleButton: null,
|
|
2724
|
-
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))),
|
|
3485
|
+
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))),
|
|
2725
3486
|
emailLabel: this.emailLabel,
|
|
2726
3487
|
passwordLabel: this.passwordLabel,
|
|
2727
3488
|
submitLabel: this.submitLabel,
|
|
@@ -2883,7 +3644,7 @@ function usePortalRegister(props) {
|
|
|
2883
3644
|
const PortalRegister = class {
|
|
2884
3645
|
constructor(hostRef) {
|
|
2885
3646
|
registerInstance(this, hostRef);
|
|
2886
|
-
this.ignored =
|
|
3647
|
+
this.ignored = false;
|
|
2887
3648
|
/**
|
|
2888
3649
|
* Redirect participants to this page from their verification email
|
|
2889
3650
|
*
|
|
@@ -3109,9 +3870,11 @@ function ProgramExplainerStepView(props) {
|
|
|
3109
3870
|
width: "100%",
|
|
3110
3871
|
padding: "var(--sl-spacing-x-large)",
|
|
3111
3872
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3112
|
-
borderRadius: props.borderRadius
|
|
3873
|
+
borderRadius: props.borderRadius
|
|
3874
|
+
? `${props.borderRadius}px`
|
|
3875
|
+
: "var(--sqm-border-radius-normal)",
|
|
3113
3876
|
color: props.textColor || "var(--sqm-text)",
|
|
3114
|
-
background: props.backgroundColor || "var(--
|
|
3877
|
+
background: props.backgroundColor || "var(--sqm-accent-color-background)",
|
|
3115
3878
|
"@media (max-width: 499px)": {
|
|
3116
3879
|
flexDirection: "row",
|
|
3117
3880
|
width: "auto",
|
|
@@ -3147,7 +3910,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3147
3910
|
objectFit: "cover",
|
|
3148
3911
|
userSelect: "none",
|
|
3149
3912
|
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3150
|
-
color: props.iconColor || "var(--
|
|
3913
|
+
color: props.iconColor || "var(--sqm-accent-color-icon)",
|
|
3151
3914
|
fontSize: "26px",
|
|
3152
3915
|
textAlign: "center",
|
|
3153
3916
|
lineHeight: "72px",
|
|
@@ -3182,7 +3945,7 @@ const debug = browser("sq:useProgramMenu");
|
|
|
3182
3945
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
3183
3946
|
function useProgramMenu(props) {
|
|
3184
3947
|
const programId = H();
|
|
3185
|
-
const host = _();
|
|
3948
|
+
const host = _$1();
|
|
3186
3949
|
debug({ programId, props });
|
|
3187
3950
|
const ref = useRef();
|
|
3188
3951
|
const [, rerender] = yn();
|
|
@@ -3222,7 +3985,7 @@ const ProgramMenu = class {
|
|
|
3222
3985
|
}
|
|
3223
3986
|
};
|
|
3224
3987
|
|
|
3225
|
-
const vanillaStyle$
|
|
3988
|
+
const vanillaStyle$2 = `
|
|
3226
3989
|
:host{
|
|
3227
3990
|
display: block;
|
|
3228
3991
|
}
|
|
@@ -3230,9 +3993,9 @@ const vanillaStyle$1 = `
|
|
|
3230
3993
|
function ReferralCardView(props) {
|
|
3231
3994
|
const style = {
|
|
3232
3995
|
Container: {
|
|
3233
|
-
borderRadius: props.borderRadius || "var(--
|
|
3996
|
+
borderRadius: props.borderRadius || "var(--sqm-border-radius-normal)",
|
|
3234
3997
|
color: props.textColor || "var(--sqm-text)",
|
|
3235
|
-
background: props.backgroundColor || "var(--
|
|
3998
|
+
background: props.backgroundColor || "var(--sqm-portal-background)",
|
|
3236
3999
|
display: "flex",
|
|
3237
4000
|
flexDirection: "column",
|
|
3238
4001
|
rowGap: "var(--sl-spacing-large)",
|
|
@@ -3258,9 +4021,11 @@ function ReferralCardView(props) {
|
|
|
3258
4021
|
};
|
|
3259
4022
|
const sheet = createStyleSheet(style);
|
|
3260
4023
|
const styleString = sheet.toString();
|
|
3261
|
-
const borderColor = props.borderColor || "var(--
|
|
4024
|
+
const borderColor = props.borderColor || "var(--sqm-border-color)";
|
|
3262
4025
|
return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3263
|
-
border: `${props.hideBorder
|
|
4026
|
+
border: `${props.hideBorder
|
|
4027
|
+
? "none"
|
|
4028
|
+
: `var(--sqm-border-thickness) solid ${borderColor}`}`,
|
|
3264
4029
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3265
4030
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3266
4031
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3271,7 +4036,7 @@ function ReferralCardView(props) {
|
|
|
3271
4036
|
} },
|
|
3272
4037
|
h$1("style", { type: "text/css" },
|
|
3273
4038
|
styleString,
|
|
3274
|
-
vanillaStyle$
|
|
4039
|
+
vanillaStyle$2),
|
|
3275
4040
|
props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3276
4041
|
h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3277
4042
|
alignItems: props.verticalAlignment,
|
|
@@ -3325,12 +4090,6 @@ const ReferralCard = class {
|
|
|
3325
4090
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
3326
4091
|
*/
|
|
3327
4092
|
this.paddingLeft = "large";
|
|
3328
|
-
/**
|
|
3329
|
-
* @uiName Background color
|
|
3330
|
-
* @uiWidget color
|
|
3331
|
-
* @uiType string
|
|
3332
|
-
*/
|
|
3333
|
-
this.backgroundColor = "#ffffff";
|
|
3334
4093
|
/**
|
|
3335
4094
|
* @uiName Limit width
|
|
3336
4095
|
* @uiType boolean
|
|
@@ -3424,6 +4183,161 @@ function useReferralIframeDemo(props) {
|
|
|
3424
4183
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3425
4184
|
}
|
|
3426
4185
|
|
|
4186
|
+
const ReferredRegistration = class {
|
|
4187
|
+
constructor(hostRef) {
|
|
4188
|
+
registerInstance(this, hostRef);
|
|
4189
|
+
this.ignored = true;
|
|
4190
|
+
/**
|
|
4191
|
+
* @uiName Email field label
|
|
4192
|
+
*/
|
|
4193
|
+
this.emailLabel = "Email";
|
|
4194
|
+
/**
|
|
4195
|
+
* @uiName First name field label
|
|
4196
|
+
*/
|
|
4197
|
+
this.firstNameLabel = "First Name";
|
|
4198
|
+
/**
|
|
4199
|
+
* @uiName Last name field label
|
|
4200
|
+
*/
|
|
4201
|
+
this.lastNameLabel = "Last Name";
|
|
4202
|
+
/**
|
|
4203
|
+
* @uiName Register button text
|
|
4204
|
+
*/
|
|
4205
|
+
this.registerLabel = "Start Referring";
|
|
4206
|
+
/**
|
|
4207
|
+
* Require your participants to enter their first and last name.
|
|
4208
|
+
*
|
|
4209
|
+
* @uiName Include name fields
|
|
4210
|
+
*/
|
|
4211
|
+
this.includeName = false;
|
|
4212
|
+
/**
|
|
4213
|
+
* @uiName Hide border
|
|
4214
|
+
* @uiGroup Card style
|
|
4215
|
+
*/
|
|
4216
|
+
this.hideBorder = false;
|
|
4217
|
+
/**
|
|
4218
|
+
* Display this message when a required field has not been filled out.
|
|
4219
|
+
*
|
|
4220
|
+
* @uiName Required field message
|
|
4221
|
+
* @uiWidget textArea
|
|
4222
|
+
* @uiGroup Error messages
|
|
4223
|
+
*/
|
|
4224
|
+
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4225
|
+
/**
|
|
4226
|
+
* Display this message when the given email is invalid.
|
|
4227
|
+
*
|
|
4228
|
+
* @uiName Invalid email message
|
|
4229
|
+
* @uiWidget textArea
|
|
4230
|
+
* @uiGroup Error messages
|
|
4231
|
+
*/
|
|
4232
|
+
this.invalidEmailErrorMessage = "Please enter a valid email address";
|
|
4233
|
+
/**
|
|
4234
|
+
* Display this message when the form submission unexpectedly fails.
|
|
4235
|
+
*
|
|
4236
|
+
* @uiName Network error message
|
|
4237
|
+
* @uiWidget textArea
|
|
4238
|
+
* @uiGroup Error messages
|
|
4239
|
+
*/
|
|
4240
|
+
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.";
|
|
4241
|
+
/**
|
|
4242
|
+
* Display this message when there is suspected fraud.
|
|
4243
|
+
*
|
|
4244
|
+
* @uiName Fraud error message
|
|
4245
|
+
* @uiWidget textArea
|
|
4246
|
+
* @uiGroup Error messages
|
|
4247
|
+
*/
|
|
4248
|
+
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.";
|
|
4249
|
+
/**
|
|
4250
|
+
* Display this message when there is suspected fraud.
|
|
4251
|
+
*
|
|
4252
|
+
* @uiName Fraud error message title
|
|
4253
|
+
* @uiWidget textArea
|
|
4254
|
+
* @uiGroup Error messages
|
|
4255
|
+
*/
|
|
4256
|
+
this.fraudErrorMessageTitle = "Looks like you tried referring yourself";
|
|
4257
|
+
/**
|
|
4258
|
+
* @uiName Top padding
|
|
4259
|
+
* @uiGroup Card style
|
|
4260
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4261
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4262
|
+
*/
|
|
4263
|
+
this.paddingTop = "large";
|
|
4264
|
+
/**
|
|
4265
|
+
* @uiName Right padding
|
|
4266
|
+
* @uiGroup Card style
|
|
4267
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4268
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4269
|
+
*/
|
|
4270
|
+
this.paddingRight = "large";
|
|
4271
|
+
/**
|
|
4272
|
+
* @uiName Bottom padding
|
|
4273
|
+
* @uiGroup Card style
|
|
4274
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4275
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4276
|
+
*/
|
|
4277
|
+
this.paddingBottom = "large";
|
|
4278
|
+
/**
|
|
4279
|
+
* @uiName Left padding
|
|
4280
|
+
* @uiGroup Card style
|
|
4281
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4282
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4283
|
+
*/
|
|
4284
|
+
this.paddingLeft = "large";
|
|
4285
|
+
/**
|
|
4286
|
+
* @undocumented
|
|
4287
|
+
* @uiType boolean
|
|
4288
|
+
*/
|
|
4289
|
+
this.includeCookies = true;
|
|
4290
|
+
h(this);
|
|
4291
|
+
}
|
|
4292
|
+
disconnectedCallback() { }
|
|
4293
|
+
render() {
|
|
4294
|
+
const { states, callbacks } = isDemo()
|
|
4295
|
+
? useRegistrationDemo(this)
|
|
4296
|
+
: useInstantAccessRegistration(this);
|
|
4297
|
+
const content = {
|
|
4298
|
+
fraudErrorMessage: this.fraudErrorMessage,
|
|
4299
|
+
fraudErrorMessageTitle: this.fraudErrorMessageTitle,
|
|
4300
|
+
emailLabel: this.emailLabel,
|
|
4301
|
+
registerLabel: this.registerLabel,
|
|
4302
|
+
firstNameLabel: this.firstNameLabel,
|
|
4303
|
+
lastNameLabel: this.lastNameLabel,
|
|
4304
|
+
includeName: this.includeName,
|
|
4305
|
+
hideBorder: this.hideBorder,
|
|
4306
|
+
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4307
|
+
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4308
|
+
paddingTop: this.paddingTop,
|
|
4309
|
+
paddingBottom: this.paddingBottom,
|
|
4310
|
+
paddingLeft: this.paddingLeft,
|
|
4311
|
+
paddingRight: this.paddingRight,
|
|
4312
|
+
backgroundColor: this.backgroundColor,
|
|
4313
|
+
// slots
|
|
4314
|
+
topSlot: h$1("slot", { name: "top" }),
|
|
4315
|
+
bottomSlot: h$1("slot", { name: "bottom" }),
|
|
4316
|
+
};
|
|
4317
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
4318
|
+
}
|
|
4319
|
+
};
|
|
4320
|
+
function useRegistrationDemo(props) {
|
|
4321
|
+
const onSubmit = () => {
|
|
4322
|
+
setUserIdentity({
|
|
4323
|
+
id: "referrer@example.com",
|
|
4324
|
+
accountId: "referrer@example.com",
|
|
4325
|
+
jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
|
|
4326
|
+
});
|
|
4327
|
+
};
|
|
4328
|
+
return cjs({
|
|
4329
|
+
states: {
|
|
4330
|
+
error: "",
|
|
4331
|
+
loading: false,
|
|
4332
|
+
},
|
|
4333
|
+
callbacks: {
|
|
4334
|
+
submit: async (_event) => {
|
|
4335
|
+
onSubmit();
|
|
4336
|
+
},
|
|
4337
|
+
},
|
|
4338
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4339
|
+
}
|
|
4340
|
+
|
|
3427
4341
|
// canvas-confetti v1.4.0 built on 2021-03-10T12:32:33.488Z
|
|
3428
4342
|
var module = {};
|
|
3429
4343
|
|
|
@@ -4360,6 +5274,13 @@ const SqmRewardExchangeList = class {
|
|
|
4360
5274
|
* @uiName Cost row title
|
|
4361
5275
|
*/
|
|
4362
5276
|
this.costTitle = "Cost to Redeem";
|
|
5277
|
+
/**
|
|
5278
|
+
* @componentState { "title": "Choose reward", "props": { "redeemStage": "chooseReward" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5279
|
+
* @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5280
|
+
* @componentState { "title": "Confirm exchange", "props": { "redeemStage": "confirmation" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5281
|
+
* @componentState { "title": "Exchange successful", "props": { "redeemStage": "success" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5282
|
+
*/
|
|
5283
|
+
this.stateController = "{}";
|
|
4363
5284
|
h(this);
|
|
4364
5285
|
}
|
|
4365
5286
|
disconnectedCallback() { }
|
|
@@ -4379,6 +5300,10 @@ function EmptySlot$1() {
|
|
|
4379
5300
|
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" })));
|
|
4380
5301
|
}
|
|
4381
5302
|
function useRewardExchangeListDemo(props) {
|
|
5303
|
+
const states = parseStates(props.stateController);
|
|
5304
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
|
|
5305
|
+
? { ...prev, ...states[key] }
|
|
5306
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4382
5307
|
return cjs({
|
|
4383
5308
|
states: {
|
|
4384
5309
|
content: {
|
|
@@ -4393,10 +5318,9 @@ function useRewardExchangeListDemo(props) {
|
|
|
4393
5318
|
queryError: false,
|
|
4394
5319
|
loading: false,
|
|
4395
5320
|
noExchangeOptions: false,
|
|
4396
|
-
empty: EmptySlot$1(),
|
|
4397
5321
|
},
|
|
4398
5322
|
data: {
|
|
4399
|
-
shareCode: "SHARECODE123",
|
|
5323
|
+
// shareCode: "SHARECODE123",
|
|
4400
5324
|
exchangeList: demoRewardExchange.data.exchangeList,
|
|
4401
5325
|
},
|
|
4402
5326
|
callbacks: {
|
|
@@ -4409,7 +5333,7 @@ function useRewardExchangeListDemo(props) {
|
|
|
4409
5333
|
refs: {
|
|
4410
5334
|
canvasRef: {},
|
|
4411
5335
|
},
|
|
4412
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5336
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4413
5337
|
}
|
|
4414
5338
|
|
|
4415
5339
|
const debug$1 = browser("sq:useRouter");
|
|
@@ -4421,7 +5345,7 @@ function matchPath(pattern, page) {
|
|
|
4421
5345
|
}
|
|
4422
5346
|
function useRouter() {
|
|
4423
5347
|
const location = kn();
|
|
4424
|
-
const host = _();
|
|
5348
|
+
const host = _$1();
|
|
4425
5349
|
const [slot, setSlot] = useState(undefined);
|
|
4426
5350
|
const [container, setContainer] = useState(undefined);
|
|
4427
5351
|
const page = location.pathname;
|
|
@@ -4512,8 +5436,8 @@ const ShareButton = class {
|
|
|
4512
5436
|
/**
|
|
4513
5437
|
* @uiType string
|
|
4514
5438
|
* @uiName Button style
|
|
4515
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4516
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
5439
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
5440
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4517
5441
|
*/
|
|
4518
5442
|
this.type = "default";
|
|
4519
5443
|
/**
|
|
@@ -4525,11 +5449,13 @@ const ShareButton = class {
|
|
|
4525
5449
|
this.iconslot = "prefix";
|
|
4526
5450
|
/**
|
|
4527
5451
|
* @uiName Hide icon
|
|
5452
|
+
* @uiGroup Style
|
|
4528
5453
|
* @default
|
|
4529
5454
|
*/
|
|
4530
5455
|
this.hideicon = false;
|
|
4531
5456
|
/**
|
|
4532
5457
|
* @uiName Hide text
|
|
5458
|
+
* @uiGroup Style
|
|
4533
5459
|
* @default
|
|
4534
5460
|
*/
|
|
4535
5461
|
this.hidetext = false;
|
|
@@ -4653,7 +5579,7 @@ const ShareCode = class {
|
|
|
4653
5579
|
*/
|
|
4654
5580
|
this.buttonStyle = "icon";
|
|
4655
5581
|
/**
|
|
4656
|
-
* The type of the button (primary or secondary)
|
|
5582
|
+
* The type of the button that is used (primary or secondary).
|
|
4657
5583
|
* @uiName Button Type
|
|
4658
5584
|
* @uiType string
|
|
4659
5585
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4728,7 +5654,7 @@ const ShareLink = class {
|
|
|
4728
5654
|
*/
|
|
4729
5655
|
this.copyButtonLabel = "Copy Link";
|
|
4730
5656
|
/**
|
|
4731
|
-
* The type of the button (primary or secondary)
|
|
5657
|
+
* The type of the button that is used (primary or secondary).
|
|
4732
5658
|
* @uiName Button Type
|
|
4733
5659
|
* @uiType string
|
|
4734
5660
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4760,6 +5686,7 @@ const ShareLink = class {
|
|
|
4760
5686
|
function useDemoShareLink(props) {
|
|
4761
5687
|
const [open, setOpen] = useState(false);
|
|
4762
5688
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
5689
|
+
console.log("Demo props", props);
|
|
4763
5690
|
return cjs({
|
|
4764
5691
|
copyString: copyString,
|
|
4765
5692
|
tooltiptext: props.tooltiptext,
|
|
@@ -4795,12 +5722,29 @@ const StatContainer = class {
|
|
|
4795
5722
|
*/
|
|
4796
5723
|
this.space = "xxx-large";
|
|
4797
5724
|
/**
|
|
5725
|
+
* @undocumented
|
|
4798
5726
|
* @uiName Display
|
|
4799
5727
|
* @uiType string
|
|
4800
5728
|
* @uiEnum ["grid", "flex"]
|
|
4801
5729
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4802
5730
|
*/
|
|
4803
|
-
this.display = "
|
|
5731
|
+
this.display = "flex";
|
|
5732
|
+
/**
|
|
5733
|
+
* Controls the alignment of the flexbox
|
|
5734
|
+
*
|
|
5735
|
+
* @uiName Alignment
|
|
5736
|
+
* @uiType string
|
|
5737
|
+
* @uiEnum ["left", "right", "center"]
|
|
5738
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
5739
|
+
*/
|
|
5740
|
+
this.alignment = "center";
|
|
5741
|
+
/**
|
|
5742
|
+
* @uiName Gap
|
|
5743
|
+
* @uiType string
|
|
5744
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
5745
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
5746
|
+
*/
|
|
5747
|
+
this.gap = "x-large";
|
|
4804
5748
|
h(this);
|
|
4805
5749
|
}
|
|
4806
5750
|
disconnectedCallback() { }
|
|
@@ -4850,7 +5794,7 @@ function useTaskCard(props) {
|
|
|
4850
5794
|
textColor: props.textColor,
|
|
4851
5795
|
borderColor: props.borderColor,
|
|
4852
5796
|
borderRadius: props.borderRadius,
|
|
4853
|
-
|
|
5797
|
+
buttonType: props.buttonType,
|
|
4854
5798
|
},
|
|
4855
5799
|
};
|
|
4856
5800
|
return {
|
|
@@ -4976,7 +5920,7 @@ const TaskCard = class {
|
|
|
4976
5920
|
* @uiEnumNames ["Primary", "Secondary"]
|
|
4977
5921
|
* @uiGroup Style
|
|
4978
5922
|
*/
|
|
4979
|
-
this.
|
|
5923
|
+
this.buttonType = "primary";
|
|
4980
5924
|
h(this);
|
|
4981
5925
|
}
|
|
4982
5926
|
disconnectedCallback() { }
|
|
@@ -4988,7 +5932,6 @@ const TaskCard = class {
|
|
|
4988
5932
|
const { states, callbacks } = isDemo()
|
|
4989
5933
|
? useTaskCardDemo(this)
|
|
4990
5934
|
: useTaskCard(this);
|
|
4991
|
-
console.log("button style from controller", this.buttonStyle);
|
|
4992
5935
|
return (h$1(TaskCardView, { callbacks: callbacks, states: {
|
|
4993
5936
|
loading,
|
|
4994
5937
|
loadingEvent: states.loadingEvent,
|
|
@@ -4999,6 +5942,7 @@ const TaskCard = class {
|
|
|
4999
5942
|
};
|
|
5000
5943
|
function useTaskCardDemo(props) {
|
|
5001
5944
|
return cjs({
|
|
5945
|
+
content: { ...props },
|
|
5002
5946
|
states: { loadingEvent: false, locale: "en" },
|
|
5003
5947
|
callbacks: {
|
|
5004
5948
|
sendEvent: (event) => console.log(event),
|
|
@@ -5052,7 +5996,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
5052
5996
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
5053
5997
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
5054
5998
|
|
|
5055
|
-
const vanillaStyle$
|
|
5999
|
+
const vanillaStyle$3 = `
|
|
5056
6000
|
:host{
|
|
5057
6001
|
display: block;
|
|
5058
6002
|
}
|
|
@@ -5075,7 +6019,7 @@ function TimelineEntryView(props) {
|
|
|
5075
6019
|
display: "none",
|
|
5076
6020
|
color: "transparent",
|
|
5077
6021
|
userSelect: "none",
|
|
5078
|
-
background: props.lineColor || "var(--
|
|
6022
|
+
background: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5079
6023
|
width: "4px",
|
|
5080
6024
|
borderRadius: "4px",
|
|
5081
6025
|
margin: "-2px",
|
|
@@ -5090,7 +6034,7 @@ function TimelineEntryView(props) {
|
|
|
5090
6034
|
position: "relative",
|
|
5091
6035
|
top: "4px",
|
|
5092
6036
|
zIndex: "1",
|
|
5093
|
-
color: props.lineColor || "var(--
|
|
6037
|
+
color: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5094
6038
|
marginRight: "var(--sl-spacing-large)",
|
|
5095
6039
|
},
|
|
5096
6040
|
"& .reward": {
|
|
@@ -5112,7 +6056,7 @@ function TimelineEntryView(props) {
|
|
|
5112
6056
|
return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5113
6057
|
h$1("style", { type: "text/css" },
|
|
5114
6058
|
styleString,
|
|
5115
|
-
vanillaStyle$
|
|
6059
|
+
vanillaStyle$3),
|
|
5116
6060
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
5117
6061
|
h$1("div", { class: "line" }, "/"),
|
|
5118
6062
|
h$1("div", { class: "step" },
|
|
@@ -5202,4 +6146,4 @@ function useUserNameDemo(props) {
|
|
|
5202
6146
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5203
6147
|
}
|
|
5204
6148
|
|
|
5205
|
-
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 };
|
|
6149
|
+
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, PortalForgotPassword as sqm_portal_forgot_password, 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 };
|