@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,19 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
3
|
+
const index = require('./index-ff72278c.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-8f69ed33.js');
|
|
5
|
+
const global = require('./global-ae358e7d.js');
|
|
6
|
+
const index_module = require('./index.module-191d84c2.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
|
-
const mixins = require('./mixins-fe9d4112.js');
|
|
9
|
-
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const useChildElements = require('./useChildElements-410d2435.js');
|
|
11
|
-
const luxon = require('./luxon-05098e19.js');
|
|
12
8
|
const utils = require('./utils-6847bc06.js');
|
|
13
|
-
const
|
|
9
|
+
const JSS = require('./JSS-8503a151.js');
|
|
10
|
+
const copyTextView = require('./copy-text-view-f1ce8888.js');
|
|
11
|
+
const mixins = require('./mixins-fe9d4112.js');
|
|
12
|
+
const useChildElements = require('./useChildElements-d64dfedd.js');
|
|
13
|
+
const luxon = require('./luxon-45228ff5.js');
|
|
14
|
+
const sqmTextSpanView = require('./sqm-text-span-view-38222836.js');
|
|
14
15
|
const index$1 = require('./index-8c6255f5.js');
|
|
15
|
-
const utilities = require('./utilities-
|
|
16
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
16
|
+
const utilities = require('./utilities-cec246be.js');
|
|
17
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-976bf0f5.js');
|
|
17
18
|
|
|
18
19
|
const medium = {
|
|
19
20
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -218,80 +219,6 @@ function LeaderboardView(props) {
|
|
|
218
219
|
index.h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
|
|
219
220
|
}
|
|
220
221
|
|
|
221
|
-
const style$2 = {
|
|
222
|
-
HostBlock: mixins.HostBlock,
|
|
223
|
-
inputStyle: {
|
|
224
|
-
"&::part(input)": { textOverflow: "ellipsis", width: "100%" },
|
|
225
|
-
"&::part(base)": { cursor: "pointer", overflow: "visible" },
|
|
226
|
-
width: "100%",
|
|
227
|
-
},
|
|
228
|
-
inputErrorStyle: {
|
|
229
|
-
"&::part(base)": {
|
|
230
|
-
border: "2px solid red",
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
containerStyle: {
|
|
234
|
-
display: "flex",
|
|
235
|
-
alignItems: "center",
|
|
236
|
-
gap: "var(--sl-spacing-x-small)",
|
|
237
|
-
width: "100%",
|
|
238
|
-
},
|
|
239
|
-
errorTextStyle: {
|
|
240
|
-
margin: "0",
|
|
241
|
-
color: "var(--sl-color-danger-500)",
|
|
242
|
-
},
|
|
243
|
-
};
|
|
244
|
-
const vanillaStyle$1 = `
|
|
245
|
-
:host{
|
|
246
|
-
display: block;
|
|
247
|
-
width: 100%;
|
|
248
|
-
}
|
|
249
|
-
`;
|
|
250
|
-
const textAlignStyle = {
|
|
251
|
-
right: `
|
|
252
|
-
sl-input::part(input){
|
|
253
|
-
text-align: right;
|
|
254
|
-
}`,
|
|
255
|
-
center: `
|
|
256
|
-
sl-input::part(input){
|
|
257
|
-
text-align: center;
|
|
258
|
-
}`,
|
|
259
|
-
left: ``,
|
|
260
|
-
};
|
|
261
|
-
const disabledStyles = `
|
|
262
|
-
sl-input::part(input){
|
|
263
|
-
cursor: default;
|
|
264
|
-
}
|
|
265
|
-
`;
|
|
266
|
-
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
267
|
-
const styleString$2 = sheet$2.toString();
|
|
268
|
-
function CopyTextView(props) {
|
|
269
|
-
const { buttonStyle = "icon" } = props;
|
|
270
|
-
const error = !props.loading && props.error;
|
|
271
|
-
const inputText = error ? props.inputPlaceholderText : props.copyString;
|
|
272
|
-
const disabled = error || props.loading || props.disabled;
|
|
273
|
-
const tooltipPlacement = props.buttonStyle === "button-below"
|
|
274
|
-
? "bottom"
|
|
275
|
-
: props.buttonStyle === "button-outside"
|
|
276
|
-
? "top"
|
|
277
|
-
: "top-end";
|
|
278
|
-
const copyButton = (index.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" ? (index.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 })) : (index.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"))));
|
|
279
|
-
return (index.h("div", null,
|
|
280
|
-
index.h("style", { type: "text/css" },
|
|
281
|
-
styleString$2,
|
|
282
|
-
vanillaStyle$1,
|
|
283
|
-
textAlignStyle[props.textAlign],
|
|
284
|
-
disabled && disabledStyles),
|
|
285
|
-
index.h("div", { class: sheet$2.classes.containerStyle, style: {
|
|
286
|
-
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
287
|
-
} },
|
|
288
|
-
index.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 },
|
|
289
|
-
buttonStyle === "icon" && copyButton,
|
|
290
|
-
error && (index.h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
|
|
291
|
-
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
292
|
-
copyButton)));
|
|
293
|
-
}
|
|
294
|
-
|
|
295
222
|
function BigStatView(props) {
|
|
296
223
|
const { statvalue, flexReverse, alignment } = props;
|
|
297
224
|
// Dependent on props, not feasiable to move out
|
|
@@ -327,7 +254,7 @@ function BigStatView(props) {
|
|
|
327
254
|
index.h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
328
255
|
}
|
|
329
256
|
|
|
330
|
-
const style$
|
|
257
|
+
const style$2 = {
|
|
331
258
|
HostBlock: mixins.HostBlock,
|
|
332
259
|
Frame: {
|
|
333
260
|
display: "flex",
|
|
@@ -361,17 +288,17 @@ const style$3 = {
|
|
|
361
288
|
},
|
|
362
289
|
},
|
|
363
290
|
};
|
|
364
|
-
const sheet$
|
|
365
|
-
const styleString$
|
|
291
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
292
|
+
const styleString$2 = sheet$2.toString();
|
|
366
293
|
function PortalFrameView(props, children) {
|
|
367
294
|
const { data, notFullScreen } = props;
|
|
368
|
-
return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$
|
|
369
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
370
|
-
index.h("div", { class: sheet$
|
|
295
|
+
return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
|
|
296
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
297
|
+
index.h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
|
|
371
298
|
data.header,
|
|
372
299
|
index.h("slot", { name: "sqm-navigation-menu" })),
|
|
373
300
|
children,
|
|
374
|
-
index.h("div", { class: sheet$
|
|
301
|
+
index.h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
|
|
375
302
|
}
|
|
376
303
|
|
|
377
304
|
const EditProfileView = (props) => {
|
|
@@ -448,16 +375,22 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
448
375
|
`;
|
|
449
376
|
function useShareLink(props) {
|
|
450
377
|
var _a, _b;
|
|
451
|
-
const { programId = index_module.
|
|
452
|
-
const user = index_module.
|
|
453
|
-
const engagementMedium = index_module.
|
|
454
|
-
const
|
|
455
|
-
const
|
|
456
|
-
const
|
|
378
|
+
const { programId = index_module.H() } = props;
|
|
379
|
+
const user = index_module.Q();
|
|
380
|
+
const engagementMedium = index_module.B();
|
|
381
|
+
const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
|
|
382
|
+
const { data } = index_module.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);
|
|
383
|
+
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
384
|
+
const [setCopied, copiedRes] = index_module.$e(copyTextView.SET_CODE_COPIED);
|
|
385
|
+
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 :
|
|
457
386
|
// Shown during loading
|
|
458
387
|
"...";
|
|
459
388
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
460
|
-
function onClick() {
|
|
389
|
+
async function onClick() {
|
|
390
|
+
if (contextData) {
|
|
391
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
392
|
+
contextData.refresh();
|
|
393
|
+
}
|
|
461
394
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
462
395
|
// Only if called from a user-initiated event
|
|
463
396
|
navigator.clipboard.writeText(copyString);
|
|
@@ -516,60 +449,70 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
|
|
|
516
449
|
alert(unsupportedPlatformText);
|
|
517
450
|
}
|
|
518
451
|
}
|
|
519
|
-
function FacebookShare(directLink,
|
|
520
|
-
|
|
521
|
-
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
|
|
522
|
-
directLink === "undefined") {
|
|
452
|
+
function FacebookShare(directLink, messageLink, errorText) {
|
|
453
|
+
if (messageLink === "undefined" || directLink === "undefined") {
|
|
523
454
|
return alert(errorText);
|
|
524
455
|
}
|
|
525
456
|
if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
|
|
526
|
-
return SquatchAndroid.shareOnFacebook(directLink,
|
|
457
|
+
return SquatchAndroid.shareOnFacebook(directLink, messageLink);
|
|
527
458
|
}
|
|
528
459
|
else {
|
|
529
|
-
return GenericShare(
|
|
460
|
+
return GenericShare(messageLink, errorText);
|
|
530
461
|
}
|
|
531
462
|
}
|
|
532
|
-
function GenericShare(
|
|
533
|
-
|
|
534
|
-
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)
|
|
535
|
-
: alert(errorText);
|
|
463
|
+
function GenericShare(messageLink, errorText) {
|
|
464
|
+
return messageLink ? window.open(messageLink) : alert(errorText);
|
|
536
465
|
}
|
|
537
466
|
function useShareButton(props) {
|
|
538
467
|
var _a, _b;
|
|
539
468
|
const { sharetitle, sharetext, medium } = props;
|
|
540
|
-
const programId = props.programId ? props.programId : index_module.
|
|
541
|
-
const user = index_module.
|
|
469
|
+
const programId = props.programId ? props.programId : index_module.H();
|
|
470
|
+
const user = index_module.Q();
|
|
471
|
+
const engagementMedium = index_module.B();
|
|
542
472
|
const variables = {
|
|
543
|
-
engagementMedium
|
|
473
|
+
engagementMedium,
|
|
544
474
|
programId: programId,
|
|
545
475
|
shareMedium: medium.toUpperCase(),
|
|
546
476
|
};
|
|
477
|
+
const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
|
|
478
|
+
const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
|
|
547
479
|
// only queries if a programId is available
|
|
548
|
-
const res = index_module.
|
|
549
|
-
const
|
|
480
|
+
const res = index_module.yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
|
|
481
|
+
const [setCopied, copiedRes] = index_module.$e(copyTextView.SET_CODE_COPIED);
|
|
482
|
+
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);
|
|
550
483
|
const environment = index_module.getEnvironmentSDK();
|
|
551
484
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
552
485
|
window.orientation === undefined) ||
|
|
553
486
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
554
|
-
function onClick() {
|
|
487
|
+
async function onClick() {
|
|
488
|
+
var _a, _b, _c, _d;
|
|
489
|
+
if (overrideData) {
|
|
490
|
+
await setCopied({ referralCode: contextData.referralCode });
|
|
491
|
+
contextData.refresh();
|
|
492
|
+
}
|
|
555
493
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
556
494
|
environment.type === "SquatchAndroid") {
|
|
557
|
-
FacebookShare(directLink, res, props.errorText);
|
|
495
|
+
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);
|
|
558
496
|
}
|
|
559
497
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
560
498
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
561
499
|
}
|
|
562
500
|
else {
|
|
563
|
-
GenericShare(res, props.errorText);
|
|
501
|
+
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);
|
|
564
502
|
}
|
|
565
503
|
}
|
|
566
|
-
return {
|
|
504
|
+
return {
|
|
505
|
+
...props,
|
|
506
|
+
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
507
|
+
onClick,
|
|
508
|
+
hide,
|
|
509
|
+
};
|
|
567
510
|
}
|
|
568
511
|
|
|
569
512
|
const debug = stencilHooks_module.browser("sq:useBigStat");
|
|
570
513
|
const LOADING = "...";
|
|
571
514
|
const debugQuery = (query, variables, getStat) => {
|
|
572
|
-
const res = index_module.
|
|
515
|
+
const res = index_module.yn(query, variables);
|
|
573
516
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
574
517
|
console.error("issue getting stat:", res);
|
|
575
518
|
}
|
|
@@ -980,7 +923,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
980
923
|
locale: $locale
|
|
981
924
|
formatType: UNIT_FORMATTED
|
|
982
925
|
)}`;
|
|
983
|
-
const result = index_module.
|
|
926
|
+
const result = index_module.yn(query, {
|
|
984
927
|
value: redeemedTotal,
|
|
985
928
|
unit,
|
|
986
929
|
locale,
|
|
@@ -1039,7 +982,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1039
982
|
locale: $locale
|
|
1040
983
|
formatType: UNIT_FORMATTED
|
|
1041
984
|
)}`;
|
|
1042
|
-
const result = index_module.
|
|
985
|
+
const result = index_module.yn(query, {
|
|
1043
986
|
value: redeemedTotal,
|
|
1044
987
|
unit,
|
|
1045
988
|
locale,
|
|
@@ -1438,11 +1381,11 @@ const StatPaths = [
|
|
|
1438
1381
|
const StatPatterns = StatPaths.map((pattern) => index$1.pathToRegexp(pattern.route));
|
|
1439
1382
|
function useBigStat(props) {
|
|
1440
1383
|
var _a;
|
|
1441
|
-
const { statType, flexReverse, alignment, programId = index_module.
|
|
1384
|
+
const { statType, flexReverse, alignment, programId = index_module.H(), } = props;
|
|
1442
1385
|
// triggers a re-render if the label is manually changed
|
|
1443
1386
|
useChildElements.useChildElements();
|
|
1444
|
-
const locale = index_module.
|
|
1445
|
-
const userIdent = index_module.
|
|
1387
|
+
const locale = index_module.L();
|
|
1388
|
+
const userIdent = index_module.Q();
|
|
1446
1389
|
const re = stencilHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1447
1390
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1448
1391
|
return {
|
|
@@ -1639,7 +1582,7 @@ function PortalChangePasswordView(props) {
|
|
|
1639
1582
|
index.h("style", { type: "text/css" }, styleString))));
|
|
1640
1583
|
}
|
|
1641
1584
|
|
|
1642
|
-
const style$
|
|
1585
|
+
const style$3 = {
|
|
1643
1586
|
Wrapper: mixins.AuthWrapper,
|
|
1644
1587
|
Column: mixins.AuthColumn,
|
|
1645
1588
|
ForgotButtonContainer: {
|
|
@@ -1652,7 +1595,7 @@ const style$4 = {
|
|
|
1652
1595
|
},
|
|
1653
1596
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
1654
1597
|
};
|
|
1655
|
-
const vanillaStyle$
|
|
1598
|
+
const vanillaStyle$1 = `
|
|
1656
1599
|
:host {
|
|
1657
1600
|
display: block;
|
|
1658
1601
|
}
|
|
@@ -1660,28 +1603,28 @@ const vanillaStyle$2 = `
|
|
|
1660
1603
|
display: none;
|
|
1661
1604
|
}
|
|
1662
1605
|
`;
|
|
1663
|
-
const sheet$
|
|
1664
|
-
const styleString$
|
|
1606
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1607
|
+
const styleString$3 = sheet$3.toString();
|
|
1665
1608
|
function PortalLoginView(props) {
|
|
1666
1609
|
const { states, callbacks, content } = props;
|
|
1667
|
-
return (index.h("div", { class: sheet$
|
|
1610
|
+
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1668
1611
|
index.h("style", { type: "text/css" },
|
|
1669
|
-
vanillaStyle$
|
|
1670
|
-
styleString$
|
|
1612
|
+
vanillaStyle$1,
|
|
1613
|
+
styleString$3),
|
|
1671
1614
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1672
|
-
index.h("sl-form", { class: sheet$
|
|
1615
|
+
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1673
1616
|
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1674
1617
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1675
1618
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1676
1619
|
index.h("div", null,
|
|
1677
1620
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1678
|
-
index.h("div", { class: sheet$
|
|
1679
|
-
index.h("div", { class: sheet$
|
|
1621
|
+
index.h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1622
|
+
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1680
1623
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1681
1624
|
content.secondaryButton))));
|
|
1682
1625
|
}
|
|
1683
1626
|
|
|
1684
|
-
const style$
|
|
1627
|
+
const style$4 = {
|
|
1685
1628
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
1686
1629
|
Column: mixins.AuthColumn,
|
|
1687
1630
|
HostBlock: mixins.HostBlock,
|
|
@@ -1692,7 +1635,7 @@ const style$5 = {
|
|
|
1692
1635
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
1693
1636
|
ErrorStyle: mixins.ErrorStyles,
|
|
1694
1637
|
};
|
|
1695
|
-
const vanillaStyle$
|
|
1638
|
+
const vanillaStyle$2 = `
|
|
1696
1639
|
sqm-portal-register {
|
|
1697
1640
|
margin: 0 auto;
|
|
1698
1641
|
width: 100%;
|
|
@@ -1707,20 +1650,20 @@ sqm-portal-register {
|
|
|
1707
1650
|
display: none;
|
|
1708
1651
|
}
|
|
1709
1652
|
`;
|
|
1710
|
-
const sheet$
|
|
1711
|
-
const styleString$
|
|
1653
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
1654
|
+
const styleString$4 = sheet$4.toString();
|
|
1712
1655
|
function PortalRegisterView(props) {
|
|
1713
1656
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1714
1657
|
const { states, refs, callbacks, content } = props;
|
|
1715
1658
|
if (states.error) {
|
|
1716
1659
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1717
1660
|
}
|
|
1718
|
-
return (index.h("div", { class: sheet$
|
|
1661
|
+
return (index.h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
|
|
1719
1662
|
index.h("style", { type: "text/css" },
|
|
1720
|
-
vanillaStyle$
|
|
1721
|
-
styleString$
|
|
1663
|
+
vanillaStyle$2,
|
|
1664
|
+
styleString$4),
|
|
1722
1665
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1723
|
-
index.h("sl-form", { class: sheet$
|
|
1666
|
+
index.h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1724
1667
|
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1725
1668
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1726
1669
|
content.formData,
|
|
@@ -1733,7 +1676,7 @@ function PortalRegisterView(props) {
|
|
|
1733
1676
|
return content.invalidEmailErrorMessage;
|
|
1734
1677
|
}
|
|
1735
1678
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1736
|
-
class: sheet$
|
|
1679
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1737
1680
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1738
1681
|
content.requiredFieldErrorMessage,
|
|
1739
1682
|
}
|
|
@@ -1741,17 +1684,17 @@ function PortalRegisterView(props) {
|
|
|
1741
1684
|
!states.hideInputs && (index.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 })),
|
|
1742
1685
|
content.passwordField,
|
|
1743
1686
|
!states.hideInputs && states.confirmPassword && (index.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) ? {
|
|
1744
|
-
class: sheet$
|
|
1687
|
+
class: sheet$4.classes.ErrorStyle,
|
|
1745
1688
|
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1746
1689
|
}
|
|
1747
1690
|
: [])))),
|
|
1748
1691
|
content.terms,
|
|
1749
|
-
index.h("div", { class: sheet$
|
|
1692
|
+
index.h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1750
1693
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1751
1694
|
content.secondaryButton))));
|
|
1752
1695
|
}
|
|
1753
1696
|
|
|
1754
|
-
const style$
|
|
1697
|
+
const style$5 = {
|
|
1755
1698
|
Description: {
|
|
1756
1699
|
"& input[type=checkbox]": {
|
|
1757
1700
|
display: "none",
|
|
@@ -1790,13 +1733,13 @@ const style$6 = {
|
|
|
1790
1733
|
},
|
|
1791
1734
|
},
|
|
1792
1735
|
};
|
|
1793
|
-
const sheet$
|
|
1794
|
-
const styleString$
|
|
1736
|
+
const sheet$5 = JSS.createStyleSheet(style$5);
|
|
1737
|
+
const styleString$5 = sheet$5.toString();
|
|
1795
1738
|
function Details(props) {
|
|
1796
1739
|
const rid = Math.random().toString(36).slice(2);
|
|
1797
1740
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1798
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1799
|
-
index.h("span", { class: sheet$
|
|
1741
|
+
index.h("style", { type: "text/css" }, styleString$5),
|
|
1742
|
+
index.h("span", { class: sheet$5.classes.Description },
|
|
1800
1743
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1801
1744
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1802
1745
|
index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1818,7 +1761,7 @@ const GreyGift = () => {
|
|
|
1818
1761
|
index.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" })));
|
|
1819
1762
|
};
|
|
1820
1763
|
|
|
1821
|
-
const style$
|
|
1764
|
+
const style$6 = {
|
|
1822
1765
|
ProgressBar: {
|
|
1823
1766
|
"& .progress-bar": {
|
|
1824
1767
|
height: "0",
|
|
@@ -1930,14 +1873,14 @@ const style$7 = {
|
|
|
1930
1873
|
},
|
|
1931
1874
|
},
|
|
1932
1875
|
};
|
|
1933
|
-
const sheet$
|
|
1934
|
-
const styleString$
|
|
1876
|
+
const sheet$6 = JSS.createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
|
|
1877
|
+
const styleString$6 = sheet$6.toString();
|
|
1935
1878
|
function ProgressBarView(props) {
|
|
1936
1879
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1937
1880
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1938
1881
|
const { columns, items } = aggregate;
|
|
1939
|
-
return (index.h("div", { class: sheet$
|
|
1940
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1882
|
+
return (index.h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1883
|
+
index.h("style", { type: "text/css" }, styleString$6),
|
|
1941
1884
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1942
1885
|
(Boolean(finite) && progress > 2 * goal)
|
|
1943
1886
|
? "progress-bar repeatable-steps"
|
|
@@ -2228,7 +2171,7 @@ const arrow_left_right = () => {
|
|
|
2228
2171
|
index.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" })));
|
|
2229
2172
|
};
|
|
2230
2173
|
|
|
2231
|
-
const style$
|
|
2174
|
+
const style$7 = {
|
|
2232
2175
|
TaskCard: {
|
|
2233
2176
|
display: "inline-block",
|
|
2234
2177
|
width: "100%",
|
|
@@ -2382,8 +2325,8 @@ const style$8 = {
|
|
|
2382
2325
|
},
|
|
2383
2326
|
},
|
|
2384
2327
|
};
|
|
2385
|
-
const sheet$
|
|
2386
|
-
const styleString$
|
|
2328
|
+
const sheet$7 = JSS.createStyleSheet(style$7);
|
|
2329
|
+
const styleString$7 = sheet$7.toString();
|
|
2387
2330
|
function TaskCardView(props) {
|
|
2388
2331
|
var _a, _b;
|
|
2389
2332
|
const { callbacks, states, content } = props;
|
|
@@ -2419,11 +2362,11 @@ function TaskCardView(props) {
|
|
|
2419
2362
|
}
|
|
2420
2363
|
|
|
2421
2364
|
`;
|
|
2422
|
-
return (index.h("div", { class: sheet$
|
|
2365
|
+
return (index.h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
|
|
2423
2366
|
index.h("style", { type: "text/css" },
|
|
2424
|
-
styleString$
|
|
2367
|
+
styleString$7,
|
|
2425
2368
|
vanillaStyle),
|
|
2426
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet$
|
|
2369
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$7.classes.NotStarted },
|
|
2427
2370
|
index.h("span", { class: "icon" },
|
|
2428
2371
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
2429
2372
|
global.intl.formatMessage({
|
|
@@ -2434,7 +2377,7 @@ function TaskCardView(props) {
|
|
|
2434
2377
|
.setLocale(utils.luxonLocale(states.locale))
|
|
2435
2378
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
2436
2379
|
}))),
|
|
2437
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet$
|
|
2380
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$7.classes.Ended },
|
|
2438
2381
|
index.h("span", { class: "icon" },
|
|
2439
2382
|
index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2440
2383
|
global.intl.formatMessage({
|
|
@@ -2454,7 +2397,7 @@ function TaskCardView(props) {
|
|
|
2454
2397
|
? "main complete"
|
|
2455
2398
|
: "main" },
|
|
2456
2399
|
index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2457
|
-
index.h("div", { class: sheet$
|
|
2400
|
+
index.h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
2458
2401
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2459
2402
|
index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2460
2403
|
index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2470,7 +2413,7 @@ function TaskCardView(props) {
|
|
|
2470
2413
|
} }, content.cardTitle)),
|
|
2471
2414
|
states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2472
2415
|
content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2473
|
-
index.h("div", { class: sheet$
|
|
2416
|
+
index.h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2474
2417
|
index.h("span", { class: "text" },
|
|
2475
2418
|
content.repeatable && (index.h("div", null,
|
|
2476
2419
|
index.h("span", { class: repetitions > 0
|
|
@@ -2541,7 +2484,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2541
2484
|
index.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 })));
|
|
2542
2485
|
}
|
|
2543
2486
|
|
|
2544
|
-
const vanillaStyle$
|
|
2487
|
+
const vanillaStyle$3 = `
|
|
2545
2488
|
:host{
|
|
2546
2489
|
margin: 0 auto;
|
|
2547
2490
|
width: 100%;
|
|
@@ -2597,7 +2540,7 @@ function PortalFooterView(props) {
|
|
|
2597
2540
|
const styleString = sheet.toString();
|
|
2598
2541
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2599
2542
|
index.h("style", { type: "text/css" },
|
|
2600
|
-
vanillaStyle$
|
|
2543
|
+
vanillaStyle$3,
|
|
2601
2544
|
styleString),
|
|
2602
2545
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2603
2546
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2769,7 +2712,7 @@ function ReferralIframeView(props) {
|
|
|
2769
2712
|
index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2770
2713
|
}
|
|
2771
2714
|
|
|
2772
|
-
const style$
|
|
2715
|
+
const style$8 = {
|
|
2773
2716
|
ErrorStyle: mixins.ErrorStyles,
|
|
2774
2717
|
FieldsContainer: {
|
|
2775
2718
|
"& sl-input": {
|
|
@@ -2777,7 +2720,7 @@ const style$9 = {
|
|
|
2777
2720
|
},
|
|
2778
2721
|
},
|
|
2779
2722
|
};
|
|
2780
|
-
const vanillaStyle$
|
|
2723
|
+
const vanillaStyle$4 = `
|
|
2781
2724
|
:host {
|
|
2782
2725
|
margin: 0 auto;
|
|
2783
2726
|
width: 100%;
|
|
@@ -2789,21 +2732,21 @@ sl-input::part(label){
|
|
|
2789
2732
|
font-weight: var(--sl-font-weight-semibold);
|
|
2790
2733
|
}
|
|
2791
2734
|
`;
|
|
2792
|
-
const sheet$
|
|
2793
|
-
const styleString$
|
|
2735
|
+
const sheet$8 = JSS.createStyleSheet(style$8);
|
|
2736
|
+
const styleString$8 = sheet$8.toString();
|
|
2794
2737
|
function NameFieldsView(props) {
|
|
2795
2738
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2796
2739
|
const { states } = props;
|
|
2797
2740
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2798
|
-
return (index.h("div", { class: sheet$
|
|
2741
|
+
return (index.h("div", { class: sheet$8.classes.FieldsContainer },
|
|
2799
2742
|
index.h("style", { type: "text/css" },
|
|
2800
|
-
vanillaStyle$
|
|
2801
|
-
styleString$
|
|
2743
|
+
vanillaStyle$4,
|
|
2744
|
+
styleString$8),
|
|
2802
2745
|
index.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) ? {
|
|
2803
2746
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2804
2747
|
}
|
|
2805
2748
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2806
|
-
class: sheet$
|
|
2749
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2807
2750
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2808
2751
|
}
|
|
2809
2752
|
: []))),
|
|
@@ -2811,13 +2754,13 @@ function NameFieldsView(props) {
|
|
|
2811
2754
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2812
2755
|
}
|
|
2813
2756
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2814
|
-
class: sheet$
|
|
2757
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2815
2758
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2816
2759
|
}
|
|
2817
2760
|
: [])))));
|
|
2818
2761
|
}
|
|
2819
2762
|
|
|
2820
|
-
const style$
|
|
2763
|
+
const style$9 = {
|
|
2821
2764
|
ErrorStyle: {
|
|
2822
2765
|
"&::part(control)": {
|
|
2823
2766
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2840,7 +2783,7 @@ const style$a = {
|
|
|
2840
2783
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2841
2784
|
},
|
|
2842
2785
|
};
|
|
2843
|
-
const vanillaStyle$
|
|
2786
|
+
const vanillaStyle$5 = `
|
|
2844
2787
|
:host {
|
|
2845
2788
|
margin: 0 auto;
|
|
2846
2789
|
width: 100%;
|
|
@@ -2856,22 +2799,22 @@ sl-checkbox::part(base){
|
|
|
2856
2799
|
}
|
|
2857
2800
|
`;
|
|
2858
2801
|
JSS.jss.setup(JSS.create());
|
|
2859
|
-
const sheet$
|
|
2860
|
-
const styleString$
|
|
2802
|
+
const sheet$9 = JSS.jss.createStyleSheet(style$9);
|
|
2803
|
+
const styleString$9 = sheet$9.toString();
|
|
2861
2804
|
function CheckboxFieldView(props) {
|
|
2862
2805
|
var _a, _b, _c;
|
|
2863
2806
|
const { states, content, callbacks } = props;
|
|
2864
2807
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2865
|
-
return (index.h("div", { class: sheet$
|
|
2808
|
+
return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2866
2809
|
index.h("style", { type: "text/css" },
|
|
2867
|
-
vanillaStyle$
|
|
2868
|
-
styleString$
|
|
2810
|
+
vanillaStyle$5,
|
|
2811
|
+
styleString$9),
|
|
2869
2812
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2870
2813
|
e.target.value = e.target.checked;
|
|
2871
2814
|
callbacks.setChecked(e.target.value);
|
|
2872
2815
|
} }, (!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])
|
|
2873
2816
|
? {
|
|
2874
|
-
class: sheet$
|
|
2817
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2875
2818
|
}
|
|
2876
2819
|
: [])),
|
|
2877
2820
|
global.intl.formatMessage({
|
|
@@ -2880,13 +2823,13 @@ function CheckboxFieldView(props) {
|
|
|
2880
2823
|
}, {
|
|
2881
2824
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2882
2825
|
}),
|
|
2883
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2826
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2884
2827
|
id: `errorMessage-${content.checkboxName}`,
|
|
2885
2828
|
defaultMessage: content.errorMessage,
|
|
2886
2829
|
}))))));
|
|
2887
2830
|
}
|
|
2888
2831
|
|
|
2889
|
-
const style$
|
|
2832
|
+
const style$a = {
|
|
2890
2833
|
ErrorStyle: {
|
|
2891
2834
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2892
2835
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2902,7 +2845,7 @@ const style$b = {
|
|
|
2902
2845
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2903
2846
|
},
|
|
2904
2847
|
};
|
|
2905
|
-
const vanillaStyle$
|
|
2848
|
+
const vanillaStyle$6 = `
|
|
2906
2849
|
:host {
|
|
2907
2850
|
margin: 0 auto;
|
|
2908
2851
|
width: 100%;
|
|
@@ -2914,36 +2857,36 @@ sl-select::part(label){
|
|
|
2914
2857
|
}
|
|
2915
2858
|
`;
|
|
2916
2859
|
JSS.jss.setup(JSS.create());
|
|
2917
|
-
const sheet$
|
|
2918
|
-
const styleString$
|
|
2860
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2861
|
+
const styleString$a = sheet$a.toString();
|
|
2919
2862
|
function DropdownFieldView(props) {
|
|
2920
2863
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2921
2864
|
const { states, content } = props;
|
|
2922
2865
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2923
|
-
return (index.h("div", { class: sheet$
|
|
2866
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2924
2867
|
index.h("style", { type: "text/css" },
|
|
2925
|
-
vanillaStyle$
|
|
2926
|
-
styleString$
|
|
2868
|
+
vanillaStyle$6,
|
|
2869
|
+
styleString$a),
|
|
2927
2870
|
index.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]) ? {
|
|
2928
2871
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2929
2872
|
}
|
|
2930
2873
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2931
|
-
class: sheet$
|
|
2874
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2932
2875
|
}
|
|
2933
2876
|
: [])), content.selectOptions),
|
|
2934
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2877
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2935
2878
|
id: `errorMessage-${content.dropdownName}`,
|
|
2936
2879
|
defaultMessage: content.errorMessage,
|
|
2937
2880
|
})))));
|
|
2938
2881
|
}
|
|
2939
2882
|
|
|
2940
|
-
const style$
|
|
2883
|
+
const style$b = {
|
|
2941
2884
|
ErrorStyle: mixins.ErrorStyles,
|
|
2942
2885
|
FieldContainer: {
|
|
2943
2886
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2944
2887
|
},
|
|
2945
2888
|
};
|
|
2946
|
-
const vanillaStyle$
|
|
2889
|
+
const vanillaStyle$7 = `
|
|
2947
2890
|
:host {
|
|
2948
2891
|
margin: 0 auto;
|
|
2949
2892
|
width: 100%;
|
|
@@ -2951,21 +2894,21 @@ const vanillaStyle$8 = `
|
|
|
2951
2894
|
}
|
|
2952
2895
|
`;
|
|
2953
2896
|
JSS.jss.setup(JSS.create());
|
|
2954
|
-
const sheet$
|
|
2955
|
-
const styleString$
|
|
2897
|
+
const sheet$b = JSS.jss.createStyleSheet(style$b);
|
|
2898
|
+
const styleString$b = sheet$b.toString();
|
|
2956
2899
|
function InputFieldView(props) {
|
|
2957
2900
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2958
2901
|
const { states, content } = props;
|
|
2959
2902
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2960
|
-
return (index.h("div", { class: sheet$
|
|
2903
|
+
return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2961
2904
|
index.h("style", { type: "text/css" },
|
|
2962
|
-
vanillaStyle$
|
|
2963
|
-
styleString$
|
|
2905
|
+
vanillaStyle$7,
|
|
2906
|
+
styleString$b),
|
|
2964
2907
|
index.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]) ? {
|
|
2965
2908
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2966
2909
|
}
|
|
2967
2910
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2968
|
-
class: sheet$
|
|
2911
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2969
2912
|
helpText: global.intl.formatMessage({
|
|
2970
2913
|
id: `errorMessage-${content.fieldName}`,
|
|
2971
2914
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3060,7 +3003,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3060
3003
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3061
3004
|
}
|
|
3062
3005
|
|
|
3063
|
-
const style$
|
|
3006
|
+
const style$c = {
|
|
3064
3007
|
HostBlock: mixins.HostBlock,
|
|
3065
3008
|
Container: {
|
|
3066
3009
|
minWidth: "300px",
|
|
@@ -3411,8 +3354,8 @@ const style$d = {
|
|
|
3411
3354
|
},
|
|
3412
3355
|
};
|
|
3413
3356
|
// JSS config
|
|
3414
|
-
const sheet$
|
|
3415
|
-
const styleString$
|
|
3357
|
+
const sheet$c = JSS.createStyleSheet(style$c);
|
|
3358
|
+
const styleString$c = sheet$c.toString();
|
|
3416
3359
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3417
3360
|
function RewardExchangeView(props) {
|
|
3418
3361
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3435,7 +3378,7 @@ function RewardExchangeView(props) {
|
|
|
3435
3378
|
sourceUnit: item.sourceUnit,
|
|
3436
3379
|
})));
|
|
3437
3380
|
}
|
|
3438
|
-
return (index.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$
|
|
3381
|
+
return (index.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) => {
|
|
3439
3382
|
var _a, _b, _c, _d, _e;
|
|
3440
3383
|
return callbacks.setExchangeState({
|
|
3441
3384
|
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,
|
|
@@ -3443,7 +3386,7 @@ function RewardExchangeView(props) {
|
|
|
3443
3386
|
});
|
|
3444
3387
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3445
3388
|
var _a, _b;
|
|
3446
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3389
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3447
3390
|
step.prettyDestinationValue,
|
|
3448
3391
|
index.h("br", null),
|
|
3449
3392
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3462,8 +3405,8 @@ function RewardExchangeView(props) {
|
|
|
3462
3405
|
var _a;
|
|
3463
3406
|
return [
|
|
3464
3407
|
index.h("div", { part: "choose-reward-container" },
|
|
3465
|
-
index.h("div", { class: sheet$
|
|
3466
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3408
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3409
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3467
3410
|
var _a, _b, _c, _d, _e;
|
|
3468
3411
|
const style = {
|
|
3469
3412
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3472,7 +3415,7 @@ function RewardExchangeView(props) {
|
|
|
3472
3415
|
borderRadius: "4px",
|
|
3473
3416
|
};
|
|
3474
3417
|
return (index.h("div", { key: item.key, style: style },
|
|
3475
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3418
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3476
3419
|
cursor: item.unavailableReasonCode
|
|
3477
3420
|
? "not-allowed"
|
|
3478
3421
|
: "pointer",
|
|
@@ -3489,14 +3432,14 @@ function RewardExchangeView(props) {
|
|
|
3489
3432
|
? "rgba(0, 0, 0, 0.05)"
|
|
3490
3433
|
: "rgba(0, 0, 0, 0)",
|
|
3491
3434
|
} },
|
|
3492
|
-
index.h("div", { class: sheet$
|
|
3435
|
+
index.h("div", { class: sheet$c.classes.Image, style: {
|
|
3493
3436
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3494
3437
|
} },
|
|
3495
3438
|
index.h("img", { class: item.unavailableReasonCode
|
|
3496
3439
|
? "image subdued"
|
|
3497
3440
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3498
3441
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3499
|
-
index.h("div", { class: sheet$
|
|
3442
|
+
index.h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3500
3443
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3501
3444
|
} },
|
|
3502
3445
|
index.h("div", { class: "title", style: {
|
|
@@ -3529,7 +3472,7 @@ function RewardExchangeView(props) {
|
|
|
3529
3472
|
item.prettySourceMinValue,
|
|
3530
3473
|
}))))))));
|
|
3531
3474
|
}))),
|
|
3532
|
-
index.h("div", { class: sheet$
|
|
3475
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3533
3476
|
index.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))),
|
|
3534
3477
|
];
|
|
3535
3478
|
}
|
|
@@ -3540,7 +3483,7 @@ function RewardExchangeView(props) {
|
|
|
3540
3483
|
? false
|
|
3541
3484
|
: input && !states.amount;
|
|
3542
3485
|
return (index.h("div", null,
|
|
3543
|
-
index.h("div", { class: sheet$
|
|
3486
|
+
index.h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3544
3487
|
index.h("div", { class: "wrapper" },
|
|
3545
3488
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3546
3489
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3549,7 +3492,7 @@ function RewardExchangeView(props) {
|
|
|
3549
3492
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3550
3493
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3551
3494
|
index.h("div", { class: "space" }))),
|
|
3552
|
-
index.h("div", { class: sheet$
|
|
3495
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3553
3496
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3554
3497
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3555
3498
|
}
|
|
@@ -3557,8 +3500,8 @@ function RewardExchangeView(props) {
|
|
|
3557
3500
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3558
3501
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3559
3502
|
return (index.h("div", null,
|
|
3560
|
-
index.h("div", { class: sheet$
|
|
3561
|
-
index.h("div", { class: sheet$
|
|
3503
|
+
index.h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3504
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3562
3505
|
index.h("div", { class: "wrapper" },
|
|
3563
3506
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3564
3507
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3573,13 +3516,13 @@ function RewardExchangeView(props) {
|
|
|
3573
3516
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3574
3517
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3575
3518
|
index.h("div", { class: "value" }, cost)),
|
|
3576
|
-
index.h("div", { class: sheet$
|
|
3519
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3577
3520
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3578
3521
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3579
3522
|
}
|
|
3580
3523
|
function success() {
|
|
3581
3524
|
var _a, _b, _c, _d, _e, _f;
|
|
3582
|
-
return (index.h("div", { class: sheet$
|
|
3525
|
+
return (index.h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3583
3526
|
index.h(Gift$1, null),
|
|
3584
3527
|
index.h(Confetti, null),
|
|
3585
3528
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3593,8 +3536,8 @@ function RewardExchangeView(props) {
|
|
|
3593
3536
|
})),
|
|
3594
3537
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3595
3538
|
states.content.text.promoCode,
|
|
3596
|
-
index.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 }))),
|
|
3597
|
-
index.h("div", { class: sheet$
|
|
3539
|
+
index.h(copyTextView.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 }))),
|
|
3540
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3598
3541
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3599
3542
|
}
|
|
3600
3543
|
const stages = {
|
|
@@ -3606,7 +3549,7 @@ function RewardExchangeView(props) {
|
|
|
3606
3549
|
const currentStage = stages[states.redeemStage];
|
|
3607
3550
|
function stageMap() {
|
|
3608
3551
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3609
|
-
return (index.h("div", { class: sheet$
|
|
3552
|
+
return (index.h("div", { class: sheet$c.classes.ProgressBar },
|
|
3610
3553
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3611
3554
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3612
3555
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3618,10 +3561,10 @@ function RewardExchangeView(props) {
|
|
|
3618
3561
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3619
3562
|
}
|
|
3620
3563
|
function loading() {
|
|
3621
|
-
return (index.h("div", { class: sheet$
|
|
3564
|
+
return (index.h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3622
3565
|
return (index.h("div", null,
|
|
3623
|
-
index.h("sl-card", { class: sheet$
|
|
3624
|
-
index.h("div", { class: sheet$
|
|
3566
|
+
index.h("sl-card", { class: sheet$c.classes.Card },
|
|
3567
|
+
index.h("div", { class: sheet$c.classes.CardLayout },
|
|
3625
3568
|
index.h("div", null,
|
|
3626
3569
|
index.h("sl-skeleton", { style: {
|
|
3627
3570
|
width: "100px",
|
|
@@ -3653,12 +3596,12 @@ function RewardExchangeView(props) {
|
|
|
3653
3596
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3654
3597
|
return;
|
|
3655
3598
|
refs.canvasRef.current = canvas;
|
|
3656
|
-
}, id: "my-canvas", class: sheet$
|
|
3599
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3657
3600
|
}
|
|
3658
3601
|
if (states.noExchangeOptions)
|
|
3659
3602
|
return states.content.text.empty;
|
|
3660
|
-
return (index.h("div", { class: sheet$
|
|
3661
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3603
|
+
return (index.h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3604
|
+
index.h("style", { type: "text/css" }, styleString$c),
|
|
3662
3605
|
index.h("div", null,
|
|
3663
3606
|
stageMap(),
|
|
3664
3607
|
states.exchangeError && errorMessage(),
|
|
@@ -4074,7 +4017,7 @@ function CardFeedView(props, children) {
|
|
|
4074
4017
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4075
4018
|
}
|
|
4076
4019
|
|
|
4077
|
-
const style$
|
|
4020
|
+
const style$d = {
|
|
4078
4021
|
HostBlock: mixins.HostBlock,
|
|
4079
4022
|
couponCodeLabel: {
|
|
4080
4023
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4082,23 +4025,23 @@ const style$e = {
|
|
|
4082
4025
|
fontSize: "var(--sl-font-size-small)",
|
|
4083
4026
|
},
|
|
4084
4027
|
};
|
|
4085
|
-
const vanillaStyle$
|
|
4028
|
+
const vanillaStyle$8 = `
|
|
4086
4029
|
:host{
|
|
4087
4030
|
display: block;
|
|
4088
4031
|
width: 100%;
|
|
4089
4032
|
}
|
|
4090
4033
|
`;
|
|
4091
|
-
const sheet$
|
|
4092
|
-
const styleString$
|
|
4034
|
+
const sheet$d = JSS.createStyleSheet(style$d);
|
|
4035
|
+
const styleString$d = sheet$d.toString();
|
|
4093
4036
|
function CouponCodeView(props) {
|
|
4094
4037
|
const error = !props.loading && props.error;
|
|
4095
4038
|
return (index.h("div", null,
|
|
4096
4039
|
index.h("style", { type: "text/css" },
|
|
4097
|
-
styleString$
|
|
4098
|
-
vanillaStyle$
|
|
4099
|
-
index.h("p", { class: sheet$
|
|
4040
|
+
styleString$d,
|
|
4041
|
+
vanillaStyle$8),
|
|
4042
|
+
index.h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4100
4043
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4101
|
-
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(CopyTextView, Object.assign({}, props)))));
|
|
4044
|
+
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
|
|
4102
4045
|
}
|
|
4103
4046
|
|
|
4104
4047
|
function t(t,n,r){return Math.min(Math.max(t,r),n)}class n extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}}function r(r){if("string"!=typeof r)throw new n(r);if("transparent"===r.trim().toLowerCase())return [0,0,0,0];let e=r.trim();e=u.test(r)?function(t){const r=t.toLowerCase().trim(),e=o[function(t){let n=5381,r=t.length;for(;r;)n=33*n^t.charCodeAt(--r);return (n>>>0)%2341}(r)];if(!e)throw new n(t);return `#${e}`}(r):r;const f=s.exec(e);if(f){const t=Array.from(f).slice(1);return [...t.slice(0,3).map(t=>parseInt(_(t,2),16)),parseInt(_(t[3]||"f",2),16)/255]}const p=i.exec(e);if(p){const t=Array.from(p).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const z=a.exec(e);if(z){const t=Array.from(z).slice(1);return [...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const h=c.exec(e);if(h){const[e,o,_,s]=Array.from(h).slice(1).map(parseFloat);if(t(0,100,o)!==o)throw new n(r);if(t(0,100,_)!==_)throw new n(r);return [...l(e,o,_),s||1]}throw new n(r)}const e=t=>parseInt(t.replace(/_/g,""),36),o="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,n)=>{const r=e(n.substring(0,3)),o=e(n.substring(3)).toString(16);let _="";for(let t=0;t<6-o.length;t++)_+="0";return t[r]=`${_}${o}`,t},{}),_=(t,n)=>Array.from(Array(n)).map(()=>t).join(""),s=new RegExp(`^#${_("([a-f0-9])",3)}([a-f0-9])?$`,"i"),i=new RegExp(`^#${_("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),a=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${_(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),c=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,u=/^[a-z]+$/i,f=t=>Math.round(255*t),l=(t,n,r)=>{let e=r/100;if(0===n)return [e,e,e].map(f);const o=(t%360+360)%360/60,_=(1-Math.abs(2*e-1))*(n/100),s=_*(1-Math.abs(o%2-1));let i=0,a=0,c=0;o>=0&&o<1?(i=_,a=s):o>=1&&o<2?(i=s,a=_):o>=2&&o<3?(a=_,c=s):o>=3&&o<4?(a=s,c=_):o>=4&&o<5?(i=s,c=_):o>=5&&o<6&&(i=_,c=s);const u=e-_/2;return [i+u,a+u,c+u].map(f)};function p(t){const[n,e,o,_]=r(t).map((t,n)=>3===n?t:t/255),s=Math.max(n,e,o),i=Math.min(n,e,o),a=(s+i)/2;if(s===i)return [0,0,a,_];const c=s-i;return [60*(n===s?(e-o)/c+(e<o?6:0):e===s?(o-n)/c+2:(n-e)/c+4),a>.5?c/(2-s-i):c/(s+i),a,_]}function z(n,r,e,o){return `hsla(${(n%360).toFixed()}, ${t(0,100,100*r).toFixed()}%, ${t(0,100,100*e).toFixed()}%, ${parseFloat(t(0,1,o).toFixed(3))})`}
|
|
@@ -4189,7 +4132,6 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4189
4132
|
exports.BigStatView = BigStatView;
|
|
4190
4133
|
exports.CardFeedView = CardFeedView;
|
|
4191
4134
|
exports.CheckboxFieldView = CheckboxFieldView;
|
|
4192
|
-
exports.CopyTextView = CopyTextView;
|
|
4193
4135
|
exports.CouponCodeView = CouponCodeView;
|
|
4194
4136
|
exports.DropdownFieldView = DropdownFieldView;
|
|
4195
4137
|
exports.EditProfileView = EditProfileView;
|