@saasquatch/mint-components 1.15.0-10 → 1.15.0-100
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-282c1fda.js +646 -0
- package/dist/cjs/{ShadowViewAddon-9618130b.js → ShadowViewAddon-43eb56c9.js} +1570 -1398
- package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-f3f1d00a.js} +20 -9
- package/dist/cjs/data-d4339c2e.js +137 -0
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
- package/dist/cjs/{global-19fe8600.js → global-4cd8623e.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} +874 -2413
- package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
- package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +1075 -270
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
- package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
- package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
- package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
- package/dist/cjs/sqm-empty_4.cjs.entry.js +57 -63
- package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +56 -0
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +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-5a22b152.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-e77710f0.js → sqm-portal-profile-view-4dbfeaeb.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
- package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13728 -12448
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
- package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +25 -13
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
- package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
- package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/cjs/utils-aacb4233.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 +4 -4
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +13 -6
- package/dist/collection/components/sqm-hero/sqm-hero.js +30 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +2 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +202 -61
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +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-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +5 -5
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +5 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -20
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
- package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
- package/dist/collection/components/sqm-text/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +101 -50
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -7
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +45 -8
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +54 -58
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -62
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +283 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -92
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +49 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +18 -7
- package/dist/collection/components/views/email-registration-view.js +3 -1
- package/dist/collection/global/global.js +27 -12
- package/dist/collection/global/mixins.js +6 -6
- package/dist/collection/global/styles.js +307 -133
- package/dist/collection/global/styles.ts +396 -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-5e60d91f.js +639 -0
- package/dist/esm/{ShadowViewAddon-8f268346.js → ShadowViewAddon-c1c75c4f.js} +1569 -1396
- package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-9289f141.js} +20 -9
- package/dist/esm/data-ee3ae298.js +121 -0
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
- package/dist/esm/{global-9d6f3bbe.js → global-f97ae778.js} +11849 -11629
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-9c90767d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +723 -2255
- package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
- package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_43.entry.js} +987 -184
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-code-verification.entry.js +348 -0
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +145 -21
- package/dist/esm/sqm-empty_4.entry.js +54 -60
- package/dist/esm/sqm-form-message.entry.js +7 -7
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +54 -0
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
- package/dist/esm/sqm-pagination_3.entry.js +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-98fc3374.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
- package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-25b3250a.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
- package/dist/esm/sqm-qr-code.entry.js +6 -7
- package/dist/esm/sqm-referral-table_11.entry.js +122 -33
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +13716 -12436
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +24 -10
- package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
- package/dist/esm/sqm-widget-verification.entry.js +22 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-e1cdc479.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-5e60d91f.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-c1c75c4f.js +1 -0
- package/dist/esm-es5/copy-text-view-9289f141.js +1 -0
- package/dist/esm-es5/data-ee3ae298.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
- package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
- package/dist/esm-es5/{global-9d6f3bbe.js → global-f97ae778.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-38dad6c9.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-9c90767d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-14f1c22c.js → sqm-portal-email-verification-view-98fc3374.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-25b3250a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
- package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
- package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
- package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
- package/dist/esm-es5/utilities-ad9c2893.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-e1cdc479.js +1 -0
- package/dist/mint-components/global/styles.ts +396 -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-000c91b1.js +1 -0
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- 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-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
- package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
- package/dist/mint-components/p-0ea61502.system.js +1 -0
- package/dist/mint-components/p-100c878b.system.entry.js +1 -0
- package/dist/mint-components/p-11500698.entry.js +25 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-1337f47c.entry.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-14128c84.system.entry.js +1 -0
- package/dist/mint-components/p-14959d73.system.entry.js +1 -0
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-1a278658.entry.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
- package/dist/mint-components/p-1c727332.entry.js +1 -0
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/p-209ea185.js +1 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
- package/dist/mint-components/p-2ed4f8fe.system.js +1 -0
- package/dist/mint-components/p-2f2bff39.entry.js +1 -0
- package/dist/mint-components/p-3285a6b3.system.entry.js +1 -0
- package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
- package/dist/mint-components/p-3836d1e2.entry.js +1 -0
- package/dist/mint-components/p-3cb249c3.js +1 -0
- package/dist/mint-components/{p-45bb63c7.system.entry.js → p-3d05ebb1.system.entry.js} +1 -1
- package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
- package/dist/mint-components/p-3d99fa43.entry.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
- package/dist/mint-components/p-3ea3f5e3.system.entry.js +1 -0
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/p-42da8239.system.js +1 -0
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
- package/dist/mint-components/p-57970440.js +1233 -0
- package/dist/mint-components/p-587115cb.system.entry.js +1 -0
- package/dist/mint-components/p-595aedb6.entry.js +13 -0
- package/dist/mint-components/p-5968c6bd.js +1 -0
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
- package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/p-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-4027c743.system.entry.js → p-66c14cb2.system.entry.js} +1 -1
- package/dist/mint-components/p-672d144e.entry.js +1 -0
- package/dist/mint-components/p-67ad2252.system.js +1 -0
- package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-6906ef5d.system.entry.js +1 -0
- 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-69f09f58.system.entry.js +1 -0
- package/dist/mint-components/p-6ad674c2.js +103 -0
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/p-6d290019.js +1 -0
- package/dist/mint-components/p-6e069052.entry.js +1 -0
- package/dist/mint-components/{p-28b011a0.js → p-6ef73224.js} +1 -1
- package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.entry.js} +1 -1
- package/dist/mint-components/p-71271fbd.system.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/{p-3c96533f.js → p-750e7b01.js} +1 -1
- package/dist/mint-components/p-75584f9e.entry.js +11 -0
- package/dist/mint-components/p-77d2244b.system.js +1 -0
- package/dist/mint-components/p-783afc04.entry.js +258 -0
- package/dist/mint-components/p-7970e73a.js +1 -0
- package/dist/mint-components/p-797fd8d9.system.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
- package/dist/mint-components/p-843f1ba8.system.entry.js +1 -0
- package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
- package/dist/mint-components/p-88b63a7c.entry.js +93 -0
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-8e2bead4.js +1 -0
- package/dist/mint-components/p-901cb538.system.entry.js +1 -0
- package/dist/mint-components/p-9049b387.entry.js +1 -0
- package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
- package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
- package/dist/mint-components/p-916100a9.js +1 -0
- package/dist/mint-components/p-926f17f9.system.js +1 -0
- package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9f3e7e48.entry.js +13 -0
- package/dist/mint-components/p-9f82e69d.entry.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
- package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
- package/dist/mint-components/p-a2d3974f.entry.js +9 -0
- package/dist/mint-components/{p-4d91a1d6.system.js → p-a392912a.system.js} +1 -1
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a5c9ce6c.entry.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-abd33116.system.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
- package/dist/mint-components/p-b065215a.entry.js +1 -0
- package/dist/mint-components/p-b1a2a83b.entry.js +144 -0
- package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
- package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
- package/dist/mint-components/p-b51fce78.system.js +1 -0
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
- package/dist/mint-components/p-bab57520.system.entry.js +1 -0
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/{p-17da19a2.system.js → p-bb12b845.system.js} +1 -1
- package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c4886223.entry.js +1 -0
- package/dist/mint-components/p-c676ed3b.system.entry.js +1 -0
- package/dist/mint-components/p-c726f778.system.entry.js +1 -0
- package/dist/mint-components/p-c7965639.entry.js +1 -0
- package/dist/mint-components/p-c79bb1c6.entry.js +16 -0
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/p-cab1f502.js +1 -0
- package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
- package/dist/mint-components/p-d478c77d.js +448 -0
- package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
- package/dist/mint-components/p-d785a297.system.entry.js +1 -0
- package/dist/mint-components/p-d821418e.system.js +1 -0
- package/dist/mint-components/p-d8c5b80a.system.js +1 -0
- package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
- package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-1b7e6ee9.entry.js → p-e0f9a395.entry.js} +1 -1
- package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
- package/dist/mint-components/p-e539fed3.entry.js +1 -0
- package/dist/mint-components/{p-b385c9f0.system.entry.js → p-e55f3eb6.system.entry.js} +1 -1
- package/dist/mint-components/p-e57d61af.system.js +1 -0
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d9328dd.entry.js → p-ecc5faba.entry.js} +2 -2
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
- package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-642b0650.system.js → p-f1f20fdf.system.js} +22 -22
- package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
- package/dist/mint-components/p-fb77f662.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +45 -1
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +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 +6 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +53 -17
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card.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-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
- package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +13 -1
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -2
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +46 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +840 -98
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +10 -2
- package/dist/types/insertfont.d.ts +1 -0
- package/dist/types/saasquatch.d.ts +142 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/shoelace/assets/icons/twitter-x.svg +4 -0
- package/dist/cjs/ErrorView-b2fcf954.js +0 -35
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/cjs/sqm-invoice-table-view-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-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-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-8f268346.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-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-070ac4ab.system.entry.js +0 -1
- package/dist/mint-components/p-0c7cbba4.entry.js +0 -258
- 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-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
- package/dist/mint-components/p-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-3109f2d2.js +0 -394
- 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-3e9bb8f2.system.entry.js +0 -1
- package/dist/mint-components/p-411bfb78.entry.js +0 -9
- 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-5fbabd19.system.entry.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-6333265f.system.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
- package/dist/mint-components/p-6d8f7c71.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-70c41f97.system.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-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-9ca87c75.entry.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- 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-bd2a2546.system.js +0 -1
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-ccb5699b.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-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-f2d8d3d3.system.entry.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-f97ae778.js';
|
|
3
|
+
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
|
|
4
|
+
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, L, y as yn, j as jn, r as Ue, V as Ve, u as useCallback, b as setUserIdentity, Q as Qe, k as kn } from './index.module-38dad6c9.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps, a as getMissingProps } from './utils-
|
|
7
|
+
import { g as getProps, a as getMissingProps } from './utils-03188de2.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './useReferralCodes-
|
|
10
|
-
import './mixins-
|
|
11
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
12
|
-
import { a as useRequestRerender } from './re-render-
|
|
13
|
-
import { u as useChildElements } from './useChildElements-
|
|
14
|
-
import './luxon-
|
|
15
|
-
import './sqm-text-span-view-
|
|
9
|
+
import './useReferralCodes-311e6d72.js';
|
|
10
|
+
import './mixins-f750863a.js';
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-9289f141.js';
|
|
12
|
+
import { a as useRequestRerender } from './re-render-9c90767d.js';
|
|
13
|
+
import { u as useChildElements } from './useChildElements-4e70ac0e.js';
|
|
14
|
+
import './luxon-bbf75a9d.js';
|
|
15
|
+
import './sqm-text-span-view-4c17b8c9.js';
|
|
16
16
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
17
|
+
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-18c2cea7.js';
|
|
19
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-0f04459e.js';
|
|
20
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
21
|
+
import { u as usePortalLogin } from './usePortalLogin-d0720c81.js';
|
|
20
22
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
21
|
-
import { i as isEmpty } from './utilities-
|
|
22
|
-
import {
|
|
23
|
-
import './sqm-portal-container-view-
|
|
24
|
-
import {
|
|
23
|
+
import { i as isEmpty } from './utilities-ad9c2893.js';
|
|
24
|
+
import { u as useDemoBigStat, Q as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, i as RewardExchangeView, V as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-c1c75c4f.js';
|
|
25
|
+
import './sqm-portal-container-view-176e92e3.js';
|
|
26
|
+
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
27
|
+
import { u as usePayoutStatus } from './usePayoutStatus-7eeec61b.js';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Themes
|
|
32
|
+
*
|
|
33
|
+
* Export only valid CSS. Those will be injected into style tags.
|
|
34
|
+
*
|
|
35
|
+
* Useful links:
|
|
36
|
+
* - https://brandcolors.net/
|
|
37
|
+
* - Shoelace color generator: https://codepen.io/claviska/full/QWveRgL
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
// @ts-nocheck
|
|
41
|
+
const Default = null;
|
|
42
|
+
const Netflix = {
|
|
43
|
+
main: {
|
|
44
|
+
brandFont: "Netflix Sans, Arial, sans-serif",
|
|
45
|
+
brandColor: "#E50914",
|
|
46
|
+
},
|
|
47
|
+
border: {
|
|
48
|
+
borderColor: "#333333",
|
|
49
|
+
borderRadius: 4,
|
|
50
|
+
borderThickness: 1,
|
|
51
|
+
},
|
|
52
|
+
color: {
|
|
53
|
+
textColorShades: {
|
|
54
|
+
mainText: "white",
|
|
55
|
+
subduedText: "#B3B3B3",
|
|
56
|
+
},
|
|
57
|
+
backgroundColor: "#101010",
|
|
58
|
+
accentColorShades: {
|
|
59
|
+
text: "#E50914",
|
|
60
|
+
icon: "#E50914",
|
|
61
|
+
border: "#E50914",
|
|
62
|
+
background: "#300609",
|
|
63
|
+
},
|
|
64
|
+
success: {
|
|
65
|
+
text: "#66BB6A",
|
|
66
|
+
border: "#4CAF50",
|
|
67
|
+
background: "#1B5E20",
|
|
68
|
+
iconAndBadge: "#4CAF50",
|
|
69
|
+
},
|
|
70
|
+
warning: {
|
|
71
|
+
text: "#FFCA28",
|
|
72
|
+
border: "#FFA726",
|
|
73
|
+
background: "#F57C00",
|
|
74
|
+
iconAndBadge: "#FFA726",
|
|
75
|
+
},
|
|
76
|
+
critical: {
|
|
77
|
+
text: "#EF9A9A",
|
|
78
|
+
border: "#E50914",
|
|
79
|
+
background: "#B71C1C",
|
|
80
|
+
iconAndBadge: "#E50914",
|
|
81
|
+
},
|
|
82
|
+
informative: {
|
|
83
|
+
text: "#64B5F6",
|
|
84
|
+
border: "#42A5F5",
|
|
85
|
+
background: "#1976D2",
|
|
86
|
+
iconAndBadge: "#42A5F5",
|
|
87
|
+
},
|
|
88
|
+
neutral: {
|
|
89
|
+
text: "white",
|
|
90
|
+
iconAndBadge: "#B3B3B3",
|
|
91
|
+
border: "#333333",
|
|
92
|
+
background: "#222222",
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
primaryButton: {
|
|
96
|
+
buttonColor: {
|
|
97
|
+
background: "#E50914",
|
|
98
|
+
border: "transparent",
|
|
99
|
+
label: "#FFFFFF",
|
|
100
|
+
},
|
|
101
|
+
buttonHoverColor: {
|
|
102
|
+
background: "#CC0000",
|
|
103
|
+
border: "transparent",
|
|
104
|
+
label: "#FFFFFF",
|
|
105
|
+
},
|
|
106
|
+
borderRadius: 4,
|
|
107
|
+
},
|
|
108
|
+
secondaryButton: {
|
|
109
|
+
buttonColor: {
|
|
110
|
+
background: "transparent",
|
|
111
|
+
border: "#B3B3B3",
|
|
112
|
+
label: "#FFFFFF",
|
|
113
|
+
},
|
|
114
|
+
buttonHoverColor: {
|
|
115
|
+
background: "#333333",
|
|
116
|
+
border: "#B3B3B3",
|
|
117
|
+
label: "#FFFFFF",
|
|
118
|
+
},
|
|
119
|
+
borderRadius: 4,
|
|
120
|
+
},
|
|
121
|
+
formFields: {
|
|
122
|
+
formFieldColor: {
|
|
123
|
+
background: "#222222",
|
|
124
|
+
border: "#B3B3B3",
|
|
125
|
+
inputText: "#B3B3B3",
|
|
126
|
+
},
|
|
127
|
+
hoverStateColor: "#777777",
|
|
128
|
+
selectedStateColor: "#E50914",
|
|
129
|
+
borderRadius: 4,
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
const Amazon = {
|
|
133
|
+
main: {
|
|
134
|
+
brandFont: "Amazon Ember, Arial, sans-serif",
|
|
135
|
+
brandColor: "#FF9900",
|
|
136
|
+
},
|
|
137
|
+
border: {
|
|
138
|
+
borderColor: "#D5D9D9",
|
|
139
|
+
borderRadius: 4,
|
|
140
|
+
borderThickness: 1,
|
|
141
|
+
},
|
|
142
|
+
color: {
|
|
143
|
+
backgroundColor: "#ffffff",
|
|
144
|
+
textColorShades: {
|
|
145
|
+
mainText: "#2f2f2f",
|
|
146
|
+
subduedText: "#565959",
|
|
147
|
+
},
|
|
148
|
+
accentColorShades: {
|
|
149
|
+
text: "#FF9900",
|
|
150
|
+
icon: "#FF9900",
|
|
151
|
+
border: "#FFBF66",
|
|
152
|
+
background: "#FFF4DD",
|
|
153
|
+
},
|
|
154
|
+
success: {
|
|
155
|
+
text: "#198754",
|
|
156
|
+
border: "#BCE8B2",
|
|
157
|
+
background: "#D4EDDA",
|
|
158
|
+
iconAndBadge: "#28A745",
|
|
159
|
+
},
|
|
160
|
+
warning: {
|
|
161
|
+
text: "#856404",
|
|
162
|
+
border: "#FFEBA2",
|
|
163
|
+
background: "#FFF3CD",
|
|
164
|
+
iconAndBadge: "#FFC107",
|
|
165
|
+
},
|
|
166
|
+
critical: {
|
|
167
|
+
text: "#721C24",
|
|
168
|
+
border: "#F5C6CB",
|
|
169
|
+
background: "#F8D7DA",
|
|
170
|
+
iconAndBadge: "#DC3545",
|
|
171
|
+
},
|
|
172
|
+
informative: {
|
|
173
|
+
text: "#004085",
|
|
174
|
+
border: "#B8DAFF",
|
|
175
|
+
background: "#CCE5FF",
|
|
176
|
+
iconAndBadge: "#007BFF",
|
|
177
|
+
},
|
|
178
|
+
neutral: {
|
|
179
|
+
text: "#232F3E",
|
|
180
|
+
iconAndBadge: "#565959",
|
|
181
|
+
border: "#D5D9D9",
|
|
182
|
+
background: "#F0F2F2",
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
primaryButton: {
|
|
186
|
+
buttonColor: {
|
|
187
|
+
background: "#FF9900",
|
|
188
|
+
border: "transparent",
|
|
189
|
+
label: "#FFFFFF",
|
|
190
|
+
},
|
|
191
|
+
buttonHoverColor: {
|
|
192
|
+
background: "#EB9100",
|
|
193
|
+
border: "transparent",
|
|
194
|
+
label: "#FFFFFF",
|
|
195
|
+
},
|
|
196
|
+
borderRadius: 4,
|
|
197
|
+
},
|
|
198
|
+
secondaryButton: {
|
|
199
|
+
buttonColor: {
|
|
200
|
+
background: "#FFFFFF",
|
|
201
|
+
border: "#888C8C",
|
|
202
|
+
label: "#232F3E",
|
|
203
|
+
},
|
|
204
|
+
buttonHoverColor: {
|
|
205
|
+
background: "#F0F2F2",
|
|
206
|
+
border: "#888C8C",
|
|
207
|
+
label: "#232F3E",
|
|
208
|
+
},
|
|
209
|
+
borderRadius: 4,
|
|
210
|
+
},
|
|
211
|
+
formFields: {
|
|
212
|
+
formFieldColor: {
|
|
213
|
+
background: "#FFFFFF",
|
|
214
|
+
border: "#D5D9D9",
|
|
215
|
+
inputText: "#2f2f2f",
|
|
216
|
+
},
|
|
217
|
+
borderRadius: 4,
|
|
218
|
+
hoverStateColor: "#A2A2A2",
|
|
219
|
+
selectedStateColor: "#007185",
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
const Spotify = {
|
|
223
|
+
main: {
|
|
224
|
+
brandColor: "#1ed760",
|
|
225
|
+
},
|
|
226
|
+
border: {
|
|
227
|
+
borderColor: "#f4f4f4",
|
|
228
|
+
borderRadius: 18,
|
|
229
|
+
borderThickness: 1,
|
|
230
|
+
},
|
|
231
|
+
color: {
|
|
232
|
+
textColorShades: {
|
|
233
|
+
mainText: "white",
|
|
234
|
+
subduedText: "white",
|
|
235
|
+
},
|
|
236
|
+
backgroundColor: "#121212",
|
|
237
|
+
accentColorShades: {
|
|
238
|
+
icon: "#1ed760",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
primaryButton: {
|
|
242
|
+
buttonColor: {
|
|
243
|
+
background: "#1ed760",
|
|
244
|
+
border: "transparent",
|
|
245
|
+
label: "#121212",
|
|
246
|
+
},
|
|
247
|
+
buttonHoverColor: {
|
|
248
|
+
background: "#1DB954",
|
|
249
|
+
border: "transparent",
|
|
250
|
+
label: "#121212",
|
|
251
|
+
},
|
|
252
|
+
borderRadius: 30,
|
|
253
|
+
},
|
|
254
|
+
secondaryButton: {
|
|
255
|
+
buttonColor: {
|
|
256
|
+
background: "#191414",
|
|
257
|
+
border: "#FFFFFF",
|
|
258
|
+
label: "#FFFFFF",
|
|
259
|
+
},
|
|
260
|
+
buttonHoverColor: {
|
|
261
|
+
background: "#282828",
|
|
262
|
+
border: "#FFFFFF",
|
|
263
|
+
label: "#121212",
|
|
264
|
+
},
|
|
265
|
+
borderRadius: 30,
|
|
266
|
+
},
|
|
267
|
+
formFields: {
|
|
268
|
+
formFieldColor: {
|
|
269
|
+
background: "#121212",
|
|
270
|
+
border: "#7c7c7c",
|
|
271
|
+
inputText: "#fff",
|
|
272
|
+
},
|
|
273
|
+
borderRadius: 30,
|
|
274
|
+
hoverStateColor: "white",
|
|
275
|
+
selectedStateColor: "white",
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
const Google = {
|
|
279
|
+
main: { brandColor: "#4285F4", brandFont: "Roboto, Arial, sans-serif" },
|
|
280
|
+
border: {
|
|
281
|
+
borderColor: "#DADCE0",
|
|
282
|
+
borderRadius: 4,
|
|
283
|
+
borderThickness: 1,
|
|
284
|
+
},
|
|
285
|
+
color: {
|
|
286
|
+
textColorShades: {
|
|
287
|
+
mainText: "#212124",
|
|
288
|
+
subduedText: "#5F6368",
|
|
289
|
+
},
|
|
290
|
+
backgroundColor: "#FFFFFF",
|
|
291
|
+
accentColorShades: {
|
|
292
|
+
text: "#1A73E8",
|
|
293
|
+
border: "#8AB4F8",
|
|
294
|
+
background: "#E8F0FE",
|
|
295
|
+
icon: "#4285F4",
|
|
296
|
+
},
|
|
297
|
+
success: {
|
|
298
|
+
text: "#044e1d",
|
|
299
|
+
border: "#A8DCD7",
|
|
300
|
+
background: "#E6F4EA",
|
|
301
|
+
iconAndBadge: "#34A853",
|
|
302
|
+
},
|
|
303
|
+
warning: {
|
|
304
|
+
text: "#996a3d",
|
|
305
|
+
border: "#FCD667",
|
|
306
|
+
background: "#FFF7EE",
|
|
307
|
+
iconAndBadge: "#FBBC04",
|
|
308
|
+
},
|
|
309
|
+
critical: {
|
|
310
|
+
text: "#760b09",
|
|
311
|
+
border: "#F28B82",
|
|
312
|
+
background: "#FCE8E6",
|
|
313
|
+
iconAndBadge: "#EA4335",
|
|
314
|
+
},
|
|
315
|
+
informative: {
|
|
316
|
+
text: "#01368c",
|
|
317
|
+
border: "#BFDBFE",
|
|
318
|
+
background: "#E8F0FE",
|
|
319
|
+
iconAndBadge: "#4285F4",
|
|
320
|
+
},
|
|
321
|
+
neutral: {
|
|
322
|
+
text: "#202124",
|
|
323
|
+
border: "#DADCE0",
|
|
324
|
+
background: "#F8F9FA",
|
|
325
|
+
iconAndBadge: "#5F6368",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
primaryButton: {
|
|
329
|
+
buttonColor: {
|
|
330
|
+
background: "#4285F4",
|
|
331
|
+
border: "transparent",
|
|
332
|
+
label: "#FFFFFF",
|
|
333
|
+
},
|
|
334
|
+
buttonHoverColor: {
|
|
335
|
+
background: "#3C7CD1",
|
|
336
|
+
border: "transparent",
|
|
337
|
+
label: "#FFFFFF",
|
|
338
|
+
},
|
|
339
|
+
borderRadius: 4,
|
|
340
|
+
},
|
|
341
|
+
secondaryButton: {
|
|
342
|
+
buttonColor: {
|
|
343
|
+
background: "#FFFFFF",
|
|
344
|
+
border: "#DADCE0",
|
|
345
|
+
label: "#4285F4",
|
|
346
|
+
},
|
|
347
|
+
buttonHoverColor: {
|
|
348
|
+
background: "#E8F0FE",
|
|
349
|
+
border: "#DADCE0",
|
|
350
|
+
label: "#4285F4",
|
|
351
|
+
},
|
|
352
|
+
borderRadius: 4,
|
|
353
|
+
},
|
|
354
|
+
formFields: {
|
|
355
|
+
formFieldColor: {
|
|
356
|
+
background: "#FFFFFF",
|
|
357
|
+
border: "#DADCE0",
|
|
358
|
+
inputText: "#202124",
|
|
359
|
+
},
|
|
360
|
+
borderRadius: 4,
|
|
361
|
+
hoverStateColor: "#9AA0A6",
|
|
362
|
+
selectedStateColor: "#4285F4",
|
|
363
|
+
},
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
const Themes = /*#__PURE__*/Object.freeze({
|
|
367
|
+
__proto__: null,
|
|
368
|
+
Default: Default,
|
|
369
|
+
Netflix: Netflix,
|
|
370
|
+
Amazon: Amazon,
|
|
371
|
+
Spotify: Spotify,
|
|
372
|
+
Google: Google
|
|
373
|
+
});
|
|
25
374
|
|
|
26
375
|
const BigStat = class {
|
|
27
376
|
constructor(hostRef) {
|
|
@@ -31,8 +380,19 @@ const BigStat = class {
|
|
|
31
380
|
*
|
|
32
381
|
* @uiName Flex reverse
|
|
33
382
|
* @default
|
|
383
|
+
* @uiGroup Additional Settings
|
|
34
384
|
*/
|
|
35
385
|
this.flexReverse = false;
|
|
386
|
+
/**
|
|
387
|
+
* Controls the alignment of the flexbox
|
|
388
|
+
*
|
|
389
|
+
* @uiName Alignment
|
|
390
|
+
* @uiType string
|
|
391
|
+
* @uiEnum ["left", "right", "center"]
|
|
392
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
393
|
+
* @uiGroup Additional Settings
|
|
394
|
+
*/
|
|
395
|
+
this.alignment = "center";
|
|
36
396
|
this.ignored = true;
|
|
37
397
|
h(this);
|
|
38
398
|
}
|
|
@@ -40,24 +400,62 @@ const BigStat = class {
|
|
|
40
400
|
render() {
|
|
41
401
|
var _a;
|
|
42
402
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
43
|
-
const host = _();
|
|
403
|
+
const host = _$1();
|
|
44
404
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
45
405
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
46
406
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
47
407
|
}
|
|
48
408
|
};
|
|
49
409
|
|
|
410
|
+
function t(t,n,r){return Math.min(Math.max(t,r),n)}class n extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}}function r(r){if("string"!=typeof r)throw new n(r);if("transparent"===r.trim().toLowerCase())return [0,0,0,0];let e=r.trim();e=u.test(r)?function(t){const r=t.toLowerCase().trim(),e=o[function(t){let n=5381,r=t.length;for(;r;)n=33*n^t.charCodeAt(--r);return (n>>>0)%2341}(r)];if(!e)throw new n(t);return `#${e}`}(r):r;const f=s.exec(e);if(f){const t=Array.from(f).slice(1);return [...t.slice(0,3).map(t=>parseInt(_(t,2),16)),parseInt(_(t[3]||"f",2),16)/255]}const p=i.exec(e);if(p){const t=Array.from(p).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const z=a.exec(e);if(z){const t=Array.from(z).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const h=c.exec(e);if(h){const[e,o,_,s]=Array.from(h).slice(1).map(parseFloat);if(t(0,100,o)!==o)throw new n(r);if(t(0,100,_)!==_)throw new n(r);return [...l(e,o,_),s||1]}throw new n(r)}const e=t=>parseInt(t.replace(/_/g,""),36),o="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,n)=>{const r=e(n.substring(0,3)),o=e(n.substring(3)).toString(16);let _="";for(let t=0;t<6-o.length;t++)_+="0";return t[r]=`${_}${o}`,t},{}),_=(t,n)=>Array.from(Array(n)).map(()=>t).join(""),s=new RegExp(`^#${_("([a-f0-9])",3)}([a-f0-9])?$`,"i"),i=new RegExp(`^#${_("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),a=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${_(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),c=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,u=/^[a-z]+$/i,f=t=>Math.round(255*t),l=(t,n,r)=>{let e=r/100;if(0===n)return [e,e,e].map(f);const o=(t%360+360)%360/60,_=(1-Math.abs(2*e-1))*(n/100),s=_*(1-Math.abs(o%2-1));let i=0,a=0,c=0;o>=0&&o<1?(i=_,a=s):o>=1&&o<2?(i=s,a=_):o>=2&&o<3?(a=_,c=s):o>=3&&o<4?(a=s,c=_):o>=4&&o<5?(i=s,c=_):o>=5&&o<6&&(i=_,c=s);const u=e-_/2;return [i+u,a+u,c+u].map(f)};function p(t){const[n,e,o,_]=r(t).map((t,n)=>3===n?t:t/255),s=Math.max(n,e,o),i=Math.min(n,e,o),a=(s+i)/2;if(s===i)return [0,0,a,_];const c=s-i;return [60*(n===s?(e-o)/c+(e<o?6:0):e===s?(o-n)/c+2:(n-e)/c+4),a>.5?c/(2-s-i):c/(s+i),a,_]}function z(n,r,e,o){return `hsla(${(n%360).toFixed()}, ${t(0,100,100*r).toFixed()}%, ${t(0,100,100*e).toFixed()}%, ${parseFloat(t(0,1,o).toFixed(3))})`}
|
|
411
|
+
|
|
412
|
+
const colorScale = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
|
413
|
+
const lScale = [
|
|
414
|
+
0.95,
|
|
415
|
+
0.86,
|
|
416
|
+
0.76,
|
|
417
|
+
0.66,
|
|
418
|
+
0.56,
|
|
419
|
+
0.46,
|
|
420
|
+
0.39,
|
|
421
|
+
0.32,
|
|
422
|
+
0.25,
|
|
423
|
+
0.18,
|
|
424
|
+
0.15,
|
|
425
|
+
];
|
|
426
|
+
// https://github.com/ricokahler/color2k/blob/main/src/parseToRgba.ts
|
|
427
|
+
const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;
|
|
428
|
+
function niceParseToHsla(color) {
|
|
429
|
+
const normalizedColor = color.trim();
|
|
430
|
+
const hslaMatch = hslaRegex.exec(normalizedColor);
|
|
431
|
+
if (hslaMatch) {
|
|
432
|
+
const [h, s, l, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
|
|
433
|
+
if (t(0, 100, s) !== s)
|
|
434
|
+
throw new n(color);
|
|
435
|
+
if (t(0, 100, l) !== l)
|
|
436
|
+
throw new n(color);
|
|
437
|
+
return [h, s / 100, l, a || 1];
|
|
438
|
+
}
|
|
439
|
+
// Warning -- converts to RGB first, so is lossy
|
|
440
|
+
return p(color);
|
|
441
|
+
}
|
|
442
|
+
function generateScale(color, name = "primary") {
|
|
443
|
+
const [h, s, l, a] = niceParseToHsla(color);
|
|
444
|
+
return lScale
|
|
445
|
+
.map((l) => z(h, s, l, a))
|
|
446
|
+
.map((color, index) => {
|
|
447
|
+
return `--sl-color-${name}-${colorScale[index]}: ${color};\n`;
|
|
448
|
+
});
|
|
449
|
+
}
|
|
50
450
|
/**
|
|
51
|
-
*
|
|
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 Divider 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,10 @@ const Hero = class {
|
|
|
945
1556
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
946
1557
|
*/
|
|
947
1558
|
this.wrapDirection = "wrap";
|
|
1559
|
+
/**
|
|
1560
|
+
* @uiName Hide the column in mobile view (can only be used when two columns are present)
|
|
1561
|
+
*/
|
|
1562
|
+
this.columnToHideInMobile = null;
|
|
948
1563
|
h(this);
|
|
949
1564
|
}
|
|
950
1565
|
disconnectedCallback() { }
|
|
@@ -973,7 +1588,7 @@ function HeroImageView(props, children) {
|
|
|
973
1588
|
width: "100%",
|
|
974
1589
|
height: "100%",
|
|
975
1590
|
position: "absolute",
|
|
976
|
-
background: props.overlayColor || "var(--sl-color-
|
|
1591
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
977
1592
|
opacity: props.overlayOpacity,
|
|
978
1593
|
},
|
|
979
1594
|
},
|
|
@@ -1080,7 +1695,7 @@ function HeroImageView(props, children) {
|
|
|
1080
1695
|
h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1081
1696
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1082
1697
|
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
|
|
1698
|
+
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
1084
1699
|
? window.open(props.buttonLink)
|
|
1085
1700
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1086
1701
|
children && children)));
|
|
@@ -1159,7 +1774,7 @@ const HeroImage = class {
|
|
|
1159
1774
|
*/
|
|
1160
1775
|
this.paddingImage = "none";
|
|
1161
1776
|
/**
|
|
1162
|
-
* The type of the button (primary or secondary)
|
|
1777
|
+
* The type of the button that is used (primary or secondary).
|
|
1163
1778
|
* @uiName Button Type
|
|
1164
1779
|
* @uiType string
|
|
1165
1780
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -1455,13 +2070,6 @@ const Leaderboard = class {
|
|
|
1455
2070
|
* @uiName Width
|
|
1456
2071
|
*/
|
|
1457
2072
|
this.width = "100%";
|
|
1458
|
-
/**
|
|
1459
|
-
* Hide the viewer's leaderboard row if not in the top results.
|
|
1460
|
-
*
|
|
1461
|
-
* @uiName Hide viewing user
|
|
1462
|
-
* @default
|
|
1463
|
-
*/
|
|
1464
|
-
this.hideViewer = false;
|
|
1465
2073
|
/**
|
|
1466
2074
|
* @uiName Viewing user text
|
|
1467
2075
|
*/
|
|
@@ -1484,6 +2092,13 @@ const Leaderboard = class {
|
|
|
1484
2092
|
* @uiName Maximum rows number
|
|
1485
2093
|
*/
|
|
1486
2094
|
this.maxRows = 10;
|
|
2095
|
+
/**
|
|
2096
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
2097
|
+
*
|
|
2098
|
+
* @uiName Hide viewing user
|
|
2099
|
+
* @default
|
|
2100
|
+
*/
|
|
2101
|
+
this.hideViewer = false;
|
|
1487
2102
|
this.ignored = true;
|
|
1488
2103
|
h(this);
|
|
1489
2104
|
withShadowView(this);
|
|
@@ -1507,6 +2122,12 @@ const Leaderboard = class {
|
|
|
1507
2122
|
showRank: this.showRank,
|
|
1508
2123
|
rankSuffix: this.rankSuffix,
|
|
1509
2124
|
width: this.width,
|
|
2125
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
2126
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
2127
|
+
background: this.background,
|
|
2128
|
+
borderColor: this.borderColor,
|
|
2129
|
+
textColor: this.textColor,
|
|
2130
|
+
borderRadius: this.borderRadius,
|
|
1510
2131
|
};
|
|
1511
2132
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1512
2133
|
const viewprops = isDemo()
|
|
@@ -1561,7 +2182,6 @@ function useLeaderboardDemo(props) {
|
|
|
1561
2182
|
hasLeaders: true,
|
|
1562
2183
|
isEssentials: false,
|
|
1563
2184
|
styles: {
|
|
1564
|
-
// viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
1565
2185
|
usersheading: props.usersheading
|
|
1566
2186
|
? props.usersheading
|
|
1567
2187
|
: "Top referrers",
|
|
@@ -1578,6 +2198,12 @@ function useLeaderboardDemo(props) {
|
|
|
1578
2198
|
hideNames: props.hideNames,
|
|
1579
2199
|
rankSuffix: props.rankSuffix,
|
|
1580
2200
|
width: props.width,
|
|
2201
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
2202
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
2203
|
+
background: props.background,
|
|
2204
|
+
borderColor: props.borderColor,
|
|
2205
|
+
textColor: props.textColor,
|
|
2206
|
+
borderRadius: props.borderRadius,
|
|
1581
2207
|
},
|
|
1582
2208
|
},
|
|
1583
2209
|
data: {
|
|
@@ -1798,7 +2424,7 @@ const style$2 = {
|
|
|
1798
2424
|
marginLeft: "auto",
|
|
1799
2425
|
},
|
|
1800
2426
|
PayoutButtonDescription: {
|
|
1801
|
-
color: "var(--
|
|
2427
|
+
color: "var(--sqm-text-subdued)",
|
|
1802
2428
|
fontSize: "var(--sl-font-size-small)",
|
|
1803
2429
|
margin: "0",
|
|
1804
2430
|
},
|
|
@@ -1894,33 +2520,6 @@ const style$3 = {
|
|
|
1894
2520
|
margin: "0",
|
|
1895
2521
|
marginBottom: "var(--sl-spacing-small)",
|
|
1896
2522
|
},
|
|
1897
|
-
ErrorAlertContainer: {
|
|
1898
|
-
"&::part(base)": {
|
|
1899
|
-
backgroundColor: "var(--sl-color-red-100)",
|
|
1900
|
-
borderTop: "none",
|
|
1901
|
-
},
|
|
1902
|
-
"& sl-icon::part(base)": {
|
|
1903
|
-
color: "var(--sl-color-danger-500)",
|
|
1904
|
-
},
|
|
1905
|
-
},
|
|
1906
|
-
WarningAlertContainer: {
|
|
1907
|
-
"&::part(base)": {
|
|
1908
|
-
backgroundColor: "var(--sl-color-yellow-100)",
|
|
1909
|
-
borderTop: "none",
|
|
1910
|
-
},
|
|
1911
|
-
"& sl-icon::part(base)": {
|
|
1912
|
-
color: "var(--sl-color-danger-500)",
|
|
1913
|
-
},
|
|
1914
|
-
},
|
|
1915
|
-
InfoAlertContainer: {
|
|
1916
|
-
"&::part(base)": {
|
|
1917
|
-
backgroundColor: "var(--sl-color-sky-100)",
|
|
1918
|
-
borderTop: "none",
|
|
1919
|
-
},
|
|
1920
|
-
"& sl-icon::part(base)": {
|
|
1921
|
-
color: "var(--sl-color-blue-500)",
|
|
1922
|
-
},
|
|
1923
|
-
},
|
|
1924
2523
|
Dialog: {
|
|
1925
2524
|
"&::part(panel)": {
|
|
1926
2525
|
height: "600px",
|
|
@@ -1936,6 +2535,13 @@ const style$3 = {
|
|
|
1936
2535
|
"&::part(footer)": {},
|
|
1937
2536
|
},
|
|
1938
2537
|
};
|
|
2538
|
+
const vanillaStyle$1 = `
|
|
2539
|
+
a {
|
|
2540
|
+
color: inherit;
|
|
2541
|
+
text-decoration: underline;
|
|
2542
|
+
cursor: pointer;
|
|
2543
|
+
}
|
|
2544
|
+
`;
|
|
1939
2545
|
const sheet$3 = createStyleSheet(style$3);
|
|
1940
2546
|
const styleString$3 = sheet$3.toString();
|
|
1941
2547
|
function PayoutStatusAlertView(props) {
|
|
@@ -1947,8 +2553,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1947
2553
|
description: text.errorDescription,
|
|
1948
2554
|
buttonText: null,
|
|
1949
2555
|
alertType: "critical",
|
|
1950
|
-
icon: "exclamation-triangle",
|
|
1951
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
1952
2556
|
};
|
|
1953
2557
|
switch (status) {
|
|
1954
2558
|
case "INFORMATION_REQUIRED":
|
|
@@ -1957,8 +2561,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1957
2561
|
description: text.informationRequiredDescription,
|
|
1958
2562
|
buttonText: text.informationRequiredButtonText,
|
|
1959
2563
|
alertType: "info",
|
|
1960
|
-
icon: "info-circle",
|
|
1961
|
-
class: sheet$3.classes.InfoAlertContainer,
|
|
1962
2564
|
};
|
|
1963
2565
|
case "VERIFICATION:REQUIRED":
|
|
1964
2566
|
return {
|
|
@@ -1971,8 +2573,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1971
2573
|
}),
|
|
1972
2574
|
buttonText: text.verificationRequiredButtonText,
|
|
1973
2575
|
alertType: "warning",
|
|
1974
|
-
icon: "exclamation-triangle",
|
|
1975
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1976
2576
|
};
|
|
1977
2577
|
case "VERIFICATION:INTERNAL":
|
|
1978
2578
|
return {
|
|
@@ -1984,8 +2584,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1984
2584
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1985
2585
|
}),
|
|
1986
2586
|
alertType: "warning",
|
|
1987
|
-
icon: "exclamation-triangle",
|
|
1988
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
1989
2587
|
};
|
|
1990
2588
|
case "VERIFICATION:REVIEW":
|
|
1991
2589
|
return {
|
|
@@ -1997,8 +2595,6 @@ function PayoutStatusAlertView(props) {
|
|
|
1997
2595
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1998
2596
|
}),
|
|
1999
2597
|
alertType: "warning",
|
|
2000
|
-
icon: "exclamation-triangle",
|
|
2001
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
2002
2598
|
};
|
|
2003
2599
|
case "VERIFICATION:FAILED":
|
|
2004
2600
|
return {
|
|
@@ -2010,8 +2606,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2010
2606
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2011
2607
|
}),
|
|
2012
2608
|
alertType: "critical",
|
|
2013
|
-
icon: "exclamation-octagon",
|
|
2014
|
-
class: sheet$3.classes.ErrorAlertContainer,
|
|
2015
2609
|
};
|
|
2016
2610
|
case "HOLD":
|
|
2017
2611
|
return {
|
|
@@ -2024,8 +2618,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2024
2618
|
}),
|
|
2025
2619
|
buttonText: null,
|
|
2026
2620
|
alertType: "warning",
|
|
2027
|
-
icon: "exclamation-triangle",
|
|
2028
|
-
class: sheet$3.classes.WarningAlertContainer,
|
|
2029
2621
|
};
|
|
2030
2622
|
default:
|
|
2031
2623
|
return;
|
|
@@ -2034,11 +2626,15 @@ function PayoutStatusAlertView(props) {
|
|
|
2034
2626
|
function getButton(status) {
|
|
2035
2627
|
switch (status) {
|
|
2036
2628
|
case "INFORMATION_REQUIRED":
|
|
2037
|
-
return data.type === "SquatchJS2" ? (h$1("
|
|
2629
|
+
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
2630
|
+
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
2631
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText))) : (
|
|
2038
2632
|
// Demo case
|
|
2039
|
-
h$1("
|
|
2633
|
+
h$1("div", { style: { paddingTop: "10px" } },
|
|
2634
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base" }, text.informationRequiredButtonText)));
|
|
2040
2635
|
case "VERIFICATION:REQUIRED":
|
|
2041
|
-
return (h$1("
|
|
2636
|
+
return (h$1("div", { style: { paddingTop: "10px" } },
|
|
2637
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
|
|
2042
2638
|
default:
|
|
2043
2639
|
return;
|
|
2044
2640
|
}
|
|
@@ -2052,10 +2648,10 @@ function PayoutStatusAlertView(props) {
|
|
|
2052
2648
|
}
|
|
2053
2649
|
return (h$1("div", { part: "sqm-base" },
|
|
2054
2650
|
h$1("style", { type: "text/css" }, styleString$3),
|
|
2055
|
-
h$1("
|
|
2056
|
-
|
|
2057
|
-
h$1("
|
|
2058
|
-
h$1("p", {
|
|
2651
|
+
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
2652
|
+
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
2653
|
+
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
2654
|
+
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
2059
2655
|
getButton(states.status))));
|
|
2060
2656
|
}
|
|
2061
2657
|
|
|
@@ -2589,7 +3185,7 @@ const PortalFooter = class {
|
|
|
2589
3185
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2590
3186
|
};
|
|
2591
3187
|
|
|
2592
|
-
function usePortalFrame(footerContent, headerContent) {
|
|
3188
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2593
3189
|
const [, rerender] = yn();
|
|
2594
3190
|
return {
|
|
2595
3191
|
data: {
|
|
@@ -2599,6 +3195,9 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2599
3195
|
callbacks: {
|
|
2600
3196
|
rerender,
|
|
2601
3197
|
},
|
|
3198
|
+
backgroundColor: props.backgroundColor,
|
|
3199
|
+
border: props.border,
|
|
3200
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
2602
3201
|
};
|
|
2603
3202
|
}
|
|
2604
3203
|
|
|
@@ -2610,6 +3209,25 @@ const PortalFrame = class {
|
|
|
2610
3209
|
* @undocumented
|
|
2611
3210
|
*/
|
|
2612
3211
|
this.notFullScreen = false;
|
|
3212
|
+
/**
|
|
3213
|
+
* @uiName Background color
|
|
3214
|
+
* @uiWidget color
|
|
3215
|
+
* @uiType string
|
|
3216
|
+
*/
|
|
3217
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff)";
|
|
3218
|
+
/**
|
|
3219
|
+
* Borders placed to seperate the header and footer from the body content.
|
|
3220
|
+
* @uiName Border
|
|
3221
|
+
* @uiType string
|
|
3222
|
+
*/
|
|
3223
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3224
|
+
/**
|
|
3225
|
+
* Background color for the header and footer.
|
|
3226
|
+
* @uiName Header and Footer Background Color
|
|
3227
|
+
* @uiWidget color
|
|
3228
|
+
* @uiType string
|
|
3229
|
+
*/
|
|
3230
|
+
this.headerAndFooterBackgroundColor = "var(--sqm-portal-background, #fff)";
|
|
2613
3231
|
h(this);
|
|
2614
3232
|
}
|
|
2615
3233
|
disconnectedCallback() { }
|
|
@@ -2618,13 +3236,16 @@ const PortalFrame = class {
|
|
|
2618
3236
|
const headerContent = h$1("slot", { name: "header" });
|
|
2619
3237
|
const props = isDemo()
|
|
2620
3238
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2621
|
-
: usePortalFrame(footerContent, headerContent);
|
|
3239
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2622
3240
|
return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
|
|
2623
3241
|
}
|
|
2624
3242
|
};
|
|
2625
3243
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2626
3244
|
return cjs({
|
|
2627
3245
|
notFullScreen: true,
|
|
3246
|
+
backgroundColor: props.backgroundColor,
|
|
3247
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
3248
|
+
border: props.border,
|
|
2628
3249
|
data: {
|
|
2629
3250
|
footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
|
|
2630
3251
|
header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
|
|
@@ -2714,7 +3335,7 @@ const PortalLogin = class {
|
|
|
2714
3335
|
const content = {
|
|
2715
3336
|
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2716
3337
|
googleButton: null,
|
|
2717
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
3338
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
2718
3339
|
emailLabel: this.emailLabel,
|
|
2719
3340
|
passwordLabel: this.passwordLabel,
|
|
2720
3341
|
submitLabel: this.submitLabel,
|
|
@@ -2876,7 +3497,7 @@ function usePortalRegister(props) {
|
|
|
2876
3497
|
const PortalRegister = class {
|
|
2877
3498
|
constructor(hostRef) {
|
|
2878
3499
|
registerInstance(this, hostRef);
|
|
2879
|
-
this.ignored =
|
|
3500
|
+
this.ignored = false;
|
|
2880
3501
|
/**
|
|
2881
3502
|
* Redirect participants to this page from their verification email
|
|
2882
3503
|
*
|
|
@@ -3102,9 +3723,11 @@ function ProgramExplainerStepView(props) {
|
|
|
3102
3723
|
width: "100%",
|
|
3103
3724
|
padding: "var(--sl-spacing-x-large)",
|
|
3104
3725
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3105
|
-
borderRadius: props.borderRadius
|
|
3726
|
+
borderRadius: props.borderRadius
|
|
3727
|
+
? `${props.borderRadius}px`
|
|
3728
|
+
: "var(--sqm-border-radius-normal)",
|
|
3106
3729
|
color: props.textColor || "var(--sqm-text)",
|
|
3107
|
-
background: props.backgroundColor || "var(--
|
|
3730
|
+
background: props.backgroundColor || "var(--sqm-accent-color-background)",
|
|
3108
3731
|
"@media (max-width: 499px)": {
|
|
3109
3732
|
flexDirection: "row",
|
|
3110
3733
|
width: "auto",
|
|
@@ -3140,7 +3763,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3140
3763
|
objectFit: "cover",
|
|
3141
3764
|
userSelect: "none",
|
|
3142
3765
|
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3143
|
-
color: props.iconColor || "var(--
|
|
3766
|
+
color: props.iconColor || "var(--sqm-accent-color-icon)",
|
|
3144
3767
|
fontSize: "26px",
|
|
3145
3768
|
textAlign: "center",
|
|
3146
3769
|
lineHeight: "72px",
|
|
@@ -3175,7 +3798,7 @@ const debug = browser("sq:useProgramMenu");
|
|
|
3175
3798
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
3176
3799
|
function useProgramMenu(props) {
|
|
3177
3800
|
const programId = H();
|
|
3178
|
-
const host = _();
|
|
3801
|
+
const host = _$1();
|
|
3179
3802
|
debug({ programId, props });
|
|
3180
3803
|
const ref = useRef();
|
|
3181
3804
|
const [, rerender] = yn();
|
|
@@ -3215,7 +3838,7 @@ const ProgramMenu = class {
|
|
|
3215
3838
|
}
|
|
3216
3839
|
};
|
|
3217
3840
|
|
|
3218
|
-
const vanillaStyle$
|
|
3841
|
+
const vanillaStyle$2 = `
|
|
3219
3842
|
:host{
|
|
3220
3843
|
display: block;
|
|
3221
3844
|
}
|
|
@@ -3223,9 +3846,9 @@ const vanillaStyle$1 = `
|
|
|
3223
3846
|
function ReferralCardView(props) {
|
|
3224
3847
|
const style = {
|
|
3225
3848
|
Container: {
|
|
3226
|
-
borderRadius: props.borderRadius || "var(--
|
|
3849
|
+
borderRadius: props.borderRadius || "var(--sqm-border-radius-normal)",
|
|
3227
3850
|
color: props.textColor || "var(--sqm-text)",
|
|
3228
|
-
background: props.backgroundColor || "var(--
|
|
3851
|
+
background: props.backgroundColor || "var(--sqm-portal-background)",
|
|
3229
3852
|
display: "flex",
|
|
3230
3853
|
flexDirection: "column",
|
|
3231
3854
|
rowGap: "var(--sl-spacing-large)",
|
|
@@ -3251,9 +3874,11 @@ function ReferralCardView(props) {
|
|
|
3251
3874
|
};
|
|
3252
3875
|
const sheet = createStyleSheet(style);
|
|
3253
3876
|
const styleString = sheet.toString();
|
|
3254
|
-
const borderColor = props.borderColor || "var(--
|
|
3877
|
+
const borderColor = props.borderColor || "var(--sqm-border-color)";
|
|
3255
3878
|
return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3256
|
-
border: `${props.hideBorder
|
|
3879
|
+
border: `${props.hideBorder
|
|
3880
|
+
? "none"
|
|
3881
|
+
: `var(--sqm-border-thickness) solid ${borderColor}`}`,
|
|
3257
3882
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3258
3883
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3259
3884
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3264,7 +3889,7 @@ function ReferralCardView(props) {
|
|
|
3264
3889
|
} },
|
|
3265
3890
|
h$1("style", { type: "text/css" },
|
|
3266
3891
|
styleString,
|
|
3267
|
-
vanillaStyle$
|
|
3892
|
+
vanillaStyle$2),
|
|
3268
3893
|
props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3269
3894
|
h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3270
3895
|
alignItems: props.verticalAlignment,
|
|
@@ -3318,12 +3943,6 @@ const ReferralCard = class {
|
|
|
3318
3943
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
3319
3944
|
*/
|
|
3320
3945
|
this.paddingLeft = "large";
|
|
3321
|
-
/**
|
|
3322
|
-
* @uiName Background color
|
|
3323
|
-
* @uiWidget color
|
|
3324
|
-
* @uiType string
|
|
3325
|
-
*/
|
|
3326
|
-
this.backgroundColor = "#ffffff";
|
|
3327
3946
|
/**
|
|
3328
3947
|
* @uiName Limit width
|
|
3329
3948
|
* @uiType boolean
|
|
@@ -3417,6 +4036,161 @@ function useReferralIframeDemo(props) {
|
|
|
3417
4036
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3418
4037
|
}
|
|
3419
4038
|
|
|
4039
|
+
const ReferredRegistration = class {
|
|
4040
|
+
constructor(hostRef) {
|
|
4041
|
+
registerInstance(this, hostRef);
|
|
4042
|
+
this.ignored = true;
|
|
4043
|
+
/**
|
|
4044
|
+
* @uiName Email field label
|
|
4045
|
+
*/
|
|
4046
|
+
this.emailLabel = "Email";
|
|
4047
|
+
/**
|
|
4048
|
+
* @uiName First name field label
|
|
4049
|
+
*/
|
|
4050
|
+
this.firstNameLabel = "First Name";
|
|
4051
|
+
/**
|
|
4052
|
+
* @uiName Last name field label
|
|
4053
|
+
*/
|
|
4054
|
+
this.lastNameLabel = "Last Name";
|
|
4055
|
+
/**
|
|
4056
|
+
* @uiName Register button text
|
|
4057
|
+
*/
|
|
4058
|
+
this.registerLabel = "Start Referring";
|
|
4059
|
+
/**
|
|
4060
|
+
* Require your participants to enter their first and last name.
|
|
4061
|
+
*
|
|
4062
|
+
* @uiName Include name fields
|
|
4063
|
+
*/
|
|
4064
|
+
this.includeName = false;
|
|
4065
|
+
/**
|
|
4066
|
+
* @uiName Hide border
|
|
4067
|
+
* @uiGroup Card style
|
|
4068
|
+
*/
|
|
4069
|
+
this.hideBorder = false;
|
|
4070
|
+
/**
|
|
4071
|
+
* Display this message when a required field has not been filled out.
|
|
4072
|
+
*
|
|
4073
|
+
* @uiName Required field message
|
|
4074
|
+
* @uiWidget textArea
|
|
4075
|
+
* @uiGroup Error messages
|
|
4076
|
+
*/
|
|
4077
|
+
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4078
|
+
/**
|
|
4079
|
+
* Display this message when the given email is invalid.
|
|
4080
|
+
*
|
|
4081
|
+
* @uiName Invalid email message
|
|
4082
|
+
* @uiWidget textArea
|
|
4083
|
+
* @uiGroup Error messages
|
|
4084
|
+
*/
|
|
4085
|
+
this.invalidEmailErrorMessage = "Please enter a valid email address";
|
|
4086
|
+
/**
|
|
4087
|
+
* Display this message when the form submission unexpectedly fails.
|
|
4088
|
+
*
|
|
4089
|
+
* @uiName Network error message
|
|
4090
|
+
* @uiWidget textArea
|
|
4091
|
+
* @uiGroup Error messages
|
|
4092
|
+
*/
|
|
4093
|
+
this.networkErrorMessage = "There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";
|
|
4094
|
+
/**
|
|
4095
|
+
* Display this message when there is suspected fraud.
|
|
4096
|
+
*
|
|
4097
|
+
* @uiName Fraud error message
|
|
4098
|
+
* @uiWidget textArea
|
|
4099
|
+
* @uiGroup Error messages
|
|
4100
|
+
*/
|
|
4101
|
+
this.fraudErrorMessage = "Our team will review this referral. If approved, you and your friend will receive your rewards. Need help? Reach out to our Support team.";
|
|
4102
|
+
/**
|
|
4103
|
+
* Display this message when there is suspected fraud.
|
|
4104
|
+
*
|
|
4105
|
+
* @uiName Fraud error message title
|
|
4106
|
+
* @uiWidget textArea
|
|
4107
|
+
* @uiGroup Error messages
|
|
4108
|
+
*/
|
|
4109
|
+
this.fraudErrorMessageTitle = "Looks like you tried referring yourself";
|
|
4110
|
+
/**
|
|
4111
|
+
* @uiName Top padding
|
|
4112
|
+
* @uiGroup Card style
|
|
4113
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4114
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4115
|
+
*/
|
|
4116
|
+
this.paddingTop = "large";
|
|
4117
|
+
/**
|
|
4118
|
+
* @uiName Right padding
|
|
4119
|
+
* @uiGroup Card style
|
|
4120
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4121
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4122
|
+
*/
|
|
4123
|
+
this.paddingRight = "large";
|
|
4124
|
+
/**
|
|
4125
|
+
* @uiName Bottom padding
|
|
4126
|
+
* @uiGroup Card style
|
|
4127
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4128
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4129
|
+
*/
|
|
4130
|
+
this.paddingBottom = "large";
|
|
4131
|
+
/**
|
|
4132
|
+
* @uiName Left padding
|
|
4133
|
+
* @uiGroup Card style
|
|
4134
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4135
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4136
|
+
*/
|
|
4137
|
+
this.paddingLeft = "large";
|
|
4138
|
+
/**
|
|
4139
|
+
* @undocumented
|
|
4140
|
+
* @uiType boolean
|
|
4141
|
+
*/
|
|
4142
|
+
this.includeCookies = true;
|
|
4143
|
+
h(this);
|
|
4144
|
+
}
|
|
4145
|
+
disconnectedCallback() { }
|
|
4146
|
+
render() {
|
|
4147
|
+
const { states, callbacks } = isDemo()
|
|
4148
|
+
? useRegistrationDemo(this)
|
|
4149
|
+
: useInstantAccessRegistration(this);
|
|
4150
|
+
const content = {
|
|
4151
|
+
fraudErrorMessage: this.fraudErrorMessage,
|
|
4152
|
+
fraudErrorMessageTitle: this.fraudErrorMessageTitle,
|
|
4153
|
+
emailLabel: this.emailLabel,
|
|
4154
|
+
registerLabel: this.registerLabel,
|
|
4155
|
+
firstNameLabel: this.firstNameLabel,
|
|
4156
|
+
lastNameLabel: this.lastNameLabel,
|
|
4157
|
+
includeName: this.includeName,
|
|
4158
|
+
hideBorder: this.hideBorder,
|
|
4159
|
+
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4160
|
+
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4161
|
+
paddingTop: this.paddingTop,
|
|
4162
|
+
paddingBottom: this.paddingBottom,
|
|
4163
|
+
paddingLeft: this.paddingLeft,
|
|
4164
|
+
paddingRight: this.paddingRight,
|
|
4165
|
+
backgroundColor: this.backgroundColor,
|
|
4166
|
+
// slots
|
|
4167
|
+
topSlot: h$1("slot", { name: "top" }),
|
|
4168
|
+
bottomSlot: h$1("slot", { name: "bottom" }),
|
|
4169
|
+
};
|
|
4170
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
4171
|
+
}
|
|
4172
|
+
};
|
|
4173
|
+
function useRegistrationDemo(props) {
|
|
4174
|
+
const onSubmit = () => {
|
|
4175
|
+
setUserIdentity({
|
|
4176
|
+
id: "referrer@example.com",
|
|
4177
|
+
accountId: "referrer@example.com",
|
|
4178
|
+
jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
|
|
4179
|
+
});
|
|
4180
|
+
};
|
|
4181
|
+
return cjs({
|
|
4182
|
+
states: {
|
|
4183
|
+
error: "",
|
|
4184
|
+
loading: false,
|
|
4185
|
+
},
|
|
4186
|
+
callbacks: {
|
|
4187
|
+
submit: async (_event) => {
|
|
4188
|
+
onSubmit();
|
|
4189
|
+
},
|
|
4190
|
+
},
|
|
4191
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4192
|
+
}
|
|
4193
|
+
|
|
3420
4194
|
// canvas-confetti v1.4.0 built on 2021-03-10T12:32:33.488Z
|
|
3421
4195
|
var module = {};
|
|
3422
4196
|
|
|
@@ -4353,6 +5127,13 @@ const SqmRewardExchangeList = class {
|
|
|
4353
5127
|
* @uiName Cost row title
|
|
4354
5128
|
*/
|
|
4355
5129
|
this.costTitle = "Cost to Redeem";
|
|
5130
|
+
/**
|
|
5131
|
+
* @componentState { "title": "Choose reward", "props": { "redeemStage": "chooseReward" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5132
|
+
* @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5133
|
+
* @componentState { "title": "Confirm exchange", "props": { "redeemStage": "confirmation" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5134
|
+
* @componentState { "title": "Exchange successful", "props": { "redeemStage": "success" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5135
|
+
*/
|
|
5136
|
+
this.stateController = "{}";
|
|
4356
5137
|
h(this);
|
|
4357
5138
|
}
|
|
4358
5139
|
disconnectedCallback() { }
|
|
@@ -4372,6 +5153,10 @@ function EmptySlot$1() {
|
|
|
4372
5153
|
return (h$1("slot", { name: "empty" }, h$1("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
|
|
4373
5154
|
}
|
|
4374
5155
|
function useRewardExchangeListDemo(props) {
|
|
5156
|
+
const states = parseStates(props.stateController);
|
|
5157
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "reward-exchange-list"
|
|
5158
|
+
? { ...prev, ...states[key] }
|
|
5159
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4375
5160
|
return cjs({
|
|
4376
5161
|
states: {
|
|
4377
5162
|
content: {
|
|
@@ -4386,10 +5171,9 @@ function useRewardExchangeListDemo(props) {
|
|
|
4386
5171
|
queryError: false,
|
|
4387
5172
|
loading: false,
|
|
4388
5173
|
noExchangeOptions: false,
|
|
4389
|
-
empty: EmptySlot$1(),
|
|
4390
5174
|
},
|
|
4391
5175
|
data: {
|
|
4392
|
-
shareCode: "SHARECODE123",
|
|
5176
|
+
// shareCode: "SHARECODE123",
|
|
4393
5177
|
exchangeList: demoRewardExchange.data.exchangeList,
|
|
4394
5178
|
},
|
|
4395
5179
|
callbacks: {
|
|
@@ -4402,7 +5186,7 @@ function useRewardExchangeListDemo(props) {
|
|
|
4402
5186
|
refs: {
|
|
4403
5187
|
canvasRef: {},
|
|
4404
5188
|
},
|
|
4405
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5189
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4406
5190
|
}
|
|
4407
5191
|
|
|
4408
5192
|
const debug$1 = browser("sq:useRouter");
|
|
@@ -4414,7 +5198,7 @@ function matchPath(pattern, page) {
|
|
|
4414
5198
|
}
|
|
4415
5199
|
function useRouter() {
|
|
4416
5200
|
const location = kn();
|
|
4417
|
-
const host = _();
|
|
5201
|
+
const host = _$1();
|
|
4418
5202
|
const [slot, setSlot] = useState(undefined);
|
|
4419
5203
|
const [container, setContainer] = useState(undefined);
|
|
4420
5204
|
const page = location.pathname;
|
|
@@ -4505,8 +5289,8 @@ const ShareButton = class {
|
|
|
4505
5289
|
/**
|
|
4506
5290
|
* @uiType string
|
|
4507
5291
|
* @uiName Button style
|
|
4508
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4509
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
5292
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
5293
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4510
5294
|
*/
|
|
4511
5295
|
this.type = "default";
|
|
4512
5296
|
/**
|
|
@@ -4518,11 +5302,13 @@ const ShareButton = class {
|
|
|
4518
5302
|
this.iconslot = "prefix";
|
|
4519
5303
|
/**
|
|
4520
5304
|
* @uiName Hide icon
|
|
5305
|
+
* @uiGroup Style
|
|
4521
5306
|
* @default
|
|
4522
5307
|
*/
|
|
4523
5308
|
this.hideicon = false;
|
|
4524
5309
|
/**
|
|
4525
5310
|
* @uiName Hide text
|
|
5311
|
+
* @uiGroup Style
|
|
4526
5312
|
* @default
|
|
4527
5313
|
*/
|
|
4528
5314
|
this.hidetext = false;
|
|
@@ -4646,7 +5432,7 @@ const ShareCode = class {
|
|
|
4646
5432
|
*/
|
|
4647
5433
|
this.buttonStyle = "icon";
|
|
4648
5434
|
/**
|
|
4649
|
-
* The type of the button (primary or secondary)
|
|
5435
|
+
* The type of the button that is used (primary or secondary).
|
|
4650
5436
|
* @uiName Button Type
|
|
4651
5437
|
* @uiType string
|
|
4652
5438
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4721,7 +5507,7 @@ const ShareLink = class {
|
|
|
4721
5507
|
*/
|
|
4722
5508
|
this.copyButtonLabel = "Copy Link";
|
|
4723
5509
|
/**
|
|
4724
|
-
* The type of the button (primary or secondary)
|
|
5510
|
+
* The type of the button that is used (primary or secondary).
|
|
4725
5511
|
* @uiName Button Type
|
|
4726
5512
|
* @uiType string
|
|
4727
5513
|
* @uiEnum ["primary", "secondary"]
|
|
@@ -4788,12 +5574,29 @@ const StatContainer = class {
|
|
|
4788
5574
|
*/
|
|
4789
5575
|
this.space = "xxx-large";
|
|
4790
5576
|
/**
|
|
5577
|
+
* @undocumented
|
|
4791
5578
|
* @uiName Display
|
|
4792
5579
|
* @uiType string
|
|
4793
5580
|
* @uiEnum ["grid", "flex"]
|
|
4794
5581
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4795
5582
|
*/
|
|
4796
|
-
this.display = "
|
|
5583
|
+
this.display = "flex";
|
|
5584
|
+
/**
|
|
5585
|
+
* Controls the alignment of the flexbox
|
|
5586
|
+
*
|
|
5587
|
+
* @uiName Alignment
|
|
5588
|
+
* @uiType string
|
|
5589
|
+
* @uiEnum ["left", "right", "center"]
|
|
5590
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
5591
|
+
*/
|
|
5592
|
+
this.alignment = "center";
|
|
5593
|
+
/**
|
|
5594
|
+
* @uiName Gap
|
|
5595
|
+
* @uiType string
|
|
5596
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
5597
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
5598
|
+
*/
|
|
5599
|
+
this.gap = "x-large";
|
|
4797
5600
|
h(this);
|
|
4798
5601
|
}
|
|
4799
5602
|
disconnectedCallback() { }
|
|
@@ -4843,7 +5646,7 @@ function useTaskCard(props) {
|
|
|
4843
5646
|
textColor: props.textColor,
|
|
4844
5647
|
borderColor: props.borderColor,
|
|
4845
5648
|
borderRadius: props.borderRadius,
|
|
4846
|
-
|
|
5649
|
+
buttonType: props.buttonType,
|
|
4847
5650
|
},
|
|
4848
5651
|
};
|
|
4849
5652
|
return {
|
|
@@ -4969,7 +5772,7 @@ const TaskCard = class {
|
|
|
4969
5772
|
* @uiEnumNames ["Primary", "Secondary"]
|
|
4970
5773
|
* @uiGroup Style
|
|
4971
5774
|
*/
|
|
4972
|
-
this.
|
|
5775
|
+
this.buttonType = "primary";
|
|
4973
5776
|
h(this);
|
|
4974
5777
|
}
|
|
4975
5778
|
disconnectedCallback() { }
|
|
@@ -4981,7 +5784,6 @@ const TaskCard = class {
|
|
|
4981
5784
|
const { states, callbacks } = isDemo()
|
|
4982
5785
|
? useTaskCardDemo(this)
|
|
4983
5786
|
: useTaskCard(this);
|
|
4984
|
-
console.log("button style from controller", this.buttonStyle);
|
|
4985
5787
|
return (h$1(TaskCardView, { callbacks: callbacks, states: {
|
|
4986
5788
|
loading,
|
|
4987
5789
|
loadingEvent: states.loadingEvent,
|
|
@@ -4992,6 +5794,7 @@ const TaskCard = class {
|
|
|
4992
5794
|
};
|
|
4993
5795
|
function useTaskCardDemo(props) {
|
|
4994
5796
|
return cjs({
|
|
5797
|
+
content: { ...props },
|
|
4995
5798
|
states: { loadingEvent: false, locale: "en" },
|
|
4996
5799
|
callbacks: {
|
|
4997
5800
|
sendEvent: (event) => console.log(event),
|
|
@@ -5045,52 +5848,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
5045
5848
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
5046
5849
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
5047
5850
|
|
|
5048
|
-
const
|
|
5049
|
-
TimelineReward: {
|
|
5050
|
-
color: "var(--sqm-text)",
|
|
5051
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
5052
|
-
"& .container": {
|
|
5053
|
-
display: "flex",
|
|
5054
|
-
},
|
|
5055
|
-
"& .line": {
|
|
5056
|
-
display: "none",
|
|
5057
|
-
color: "transparent",
|
|
5058
|
-
userSelect: "none",
|
|
5059
|
-
background: "var(--sl-color-primary-300)",
|
|
5060
|
-
width: "4px",
|
|
5061
|
-
borderRadius: "4px",
|
|
5062
|
-
margin: "-2px",
|
|
5063
|
-
position: "relative",
|
|
5064
|
-
left: "12px",
|
|
5065
|
-
top: "34px",
|
|
5066
|
-
},
|
|
5067
|
-
"& .step": {
|
|
5068
|
-
display: "flex",
|
|
5069
|
-
},
|
|
5070
|
-
"& .icon": {
|
|
5071
|
-
position: "relative",
|
|
5072
|
-
top: "4px",
|
|
5073
|
-
zIndex: "1",
|
|
5074
|
-
color: "var(--sl-color-primary-300)",
|
|
5075
|
-
marginRight: "var(--sl-spacing-large)",
|
|
5076
|
-
},
|
|
5077
|
-
"& .reward": {
|
|
5078
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
5079
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
5080
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5081
|
-
},
|
|
5082
|
-
"& .unit": {
|
|
5083
|
-
textTransform: "uppercase",
|
|
5084
|
-
fontSize: "var(--sl-font-size-small)",
|
|
5085
|
-
},
|
|
5086
|
-
"& .description": {
|
|
5087
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
5088
|
-
},
|
|
5089
|
-
},
|
|
5090
|
-
};
|
|
5091
|
-
const sheet$4 = createStyleSheet(style$4);
|
|
5092
|
-
const styleString$4 = sheet$4.toString();
|
|
5093
|
-
const vanillaStyle$2 = `
|
|
5851
|
+
const vanillaStyle$3 = `
|
|
5094
5852
|
:host{
|
|
5095
5853
|
display: block;
|
|
5096
5854
|
}
|
|
@@ -5102,10 +5860,55 @@ const vanillaStyle$2 = `
|
|
|
5102
5860
|
function TimelineEntryView(props) {
|
|
5103
5861
|
var _a;
|
|
5104
5862
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5105
|
-
|
|
5863
|
+
const style = {
|
|
5864
|
+
TimelineReward: {
|
|
5865
|
+
color: props.textColor || "var(--sqm-text)",
|
|
5866
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
5867
|
+
"& .container": {
|
|
5868
|
+
display: "flex",
|
|
5869
|
+
},
|
|
5870
|
+
"& .line": {
|
|
5871
|
+
display: "none",
|
|
5872
|
+
color: "transparent",
|
|
5873
|
+
userSelect: "none",
|
|
5874
|
+
background: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5875
|
+
width: "4px",
|
|
5876
|
+
borderRadius: "4px",
|
|
5877
|
+
margin: "-2px",
|
|
5878
|
+
position: "relative",
|
|
5879
|
+
left: "12px",
|
|
5880
|
+
top: "34px",
|
|
5881
|
+
},
|
|
5882
|
+
"& .step": {
|
|
5883
|
+
display: "flex",
|
|
5884
|
+
},
|
|
5885
|
+
"& .icon": {
|
|
5886
|
+
position: "relative",
|
|
5887
|
+
top: "4px",
|
|
5888
|
+
zIndex: "1",
|
|
5889
|
+
color: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5890
|
+
marginRight: "var(--sl-spacing-large)",
|
|
5891
|
+
},
|
|
5892
|
+
"& .reward": {
|
|
5893
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
5894
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
5895
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5896
|
+
},
|
|
5897
|
+
"& .unit": {
|
|
5898
|
+
textTransform: "uppercase",
|
|
5899
|
+
fontSize: "var(--sl-font-size-small)",
|
|
5900
|
+
},
|
|
5901
|
+
"& .description": {
|
|
5902
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
5903
|
+
},
|
|
5904
|
+
},
|
|
5905
|
+
};
|
|
5906
|
+
const sheet = createStyleSheet(style);
|
|
5907
|
+
const styleString = sheet.toString();
|
|
5908
|
+
return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5106
5909
|
h$1("style", { type: "text/css" },
|
|
5107
|
-
styleString
|
|
5108
|
-
vanillaStyle$
|
|
5910
|
+
styleString,
|
|
5911
|
+
vanillaStyle$3),
|
|
5109
5912
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
5110
5913
|
h$1("div", { class: "line" }, "/"),
|
|
5111
5914
|
h$1("div", { class: "step" },
|
|
@@ -5195,4 +5998,4 @@ function useUserNameDemo(props) {
|
|
|
5195
5998
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5196
5999
|
}
|
|
5197
6000
|
|
|
5198
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
6001
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|