@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,17 +1,18 @@
|
|
|
1
|
-
import { h, c as Host, d as getAssetPath, g as getElement } from './index-
|
|
2
|
-
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
1
|
+
import { h, c as Host, d as getAssetPath, g as getElement } from './index-014ddfa3.js';
|
|
2
|
+
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-576d7f01.js';
|
|
3
|
+
import { i as intl } from './global-9832e13a.js';
|
|
4
|
+
import { d as dist, H, Q, I as In, y as yn, $ as $e, B, a as getEnvironmentSDK, L } from './index.module-32d2bf62.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
|
-
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-fc84e640.js';
|
|
9
|
-
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
|
-
import {
|
|
7
|
+
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-200d6958.js';
|
|
9
|
+
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-dd86d4a4.js';
|
|
11
|
+
import { l as luxon } from './luxon-12195d94.js';
|
|
12
|
+
import { T as TextSpanView } from './sqm-text-span-view-d6e03f93.js';
|
|
12
13
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
13
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
14
|
-
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-
|
|
14
|
+
import { a as isValidColor, b as isMobile } from './utilities-34fdb9e3.js';
|
|
15
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-83df005d.js';
|
|
15
16
|
|
|
16
17
|
const medium = {
|
|
17
18
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -216,80 +217,6 @@ function LeaderboardView(props) {
|
|
|
216
217
|
h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
|
|
217
218
|
}
|
|
218
219
|
|
|
219
|
-
const style$2 = {
|
|
220
|
-
HostBlock: HostBlock,
|
|
221
|
-
inputStyle: {
|
|
222
|
-
"&::part(input)": { textOverflow: "ellipsis", width: "100%" },
|
|
223
|
-
"&::part(base)": { cursor: "pointer", overflow: "visible" },
|
|
224
|
-
width: "100%",
|
|
225
|
-
},
|
|
226
|
-
inputErrorStyle: {
|
|
227
|
-
"&::part(base)": {
|
|
228
|
-
border: "2px solid red",
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
containerStyle: {
|
|
232
|
-
display: "flex",
|
|
233
|
-
alignItems: "center",
|
|
234
|
-
gap: "var(--sl-spacing-x-small)",
|
|
235
|
-
width: "100%",
|
|
236
|
-
},
|
|
237
|
-
errorTextStyle: {
|
|
238
|
-
margin: "0",
|
|
239
|
-
color: "var(--sl-color-danger-500)",
|
|
240
|
-
},
|
|
241
|
-
};
|
|
242
|
-
const vanillaStyle$1 = `
|
|
243
|
-
:host{
|
|
244
|
-
display: block;
|
|
245
|
-
width: 100%;
|
|
246
|
-
}
|
|
247
|
-
`;
|
|
248
|
-
const textAlignStyle = {
|
|
249
|
-
right: `
|
|
250
|
-
sl-input::part(input){
|
|
251
|
-
text-align: right;
|
|
252
|
-
}`,
|
|
253
|
-
center: `
|
|
254
|
-
sl-input::part(input){
|
|
255
|
-
text-align: center;
|
|
256
|
-
}`,
|
|
257
|
-
left: ``,
|
|
258
|
-
};
|
|
259
|
-
const disabledStyles = `
|
|
260
|
-
sl-input::part(input){
|
|
261
|
-
cursor: default;
|
|
262
|
-
}
|
|
263
|
-
`;
|
|
264
|
-
const sheet$2 = createStyleSheet(style$2);
|
|
265
|
-
const styleString$2 = sheet$2.toString();
|
|
266
|
-
function CopyTextView(props) {
|
|
267
|
-
const { buttonStyle = "icon" } = props;
|
|
268
|
-
const error = !props.loading && props.error;
|
|
269
|
-
const inputText = error ? props.inputPlaceholderText : props.copyString;
|
|
270
|
-
const disabled = error || props.loading || props.disabled;
|
|
271
|
-
const tooltipPlacement = props.buttonStyle === "button-below"
|
|
272
|
-
? "bottom"
|
|
273
|
-
: props.buttonStyle === "button-outside"
|
|
274
|
-
? "top"
|
|
275
|
-
: "top-end";
|
|
276
|
-
const copyButton = (h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (h("sl-icon-button", { exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (h("sl-button", { exportparts: "base: copy-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
|
|
277
|
-
return (h("div", null,
|
|
278
|
-
h("style", { type: "text/css" },
|
|
279
|
-
styleString$2,
|
|
280
|
-
vanillaStyle$1,
|
|
281
|
-
textAlignStyle[props.textAlign],
|
|
282
|
-
disabled && disabledStyles),
|
|
283
|
-
h("div", { class: sheet$2.classes.containerStyle, style: {
|
|
284
|
-
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
285
|
-
} },
|
|
286
|
-
h("sl-input", { class: `${sheet$2.classes.inputStyle} ${error ? sheet$2.classes.inputErrorStyle : ""}`, exportparts: "base: input-base, input: input-label", value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
287
|
-
buttonStyle === "icon" && copyButton,
|
|
288
|
-
error && (h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
|
|
289
|
-
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
290
|
-
copyButton)));
|
|
291
|
-
}
|
|
292
|
-
|
|
293
220
|
function BigStatView(props) {
|
|
294
221
|
const { statvalue, flexReverse, alignment } = props;
|
|
295
222
|
// Dependent on props, not feasiable to move out
|
|
@@ -325,7 +252,7 @@ function BigStatView(props) {
|
|
|
325
252
|
h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
326
253
|
}
|
|
327
254
|
|
|
328
|
-
const style$
|
|
255
|
+
const style$2 = {
|
|
329
256
|
HostBlock: HostBlock,
|
|
330
257
|
Frame: {
|
|
331
258
|
display: "flex",
|
|
@@ -359,17 +286,17 @@ const style$3 = {
|
|
|
359
286
|
},
|
|
360
287
|
},
|
|
361
288
|
};
|
|
362
|
-
const sheet$
|
|
363
|
-
const styleString$
|
|
289
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
290
|
+
const styleString$2 = sheet$2.toString();
|
|
364
291
|
function PortalFrameView(props, children) {
|
|
365
292
|
const { data, notFullScreen } = props;
|
|
366
|
-
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$
|
|
367
|
-
h("style", { type: "text/css" }, styleString$
|
|
368
|
-
h("div", { class: sheet$
|
|
293
|
+
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
|
|
294
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
295
|
+
h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
|
|
369
296
|
data.header,
|
|
370
297
|
h("slot", { name: "sqm-navigation-menu" })),
|
|
371
298
|
children,
|
|
372
|
-
h("div", { class: sheet$
|
|
299
|
+
h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
|
|
373
300
|
}
|
|
374
301
|
|
|
375
302
|
const EditProfileView = (props) => {
|
|
@@ -446,16 +373,22 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
446
373
|
`;
|
|
447
374
|
function useShareLink(props) {
|
|
448
375
|
var _a, _b;
|
|
449
|
-
const { programId =
|
|
450
|
-
const user =
|
|
451
|
-
const engagementMedium =
|
|
452
|
-
const
|
|
453
|
-
const
|
|
454
|
-
const
|
|
376
|
+
const { programId = H() } = props;
|
|
377
|
+
const user = Q();
|
|
378
|
+
const engagementMedium = B();
|
|
379
|
+
const contextData = In(REFERRAL_CODES_NAMESPACE);
|
|
380
|
+
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
381
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
382
|
+
const [setCopied, copiedRes] = $e(SET_CODE_COPIED);
|
|
383
|
+
const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink))) !== null && _b !== void 0 ? _b :
|
|
455
384
|
// Shown during loading
|
|
456
385
|
"...";
|
|
457
386
|
const [open, setOpen] = useState(false);
|
|
458
|
-
function onClick() {
|
|
387
|
+
async function onClick() {
|
|
388
|
+
if (contextData) {
|
|
389
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
390
|
+
contextData.refresh();
|
|
391
|
+
}
|
|
459
392
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
460
393
|
// Only if called from a user-initiated event
|
|
461
394
|
navigator.clipboard.writeText(copyString);
|
|
@@ -514,60 +447,70 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
|
|
|
514
447
|
alert(unsupportedPlatformText);
|
|
515
448
|
}
|
|
516
449
|
}
|
|
517
|
-
function FacebookShare(directLink,
|
|
518
|
-
|
|
519
|
-
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
|
|
520
|
-
directLink === "undefined") {
|
|
450
|
+
function FacebookShare(directLink, messageLink, errorText) {
|
|
451
|
+
if (messageLink === "undefined" || directLink === "undefined") {
|
|
521
452
|
return alert(errorText);
|
|
522
453
|
}
|
|
523
454
|
if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
|
|
524
|
-
return SquatchAndroid.shareOnFacebook(directLink,
|
|
455
|
+
return SquatchAndroid.shareOnFacebook(directLink, messageLink);
|
|
525
456
|
}
|
|
526
457
|
else {
|
|
527
|
-
return GenericShare(
|
|
458
|
+
return GenericShare(messageLink, errorText);
|
|
528
459
|
}
|
|
529
460
|
}
|
|
530
|
-
function GenericShare(
|
|
531
|
-
|
|
532
|
-
return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) ? window.open(res.data.viewer.messageLink)
|
|
533
|
-
: alert(errorText);
|
|
461
|
+
function GenericShare(messageLink, errorText) {
|
|
462
|
+
return messageLink ? window.open(messageLink) : alert(errorText);
|
|
534
463
|
}
|
|
535
464
|
function useShareButton(props) {
|
|
536
465
|
var _a, _b;
|
|
537
466
|
const { sharetitle, sharetext, medium } = props;
|
|
538
|
-
const programId = props.programId ? props.programId :
|
|
539
|
-
const user =
|
|
467
|
+
const programId = props.programId ? props.programId : H();
|
|
468
|
+
const user = Q();
|
|
469
|
+
const engagementMedium = B();
|
|
540
470
|
const variables = {
|
|
541
|
-
engagementMedium
|
|
471
|
+
engagementMedium,
|
|
542
472
|
programId: programId,
|
|
543
473
|
shareMedium: medium.toUpperCase(),
|
|
544
474
|
};
|
|
475
|
+
const contextData = In(REFERRAL_CODES_NAMESPACE);
|
|
476
|
+
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
545
477
|
// only queries if a programId is available
|
|
546
|
-
const res =
|
|
547
|
-
const
|
|
478
|
+
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
479
|
+
const [setCopied, copiedRes] = $e(SET_CODE_COPIED);
|
|
480
|
+
const directLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.shareLink) || ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink);
|
|
548
481
|
const environment = getEnvironmentSDK();
|
|
549
482
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
550
483
|
window.orientation === undefined) ||
|
|
551
484
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
552
|
-
function onClick() {
|
|
485
|
+
async function onClick() {
|
|
486
|
+
var _a, _b, _c, _d;
|
|
487
|
+
if (overrideData) {
|
|
488
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
489
|
+
contextData.refresh();
|
|
490
|
+
}
|
|
553
491
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
554
492
|
environment.type === "SquatchAndroid") {
|
|
555
|
-
FacebookShare(directLink, res, props.errorText);
|
|
493
|
+
FacebookShare(directLink, (overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink), props.errorText);
|
|
556
494
|
}
|
|
557
495
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
558
496
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
559
497
|
}
|
|
560
498
|
else {
|
|
561
|
-
GenericShare(res, props.errorText);
|
|
499
|
+
GenericShare((overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.messageLink), props.errorText);
|
|
562
500
|
}
|
|
563
501
|
}
|
|
564
|
-
return {
|
|
502
|
+
return {
|
|
503
|
+
...props,
|
|
504
|
+
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
505
|
+
onClick,
|
|
506
|
+
hide,
|
|
507
|
+
};
|
|
565
508
|
}
|
|
566
509
|
|
|
567
510
|
const debug = browser("sq:useBigStat");
|
|
568
511
|
const LOADING = "...";
|
|
569
512
|
const debugQuery = (query, variables, getStat) => {
|
|
570
|
-
const res =
|
|
513
|
+
const res = yn(query, variables);
|
|
571
514
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
572
515
|
console.error("issue getting stat:", res);
|
|
573
516
|
}
|
|
@@ -978,7 +921,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
978
921
|
locale: $locale
|
|
979
922
|
formatType: UNIT_FORMATTED
|
|
980
923
|
)}`;
|
|
981
|
-
const result =
|
|
924
|
+
const result = yn(query, {
|
|
982
925
|
value: redeemedTotal,
|
|
983
926
|
unit,
|
|
984
927
|
locale,
|
|
@@ -1037,7 +980,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1037
980
|
locale: $locale
|
|
1038
981
|
formatType: UNIT_FORMATTED
|
|
1039
982
|
)}`;
|
|
1040
|
-
const result =
|
|
983
|
+
const result = yn(query, {
|
|
1041
984
|
value: redeemedTotal,
|
|
1042
985
|
unit,
|
|
1043
986
|
locale,
|
|
@@ -1436,11 +1379,11 @@ const StatPaths = [
|
|
|
1436
1379
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1437
1380
|
function useBigStat(props) {
|
|
1438
1381
|
var _a;
|
|
1439
|
-
const { statType, flexReverse, alignment, programId =
|
|
1382
|
+
const { statType, flexReverse, alignment, programId = H(), } = props;
|
|
1440
1383
|
// triggers a re-render if the label is manually changed
|
|
1441
1384
|
useChildElements();
|
|
1442
|
-
const locale =
|
|
1443
|
-
const userIdent =
|
|
1385
|
+
const locale = L();
|
|
1386
|
+
const userIdent = Q();
|
|
1444
1387
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1445
1388
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1446
1389
|
return {
|
|
@@ -1637,7 +1580,7 @@ function PortalChangePasswordView(props) {
|
|
|
1637
1580
|
h("style", { type: "text/css" }, styleString))));
|
|
1638
1581
|
}
|
|
1639
1582
|
|
|
1640
|
-
const style$
|
|
1583
|
+
const style$3 = {
|
|
1641
1584
|
Wrapper: AuthWrapper,
|
|
1642
1585
|
Column: AuthColumn,
|
|
1643
1586
|
ForgotButtonContainer: {
|
|
@@ -1650,7 +1593,7 @@ const style$4 = {
|
|
|
1650
1593
|
},
|
|
1651
1594
|
ButtonsContainer: AuthButtonsContainer,
|
|
1652
1595
|
};
|
|
1653
|
-
const vanillaStyle$
|
|
1596
|
+
const vanillaStyle$1 = `
|
|
1654
1597
|
:host {
|
|
1655
1598
|
display: block;
|
|
1656
1599
|
}
|
|
@@ -1658,28 +1601,28 @@ const vanillaStyle$2 = `
|
|
|
1658
1601
|
display: none;
|
|
1659
1602
|
}
|
|
1660
1603
|
`;
|
|
1661
|
-
const sheet$
|
|
1662
|
-
const styleString$
|
|
1604
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1605
|
+
const styleString$3 = sheet$3.toString();
|
|
1663
1606
|
function PortalLoginView(props) {
|
|
1664
1607
|
const { states, callbacks, content } = props;
|
|
1665
|
-
return (h("div", { class: sheet$
|
|
1608
|
+
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1666
1609
|
h("style", { type: "text/css" },
|
|
1667
|
-
vanillaStyle$
|
|
1668
|
-
styleString$
|
|
1610
|
+
vanillaStyle$1,
|
|
1611
|
+
styleString$3),
|
|
1669
1612
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1670
|
-
h("sl-form", { class: sheet$
|
|
1613
|
+
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1671
1614
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1672
1615
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1673
1616
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1674
1617
|
h("div", null,
|
|
1675
1618
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1676
|
-
h("div", { class: sheet$
|
|
1677
|
-
h("div", { class: sheet$
|
|
1619
|
+
h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1620
|
+
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1678
1621
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1679
1622
|
content.secondaryButton))));
|
|
1680
1623
|
}
|
|
1681
1624
|
|
|
1682
|
-
const style$
|
|
1625
|
+
const style$4 = {
|
|
1683
1626
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1684
1627
|
Column: AuthColumn,
|
|
1685
1628
|
HostBlock: HostBlock,
|
|
@@ -1690,7 +1633,7 @@ const style$5 = {
|
|
|
1690
1633
|
ButtonsContainer: AuthButtonsContainer,
|
|
1691
1634
|
ErrorStyle: ErrorStyles,
|
|
1692
1635
|
};
|
|
1693
|
-
const vanillaStyle$
|
|
1636
|
+
const vanillaStyle$2 = `
|
|
1694
1637
|
sqm-portal-register {
|
|
1695
1638
|
margin: 0 auto;
|
|
1696
1639
|
width: 100%;
|
|
@@ -1705,20 +1648,20 @@ sqm-portal-register {
|
|
|
1705
1648
|
display: none;
|
|
1706
1649
|
}
|
|
1707
1650
|
`;
|
|
1708
|
-
const sheet$
|
|
1709
|
-
const styleString$
|
|
1651
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1652
|
+
const styleString$4 = sheet$4.toString();
|
|
1710
1653
|
function PortalRegisterView(props) {
|
|
1711
1654
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1712
1655
|
const { states, refs, callbacks, content } = props;
|
|
1713
1656
|
if (states.error) {
|
|
1714
1657
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1715
1658
|
}
|
|
1716
|
-
return (h("div", { class: sheet$
|
|
1659
|
+
return (h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
|
|
1717
1660
|
h("style", { type: "text/css" },
|
|
1718
|
-
vanillaStyle$
|
|
1719
|
-
styleString$
|
|
1661
|
+
vanillaStyle$2,
|
|
1662
|
+
styleString$4),
|
|
1720
1663
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1721
|
-
h("sl-form", { class: sheet$
|
|
1664
|
+
h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1722
1665
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1723
1666
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1724
1667
|
content.formData,
|
|
@@ -1731,7 +1674,7 @@ function PortalRegisterView(props) {
|
|
|
1731
1674
|
return content.invalidEmailErrorMessage;
|
|
1732
1675
|
}
|
|
1733
1676
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1734
|
-
class: sheet$
|
|
1677
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1735
1678
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1736
1679
|
content.requiredFieldErrorMessage,
|
|
1737
1680
|
}
|
|
@@ -1739,17 +1682,17 @@ function PortalRegisterView(props) {
|
|
|
1739
1682
|
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
1740
1683
|
content.passwordField,
|
|
1741
1684
|
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
1742
|
-
class: sheet$
|
|
1685
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1743
1686
|
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1744
1687
|
}
|
|
1745
1688
|
: [])))),
|
|
1746
1689
|
content.terms,
|
|
1747
|
-
h("div", { class: sheet$
|
|
1690
|
+
h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1748
1691
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1749
1692
|
content.secondaryButton))));
|
|
1750
1693
|
}
|
|
1751
1694
|
|
|
1752
|
-
const style$
|
|
1695
|
+
const style$5 = {
|
|
1753
1696
|
Description: {
|
|
1754
1697
|
"& input[type=checkbox]": {
|
|
1755
1698
|
display: "none",
|
|
@@ -1788,13 +1731,13 @@ const style$6 = {
|
|
|
1788
1731
|
},
|
|
1789
1732
|
},
|
|
1790
1733
|
};
|
|
1791
|
-
const sheet$
|
|
1792
|
-
const styleString$
|
|
1734
|
+
const sheet$5 = createStyleSheet(style$5);
|
|
1735
|
+
const styleString$5 = sheet$5.toString();
|
|
1793
1736
|
function Details(props) {
|
|
1794
1737
|
const rid = Math.random().toString(36).slice(2);
|
|
1795
1738
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1796
|
-
h("style", { type: "text/css" }, styleString$
|
|
1797
|
-
h("span", { class: sheet$
|
|
1739
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
1740
|
+
h("span", { class: sheet$5.classes.Description },
|
|
1798
1741
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1799
1742
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1800
1743
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1816,7 +1759,7 @@ const GreyGift = () => {
|
|
|
1816
1759
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1817
1760
|
};
|
|
1818
1761
|
|
|
1819
|
-
const style$
|
|
1762
|
+
const style$6 = {
|
|
1820
1763
|
ProgressBar: {
|
|
1821
1764
|
"& .progress-bar": {
|
|
1822
1765
|
height: "0",
|
|
@@ -1928,14 +1871,14 @@ const style$7 = {
|
|
|
1928
1871
|
},
|
|
1929
1872
|
},
|
|
1930
1873
|
};
|
|
1931
|
-
const sheet$
|
|
1932
|
-
const styleString$
|
|
1874
|
+
const sheet$6 = createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
|
|
1875
|
+
const styleString$6 = sheet$6.toString();
|
|
1933
1876
|
function ProgressBarView(props) {
|
|
1934
1877
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1935
1878
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1936
1879
|
const { columns, items } = aggregate;
|
|
1937
|
-
return (h("div", { class: sheet$
|
|
1938
|
-
h("style", { type: "text/css" }, styleString$
|
|
1880
|
+
return (h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1881
|
+
h("style", { type: "text/css" }, styleString$6),
|
|
1939
1882
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1940
1883
|
(Boolean(finite) && progress > 2 * goal)
|
|
1941
1884
|
? "progress-bar repeatable-steps"
|
|
@@ -2226,7 +2169,7 @@ const arrow_left_right = () => {
|
|
|
2226
2169
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2227
2170
|
};
|
|
2228
2171
|
|
|
2229
|
-
const style$
|
|
2172
|
+
const style$7 = {
|
|
2230
2173
|
TaskCard: {
|
|
2231
2174
|
display: "inline-block",
|
|
2232
2175
|
width: "100%",
|
|
@@ -2380,8 +2323,8 @@ const style$8 = {
|
|
|
2380
2323
|
},
|
|
2381
2324
|
},
|
|
2382
2325
|
};
|
|
2383
|
-
const sheet$
|
|
2384
|
-
const styleString$
|
|
2326
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
2327
|
+
const styleString$7 = sheet$7.toString();
|
|
2385
2328
|
function TaskCardView(props) {
|
|
2386
2329
|
var _a, _b;
|
|
2387
2330
|
const { callbacks, states, content } = props;
|
|
@@ -2417,11 +2360,11 @@ function TaskCardView(props) {
|
|
|
2417
2360
|
}
|
|
2418
2361
|
|
|
2419
2362
|
`;
|
|
2420
|
-
return (h("div", { class: sheet$
|
|
2363
|
+
return (h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
|
|
2421
2364
|
h("style", { type: "text/css" },
|
|
2422
|
-
styleString$
|
|
2365
|
+
styleString$7,
|
|
2423
2366
|
vanillaStyle),
|
|
2424
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2367
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$7.classes.NotStarted },
|
|
2425
2368
|
h("span", { class: "icon" },
|
|
2426
2369
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2427
2370
|
intl.formatMessage({
|
|
@@ -2432,7 +2375,7 @@ function TaskCardView(props) {
|
|
|
2432
2375
|
.setLocale(luxonLocale(states.locale))
|
|
2433
2376
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2434
2377
|
}))),
|
|
2435
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2378
|
+
!states.loading && taskEnded && (h("div", { class: sheet$7.classes.Ended },
|
|
2436
2379
|
h("span", { class: "icon" },
|
|
2437
2380
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2438
2381
|
intl.formatMessage({
|
|
@@ -2452,7 +2395,7 @@ function TaskCardView(props) {
|
|
|
2452
2395
|
? "main complete"
|
|
2453
2396
|
: "main" },
|
|
2454
2397
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2455
|
-
h("div", { class: sheet$
|
|
2398
|
+
h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2456
2399
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2457
2400
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2458
2401
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2468,7 +2411,7 @@ function TaskCardView(props) {
|
|
|
2468
2411
|
} }, content.cardTitle)),
|
|
2469
2412
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2470
2413
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2471
|
-
h("div", { class: sheet$
|
|
2414
|
+
h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2472
2415
|
h("span", { class: "text" },
|
|
2473
2416
|
content.repeatable && (h("div", null,
|
|
2474
2417
|
h("span", { class: repetitions > 0
|
|
@@ -2539,7 +2482,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2539
2482
|
h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2540
2483
|
}
|
|
2541
2484
|
|
|
2542
|
-
const vanillaStyle$
|
|
2485
|
+
const vanillaStyle$3 = `
|
|
2543
2486
|
:host{
|
|
2544
2487
|
margin: 0 auto;
|
|
2545
2488
|
width: 100%;
|
|
@@ -2595,7 +2538,7 @@ function PortalFooterView(props) {
|
|
|
2595
2538
|
const styleString = sheet.toString();
|
|
2596
2539
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2597
2540
|
h("style", { type: "text/css" },
|
|
2598
|
-
vanillaStyle$
|
|
2541
|
+
vanillaStyle$3,
|
|
2599
2542
|
styleString),
|
|
2600
2543
|
h("div", { class: sheet.classes.RowContainer },
|
|
2601
2544
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2767,7 +2710,7 @@ function ReferralIframeView(props) {
|
|
|
2767
2710
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2768
2711
|
}
|
|
2769
2712
|
|
|
2770
|
-
const style$
|
|
2713
|
+
const style$8 = {
|
|
2771
2714
|
ErrorStyle: ErrorStyles,
|
|
2772
2715
|
FieldsContainer: {
|
|
2773
2716
|
"& sl-input": {
|
|
@@ -2775,7 +2718,7 @@ const style$9 = {
|
|
|
2775
2718
|
},
|
|
2776
2719
|
},
|
|
2777
2720
|
};
|
|
2778
|
-
const vanillaStyle$
|
|
2721
|
+
const vanillaStyle$4 = `
|
|
2779
2722
|
:host {
|
|
2780
2723
|
margin: 0 auto;
|
|
2781
2724
|
width: 100%;
|
|
@@ -2787,21 +2730,21 @@ sl-input::part(label){
|
|
|
2787
2730
|
font-weight: var(--sl-font-weight-semibold);
|
|
2788
2731
|
}
|
|
2789
2732
|
`;
|
|
2790
|
-
const sheet$
|
|
2791
|
-
const styleString$
|
|
2733
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
2734
|
+
const styleString$8 = sheet$8.toString();
|
|
2792
2735
|
function NameFieldsView(props) {
|
|
2793
2736
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2794
2737
|
const { states } = props;
|
|
2795
2738
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2796
|
-
return (h("div", { class: sheet$
|
|
2739
|
+
return (h("div", { class: sheet$8.classes.FieldsContainer },
|
|
2797
2740
|
h("style", { type: "text/css" },
|
|
2798
|
-
vanillaStyle$
|
|
2799
|
-
styleString$
|
|
2741
|
+
vanillaStyle$4,
|
|
2742
|
+
styleString$8),
|
|
2800
2743
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2801
2744
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2802
2745
|
}
|
|
2803
2746
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2804
|
-
class: sheet$
|
|
2747
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2805
2748
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2806
2749
|
}
|
|
2807
2750
|
: []))),
|
|
@@ -2809,13 +2752,13 @@ function NameFieldsView(props) {
|
|
|
2809
2752
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2810
2753
|
}
|
|
2811
2754
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2812
|
-
class: sheet$
|
|
2755
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2813
2756
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2814
2757
|
}
|
|
2815
2758
|
: [])))));
|
|
2816
2759
|
}
|
|
2817
2760
|
|
|
2818
|
-
const style$
|
|
2761
|
+
const style$9 = {
|
|
2819
2762
|
ErrorStyle: {
|
|
2820
2763
|
"&::part(control)": {
|
|
2821
2764
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2838,7 +2781,7 @@ const style$a = {
|
|
|
2838
2781
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2839
2782
|
},
|
|
2840
2783
|
};
|
|
2841
|
-
const vanillaStyle$
|
|
2784
|
+
const vanillaStyle$5 = `
|
|
2842
2785
|
:host {
|
|
2843
2786
|
margin: 0 auto;
|
|
2844
2787
|
width: 100%;
|
|
@@ -2854,22 +2797,22 @@ sl-checkbox::part(base){
|
|
|
2854
2797
|
}
|
|
2855
2798
|
`;
|
|
2856
2799
|
jss.setup(create());
|
|
2857
|
-
const sheet$
|
|
2858
|
-
const styleString$
|
|
2800
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
2801
|
+
const styleString$9 = sheet$9.toString();
|
|
2859
2802
|
function CheckboxFieldView(props) {
|
|
2860
2803
|
var _a, _b, _c;
|
|
2861
2804
|
const { states, content, callbacks } = props;
|
|
2862
2805
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2863
|
-
return (h("div", { class: sheet$
|
|
2806
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2864
2807
|
h("style", { type: "text/css" },
|
|
2865
|
-
vanillaStyle$
|
|
2866
|
-
styleString$
|
|
2808
|
+
vanillaStyle$5,
|
|
2809
|
+
styleString$9),
|
|
2867
2810
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2868
2811
|
e.target.value = e.target.checked;
|
|
2869
2812
|
callbacks.setChecked(e.target.value);
|
|
2870
2813
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2871
2814
|
? {
|
|
2872
|
-
class: sheet$
|
|
2815
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2873
2816
|
}
|
|
2874
2817
|
: [])),
|
|
2875
2818
|
intl.formatMessage({
|
|
@@ -2878,13 +2821,13 @@ function CheckboxFieldView(props) {
|
|
|
2878
2821
|
}, {
|
|
2879
2822
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2880
2823
|
}),
|
|
2881
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2824
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2882
2825
|
id: `errorMessage-${content.checkboxName}`,
|
|
2883
2826
|
defaultMessage: content.errorMessage,
|
|
2884
2827
|
}))))));
|
|
2885
2828
|
}
|
|
2886
2829
|
|
|
2887
|
-
const style$
|
|
2830
|
+
const style$a = {
|
|
2888
2831
|
ErrorStyle: {
|
|
2889
2832
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2890
2833
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2900,7 +2843,7 @@ const style$b = {
|
|
|
2900
2843
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2901
2844
|
},
|
|
2902
2845
|
};
|
|
2903
|
-
const vanillaStyle$
|
|
2846
|
+
const vanillaStyle$6 = `
|
|
2904
2847
|
:host {
|
|
2905
2848
|
margin: 0 auto;
|
|
2906
2849
|
width: 100%;
|
|
@@ -2912,36 +2855,36 @@ sl-select::part(label){
|
|
|
2912
2855
|
}
|
|
2913
2856
|
`;
|
|
2914
2857
|
jss.setup(create());
|
|
2915
|
-
const sheet$
|
|
2916
|
-
const styleString$
|
|
2858
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2859
|
+
const styleString$a = sheet$a.toString();
|
|
2917
2860
|
function DropdownFieldView(props) {
|
|
2918
2861
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2919
2862
|
const { states, content } = props;
|
|
2920
2863
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2921
|
-
return (h("div", { class: sheet$
|
|
2864
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2922
2865
|
h("style", { type: "text/css" },
|
|
2923
|
-
vanillaStyle$
|
|
2924
|
-
styleString$
|
|
2866
|
+
vanillaStyle$6,
|
|
2867
|
+
styleString$a),
|
|
2925
2868
|
h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2926
2869
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2927
2870
|
}
|
|
2928
2871
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2929
|
-
class: sheet$
|
|
2872
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2930
2873
|
}
|
|
2931
2874
|
: [])), content.selectOptions),
|
|
2932
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2875
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2933
2876
|
id: `errorMessage-${content.dropdownName}`,
|
|
2934
2877
|
defaultMessage: content.errorMessage,
|
|
2935
2878
|
})))));
|
|
2936
2879
|
}
|
|
2937
2880
|
|
|
2938
|
-
const style$
|
|
2881
|
+
const style$b = {
|
|
2939
2882
|
ErrorStyle: ErrorStyles,
|
|
2940
2883
|
FieldContainer: {
|
|
2941
2884
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2942
2885
|
},
|
|
2943
2886
|
};
|
|
2944
|
-
const vanillaStyle$
|
|
2887
|
+
const vanillaStyle$7 = `
|
|
2945
2888
|
:host {
|
|
2946
2889
|
margin: 0 auto;
|
|
2947
2890
|
width: 100%;
|
|
@@ -2949,21 +2892,21 @@ const vanillaStyle$8 = `
|
|
|
2949
2892
|
}
|
|
2950
2893
|
`;
|
|
2951
2894
|
jss.setup(create());
|
|
2952
|
-
const sheet$
|
|
2953
|
-
const styleString$
|
|
2895
|
+
const sheet$b = jss.createStyleSheet(style$b);
|
|
2896
|
+
const styleString$b = sheet$b.toString();
|
|
2954
2897
|
function InputFieldView(props) {
|
|
2955
2898
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2956
2899
|
const { states, content } = props;
|
|
2957
2900
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2958
|
-
return (h("div", { class: sheet$
|
|
2901
|
+
return (h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2959
2902
|
h("style", { type: "text/css" },
|
|
2960
|
-
vanillaStyle$
|
|
2961
|
-
styleString$
|
|
2903
|
+
vanillaStyle$7,
|
|
2904
|
+
styleString$b),
|
|
2962
2905
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2963
2906
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2964
2907
|
}
|
|
2965
2908
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2966
|
-
class: sheet$
|
|
2909
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2967
2910
|
helpText: intl.formatMessage({
|
|
2968
2911
|
id: `errorMessage-${content.fieldName}`,
|
|
2969
2912
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3058,7 +3001,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3058
3001
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3059
3002
|
}
|
|
3060
3003
|
|
|
3061
|
-
const style$
|
|
3004
|
+
const style$c = {
|
|
3062
3005
|
HostBlock: HostBlock,
|
|
3063
3006
|
Container: {
|
|
3064
3007
|
minWidth: "300px",
|
|
@@ -3409,8 +3352,8 @@ const style$d = {
|
|
|
3409
3352
|
},
|
|
3410
3353
|
};
|
|
3411
3354
|
// JSS config
|
|
3412
|
-
const sheet$
|
|
3413
|
-
const styleString$
|
|
3355
|
+
const sheet$c = createStyleSheet(style$c);
|
|
3356
|
+
const styleString$c = sheet$c.toString();
|
|
3414
3357
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3415
3358
|
function RewardExchangeView(props) {
|
|
3416
3359
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3433,7 +3376,7 @@ function RewardExchangeView(props) {
|
|
|
3433
3376
|
sourceUnit: item.sourceUnit,
|
|
3434
3377
|
})));
|
|
3435
3378
|
}
|
|
3436
|
-
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3379
|
+
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$c.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3437
3380
|
var _a, _b, _c, _d, _e;
|
|
3438
3381
|
return callbacks.setExchangeState({
|
|
3439
3382
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3441,7 +3384,7 @@ function RewardExchangeView(props) {
|
|
|
3441
3384
|
});
|
|
3442
3385
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3443
3386
|
var _a, _b;
|
|
3444
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3387
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3445
3388
|
step.prettyDestinationValue,
|
|
3446
3389
|
h("br", null),
|
|
3447
3390
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3460,8 +3403,8 @@ function RewardExchangeView(props) {
|
|
|
3460
3403
|
var _a;
|
|
3461
3404
|
return [
|
|
3462
3405
|
h("div", { part: "choose-reward-container" },
|
|
3463
|
-
h("div", { class: sheet$
|
|
3464
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3406
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3407
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3465
3408
|
var _a, _b, _c, _d, _e;
|
|
3466
3409
|
const style = {
|
|
3467
3410
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3470,7 +3413,7 @@ function RewardExchangeView(props) {
|
|
|
3470
3413
|
borderRadius: "4px",
|
|
3471
3414
|
};
|
|
3472
3415
|
return (h("div", { key: item.key, style: style },
|
|
3473
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3416
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3474
3417
|
cursor: item.unavailableReasonCode
|
|
3475
3418
|
? "not-allowed"
|
|
3476
3419
|
: "pointer",
|
|
@@ -3487,14 +3430,14 @@ function RewardExchangeView(props) {
|
|
|
3487
3430
|
? "rgba(0, 0, 0, 0.05)"
|
|
3488
3431
|
: "rgba(0, 0, 0, 0)",
|
|
3489
3432
|
} },
|
|
3490
|
-
h("div", { class: sheet$
|
|
3433
|
+
h("div", { class: sheet$c.classes.Image, style: {
|
|
3491
3434
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3492
3435
|
} },
|
|
3493
3436
|
h("img", { class: item.unavailableReasonCode
|
|
3494
3437
|
? "image subdued"
|
|
3495
3438
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3496
3439
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3497
|
-
h("div", { class: sheet$
|
|
3440
|
+
h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3498
3441
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3499
3442
|
} },
|
|
3500
3443
|
h("div", { class: "title", style: {
|
|
@@ -3527,7 +3470,7 @@ function RewardExchangeView(props) {
|
|
|
3527
3470
|
item.prettySourceMinValue,
|
|
3528
3471
|
}))))))));
|
|
3529
3472
|
}))),
|
|
3530
|
-
h("div", { class: sheet$
|
|
3473
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3531
3474
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3532
3475
|
];
|
|
3533
3476
|
}
|
|
@@ -3538,7 +3481,7 @@ function RewardExchangeView(props) {
|
|
|
3538
3481
|
? false
|
|
3539
3482
|
: input && !states.amount;
|
|
3540
3483
|
return (h("div", null,
|
|
3541
|
-
h("div", { class: sheet$
|
|
3484
|
+
h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3542
3485
|
h("div", { class: "wrapper" },
|
|
3543
3486
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3544
3487
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3547,7 +3490,7 @@ function RewardExchangeView(props) {
|
|
|
3547
3490
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3548
3491
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3549
3492
|
h("div", { class: "space" }))),
|
|
3550
|
-
h("div", { class: sheet$
|
|
3493
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3551
3494
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3552
3495
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3553
3496
|
}
|
|
@@ -3555,8 +3498,8 @@ function RewardExchangeView(props) {
|
|
|
3555
3498
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3556
3499
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3557
3500
|
return (h("div", null,
|
|
3558
|
-
h("div", { class: sheet$
|
|
3559
|
-
h("div", { class: sheet$
|
|
3501
|
+
h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3502
|
+
h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3560
3503
|
h("div", { class: "wrapper" },
|
|
3561
3504
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3562
3505
|
h("div", { class: "reward-item-container" },
|
|
@@ -3571,13 +3514,13 @@ function RewardExchangeView(props) {
|
|
|
3571
3514
|
h("div", { class: "wrapper top-border padding" },
|
|
3572
3515
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3573
3516
|
h("div", { class: "value" }, cost)),
|
|
3574
|
-
h("div", { class: sheet$
|
|
3517
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3575
3518
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3576
3519
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3577
3520
|
}
|
|
3578
3521
|
function success() {
|
|
3579
3522
|
var _a, _b, _c, _d, _e, _f;
|
|
3580
|
-
return (h("div", { class: sheet$
|
|
3523
|
+
return (h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3581
3524
|
h(Gift$1, null),
|
|
3582
3525
|
h(Confetti, null),
|
|
3583
3526
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3592,7 +3535,7 @@ function RewardExchangeView(props) {
|
|
|
3592
3535
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3593
3536
|
states.content.text.promoCode,
|
|
3594
3537
|
h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3595
|
-
h("div", { class: sheet$
|
|
3538
|
+
h("div", { class: sheet$c.classes.Button },
|
|
3596
3539
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3597
3540
|
}
|
|
3598
3541
|
const stages = {
|
|
@@ -3604,7 +3547,7 @@ function RewardExchangeView(props) {
|
|
|
3604
3547
|
const currentStage = stages[states.redeemStage];
|
|
3605
3548
|
function stageMap() {
|
|
3606
3549
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3607
|
-
return (h("div", { class: sheet$
|
|
3550
|
+
return (h("div", { class: sheet$c.classes.ProgressBar },
|
|
3608
3551
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3609
3552
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3610
3553
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3616,10 +3559,10 @@ function RewardExchangeView(props) {
|
|
|
3616
3559
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3617
3560
|
}
|
|
3618
3561
|
function loading() {
|
|
3619
|
-
return (h("div", { class: sheet$
|
|
3562
|
+
return (h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3620
3563
|
return (h("div", null,
|
|
3621
|
-
h("sl-card", { class: sheet$
|
|
3622
|
-
h("div", { class: sheet$
|
|
3564
|
+
h("sl-card", { class: sheet$c.classes.Card },
|
|
3565
|
+
h("div", { class: sheet$c.classes.CardLayout },
|
|
3623
3566
|
h("div", null,
|
|
3624
3567
|
h("sl-skeleton", { style: {
|
|
3625
3568
|
width: "100px",
|
|
@@ -3651,12 +3594,12 @@ function RewardExchangeView(props) {
|
|
|
3651
3594
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3652
3595
|
return;
|
|
3653
3596
|
refs.canvasRef.current = canvas;
|
|
3654
|
-
}, id: "my-canvas", class: sheet$
|
|
3597
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3655
3598
|
}
|
|
3656
3599
|
if (states.noExchangeOptions)
|
|
3657
3600
|
return states.content.text.empty;
|
|
3658
|
-
return (h("div", { class: sheet$
|
|
3659
|
-
h("style", { type: "text/css" }, styleString$
|
|
3601
|
+
return (h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3602
|
+
h("style", { type: "text/css" }, styleString$c),
|
|
3660
3603
|
h("div", null,
|
|
3661
3604
|
stageMap(),
|
|
3662
3605
|
states.exchangeError && errorMessage(),
|
|
@@ -4072,7 +4015,7 @@ function CardFeedView(props, children) {
|
|
|
4072
4015
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4073
4016
|
}
|
|
4074
4017
|
|
|
4075
|
-
const style$
|
|
4018
|
+
const style$d = {
|
|
4076
4019
|
HostBlock: HostBlock,
|
|
4077
4020
|
couponCodeLabel: {
|
|
4078
4021
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4080,21 +4023,21 @@ const style$e = {
|
|
|
4080
4023
|
fontSize: "var(--sl-font-size-small)",
|
|
4081
4024
|
},
|
|
4082
4025
|
};
|
|
4083
|
-
const vanillaStyle$
|
|
4026
|
+
const vanillaStyle$8 = `
|
|
4084
4027
|
:host{
|
|
4085
4028
|
display: block;
|
|
4086
4029
|
width: 100%;
|
|
4087
4030
|
}
|
|
4088
4031
|
`;
|
|
4089
|
-
const sheet$
|
|
4090
|
-
const styleString$
|
|
4032
|
+
const sheet$d = createStyleSheet(style$d);
|
|
4033
|
+
const styleString$d = sheet$d.toString();
|
|
4091
4034
|
function CouponCodeView(props) {
|
|
4092
4035
|
const error = !props.loading && props.error;
|
|
4093
4036
|
return (h("div", null,
|
|
4094
4037
|
h("style", { type: "text/css" },
|
|
4095
|
-
styleString$
|
|
4096
|
-
vanillaStyle$
|
|
4097
|
-
h("p", { class: sheet$
|
|
4038
|
+
styleString$d,
|
|
4039
|
+
vanillaStyle$8),
|
|
4040
|
+
h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4098
4041
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4099
4042
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4100
4043
|
}
|
|
@@ -4184,4 +4127,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4184
4127
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4185
4128
|
};
|
|
4186
4129
|
|
|
4187
|
-
export {
|
|
4130
|
+
export { loading as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, empty as F, rewardExchange as G, HeroView as H, InputFieldView as I, CardFeedView as J, CouponCodeView as K, LeaderboardView as L, ProgressBar as M, NameFieldsView as N, autoColorScaleCss as O, PortalFrameView as P, ShadowViewAddon as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, useBigStat as U, withShadowView as V, demoRewardExchange as W, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalLoginView as e, PortalRegisterView as f, ProgressBarView as g, PoweredByImg as h, PortalFooterView as i, RewardExchangeView as j, rewardExchangeLongText as k, rewardExchangeSelected as l, chooseAmountFixed as m, chooseAmountFixedNoDescription as n, chooseAmountVariable as o, chooseAmountVariableNoDescription as p, chooseAmountVariableDisabled as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableUnavailable as s, confirmFixed as t, useShareLink as u, confirmVariable as v, redemptionError as w, queryError as x, success as y, successVariable as z };
|