@saasquatch/mint-components 1.16.0-9 → 2.0.0-1
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/ErrorView-3f91e5ab.js +11 -0
- package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-a9845e80.js} +8 -8
- package/dist/cjs/IndirectTaxDetailsView-e5f70b8b.js +660 -0
- package/dist/cjs/{ShadowViewAddon-28865623.js → ShadowViewAddon-23b04c91.js} +1692 -1496
- package/dist/cjs/copy-text-view-51c8ee5d.js +122 -0
- package/dist/cjs/data-88adb95b.js +146 -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-e31dc4f5.js → global-8bba5b3a.js} +11840 -11561
- 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-7815f10f.js → mockRewardData-df37c8a3.js} +1 -1
- 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} +795 -2496
- package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-8847804c.js} +3 -3
- package/dist/cjs/{sqm-big-stat_43.cjs.entry.js → sqm-big-stat_46.cjs.entry.js} +1475 -382
- 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 +58 -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-lead-checkbox-field-view-34d94919.js → sqm-lead-checkbox-field-view-340acad0.js} +2 -2
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-lead-input-field-view-89308aab.js → sqm-lead-input-field-view-06ed3632.js} +3 -3
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +10 -10
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -7
- 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-4e88f774.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 +97 -70
- 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-7ebb426a.js → sqm-portal-email-verification-view-5518eb0d.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-761a4d8e.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-33164798.js → sqm-portal-profile-view-615e6975.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-637a4bf4.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-fe602822.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-7b678f34.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-15dfc0b6.js → sqm-qr-code-view-4ccf89da.js} +4 -9
- package/dist/cjs/sqm-qr-code.cjs.entry.js +14 -26
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +131 -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 +85 -38
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +21 -67
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13741 -12408
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +28 -13
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1313 -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/{useLeadFormState-c83d2034.js → useLeadFormState-fd0445f9.js} +7 -7
- package/dist/cjs/{usePayoutStatus-c84a7d98.js → usePayoutStatus-fe32dd1a.js} +49 -17
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-353f776a.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-0d3ac0fb.js} +4 -0
- package/dist/cjs/utils-83d125fa.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 -8
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +171 -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-card-feed/sqm-card-feed.js +2 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +7 -0
- 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 +170 -1
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +62 -3
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +5 -5
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -0
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +16 -8
- package/dist/collection/components/sqm-hero/sqm-hero.js +39 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +7 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +80 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +4 -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 +60 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +202 -36
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +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 +2 -1
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.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 +85 -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 +2 -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 -0
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +5 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +2 -1
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +1 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +3 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +12 -4
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +78 -3
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-qr-code/useQRCode.js +1 -13
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +9 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +34 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +81 -10
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +170 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +29 -1
- 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 +52 -17
- 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/sqm-referral-table.js +4 -1
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +3 -10
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +32 -6
- 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 +48 -49
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +83 -35
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +6 -5
- 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 +56 -7
- 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 +2 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +8 -6
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +4 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +1 -0
- package/dist/collection/components/sqm-router/sqm-router.js +2 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +23 -101
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +12 -24
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +57 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +170 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +25 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +173 -3
- 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 +112 -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 +17 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +30 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +8 -2
- 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 +138 -157
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +147 -4
- package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
- package/dist/collection/components/sqm-text/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +101 -48
- 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 +52 -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-timeline/sqm-timeline.js +3 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -0
- 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/TaxForm.stories.js +13 -8
- package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +9 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +23 -73
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +11 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +5 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +21 -76
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +59 -72
- 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 +6 -4
- 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 +59 -54
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +64 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +44 -12
- 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 +130 -25
- 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 +51 -20
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +113 -44
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +23 -12
- 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 +17 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +183 -56
- 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 +7 -5
- package/dist/collection/components/views/copy-text-view.js +65 -39
- 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 +8 -8
- package/dist/collection/global/styles.js +334 -102
- package/dist/collection/global/styles.ts +434 -102
- package/dist/collection/insertfont.js +18 -0
- package/dist/collection/stories/PortalTemplates.stories.js +22 -30
- package/dist/collection/tables/GenericTableView.js +6 -6
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/ErrorView-bbf0a042.js +9 -0
- package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e43d310f.js} +8 -8
- package/dist/esm/IndirectTaxDetailsView-0a57b622.js +653 -0
- package/dist/esm/{ShadowViewAddon-f2176779.js → ShadowViewAddon-c0bd62f7.js} +1689 -1493
- package/dist/esm/copy-text-view-83b09456.js +120 -0
- package/dist/esm/data-807686c2.js +130 -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-be1f9992.js → global-1099f20d.js} +11864 -11586
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-c9811a48.js} +154 -154
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/{mockRewardData-a3cdb832.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-7e22fb0d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +651 -2345
- package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-193f1721.js} +3 -3
- package/dist/esm/{sqm-big-stat_43.entry.js → sqm-big-stat_46.entry.js} +1371 -281
- 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 +55 -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-lead-checkbox-field-view-a8c1c78e.js → sqm-lead-checkbox-field-view-cbafee07.js} +2 -2
- package/dist/esm/sqm-lead-checkbox-field.entry.js +7 -7
- package/dist/esm/{sqm-lead-input-field-view-4ede5d7f.js → sqm-lead-input-field-view-f3775c28.js} +3 -3
- package/dist/esm/sqm-lead-input-field.entry.js +8 -8
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
- 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-5a452423.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 +91 -64
- 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-35b4353b.js → sqm-portal-email-verification-view-7d86299c.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-7e49609a.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-93003974.js → sqm-portal-profile-view-3ed13e4d.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-3c1f6000.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-54a8651f.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-b12cb894.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-f1d0763b.js → sqm-qr-code-view-ea505213.js} +4 -9
- package/dist/esm/sqm-qr-code.entry.js +8 -20
- package/dist/esm/sqm-referral-table_11.entry.js +120 -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 +73 -26
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +20 -66
- package/dist/esm/sqm-stencilbook.entry.js +13818 -12485
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +25 -10
- package/dist/esm/sqm-tax-and-cash.entry.js +1309 -0
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
- package/dist/esm/sqm-widget-verification.entry.js +22 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-3d872cef.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
- package/dist/esm/{useLeadFormState-9016d812.js → useLeadFormState-c379e5d7.js} +4 -4
- package/dist/esm/{usePayoutStatus-f07bcf90.js → usePayoutStatus-42cc6a2c.js} +46 -14
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-95814943.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-c2e809cf.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-909ccb28.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-24d594ea.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-55e0e98f.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-72c07b09.js} +2 -2
- package/dist/esm/utils-6122971b.js +97 -0
- package/dist/esm/{utils-334c1e34.js → utils-84b4b092.js} +4 -0
- package/dist/esm-es5/ErrorView-bbf0a042.js +1 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-0a57b622.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-c0bd62f7.js +1 -0
- package/dist/esm-es5/copy-text-view-83b09456.js +1 -0
- package/dist/esm-es5/data-807686c2.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-be1f9992.js → global-1099f20d.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-c9811a48.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/{mockRewardData-a3cdb832.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-7e22fb0d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_46.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-lead-checkbox-field-view-a8c1c78e.js → sqm-lead-checkbox-field-view-cbafee07.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-4ede5d7f.js → sqm-lead-input-field-view-f3775c28.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- 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-5a452423.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-35b4353b.js → sqm-portal-email-verification-view-7d86299c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-3ed13e4d.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-3c1f6000.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-54a8651f.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-b12cb894.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-f1d0763b.js → sqm-qr-code-view-ea505213.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-3d872cef.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-dda1f52b.js +1 -0
- package/dist/esm-es5/useLeadFormState-c379e5d7.js +1 -0
- package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +6 -0
- package/dist/esm-es5/usePortalLogin-95814943.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-1eb3cd72.js +1 -0
- package/dist/esm-es5/useReferralCodes-c2e809cf.js +1 -0
- package/dist/esm-es5/useReferralTable-909ccb28.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-24d594ea.js +1 -0
- package/dist/esm-es5/useVerificationEmail-55e0e98f.js +1 -0
- package/dist/esm-es5/utilities-72c07b09.js +1 -0
- package/dist/esm-es5/utils-6122971b.js +1 -0
- package/dist/esm-es5/utils-84b4b092.js +1 -0
- package/dist/mint-components/global/styles.ts +434 -102
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-0087ad39.system.js +1 -0
- package/dist/mint-components/{p-bbcd824a.js → p-00bc7211.js} +1 -1
- package/dist/mint-components/{p-50c902ca.system.entry.js → p-06f13966.system.entry.js} +1 -1
- package/dist/mint-components/{p-f940190a.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-0caad0db.entry.js +144 -0
- package/dist/mint-components/{p-48c69c2d.entry.js → p-0d21194c.entry.js} +1 -1
- package/dist/mint-components/p-0d71303d.js +1 -0
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-0ea4d6a1.system.entry.js} +1 -1
- package/dist/mint-components/p-0ec54f97.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- package/dist/mint-components/p-13e66b37.system.entry.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-171310d9.system.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/{p-5c28406d.system.entry.js → p-1c6ef258.system.entry.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/{p-b287833c.system.entry.js → p-22a9114f.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-2623b232.system.entry.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/p-29398c98.entry.js +1 -0
- package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
- package/dist/mint-components/{p-d07f3090.entry.js → p-29f0c87d.entry.js} +1 -1
- package/dist/mint-components/p-2ff72acc.entry.js +16 -0
- package/dist/mint-components/p-35081b0c.system.entry.js +1 -0
- package/dist/mint-components/{p-44891949.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/{p-7a9290ba.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-402984b3.system.entry.js +1 -0
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/p-4250b06d.entry.js +1 -0
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-ff8b8067.entry.js → p-4306a11d.entry.js} +1 -1
- package/dist/mint-components/{p-a2fde301.entry.js → p-433e7458.entry.js} +1 -1
- package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-43d9c1c5.system.entry.js} +1 -1
- package/dist/mint-components/p-45c3ff6d.js +1 -0
- package/dist/mint-components/{p-938f64d9.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-10d17989.entry.js → p-47c83656.entry.js} +1 -1
- package/dist/mint-components/{p-c0f19490.js → p-49400aab.js} +2 -2
- package/dist/mint-components/p-4965dae4.system.js +1 -0
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/p-4b9976cc.system.js +1 -0
- package/dist/mint-components/p-4c811d12.entry.js +13 -0
- package/dist/mint-components/{p-2f101bae.entry.js → p-4c9d80e4.entry.js} +1 -1
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-00df0cac.js → p-4fed8672.js} +1 -1
- package/dist/mint-components/p-511c87ce.system.entry.js +1 -0
- package/dist/mint-components/p-513f5d80.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-55eaba8e.system.entry.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/{p-cd569259.system.js → p-60465a2d.system.js} +1 -1
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-60f1cca2.system.js +1 -0
- package/dist/mint-components/p-61157c6a.entry.js +11 -0
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.js +1 -0
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-99ad7d56.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-b75bb6e3.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/{p-f0772618.system.entry.js → p-66cf70f7.system.entry.js} +1 -1
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-67aa0b2d.entry.js} +1 -1
- package/dist/mint-components/p-67ad2252.system.js +1 -0
- package/dist/mint-components/{p-91ab3da1.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-6b0f79d1.system.entry.js +1 -0
- package/dist/mint-components/{p-8175e85f.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/p-6d5bd95a.js +1 -0
- package/dist/mint-components/{p-9ec99ced.js → p-6dc742bc.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-05f29f64.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/p-74f43a08.system.js +1 -0
- package/dist/mint-components/p-75b8fd75.entry.js +1 -0
- package/dist/mint-components/p-7602eb6a.entry.js +1 -0
- package/dist/mint-components/p-76d4ef41.entry.js +1 -0
- package/dist/mint-components/{p-6bb25c02.js → p-7837f69e.js} +18 -3
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ba44ca9.js → p-79a3344f.js} +1 -1
- package/dist/mint-components/p-7a268047.js +1 -0
- package/dist/mint-components/p-7b8232f8.system.js +6 -0
- package/dist/mint-components/p-7b8cd420.system.entry.js +1 -0
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/p-7bae9bb7.system.entry.js +1 -0
- package/dist/mint-components/p-7d735c9c.js +448 -0
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-84d1041d.system.entry.js} +1 -1
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8c3c4e92.js +112 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-ae1ea5ac.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-916a2045.system.entry.js +1 -0
- package/dist/mint-components/p-92a54b0c.entry.js +1 -0
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -0
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/p-978d06ab.entry.js +1 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/{p-3f7b81b8.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9eba8408.js +1 -0
- package/dist/mint-components/p-a0730259.entry.js +99 -0
- package/dist/mint-components/p-a38dd63f.system.entry.js +1 -0
- package/dist/mint-components/p-a44a912b.entry.js +1 -0
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a4e8eb33.entry.js +1 -0
- package/dist/mint-components/p-a513c1a6.js +1 -0
- package/dist/mint-components/p-a597b136.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-a8c86cd8.system.entry.js +1 -0
- package/dist/mint-components/p-a9ad7fb2.system.entry.js +1 -0
- package/dist/mint-components/{p-0d182dc1.system.js → p-aa08457e.system.js} +1 -1
- package/dist/mint-components/p-aa8c6332.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-ab018deb.entry.js} +2 -2
- package/dist/mint-components/p-ad4348c3.system.js +1 -0
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/p-b1eafaae.entry.js +25 -0
- package/dist/mint-components/p-b487cb00.system.entry.js +1 -0
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-b55002dc.system.entry.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b703c89f.system.entry.js +1 -0
- package/dist/mint-components/p-b8d3fb57.entry.js +273 -0
- package/dist/mint-components/p-bb452830.system.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/p-bcac83f0.system.js +1 -0
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-bfd77a07.entry.js} +1 -1
- package/dist/mint-components/p-c065057d.entry.js +17 -0
- package/dist/mint-components/p-c210374a.system.js +1 -0
- package/dist/mint-components/{p-d6831af5.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c531cc75.entry.js +1 -0
- package/dist/mint-components/p-c5fea579.system.entry.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-c6fa4cc5.system.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/p-c85f204b.system.js +1 -0
- package/dist/mint-components/{p-90fc6774.system.entry.js → p-c86f64ad.system.entry.js} +1 -1
- package/dist/mint-components/{p-95b88eb6.system.js → p-c994512c.system.js} +1 -1
- package/dist/mint-components/{p-0b4cac9f.system.entry.js → p-cb845a3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-cc8ca3ff.system.entry.js} +1 -1
- package/dist/mint-components/p-cf22cf56.entry.js +1 -0
- package/dist/mint-components/p-cf4e1709.entry.js +1 -0
- package/dist/mint-components/{p-0d2d0b6d.entry.js → p-d08bcd88.entry.js} +1 -1
- package/dist/mint-components/{p-a71b9154.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/p-d399b343.system.entry.js +1 -0
- package/dist/mint-components/{p-8c0b7881.system.entry.js → p-d4edce6c.system.entry.js} +1 -1
- package/dist/mint-components/p-db1a0db1.js +1233 -0
- package/dist/mint-components/p-dcc50d90.entry.js +1 -0
- package/dist/mint-components/p-dd30354a.system.entry.js +1 -0
- package/dist/mint-components/{p-91959fbe.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-bdb7d451.system.js → p-e0a724dd.system.js} +21 -21
- package/dist/mint-components/{p-2d52e2d7.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/{p-4e526a94.js → p-e711d0e9.js} +1 -1
- package/dist/mint-components/{p-7f80a9d7.entry.js → p-ea063d99.entry.js} +1 -1
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/p-eba70d67.system.entry.js +1 -0
- package/dist/mint-components/p-ecc84140.system.entry.js +1 -0
- package/dist/mint-components/p-ed16b35a.js +1 -0
- package/dist/mint-components/p-ee92a728.system.entry.js +1 -0
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/{p-01dd541f.system.js → p-f0eae4e6.system.js} +1 -1
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/p-f1f6a13d.system.js +1 -0
- package/dist/mint-components/p-f370bddc.entry.js +13 -0
- package/dist/mint-components/{p-4e451f75.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/{p-284e4ed5.entry.js → p-f7c0877d.entry.js} +1 -1
- package/dist/mint-components/p-f860e7f1.entry.js +9 -0
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-ff0e1564.system.js} +1 -1
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +47 -1
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +2 -0
- 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 +43 -0
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +15 -0
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +9 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +20 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +2 -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 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +53 -11
- 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-name-fields/sqm-name-fields.d.ts +1 -1
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.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 +16 -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-change-password/sqm-portal-change-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +3 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +21 -3
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +25 -2
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +43 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -0
- 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 +3 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +2 -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 +10 -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 +2 -1
- 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 +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +3 -2
- 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 +2 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -8
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +19 -6
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +43 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +2 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +44 -1
- 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 +25 -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 +10 -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 +5 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +33 -4
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
- package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +13 -0
- 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 +14 -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-timeline/sqm-timeline.d.ts +3 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -0
- 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/TaxForm.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +9 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -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-view.d.ts +4 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +12 -3
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +23 -6
- 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 +4 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +16 -8
- 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/views/copy-text-view.d.ts +5 -0
- package/dist/types/components.d.ts +1288 -120
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +10 -2
- package/dist/types/insertfont.d.ts +1 -0
- package/dist/types/saasquatch.d.ts +142 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/shoelace/assets/icons/twitter-x.svg +4 -0
- package/dist/cjs/ErrorView-b2fcf954.js +0 -35
- package/dist/cjs/copy-text-view-c85acaaa.js +0 -96
- 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-5c74607f.js +0 -2074
- package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
- package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password-view-78f19ef9.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +0 -127
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
- package/dist/cjs/sqm-text-span-view-0aa82125.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/copy-text-view-782137ba.js +0 -94
- 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-3491dd80.js +0 -2058
- package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
- package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
- package/dist/esm/sqm-portal-forgot-password-view-3d3182f1.js +0 -43
- package/dist/esm/sqm-portal-forgot-password.entry.js +0 -123
- package/dist/esm/sqm-referred-registration.entry.js +0 -174
- package/dist/esm/sqm-text-span-view-ca32495e.js +0 -60
- package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
- package/dist/esm-es5/GenericTableView-7b9087af.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-f2176779.js +0 -1
- package/dist/esm-es5/copy-text-view-782137ba.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_43.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-3491dd80.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-3d3182f1.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +0 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-ca32495e.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/useLeadFormState-9016d812.js +0 -1
- package/dist/esm-es5/usePayoutStatus-f07bcf90.js +0 -6
- 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-01a851f7.system.entry.js +0 -1
- package/dist/mint-components/p-0309fdfa.entry.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-0c78815e.system.entry.js +0 -1
- package/dist/mint-components/p-0c9debc1.system.js +0 -6
- package/dist/mint-components/p-0d939b73.system.js +0 -1
- package/dist/mint-components/p-0ebab63e.system.js +0 -1
- package/dist/mint-components/p-12bba567.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-18425f38.system.entry.js +0 -1
- package/dist/mint-components/p-1870ab08.system.entry.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
- package/dist/mint-components/p-1d704c40.system.js +0 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
- package/dist/mint-components/p-21620f81.system.entry.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-267c8f8c.entry.js +0 -144
- 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-2da21ba4.entry.js +0 -1
- package/dist/mint-components/p-2dca9e1a.system.js +0 -1
- package/dist/mint-components/p-31015791.js +0 -1
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-37996351.system.js +0 -1
- package/dist/mint-components/p-37a4452c.system.entry.js +0 -1
- package/dist/mint-components/p-380bfde1.entry.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-3b90e01b.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-3f6e0197.system.entry.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-42187319.system.entry.js +0 -1
- package/dist/mint-components/p-4428294b.entry.js +0 -1
- package/dist/mint-components/p-4794641c.system.js +0 -1
- package/dist/mint-components/p-48135f99.system.js +0 -53
- package/dist/mint-components/p-492b70db.system.js +0 -1
- package/dist/mint-components/p-49932f12.system.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-53730ffe.entry.js +0 -17
- package/dist/mint-components/p-5cb7f9fc.system.entry.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-609613e8.entry.js +0 -205
- package/dist/mint-components/p-626e9e84.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-63a75798.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-65069b66.js +0 -1248
- package/dist/mint-components/p-653f963f.entry.js +0 -13
- 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-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-7846937e.entry.js +0 -13
- package/dist/mint-components/p-7893e7d1.entry.js +0 -9
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-837a0fdd.js +0 -1
- package/dist/mint-components/p-85671c3d.system.entry.js +0 -1
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-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-986d4c17.system.entry.js +0 -1
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-aad32fb6.system.js +0 -1
- package/dist/mint-components/p-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-b7d1469d.system.entry.js +0 -1
- package/dist/mint-components/p-b82e1935.system.entry.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-c1b074b6.js +0 -394
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-c9f1dde7.js +0 -1
- package/dist/mint-components/p-cb7bdbe4.entry.js +0 -1
- package/dist/mint-components/p-cbbfac66.entry.js +0 -25
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-d8ea88f9.entry.js +0 -273
- package/dist/mint-components/p-da7708a7.entry.js +0 -1
- package/dist/mint-components/p-dbcb5359.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-ddcf4a9e.system.entry.js +0 -1
- package/dist/mint-components/p-e07bc6c4.system.js +0 -1
- package/dist/mint-components/p-e5a5ae7f.system.entry.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-e8e48982.js +0 -1
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f56bedd5.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/mint-components/p-f7c99803.system.js +0 -1
- package/dist/mint-components/p-f98a4354.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
|
@@ -1,28 +1,377 @@
|
|
|
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-1099f20d.js';
|
|
3
|
+
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, 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, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn } from './index.module-c9811a48.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps, a as getMissingProps } from './utils-
|
|
7
|
+
import { g as getProps, a as getMissingProps } from './utils-84b4b092.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './useReferralCodes-
|
|
10
|
-
import './mixins-
|
|
11
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
12
|
-
import { a as useRequestRerender } from './re-render-
|
|
13
|
-
import { u as useChildElements } from './useChildElements-
|
|
14
|
-
import './luxon-
|
|
15
|
-
import './sqm-text-span-view-
|
|
9
|
+
import './useReferralCodes-c2e809cf.js';
|
|
10
|
+
import './mixins-f750863a.js';
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-83b09456.js';
|
|
12
|
+
import { a as useRequestRerender } from './re-render-7e22fb0d.js';
|
|
13
|
+
import { u as useChildElements } from './useChildElements-3d872cef.js';
|
|
14
|
+
import './luxon-bbf75a9d.js';
|
|
15
|
+
import './sqm-text-span-view-4c17b8c9.js';
|
|
16
16
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
|
-
import {
|
|
18
|
-
import { R as
|
|
19
|
-
import {
|
|
20
|
-
import { u as
|
|
17
|
+
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-24d594ea.js';
|
|
19
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
|
|
20
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-c379e5d7.js';
|
|
21
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
22
|
+
import { u as usePortalLogin } from './usePortalLogin-95814943.js';
|
|
21
23
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
22
|
-
import { i as isEmpty } from './utilities-
|
|
23
|
-
import {
|
|
24
|
-
import './sqm-portal-container-view-
|
|
25
|
-
import {
|
|
24
|
+
import { i as isEmpty } from './utilities-72c07b09.js';
|
|
25
|
+
import { u as useDemoBigStat, W 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 LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-c0bd62f7.js';
|
|
26
|
+
import './sqm-portal-container-view-176e92e3.js';
|
|
27
|
+
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
28
|
+
import { u as usePayoutStatus } from './usePayoutStatus-42cc6a2c.js';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* Themes
|
|
33
|
+
*
|
|
34
|
+
* Export only valid CSS. Those will be injected into style tags.
|
|
35
|
+
*
|
|
36
|
+
* Useful links:
|
|
37
|
+
* - https://brandcolors.net/
|
|
38
|
+
* - Shoelace color generator: https://codepen.io/claviska/full/QWveRgL
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
// @ts-nocheck
|
|
42
|
+
const Default = null;
|
|
43
|
+
const Netflix = {
|
|
44
|
+
main: {
|
|
45
|
+
brandFont: "Netflix Sans, Arial, sans-serif",
|
|
46
|
+
brandColor: "#E50914",
|
|
47
|
+
},
|
|
48
|
+
border: {
|
|
49
|
+
borderColor: "#333333",
|
|
50
|
+
borderRadius: 4,
|
|
51
|
+
borderThickness: 1,
|
|
52
|
+
},
|
|
53
|
+
color: {
|
|
54
|
+
textColorShades: {
|
|
55
|
+
mainText: "white",
|
|
56
|
+
subduedText: "#B3B3B3",
|
|
57
|
+
},
|
|
58
|
+
backgroundColor: "#101010",
|
|
59
|
+
accentColorShades: {
|
|
60
|
+
text: "#E50914",
|
|
61
|
+
icon: "#E50914",
|
|
62
|
+
border: "#E50914",
|
|
63
|
+
background: "#300609",
|
|
64
|
+
},
|
|
65
|
+
success: {
|
|
66
|
+
text: "#66BB6A",
|
|
67
|
+
border: "#4CAF50",
|
|
68
|
+
background: "#1B5E20",
|
|
69
|
+
iconAndBadge: "#4CAF50",
|
|
70
|
+
},
|
|
71
|
+
warning: {
|
|
72
|
+
text: "#FFCA28",
|
|
73
|
+
border: "#FFA726",
|
|
74
|
+
background: "#F57C00",
|
|
75
|
+
iconAndBadge: "#FFA726",
|
|
76
|
+
},
|
|
77
|
+
critical: {
|
|
78
|
+
text: "#EF9A9A",
|
|
79
|
+
border: "#E50914",
|
|
80
|
+
background: "#B71C1C",
|
|
81
|
+
iconAndBadge: "#E50914",
|
|
82
|
+
},
|
|
83
|
+
informative: {
|
|
84
|
+
text: "#64B5F6",
|
|
85
|
+
border: "#42A5F5",
|
|
86
|
+
background: "#1976D2",
|
|
87
|
+
iconAndBadge: "#42A5F5",
|
|
88
|
+
},
|
|
89
|
+
neutral: {
|
|
90
|
+
text: "white",
|
|
91
|
+
iconAndBadge: "#B3B3B3",
|
|
92
|
+
border: "#333333",
|
|
93
|
+
background: "#222222",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
primaryButton: {
|
|
97
|
+
buttonColor: {
|
|
98
|
+
background: "#E50914",
|
|
99
|
+
border: "transparent",
|
|
100
|
+
label: "#FFFFFF",
|
|
101
|
+
},
|
|
102
|
+
buttonHoverColor: {
|
|
103
|
+
background: "#CC0000",
|
|
104
|
+
border: "transparent",
|
|
105
|
+
label: "#FFFFFF",
|
|
106
|
+
},
|
|
107
|
+
borderRadius: 4,
|
|
108
|
+
},
|
|
109
|
+
secondaryButton: {
|
|
110
|
+
buttonColor: {
|
|
111
|
+
background: "transparent",
|
|
112
|
+
border: "#B3B3B3",
|
|
113
|
+
label: "#FFFFFF",
|
|
114
|
+
},
|
|
115
|
+
buttonHoverColor: {
|
|
116
|
+
background: "#333333",
|
|
117
|
+
border: "#B3B3B3",
|
|
118
|
+
label: "#FFFFFF",
|
|
119
|
+
},
|
|
120
|
+
borderRadius: 4,
|
|
121
|
+
},
|
|
122
|
+
formFields: {
|
|
123
|
+
formFieldColor: {
|
|
124
|
+
background: "#222222",
|
|
125
|
+
border: "#B3B3B3",
|
|
126
|
+
inputText: "#B3B3B3",
|
|
127
|
+
},
|
|
128
|
+
hoverStateColor: "#777777",
|
|
129
|
+
selectedStateColor: "#E50914",
|
|
130
|
+
borderRadius: 4,
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
const Amazon = {
|
|
134
|
+
main: {
|
|
135
|
+
brandFont: "Amazon Ember, Arial, sans-serif",
|
|
136
|
+
brandColor: "#FF9900",
|
|
137
|
+
},
|
|
138
|
+
border: {
|
|
139
|
+
borderColor: "#D5D9D9",
|
|
140
|
+
borderRadius: 4,
|
|
141
|
+
borderThickness: 1,
|
|
142
|
+
},
|
|
143
|
+
color: {
|
|
144
|
+
backgroundColor: "#ffffff",
|
|
145
|
+
textColorShades: {
|
|
146
|
+
mainText: "#2f2f2f",
|
|
147
|
+
subduedText: "#565959",
|
|
148
|
+
},
|
|
149
|
+
accentColorShades: {
|
|
150
|
+
text: "#FF9900",
|
|
151
|
+
icon: "#FF9900",
|
|
152
|
+
border: "#FFBF66",
|
|
153
|
+
background: "#FFF4DD",
|
|
154
|
+
},
|
|
155
|
+
success: {
|
|
156
|
+
text: "#198754",
|
|
157
|
+
border: "#BCE8B2",
|
|
158
|
+
background: "#D4EDDA",
|
|
159
|
+
iconAndBadge: "#28A745",
|
|
160
|
+
},
|
|
161
|
+
warning: {
|
|
162
|
+
text: "#856404",
|
|
163
|
+
border: "#FFEBA2",
|
|
164
|
+
background: "#FFF3CD",
|
|
165
|
+
iconAndBadge: "#FFC107",
|
|
166
|
+
},
|
|
167
|
+
critical: {
|
|
168
|
+
text: "#721C24",
|
|
169
|
+
border: "#F5C6CB",
|
|
170
|
+
background: "#F8D7DA",
|
|
171
|
+
iconAndBadge: "#DC3545",
|
|
172
|
+
},
|
|
173
|
+
informative: {
|
|
174
|
+
text: "#004085",
|
|
175
|
+
border: "#B8DAFF",
|
|
176
|
+
background: "#CCE5FF",
|
|
177
|
+
iconAndBadge: "#007BFF",
|
|
178
|
+
},
|
|
179
|
+
neutral: {
|
|
180
|
+
text: "#232F3E",
|
|
181
|
+
iconAndBadge: "#565959",
|
|
182
|
+
border: "#D5D9D9",
|
|
183
|
+
background: "#F0F2F2",
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
primaryButton: {
|
|
187
|
+
buttonColor: {
|
|
188
|
+
background: "#FF9900",
|
|
189
|
+
border: "transparent",
|
|
190
|
+
label: "#FFFFFF",
|
|
191
|
+
},
|
|
192
|
+
buttonHoverColor: {
|
|
193
|
+
background: "#EB9100",
|
|
194
|
+
border: "transparent",
|
|
195
|
+
label: "#FFFFFF",
|
|
196
|
+
},
|
|
197
|
+
borderRadius: 4,
|
|
198
|
+
},
|
|
199
|
+
secondaryButton: {
|
|
200
|
+
buttonColor: {
|
|
201
|
+
background: "#FFFFFF",
|
|
202
|
+
border: "#888C8C",
|
|
203
|
+
label: "#232F3E",
|
|
204
|
+
},
|
|
205
|
+
buttonHoverColor: {
|
|
206
|
+
background: "#F0F2F2",
|
|
207
|
+
border: "#888C8C",
|
|
208
|
+
label: "#232F3E",
|
|
209
|
+
},
|
|
210
|
+
borderRadius: 4,
|
|
211
|
+
},
|
|
212
|
+
formFields: {
|
|
213
|
+
formFieldColor: {
|
|
214
|
+
background: "#FFFFFF",
|
|
215
|
+
border: "#D5D9D9",
|
|
216
|
+
inputText: "#2f2f2f",
|
|
217
|
+
},
|
|
218
|
+
borderRadius: 4,
|
|
219
|
+
hoverStateColor: "#A2A2A2",
|
|
220
|
+
selectedStateColor: "#007185",
|
|
221
|
+
},
|
|
222
|
+
};
|
|
223
|
+
const Spotify = {
|
|
224
|
+
main: {
|
|
225
|
+
brandColor: "#1ed760",
|
|
226
|
+
},
|
|
227
|
+
border: {
|
|
228
|
+
borderColor: "#f4f4f4",
|
|
229
|
+
borderRadius: 18,
|
|
230
|
+
borderThickness: 1,
|
|
231
|
+
},
|
|
232
|
+
color: {
|
|
233
|
+
textColorShades: {
|
|
234
|
+
mainText: "white",
|
|
235
|
+
subduedText: "white",
|
|
236
|
+
},
|
|
237
|
+
backgroundColor: "#121212",
|
|
238
|
+
accentColorShades: {
|
|
239
|
+
icon: "#1ed760",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
primaryButton: {
|
|
243
|
+
buttonColor: {
|
|
244
|
+
background: "#1ed760",
|
|
245
|
+
border: "transparent",
|
|
246
|
+
label: "#121212",
|
|
247
|
+
},
|
|
248
|
+
buttonHoverColor: {
|
|
249
|
+
background: "#1DB954",
|
|
250
|
+
border: "transparent",
|
|
251
|
+
label: "#121212",
|
|
252
|
+
},
|
|
253
|
+
borderRadius: 30,
|
|
254
|
+
},
|
|
255
|
+
secondaryButton: {
|
|
256
|
+
buttonColor: {
|
|
257
|
+
background: "#191414",
|
|
258
|
+
border: "#FFFFFF",
|
|
259
|
+
label: "#FFFFFF",
|
|
260
|
+
},
|
|
261
|
+
buttonHoverColor: {
|
|
262
|
+
background: "#282828",
|
|
263
|
+
border: "#FFFFFF",
|
|
264
|
+
label: "#121212",
|
|
265
|
+
},
|
|
266
|
+
borderRadius: 30,
|
|
267
|
+
},
|
|
268
|
+
formFields: {
|
|
269
|
+
formFieldColor: {
|
|
270
|
+
background: "#121212",
|
|
271
|
+
border: "#7c7c7c",
|
|
272
|
+
inputText: "#fff",
|
|
273
|
+
},
|
|
274
|
+
borderRadius: 30,
|
|
275
|
+
hoverStateColor: "white",
|
|
276
|
+
selectedStateColor: "white",
|
|
277
|
+
},
|
|
278
|
+
};
|
|
279
|
+
const Google = {
|
|
280
|
+
main: { brandColor: "#4285F4", brandFont: "Roboto, Arial, sans-serif" },
|
|
281
|
+
border: {
|
|
282
|
+
borderColor: "#DADCE0",
|
|
283
|
+
borderRadius: 4,
|
|
284
|
+
borderThickness: 1,
|
|
285
|
+
},
|
|
286
|
+
color: {
|
|
287
|
+
textColorShades: {
|
|
288
|
+
mainText: "#212124",
|
|
289
|
+
subduedText: "#5F6368",
|
|
290
|
+
},
|
|
291
|
+
backgroundColor: "#FFFFFF",
|
|
292
|
+
accentColorShades: {
|
|
293
|
+
text: "#1A73E8",
|
|
294
|
+
border: "#8AB4F8",
|
|
295
|
+
background: "#E8F0FE",
|
|
296
|
+
icon: "#4285F4",
|
|
297
|
+
},
|
|
298
|
+
success: {
|
|
299
|
+
text: "#044e1d",
|
|
300
|
+
border: "#A8DCD7",
|
|
301
|
+
background: "#E6F4EA",
|
|
302
|
+
iconAndBadge: "#34A853",
|
|
303
|
+
},
|
|
304
|
+
warning: {
|
|
305
|
+
text: "#996a3d",
|
|
306
|
+
border: "#FCD667",
|
|
307
|
+
background: "#FFF7EE",
|
|
308
|
+
iconAndBadge: "#FBBC04",
|
|
309
|
+
},
|
|
310
|
+
critical: {
|
|
311
|
+
text: "#760b09",
|
|
312
|
+
border: "#F28B82",
|
|
313
|
+
background: "#FCE8E6",
|
|
314
|
+
iconAndBadge: "#EA4335",
|
|
315
|
+
},
|
|
316
|
+
informative: {
|
|
317
|
+
text: "#01368c",
|
|
318
|
+
border: "#BFDBFE",
|
|
319
|
+
background: "#E8F0FE",
|
|
320
|
+
iconAndBadge: "#4285F4",
|
|
321
|
+
},
|
|
322
|
+
neutral: {
|
|
323
|
+
text: "#202124",
|
|
324
|
+
border: "#DADCE0",
|
|
325
|
+
background: "#F8F9FA",
|
|
326
|
+
iconAndBadge: "#5F6368",
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
primaryButton: {
|
|
330
|
+
buttonColor: {
|
|
331
|
+
background: "#4285F4",
|
|
332
|
+
border: "transparent",
|
|
333
|
+
label: "#FFFFFF",
|
|
334
|
+
},
|
|
335
|
+
buttonHoverColor: {
|
|
336
|
+
background: "#3C7CD1",
|
|
337
|
+
border: "transparent",
|
|
338
|
+
label: "#FFFFFF",
|
|
339
|
+
},
|
|
340
|
+
borderRadius: 4,
|
|
341
|
+
},
|
|
342
|
+
secondaryButton: {
|
|
343
|
+
buttonColor: {
|
|
344
|
+
background: "#FFFFFF",
|
|
345
|
+
border: "#DADCE0",
|
|
346
|
+
label: "#4285F4",
|
|
347
|
+
},
|
|
348
|
+
buttonHoverColor: {
|
|
349
|
+
background: "#E8F0FE",
|
|
350
|
+
border: "#DADCE0",
|
|
351
|
+
label: "#4285F4",
|
|
352
|
+
},
|
|
353
|
+
borderRadius: 4,
|
|
354
|
+
},
|
|
355
|
+
formFields: {
|
|
356
|
+
formFieldColor: {
|
|
357
|
+
background: "#FFFFFF",
|
|
358
|
+
border: "#DADCE0",
|
|
359
|
+
inputText: "#202124",
|
|
360
|
+
},
|
|
361
|
+
borderRadius: 4,
|
|
362
|
+
hoverStateColor: "#9AA0A6",
|
|
363
|
+
selectedStateColor: "#4285F4",
|
|
364
|
+
},
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
const Themes = /*#__PURE__*/Object.freeze({
|
|
368
|
+
__proto__: null,
|
|
369
|
+
Default: Default,
|
|
370
|
+
Netflix: Netflix,
|
|
371
|
+
Amazon: Amazon,
|
|
372
|
+
Spotify: Spotify,
|
|
373
|
+
Google: Google
|
|
374
|
+
});
|
|
26
375
|
|
|
27
376
|
const BigStat = class {
|
|
28
377
|
constructor(hostRef) {
|
|
@@ -32,8 +381,19 @@ const BigStat = class {
|
|
|
32
381
|
*
|
|
33
382
|
* @uiName Flex reverse
|
|
34
383
|
* @default
|
|
384
|
+
* @uiGroup Additional Settings
|
|
35
385
|
*/
|
|
36
386
|
this.flexReverse = false;
|
|
387
|
+
/**
|
|
388
|
+
* Controls the alignment of the flexbox
|
|
389
|
+
*
|
|
390
|
+
* @uiName Alignment
|
|
391
|
+
* @uiType string
|
|
392
|
+
* @uiEnum ["left", "right", "center"]
|
|
393
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
394
|
+
* @uiGroup Additional Settings
|
|
395
|
+
*/
|
|
396
|
+
this.alignment = "center";
|
|
37
397
|
this.ignored = true;
|
|
38
398
|
h(this);
|
|
39
399
|
}
|
|
@@ -41,24 +401,62 @@ const BigStat = class {
|
|
|
41
401
|
render() {
|
|
42
402
|
var _a;
|
|
43
403
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
44
|
-
const host = _();
|
|
404
|
+
const host = _$1();
|
|
45
405
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
46
406
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
47
407
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
48
408
|
}
|
|
49
409
|
};
|
|
50
410
|
|
|
411
|
+
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))})`}
|
|
412
|
+
|
|
413
|
+
const colorScale = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
|
414
|
+
const lScale = [
|
|
415
|
+
0.95,
|
|
416
|
+
0.86,
|
|
417
|
+
0.76,
|
|
418
|
+
0.66,
|
|
419
|
+
0.56,
|
|
420
|
+
0.46,
|
|
421
|
+
0.39,
|
|
422
|
+
0.32,
|
|
423
|
+
0.25,
|
|
424
|
+
0.18,
|
|
425
|
+
0.15,
|
|
426
|
+
];
|
|
427
|
+
// https://github.com/ricokahler/color2k/blob/main/src/parseToRgba.ts
|
|
428
|
+
const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;
|
|
429
|
+
function niceParseToHsla(color) {
|
|
430
|
+
const normalizedColor = color.trim();
|
|
431
|
+
const hslaMatch = hslaRegex.exec(normalizedColor);
|
|
432
|
+
if (hslaMatch) {
|
|
433
|
+
const [h, s, l, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
|
|
434
|
+
if (t(0, 100, s) !== s)
|
|
435
|
+
throw new n(color);
|
|
436
|
+
if (t(0, 100, l) !== l)
|
|
437
|
+
throw new n(color);
|
|
438
|
+
return [h, s / 100, l, a || 1];
|
|
439
|
+
}
|
|
440
|
+
// Warning -- converts to RGB first, so is lossy
|
|
441
|
+
return p(color);
|
|
442
|
+
}
|
|
443
|
+
function generateScale(color, name = "primary") {
|
|
444
|
+
const [h, s, l, a] = niceParseToHsla(color);
|
|
445
|
+
return lScale
|
|
446
|
+
.map((l) => z(h, s, l, a))
|
|
447
|
+
.map((color, index) => {
|
|
448
|
+
return `--sl-color-${name}-${colorScale[index]}: ${color};\n`;
|
|
449
|
+
});
|
|
450
|
+
}
|
|
51
451
|
/**
|
|
52
|
-
*
|
|
452
|
+
* Generated a Shoelace color scale css string from a base color
|
|
53
453
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @
|
|
57
|
-
* @returns url to a .css file
|
|
454
|
+
* @param color
|
|
455
|
+
* @param name
|
|
456
|
+
* @returns
|
|
58
457
|
*/
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
return `https://fonts.googleapis.com/css2?${queryString}`;
|
|
458
|
+
function autoColorScaleCss(color, name = "primary") {
|
|
459
|
+
return generateScale(color, name).join("\n");
|
|
62
460
|
}
|
|
63
461
|
|
|
64
462
|
const BrandComponent = class {
|
|
@@ -68,7 +466,7 @@ const BrandComponent = class {
|
|
|
68
466
|
}
|
|
69
467
|
disconnectedCallback() { }
|
|
70
468
|
render() {
|
|
71
|
-
var _a, _b;
|
|
469
|
+
var _a, _b, _c, _d, _e, _f;
|
|
72
470
|
function getCss(brandColor) {
|
|
73
471
|
if (brandColor) {
|
|
74
472
|
try {
|
|
@@ -78,11 +476,14 @@ const BrandComponent = class {
|
|
|
78
476
|
}
|
|
79
477
|
return undefined;
|
|
80
478
|
}
|
|
81
|
-
const
|
|
82
|
-
const
|
|
479
|
+
const brandingConfigFont = (_b = (_a = window.SquatchBrandingConfig) === null || _a === void 0 ? void 0 : _a.main) === null || _b === void 0 ? void 0 : _b.brandFont;
|
|
480
|
+
const css = ((_d = (_c = window.SquatchBrandingConfig) === null || _c === void 0 ? void 0 : _c.main) === null || _d === void 0 ? void 0 : _d.brandColor) ? ""
|
|
481
|
+
: (_e = getCss(this.brandColor)) !== null && _e !== void 0 ? _e : "";
|
|
482
|
+
const sanitizedFont = ((_f = this.brandFont) !== null && _f !== void 0 ? _f : "Nunito Sans").trim() || undefined;
|
|
83
483
|
useEffect(() => {
|
|
84
|
-
if (!sanitizedFont) {
|
|
484
|
+
if (!sanitizedFont || brandingConfigFont) {
|
|
85
485
|
// Nothing required in default case.
|
|
486
|
+
// Don't add font if it's set in the global config
|
|
86
487
|
return;
|
|
87
488
|
}
|
|
88
489
|
const sheet = document.createElement("link");
|
|
@@ -102,6 +503,10 @@ const BrandComponent = class {
|
|
|
102
503
|
- resets css variable inheritence for fonts
|
|
103
504
|
|
|
104
505
|
*/
|
|
506
|
+
|
|
507
|
+
${brandingConfigFont
|
|
508
|
+
? ``
|
|
509
|
+
: `
|
|
105
510
|
::slotted(*) {
|
|
106
511
|
--sl-font-sans: "${font}", arial;
|
|
107
512
|
--sl-input-font-family: "${font}", arial;
|
|
@@ -109,6 +514,7 @@ const BrandComponent = class {
|
|
|
109
514
|
font-family: "${font}", arial;
|
|
110
515
|
|
|
111
516
|
${css}
|
|
517
|
+
`}
|
|
112
518
|
|
|
113
519
|
--sl-focus-ring-color-primary: var(--sl-color-primary-100);
|
|
114
520
|
--sl-input-border-color-focus: var(--sl-color-primary-500);
|
|
@@ -117,6 +523,195 @@ const BrandComponent = class {
|
|
|
117
523
|
}
|
|
118
524
|
};
|
|
119
525
|
|
|
526
|
+
const LOCAL_STORAGE_BRAND_KEY = "localStorageBrandKey";
|
|
527
|
+
const LOCAL_STORAGE_BRAND_CONFIG_KEY = "localStorageBrandConfigKey";
|
|
528
|
+
const SqmBrandSelector = class {
|
|
529
|
+
constructor(hostRef) {
|
|
530
|
+
registerInstance(this, hostRef);
|
|
531
|
+
this.selectedBrand = "Netflix";
|
|
532
|
+
this.brands = [
|
|
533
|
+
{
|
|
534
|
+
name: "Netflix",
|
|
535
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803365/netflix_ftjbrr.png",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
name: "Amazon",
|
|
539
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803366/amazon_mc22fr.png",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
name: "Spotify",
|
|
543
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803510/spotify_j5qi1r.png",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
name: "Google",
|
|
547
|
+
logoUrl: "https://res.cloudinary.com/saasquatch-staging/image/upload/v1750803168/pngimg.com_-_google_PNG19644_jvypwl.png",
|
|
548
|
+
},
|
|
549
|
+
];
|
|
550
|
+
const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
|
|
551
|
+
const initialBrandName = storedBrand;
|
|
552
|
+
this.selectedBrand = initialBrandName;
|
|
553
|
+
// Initialize window.SquatchBrandingConfig based on the loaded brand
|
|
554
|
+
const initialConfig = Themes[initialBrandName] || Netflix;
|
|
555
|
+
window.SquatchBrandingConfig = initialConfig;
|
|
556
|
+
const event = new CustomEvent("brandingConfigUpdated", {
|
|
557
|
+
detail: window.SquatchBrandingConfig,
|
|
558
|
+
});
|
|
559
|
+
window.dispatchEvent(event);
|
|
560
|
+
}
|
|
561
|
+
componentDidLoad() {
|
|
562
|
+
const storedBrand = localStorage.getItem(LOCAL_STORAGE_BRAND_KEY);
|
|
563
|
+
const initialBrandName = storedBrand;
|
|
564
|
+
this.selectedBrand = initialBrandName;
|
|
565
|
+
}
|
|
566
|
+
disconnectedCallback() { }
|
|
567
|
+
updateBrand(brandName) {
|
|
568
|
+
this.selectedBrand = brandName;
|
|
569
|
+
const configToSet = Themes[brandName] || Netflix;
|
|
570
|
+
const brandConfigString = JSON.stringify(configToSet);
|
|
571
|
+
localStorage.setItem(LOCAL_STORAGE_BRAND_KEY, brandName);
|
|
572
|
+
localStorage.setItem(LOCAL_STORAGE_BRAND_CONFIG_KEY, brandConfigString);
|
|
573
|
+
window.SquatchBrandingConfig = configToSet;
|
|
574
|
+
window.location.reload();
|
|
575
|
+
const event = new CustomEvent("brandingConfigUpdated", {
|
|
576
|
+
detail: window.SquatchBrandingConfig,
|
|
577
|
+
});
|
|
578
|
+
window.dispatchEvent(event);
|
|
579
|
+
}
|
|
580
|
+
render() {
|
|
581
|
+
return (h$1(Host, null, h$1("style", null, `
|
|
582
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
|
|
583
|
+
|
|
584
|
+
:host {
|
|
585
|
+
display: block; /* Ensure the custom element itself is a block-level element */
|
|
586
|
+
font-family: 'Inter', sans-serif;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.card-container {
|
|
590
|
+
background-color: #fff !important;
|
|
591
|
+
border-radius: 18px;
|
|
592
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
593
|
+
width: 100%;
|
|
594
|
+
max-width: 350px;
|
|
595
|
+
overflow: hidden;
|
|
596
|
+
padding: 10px;
|
|
597
|
+
position: fixed;
|
|
598
|
+
bottom: 0;
|
|
599
|
+
right: 0;
|
|
600
|
+
z-index: 999999;
|
|
601
|
+
border: 1px solid #ccc;
|
|
602
|
+
margin: 10px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.card-heading {
|
|
606
|
+
display: flex;
|
|
607
|
+
align-items: center;
|
|
608
|
+
justify-content: center;
|
|
609
|
+
padding-bottom: 10px;
|
|
610
|
+
color: black;
|
|
611
|
+
margin: 0;
|
|
612
|
+
font-size: 16px;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.segmented-control-container {
|
|
616
|
+
display: flex;
|
|
617
|
+
background-color: #e5e7eb !important;
|
|
618
|
+
border-radius: 9999px;
|
|
619
|
+
padding: 0.25rem;
|
|
620
|
+
margin-left: auto;
|
|
621
|
+
margin-right: auto;
|
|
622
|
+
max-width: 28rem;
|
|
623
|
+
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.brand-segment {
|
|
627
|
+
display: flex;
|
|
628
|
+
flex-direction: column;
|
|
629
|
+
align-items: center;
|
|
630
|
+
justify-content: center;
|
|
631
|
+
flex: 1;
|
|
632
|
+
padding: 0px 8px;
|
|
633
|
+
cursor: pointer;
|
|
634
|
+
transition: all 300ms ease-in-out;
|
|
635
|
+
border-radius: 9999px;
|
|
636
|
+
color: #4b5563;
|
|
637
|
+
cursor: pointer;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.brand-segment:hover {
|
|
641
|
+
background-color: #f3f4f6 !important;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.brand-segment.active {
|
|
645
|
+
background-color: #fff !important;
|
|
646
|
+
color: #1f2937;
|
|
647
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.brand-logo {
|
|
651
|
+
height: 40px;
|
|
652
|
+
width: 40px;
|
|
653
|
+
object-fit: contain;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.brand-name {
|
|
657
|
+
font-size: 0.75rem;
|
|
658
|
+
line-height: 1rem;
|
|
659
|
+
font-weight: 600;
|
|
660
|
+
color: #4b5563;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.brand-segment.active .brand-name {
|
|
664
|
+
color: #1f2937;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.content-area {
|
|
668
|
+
padding: 2rem;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.selected-text {
|
|
672
|
+
color: #4b5563;
|
|
673
|
+
text-align: center;
|
|
674
|
+
font-size: 1.125rem;
|
|
675
|
+
line-height: 1.75rem;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.selected-brand-name {
|
|
679
|
+
font-weight: 700; /* font-bold */
|
|
680
|
+
color: #6d28d9; /* text-purple-700 */
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.dynamic-content-box {
|
|
684
|
+
margin-top: 1.5rem; /* mt-6 */
|
|
685
|
+
padding: 1rem; /* p-4 */
|
|
686
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
687
|
+
border-radius: 0.5rem; /* rounded-lg */
|
|
688
|
+
color: #374151; /* text-gray-700 */
|
|
689
|
+
font-size: 0.875rem; /* text-sm */
|
|
690
|
+
line-height: 1.25rem; /* text-sm */
|
|
691
|
+
font-style: italic;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/* Responsive adjustments for smaller screens if needed */
|
|
695
|
+
@media (max-width: 640px) {
|
|
696
|
+
.segmented-control-container {
|
|
697
|
+
max-width: 100%; /* Allows it to take full width on small screens */
|
|
698
|
+
padding: 0.15rem; /* Slightly less padding */
|
|
699
|
+
}
|
|
700
|
+
.brand-segment {
|
|
701
|
+
padding-left: 0.5rem;
|
|
702
|
+
padding-right: 0.5rem;
|
|
703
|
+
}
|
|
704
|
+
.brand-logo {
|
|
705
|
+
height: 1.8rem; /* Slightly smaller on mobile */
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
`), 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) => {
|
|
709
|
+
e.target.src =
|
|
710
|
+
"https://placehold.co/80x40/cccccc/000000?text=Logo";
|
|
711
|
+
} }))))))));
|
|
712
|
+
}
|
|
713
|
+
};
|
|
714
|
+
|
|
120
715
|
const CardFeed = class {
|
|
121
716
|
constructor(hostRef) {
|
|
122
717
|
registerInstance(this, hostRef);
|
|
@@ -403,6 +998,7 @@ function useCouponCode(props) {
|
|
|
403
998
|
dateAvailable,
|
|
404
999
|
loading,
|
|
405
1000
|
errorType,
|
|
1001
|
+
buttonType: props.buttonType || "primary",
|
|
406
1002
|
};
|
|
407
1003
|
}
|
|
408
1004
|
|
|
@@ -426,6 +1022,7 @@ const CouponCode = class {
|
|
|
426
1022
|
* @uiType string
|
|
427
1023
|
* @uiEnum ["left", "center", "right"]
|
|
428
1024
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1025
|
+
* @uiGroup Style
|
|
429
1026
|
*/
|
|
430
1027
|
this.textAlign = "left";
|
|
431
1028
|
/**
|
|
@@ -439,6 +1036,7 @@ const CouponCode = class {
|
|
|
439
1036
|
* @uiType string
|
|
440
1037
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
441
1038
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
1039
|
+
* @uiGroup Style
|
|
442
1040
|
*/
|
|
443
1041
|
this.buttonStyle = "icon";
|
|
444
1042
|
/**
|
|
@@ -516,6 +1114,15 @@ const CouponCode = class {
|
|
|
516
1114
|
* @uiGroup Coupon code error
|
|
517
1115
|
*/
|
|
518
1116
|
this.couponCodePlaceholder = "...";
|
|
1117
|
+
/**
|
|
1118
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
1119
|
+
* @uiName Button Type
|
|
1120
|
+
* @uiType string
|
|
1121
|
+
* @uiEnum ["primary", "secondary"]
|
|
1122
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1123
|
+
* @uiGroup Style
|
|
1124
|
+
*/
|
|
1125
|
+
this.buttonType = "primary";
|
|
519
1126
|
h(this);
|
|
520
1127
|
}
|
|
521
1128
|
disconnectedCallback() { }
|
|
@@ -539,6 +1146,11 @@ function useDemoCouponCode(props) {
|
|
|
539
1146
|
error: false,
|
|
540
1147
|
couponCodePlaceholder: props.couponCodePlaceholder,
|
|
541
1148
|
couponCodeLabel: props.couponCodeLabel,
|
|
1149
|
+
borderColor: props.borderColor,
|
|
1150
|
+
backgroundColor: props.backgroundColor,
|
|
1151
|
+
textColor: props.textColor,
|
|
1152
|
+
borderRadius: props.borderRadius,
|
|
1153
|
+
buttonType: props.buttonType,
|
|
542
1154
|
codeSyncErrorText: props.codeSyncErrorText,
|
|
543
1155
|
codeSyncErrorRetryText: props.codeSyncErrorRetryText,
|
|
544
1156
|
open,
|
|
@@ -555,14 +1167,23 @@ function useDemoCouponCode(props) {
|
|
|
555
1167
|
function DividedLayoutView(props, children) {
|
|
556
1168
|
const getBorder = () => {
|
|
557
1169
|
if (props.direction === "row") {
|
|
558
|
-
return {
|
|
1170
|
+
return {
|
|
1171
|
+
"border-right": props.borderless
|
|
1172
|
+
? "none"
|
|
1173
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1174
|
+
};
|
|
559
1175
|
}
|
|
560
1176
|
else {
|
|
561
|
-
return {
|
|
1177
|
+
return {
|
|
1178
|
+
"border-bottom": props.borderless
|
|
1179
|
+
? "none"
|
|
1180
|
+
: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-border-color)"}`,
|
|
1181
|
+
};
|
|
562
1182
|
}
|
|
563
1183
|
};
|
|
564
1184
|
const style = {
|
|
565
1185
|
LayoutContainer: {
|
|
1186
|
+
background: props.backgroundColor,
|
|
566
1187
|
display: "contents",
|
|
567
1188
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
568
1189
|
"& > :not(:last-child)": {
|
|
@@ -578,11 +1199,10 @@ function DividedLayoutView(props, children) {
|
|
|
578
1199
|
flex: 1;
|
|
579
1200
|
box-sizing: border-box;
|
|
580
1201
|
flex-direction: ${props.direction};
|
|
581
|
-
background-color: var(--sqm-
|
|
1202
|
+
background-color: var(--sqm-portal-background);
|
|
1203
|
+
color: var(--sqm-text);
|
|
582
1204
|
overflow-x: clip;
|
|
583
|
-
${props.direction === "column"
|
|
584
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
585
|
-
: ""}
|
|
1205
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
586
1206
|
${props.contentAreaWidth !== null
|
|
587
1207
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
588
1208
|
: ""}
|
|
@@ -614,10 +1234,17 @@ const DividedLayout = class {
|
|
|
614
1234
|
constructor(hostRef) {
|
|
615
1235
|
registerInstance(this, hostRef);
|
|
616
1236
|
/**
|
|
1237
|
+
* @undocumented
|
|
617
1238
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
618
1239
|
* @uiName Border style
|
|
619
1240
|
*/
|
|
620
|
-
this.dividerStyle = "
|
|
1241
|
+
this.dividerStyle = "var(--sqm-border-thickness) solid var(--sqm-border-color)";
|
|
1242
|
+
/**
|
|
1243
|
+
* Background color of the divider
|
|
1244
|
+
* @uiName Background Color
|
|
1245
|
+
* @uiWidget color
|
|
1246
|
+
*/
|
|
1247
|
+
this.backgroundColor = "#FFFFFF";
|
|
621
1248
|
h(this);
|
|
622
1249
|
}
|
|
623
1250
|
disconnectedCallback() { }
|
|
@@ -938,12 +1565,12 @@ const Hero = class {
|
|
|
938
1565
|
*/
|
|
939
1566
|
this.minHeight = 200;
|
|
940
1567
|
/**
|
|
941
|
-
*
|
|
1568
|
+
* Add an image or select a color. Recommended image aspect ratio of 4:5
|
|
942
1569
|
*
|
|
943
1570
|
* @uiName Background
|
|
944
1571
|
* @uiWidget Background
|
|
945
1572
|
*/
|
|
946
|
-
this.background = "
|
|
1573
|
+
this.background = "#f9fafb";
|
|
947
1574
|
/**
|
|
948
1575
|
* @uiName Padding size
|
|
949
1576
|
* @uiEnum ["none", "small", "medium","large"]
|
|
@@ -958,6 +1585,13 @@ const Hero = class {
|
|
|
958
1585
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
959
1586
|
*/
|
|
960
1587
|
this.wrapDirection = "wrap";
|
|
1588
|
+
/**
|
|
1589
|
+
* Can only be used when two columns are present
|
|
1590
|
+
* @uiName Hide the column in mobile view
|
|
1591
|
+
* @uiEnum ["primary", "secondary", "null"]
|
|
1592
|
+
* @uiEnumNames ["Primary", "Secondary", "None"]
|
|
1593
|
+
*/
|
|
1594
|
+
this.columnToHideInMobile = null;
|
|
961
1595
|
h(this);
|
|
962
1596
|
}
|
|
963
1597
|
disconnectedCallback() { }
|
|
@@ -986,7 +1620,7 @@ function HeroImageView(props, children) {
|
|
|
986
1620
|
width: "100%",
|
|
987
1621
|
height: "100%",
|
|
988
1622
|
position: "absolute",
|
|
989
|
-
background: props.overlayColor || "var(--sl-color-
|
|
1623
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
990
1624
|
opacity: props.overlayOpacity,
|
|
991
1625
|
},
|
|
992
1626
|
},
|
|
@@ -1012,7 +1646,7 @@ function HeroImageView(props, children) {
|
|
|
1012
1646
|
props.paddingImage +
|
|
1013
1647
|
"))",
|
|
1014
1648
|
textAlign: "center",
|
|
1015
|
-
color: props.textColor || "var(--
|
|
1649
|
+
color: props.textColor || "var(--sqm-text)",
|
|
1016
1650
|
lineHeight: "var(--sl-line-height-dense)",
|
|
1017
1651
|
"@media (max-width: 599px)": {
|
|
1018
1652
|
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
@@ -1023,7 +1657,7 @@ function HeroImageView(props, children) {
|
|
|
1023
1657
|
background: props.backgroundColor || "",
|
|
1024
1658
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
1025
1659
|
lineHeight: "var(--sl-line-height-dense)",
|
|
1026
|
-
color: props.textColor || "var(--
|
|
1660
|
+
color: props.textColor || "var(--sqm-text)",
|
|
1027
1661
|
"& .image-area": {
|
|
1028
1662
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
1029
1663
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -1070,6 +1704,9 @@ function HeroImageView(props, children) {
|
|
|
1070
1704
|
marginTop: "var(--sl-spacing-medium)",
|
|
1071
1705
|
"&::part(base)": {
|
|
1072
1706
|
padding: "0 var(--sl-spacing-x-large)",
|
|
1707
|
+
color: "var(--sqm-primary-button-color)",
|
|
1708
|
+
backgroundColor: "var(--sqm-primary-button-background)",
|
|
1709
|
+
border: "var(--sqm-primary-button-color-border)",
|
|
1073
1710
|
},
|
|
1074
1711
|
"@media (max-width: 599px)": {
|
|
1075
1712
|
width: "100%",
|
|
@@ -1093,7 +1730,7 @@ function HeroImageView(props, children) {
|
|
|
1093
1730
|
h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1094
1731
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1095
1732
|
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
1096
|
-
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
1733
|
+
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
1097
1734
|
? window.open(props.buttonLink)
|
|
1098
1735
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1099
1736
|
children && children)));
|
|
@@ -1117,6 +1754,7 @@ const HeroImage = class {
|
|
|
1117
1754
|
registerInstance(this, hostRef);
|
|
1118
1755
|
/**
|
|
1119
1756
|
* @uiName Overlay opacity
|
|
1757
|
+
* @uiGroup Style
|
|
1120
1758
|
*/
|
|
1121
1759
|
this.overlayOpacity = "0.75";
|
|
1122
1760
|
/**
|
|
@@ -1124,11 +1762,13 @@ const HeroImage = class {
|
|
|
1124
1762
|
* @uiType string
|
|
1125
1763
|
* @uiEnum ["overlay", "columns"]
|
|
1126
1764
|
* @uiEnumNames ["Overlay", "Two-column"]
|
|
1765
|
+
* @uiGroup Style
|
|
1127
1766
|
*/
|
|
1128
1767
|
this.layout = "overlay";
|
|
1129
1768
|
/**
|
|
1130
1769
|
* @uiName Image percentage
|
|
1131
1770
|
* @uiType number
|
|
1771
|
+
* @uiGroup Style
|
|
1132
1772
|
*/
|
|
1133
1773
|
this.imagePercentage = 50;
|
|
1134
1774
|
/**
|
|
@@ -1136,6 +1776,7 @@ const HeroImage = class {
|
|
|
1136
1776
|
* @uiType string
|
|
1137
1777
|
* @uiEnum ["left", "center", "right"]
|
|
1138
1778
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1779
|
+
* @uiGroup Style
|
|
1139
1780
|
*/
|
|
1140
1781
|
this.imagePos = "center";
|
|
1141
1782
|
/**
|
|
@@ -1143,6 +1784,7 @@ const HeroImage = class {
|
|
|
1143
1784
|
* @uiType string
|
|
1144
1785
|
* @uiEnum ["top", "bottom"]
|
|
1145
1786
|
* @uiEnumNames ["Top", "Bottom"]
|
|
1787
|
+
* @uiGroup Style
|
|
1146
1788
|
*/
|
|
1147
1789
|
this.imageMobilePos = "top";
|
|
1148
1790
|
/**
|
|
@@ -1155,6 +1797,7 @@ const HeroImage = class {
|
|
|
1155
1797
|
* @uiType string
|
|
1156
1798
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1157
1799
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1800
|
+
* @uiGroup Style
|
|
1158
1801
|
*/
|
|
1159
1802
|
this.paddingText = "xxxx-large";
|
|
1160
1803
|
/**
|
|
@@ -1162,8 +1805,18 @@ const HeroImage = class {
|
|
|
1162
1805
|
* @uiType string
|
|
1163
1806
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1164
1807
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1808
|
+
* @uiGroup Style
|
|
1165
1809
|
*/
|
|
1166
1810
|
this.paddingImage = "none";
|
|
1811
|
+
/**
|
|
1812
|
+
* The type of the button that is used (primary or secondary).
|
|
1813
|
+
* @uiName Button Type
|
|
1814
|
+
* @uiType string
|
|
1815
|
+
* @uiEnum ["primary", "secondary"]
|
|
1816
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1817
|
+
* @uiGroup Style
|
|
1818
|
+
*/
|
|
1819
|
+
this.buttonType = "primary";
|
|
1167
1820
|
h(this);
|
|
1168
1821
|
}
|
|
1169
1822
|
disconnectedCallback() { }
|
|
@@ -1802,13 +2455,6 @@ const Leaderboard = class {
|
|
|
1802
2455
|
* @uiName Width
|
|
1803
2456
|
*/
|
|
1804
2457
|
this.width = "100%";
|
|
1805
|
-
/**
|
|
1806
|
-
* Hide the viewer's leaderboard row if not in the top results.
|
|
1807
|
-
*
|
|
1808
|
-
* @uiName Hide viewing user
|
|
1809
|
-
* @default
|
|
1810
|
-
*/
|
|
1811
|
-
this.hideViewer = false;
|
|
1812
2458
|
/**
|
|
1813
2459
|
* @uiName Viewing user text
|
|
1814
2460
|
*/
|
|
@@ -1831,6 +2477,13 @@ const Leaderboard = class {
|
|
|
1831
2477
|
* @uiName Maximum rows number
|
|
1832
2478
|
*/
|
|
1833
2479
|
this.maxRows = 10;
|
|
2480
|
+
/**
|
|
2481
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
2482
|
+
*
|
|
2483
|
+
* @uiName Hide viewing user
|
|
2484
|
+
* @default
|
|
2485
|
+
*/
|
|
2486
|
+
this.hideViewer = false;
|
|
1834
2487
|
this.ignored = true;
|
|
1835
2488
|
h(this);
|
|
1836
2489
|
withShadowView(this);
|
|
@@ -1854,6 +2507,12 @@ const Leaderboard = class {
|
|
|
1854
2507
|
showRank: this.showRank,
|
|
1855
2508
|
rankSuffix: this.rankSuffix,
|
|
1856
2509
|
width: this.width,
|
|
2510
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
2511
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
2512
|
+
background: this.background,
|
|
2513
|
+
borderColor: this.borderColor,
|
|
2514
|
+
textColor: this.textColor,
|
|
2515
|
+
borderRadius: this.borderRadius,
|
|
1857
2516
|
};
|
|
1858
2517
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1859
2518
|
const viewprops = isDemo()
|
|
@@ -1924,6 +2583,12 @@ function useLeaderboardDemo(props) {
|
|
|
1924
2583
|
hideNames: props.hideNames,
|
|
1925
2584
|
rankSuffix: props.rankSuffix,
|
|
1926
2585
|
width: props.width,
|
|
2586
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
2587
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
2588
|
+
background: props.background,
|
|
2589
|
+
borderColor: props.borderColor,
|
|
2590
|
+
textColor: props.textColor,
|
|
2591
|
+
borderRadius: props.borderRadius,
|
|
1927
2592
|
},
|
|
1928
2593
|
},
|
|
1929
2594
|
data: {
|
|
@@ -2144,7 +2809,7 @@ const style$1 = {
|
|
|
2144
2809
|
marginLeft: "auto",
|
|
2145
2810
|
},
|
|
2146
2811
|
PayoutButtonDescription: {
|
|
2147
|
-
color: "var(--
|
|
2812
|
+
color: "var(--sqm-text-subdued)",
|
|
2148
2813
|
fontSize: "var(--sl-font-size-small)",
|
|
2149
2814
|
margin: "0",
|
|
2150
2815
|
},
|
|
@@ -2240,33 +2905,6 @@ const style$2 = {
|
|
|
2240
2905
|
margin: "0",
|
|
2241
2906
|
marginBottom: "var(--sl-spacing-small)",
|
|
2242
2907
|
},
|
|
2243
|
-
ErrorAlertContainer: {
|
|
2244
|
-
"&::part(base)": {
|
|
2245
|
-
backgroundColor: "var(--sl-color-red-100)",
|
|
2246
|
-
borderTop: "none",
|
|
2247
|
-
},
|
|
2248
|
-
"& sl-icon::part(base)": {
|
|
2249
|
-
color: "var(--sl-color-danger-500)",
|
|
2250
|
-
},
|
|
2251
|
-
},
|
|
2252
|
-
WarningAlertContainer: {
|
|
2253
|
-
"&::part(base)": {
|
|
2254
|
-
backgroundColor: "var(--sl-color-yellow-100)",
|
|
2255
|
-
borderTop: "none",
|
|
2256
|
-
},
|
|
2257
|
-
"& sl-icon::part(base)": {
|
|
2258
|
-
color: "var(--sl-color-danger-500)",
|
|
2259
|
-
},
|
|
2260
|
-
},
|
|
2261
|
-
InfoAlertContainer: {
|
|
2262
|
-
"&::part(base)": {
|
|
2263
|
-
backgroundColor: "var(--sl-color-sky-100)",
|
|
2264
|
-
borderTop: "none",
|
|
2265
|
-
},
|
|
2266
|
-
"& sl-icon::part(base)": {
|
|
2267
|
-
color: "var(--sl-color-blue-500)",
|
|
2268
|
-
},
|
|
2269
|
-
},
|
|
2270
2908
|
Dialog: {
|
|
2271
2909
|
"&::part(panel)": {
|
|
2272
2910
|
height: "600px",
|
|
@@ -2282,6 +2920,13 @@ const style$2 = {
|
|
|
2282
2920
|
"&::part(footer)": {},
|
|
2283
2921
|
},
|
|
2284
2922
|
};
|
|
2923
|
+
const vanillaStyle$1 = `
|
|
2924
|
+
a {
|
|
2925
|
+
color: inherit;
|
|
2926
|
+
text-decoration: underline;
|
|
2927
|
+
cursor: pointer;
|
|
2928
|
+
}
|
|
2929
|
+
`;
|
|
2285
2930
|
const sheet$2 = createStyleSheet(style$2);
|
|
2286
2931
|
const styleString$2 = sheet$2.toString();
|
|
2287
2932
|
function PayoutStatusAlertView(props) {
|
|
@@ -2292,9 +2937,7 @@ function PayoutStatusAlertView(props) {
|
|
|
2292
2937
|
header: text.errorHeader,
|
|
2293
2938
|
description: text.errorDescription,
|
|
2294
2939
|
buttonText: null,
|
|
2295
|
-
alertType: "
|
|
2296
|
-
icon: "exclamation-triangle",
|
|
2297
|
-
class: sheet$2.classes.ErrorAlertContainer,
|
|
2940
|
+
alertType: "error",
|
|
2298
2941
|
};
|
|
2299
2942
|
switch (status) {
|
|
2300
2943
|
case "INFORMATION_REQUIRED":
|
|
@@ -2303,8 +2946,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2303
2946
|
description: text.informationRequiredDescription,
|
|
2304
2947
|
buttonText: text.informationRequiredButtonText,
|
|
2305
2948
|
alertType: "info",
|
|
2306
|
-
icon: "info-circle",
|
|
2307
|
-
class: sheet$2.classes.InfoAlertContainer,
|
|
2308
2949
|
};
|
|
2309
2950
|
case "VERIFICATION:REQUIRED":
|
|
2310
2951
|
return {
|
|
@@ -2317,8 +2958,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2317
2958
|
}),
|
|
2318
2959
|
buttonText: text.verificationRequiredButtonText,
|
|
2319
2960
|
alertType: "warning",
|
|
2320
|
-
icon: "exclamation-triangle",
|
|
2321
|
-
class: sheet$2.classes.WarningAlertContainer,
|
|
2322
2961
|
};
|
|
2323
2962
|
case "VERIFICATION:INTERNAL":
|
|
2324
2963
|
return {
|
|
@@ -2330,8 +2969,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2330
2969
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2331
2970
|
}),
|
|
2332
2971
|
alertType: "warning",
|
|
2333
|
-
icon: "exclamation-triangle",
|
|
2334
|
-
class: sheet$2.classes.WarningAlertContainer,
|
|
2335
2972
|
};
|
|
2336
2973
|
case "VERIFICATION:REVIEW":
|
|
2337
2974
|
return {
|
|
@@ -2343,8 +2980,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2343
2980
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2344
2981
|
}),
|
|
2345
2982
|
alertType: "warning",
|
|
2346
|
-
icon: "exclamation-triangle",
|
|
2347
|
-
class: sheet$2.classes.WarningAlertContainer,
|
|
2348
2983
|
};
|
|
2349
2984
|
case "VERIFICATION:FAILED":
|
|
2350
2985
|
return {
|
|
@@ -2355,18 +2990,49 @@ function PayoutStatusAlertView(props) {
|
|
|
2355
2990
|
}, {
|
|
2356
2991
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2357
2992
|
}),
|
|
2358
|
-
alertType: "
|
|
2359
|
-
icon: "exclamation-octagon",
|
|
2360
|
-
class: sheet$2.classes.ErrorAlertContainer,
|
|
2993
|
+
alertType: "error",
|
|
2361
2994
|
};
|
|
2362
2995
|
case "OVER_W9_THRESHOLD":
|
|
2996
|
+
if (states.enforceUsTaxComplianceOption === "CASH_ONLY_DEFER_W9") {
|
|
2997
|
+
return {
|
|
2998
|
+
header: text.w9RequiredHeader,
|
|
2999
|
+
description: intl.formatMessage({
|
|
3000
|
+
id: "w9RequiredDescription",
|
|
3001
|
+
defaultMessage: text.w9RequiredDescription,
|
|
3002
|
+
}, {
|
|
3003
|
+
termsAndConditions: (h$1("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
|
|
3004
|
+
}),
|
|
3005
|
+
buttonText: text.w9RequiredButtonText,
|
|
3006
|
+
alertType: "warning",
|
|
3007
|
+
icon: "exclamation-triangle",
|
|
3008
|
+
};
|
|
3009
|
+
}
|
|
3010
|
+
else {
|
|
3011
|
+
return {
|
|
3012
|
+
header: text.holdHeader,
|
|
3013
|
+
description: intl.formatMessage({
|
|
3014
|
+
id: "holdDescription",
|
|
3015
|
+
defaultMessage: text.holdDescription,
|
|
3016
|
+
}, {
|
|
3017
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3018
|
+
}),
|
|
3019
|
+
buttonText: null,
|
|
3020
|
+
alertType: "warning",
|
|
3021
|
+
icon: "exclamation-triangle",
|
|
3022
|
+
};
|
|
3023
|
+
}
|
|
3024
|
+
case "ACCOUNT_REVIEW":
|
|
2363
3025
|
return {
|
|
2364
|
-
header: text.
|
|
2365
|
-
description: intl.formatMessage({
|
|
2366
|
-
|
|
3026
|
+
header: text.accountReviewHeader,
|
|
3027
|
+
description: intl.formatMessage({
|
|
3028
|
+
id: "accountReviewDescription",
|
|
3029
|
+
defaultMessage: text.accountReviewDescription,
|
|
3030
|
+
}, {
|
|
3031
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3032
|
+
}),
|
|
3033
|
+
buttonText: null,
|
|
2367
3034
|
alertType: "warning",
|
|
2368
3035
|
icon: "exclamation-triangle",
|
|
2369
|
-
class: sheet$2.classes.WarningAlertContainer,
|
|
2370
3036
|
};
|
|
2371
3037
|
case "HOLD":
|
|
2372
3038
|
return {
|
|
@@ -2379,8 +3045,6 @@ function PayoutStatusAlertView(props) {
|
|
|
2379
3045
|
}),
|
|
2380
3046
|
buttonText: null,
|
|
2381
3047
|
alertType: "warning",
|
|
2382
|
-
icon: "exclamation-triangle",
|
|
2383
|
-
class: sheet$2.classes.WarningAlertContainer,
|
|
2384
3048
|
};
|
|
2385
3049
|
default:
|
|
2386
3050
|
return;
|
|
@@ -2389,15 +3053,21 @@ function PayoutStatusAlertView(props) {
|
|
|
2389
3053
|
function getButton(status) {
|
|
2390
3054
|
switch (status) {
|
|
2391
3055
|
case "OVER_W9_THRESHOLD":
|
|
3056
|
+
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3057
|
+
return;
|
|
2392
3058
|
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
2393
3059
|
// Demo case
|
|
2394
3060
|
h$1("sl-button", { type: "default" }, text.w9RequiredButtonText));
|
|
2395
3061
|
case "INFORMATION_REQUIRED":
|
|
2396
|
-
return data.type === "SquatchJS2" ? (h$1("
|
|
3062
|
+
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
3063
|
+
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" } },
|
|
3064
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText))) : (
|
|
2397
3065
|
// Demo case
|
|
2398
|
-
h$1("
|
|
3066
|
+
h$1("div", { style: { paddingTop: "10px" } },
|
|
3067
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base" }, text.informationRequiredButtonText)));
|
|
2399
3068
|
case "VERIFICATION:REQUIRED":
|
|
2400
|
-
return (h$1("
|
|
3069
|
+
return (h$1("div", { style: { paddingTop: "10px" } },
|
|
3070
|
+
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
|
|
2401
3071
|
default:
|
|
2402
3072
|
return;
|
|
2403
3073
|
}
|
|
@@ -2411,10 +3081,10 @@ function PayoutStatusAlertView(props) {
|
|
|
2411
3081
|
}
|
|
2412
3082
|
return (h$1("div", { part: "sqm-base" },
|
|
2413
3083
|
h$1("style", { type: "text/css" }, styleString$2),
|
|
2414
|
-
h$1("
|
|
2415
|
-
|
|
2416
|
-
h$1("
|
|
2417
|
-
h$1("p", {
|
|
3084
|
+
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
3085
|
+
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
3086
|
+
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
3087
|
+
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
2418
3088
|
getButton(states.status))));
|
|
2419
3089
|
}
|
|
2420
3090
|
|
|
@@ -2470,17 +3140,25 @@ const PayoutStatusAlert = class {
|
|
|
2470
3140
|
*/
|
|
2471
3141
|
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
|
|
2472
3142
|
/**
|
|
2473
|
-
* @uiName
|
|
3143
|
+
* @uiName Account review alert header
|
|
3144
|
+
*/
|
|
3145
|
+
this.accountReviewHeader = "Your account is under review";
|
|
3146
|
+
/**
|
|
3147
|
+
* @uiName Account review alert description
|
|
3148
|
+
*/
|
|
3149
|
+
this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
|
|
3150
|
+
/**
|
|
3151
|
+
* @uiName W-9 payment threshold alert header
|
|
2474
3152
|
*/
|
|
2475
3153
|
this.w9RequiredHeader = "Your next payout is on hold";
|
|
2476
3154
|
/**
|
|
2477
|
-
* @uiName
|
|
3155
|
+
* @uiName W-9 payment threshold alert description
|
|
2478
3156
|
*/
|
|
2479
|
-
this.w9RequiredDescription = "You have surpassed the $600 threshold
|
|
3157
|
+
this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
|
|
2480
3158
|
/**
|
|
2481
|
-
* @uiName
|
|
3159
|
+
* @uiName W-9 payment threshold alert button text
|
|
2482
3160
|
*/
|
|
2483
|
-
this.w9RequiredButtonText = "Submit
|
|
3161
|
+
this.w9RequiredButtonText = "Submit W-9";
|
|
2484
3162
|
/**
|
|
2485
3163
|
* @uiName Payout on hold alert header
|
|
2486
3164
|
*/
|
|
@@ -2492,7 +3170,7 @@ const PayoutStatusAlert = class {
|
|
|
2492
3170
|
/**
|
|
2493
3171
|
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
2494
3172
|
*/
|
|
2495
|
-
this.cashPayoutsPageUrl = "/taxAndCash
|
|
3173
|
+
this.cashPayoutsPageUrl = "/taxAndCash";
|
|
2496
3174
|
/**
|
|
2497
3175
|
* @uiName Support link text
|
|
2498
3176
|
*/
|
|
@@ -2964,47 +3642,213 @@ const PortalFooter = class {
|
|
|
2964
3642
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2965
3643
|
};
|
|
2966
3644
|
|
|
2967
|
-
function
|
|
2968
|
-
|
|
3645
|
+
function usePortalForgotPassword(props) {
|
|
3646
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
3647
|
+
const [success, setSuccess] = useState(false);
|
|
3648
|
+
const [error, setError] = useState("");
|
|
3649
|
+
const [request, { loading, data, errors }] = un();
|
|
3650
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
3651
|
+
const nextPage = urlParams.get("nextPage");
|
|
3652
|
+
const submit = async (event) => {
|
|
3653
|
+
var _a;
|
|
3654
|
+
setError("");
|
|
3655
|
+
setSuccess(false);
|
|
3656
|
+
let formData = event.detail.formData;
|
|
3657
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3658
|
+
jsonpointer.set(formData, key, value);
|
|
3659
|
+
});
|
|
3660
|
+
const urlParams = nextPage ? { nextPage } : null;
|
|
3661
|
+
const redirectPath = props.redirectPath;
|
|
3662
|
+
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3663
|
+
const result = await request(variables);
|
|
3664
|
+
if (result instanceof Error) {
|
|
3665
|
+
if (result.message)
|
|
3666
|
+
setError(props.networkErrorMessage);
|
|
3667
|
+
return;
|
|
3668
|
+
}
|
|
3669
|
+
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3670
|
+
setSuccess(true);
|
|
3671
|
+
}
|
|
3672
|
+
};
|
|
2969
3673
|
return {
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
3674
|
+
states: {
|
|
3675
|
+
loading,
|
|
3676
|
+
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
3677
|
+
error,
|
|
3678
|
+
success,
|
|
3679
|
+
loginPath: props.loginPath,
|
|
3680
|
+
headerText: props.headerText,
|
|
3681
|
+
loginText: props.loginText,
|
|
2973
3682
|
},
|
|
2974
3683
|
callbacks: {
|
|
2975
|
-
|
|
3684
|
+
submit,
|
|
2976
3685
|
},
|
|
2977
3686
|
};
|
|
2978
3687
|
}
|
|
2979
3688
|
|
|
2980
|
-
const
|
|
3689
|
+
const PortalForgotPassword = class {
|
|
2981
3690
|
constructor(hostRef) {
|
|
2982
3691
|
registerInstance(this, hostRef);
|
|
2983
3692
|
this.ignored = true;
|
|
2984
3693
|
/**
|
|
2985
|
-
*
|
|
3694
|
+
* Redirect participants to this page after they verify their email.
|
|
3695
|
+
*
|
|
3696
|
+
* @uiName Email redirect
|
|
3697
|
+
* @uiWidget pageSelect
|
|
2986
3698
|
*/
|
|
2987
|
-
this.
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3699
|
+
this.redirectPath = "/resetPassword";
|
|
3700
|
+
/**
|
|
3701
|
+
* @uiName Email field label
|
|
3702
|
+
*/
|
|
3703
|
+
this.emailLabel = "Email";
|
|
3704
|
+
/**
|
|
3705
|
+
* @uiName Password reset button text
|
|
3706
|
+
*/
|
|
3707
|
+
this.submitLabel = "Request Password Reset";
|
|
3708
|
+
/**
|
|
3709
|
+
* @uiName Login redirect path
|
|
3710
|
+
* @uiWidget pageSelect
|
|
3711
|
+
*/
|
|
3712
|
+
this.loginPath = "/login";
|
|
3713
|
+
/**
|
|
3714
|
+
* @uiName Header text
|
|
3715
|
+
* @uiWidget textArea
|
|
3716
|
+
*/
|
|
3717
|
+
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3718
|
+
/**
|
|
3719
|
+
* @uiName Sign in link text
|
|
3720
|
+
*/
|
|
3721
|
+
this.loginText = "Sign In";
|
|
3722
|
+
/**
|
|
3723
|
+
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3724
|
+
* @uiName Network error message
|
|
3725
|
+
*/
|
|
3726
|
+
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3727
|
+
/**
|
|
3728
|
+
* @uiName Email verification sent text
|
|
3729
|
+
*/
|
|
3730
|
+
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3731
|
+
/**
|
|
3732
|
+
* @uiName Background color
|
|
3733
|
+
* @uiWidget color
|
|
3734
|
+
*/
|
|
3735
|
+
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3736
|
+
/**
|
|
3737
|
+
* @uiName Border radius
|
|
3738
|
+
* @uiWidget number
|
|
3739
|
+
*/
|
|
3740
|
+
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3741
|
+
/**
|
|
3742
|
+
* @uiName Border style
|
|
3743
|
+
* @uiWidget textArea
|
|
3744
|
+
*/
|
|
3745
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3746
|
+
h(this);
|
|
3747
|
+
}
|
|
3748
|
+
disconnectedCallback() { }
|
|
3749
|
+
render() {
|
|
3750
|
+
const { states, callbacks } = isDemo()
|
|
3751
|
+
? usePortalForgotPasswordDemo(this)
|
|
3752
|
+
: usePortalForgotPassword(this);
|
|
3753
|
+
const content = {
|
|
3754
|
+
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
3755
|
+
emailLabel: this.emailLabel,
|
|
3756
|
+
submitLabel: this.submitLabel,
|
|
3757
|
+
successAlertText: this.successAlertText,
|
|
3758
|
+
loginText: this.loginText,
|
|
3759
|
+
backgroundColor: this.backgroundColor,
|
|
3760
|
+
borderRadius: this.borderRadius,
|
|
3761
|
+
border: this.border,
|
|
3762
|
+
};
|
|
3763
|
+
return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3764
|
+
}
|
|
3765
|
+
};
|
|
3766
|
+
function usePortalForgotPasswordDemo(props) {
|
|
3767
|
+
return cjs({
|
|
3768
|
+
states: { error: "", loading: false, success: false },
|
|
3769
|
+
callbacks: {
|
|
3770
|
+
submit: async (_event) => { },
|
|
3771
|
+
},
|
|
3772
|
+
content: {
|
|
3773
|
+
secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
|
|
3774
|
+
messageSlot: h$1("span", null, props.headerText),
|
|
3775
|
+
emailLabel: props.emailLabel,
|
|
3776
|
+
submitLabel: props.submitLabel,
|
|
3777
|
+
successAlertText: props.successAlertText,
|
|
3778
|
+
loginText: props.loginText,
|
|
3779
|
+
backgroundColor: props.backgroundColor,
|
|
3780
|
+
borderRadius: props.borderRadius,
|
|
3781
|
+
border: props.border,
|
|
3782
|
+
},
|
|
3783
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
3787
|
+
const [, rerender] = yn();
|
|
3788
|
+
return {
|
|
3789
|
+
data: {
|
|
3790
|
+
footer: footerContent,
|
|
3791
|
+
header: headerContent,
|
|
3792
|
+
},
|
|
3793
|
+
callbacks: {
|
|
3794
|
+
rerender,
|
|
3795
|
+
},
|
|
3796
|
+
backgroundColor: props.backgroundColor,
|
|
3797
|
+
border: props.border,
|
|
3798
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
3799
|
+
};
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
const PortalFrame = class {
|
|
3803
|
+
constructor(hostRef) {
|
|
3804
|
+
registerInstance(this, hostRef);
|
|
3805
|
+
this.ignored = true;
|
|
3806
|
+
/**
|
|
3807
|
+
* @undocumented
|
|
3808
|
+
*/
|
|
3809
|
+
this.notFullScreen = false;
|
|
3810
|
+
/**
|
|
3811
|
+
* @uiName Background color
|
|
3812
|
+
* @uiWidget color
|
|
3813
|
+
* @uiType string
|
|
3814
|
+
*/
|
|
3815
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff)";
|
|
3816
|
+
/**
|
|
3817
|
+
* Borders placed to seperate the header and footer from the body content.
|
|
3818
|
+
* @uiName Border
|
|
3819
|
+
* @uiType string
|
|
3820
|
+
*/
|
|
3821
|
+
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3822
|
+
/**
|
|
3823
|
+
* Background color for the header and footer.
|
|
3824
|
+
* @uiName Header and Footer Background Color
|
|
3825
|
+
* @uiWidget color
|
|
3826
|
+
* @uiType string
|
|
3827
|
+
*/
|
|
3828
|
+
this.headerAndFooterBackgroundColor = "var(--sqm-portal-background, #fff)";
|
|
3829
|
+
h(this);
|
|
3830
|
+
}
|
|
3831
|
+
disconnectedCallback() { }
|
|
3832
|
+
render() {
|
|
3833
|
+
const footerContent = h$1("slot", { name: "footer" });
|
|
3834
|
+
const headerContent = h$1("slot", { name: "header" });
|
|
3835
|
+
const props = isDemo()
|
|
3836
|
+
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
3837
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
3838
|
+
return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
|
|
3839
|
+
}
|
|
3840
|
+
};
|
|
3841
|
+
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
3842
|
+
return cjs({
|
|
3843
|
+
notFullScreen: true,
|
|
3844
|
+
backgroundColor: props.backgroundColor,
|
|
3845
|
+
headerAndFooterBackgroundColor: props.headerAndFooterBackgroundColor,
|
|
3846
|
+
border: props.border,
|
|
3847
|
+
data: {
|
|
3848
|
+
footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
|
|
3849
|
+
header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
|
|
3850
|
+
fontSize: "var(--sl-font-size-large)",
|
|
3851
|
+
fontWeight: "bold",
|
|
3008
3852
|
} }, "Portal Header"), h$1("span", { style: { fontSize: "var(--sl-font-size-small)" } }, "A description for the portal"))),
|
|
3009
3853
|
},
|
|
3010
3854
|
callbacks: {
|
|
@@ -3089,7 +3933,7 @@ const PortalLogin = class {
|
|
|
3089
3933
|
const content = {
|
|
3090
3934
|
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
3091
3935
|
googleButton: null,
|
|
3092
|
-
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))),
|
|
3936
|
+
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))),
|
|
3093
3937
|
emailLabel: this.emailLabel,
|
|
3094
3938
|
passwordLabel: this.passwordLabel,
|
|
3095
3939
|
submitLabel: this.submitLabel,
|
|
@@ -3251,7 +4095,7 @@ function usePortalRegister(props) {
|
|
|
3251
4095
|
const PortalRegister = class {
|
|
3252
4096
|
constructor(hostRef) {
|
|
3253
4097
|
registerInstance(this, hostRef);
|
|
3254
|
-
this.ignored =
|
|
4098
|
+
this.ignored = false;
|
|
3255
4099
|
/**
|
|
3256
4100
|
* Redirect participants to this page from their verification email
|
|
3257
4101
|
*
|
|
@@ -3417,7 +4261,7 @@ function useRegisterDemo$1(props) {
|
|
|
3417
4261
|
function ProgramExplainerView(props, children) {
|
|
3418
4262
|
const style = {
|
|
3419
4263
|
Container: {
|
|
3420
|
-
color: props.textColor || "var(--
|
|
4264
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3421
4265
|
background: props.backgroundColor || "",
|
|
3422
4266
|
},
|
|
3423
4267
|
Header: {
|
|
@@ -3477,8 +4321,11 @@ function ProgramExplainerStepView(props) {
|
|
|
3477
4321
|
width: "100%",
|
|
3478
4322
|
padding: "var(--sl-spacing-x-large)",
|
|
3479
4323
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3480
|
-
|
|
3481
|
-
|
|
4324
|
+
borderRadius: props.borderRadius
|
|
4325
|
+
? `${props.borderRadius}px`
|
|
4326
|
+
: "var(--sqm-border-radius-normal)",
|
|
4327
|
+
color: props.textColor || "var(--sqm-text)",
|
|
4328
|
+
background: props.backgroundColor || "var(--sqm-accent-color-background)",
|
|
3482
4329
|
"@media (max-width: 499px)": {
|
|
3483
4330
|
flexDirection: "row",
|
|
3484
4331
|
width: "auto",
|
|
@@ -3491,6 +4338,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3491
4338
|
},
|
|
3492
4339
|
},
|
|
3493
4340
|
Header: {
|
|
4341
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3494
4342
|
fontSize: "var(--sl-font-size-large)",
|
|
3495
4343
|
fontWeight: "var(--sl-font-weight-bold)",
|
|
3496
4344
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -3499,6 +4347,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3499
4347
|
},
|
|
3500
4348
|
},
|
|
3501
4349
|
Description: {
|
|
4350
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3502
4351
|
fontSize: "var(--sl-font-size-medium)",
|
|
3503
4352
|
marginTop: "var(--sl-spacing-small)",
|
|
3504
4353
|
"@media (max-width: 499px)": {
|
|
@@ -3511,11 +4360,14 @@ function ProgramExplainerStepView(props) {
|
|
|
3511
4360
|
borderRadius: "100%",
|
|
3512
4361
|
objectFit: "cover",
|
|
3513
4362
|
userSelect: "none",
|
|
3514
|
-
background: "
|
|
3515
|
-
color: "var(--
|
|
4363
|
+
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
4364
|
+
color: props.iconColor || "var(--sqm-accent-color-icon)",
|
|
3516
4365
|
fontSize: "26px",
|
|
3517
4366
|
textAlign: "center",
|
|
3518
4367
|
lineHeight: "72px",
|
|
4368
|
+
display: "flex",
|
|
4369
|
+
alignItems: "center",
|
|
4370
|
+
justifyContent: "center",
|
|
3519
4371
|
},
|
|
3520
4372
|
};
|
|
3521
4373
|
const sheet = createStyleSheet(style);
|
|
@@ -3544,7 +4396,7 @@ const debug = browser("sq:useProgramMenu");
|
|
|
3544
4396
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
3545
4397
|
function useProgramMenu(props) {
|
|
3546
4398
|
const programId = H();
|
|
3547
|
-
const host = _();
|
|
4399
|
+
const host = _$1();
|
|
3548
4400
|
debug({ programId, props });
|
|
3549
4401
|
const ref = useRef();
|
|
3550
4402
|
const [, rerender] = yn();
|
|
@@ -3584,44 +4436,47 @@ const ProgramMenu = class {
|
|
|
3584
4436
|
}
|
|
3585
4437
|
};
|
|
3586
4438
|
|
|
3587
|
-
const
|
|
3588
|
-
Container: {
|
|
3589
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
3590
|
-
color: "var(--sl-color-neutral-900)",
|
|
3591
|
-
background: "var(--sl-color-neutral-0)",
|
|
3592
|
-
display: "flex",
|
|
3593
|
-
flexDirection: "column",
|
|
3594
|
-
rowGap: "var(--sl-spacing-large)",
|
|
3595
|
-
},
|
|
3596
|
-
EndContainer: {
|
|
3597
|
-
display: "flex",
|
|
3598
|
-
flexDirection: "column",
|
|
3599
|
-
alignItems: "center",
|
|
3600
|
-
},
|
|
3601
|
-
ColumnContainer: {
|
|
3602
|
-
"& p": { margin: "0" },
|
|
3603
|
-
display: "grid",
|
|
3604
|
-
gridAutoColumns: "minmax(0, 1fr)",
|
|
3605
|
-
gridAutoFlow: "column",
|
|
3606
|
-
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3607
|
-
"@media (max-width: 499px)": {
|
|
3608
|
-
gridAutoFlow: "unset",
|
|
3609
|
-
gridAutoColumns: "unset",
|
|
3610
|
-
gridTemplateColumns: "1fr",
|
|
3611
|
-
border: "none",
|
|
3612
|
-
},
|
|
3613
|
-
},
|
|
3614
|
-
};
|
|
3615
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
3616
|
-
const styleString$3 = sheet$3.toString();
|
|
3617
|
-
const vanillaStyle$1 = `
|
|
4439
|
+
const vanillaStyle$2 = `
|
|
3618
4440
|
:host{
|
|
3619
4441
|
display: block;
|
|
3620
4442
|
}
|
|
3621
4443
|
`;
|
|
3622
4444
|
function ReferralCardView(props) {
|
|
3623
|
-
|
|
3624
|
-
|
|
4445
|
+
const style = {
|
|
4446
|
+
Container: {
|
|
4447
|
+
borderRadius: props.borderRadius || "var(--sqm-border-radius-normal)",
|
|
4448
|
+
color: props.textColor || "var(--sqm-text)",
|
|
4449
|
+
background: props.backgroundColor || "var(--sqm-portal-background)",
|
|
4450
|
+
display: "flex",
|
|
4451
|
+
flexDirection: "column",
|
|
4452
|
+
rowGap: "var(--sl-spacing-large)",
|
|
4453
|
+
},
|
|
4454
|
+
EndContainer: {
|
|
4455
|
+
display: "flex",
|
|
4456
|
+
flexDirection: "column",
|
|
4457
|
+
alignItems: "center",
|
|
4458
|
+
},
|
|
4459
|
+
ColumnContainer: {
|
|
4460
|
+
"& p": { margin: "0" },
|
|
4461
|
+
display: "grid",
|
|
4462
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
4463
|
+
gridAutoFlow: "column",
|
|
4464
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
4465
|
+
"@media (max-width: 499px)": {
|
|
4466
|
+
gridAutoFlow: "unset",
|
|
4467
|
+
gridAutoColumns: "unset",
|
|
4468
|
+
gridTemplateColumns: "1fr",
|
|
4469
|
+
border: "none",
|
|
4470
|
+
},
|
|
4471
|
+
},
|
|
4472
|
+
};
|
|
4473
|
+
const sheet = createStyleSheet(style);
|
|
4474
|
+
const styleString = sheet.toString();
|
|
4475
|
+
const borderColor = props.borderColor || "var(--sqm-border-color)";
|
|
4476
|
+
return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
4477
|
+
border: `${props.hideBorder
|
|
4478
|
+
? "none"
|
|
4479
|
+
: `var(--sqm-border-thickness) solid ${borderColor}`}`,
|
|
3625
4480
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3626
4481
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3627
4482
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3631,15 +4486,15 @@ function ReferralCardView(props) {
|
|
|
3631
4486
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
3632
4487
|
} },
|
|
3633
4488
|
h$1("style", { type: "text/css" },
|
|
3634
|
-
styleString
|
|
3635
|
-
vanillaStyle$
|
|
3636
|
-
props.hasHeader && (h$1("div", { class: sheet
|
|
3637
|
-
h$1("div", { part: "sqm-column-container", class: sheet
|
|
4489
|
+
styleString,
|
|
4490
|
+
vanillaStyle$2),
|
|
4491
|
+
props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
4492
|
+
h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3638
4493
|
alignItems: props.verticalAlignment,
|
|
3639
4494
|
} },
|
|
3640
4495
|
props.slots.left,
|
|
3641
4496
|
props.slots.right),
|
|
3642
|
-
props.hasFooter && (h$1("div", { class: sheet
|
|
4497
|
+
props.hasFooter && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
|
|
3643
4498
|
}
|
|
3644
4499
|
|
|
3645
4500
|
const ReferralCard = class {
|
|
@@ -3686,12 +4541,6 @@ const ReferralCard = class {
|
|
|
3686
4541
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
3687
4542
|
*/
|
|
3688
4543
|
this.paddingLeft = "large";
|
|
3689
|
-
/**
|
|
3690
|
-
* @uiName Background color
|
|
3691
|
-
* @uiWidget color
|
|
3692
|
-
* @uiType string
|
|
3693
|
-
*/
|
|
3694
|
-
this.backgroundColor = "#ffffff";
|
|
3695
4544
|
/**
|
|
3696
4545
|
* @uiName Limit width
|
|
3697
4546
|
* @uiType boolean
|
|
@@ -3785,6 +4634,161 @@ function useReferralIframeDemo(props) {
|
|
|
3785
4634
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3786
4635
|
}
|
|
3787
4636
|
|
|
4637
|
+
const ReferredRegistration = class {
|
|
4638
|
+
constructor(hostRef) {
|
|
4639
|
+
registerInstance(this, hostRef);
|
|
4640
|
+
this.ignored = true;
|
|
4641
|
+
/**
|
|
4642
|
+
* @uiName Email field label
|
|
4643
|
+
*/
|
|
4644
|
+
this.emailLabel = "Email";
|
|
4645
|
+
/**
|
|
4646
|
+
* @uiName First name field label
|
|
4647
|
+
*/
|
|
4648
|
+
this.firstNameLabel = "First Name";
|
|
4649
|
+
/**
|
|
4650
|
+
* @uiName Last name field label
|
|
4651
|
+
*/
|
|
4652
|
+
this.lastNameLabel = "Last Name";
|
|
4653
|
+
/**
|
|
4654
|
+
* @uiName Register button text
|
|
4655
|
+
*/
|
|
4656
|
+
this.registerLabel = "Start Referring";
|
|
4657
|
+
/**
|
|
4658
|
+
* Require your participants to enter their first and last name.
|
|
4659
|
+
*
|
|
4660
|
+
* @uiName Include name fields
|
|
4661
|
+
*/
|
|
4662
|
+
this.includeName = false;
|
|
4663
|
+
/**
|
|
4664
|
+
* @uiName Hide border
|
|
4665
|
+
* @uiGroup Card style
|
|
4666
|
+
*/
|
|
4667
|
+
this.hideBorder = false;
|
|
4668
|
+
/**
|
|
4669
|
+
* Display this message when a required field has not been filled out.
|
|
4670
|
+
*
|
|
4671
|
+
* @uiName Required field message
|
|
4672
|
+
* @uiWidget textArea
|
|
4673
|
+
* @uiGroup Error messages
|
|
4674
|
+
*/
|
|
4675
|
+
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4676
|
+
/**
|
|
4677
|
+
* Display this message when the given email is invalid.
|
|
4678
|
+
*
|
|
4679
|
+
* @uiName Invalid email message
|
|
4680
|
+
* @uiWidget textArea
|
|
4681
|
+
* @uiGroup Error messages
|
|
4682
|
+
*/
|
|
4683
|
+
this.invalidEmailErrorMessage = "Please enter a valid email address";
|
|
4684
|
+
/**
|
|
4685
|
+
* Display this message when the form submission unexpectedly fails.
|
|
4686
|
+
*
|
|
4687
|
+
* @uiName Network error message
|
|
4688
|
+
* @uiWidget textArea
|
|
4689
|
+
* @uiGroup Error messages
|
|
4690
|
+
*/
|
|
4691
|
+
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.";
|
|
4692
|
+
/**
|
|
4693
|
+
* Display this message when there is suspected fraud.
|
|
4694
|
+
*
|
|
4695
|
+
* @uiName Fraud error message
|
|
4696
|
+
* @uiWidget textArea
|
|
4697
|
+
* @uiGroup Error messages
|
|
4698
|
+
*/
|
|
4699
|
+
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.";
|
|
4700
|
+
/**
|
|
4701
|
+
* Display this message when there is suspected fraud.
|
|
4702
|
+
*
|
|
4703
|
+
* @uiName Fraud error message title
|
|
4704
|
+
* @uiWidget textArea
|
|
4705
|
+
* @uiGroup Error messages
|
|
4706
|
+
*/
|
|
4707
|
+
this.fraudErrorMessageTitle = "Looks like you tried referring yourself";
|
|
4708
|
+
/**
|
|
4709
|
+
* @uiName Top padding
|
|
4710
|
+
* @uiGroup Card style
|
|
4711
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4712
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4713
|
+
*/
|
|
4714
|
+
this.paddingTop = "large";
|
|
4715
|
+
/**
|
|
4716
|
+
* @uiName Right padding
|
|
4717
|
+
* @uiGroup Card style
|
|
4718
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4719
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4720
|
+
*/
|
|
4721
|
+
this.paddingRight = "large";
|
|
4722
|
+
/**
|
|
4723
|
+
* @uiName Bottom padding
|
|
4724
|
+
* @uiGroup Card style
|
|
4725
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4726
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4727
|
+
*/
|
|
4728
|
+
this.paddingBottom = "large";
|
|
4729
|
+
/**
|
|
4730
|
+
* @uiName Left padding
|
|
4731
|
+
* @uiGroup Card style
|
|
4732
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4733
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4734
|
+
*/
|
|
4735
|
+
this.paddingLeft = "large";
|
|
4736
|
+
/**
|
|
4737
|
+
* @undocumented
|
|
4738
|
+
* @uiType boolean
|
|
4739
|
+
*/
|
|
4740
|
+
this.includeCookies = true;
|
|
4741
|
+
h(this);
|
|
4742
|
+
}
|
|
4743
|
+
disconnectedCallback() { }
|
|
4744
|
+
render() {
|
|
4745
|
+
const { states, callbacks } = isDemo()
|
|
4746
|
+
? useRegistrationDemo(this)
|
|
4747
|
+
: useInstantAccessRegistration(this);
|
|
4748
|
+
const content = {
|
|
4749
|
+
fraudErrorMessage: this.fraudErrorMessage,
|
|
4750
|
+
fraudErrorMessageTitle: this.fraudErrorMessageTitle,
|
|
4751
|
+
emailLabel: this.emailLabel,
|
|
4752
|
+
registerLabel: this.registerLabel,
|
|
4753
|
+
firstNameLabel: this.firstNameLabel,
|
|
4754
|
+
lastNameLabel: this.lastNameLabel,
|
|
4755
|
+
includeName: this.includeName,
|
|
4756
|
+
hideBorder: this.hideBorder,
|
|
4757
|
+
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4758
|
+
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4759
|
+
paddingTop: this.paddingTop,
|
|
4760
|
+
paddingBottom: this.paddingBottom,
|
|
4761
|
+
paddingLeft: this.paddingLeft,
|
|
4762
|
+
paddingRight: this.paddingRight,
|
|
4763
|
+
backgroundColor: this.backgroundColor,
|
|
4764
|
+
// slots
|
|
4765
|
+
topSlot: h$1("slot", { name: "top" }),
|
|
4766
|
+
bottomSlot: h$1("slot", { name: "bottom" }),
|
|
4767
|
+
};
|
|
4768
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
4769
|
+
}
|
|
4770
|
+
};
|
|
4771
|
+
function useRegistrationDemo(props) {
|
|
4772
|
+
const onSubmit = () => {
|
|
4773
|
+
setUserIdentity({
|
|
4774
|
+
id: "referrer@example.com",
|
|
4775
|
+
accountId: "referrer@example.com",
|
|
4776
|
+
jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
|
|
4777
|
+
});
|
|
4778
|
+
};
|
|
4779
|
+
return cjs({
|
|
4780
|
+
states: {
|
|
4781
|
+
error: "",
|
|
4782
|
+
loading: false,
|
|
4783
|
+
},
|
|
4784
|
+
callbacks: {
|
|
4785
|
+
submit: async (_event) => {
|
|
4786
|
+
onSubmit();
|
|
4787
|
+
},
|
|
4788
|
+
},
|
|
4789
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4790
|
+
}
|
|
4791
|
+
|
|
3788
4792
|
// canvas-confetti v1.4.0 built on 2021-03-10T12:32:33.488Z
|
|
3789
4793
|
var module = {};
|
|
3790
4794
|
|
|
@@ -4721,6 +5725,13 @@ const SqmRewardExchangeList = class {
|
|
|
4721
5725
|
* @uiName Cost row title
|
|
4722
5726
|
*/
|
|
4723
5727
|
this.costTitle = "Cost to Redeem";
|
|
5728
|
+
/**
|
|
5729
|
+
* @componentState { "title": "Choose reward", "props": { "states": { "redeemStage": "chooseReward" } }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5730
|
+
* @componentState { "title": "Reward details", "props": { "states": { "redeemStage": "chooseAmount" } }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5731
|
+
* @componentState { "title": "Confirm exchange", "props": { "states": { "redeemStage": "confirmation" } }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5732
|
+
* @componentState { "title": "Exchange successful", "props": { "states": { "redeemStage": "success" } }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
5733
|
+
*/
|
|
5734
|
+
this.stateController = "{}";
|
|
4724
5735
|
h(this);
|
|
4725
5736
|
}
|
|
4726
5737
|
disconnectedCallback() { }
|
|
@@ -4740,37 +5751,45 @@ function EmptySlot$1() {
|
|
|
4740
5751
|
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" })));
|
|
4741
5752
|
}
|
|
4742
5753
|
function useRewardExchangeListDemo(props) {
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
5754
|
+
const states = parseStates(props.stateController);
|
|
5755
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
|
|
5756
|
+
? { ...prev, ...states[key] }
|
|
5757
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
5758
|
+
const finalProps = cjs({ ...demoRewardExchange, content: { text: props } },
|
|
5759
|
+
// {
|
|
5760
|
+
// states: {
|
|
5761
|
+
// content: {
|
|
5762
|
+
// text: props,
|
|
5763
|
+
// },
|
|
5764
|
+
// redeemStage: "chooseReward",
|
|
5765
|
+
// amount: 0,
|
|
5766
|
+
// selectedStep: undefined,
|
|
5767
|
+
// selectedItem: undefined,
|
|
5768
|
+
// open: false,
|
|
5769
|
+
// exchangeError: false,
|
|
5770
|
+
// queryError: false,
|
|
5771
|
+
// loading: false,
|
|
5772
|
+
// noExchangeOptions: false,
|
|
5773
|
+
// // empty: EmptySlot(),
|
|
5774
|
+
// },
|
|
5775
|
+
// data: {
|
|
5776
|
+
// // shareCode: "SHARECODE123",
|
|
5777
|
+
// exchangeList: demoRewardExchange.data.exchangeList,
|
|
5778
|
+
// },
|
|
5779
|
+
// callbacks: {
|
|
5780
|
+
// exchangeReward: () => {},
|
|
5781
|
+
// setExchangeState: (_: ExchangeState) => {},
|
|
5782
|
+
// setStage: (_: Stages) => {},
|
|
5783
|
+
// resetState: () => {},
|
|
5784
|
+
// copyFuelTankCode: () => {},
|
|
5785
|
+
// },
|
|
5786
|
+
// refs: {
|
|
5787
|
+
// canvasRef: {},
|
|
5788
|
+
// },
|
|
5789
|
+
// },
|
|
5790
|
+
props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
5791
|
+
console.log({ finalProps });
|
|
5792
|
+
return finalProps;
|
|
4774
5793
|
}
|
|
4775
5794
|
|
|
4776
5795
|
const debug$1 = browser("sq:useRouter");
|
|
@@ -4782,7 +5801,7 @@ function matchPath(pattern, page) {
|
|
|
4782
5801
|
}
|
|
4783
5802
|
function useRouter() {
|
|
4784
5803
|
const location = kn();
|
|
4785
|
-
const host = _();
|
|
5804
|
+
const host = _$1();
|
|
4786
5805
|
const [slot, setSlot] = useState(undefined);
|
|
4787
5806
|
const [container, setContainer] = useState(undefined);
|
|
4788
5807
|
const page = location.pathname;
|
|
@@ -4873,8 +5892,8 @@ const ShareButton = class {
|
|
|
4873
5892
|
/**
|
|
4874
5893
|
* @uiType string
|
|
4875
5894
|
* @uiName Button style
|
|
4876
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4877
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
5895
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
5896
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4878
5897
|
*/
|
|
4879
5898
|
this.type = "default";
|
|
4880
5899
|
/**
|
|
@@ -4886,11 +5905,13 @@ const ShareButton = class {
|
|
|
4886
5905
|
this.iconslot = "prefix";
|
|
4887
5906
|
/**
|
|
4888
5907
|
* @uiName Hide icon
|
|
5908
|
+
* @uiGroup Style
|
|
4889
5909
|
* @default
|
|
4890
5910
|
*/
|
|
4891
5911
|
this.hideicon = false;
|
|
4892
5912
|
/**
|
|
4893
5913
|
* @uiName Hide text
|
|
5914
|
+
* @uiGroup Style
|
|
4894
5915
|
* @default
|
|
4895
5916
|
*/
|
|
4896
5917
|
this.hidetext = false;
|
|
@@ -4996,6 +6017,7 @@ const ShareCode = class {
|
|
|
4996
6017
|
* @uiType string
|
|
4997
6018
|
* @uiEnum ["left", "center", "right"]
|
|
4998
6019
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
6020
|
+
* @uiGroup Style
|
|
4999
6021
|
*/
|
|
5000
6022
|
this.textAlign = "left";
|
|
5001
6023
|
/**
|
|
@@ -5009,8 +6031,18 @@ const ShareCode = class {
|
|
|
5009
6031
|
* @uiType string
|
|
5010
6032
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
5011
6033
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
6034
|
+
* @uiGroup Style
|
|
5012
6035
|
*/
|
|
5013
6036
|
this.buttonStyle = "icon";
|
|
6037
|
+
/**
|
|
6038
|
+
* The type of the button that is used (primary or secondary).
|
|
6039
|
+
* @uiName Button Type
|
|
6040
|
+
* @uiType string
|
|
6041
|
+
* @uiEnum ["primary", "secondary"]
|
|
6042
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
6043
|
+
* @uiGroup Style
|
|
6044
|
+
*/
|
|
6045
|
+
this.buttonType = "primary";
|
|
5014
6046
|
h(this);
|
|
5015
6047
|
}
|
|
5016
6048
|
disconnectedCallback() { }
|
|
@@ -5031,6 +6063,11 @@ function useDemoShareCode(props) {
|
|
|
5031
6063
|
textAlign: props.textAlign,
|
|
5032
6064
|
copyButtonLabel: props.copyButtonLabel,
|
|
5033
6065
|
buttonStyle: props.buttonStyle,
|
|
6066
|
+
backgroundColor: props.backgroundColor,
|
|
6067
|
+
textColor: props.textColor,
|
|
6068
|
+
borderRadius: props.borderRadius,
|
|
6069
|
+
borderColor: props.borderColor,
|
|
6070
|
+
buttonType: props.buttonType,
|
|
5034
6071
|
rewardStatus: "AVAILABLE",
|
|
5035
6072
|
open,
|
|
5036
6073
|
onClick: () => {
|
|
@@ -5065,19 +6102,30 @@ const ShareLink = class {
|
|
|
5065
6102
|
* @uiType string
|
|
5066
6103
|
* @uiEnum ["left", "center", "right"]
|
|
5067
6104
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
6105
|
+
* @uiGroup Style
|
|
5068
6106
|
*/
|
|
5069
6107
|
this.textAlign = "left";
|
|
5070
6108
|
/**
|
|
5071
6109
|
* @uiName Copy button label
|
|
5072
6110
|
*/
|
|
5073
6111
|
this.copyButtonLabel = "Copy Link";
|
|
6112
|
+
/**
|
|
6113
|
+
* The type of the button that is used (primary or secondary).
|
|
6114
|
+
* @uiName Button Type
|
|
6115
|
+
* @uiType string
|
|
6116
|
+
* @uiEnum ["primary", "secondary"]
|
|
6117
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
6118
|
+
* @uiGroup Style
|
|
6119
|
+
*/
|
|
6120
|
+
this.buttonType = "primary";
|
|
5074
6121
|
/**
|
|
5075
6122
|
* Set the copy button style and placement
|
|
5076
6123
|
*
|
|
5077
|
-
* @uiName
|
|
6124
|
+
* @uiName Button style
|
|
5078
6125
|
* @uiType string
|
|
5079
6126
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
5080
6127
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
6128
|
+
* @uiGroup Style
|
|
5081
6129
|
*/
|
|
5082
6130
|
this.buttonStyle = "icon";
|
|
5083
6131
|
h(this);
|
|
@@ -5094,12 +6142,18 @@ const ShareLink = class {
|
|
|
5094
6142
|
function useDemoShareLink(props) {
|
|
5095
6143
|
const [open, setOpen] = useState(false);
|
|
5096
6144
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6145
|
+
console.log("Demo props", props);
|
|
5097
6146
|
return cjs({
|
|
5098
6147
|
copyString: copyString,
|
|
5099
6148
|
tooltiptext: props.tooltiptext,
|
|
5100
6149
|
textAlign: props.textAlign,
|
|
5101
6150
|
buttonStyle: props.buttonStyle,
|
|
6151
|
+
backgroundColor: props.backgroundColor,
|
|
6152
|
+
textColor: props.textColor,
|
|
6153
|
+
borderRadius: props.borderRadius,
|
|
6154
|
+
buttonType: props.buttonType,
|
|
5102
6155
|
copyButtonLabel: props.copyButtonLabel,
|
|
6156
|
+
borderColor: props.borderColor,
|
|
5103
6157
|
rewardStatus: "AVAILABLE",
|
|
5104
6158
|
open,
|
|
5105
6159
|
onClick: () => {
|
|
@@ -5124,12 +6178,29 @@ const StatContainer = class {
|
|
|
5124
6178
|
*/
|
|
5125
6179
|
this.space = "xxx-large";
|
|
5126
6180
|
/**
|
|
6181
|
+
* @undocumented
|
|
5127
6182
|
* @uiName Display
|
|
5128
6183
|
* @uiType string
|
|
5129
6184
|
* @uiEnum ["grid", "flex"]
|
|
5130
6185
|
* @uiEnumNames ["Grid", "Flex"]
|
|
5131
6186
|
*/
|
|
5132
|
-
this.display = "
|
|
6187
|
+
this.display = "flex";
|
|
6188
|
+
/**
|
|
6189
|
+
* Controls the alignment of the flexbox
|
|
6190
|
+
*
|
|
6191
|
+
* @uiName Alignment
|
|
6192
|
+
* @uiType string
|
|
6193
|
+
* @uiEnum ["left", "right", "center"]
|
|
6194
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
6195
|
+
*/
|
|
6196
|
+
this.alignment = "center";
|
|
6197
|
+
/**
|
|
6198
|
+
* @uiName Gap
|
|
6199
|
+
* @uiType string
|
|
6200
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
6201
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
6202
|
+
*/
|
|
6203
|
+
this.gap = "x-large";
|
|
5133
6204
|
h(this);
|
|
5134
6205
|
}
|
|
5135
6206
|
disconnectedCallback() { }
|
|
@@ -5173,8 +6244,18 @@ function useTaskCard(props) {
|
|
|
5173
6244
|
function onClick() {
|
|
5174
6245
|
props.eventKey ? sendEvent(props.eventKey) : openLink();
|
|
5175
6246
|
}
|
|
6247
|
+
const styles = {
|
|
6248
|
+
card: {
|
|
6249
|
+
backgroundColor: props.backgroundColor,
|
|
6250
|
+
textColor: props.textColor,
|
|
6251
|
+
borderColor: props.borderColor,
|
|
6252
|
+
borderRadius: props.borderRadius,
|
|
6253
|
+
buttonType: props.buttonType,
|
|
6254
|
+
},
|
|
6255
|
+
};
|
|
5176
6256
|
return {
|
|
5177
6257
|
states: { loadingEvent, locale },
|
|
6258
|
+
styles,
|
|
5178
6259
|
callbacks: { sendEvent, onClick },
|
|
5179
6260
|
};
|
|
5180
6261
|
}
|
|
@@ -5288,6 +6369,14 @@ const TaskCard = class {
|
|
|
5288
6369
|
* @uiGroup Button
|
|
5289
6370
|
*/
|
|
5290
6371
|
this.hideButton = false;
|
|
6372
|
+
/**
|
|
6373
|
+
* @uiName Button Style
|
|
6374
|
+
* @uiType string
|
|
6375
|
+
* @uiEnum ["primary", "secondary"]
|
|
6376
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
6377
|
+
* @uiGroup Style
|
|
6378
|
+
*/
|
|
6379
|
+
this.buttonType = "primary";
|
|
5291
6380
|
h(this);
|
|
5292
6381
|
}
|
|
5293
6382
|
disconnectedCallback() { }
|
|
@@ -5309,6 +6398,7 @@ const TaskCard = class {
|
|
|
5309
6398
|
};
|
|
5310
6399
|
function useTaskCardDemo(props) {
|
|
5311
6400
|
return cjs({
|
|
6401
|
+
content: { ...props },
|
|
5312
6402
|
states: { loadingEvent: false, locale: "en" },
|
|
5313
6403
|
callbacks: {
|
|
5314
6404
|
sendEvent: (event) => console.log(event),
|
|
@@ -5362,52 +6452,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
5362
6452
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
5363
6453
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
5364
6454
|
|
|
5365
|
-
const
|
|
5366
|
-
TimelineReward: {
|
|
5367
|
-
color: "var(--sl-color-neutral-900)",
|
|
5368
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
5369
|
-
"& .container": {
|
|
5370
|
-
display: "flex",
|
|
5371
|
-
},
|
|
5372
|
-
"& .line": {
|
|
5373
|
-
display: "none",
|
|
5374
|
-
color: "transparent",
|
|
5375
|
-
userSelect: "none",
|
|
5376
|
-
background: "var(--sl-color-primary-300)",
|
|
5377
|
-
width: "4px",
|
|
5378
|
-
borderRadius: "4px",
|
|
5379
|
-
margin: "-2px",
|
|
5380
|
-
position: "relative",
|
|
5381
|
-
left: "12px",
|
|
5382
|
-
top: "34px",
|
|
5383
|
-
},
|
|
5384
|
-
"& .step": {
|
|
5385
|
-
display: "flex",
|
|
5386
|
-
},
|
|
5387
|
-
"& .icon": {
|
|
5388
|
-
position: "relative",
|
|
5389
|
-
top: "4px",
|
|
5390
|
-
zIndex: "1",
|
|
5391
|
-
color: "var(--sl-color-primary-300)",
|
|
5392
|
-
marginRight: "var(--sl-spacing-large)",
|
|
5393
|
-
},
|
|
5394
|
-
"& .reward": {
|
|
5395
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
5396
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
5397
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5398
|
-
},
|
|
5399
|
-
"& .unit": {
|
|
5400
|
-
textTransform: "uppercase",
|
|
5401
|
-
fontSize: "var(--sl-font-size-small)",
|
|
5402
|
-
},
|
|
5403
|
-
"& .description": {
|
|
5404
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
5405
|
-
},
|
|
5406
|
-
},
|
|
5407
|
-
};
|
|
5408
|
-
const sheet$4 = createStyleSheet(style$4);
|
|
5409
|
-
const styleString$4 = sheet$4.toString();
|
|
5410
|
-
const vanillaStyle$2 = `
|
|
6455
|
+
const vanillaStyle$3 = `
|
|
5411
6456
|
:host{
|
|
5412
6457
|
display: block;
|
|
5413
6458
|
}
|
|
@@ -5419,10 +6464,55 @@ const vanillaStyle$2 = `
|
|
|
5419
6464
|
function TimelineEntryView(props) {
|
|
5420
6465
|
var _a;
|
|
5421
6466
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5422
|
-
|
|
6467
|
+
const style = {
|
|
6468
|
+
TimelineReward: {
|
|
6469
|
+
color: props.textColor || "var(--sqm-text)",
|
|
6470
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
6471
|
+
"& .container": {
|
|
6472
|
+
display: "flex",
|
|
6473
|
+
},
|
|
6474
|
+
"& .line": {
|
|
6475
|
+
display: "none",
|
|
6476
|
+
color: "transparent",
|
|
6477
|
+
userSelect: "none",
|
|
6478
|
+
background: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
6479
|
+
width: "4px",
|
|
6480
|
+
borderRadius: "4px",
|
|
6481
|
+
margin: "-2px",
|
|
6482
|
+
position: "relative",
|
|
6483
|
+
left: "12px",
|
|
6484
|
+
top: "34px",
|
|
6485
|
+
},
|
|
6486
|
+
"& .step": {
|
|
6487
|
+
display: "flex",
|
|
6488
|
+
},
|
|
6489
|
+
"& .icon": {
|
|
6490
|
+
position: "relative",
|
|
6491
|
+
top: "4px",
|
|
6492
|
+
zIndex: "1",
|
|
6493
|
+
color: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
6494
|
+
marginRight: "var(--sl-spacing-large)",
|
|
6495
|
+
},
|
|
6496
|
+
"& .reward": {
|
|
6497
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
6498
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
6499
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
6500
|
+
},
|
|
6501
|
+
"& .unit": {
|
|
6502
|
+
textTransform: "uppercase",
|
|
6503
|
+
fontSize: "var(--sl-font-size-small)",
|
|
6504
|
+
},
|
|
6505
|
+
"& .description": {
|
|
6506
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
6507
|
+
},
|
|
6508
|
+
},
|
|
6509
|
+
};
|
|
6510
|
+
const sheet = createStyleSheet(style);
|
|
6511
|
+
const styleString = sheet.toString();
|
|
6512
|
+
return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5423
6513
|
h$1("style", { type: "text/css" },
|
|
5424
|
-
styleString
|
|
5425
|
-
vanillaStyle$
|
|
6514
|
+
styleString,
|
|
6515
|
+
vanillaStyle$3),
|
|
5426
6516
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
5427
6517
|
h$1("div", { class: "line" }, "/"),
|
|
5428
6518
|
h$1("div", { class: "step" },
|
|
@@ -5512,4 +6602,4 @@ function useUserNameDemo(props) {
|
|
|
5512
6602
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5513
6603
|
}
|
|
5514
6604
|
|
|
5515
|
-
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, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, 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 };
|
|
6605
|
+
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, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalForgotPassword as sqm_portal_forgot_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|