@saasquatch/mint-components 1.12.0-8 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-040cffad.js → ShadowViewAddon-652aa5e4.js} +178 -236
- package/dist/cjs/copy-text-view-f1ce8888.js +231 -0
- package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
- package/dist/cjs/{global-c3637175.js → global-ae358e7d.js} +3 -3
- package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-191d84c2.js} +19 -52
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-811491ef.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +927 -239
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +226 -164
- package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-6a709e00.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-email-verification.cjs.entry.js +30 -22
- package/dist/cjs/sqm-empty_4.cjs.entry.js +12 -8
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-invoice-table-view-5d3a2d35.js → sqm-invoice-table-view-bfea11c8.js} +117 -5
- package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-67d1184c.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +392 -0
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-1a852b01.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-a2ed3b27.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -13
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +17 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +427 -183
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +104 -111
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-d64dfedd.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-fb1d317a.js} +4 -4
- package/dist/cjs/usePayoutStatus-9f25038a.js +1045 -0
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-b09d9b9e.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-b07ba3d4.js} +3 -3
- package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-f3db90da.js} +13 -9
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec246be.js} +2 -2
- package/dist/collection/collection-manifest.json +11 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +32 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +112 -0
- package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +63 -0
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +219 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +131 -0
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +8 -15
- package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +106 -127
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +18 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +111 -3
- package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +127 -14
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -24
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +186 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +31 -20
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +414 -23
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +133 -15
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +276 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +15 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -0
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/collection/components/views/copy-text-view.js +18 -3
- package/dist/collection/stories/Widget.stories.js +5 -0
- package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
- package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-a0cff36f.js} +177 -234
- package/dist/esm/copy-text-view-200d6958.js +225 -0
- package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
- package/dist/esm/{global-6306a9b8.js → global-9832e13a.js} +3 -3
- package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
- package/dist/esm/{index.module-6c840c4e.js → index.module-32d2bf62.js} +4 -37
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-1bcfd0de.js → re-render-6977623c.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +927 -240
- package/dist/esm/sqm-big-stat_39.entry.js +223 -161
- package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +31 -23
- package/dist/esm/sqm-empty_4.entry.js +12 -8
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
- package/dist/esm/{sqm-invoice-table-view-e9075c0b.js → sqm-invoice-table-view-e3a1287a.js} +117 -5
- package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-pagination_3.entry.js +386 -0
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +12 -12
- package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +9 -9
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +11 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form.entry.js +11 -11
- package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -12
- package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
- package/dist/esm/sqm-referral-table_11.entry.js +15 -13
- package/dist/esm/sqm-referred-registration.entry.js +7 -7
- 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 +17 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +414 -170
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +105 -112
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-dd86d4a4.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +4 -4
- package/dist/esm/usePayoutStatus-a7510912.js +1039 -0
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +11 -11
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-6e89095a.js} +3 -3
- package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-7e3eb7c0.js} +13 -9
- package/dist/esm/{utilities-443732be.js → utilities-34fdb9e3.js} +2 -2
- package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-a0cff36f.js +1 -0
- package/dist/esm-es5/copy-text-view-200d6958.js +1 -0
- package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
- package/dist/esm-es5/{global-6306a9b8.js → global-9832e13a.js} +2 -2
- package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
- package/dist/esm-es5/index.module-32d2bf62.js +1 -0
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-6977623c.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- 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-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-view-e3a1287a.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.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.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm-es5/useChildElements-dd86d4a4.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-a7510912.js +6 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-6e89095a.js +1 -0
- package/dist/esm-es5/useVerificationEmail-7e3eb7c0.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-34fdb9e3.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-01d6c1f0.system.js} +1 -1
- package/dist/mint-components/{p-59818690.system.entry.js → p-04a17b6f.system.entry.js} +1 -1
- package/dist/mint-components/p-062051ad.entry.js +1 -0
- package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
- package/dist/mint-components/p-0740469e.entry.js +33 -0
- package/dist/mint-components/p-0d485762.system.entry.js +1 -0
- package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
- package/dist/mint-components/p-11c8ad61.entry.js +9 -0
- package/dist/mint-components/{p-d468925f.entry.js → p-135356c8.entry.js} +1 -1
- package/dist/mint-components/p-147eddc7.system.js +1 -0
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-14f23e8b.system.entry.js} +1 -1
- package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
- package/dist/mint-components/p-1d00f622.entry.js +25 -0
- package/dist/mint-components/{p-cb433855.system.entry.js → p-1da85c55.system.entry.js} +1 -1
- package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-1f03999a.entry.js} +1 -1
- package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
- package/dist/mint-components/p-2478ab2e.js +1 -0
- package/dist/mint-components/p-26989f51.system.entry.js +1 -0
- package/dist/mint-components/{p-04348a9b.js → p-27063220.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-27f4da12.entry.js} +1 -1
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-28e02729.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
- package/dist/mint-components/p-2a2fb958.system.js +1 -0
- package/dist/mint-components/{p-ac51940e.system.js → p-2ae74e3d.system.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-2bc74e74.system.js} +1 -1
- package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-2be940fd.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-346b0453.js} +1 -1
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-38e25302.system.js +1 -0
- package/dist/mint-components/{p-cd44de66.system.js → p-38eeea85.system.js} +1 -1
- package/dist/mint-components/p-3a82938a.system.js +1 -0
- package/dist/mint-components/p-3b9a0443.js +1 -0
- package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
- package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
- package/dist/mint-components/p-437d9179.entry.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-4460a1b5.system.entry.js} +1 -1
- package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
- package/dist/mint-components/{p-5291891c.entry.js → p-45348151.entry.js} +2 -2
- package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-4665c2df.system.js} +1 -1
- package/dist/mint-components/p-4769ea4e.js +1 -0
- package/dist/mint-components/p-4810eded.js +52 -0
- package/dist/mint-components/p-493ceeaa.system.entry.js +1 -0
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4d50c2fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-4e88b1cc.system.entry.js} +1 -1
- package/dist/mint-components/p-5327c91f.system.js +1 -0
- package/dist/mint-components/p-533a6058.entry.js +1 -0
- package/dist/mint-components/p-558daf4f.system.js +1 -0
- package/dist/mint-components/p-55a5bbca.system.entry.js +1 -0
- package/dist/mint-components/{p-3925bcd6.entry.js → p-567510ed.entry.js} +1 -1
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/p-57f92fe0.entry.js +1 -0
- package/dist/mint-components/{p-c3b37bbf.js → p-597d9584.js} +1 -1
- package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
- package/dist/mint-components/p-59fb25c9.system.entry.js +1 -0
- package/dist/mint-components/{p-2816bf6a.js → p-5c3bf70d.js} +1 -1
- package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
- package/dist/mint-components/p-606f8320.js +31 -0
- package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
- package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-6765a6d5.entry.js} +1 -1
- package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-69429d09.system.entry.js} +1 -1
- package/dist/mint-components/p-6b3cb50a.entry.js +1 -0
- package/dist/mint-components/{p-0121e044.js → p-6c03512b.js} +1 -1
- package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-70f4aab2.system.entry.js} +1 -1
- package/dist/mint-components/p-72aff425.js +48 -0
- package/dist/mint-components/p-72b57205.js +1 -0
- package/dist/mint-components/p-73e9caad.system.js +1 -0
- package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-775685a2.system.entry.js} +1 -1
- package/dist/mint-components/p-7a4a47b2.entry.js +205 -0
- package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
- package/dist/mint-components/{p-f450654b.system.entry.js → p-7c1650bb.system.entry.js} +1 -1
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-7d85fba4.system.entry.js} +1 -1
- package/dist/mint-components/p-7ddd0248.entry.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7e0c2fd5.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-813f6633.entry.js} +1 -1
- package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
- package/dist/mint-components/p-81fd8e56.system.js +1 -0
- package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-87bde6c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-64491210.system.entry.js → p-89283c37.system.entry.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-8b24b795.entry.js} +2 -2
- package/dist/mint-components/{p-6c928c7d.entry.js → p-8b66735f.entry.js} +1 -1
- package/dist/mint-components/p-8e6c97b5.system.entry.js +1 -0
- package/dist/mint-components/{p-8d554a89.system.js → p-90b906e3.system.js} +1 -1
- package/dist/mint-components/p-95f71da6.entry.js +1 -0
- package/dist/mint-components/p-96755021.entry.js +16 -0
- package/dist/mint-components/{p-ead27698.system.entry.js → p-98c5589b.system.entry.js} +1 -1
- package/dist/mint-components/p-9a3612e3.system.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-9c980a21.entry.js} +1 -1
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
- package/dist/mint-components/p-a13c83c5.entry.js +1 -0
- package/dist/mint-components/p-a1cc7c75.system.js +6 -0
- package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
- package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
- package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
- package/dist/mint-components/p-a5c46b1f.system.entry.js +1 -0
- package/dist/mint-components/p-a966450d.entry.js +1 -0
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-a9ad04e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
- package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
- package/dist/mint-components/{p-bc826117.system.entry.js → p-b38c43c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-b4fd6877.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
- package/dist/mint-components/p-b7ea46a9.system.entry.js +1 -0
- package/dist/mint-components/{p-a85f57bb.entry.js → p-b8e79be3.entry.js} +1 -1
- package/dist/mint-components/p-bc827206.entry.js +241 -0
- package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
- package/dist/mint-components/{p-51d53165.system.entry.js → p-bf1ce947.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-c10eb4d9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-c49e034d.js} +2 -2
- package/dist/mint-components/p-c5a86ae0.system.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-c6b10310.entry.js} +1 -1
- package/dist/mint-components/p-c7d74b3d.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-c9a1e91f.system.entry.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce7d155e.entry.js} +1 -1
- package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-d2ce8962.system.entry.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-d2fdccaf.entry.js} +1 -1
- package/dist/mint-components/p-d30d4615.system.entry.js +1 -0
- package/dist/mint-components/p-d72ca162.entry.js +13 -0
- package/dist/mint-components/p-d8d97ff5.js +1 -0
- package/dist/mint-components/p-d9125705.entry.js +1 -0
- package/dist/mint-components/{p-bdd6bb13.js → p-d998f2cf.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-da694498.js} +1 -1
- package/dist/mint-components/p-dc10f1c8.entry.js +1 -0
- package/dist/mint-components/p-dd5a844d.entry.js +1 -0
- package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
- package/dist/mint-components/{p-68747d88.js → p-e445df4e.js} +1 -1
- package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
- package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
- package/dist/mint-components/p-e9561792.entry.js +1 -0
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-ea99fae7.system.entry.js} +1 -1
- package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-f1a8e889.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
- package/dist/mint-components/{p-9eae245f.js → p-f754e08b.js} +23 -23
- package/dist/mint-components/p-f831ddd1.entry.js +13 -0
- package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +16 -0
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +3 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +39 -0
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +52 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +13 -4
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +4 -0
- package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +30 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +5 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +45 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
- package/dist/types/components/views/copy-text-view.d.ts +3 -0
- package/dist/types/components.d.ts +625 -92
- package/dist/types/stories/Widget.stories.d.ts +6 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -345
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
- package/dist/esm/sqm-code-verification.entry.js +0 -341
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
- package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-e9075c0b.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/esm-es5/useChildElements-fc84e640.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
- package/dist/mint-components/p-0893073b.entry.js +0 -1
- package/dist/mint-components/p-0a898ab1.js +0 -1
- package/dist/mint-components/p-11d1b212.js +0 -1
- package/dist/mint-components/p-1649ee1e.entry.js +0 -240
- package/dist/mint-components/p-1712a9fd.entry.js +0 -11
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-4671e644.entry.js +0 -1
- package/dist/mint-components/p-4babe350.system.js +0 -1
- package/dist/mint-components/p-4e373c3d.system.js +0 -1
- package/dist/mint-components/p-4eae91a9.system.js +0 -1
- package/dist/mint-components/p-54ffae13.entry.js +0 -194
- package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
- package/dist/mint-components/p-639d3dd3.entry.js +0 -1
- package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
- package/dist/mint-components/p-84b25a46.entry.js +0 -1
- package/dist/mint-components/p-8690f682.system.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
- package/dist/mint-components/p-974070c4.system.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-9dcfa187.system.js +0 -1
- package/dist/mint-components/p-9ec008cb.system.entry.js +0 -1
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-c510fb88.entry.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-d238372a.system.entry.js +0 -1
- package/dist/mint-components/p-d49e2f7a.js +0 -1
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-e01ac27c.system.js +0 -1
- package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
- package/dist/mint-components/p-f36e33ff.entry.js +0 -13
- package/dist/mint-components/p-f55060db.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/mint-components/p-fffc3590.entry.js +0 -9
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as Host } from './index-
|
|
2
|
-
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import {
|
|
1
|
+
import { h, r as registerInstance, c as Host } from './index-014ddfa3.js';
|
|
2
|
+
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-576d7f01.js';
|
|
3
|
+
import './global-9832e13a.js';
|
|
4
|
+
import { f as $n, S as Sn, c as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-32d2bf62.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
|
-
import './mixins-f60a614c.js';
|
|
7
|
-
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import './useChildElements-fc84e640.js';
|
|
10
|
-
import { l as luxon } from './luxon-7600be8d.js';
|
|
11
6
|
import './utils-334c1e34.js';
|
|
12
|
-
import './
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
7
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
+
import { C as CopyTextView } from './copy-text-view-200d6958.js';
|
|
9
|
+
import './mixins-f60a614c.js';
|
|
10
|
+
import { G as GenericTableView } from './GenericTableView-706f5b56.js';
|
|
11
|
+
import './useChildElements-dd86d4a4.js';
|
|
12
|
+
import { l as luxon } from './luxon-12195d94.js';
|
|
13
|
+
import './sqm-text-span-view-d6e03f93.js';
|
|
14
|
+
import { A as AssetCardView } from './sqm-asset-card-view-da88351a.js';
|
|
15
|
+
import { C as CloseButtonView } from './sqm-close-button-view-8058642b.js';
|
|
15
16
|
import './index-ffa26b43.js';
|
|
16
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
17
|
-
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-
|
|
18
|
-
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-
|
|
19
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
22
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
-
import './utilities-
|
|
25
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
26
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
27
|
-
import { S as ShareButtonView, L as LeaderboardView,
|
|
28
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-
|
|
29
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
17
|
+
import { E as EmailRegistrationView } from './email-registration-view-5ecee6f8.js';
|
|
18
|
+
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-773a586f.js';
|
|
19
|
+
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-dfcd508a.js';
|
|
20
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-5f332ea1.js';
|
|
21
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-721b0060.js';
|
|
22
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-d90f5490.js';
|
|
23
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-8629f753.js';
|
|
24
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-9ac8ea4d.js';
|
|
25
|
+
import './utilities-34fdb9e3.js';
|
|
26
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-865655da.js';
|
|
27
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-6c60df25.js';
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-a0cff36f.js';
|
|
29
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83df005d.js';
|
|
30
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-e3a1287a.js';
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1624,6 +1625,19 @@ const EmptyState = /*#__PURE__*/Object.freeze({
|
|
|
1624
1625
|
SlottedIntoComponent: SlottedIntoComponent
|
|
1625
1626
|
});
|
|
1626
1627
|
|
|
1628
|
+
const Pagination_stories = {
|
|
1629
|
+
title: "Components/Link Button",
|
|
1630
|
+
};
|
|
1631
|
+
const Default = () => {
|
|
1632
|
+
return h("sqm-pagination", null);
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
const Pagination = /*#__PURE__*/Object.freeze({
|
|
1636
|
+
__proto__: null,
|
|
1637
|
+
'default': Pagination_stories,
|
|
1638
|
+
Default: Default
|
|
1639
|
+
});
|
|
1640
|
+
|
|
1627
1641
|
const scenario$2 = "@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is \"https://www.example.com/sharelink/abc\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for \"program-a\"\n When they click to copy their link\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share link text\n Given a user is editing the share link component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the share link component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
1628
1642
|
|
|
1629
1643
|
const ShareLink_stories = {
|
|
@@ -1632,7 +1646,7 @@ const ShareLink_stories = {
|
|
|
1632
1646
|
scenario: scenario$2,
|
|
1633
1647
|
},
|
|
1634
1648
|
};
|
|
1635
|
-
const Default = () => {
|
|
1649
|
+
const Default$1 = () => {
|
|
1636
1650
|
const props = {
|
|
1637
1651
|
copyString: "https://noah.example.com",
|
|
1638
1652
|
open: false,
|
|
@@ -1696,7 +1710,7 @@ const FullStack = () => {
|
|
|
1696
1710
|
const ShareLink = /*#__PURE__*/Object.freeze({
|
|
1697
1711
|
__proto__: null,
|
|
1698
1712
|
'default': ShareLink_stories,
|
|
1699
|
-
Default: Default,
|
|
1713
|
+
Default: Default$1,
|
|
1700
1714
|
Tooltip: Tooltip,
|
|
1701
1715
|
Disabled: Disabled,
|
|
1702
1716
|
Error: Error$1,
|
|
@@ -1715,7 +1729,7 @@ const BigStat_stories = {
|
|
|
1715
1729
|
scenario: scenario$3,
|
|
1716
1730
|
},
|
|
1717
1731
|
};
|
|
1718
|
-
const Default$
|
|
1732
|
+
const Default$2 = () => {
|
|
1719
1733
|
const props = { value: 990000, statvalue: "9.900,00", loading: false };
|
|
1720
1734
|
return h(BigStatView, Object.assign({}, props), "Big stat");
|
|
1721
1735
|
};
|
|
@@ -1798,7 +1812,7 @@ const MultipleStats = () => {
|
|
|
1798
1812
|
const BigStat = /*#__PURE__*/Object.freeze({
|
|
1799
1813
|
__proto__: null,
|
|
1800
1814
|
'default': BigStat_stories,
|
|
1801
|
-
Default: Default$
|
|
1815
|
+
Default: Default$2,
|
|
1802
1816
|
LeftAlign: LeftAlign,
|
|
1803
1817
|
RightAlign: RightAlign,
|
|
1804
1818
|
FlexReverse: FlexReverse,
|
|
@@ -2535,36 +2549,36 @@ const routes = `
|
|
|
2535
2549
|
`;
|
|
2536
2550
|
const TemplateNavigation = createHookStory(() => {
|
|
2537
2551
|
return (h("div", null,
|
|
2538
|
-
h("button", { onClick: () =>
|
|
2539
|
-
h("button", { onClick: () =>
|
|
2540
|
-
h("button", { onClick: () =>
|
|
2541
|
-
h("button", { onClick: () =>
|
|
2542
|
-
h("button", { onClick: () =>
|
|
2543
|
-
h("button", { onClick: () =>
|
|
2544
|
-
h("button", { onClick: () =>
|
|
2545
|
-
h("button", { onClick: () =>
|
|
2546
|
-
h("button", { onClick: () =>
|
|
2552
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2553
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2554
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2555
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2556
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2557
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2558
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2559
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2560
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2547
2561
|
h("hr", null),
|
|
2548
2562
|
h("sqm-router", { innerHTML: templates })));
|
|
2549
2563
|
});
|
|
2550
2564
|
const RouteNavigation = createHookStory(() => {
|
|
2551
2565
|
return (h("div", null,
|
|
2552
|
-
h("button", { onClick: () =>
|
|
2553
|
-
h("button", { onClick: () =>
|
|
2554
|
-
h("button", { onClick: () =>
|
|
2555
|
-
h("button", { onClick: () =>
|
|
2556
|
-
h("button", { onClick: () =>
|
|
2557
|
-
h("button", { onClick: () =>
|
|
2558
|
-
h("button", { onClick: () =>
|
|
2559
|
-
h("button", { onClick: () =>
|
|
2560
|
-
h("button", { onClick: () =>
|
|
2566
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2567
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2568
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2569
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2570
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2571
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2572
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2573
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2574
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2561
2575
|
h("hr", null),
|
|
2562
2576
|
h("sqm-router", { innerHTML: routes })));
|
|
2563
2577
|
});
|
|
2564
2578
|
const Styling = createHookStory(() => {
|
|
2565
2579
|
return (h("div", null,
|
|
2566
|
-
h("button", { onClick: () =>
|
|
2567
|
-
h("button", { onClick: () =>
|
|
2580
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2581
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2568
2582
|
h("hr", null),
|
|
2569
2583
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2570
2584
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2578,7 +2592,7 @@ function useTemplate(templateString) {
|
|
|
2578
2592
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2579
2593
|
function setPath(e) {
|
|
2580
2594
|
//@ts-ignore
|
|
2581
|
-
|
|
2595
|
+
$n.push(e.target.value);
|
|
2582
2596
|
}
|
|
2583
2597
|
return {
|
|
2584
2598
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2742,8 +2756,8 @@ const FullStackFrame = () => {
|
|
|
2742
2756
|
"Current path:",
|
|
2743
2757
|
" ",
|
|
2744
2758
|
h("code", null,
|
|
2745
|
-
h("strong", null, (_a =
|
|
2746
|
-
h("button", { onClick:
|
|
2759
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2760
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2747
2761
|
};
|
|
2748
2762
|
const FullStackFrameLoggedOut = () => {
|
|
2749
2763
|
var _a;
|
|
@@ -2767,8 +2781,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2767
2781
|
"Current path:",
|
|
2768
2782
|
" ",
|
|
2769
2783
|
h("code", null,
|
|
2770
|
-
h("strong", null, (_a =
|
|
2771
|
-
h("button", { onClick:
|
|
2784
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2785
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2772
2786
|
};
|
|
2773
2787
|
|
|
2774
2788
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3495,7 +3509,7 @@ function useExchangeButton() {
|
|
|
3495
3509
|
const { id, accountId } = setupGraphQL$6();
|
|
3496
3510
|
const [points, setPoints] = useState(10);
|
|
3497
3511
|
const [rate, setRate] = useState(100);
|
|
3498
|
-
const [exchange, { data, errors }] =
|
|
3512
|
+
const [exchange, { data, errors }] = Xe(EXCHANGE);
|
|
3499
3513
|
return {
|
|
3500
3514
|
states: {
|
|
3501
3515
|
points,
|
|
@@ -4066,6 +4080,8 @@ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito S
|
|
|
4066
4080
|
|
|
4067
4081
|
const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
4068
4082
|
|
|
4083
|
+
const promoCodeReferralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-referral-codes slot=\"right\">\n <sqm-pagination slot=\"pagination\"></sqm-pagination>\n <sqm-referral-code\n slot=\"shareCodes\"\n show-notification-text=\"true\"\n ></sqm-referral-code>\n <sqm-portal-container gap=\"small\" slot=\"shareButtons\">\n <sqm-share-button medium=\"email\"\n >Share via email</sqm-share-button\n >\n <sqm-share-button medium=\"fbmessenger\"\n >Share on Facebook</sqm-share-button\n >\n <sqm-share-button medium=\"whatsapp\"\n >Share on WhatsApp</sqm-share-button\n >\n </sqm-portal-container>\n </sqm-referral-codes>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
4084
|
+
|
|
4069
4085
|
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
4070
4086
|
|
|
4071
4087
|
const instantAccessReferrerShareWidget = "<sqm-hero\n background=\"https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png\"\n columns=\"2\"\n padding-size=\"medium\"\n wrap-direction=\"wrap\"\n secondary-background=\"#FFFFFF\"\n min-height=\"200\"\n ><sqm-referral-card\n vertical-alignment=\"start\"\n slot=\"secondary-column\"\n padding-bottom=\"small\"\n padding-left=\"x-large\"\n padding-right=\"x-large\"\n padding-top=\"small\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"none\"\n padding=\"none\"\n slot=\"header\"\n ><h1 slot=\"label\">Invite your friends to unlock rewards!</h1>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and\n you’ll get a $50 in credit for each friend you refer.\n </p></sqm-titled-section\n >\n <sqm-portal-container\n gap=\"small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"left\"\n >\n <p style=\"margin: 0\">Choose how you want to share:</p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button> </sqm-portal-container\n ><sqm-portal-container\n display=\"flex\"\n slot=\"footer\"\n gap=\"small\"\n justify-content=\"center\"\n >\n <sqm-logout-current-user\n user-identification-text=\"{email}\"\n switch-user-link=\"#\"\n switch-user-text=\"not you?\"\n ></sqm-logout-current-user>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n show-powered-by=\"true\"\n padding-bottom=\"x-small\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n hide-support-text\n terms-text=\"Terms And Conditions\"\n terms-link=\"https://example.com\"\n ></sqm-portal-footer></sqm-portal-container\n ></sqm-referral-card>\n</sqm-hero>\n";
|
|
@@ -4096,16 +4112,16 @@ function DefaultTemplateView(props) {
|
|
|
4096
4112
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4097
4113
|
gridGap: "10px",
|
|
4098
4114
|
} },
|
|
4099
|
-
h("button", { onClick: () =>
|
|
4100
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
4101
|
-
h("button", { onClick: () =>
|
|
4102
|
-
h("button", { onClick: () =>
|
|
4103
|
-
h("button", { onClick: () =>
|
|
4104
|
-
h("button", { onClick: () =>
|
|
4105
|
-
h("button", { onClick: () =>
|
|
4106
|
-
h("button", { onClick: () =>
|
|
4107
|
-
h("button", { onClick: () =>
|
|
4108
|
-
h("button", { onClick: () =>
|
|
4115
|
+
h("button", { onClick: () => $n.push("/") }, "Dashboard"),
|
|
4116
|
+
props.leadSubmit && (h("button", { onClick: () => $n.push("/refer") }, "Submit a Referral")),
|
|
4117
|
+
h("button", { onClick: () => $n.push("/activity") }, "Activity"),
|
|
4118
|
+
h("button", { onClick: () => $n.push("/editProfile") }, "Edit Profile"),
|
|
4119
|
+
h("button", { onClick: () => $n.push("/login") }, "Login"),
|
|
4120
|
+
h("button", { onClick: () => $n.push("/register") }, "Register"),
|
|
4121
|
+
h("button", { onClick: () => $n.push("/emailVerification") }, "Email Verification"),
|
|
4122
|
+
h("button", { onClick: () => $n.push("/verifyEmail") }, "Verify Email"),
|
|
4123
|
+
h("button", { onClick: () => $n.push("/forgotPassword") }, "Forgot Password"),
|
|
4124
|
+
h("button", { onClick: () => $n.push("/resetPassword") }, "Reset Password")),
|
|
4109
4125
|
h("br", null),
|
|
4110
4126
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4111
4127
|
}
|
|
@@ -7122,6 +7138,10 @@ const Loyalty = createHookStory(() => {
|
|
|
7122
7138
|
const { states, callbacks } = useTemplate$1(loyaltyWidget);
|
|
7123
7139
|
return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: loyaltyWidget }));
|
|
7124
7140
|
});
|
|
7141
|
+
const PromoCodeReferralWidget = createHookStory(() => {
|
|
7142
|
+
const { states, callbacks } = useTemplate$1(promoCodeReferralWidget);
|
|
7143
|
+
return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: referralWidget }));
|
|
7144
|
+
});
|
|
7125
7145
|
const InstantAccessReferrerShareWidget = createHookStory(() => {
|
|
7126
7146
|
const { states, callbacks } = useTemplate$1(instantAccessReferrerShareWidget);
|
|
7127
7147
|
return h(TemplateView$1, { states: states, callbacks: callbacks });
|
|
@@ -7153,6 +7173,7 @@ const Widget = /*#__PURE__*/Object.freeze({
|
|
|
7153
7173
|
ReferralWidget: ReferralWidget,
|
|
7154
7174
|
MonoWidget: MonoWidget,
|
|
7155
7175
|
Loyalty: Loyalty,
|
|
7176
|
+
PromoCodeReferralWidget: PromoCodeReferralWidget,
|
|
7156
7177
|
InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
|
|
7157
7178
|
PaypalMonoWidget: PaypalMonoWidget,
|
|
7158
7179
|
PaypalReferralWidget: PaypalReferralWidget,
|
|
@@ -7272,14 +7293,14 @@ const loadingProps = {
|
|
|
7272
7293
|
},
|
|
7273
7294
|
content: { pageLabel: "Sign in to your account" },
|
|
7274
7295
|
};
|
|
7275
|
-
const Default$
|
|
7296
|
+
const Default$3 = () => h(PortalLoginView, Object.assign({}, defaultProps$2));
|
|
7276
7297
|
const LoginWithError = () => h(PortalLoginView, Object.assign({}, errorProps));
|
|
7277
7298
|
const LoginLoading = () => h(PortalLoginView, Object.assign({}, loadingProps));
|
|
7278
7299
|
|
|
7279
7300
|
const PortalLogin = /*#__PURE__*/Object.freeze({
|
|
7280
7301
|
__proto__: null,
|
|
7281
7302
|
'default': PortalLogin_stories,
|
|
7282
|
-
Default: Default$
|
|
7303
|
+
Default: Default$3,
|
|
7283
7304
|
LoginWithError: LoginWithError,
|
|
7284
7305
|
LoginLoading: LoginLoading
|
|
7285
7306
|
});
|
|
@@ -7382,7 +7403,7 @@ const slottedProps = {
|
|
|
7382
7403
|
h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
7383
7404
|
},
|
|
7384
7405
|
};
|
|
7385
|
-
const Default$
|
|
7406
|
+
const Default$4 = () => h(PortalRegisterView, Object.assign({}, defaultProps$3));
|
|
7386
7407
|
const RegisterWithError = () => h(PortalRegisterView, Object.assign({}, errorProps$1));
|
|
7387
7408
|
const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingProps$1));
|
|
7388
7409
|
const FieldsHidden = () => {
|
|
@@ -7409,7 +7430,7 @@ const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaul
|
|
|
7409
7430
|
const PortalRegister = /*#__PURE__*/Object.freeze({
|
|
7410
7431
|
__proto__: null,
|
|
7411
7432
|
'default': PortalRegister_stories,
|
|
7412
|
-
Default: Default$
|
|
7433
|
+
Default: Default$4,
|
|
7413
7434
|
RegisterWithError: RegisterWithError,
|
|
7414
7435
|
RegisterLoading: RegisterLoading,
|
|
7415
7436
|
FieldsHidden: FieldsHidden,
|
|
@@ -7485,7 +7506,7 @@ const successProps = {
|
|
|
7485
7506
|
messageSlot: "Enter your email below to receive a password reset link.",
|
|
7486
7507
|
},
|
|
7487
7508
|
};
|
|
7488
|
-
const Default$
|
|
7509
|
+
const Default$5 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$4));
|
|
7489
7510
|
const ForgotPasswordWithError = () => (h(PortalForgotPasswordView, Object.assign({}, errorProps$2)));
|
|
7490
7511
|
const ForgotPasswordLoading = () => (h(PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
|
|
7491
7512
|
const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({}, successProps)));
|
|
@@ -7493,7 +7514,7 @@ const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({
|
|
|
7493
7514
|
const PortalForgotPassword = /*#__PURE__*/Object.freeze({
|
|
7494
7515
|
__proto__: null,
|
|
7495
7516
|
'default': PortalForgotPassword_stories,
|
|
7496
|
-
Default: Default$
|
|
7517
|
+
Default: Default$5,
|
|
7497
7518
|
ForgotPasswordWithError: ForgotPasswordWithError,
|
|
7498
7519
|
ForgotPasswordLoading: ForgotPasswordLoading,
|
|
7499
7520
|
ForgotPasswordSuccess: ForgotPasswordSuccess
|
|
@@ -7564,7 +7585,7 @@ const loadingVerificationProps = {
|
|
|
7564
7585
|
callbacks: defaultCallbacks,
|
|
7565
7586
|
content: defaultContent,
|
|
7566
7587
|
};
|
|
7567
|
-
const Default$
|
|
7588
|
+
const Default$6 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$5));
|
|
7568
7589
|
const EmailVerificationWithError = () => (h(PortalEmailVerificationView, Object.assign({}, errorProps$3)));
|
|
7569
7590
|
const EmailVerificationLoading = () => (h(PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
|
|
7570
7591
|
const EmailVerificationCheckingVerification = () => (h(PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
|
|
@@ -7573,7 +7594,7 @@ const EmailVerificationSuccess = () => (h(PortalEmailVerificationView, Object.as
|
|
|
7573
7594
|
const PortalEmailVerification = /*#__PURE__*/Object.freeze({
|
|
7574
7595
|
__proto__: null,
|
|
7575
7596
|
'default': PortalEmailVerification_stories,
|
|
7576
|
-
Default: Default$
|
|
7597
|
+
Default: Default$6,
|
|
7577
7598
|
EmailVerificationWithError: EmailVerificationWithError,
|
|
7578
7599
|
EmailVerificationLoading: EmailVerificationLoading,
|
|
7579
7600
|
EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
|
|
@@ -7726,7 +7747,7 @@ const validatingCodeProps = {
|
|
|
7726
7747
|
failed: () => console.log("failed"),
|
|
7727
7748
|
},
|
|
7728
7749
|
};
|
|
7729
|
-
const Default$
|
|
7750
|
+
const Default$7 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$6));
|
|
7730
7751
|
const DefaultWithoutConfirmField = () => (h(PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
|
|
7731
7752
|
const ResetPasswordWithError = () => (h(PortalResetPasswordView, Object.assign({}, errorProps$4)));
|
|
7732
7753
|
const ResetPasswordLoading = () => (h(PortalResetPasswordView, Object.assign({}, loadingProps$4)));
|
|
@@ -7736,7 +7757,7 @@ const CodeValidating = () => (h(PortalResetPasswordView, Object.assign({}, valid
|
|
|
7736
7757
|
const PortalResetPassword = /*#__PURE__*/Object.freeze({
|
|
7737
7758
|
__proto__: null,
|
|
7738
7759
|
'default': PortalResetPassword_stories,
|
|
7739
|
-
Default: Default$
|
|
7760
|
+
Default: Default$7,
|
|
7740
7761
|
DefaultWithoutConfirmField: DefaultWithoutConfirmField,
|
|
7741
7762
|
ResetPasswordWithError: ResetPasswordWithError,
|
|
7742
7763
|
ResetPasswordLoading: ResetPasswordLoading,
|
|
@@ -7799,7 +7820,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
|
|
|
7799
7820
|
const AssetCard_stories = {
|
|
7800
7821
|
title: "Components/Asset Card",
|
|
7801
7822
|
};
|
|
7802
|
-
const Default$
|
|
7823
|
+
const Default$8 = () => {
|
|
7803
7824
|
const props = {
|
|
7804
7825
|
text: { titleText: "Marketing Banner" },
|
|
7805
7826
|
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
@@ -7827,7 +7848,7 @@ const CardWithNoImg = () => {
|
|
|
7827
7848
|
const AssetCard = /*#__PURE__*/Object.freeze({
|
|
7828
7849
|
__proto__: null,
|
|
7829
7850
|
'default': AssetCard_stories,
|
|
7830
|
-
Default: Default$
|
|
7851
|
+
Default: Default$8,
|
|
7831
7852
|
CardWithLongText: CardWithLongText,
|
|
7832
7853
|
CardWithNoImg: CardWithNoImg
|
|
7833
7854
|
});
|
|
@@ -8048,7 +8069,7 @@ const successProps$3 = {
|
|
|
8048
8069
|
submit: (e) => console.log("Submit", e),
|
|
8049
8070
|
},
|
|
8050
8071
|
};
|
|
8051
|
-
const Default$
|
|
8072
|
+
const Default$9 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$7));
|
|
8052
8073
|
const Open = () => h(PortalChangePasswordView, Object.assign({}, openProps));
|
|
8053
8074
|
const Error$2 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$6));
|
|
8054
8075
|
const PaswordError = () => (h(PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
@@ -8058,7 +8079,7 @@ const Success = () => h(PortalChangePasswordView, Object.assign({}, successProps
|
|
|
8058
8079
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
8059
8080
|
__proto__: null,
|
|
8060
8081
|
'default': ChangePassword_stories,
|
|
8061
|
-
Default: Default$
|
|
8082
|
+
Default: Default$9,
|
|
8062
8083
|
Open: Open,
|
|
8063
8084
|
Error: Error$2,
|
|
8064
8085
|
PaswordError: PaswordError,
|
|
@@ -8285,7 +8306,7 @@ const successProps$4 = {
|
|
|
8285
8306
|
onChange: (e) => console.log(e),
|
|
8286
8307
|
},
|
|
8287
8308
|
};
|
|
8288
|
-
const Default$
|
|
8309
|
+
const Default$a = () => h(PortalProfileView, Object.assign({}, defaultProps$8));
|
|
8289
8310
|
const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
|
|
8290
8311
|
const Loading$2 = () => h(PortalProfileView, Object.assign({}, loadingProps$6));
|
|
8291
8312
|
const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
|
|
@@ -8295,7 +8316,7 @@ const Success$1 = () => h(PortalProfileView, Object.assign({}, successProps$4));
|
|
|
8295
8316
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8296
8317
|
__proto__: null,
|
|
8297
8318
|
'default': PortalProfile_stories,
|
|
8298
|
-
Default: Default$
|
|
8319
|
+
Default: Default$a,
|
|
8299
8320
|
DefaultNoCountry: DefaultNoCountry,
|
|
8300
8321
|
Loading: Loading$2,
|
|
8301
8322
|
Disabled: Disabled$1,
|
|
@@ -8434,6 +8455,9 @@ const deniedReward = {
|
|
|
8434
8455
|
const payoutFailedReward = {
|
|
8435
8456
|
statuses: ["PAYOUT_FAILED"],
|
|
8436
8457
|
};
|
|
8458
|
+
const payoutCancelledReward = {
|
|
8459
|
+
statuses: ["PAYOUT_CANCELLED"],
|
|
8460
|
+
};
|
|
8437
8461
|
const pendingReviewReward = {
|
|
8438
8462
|
statuses: ["PENDING_REVIEW"],
|
|
8439
8463
|
};
|
|
@@ -8513,8 +8537,8 @@ function getMonths() {
|
|
|
8513
8537
|
function getYears() {
|
|
8514
8538
|
return luxon.DateTime.now().toMillis() + 200000000000;
|
|
8515
8539
|
}
|
|
8516
|
-
const statusText = "{status, select, AVAILABLE {Available}
|
|
8517
|
-
const statusLongText = "{status, select, AVAILABLE {Reward expiring on}
|
|
8540
|
+
const statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
|
8541
|
+
const statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward approved for payout and was scheduled for payment based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
|
|
8518
8542
|
const PendingNoUnpend = () => {
|
|
8519
8543
|
return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReward, ...nullScheduledFor }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8520
8544
|
};
|
|
@@ -8597,8 +8621,7 @@ const PayoutFailed = () => {
|
|
|
8597
8621
|
},
|
|
8598
8622
|
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8599
8623
|
};
|
|
8600
|
-
|
|
8601
|
-
const PayoutCancelled = () => {
|
|
8624
|
+
const PayoutDenied = () => {
|
|
8602
8625
|
return (h("sqm-referral-table-rewards-cell", { rewards: [
|
|
8603
8626
|
{
|
|
8604
8627
|
...cashPayoutSentReward,
|
|
@@ -8608,6 +8631,16 @@ const PayoutCancelled = () => {
|
|
|
8608
8631
|
},
|
|
8609
8632
|
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8610
8633
|
};
|
|
8634
|
+
const PayoutCancelled = () => {
|
|
8635
|
+
return (h("sqm-referral-table-rewards-cell", { rewards: [
|
|
8636
|
+
{
|
|
8637
|
+
...cashPayoutSentReward,
|
|
8638
|
+
...payoutCancelledReward,
|
|
8639
|
+
datePayoutRetried: getDays(),
|
|
8640
|
+
dateGiven: null,
|
|
8641
|
+
},
|
|
8642
|
+
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8643
|
+
};
|
|
8611
8644
|
const PendingReview = () => {
|
|
8612
8645
|
return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReviewReward }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8613
8646
|
};
|
|
@@ -8665,6 +8698,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
|
8665
8698
|
Expired: Expired,
|
|
8666
8699
|
Denied: Denied,
|
|
8667
8700
|
PayoutFailed: PayoutFailed,
|
|
8701
|
+
PayoutDenied: PayoutDenied,
|
|
8668
8702
|
PayoutCancelled: PayoutCancelled,
|
|
8669
8703
|
PendingReview: PendingReview,
|
|
8670
8704
|
PendingTaxReview: PendingTaxReview,
|
|
@@ -8895,6 +8929,12 @@ const simpleUserTableProps = {
|
|
|
8895
8929
|
h(DateCell, null),
|
|
8896
8930
|
h(PayoutFailed, null),
|
|
8897
8931
|
],
|
|
8932
|
+
[
|
|
8933
|
+
h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
|
|
8934
|
+
h(Converted, null),
|
|
8935
|
+
h(DateCell, null),
|
|
8936
|
+
h(PayoutCancelled, null),
|
|
8937
|
+
],
|
|
8898
8938
|
[
|
|
8899
8939
|
h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
|
|
8900
8940
|
h(Converted, null),
|
|
@@ -10255,7 +10295,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10255
10295
|
const PoweredByImg_stories = {
|
|
10256
10296
|
title: "Powered By",
|
|
10257
10297
|
};
|
|
10258
|
-
const Default$
|
|
10298
|
+
const Default$b = () => {
|
|
10259
10299
|
return h(PoweredByImg$1, null);
|
|
10260
10300
|
};
|
|
10261
10301
|
const CustomColor = () => {
|
|
@@ -10268,7 +10308,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10268
10308
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10269
10309
|
__proto__: null,
|
|
10270
10310
|
'default': PoweredByImg_stories,
|
|
10271
|
-
Default: Default$
|
|
10311
|
+
Default: Default$b,
|
|
10272
10312
|
CustomColor: CustomColor,
|
|
10273
10313
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10274
10314
|
});
|
|
@@ -10655,7 +10695,7 @@ const defaultRegisterProps = {
|
|
|
10655
10695
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10656
10696
|
},
|
|
10657
10697
|
};
|
|
10658
|
-
const Default$
|
|
10698
|
+
const Default$c = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a))));
|
|
10659
10699
|
const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
10660
10700
|
...defaultProps$a.states,
|
|
10661
10701
|
checked: true,
|
|
@@ -10710,7 +10750,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (h(PortalRegiste
|
|
|
10710
10750
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10711
10751
|
__proto__: null,
|
|
10712
10752
|
'default': CheckboxField_stories,
|
|
10713
|
-
Default: Default$
|
|
10753
|
+
Default: Default$c,
|
|
10714
10754
|
DefaultChecked: DefaultChecked,
|
|
10715
10755
|
CustomLabel: CustomLabel,
|
|
10716
10756
|
Error: Error$4,
|
|
@@ -10812,7 +10852,7 @@ const defaultProps$b = {
|
|
|
10812
10852
|
],
|
|
10813
10853
|
},
|
|
10814
10854
|
};
|
|
10815
|
-
const Default$
|
|
10855
|
+
const Default$d = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b))));
|
|
10816
10856
|
const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10817
10857
|
...defaultProps$b.content,
|
|
10818
10858
|
dropdownLabel: "Pick your favorite",
|
|
@@ -10840,7 +10880,7 @@ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
|
|
|
10840
10880
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10841
10881
|
__proto__: null,
|
|
10842
10882
|
'default': DropdownField_stories,
|
|
10843
|
-
Default: Default$
|
|
10883
|
+
Default: Default$d,
|
|
10844
10884
|
CustomLabel: CustomLabel$1,
|
|
10845
10885
|
Error: Error$5,
|
|
10846
10886
|
CustomError: CustomError$1
|
|
@@ -10950,7 +10990,7 @@ const defaultRegisterProps$1 = {
|
|
|
10950
10990
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10951
10991
|
},
|
|
10952
10992
|
};
|
|
10953
|
-
const Default$
|
|
10993
|
+
const Default$e = () => h(InputFieldView, Object.assign({}, defaultProps$c));
|
|
10954
10994
|
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
|
|
10955
10995
|
const Error$6 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10956
10996
|
...defaultProps$c.states,
|
|
@@ -11000,7 +11040,7 @@ const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign(
|
|
|
11000
11040
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11001
11041
|
__proto__: null,
|
|
11002
11042
|
'default': InputField_stories,
|
|
11003
|
-
Default: Default$
|
|
11043
|
+
Default: Default$e,
|
|
11004
11044
|
CustomLabel: CustomLabel$2,
|
|
11005
11045
|
Error: Error$6,
|
|
11006
11046
|
CustomError: CustomError$2,
|
|
@@ -11750,7 +11790,7 @@ const scenario2 = "@author:derek\n@owner:derek\nFeature: Reward Table reward Col
|
|
|
11750
11790
|
|
|
11751
11791
|
const scenario3 = "@author:derek @owner:derek\nFeature: Reward Table Status Column\n Shows the status of each reward\n\n Background: \n Given the status column is included in the reward table\n\n @motivating @ui\n Scenario Outline: The title of the status column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the status column is shown with <columnTitle>\n\n Examples: \n | value | columnTitle |\n | Status | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario Outline: The status column displays the status of each reward\n Given a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n\n Examples: \n | status | text | pillColour |\n | AVAILABLE | Available | Green |\n | CANCELLED | Cancelled | Red |\n | PENDING | Pending | Orange |\n | EXPIRED | Expired | Red |\n | REDEEMED | Redeemed | Blue |\n | PENDING_REVIEW | Pending | Orange |\n | PAYOUT_TRANSFERRED | Payout Approved | blue |\n | PAYOUT_NOT_YET_DUE | Payout Approved | blue |\n | PAYOUT_OVERDUE | Payout Failed | Red |\n | PAYOUT_REVERSED | Payout Cancelled | Red |\n | PENDING_TAX_REVIEW | Pending | Orange |\n | PENDING_NEW_TAX_FORM | Pending | Orange |\n | PENDING_TAX_SUBMISSION | Pending | Orange |\n | PENDING_PARTNER_CREATION | Pending | Orange |\n | DENIED | Denied | Red |\n\n @motivating\n Scenario Outline: Reward status related information is displayed under status pills\n Given a user\n And they have a <reward>\n And their program is\n When they view the reward table\n Then they see their reward\n And under the pill is <text>\n And the date is localized to the users locale\n\n Examples: \n | reward | text |\n | available reward with an expiry date | localized expiry date in format \"Month-Day-Year\" |\n | redeemed reward | localized redemption date in format \"Month-Day-Year\" |\n | expired reward | localized expired date in format \"Month-Day-Year\" |\n | cancelled reward | localized cancelled date in format \"Month-Day-Year\" |\n | pending reward with a end date | localized pending for date in format \"Month-Day-Year\" |\n | pending reward due to W9 | W-9 required |\n | pending reward due to fufillment error | Fulfillment error |\n | reward pending review of referral | Pending review |\n | pending reward due to no connected Impact partner | Complete your tax and cash payout setup to receive your rewards. |\n | pending reward due to an invalid tax document | Invalid tax form. Submit a new form to receive your rewards. |\n | pending reward due to user required to submit a tax document | Submit your tax documents to receive your rewards. |\n | pending reward due to tax document being in review | Awaiting tax form review. |\n | reward whose payout failed | Payout failed due to a fulfillment issue and is currently being retried. |\n | reward whose payout was approved | Reward approved for payout and was scheduled for payment based on your settings. |\n | reward whose payout was cancelled | If you think this is a mistake, contact our Support team. |\n | cancelled reward from denied referral | Flagged as fraud |\n\n @minutia\n Scenario Outline: Tax-related reward statuses are based on the user's Impact tax connection\n Given a user\n And they are in a program that has Impact tax handling enabled\n And they have at least one pending reward\n And the reward's pending reasons include \"PAYOUT_CONFIGURATION_MISSING\"\n Then the status description will be\n \"\"\"\n Complete your tax and cash payout setup to receive your rewards.\n \"\"\"\n\n @motivating\n Scenario Outline: Statuses can be customized\n Given the \"status-text\" prop is \"{status, select, AVAILABLE {Redeem me!} CANCELLED {Unavailable} PENDING {Coming soon!} EXPIRED {Past due} REDEEMED {Spent} PENDING_REVIEW {Pending Review!} PAYOUT_SENT {Payout Sent!} PAYOUT_FAILED {Payout Failed!} PENDING_TAX_REVIEW {Pending Tax Review!} PENDING_NEW_TAX_FORM {Pending new tax form!} PENDING_TAX_SUBMISSION {Pending tax submission!} PENDING_PARTNER_CREATION {Pending partner creation!} DENIED {Unlucky!}}\"\n And a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n\n Examples: \n | status | text | pillColour |\n | AVAILABLE | Redeem me! | Green |\n | CANCELLED | Unavailable | Red |\n | PENDING | Coming soon! | Orange |\n | EXPIRED | Past due | Red |\n | REDEEMED | Spent | Blue |\n | PENDING_REVIEW | Pending Review! | Orange |\n | PAYOUT_TRANSFERRED | Payout Approved! | Blue |\n | PAYOUT_NOT_YET_DUE | Payout Approved! | Blue |\n | PAYOUT_OVERDUE | Payout Failed! | Red |\n | PAYOUT_REVERSED | Payout Cancelled! | Red |\n | DENIED | Unlucky! | Red |\n\n @minutia @ui\n Scenario: Expiry status date text can be configured\n Given the \"expiry-text\" prop has <value>\n And a user with an available reward with an expiry date\n When they view the reward table\n Then they see <text> under the Available Status pill\n\n Examples: \n | value | text |\n | | Expires on <EXPIRY DATE> |\n | Redeem before | Redeem before <EXPIRY DATE> |\n";
|
|
11752
11792
|
|
|
11753
|
-
const scenario4 = "@author:derek @owner:derek\nFeature: Reward Table Source Column\n Shows the source of each reward\n\n @motivating @ui\n Scenario Outline: The title of the source column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the source column is shown with <columnTitle>\n\n Examples:\n | value | columnTitle |\n | Source | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario: The source column displays manual if the reward is caused by a manual action\n Given a user with a \"MANUAL\" reward\n When they view the rewards table\n Then the source of their reward is displayed as \"Manual\"\n\n @motivating @ui\n Scenario: The source column displays the program name if the reward is caused automatically by a program\n Given a user with a \"AUTOMATED\" program reward\n And the program has name \"Loyalty Program\"\n When they view the rewards table\n Then the source of their reward is displayed as \"Loyalty Program\"\n\n @motivating @ui\n Scenario Outline: The source column displays customizable reward exchange text with amount if the reward is caused by reward exchange\n Given the \"reward-exchange-text\" prop is <propValue>\n And a user with a \"MANUAL\" reward\n But it was created by a reward exchange\n Then they view the rewards table\n Then the source displays <exchangeText>\n And under it displays the following\n | prettyRedeemedCredit → prettyValue |\n\n Examples:\n | propValue | exchangeText |\n | | Reward Exchange |\n | Exchanged | Exchanged |\n\n @motivating @ui\n Scenario Outline: The source column displays customizable referral information if the reward is from a referral\n Given the \"reward-source-text\" prop is <propValue>\n And a user with a referral reward\n And that reward has <rewardSource>\n When they view the rewards table\n Then then source displays <referralText>\n And under it displays the full name of the <referralUser>\n\n Examples:\n | propValue | rewardSource | referralText | referralUser |\n | | REFERRED | Referred by | referrer user |\n | | FRIEND_SIGNUP | Referral to | referred user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | REFERRED | Referred you | referrer user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | FRIEND_SIGNUP | You Referred | referred user |\n\n @motivating @ui\n Scenario Outline: The source column displays the existing name for a referral if either the first name or last name does not exist\n Given a user with a referral reward\n And referral user exists\n And referral user has <name>\n But referral user has no <otherName>\n When they view the rewards table\n Then referral user's name is displayed as <name>\n\n Examples:\n | name | otherName |\n | first.name | last.name |\n | last.name | first.name |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Anonymous User\" if the referral user has no names\n Given a user with a referral reward\n And that reward has <rewardSource>\n And the <referralUser> has no first name\n And the <referralUser> has no last name\n When they view the rewards table\n Then then source displays <sourceText>\n And under it displays \"Anonymous User\"\n\n Examples:\n | rewardSource | referralUser | sourceText |\n | FRIEND_SIGNUP | referrer | Referral to |\n | REFERRED | referred user | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted User\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted User\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n
|
|
11793
|
+
const scenario4 = "@author:derek @owner:derek\nFeature: Reward Table Source Column\n Shows the source of each reward\n\n @motivating @ui\n Scenario Outline: The title of the source column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the source column is shown with <columnTitle>\n\n Examples:\n | value | columnTitle |\n | Source | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario: The source column displays manual if the reward is caused by a manual action\n Given a user with a \"MANUAL\" reward\n When they view the rewards table\n Then the source of their reward is displayed as \"Manual\"\n\n @motivating @ui\n Scenario: The source column displays the program name if the reward is caused automatically by a program\n Given a user with a \"AUTOMATED\" program reward\n And the program has name \"Loyalty Program\"\n When they view the rewards table\n Then the source of their reward is displayed as \"Loyalty Program\"\n\n @motivating @ui\n Scenario Outline: The source column displays customizable reward exchange text with amount if the reward is caused by reward exchange\n Given the \"reward-exchange-text\" prop is <propValue>\n And a user with a \"MANUAL\" reward\n But it was created by a reward exchange\n Then they view the rewards table\n Then the source displays <exchangeText>\n And under it displays the following\n | prettyRedeemedCredit → prettyValue |\n\n Examples:\n | propValue | exchangeText |\n | | Reward Exchange |\n | Exchanged | Exchanged |\n\n @motivating @ui\n Scenario Outline: The source column displays customizable referral information if the reward is from a referral\n Given the \"reward-source-text\" prop is <propValue>\n And a user with a referral reward\n And that reward has <rewardSource>\n When they view the rewards table\n Then then source displays <referralText>\n And under it displays the full name of the <referralUser>\n\n Examples:\n | propValue | rewardSource | referralText | referralUser |\n | | REFERRED | Referred by | referrer user |\n | | FRIEND_SIGNUP | Referral to | referred user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | REFERRED | Referred you | referrer user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | FRIEND_SIGNUP | You Referred | referred user |\n\n @motivating @ui\n Scenario Outline: The source column displays the existing name for a referral if either the first name or last name does not exist\n Given a user with a referral reward\n And referral user exists\n And referral user has <name>\n But referral user has no <otherName>\n When they view the rewards table\n Then referral user's name is displayed as <name>\n\n Examples:\n | name | otherName |\n | first.name | last.name |\n | last.name | first.name |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Anonymous User\" if the referral user has no names\n Given a user with a referral reward\n And that reward has <rewardSource>\n And the <referralUser> has no first name\n And the <referralUser> has no last name\n When they view the rewards table\n Then then source displays <sourceText>\n And under it displays \"Anonymous User\"\n\n Examples:\n | rewardSource | referralUser | sourceText |\n | FRIEND_SIGNUP | referrer | Referral to |\n | REFERRED | referred user | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted User\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted User\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted referral\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted referral\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n\n @minutia @ui\n Scenario Outline: Name fallbacks for referral users without names are customizable\n Given <prop> with <value>\n And a user with a referral reward\n But the referral user <hadAction>\n When they view the rewards table\n Then the source displays <value> as the referral user\n\n Examples:\n | prop | value | hadAction |\n | deleted-user | Former Customer | was deleted |\n | anonymous-user | Nameless User | had first and last name deleted |\n\n @motivating\n Scenario Outline: Source text can be customized\n Given the \"reward-source-text\" prop is \"{rewardSource, select, MANUAL {Support} AUTOMATED {Loyalty Program} other {}}\"\n And a user with a <rewardSource> reward\n When they view the rewards table\n Then the source is <sourceText>\n\n Examples:\n | rewardSource | sourceText |\n | MANUAL | Support |\n | AUTOMATED | Loyalty Program |\n";
|
|
11754
11794
|
|
|
11755
11795
|
const scenario$r = scenario1 + scenario2 + scenario3 + scenario4;
|
|
11756
11796
|
const RewardsTableCell_stories = {
|
|
@@ -11973,9 +12013,7 @@ const SourceCellDeletedUser = () => {
|
|
|
11973
12013
|
return (h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(null) }, referralText: "Referral to", deletedUserText: "Deleted User" }));
|
|
11974
12014
|
};
|
|
11975
12015
|
const SourceCellDeletedReferral = () => {
|
|
11976
|
-
return (
|
|
11977
|
-
// AL: TODO
|
|
11978
|
-
h("sqm-rewards-table-source-cell", {
|
|
12016
|
+
return (h("sqm-rewards-table-source-cell", {
|
|
11979
12017
|
//@ts-ignore
|
|
11980
12018
|
reward: { ...rewardsData$1, ...deletedReferral() }, referralText: "Referral to", deletedReferralText: "Deleted Referral" }));
|
|
11981
12019
|
};
|
|
@@ -12012,24 +12050,16 @@ const StatusCellExpired = () => {
|
|
|
12012
12050
|
const pending = {
|
|
12013
12051
|
statuses: ["PENDING"],
|
|
12014
12052
|
};
|
|
12015
|
-
// const pendingTaxReview = {
|
|
12016
|
-
// statuses: ["PENDING_TAX_REVIEW"],
|
|
12017
|
-
// };
|
|
12018
|
-
// const pendingNewTaxForm = {
|
|
12019
|
-
// statuses: ["PENDING_NEW_TAX_FORM"],
|
|
12020
|
-
// };
|
|
12021
|
-
// const pendingTaxSubmission = {
|
|
12022
|
-
// statuses: ["PENDING_TAX_SUBMISSION"],
|
|
12023
|
-
// };
|
|
12024
|
-
// const pendingPartnerCreation = {
|
|
12025
|
-
// statuses: ["PENDING_PARTNER_CREATION"],
|
|
12026
|
-
// };
|
|
12027
12053
|
const payoutSent = {
|
|
12028
12054
|
statuses: ["PAYOUT_SENT"],
|
|
12029
12055
|
};
|
|
12030
12056
|
const payoutFailed = {
|
|
12031
12057
|
statuses: ["PAYOUT_FAILED"],
|
|
12032
12058
|
};
|
|
12059
|
+
const payoutCancelled = {
|
|
12060
|
+
statuses: ["PAYOUT_CANCELLED"],
|
|
12061
|
+
dateCancelled: 1355612521321,
|
|
12062
|
+
};
|
|
12033
12063
|
const us_tax = {
|
|
12034
12064
|
pendingReasons: ["US_TAX"],
|
|
12035
12065
|
};
|
|
@@ -12091,6 +12121,9 @@ const StatusCellPayoutSent = () => {
|
|
|
12091
12121
|
const StatusCellPayoutFailed = () => {
|
|
12092
12122
|
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: { ...rewardsData$1, ...payoutFailed } }));
|
|
12093
12123
|
};
|
|
12124
|
+
const StatusCellPayoutCancelled = () => {
|
|
12125
|
+
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: { ...rewardsData$1, ...payoutCancelled } }));
|
|
12126
|
+
};
|
|
12094
12127
|
const StatusCellPendingWithLongText = () => {
|
|
12095
12128
|
return (h("div", { style: { width: "200px" } },
|
|
12096
12129
|
h("sqm-rewards-table-status-cell", { statusText: "Pending for 300,000,000 months and some change", reward: { ...rewardsData$1, ...pending } })));
|
|
@@ -12194,6 +12227,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
12194
12227
|
StatusCellPendingPartnerCreation: StatusCellPendingPartnerCreation,
|
|
12195
12228
|
StatusCellPayoutSent: StatusCellPayoutSent,
|
|
12196
12229
|
StatusCellPayoutFailed: StatusCellPayoutFailed,
|
|
12230
|
+
StatusCellPayoutCancelled: StatusCellPayoutCancelled,
|
|
12197
12231
|
StatusCellPendingWithLongText: StatusCellPendingWithLongText,
|
|
12198
12232
|
StatusCellPendingUsTax: StatusCellPendingUsTax,
|
|
12199
12233
|
StatusCellPendingScheduled: StatusCellPendingScheduled,
|
|
@@ -12623,6 +12657,21 @@ const sharebutton = (slot) => {
|
|
|
12623
12657
|
h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12624
12658
|
h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
|
|
12625
12659
|
};
|
|
12660
|
+
const shareButtonsWithPromoCodes = (slot) => {
|
|
12661
|
+
return (h("sqm-portal-container", { gap: "large", slot: slot },
|
|
12662
|
+
h("sqm-text", null, "Choose how you want to share:"),
|
|
12663
|
+
h("sqm-text", null,
|
|
12664
|
+
h("sub", null, "Share with your friends:"),
|
|
12665
|
+
h("sqm-share-code", null),
|
|
12666
|
+
h("sqm-share-link", null)),
|
|
12667
|
+
h("sqm-portal-container", { gap: "x-small" },
|
|
12668
|
+
h("sqm-share-button", { medium: "email" }, "Share via email"),
|
|
12669
|
+
h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12670
|
+
h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
|
|
12671
|
+
h("sqm-portal-container", { gap: "x-small" },
|
|
12672
|
+
h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
|
|
12673
|
+
h("sqm-pagination", null)))));
|
|
12674
|
+
};
|
|
12626
12675
|
const timeline = (slot, count) => {
|
|
12627
12676
|
return (h("sqm-timeline", { slot: slot, icon: "circle" },
|
|
12628
12677
|
count > 0 && (h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
@@ -12645,6 +12694,11 @@ const TimelineAndShareButtons = () => {
|
|
|
12645
12694
|
timeline("left", 3),
|
|
12646
12695
|
sharebutton("right")));
|
|
12647
12696
|
};
|
|
12697
|
+
const OneTimeUsePromoCodes = () => {
|
|
12698
|
+
return (h("sqm-referral-card", null,
|
|
12699
|
+
timeline("left", 4),
|
|
12700
|
+
shareButtonsWithPromoCodes("right")));
|
|
12701
|
+
};
|
|
12648
12702
|
const StartAlignment = () => {
|
|
12649
12703
|
return (h("sqm-referral-card", { "vertical-alignment": "start" },
|
|
12650
12704
|
timeline("left", 4),
|
|
@@ -12721,6 +12775,7 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
|
|
|
12721
12775
|
ImageAndShareButtons: ImageAndShareButtons,
|
|
12722
12776
|
LimitWidth: LimitWidth,
|
|
12723
12777
|
TimelineAndShareButtons: TimelineAndShareButtons,
|
|
12778
|
+
OneTimeUsePromoCodes: OneTimeUsePromoCodes,
|
|
12724
12779
|
StartAlignment: StartAlignment,
|
|
12725
12780
|
CenterAlignment: CenterAlignment,
|
|
12726
12781
|
EndAlignment: EndAlignment,
|
|
@@ -13822,6 +13877,82 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13822
13877
|
Error: Error$7
|
|
13823
13878
|
});
|
|
13824
13879
|
|
|
13880
|
+
const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan can be customized\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
13881
|
+
|
|
13882
|
+
const ReferralCode_stories = {
|
|
13883
|
+
title: "Components/Referral Code",
|
|
13884
|
+
parameters: {
|
|
13885
|
+
scenario: scenario$A,
|
|
13886
|
+
},
|
|
13887
|
+
};
|
|
13888
|
+
const ReferralCode = () => {
|
|
13889
|
+
return (h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
|
|
13890
|
+
};
|
|
13891
|
+
const ShowNotificationText = () => {
|
|
13892
|
+
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
|
|
13893
|
+
};
|
|
13894
|
+
const ShowNotificationTextWithButton = () => {
|
|
13895
|
+
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
|
|
13896
|
+
};
|
|
13897
|
+
const ShowNotificationTextWithButtonBelow = () => {
|
|
13898
|
+
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
|
|
13899
|
+
};
|
|
13900
|
+
const CustomTooltipText$1 = () => {
|
|
13901
|
+
return (h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13902
|
+
};
|
|
13903
|
+
const TextAlignCenter$2 = () => {
|
|
13904
|
+
return h("sqm-referral-code", { textAlign: "center" });
|
|
13905
|
+
};
|
|
13906
|
+
const TextAlignRight$2 = () => {
|
|
13907
|
+
return h("sqm-referral-code", { textAlign: "right" });
|
|
13908
|
+
};
|
|
13909
|
+
const CustomTooltipDuration$1 = () => {
|
|
13910
|
+
return (h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13911
|
+
};
|
|
13912
|
+
const CopyButton$2 = () => {
|
|
13913
|
+
return (h(CopyTextView, Object.assign({}, {
|
|
13914
|
+
copyString: "https://noah.example.com",
|
|
13915
|
+
open: false,
|
|
13916
|
+
tooltiptext: "Copied!",
|
|
13917
|
+
isCopyIcon: false,
|
|
13918
|
+
buttonStyle: "button-outside",
|
|
13919
|
+
})));
|
|
13920
|
+
};
|
|
13921
|
+
const CopyButtonBelow$2 = () => {
|
|
13922
|
+
return (h(CopyTextView, Object.assign({}, {
|
|
13923
|
+
copyString: "https://noah.example.com",
|
|
13924
|
+
open: false,
|
|
13925
|
+
tooltiptext: "Copied!",
|
|
13926
|
+
buttonStyle: "button-below",
|
|
13927
|
+
})));
|
|
13928
|
+
};
|
|
13929
|
+
const Error$8 = () => {
|
|
13930
|
+
const props = {
|
|
13931
|
+
copyString: "https://noah.example.com",
|
|
13932
|
+
disabled: true,
|
|
13933
|
+
open: true,
|
|
13934
|
+
tooltiptext: "Copied!",
|
|
13935
|
+
error: true,
|
|
13936
|
+
};
|
|
13937
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
13938
|
+
};
|
|
13939
|
+
|
|
13940
|
+
const ReferralCode$1 = /*#__PURE__*/Object.freeze({
|
|
13941
|
+
__proto__: null,
|
|
13942
|
+
'default': ReferralCode_stories,
|
|
13943
|
+
ReferralCode: ReferralCode,
|
|
13944
|
+
ShowNotificationText: ShowNotificationText,
|
|
13945
|
+
ShowNotificationTextWithButton: ShowNotificationTextWithButton,
|
|
13946
|
+
ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
|
|
13947
|
+
CustomTooltipText: CustomTooltipText$1,
|
|
13948
|
+
TextAlignCenter: TextAlignCenter$2,
|
|
13949
|
+
TextAlignRight: TextAlignRight$2,
|
|
13950
|
+
CustomTooltipDuration: CustomTooltipDuration$1,
|
|
13951
|
+
CopyButton: CopyButton$2,
|
|
13952
|
+
CopyButtonBelow: CopyButtonBelow$2,
|
|
13953
|
+
Error: Error$8
|
|
13954
|
+
});
|
|
13955
|
+
|
|
13825
13956
|
// import scenario from "./ShareCode.feature";
|
|
13826
13957
|
const EmailRegistration_stories = {
|
|
13827
13958
|
title: "Components/Email Registration",
|
|
@@ -13848,7 +13979,7 @@ const defaultProps$d = {
|
|
|
13848
13979
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13849
13980
|
},
|
|
13850
13981
|
};
|
|
13851
|
-
const Default$
|
|
13982
|
+
const Default$f = () => h(EmailRegistrationView, Object.assign({}, defaultProps$d));
|
|
13852
13983
|
const HasFirstNameLastName = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13853
13984
|
...defaultProps$d,
|
|
13854
13985
|
content: {
|
|
@@ -13885,7 +14016,7 @@ const Loading$4 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
13885
14016
|
loading: true,
|
|
13886
14017
|
},
|
|
13887
14018
|
})));
|
|
13888
|
-
const Error$
|
|
14019
|
+
const Error$9 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13889
14020
|
...defaultProps$d,
|
|
13890
14021
|
states: {
|
|
13891
14022
|
error: "Something went wrong. Please try again.",
|
|
@@ -13913,23 +14044,23 @@ const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
13913
14044
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
13914
14045
|
__proto__: null,
|
|
13915
14046
|
'default': EmailRegistration_stories,
|
|
13916
|
-
Default: Default$
|
|
14047
|
+
Default: Default$f,
|
|
13917
14048
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
13918
14049
|
WithSlots: WithSlots,
|
|
13919
14050
|
NoBorder: NoBorder$1,
|
|
13920
14051
|
BackgroundColor: BackgroundColor$2,
|
|
13921
14052
|
Loading: Loading$4,
|
|
13922
|
-
Error: Error$
|
|
14053
|
+
Error: Error$9,
|
|
13923
14054
|
FraudError: FraudError,
|
|
13924
14055
|
EmptyEmailError: EmptyEmailError
|
|
13925
14056
|
});
|
|
13926
14057
|
|
|
13927
|
-
const scenario$
|
|
14058
|
+
const scenario$B = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
|
|
13928
14059
|
|
|
13929
14060
|
const CouponCode_stories = {
|
|
13930
14061
|
title: "Components/Coupon Code",
|
|
13931
14062
|
parameters: {
|
|
13932
|
-
scenario: scenario$
|
|
14063
|
+
scenario: scenario$B,
|
|
13933
14064
|
},
|
|
13934
14065
|
};
|
|
13935
14066
|
const defaultProps$e = {
|
|
@@ -13944,25 +14075,25 @@ const defaultProps$e = {
|
|
|
13944
14075
|
const CouponCode = () => {
|
|
13945
14076
|
return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
13946
14077
|
};
|
|
13947
|
-
const CustomTooltipText$
|
|
14078
|
+
const CustomTooltipText$2 = () => {
|
|
13948
14079
|
return h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
13949
14080
|
};
|
|
13950
|
-
const CustomTooltipDuration$
|
|
14081
|
+
const CustomTooltipDuration$2 = () => {
|
|
13951
14082
|
return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13952
14083
|
};
|
|
13953
|
-
const TextAlignCenter$
|
|
14084
|
+
const TextAlignCenter$3 = () => {
|
|
13954
14085
|
return h("sqm-coupon-code", { textAlign: "center" });
|
|
13955
14086
|
};
|
|
13956
|
-
const TextAlignRight$
|
|
14087
|
+
const TextAlignRight$3 = () => {
|
|
13957
14088
|
return h("sqm-coupon-code", { textAlign: "right" });
|
|
13958
14089
|
};
|
|
13959
|
-
const CopyButton$
|
|
14090
|
+
const CopyButton$3 = () => {
|
|
13960
14091
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
|
|
13961
14092
|
};
|
|
13962
14093
|
const CopyButtonCustomLabel = () => {
|
|
13963
14094
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
|
|
13964
14095
|
};
|
|
13965
|
-
const CopyButtonBelow$
|
|
14096
|
+
const CopyButtonBelow$3 = () => {
|
|
13966
14097
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
|
|
13967
14098
|
};
|
|
13968
14099
|
const CopyButtonBelowCustomLabel = () => {
|
|
@@ -14000,13 +14131,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14000
14131
|
__proto__: null,
|
|
14001
14132
|
'default': CouponCode_stories,
|
|
14002
14133
|
CouponCode: CouponCode,
|
|
14003
|
-
CustomTooltipText: CustomTooltipText$
|
|
14004
|
-
CustomTooltipDuration: CustomTooltipDuration$
|
|
14005
|
-
TextAlignCenter: TextAlignCenter$
|
|
14006
|
-
TextAlignRight: TextAlignRight$
|
|
14007
|
-
CopyButton: CopyButton$
|
|
14134
|
+
CustomTooltipText: CustomTooltipText$2,
|
|
14135
|
+
CustomTooltipDuration: CustomTooltipDuration$2,
|
|
14136
|
+
TextAlignCenter: TextAlignCenter$3,
|
|
14137
|
+
TextAlignRight: TextAlignRight$3,
|
|
14138
|
+
CopyButton: CopyButton$3,
|
|
14008
14139
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14009
|
-
CopyButtonBelow: CopyButtonBelow$
|
|
14140
|
+
CopyButtonBelow: CopyButtonBelow$3,
|
|
14010
14141
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14011
14142
|
Loading: Loading$5,
|
|
14012
14143
|
CopyButtonLoading: CopyButtonLoading,
|
|
@@ -14019,12 +14150,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14019
14150
|
ErrorRedeemed: ErrorRedeemed
|
|
14020
14151
|
});
|
|
14021
14152
|
|
|
14022
|
-
const scenario$
|
|
14153
|
+
const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
|
|
14023
14154
|
|
|
14024
14155
|
const LogoutCurrentUser_stories = {
|
|
14025
14156
|
title: "Components/Logout Current User",
|
|
14026
14157
|
parameters: {
|
|
14027
|
-
scenario: scenario$
|
|
14158
|
+
scenario: scenario$C,
|
|
14028
14159
|
},
|
|
14029
14160
|
};
|
|
14030
14161
|
const defaultProps$f = {
|
|
@@ -14034,22 +14165,22 @@ const defaultProps$f = {
|
|
|
14034
14165
|
loading: false,
|
|
14035
14166
|
emailErrorText: "Error fetching email",
|
|
14036
14167
|
};
|
|
14037
|
-
const Default$
|
|
14168
|
+
const Default$g = () => {
|
|
14038
14169
|
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$f));
|
|
14039
14170
|
};
|
|
14040
14171
|
|
|
14041
14172
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14042
14173
|
__proto__: null,
|
|
14043
14174
|
'default': LogoutCurrentUser_stories,
|
|
14044
|
-
Default: Default$
|
|
14175
|
+
Default: Default$g
|
|
14045
14176
|
});
|
|
14046
14177
|
|
|
14047
|
-
const scenario$
|
|
14178
|
+
const scenario$D = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
|
|
14048
14179
|
|
|
14049
14180
|
const LinkButton_stories = {
|
|
14050
14181
|
title: "Components/Link Button",
|
|
14051
14182
|
parameters: {
|
|
14052
|
-
scenario: scenario$
|
|
14183
|
+
scenario: scenario$D,
|
|
14053
14184
|
},
|
|
14054
14185
|
};
|
|
14055
14186
|
const defaultProps$g = {
|
|
@@ -14057,7 +14188,7 @@ const defaultProps$g = {
|
|
|
14057
14188
|
openInNewTab: false,
|
|
14058
14189
|
buttonText: "Button Text",
|
|
14059
14190
|
};
|
|
14060
|
-
const Default$
|
|
14191
|
+
const Default$h = () => {
|
|
14061
14192
|
return h("sqm-link-button", Object.assign({}, defaultProps$g));
|
|
14062
14193
|
};
|
|
14063
14194
|
const OpenInNewTab = () => {
|
|
@@ -14067,7 +14198,7 @@ const OpenInNewTab = () => {
|
|
|
14067
14198
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14068
14199
|
__proto__: null,
|
|
14069
14200
|
'default': LinkButton_stories,
|
|
14070
|
-
Default: Default$
|
|
14201
|
+
Default: Default$h,
|
|
14071
14202
|
OpenInNewTab: OpenInNewTab
|
|
14072
14203
|
});
|
|
14073
14204
|
|
|
@@ -14085,7 +14216,7 @@ const containerStyles = {
|
|
|
14085
14216
|
border: "1px solid black",
|
|
14086
14217
|
padding: "25px",
|
|
14087
14218
|
};
|
|
14088
|
-
const Default$
|
|
14219
|
+
const Default$i = () => {
|
|
14089
14220
|
return h(CloseButtonView, Object.assign({}, defaultProps$h));
|
|
14090
14221
|
};
|
|
14091
14222
|
const InAContainer = () => {
|
|
@@ -14100,7 +14231,7 @@ const CustomColor$1 = () => {
|
|
|
14100
14231
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14101
14232
|
__proto__: null,
|
|
14102
14233
|
'default': CloseButton_stories,
|
|
14103
|
-
Default: Default$
|
|
14234
|
+
Default: Default$i,
|
|
14104
14235
|
InAContainer: InAContainer,
|
|
14105
14236
|
CustomColor: CustomColor$1
|
|
14106
14237
|
});
|
|
@@ -14338,13 +14469,6 @@ const Loading$6 = () => {
|
|
|
14338
14469
|
},
|
|
14339
14470
|
} }));
|
|
14340
14471
|
};
|
|
14341
|
-
const Error$9 = () => {
|
|
14342
|
-
return (h("sqm-payout-details-card", { demoData: {
|
|
14343
|
-
states: {
|
|
14344
|
-
error: true,
|
|
14345
|
-
},
|
|
14346
|
-
} }));
|
|
14347
|
-
};
|
|
14348
14472
|
const NextPayout = () => {
|
|
14349
14473
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14350
14474
|
states: {
|
|
@@ -14379,7 +14503,6 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
14379
14503
|
__proto__: null,
|
|
14380
14504
|
'default': PayoutDetailsCard_stories,
|
|
14381
14505
|
Loading: Loading$6,
|
|
14382
|
-
Error: Error$9,
|
|
14383
14506
|
NextPayout: NextPayout,
|
|
14384
14507
|
PayoutToday: PayoutToday,
|
|
14385
14508
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -14406,8 +14529,10 @@ const bankingFormProps = {
|
|
|
14406
14529
|
thresholds: [],
|
|
14407
14530
|
currency: "USD",
|
|
14408
14531
|
loadingError: false,
|
|
14532
|
+
email: "test@example.com",
|
|
14409
14533
|
},
|
|
14410
14534
|
callbacks: {
|
|
14535
|
+
onVerificationHide: () => { },
|
|
14411
14536
|
onVerification: () => { },
|
|
14412
14537
|
onSubmit: async () => console.log("Submit"),
|
|
14413
14538
|
setPaymentMethodChecked: () => { },
|
|
@@ -14718,6 +14843,22 @@ const BankingInfoFormWithFixedDayPaymentScheduleLoading = () => {
|
|
|
14718
14843
|
},
|
|
14719
14844
|
} }));
|
|
14720
14845
|
};
|
|
14846
|
+
const BankingInfoFormVerififyIdentityModal = () => {
|
|
14847
|
+
return (h("sqm-banking-info-form", { demoData: {
|
|
14848
|
+
...bankingFormProps,
|
|
14849
|
+
states: {
|
|
14850
|
+
...bankingFormProps.states,
|
|
14851
|
+
isPartner: true,
|
|
14852
|
+
showVerification: true,
|
|
14853
|
+
formState: {
|
|
14854
|
+
...bankingFormProps.states.formState,
|
|
14855
|
+
bankCountry: "US",
|
|
14856
|
+
paymentScheduleChecked: "FIXED_DAY",
|
|
14857
|
+
},
|
|
14858
|
+
currency: "USD",
|
|
14859
|
+
},
|
|
14860
|
+
} }));
|
|
14861
|
+
};
|
|
14721
14862
|
|
|
14722
14863
|
const BankingInfoForm = /*#__PURE__*/Object.freeze({
|
|
14723
14864
|
__proto__: null,
|
|
@@ -14743,7 +14884,8 @@ const BankingInfoForm = /*#__PURE__*/Object.freeze({
|
|
|
14743
14884
|
BankingInfoFormWithBalanceThresholdPaymentScheduleLoading: BankingInfoFormWithBalanceThresholdPaymentScheduleLoading,
|
|
14744
14885
|
BankingInfoFormWithFixedDayPaymentSchedule: BankingInfoFormWithFixedDayPaymentSchedule,
|
|
14745
14886
|
BankingInfoFormWithFixedDayPaymentScheduleWithError: BankingInfoFormWithFixedDayPaymentScheduleWithError,
|
|
14746
|
-
BankingInfoFormWithFixedDayPaymentScheduleLoading: BankingInfoFormWithFixedDayPaymentScheduleLoading
|
|
14887
|
+
BankingInfoFormWithFixedDayPaymentScheduleLoading: BankingInfoFormWithFixedDayPaymentScheduleLoading,
|
|
14888
|
+
BankingInfoFormVerififyIdentityModal: BankingInfoFormVerififyIdentityModal
|
|
14747
14889
|
});
|
|
14748
14890
|
|
|
14749
14891
|
const InvoiceTableCell_stories = {
|
|
@@ -15001,13 +15143,18 @@ const defaultProps$k = {
|
|
|
15001
15143
|
initialLoading: false,
|
|
15002
15144
|
sendCodeError: false,
|
|
15003
15145
|
};
|
|
15004
|
-
const Default$
|
|
15005
|
-
const EmailIsPrefilled = () => (h("
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15146
|
+
const Default$j = () => (h("sqm-email-verification", { demoData: {} }));
|
|
15147
|
+
const EmailIsPrefilled = () => (h("div", null,
|
|
15148
|
+
h("sqm-text", null,
|
|
15149
|
+
h("h4", null, "Verify your email")),
|
|
15150
|
+
h("sqm-text", null,
|
|
15151
|
+
h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
15152
|
+
h("sqm-email-verification", { demoData: {
|
|
15153
|
+
states: {
|
|
15154
|
+
...defaultProps$k,
|
|
15155
|
+
email: "test@example.com",
|
|
15156
|
+
},
|
|
15157
|
+
} })));
|
|
15011
15158
|
const Loading$7 = () => (h("sqm-email-verification", { demoData: {
|
|
15012
15159
|
states: {
|
|
15013
15160
|
...defaultProps$k,
|
|
@@ -15020,6 +15167,17 @@ const SaveLoading = () => (h("sqm-email-verification", { demoData: {
|
|
|
15020
15167
|
loading: true,
|
|
15021
15168
|
},
|
|
15022
15169
|
} }));
|
|
15170
|
+
const WithHeader$1 = () => (h("div", null,
|
|
15171
|
+
h("sqm-text", null,
|
|
15172
|
+
h("h4", null, "Verify your email")),
|
|
15173
|
+
h("sqm-text", null,
|
|
15174
|
+
h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
15175
|
+
h("sqm-email-verification", { demoData: {
|
|
15176
|
+
states: {
|
|
15177
|
+
...defaultProps$k,
|
|
15178
|
+
email: "test@example.com",
|
|
15179
|
+
},
|
|
15180
|
+
} })));
|
|
15023
15181
|
const InvalidEmail = () => (h("sqm-email-verification", { demoData: {
|
|
15024
15182
|
states: {
|
|
15025
15183
|
...defaultProps$k,
|
|
@@ -15036,10 +15194,11 @@ const SendCodeError = () => (h("sqm-email-verification", { demoData: {
|
|
|
15036
15194
|
const WidgetEmailVerification = /*#__PURE__*/Object.freeze({
|
|
15037
15195
|
__proto__: null,
|
|
15038
15196
|
'default': WidgetEmailVerification_stories,
|
|
15039
|
-
Default: Default$
|
|
15197
|
+
Default: Default$j,
|
|
15040
15198
|
EmailIsPrefilled: EmailIsPrefilled,
|
|
15041
15199
|
Loading: Loading$7,
|
|
15042
15200
|
SaveLoading: SaveLoading,
|
|
15201
|
+
WithHeader: WithHeader$1,
|
|
15043
15202
|
InvalidEmail: InvalidEmail,
|
|
15044
15203
|
SendCodeError: SendCodeError
|
|
15045
15204
|
});
|
|
@@ -15054,7 +15213,7 @@ const defaultProps$l = {
|
|
|
15054
15213
|
verifyFailed: false,
|
|
15055
15214
|
emailResent: false,
|
|
15056
15215
|
};
|
|
15057
|
-
const Default$
|
|
15216
|
+
const Default$k = () => (h("sqm-code-verification", { demoData: { states: defaultProps$l } }));
|
|
15058
15217
|
const InitialLoading = () => (h("sqm-code-verification", { demoData: {
|
|
15059
15218
|
states: {
|
|
15060
15219
|
...defaultProps$l,
|
|
@@ -15083,7 +15242,7 @@ const VerificationFailed = () => (h("sqm-code-verification", { demoData: {
|
|
|
15083
15242
|
const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
|
|
15084
15243
|
__proto__: null,
|
|
15085
15244
|
'default': WidgetCodeVerification_stories,
|
|
15086
|
-
Default: Default$
|
|
15245
|
+
Default: Default$k,
|
|
15087
15246
|
InitialLoading: InitialLoading,
|
|
15088
15247
|
Loading: Loading$8,
|
|
15089
15248
|
CodeResent: CodeResent,
|
|
@@ -15097,11 +15256,19 @@ const defaultProps$m = {
|
|
|
15097
15256
|
payoutSettingsComplete: true,
|
|
15098
15257
|
};
|
|
15099
15258
|
const CompletedTaxForm = () => (h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } }));
|
|
15259
|
+
const CompletedTaxFormWithStatsContainer = () => (h("sqm-portal-container", { display: "flex", maxWidth: "100%", minWidth: "100%", "justify-content": "space-between", flexWrap: "nowrap" },
|
|
15260
|
+
h("sqm-portal-container", { display: "flex", "max-width": "fit-content" },
|
|
15261
|
+
h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
|
|
15262
|
+
h("p", null, "Referrals")),
|
|
15263
|
+
h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/payoutBalance" },
|
|
15264
|
+
h("p", null, "Cash Balance"))),
|
|
15265
|
+
h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } })));
|
|
15100
15266
|
|
|
15101
15267
|
const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
15102
15268
|
__proto__: null,
|
|
15103
15269
|
'default': PayoutButtonScroll_stories,
|
|
15104
|
-
CompletedTaxForm: CompletedTaxForm
|
|
15270
|
+
CompletedTaxForm: CompletedTaxForm,
|
|
15271
|
+
CompletedTaxFormWithStatsContainer: CompletedTaxFormWithStatsContainer
|
|
15105
15272
|
});
|
|
15106
15273
|
|
|
15107
15274
|
const PayoutStatusAlert_stories = {
|
|
@@ -15111,17 +15278,13 @@ const defaultProps$n = {
|
|
|
15111
15278
|
error: false,
|
|
15112
15279
|
status: "INFORMATION_REQUIRED",
|
|
15113
15280
|
loading: false,
|
|
15114
|
-
|
|
15281
|
+
veriffLoading: false,
|
|
15115
15282
|
};
|
|
15116
15283
|
const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$n } }));
|
|
15117
|
-
const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "
|
|
15118
|
-
const
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
status: "VERIFICATION_NEEDED",
|
|
15122
|
-
showVerifyIdentity: true,
|
|
15123
|
-
},
|
|
15124
|
-
} }));
|
|
15284
|
+
const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REQUIRED" } } }));
|
|
15285
|
+
const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:INTERNAL" } } }));
|
|
15286
|
+
const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REVIEW" } } }));
|
|
15287
|
+
const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:FAILED" } } }));
|
|
15125
15288
|
const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
|
|
15126
15289
|
const Loading$9 = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
|
|
15127
15290
|
const Error$a = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
|
|
@@ -15131,12 +15294,90 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
|
15131
15294
|
'default': PayoutStatusAlert_stories,
|
|
15132
15295
|
InformationRequired: InformationRequired,
|
|
15133
15296
|
VerifyIdentity: VerifyIdentity,
|
|
15134
|
-
|
|
15297
|
+
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|
|
15298
|
+
VerifyIdentityReviewInternal: VerifyIdentityReviewInternal,
|
|
15299
|
+
VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
|
|
15135
15300
|
Hold: Hold,
|
|
15136
15301
|
Loading: Loading$9,
|
|
15137
15302
|
Error: Error$a
|
|
15138
15303
|
});
|
|
15139
15304
|
|
|
15305
|
+
const scenario$E = "@author:sam\n@owner:sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: Clicking any of the share mediums sets the code as copied\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n When clicking <shareMedium> button\n Then the code is marked as copied\n And the copied notification text is shown\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario Outline: User is notified if the currently viewed promo code has been copied already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been copied already\n Then no notification text is displayed\n When the code is changed to one that has been copied\n Then the <notificationText> is displayed\n Examples:\n | notificationText |\n | You've copied this code before |\n | Previously Copied |\n | foo |\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link uses <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n @minutia\n Scenario: Loading state is shown when changing code page\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has more than 1 available\n When the next button is clicked\n Then a loading state is shown\n\n\n";
|
|
15306
|
+
|
|
15307
|
+
const ReferralCodes_stories = {
|
|
15308
|
+
title: "Components/Referral Codes",
|
|
15309
|
+
parameters: {
|
|
15310
|
+
scenario: scenario$E,
|
|
15311
|
+
},
|
|
15312
|
+
};
|
|
15313
|
+
const demoData = {
|
|
15314
|
+
titleText: "Start sharing",
|
|
15315
|
+
emptyStateHeaderText: "Your new codes and links aren’t ready yet",
|
|
15316
|
+
emptyStateDescriptionText: "Please contact our program support team to let them know you’re out of codes.",
|
|
15317
|
+
emptyStateImageUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",
|
|
15318
|
+
states: {
|
|
15319
|
+
noCodes: false,
|
|
15320
|
+
loading: false,
|
|
15321
|
+
},
|
|
15322
|
+
};
|
|
15323
|
+
const pagination = (slot) => {
|
|
15324
|
+
return h("sqm-pagination", { slot: slot });
|
|
15325
|
+
};
|
|
15326
|
+
const shareButtons = (slot) => {
|
|
15327
|
+
return (h("sqm-portal-container", { gap: "small", slot: slot },
|
|
15328
|
+
h("sqm-share-button", { medium: "email" }, "Share via email"),
|
|
15329
|
+
h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
15330
|
+
h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
|
|
15331
|
+
};
|
|
15332
|
+
const shareCodes = (slot) => {
|
|
15333
|
+
return h("sqm-referral-code", { slot: slot });
|
|
15334
|
+
};
|
|
15335
|
+
const shareCodeWithPreviouslyCopied = (slot) => {
|
|
15336
|
+
return (h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
|
|
15337
|
+
};
|
|
15338
|
+
const ReferralCodes = () => {
|
|
15339
|
+
return (h("sqm-referral-codes", null,
|
|
15340
|
+
pagination("pagination"),
|
|
15341
|
+
shareCodes("shareCodes"),
|
|
15342
|
+
shareButtons("shareButtons")));
|
|
15343
|
+
};
|
|
15344
|
+
const WithPreviouslyCopiedCode = () => {
|
|
15345
|
+
return (h("sqm-referral-codes", null,
|
|
15346
|
+
pagination("pagination"),
|
|
15347
|
+
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
15348
|
+
shareButtons("shareButtons")));
|
|
15349
|
+
};
|
|
15350
|
+
const Empty$3 = () => {
|
|
15351
|
+
return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
|
|
15352
|
+
pagination("pagination"),
|
|
15353
|
+
shareCodes("shareCodes"),
|
|
15354
|
+
shareButtons("shareButtons")));
|
|
15355
|
+
};
|
|
15356
|
+
const EmptyWithCustomTextAndImage = () => {
|
|
15357
|
+
return (h("sqm-referral-codes", { emptyStateHeaderText: "Tus nuevos c\u00F3digos y enlaces a\u00FAn no est\u00E1n listos", emptyStateDescriptionText: "Comun\u00EDquese con nuestro equipo de soporte del programa para informarles que no tiene c\u00F3digos.", emptyStateImageUrl: "https://img.freepik.com/free-vector/hand-drawn-no-data-concept_52683-127829.jpg?t=st=1738890457~exp=1738894057~hmac=2f0f32c1f0fc051f47d772a4517e2e4c4f38af5069fb855edc96d8331d9d1329&w=826", demoData: {
|
|
15358
|
+
states: { ...demoData.states, noCodes: true },
|
|
15359
|
+
} },
|
|
15360
|
+
pagination("pagination"),
|
|
15361
|
+
shareCodes("shareCodes"),
|
|
15362
|
+
shareButtons("shareButtons")));
|
|
15363
|
+
};
|
|
15364
|
+
const Loading$a = () => {
|
|
15365
|
+
return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
|
|
15366
|
+
pagination("pagination"),
|
|
15367
|
+
shareCodes("shareCodes"),
|
|
15368
|
+
shareButtons("shareButtons")));
|
|
15369
|
+
};
|
|
15370
|
+
|
|
15371
|
+
const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
15372
|
+
__proto__: null,
|
|
15373
|
+
'default': ReferralCodes_stories,
|
|
15374
|
+
ReferralCodes: ReferralCodes,
|
|
15375
|
+
WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
|
|
15376
|
+
Empty: Empty$3,
|
|
15377
|
+
EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
|
|
15378
|
+
Loading: Loading$a
|
|
15379
|
+
});
|
|
15380
|
+
|
|
15140
15381
|
/**
|
|
15141
15382
|
*
|
|
15142
15383
|
* Themes
|
|
@@ -15149,7 +15390,7 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
|
15149
15390
|
*
|
|
15150
15391
|
*/
|
|
15151
15392
|
//
|
|
15152
|
-
const Default$
|
|
15393
|
+
const Default$l = `
|
|
15153
15394
|
// No CSS
|
|
15154
15395
|
`;
|
|
15155
15396
|
const Orangey = `
|
|
@@ -15183,7 +15424,7 @@ const Klip = `
|
|
|
15183
15424
|
|
|
15184
15425
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15185
15426
|
__proto__: null,
|
|
15186
|
-
Default: Default$
|
|
15427
|
+
Default: Default$l,
|
|
15187
15428
|
Orangey: Orangey,
|
|
15188
15429
|
Netflix: Netflix,
|
|
15189
15430
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17782,6 +18023,7 @@ const stories = [
|
|
|
17782
18023
|
InvoiceTableCells,
|
|
17783
18024
|
UseInvoiceTableCells,
|
|
17784
18025
|
ShareButton,
|
|
18026
|
+
Pagination,
|
|
17785
18027
|
ShareLink,
|
|
17786
18028
|
BigStat,
|
|
17787
18029
|
Leaderboard,
|
|
@@ -17850,6 +18092,8 @@ const stories = [
|
|
|
17850
18092
|
Tabs,
|
|
17851
18093
|
ShareCode$1,
|
|
17852
18094
|
CouponCode$1,
|
|
18095
|
+
ReferralCode$1,
|
|
18096
|
+
ReferralCodes$1,
|
|
17853
18097
|
LogoutCurrentUser,
|
|
17854
18098
|
LinkButton,
|
|
17855
18099
|
EmailRegistration,
|