@saasquatch/mint-components 1.13.0-9 → 1.13.1-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/{ShadowViewAddon-44cb1a98.js → ShadowViewAddon-bd00066a.js} +121 -163
- package/dist/cjs/{copy-text-view-9b950efe.js → copy-text-view-a5524c20.js} +1 -1
- package/dist/cjs/extractProps-fd93ba62.js +21 -0
- package/dist/cjs/{global-19fc8a7a.js → global-e31dc4f5.js} +1 -1
- package/dist/cjs/{index.module-57703088.js → index.module-ee84433d.js} +4 -0
- package/dist/cjs/keys-cff24974.js +11 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-35b016ed.js → re-render-b324deab.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1012 -239
- package/dist/cjs/{sqm-base-registration-form-view-d5685747.js → sqm-base-registration-form-view-8a2c8763.js} +1 -1
- package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +402 -191
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +291 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +38 -35
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-9dfa2a16.js → sqm-invoice-table-view-baded4af.js} +172 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba5f7e.js → sqm-navigation-sidebar-item-view-6f35d2ee.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-98d84549.js → sqm-portal-email-verification-view-7ebb426a.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-login-view-761a4d8e.js +58 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-bae28ea0.js → sqm-portal-profile-view-33164798.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-registration-form-view-e947a5b3.js → sqm-portal-registration-form-view-ebf355a6.js} +13 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +279 -74
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.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 +203 -0
- package/dist/cjs/{useChildElements-854cd1e5.js → useChildElements-1b35d945.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-daff8290.js → useInstantAccessRegistration-9a46c324.js} +2 -2
- package/dist/cjs/usePayoutStatus-4b5894ef.js +1045 -0
- package/dist/cjs/usePortalLogin-63d896d1.js +74 -0
- package/dist/cjs/{usePortalRegistrationForm-a89d736e.js → usePortalRegistrationForm-f25d89e7.js} +2 -2
- package/dist/cjs/{useReferralTable-283d2316.js → useReferralTable-7c3f9600.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-986b5ea1.js → useRegistrationFormState-7b820f0c.js} +1 -1
- package/dist/cjs/useVerificationEmail-95a82767.js +173 -0
- package/dist/cjs/{utilities-c135f16f.js → utilities-78f5e169.js} +1 -1
- package/dist/collection/collection-manifest.json +8 -1
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +24 -10
- package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +34 -27
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +15 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +24 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +122 -0
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +37 -0
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +428 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -3
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -13
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +2 -30
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +9 -4
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +13 -12
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -3
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +13 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +11 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +36 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +128 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +301 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +153 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +58 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +95 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +251 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +126 -0
- 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 +536 -0
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +20 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +165 -1
- 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 +128 -11
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +109 -39
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +15 -2
- 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 +18 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +176 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +527 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +76 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +7 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +415 -24
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +138 -9
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +283 -17
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +17 -2
- 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 +16 -11
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/esm/{ShadowViewAddon-eba44767.js → ShadowViewAddon-444b1f38.js} +122 -163
- package/dist/esm/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
- package/dist/esm/extractProps-ae1afbb3.js +19 -0
- package/dist/esm/{global-bedc4329.js → global-be1f9992.js} +1 -1
- package/dist/esm/{index.module-a2989d3c.js → index.module-89a79f66.js} +5 -1
- package/dist/esm/keys-406491dc.js +6 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-268bb9c8.js → re-render-cc945f38.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +1012 -240
- package/dist/esm/{sqm-base-registration-form-view-98c4db70.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
- package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +400 -190
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +287 -0
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-google-sign-in.entry.js +39 -36
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-8e2bb54a.js → sqm-invoice-table-view-af69cd33.js} +172 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-google-login.entry.js +126 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-login-view-7e49609a.js +56 -0
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/{sqm-portal-registration-form-view-90e2bfd5.js → sqm-portal-registration-form-view-32c4b488.js} +13 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-scroll.entry.js +105 -0
- package/dist/esm/sqm-stencilbook.entry.js +277 -72
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +199 -0
- package/dist/esm/stencil-hooks.module-4bc38af4.js +1 -1
- package/dist/esm/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +2 -2
- package/dist/esm/usePayoutStatus-58aa56b4.js +1039 -0
- package/dist/esm/usePortalLogin-ef647a50.js +72 -0
- package/dist/esm/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +2 -2
- package/dist/esm/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +3 -3
- package/dist/esm/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
- package/dist/esm/useVerificationEmail-edc318cb.js +171 -0
- package/dist/esm/{utilities-863d06d1.js → utilities-5b0ca040.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-444b1f38.js +1 -0
- package/dist/esm-es5/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
- package/dist/esm-es5/{global-bedc4329.js → global-be1f9992.js} +1 -1
- package/dist/esm-es5/index.module-89a79f66.js +1 -0
- package/dist/esm-es5/keys-406491dc.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-268bb9c8.js → re-render-cc945f38.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-base-registration-form-view-593d4ac3.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
- 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 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -0
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-32c4b488.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.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-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -0
- 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-widget-verification-controller.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +1 -1
- package/dist/esm-es5/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-58aa56b4.js +6 -0
- package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
- package/dist/esm-es5/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +1 -1
- package/dist/esm-es5/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
- package/dist/esm-es5/{utilities-863d06d1.js → utilities-5b0ca040.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-2126e1e6.entry.js → p-04a6e457.entry.js} +1 -1
- package/dist/mint-components/{p-3e1b7fb4.entry.js → p-079405ff.entry.js} +1 -1
- package/dist/mint-components/{p-35698aaa.system.js → p-0d182dc1.system.js} +1 -1
- package/dist/mint-components/p-0ebab63e.system.js +1 -0
- package/dist/mint-components/{p-ca04737a.entry.js → p-10d17989.entry.js} +1 -1
- package/dist/mint-components/{p-95c64cfd.system.js → p-13ed8586.system.js} +1 -1
- package/dist/mint-components/{p-3972037c.system.entry.js → p-141bf5c1.system.entry.js} +1 -1
- package/dist/mint-components/{p-80fc549b.entry.js → p-1513309d.entry.js} +1 -1
- package/dist/mint-components/{p-79ea1597.system.entry.js → p-164a9103.system.entry.js} +1 -1
- package/dist/mint-components/p-17cc7c9b.js +394 -0
- package/dist/mint-components/p-18425f38.system.entry.js +1 -0
- package/dist/mint-components/p-19ccb4ce.js +1 -0
- package/dist/mint-components/{p-0aa62b64.entry.js → p-1a6b7d2a.entry.js} +1 -1
- package/dist/mint-components/{p-de9afac2.system.entry.js → p-1fa9ed0d.system.entry.js} +1 -1
- package/dist/mint-components/p-21620f81.system.entry.js +1 -0
- package/dist/mint-components/p-22111c97.entry.js +9 -0
- package/dist/mint-components/p-26468242.js +1 -0
- package/dist/mint-components/{p-53aaa0a4.entry.js → p-275b4767.entry.js} +1 -1
- package/dist/mint-components/{p-618e1342.entry.js → p-284e4ed5.entry.js} +1 -1
- package/dist/mint-components/{p-e544bb9a.entry.js → p-2ae0e06a.entry.js} +1 -1
- package/dist/mint-components/p-2d52e2d7.system.js +1 -0
- package/dist/mint-components/{p-4ae54b04.entry.js → p-2da21ba4.entry.js} +1 -1
- package/dist/mint-components/{p-45436d5a.entry.js → p-2f101bae.entry.js} +1 -1
- package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
- package/dist/mint-components/p-33c96e14.entry.js +16 -0
- package/dist/mint-components/{p-731aa5c6.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -0
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/{p-4448febd.entry.js → p-38fc919b.entry.js} +1 -1
- package/dist/mint-components/{p-40e99b24.js → p-3db34d68.js} +1 -1
- package/dist/mint-components/{p-ebdcea27.system.entry.js → p-420554af.system.entry.js} +1 -1
- package/dist/mint-components/{p-571c451e.entry.js → p-4428294b.entry.js} +1 -1
- package/dist/mint-components/{p-a21d1a30.system.entry.js → p-4469fea6.system.entry.js} +1 -1
- package/dist/mint-components/p-44891949.entry.js +1 -0
- package/dist/mint-components/p-4794641c.system.js +1 -0
- package/dist/mint-components/p-480e08e9.js +31 -0
- package/dist/mint-components/p-48135f99.system.js +2 -2
- package/dist/mint-components/p-4acd5340.system.js +1 -0
- package/dist/mint-components/{p-492fdaf9.js → p-4e451f75.js} +1 -1
- package/dist/mint-components/p-4e526a94.js +1 -0
- package/dist/mint-components/{p-92a25556.system.entry.js → p-50c902ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bcb04aa.system.entry.js → p-51d3cde7.system.entry.js} +1 -1
- package/dist/mint-components/p-527216de.system.js +1 -0
- package/dist/mint-components/{p-2dc5e60a.entry.js → p-54440d8d.entry.js} +1 -1
- package/dist/mint-components/p-5488fdd9.system.js +1 -0
- package/dist/mint-components/{p-8da47802.system.entry.js → p-54adee71.system.entry.js} +1 -1
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-a8524459.system.js → p-59274a91.system.js} +1 -1
- package/dist/mint-components/{p-7989a098.system.entry.js → p-5c28406d.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a0c3ed9.system.entry.js → p-5d7e308c.system.entry.js} +1 -1
- package/dist/mint-components/{p-09c5e3ee.system.js → p-635d5ef2.system.js} +1 -1
- package/dist/mint-components/{p-6de85677.js → p-63a75798.js} +1 -1
- package/dist/mint-components/p-6427e963.entry.js +1 -0
- package/dist/mint-components/{p-506679e9.js → p-65069b66.js} +1 -1
- package/dist/mint-components/{p-9e49479a.entry.js → p-653f963f.entry.js} +2 -2
- package/dist/mint-components/{p-b9d17fa1.entry.js → p-693942df.entry.js} +1 -1
- package/dist/mint-components/p-6b7a595f.system.js +1 -0
- package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
- package/dist/mint-components/{p-550ef977.js → p-6d2f5a1d.js} +2 -2
- package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
- package/dist/mint-components/{p-7166caa6.system.js → p-717cc8ac.system.js} +1 -1
- package/dist/mint-components/{p-7bcf4467.system.entry.js → p-71bc04d2.system.entry.js} +1 -1
- package/dist/mint-components/p-78078e48.system.entry.js +1 -0
- package/dist/mint-components/p-784a69ac.system.entry.js +1 -0
- package/dist/mint-components/p-793d2130.js +1 -0
- package/dist/mint-components/{p-b114e746.entry.js → p-7ab21e4d.entry.js} +1 -1
- package/dist/mint-components/{p-2ab3b8d6.js → p-7f2d4212.js} +1 -1
- package/dist/mint-components/p-8175e85f.system.js +1 -0
- package/dist/mint-components/{p-81665df6.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
- package/dist/mint-components/p-84cea9dd.entry.js +241 -0
- package/dist/mint-components/{p-bd4810c7.system.entry.js → p-85671c3d.system.entry.js} +1 -1
- package/dist/mint-components/{p-f9de8a59.system.js → p-89903f6d.system.js} +1 -1
- package/dist/mint-components/{p-0873eaa8.entry.js → p-8abfeff8.entry.js} +1 -1
- package/dist/mint-components/p-8c23d1b8.js +1 -0
- package/dist/mint-components/{p-8056fd5b.system.entry.js → p-8d9d04b7.system.entry.js} +1 -1
- package/dist/mint-components/{p-988ea164.system.entry.js → p-90fc6774.system.entry.js} +1 -1
- package/dist/mint-components/p-91959fbe.js +1 -0
- package/dist/mint-components/p-9320582e.system.js +1 -0
- package/dist/mint-components/p-94a876b9.js +1 -0
- package/dist/mint-components/p-962f3200.js +1 -0
- package/dist/mint-components/{p-1c5cffae.js → p-98698131.js} +1 -1
- package/dist/mint-components/{p-f32c8cb5.entry.js → p-99374849.entry.js} +1 -1
- package/dist/mint-components/{p-a4a5beb5.system.entry.js → p-99bc1231.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a16a3d8.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a1dc19.entry.js → p-a2fde301.entry.js} +1 -1
- package/dist/mint-components/p-a71b9154.system.js +1 -0
- package/dist/mint-components/p-a8645c1b.system.js +1 -0
- package/dist/mint-components/{p-635aaf11.system.entry.js → p-b287833c.system.entry.js} +1 -1
- package/dist/mint-components/{p-8975c2be.entry.js → p-b51e79b3.entry.js} +1 -1
- package/dist/mint-components/{p-f0c23e81.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
- package/dist/mint-components/{p-7cb919d4.system.entry.js → p-b82e1935.system.entry.js} +1 -1
- package/dist/mint-components/p-b93fd99c.system.entry.js +1 -0
- package/dist/mint-components/p-bb0f585c.system.js +1 -0
- package/dist/mint-components/{p-1833c4f5.js → p-bbcd824a.js} +1 -1
- package/dist/mint-components/p-bd91bba4.js +1 -0
- package/dist/mint-components/{p-f2fd1910.system.js → p-bdb7d451.system.js} +1 -1
- package/dist/mint-components/{p-24c4e0b8.system.entry.js → p-c060f770.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ef299d7.js → p-c0f19490.js} +1 -1
- package/dist/mint-components/{p-ca740238.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
- package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
- package/dist/mint-components/p-cbbfac66.entry.js +25 -0
- package/dist/mint-components/p-cc7af682.system.js +6 -0
- package/dist/mint-components/{p-4f45be94.system.js → p-cd569259.system.js} +1 -1
- package/dist/mint-components/p-cd651f81.js +2 -2
- package/dist/mint-components/p-d07f3090.entry.js +1 -0
- package/dist/mint-components/p-d6831af5.js +48 -0
- package/dist/mint-components/p-da7708a7.entry.js +1 -0
- package/dist/mint-components/p-dbcb5359.js +1 -0
- package/dist/mint-components/{p-75f50e5a.entry.js → p-dcc81e90.entry.js} +1 -1
- package/dist/mint-components/{p-1b0c58bc.system.entry.js → p-de8e9981.system.entry.js} +1 -1
- package/dist/mint-components/{p-857947fa.system.entry.js → p-e5a5ae7f.system.entry.js} +1 -1
- package/dist/mint-components/{p-045d1d49.entry.js → p-e6045498.entry.js} +1 -1
- package/dist/mint-components/{p-9b779add.entry.js → p-e6f50ffd.entry.js} +1 -1
- package/dist/mint-components/{p-c470caf6.entry.js → p-e8ffcc68.entry.js} +2 -2
- package/dist/mint-components/p-f0772618.system.entry.js +1 -0
- package/dist/mint-components/p-f29eda2f.entry.js +205 -0
- package/dist/mint-components/{p-9f231a48.system.entry.js → p-f4a72903.system.entry.js} +1 -1
- package/dist/mint-components/{p-aaeaff1a.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
- package/dist/mint-components/p-fa37513e.system.entry.js +1 -0
- package/dist/mint-components/{p-e0b344fb.entry.js → p-fe2e2f4a.entry.js} +1 -1
- package/dist/mint-components/p-ff8b8067.entry.js +33 -0
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +2 -0
- package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +1 -1
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +6 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +26 -0
- package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
- package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +74 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -4
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -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-button/ShareButton.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +9 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +54 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +25 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +11 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +22 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +44 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +10 -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 +96 -0
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -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 +6 -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 +8 -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-docusign-form/useDocusignForm.d.ts +1 -1
- 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 +12 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +36 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +90 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +20 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +6 -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 +17 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +47 -2
- 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.d.ts +1071 -86
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -4
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/esm-es5/ShadowViewAddon-eba44767.js +0 -1
- package/dist/esm-es5/index.module-a2989d3c.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-98c4db70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-8e2bb54a.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-90e2bfd5.js +0 -1
- package/dist/mint-components/p-0323586f.entry.js +0 -223
- package/dist/mint-components/p-046f4631.system.js +0 -1
- package/dist/mint-components/p-0e53c59e.system.js +0 -1
- package/dist/mint-components/p-16c7bfda.js +0 -391
- package/dist/mint-components/p-28042d23.entry.js +0 -174
- package/dist/mint-components/p-30108c0e.js +0 -1
- package/dist/mint-components/p-31a691af.js +0 -1
- package/dist/mint-components/p-39b1a7fe.js +0 -1
- package/dist/mint-components/p-3bdd338c.system.js +0 -1
- package/dist/mint-components/p-3ec660e9.js +0 -1
- package/dist/mint-components/p-46ab5f80.system.js +0 -1
- package/dist/mint-components/p-4daa3f8a.system.entry.js +0 -1
- package/dist/mint-components/p-62f6627d.js +0 -1
- package/dist/mint-components/p-6a89b821.system.entry.js +0 -1
- package/dist/mint-components/p-749c7c9c.system.js +0 -1
- package/dist/mint-components/p-868f176e.entry.js +0 -1
- package/dist/mint-components/p-8d77feee.js +0 -1
- package/dist/mint-components/p-96b48c2b.system.js +0 -1
- package/dist/mint-components/p-a1f40614.system.entry.js +0 -1
- package/dist/mint-components/p-ac2b7eb8.system.js +0 -1
- package/dist/mint-components/p-b611eefd.entry.js +0 -1
- package/dist/mint-components/p-c4b21562.system.entry.js +0 -1
- package/dist/mint-components/p-c6a8c075.system.js +0 -1
- package/dist/mint-components/p-cd480e3f.entry.js +0 -33
- package/dist/mint-components/p-cf505e92.system.js +0 -1
- package/dist/mint-components/p-d671e44e.system.js +0 -1
- package/dist/mint-components/p-d7ed4bb5.entry.js +0 -1
- package/dist/mint-components/p-d87ce3d2.js +0 -1
- package/dist/mint-components/p-ea9fd654.entry.js +0 -9
- package/dist/mint-components/p-fe4a9dfe.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-
|
|
3
|
+
import { i as intl } from './global-be1f9992.js';
|
|
4
|
+
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-459a2e35.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
10
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
11
11
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
12
12
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
13
13
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
14
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
14
|
+
import { a as isValidColor, b as isMobile } from './utilities-5b0ca040.js';
|
|
15
15
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
|
|
16
16
|
|
|
17
17
|
const medium = {
|
|
@@ -84,7 +84,7 @@ function ShareButtonView(props, children) {
|
|
|
84
84
|
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
|
|
85
85
|
h("style", { type: "text/css" }, styleString),
|
|
86
86
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
87
|
-
h("sl-button", { class: sheet.classes.buttonStyle, loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: props.onClick, exportparts: `base: ${props.type}sharebutton-base` },
|
|
87
|
+
h("sl-button", { class: sheet.classes.buttonStyle, target: "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: props.onClick, href: props.messageLink, exportparts: `base: ${props.type}sharebutton-base` },
|
|
88
88
|
!props.hideicon && (h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
|
|
89
89
|
!props.hidetext && children)));
|
|
90
90
|
}
|
|
@@ -462,7 +462,7 @@ function GenericShare(messageLink, errorText) {
|
|
|
462
462
|
return messageLink ? window.open(messageLink) : alert(errorText);
|
|
463
463
|
}
|
|
464
464
|
function useShareButton(props) {
|
|
465
|
-
var _a, _b;
|
|
465
|
+
var _a, _b, _c, _d;
|
|
466
466
|
const { sharetitle, sharetext, medium } = props;
|
|
467
467
|
const programId = props.programId ? props.programId : H();
|
|
468
468
|
const user = J();
|
|
@@ -482,27 +482,33 @@ function useShareButton(props) {
|
|
|
482
482
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
483
483
|
window.orientation === undefined) ||
|
|
484
484
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
485
|
+
const messageLink = (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);
|
|
485
486
|
async function onClick() {
|
|
486
|
-
var _a, _b, _c, _d;
|
|
487
487
|
if (overrideData) {
|
|
488
488
|
await setCopied({ referralCode: contextData.referralCode });
|
|
489
489
|
contextData.refresh();
|
|
490
490
|
}
|
|
491
491
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
492
492
|
environment.type === "SquatchAndroid") {
|
|
493
|
-
FacebookShare(directLink,
|
|
493
|
+
FacebookShare(directLink, messageLink, props.errorText);
|
|
494
494
|
}
|
|
495
495
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
496
496
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
497
497
|
}
|
|
498
498
|
else {
|
|
499
|
-
GenericShare(
|
|
499
|
+
GenericShare(messageLink, props.errorText);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
+
const isPlainLink = !(medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
503
|
+
environment.type === "SquatchAndroid") &&
|
|
504
|
+
medium.toLocaleUpperCase() !== "DIRECT" &&
|
|
505
|
+
messageLink;
|
|
502
506
|
return {
|
|
503
507
|
...props,
|
|
504
508
|
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
505
|
-
|
|
509
|
+
messageLink,
|
|
510
|
+
// If we have just a normal share link onClick should be undefined so we fallback to default link behavior
|
|
511
|
+
onClick: isPlainLink ? undefined : onClick,
|
|
506
512
|
hide,
|
|
507
513
|
};
|
|
508
514
|
}
|
|
@@ -1212,9 +1218,12 @@ const payoutBalanceQuery = () => {
|
|
|
1212
1218
|
query payoutBalance {
|
|
1213
1219
|
viewer: viewer {
|
|
1214
1220
|
... on User {
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1221
|
+
id
|
|
1222
|
+
impactConnection {
|
|
1223
|
+
publisher {
|
|
1224
|
+
payoutsAccount {
|
|
1225
|
+
balance
|
|
1226
|
+
}
|
|
1218
1227
|
}
|
|
1219
1228
|
}
|
|
1220
1229
|
}
|
|
@@ -1578,56 +1587,6 @@ function PortalChangePasswordView(props) {
|
|
|
1578
1587
|
}
|
|
1579
1588
|
|
|
1580
1589
|
const style$3 = {
|
|
1581
|
-
Wrapper: AuthWrapper,
|
|
1582
|
-
Column: AuthColumn,
|
|
1583
|
-
ForgotButtonContainer: {
|
|
1584
|
-
display: "inline",
|
|
1585
|
-
cursor: "pointer",
|
|
1586
|
-
"font-size": "13px",
|
|
1587
|
-
"font-weight": "600",
|
|
1588
|
-
color: "#AAAAAA",
|
|
1589
|
-
margin: "0",
|
|
1590
|
-
},
|
|
1591
|
-
ButtonsContainer: {
|
|
1592
|
-
...AuthButtonsContainer,
|
|
1593
|
-
gap: "var(--sl-spacing-medium)",
|
|
1594
|
-
"& > *": {
|
|
1595
|
-
margin: "0 !important",
|
|
1596
|
-
},
|
|
1597
|
-
},
|
|
1598
|
-
};
|
|
1599
|
-
const vanillaStyle$1 = `
|
|
1600
|
-
:host {
|
|
1601
|
-
display: block;
|
|
1602
|
-
}
|
|
1603
|
-
:host([hidden]): {
|
|
1604
|
-
display: none;
|
|
1605
|
-
}
|
|
1606
|
-
`;
|
|
1607
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
1608
|
-
const styleString$3 = sheet$3.toString();
|
|
1609
|
-
function PortalLoginView(props) {
|
|
1610
|
-
const { states, callbacks, content } = props;
|
|
1611
|
-
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1612
|
-
h("style", { type: "text/css" },
|
|
1613
|
-
vanillaStyle$1,
|
|
1614
|
-
styleString$3),
|
|
1615
|
-
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1616
|
-
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1617
|
-
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1618
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1619
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1620
|
-
h("div", null,
|
|
1621
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1622
|
-
h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1623
|
-
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1624
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1625
|
-
content.googleButton && h("sl-menu-divider", null),
|
|
1626
|
-
content.googleButton,
|
|
1627
|
-
content.secondaryButton))));
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
const style$4 = {
|
|
1631
1590
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1632
1591
|
Column: AuthColumn,
|
|
1633
1592
|
HostBlock: HostBlock,
|
|
@@ -1638,7 +1597,7 @@ const style$4 = {
|
|
|
1638
1597
|
ButtonsContainer: AuthButtonsContainer,
|
|
1639
1598
|
ErrorStyle: ErrorStyles,
|
|
1640
1599
|
};
|
|
1641
|
-
const vanillaStyle$
|
|
1600
|
+
const vanillaStyle$1 = `
|
|
1642
1601
|
sqm-portal-register {
|
|
1643
1602
|
margin: 0 auto;
|
|
1644
1603
|
width: 100%;
|
|
@@ -1653,20 +1612,20 @@ sqm-portal-register {
|
|
|
1653
1612
|
display: none;
|
|
1654
1613
|
}
|
|
1655
1614
|
`;
|
|
1656
|
-
const sheet$
|
|
1657
|
-
const styleString$
|
|
1615
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1616
|
+
const styleString$3 = sheet$3.toString();
|
|
1658
1617
|
function PortalRegisterView(props) {
|
|
1659
1618
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1660
1619
|
const { states, refs, callbacks, content } = props;
|
|
1661
1620
|
if (states.error) {
|
|
1662
1621
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1663
1622
|
}
|
|
1664
|
-
return (h("div", { class: sheet$
|
|
1623
|
+
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1665
1624
|
h("style", { type: "text/css" },
|
|
1666
|
-
vanillaStyle$
|
|
1667
|
-
styleString$
|
|
1625
|
+
vanillaStyle$1,
|
|
1626
|
+
styleString$3),
|
|
1668
1627
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1669
|
-
h("sl-form", { class: sheet$
|
|
1628
|
+
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1670
1629
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1671
1630
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1672
1631
|
content.formData,
|
|
@@ -1679,7 +1638,7 @@ function PortalRegisterView(props) {
|
|
|
1679
1638
|
return content.invalidEmailErrorMessage;
|
|
1680
1639
|
}
|
|
1681
1640
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1682
|
-
class: sheet$
|
|
1641
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1683
1642
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1684
1643
|
content.requiredFieldErrorMessage,
|
|
1685
1644
|
}
|
|
@@ -1690,17 +1649,17 @@ function PortalRegisterView(props) {
|
|
|
1690
1649
|
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1691
1650
|
}
|
|
1692
1651
|
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1693
|
-
class: sheet$
|
|
1652
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1694
1653
|
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1695
1654
|
}
|
|
1696
1655
|
: [])))),
|
|
1697
1656
|
content.terms,
|
|
1698
|
-
h("div", { class: sheet$
|
|
1657
|
+
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1699
1658
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1700
1659
|
content.secondaryButton))));
|
|
1701
1660
|
}
|
|
1702
1661
|
|
|
1703
|
-
const style$
|
|
1662
|
+
const style$4 = {
|
|
1704
1663
|
Description: {
|
|
1705
1664
|
"& input[type=checkbox]": {
|
|
1706
1665
|
display: "none",
|
|
@@ -1739,13 +1698,13 @@ const style$5 = {
|
|
|
1739
1698
|
},
|
|
1740
1699
|
},
|
|
1741
1700
|
};
|
|
1742
|
-
const sheet$
|
|
1743
|
-
const styleString$
|
|
1701
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1702
|
+
const styleString$4 = sheet$4.toString();
|
|
1744
1703
|
function Details(props) {
|
|
1745
1704
|
const rid = Math.random().toString(36).slice(2);
|
|
1746
1705
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1747
|
-
h("style", { type: "text/css" }, styleString$
|
|
1748
|
-
h("span", { class: sheet$
|
|
1706
|
+
h("style", { type: "text/css" }, styleString$4),
|
|
1707
|
+
h("span", { class: sheet$4.classes.Description },
|
|
1749
1708
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1750
1709
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1751
1710
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1767,7 +1726,7 @@ const GreyGift = () => {
|
|
|
1767
1726
|
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" })));
|
|
1768
1727
|
};
|
|
1769
1728
|
|
|
1770
|
-
const style$
|
|
1729
|
+
const style$5 = {
|
|
1771
1730
|
ProgressBar: {
|
|
1772
1731
|
"& .progress-bar": {
|
|
1773
1732
|
height: "0",
|
|
@@ -1879,14 +1838,14 @@ const style$6 = {
|
|
|
1879
1838
|
},
|
|
1880
1839
|
},
|
|
1881
1840
|
};
|
|
1882
|
-
const sheet$
|
|
1883
|
-
const styleString$
|
|
1841
|
+
const sheet$5 = createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
1842
|
+
const styleString$5 = sheet$5.toString();
|
|
1884
1843
|
function ProgressBarView(props) {
|
|
1885
1844
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1886
1845
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1887
1846
|
const { columns, items } = aggregate;
|
|
1888
|
-
return (h("div", { class: sheet$
|
|
1889
|
-
h("style", { type: "text/css" }, styleString$
|
|
1847
|
+
return (h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1848
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
1890
1849
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1891
1850
|
(Boolean(finite) && progress > 2 * goal)
|
|
1892
1851
|
? "progress-bar repeatable-steps"
|
|
@@ -2177,7 +2136,7 @@ const arrow_left_right = () => {
|
|
|
2177
2136
|
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" })));
|
|
2178
2137
|
};
|
|
2179
2138
|
|
|
2180
|
-
const style$
|
|
2139
|
+
const style$6 = {
|
|
2181
2140
|
TaskCard: {
|
|
2182
2141
|
display: "inline-block",
|
|
2183
2142
|
width: "100%",
|
|
@@ -2331,8 +2290,8 @@ const style$7 = {
|
|
|
2331
2290
|
},
|
|
2332
2291
|
},
|
|
2333
2292
|
};
|
|
2334
|
-
const sheet$
|
|
2335
|
-
const styleString$
|
|
2293
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
2294
|
+
const styleString$6 = sheet$6.toString();
|
|
2336
2295
|
function TaskCardView(props) {
|
|
2337
2296
|
var _a, _b;
|
|
2338
2297
|
const { callbacks, states, content } = props;
|
|
@@ -2368,11 +2327,11 @@ function TaskCardView(props) {
|
|
|
2368
2327
|
}
|
|
2369
2328
|
|
|
2370
2329
|
`;
|
|
2371
|
-
return (h("div", { class: sheet$
|
|
2330
|
+
return (h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
|
|
2372
2331
|
h("style", { type: "text/css" },
|
|
2373
|
-
styleString$
|
|
2332
|
+
styleString$6,
|
|
2374
2333
|
vanillaStyle),
|
|
2375
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2334
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$6.classes.NotStarted },
|
|
2376
2335
|
h("span", { class: "icon" },
|
|
2377
2336
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2378
2337
|
intl.formatMessage({
|
|
@@ -2383,7 +2342,7 @@ function TaskCardView(props) {
|
|
|
2383
2342
|
.setLocale(luxonLocale(states.locale))
|
|
2384
2343
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2385
2344
|
}))),
|
|
2386
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2345
|
+
!states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
|
|
2387
2346
|
h("span", { class: "icon" },
|
|
2388
2347
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2389
2348
|
intl.formatMessage({
|
|
@@ -2403,7 +2362,7 @@ function TaskCardView(props) {
|
|
|
2403
2362
|
? "main complete"
|
|
2404
2363
|
: "main" },
|
|
2405
2364
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2406
|
-
h("div", { class: sheet$
|
|
2365
|
+
h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2407
2366
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2408
2367
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2409
2368
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2419,7 +2378,7 @@ function TaskCardView(props) {
|
|
|
2419
2378
|
} }, content.cardTitle)),
|
|
2420
2379
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2421
2380
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2422
|
-
h("div", { class: sheet$
|
|
2381
|
+
h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2423
2382
|
h("span", { class: "text" },
|
|
2424
2383
|
content.repeatable && (h("div", null,
|
|
2425
2384
|
h("span", { class: repetitions > 0
|
|
@@ -2490,7 +2449,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2490
2449
|
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 })));
|
|
2491
2450
|
}
|
|
2492
2451
|
|
|
2493
|
-
const vanillaStyle$
|
|
2452
|
+
const vanillaStyle$2 = `
|
|
2494
2453
|
:host{
|
|
2495
2454
|
margin: 0 auto;
|
|
2496
2455
|
width: 100%;
|
|
@@ -2546,7 +2505,7 @@ function PortalFooterView(props) {
|
|
|
2546
2505
|
const styleString = sheet.toString();
|
|
2547
2506
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2548
2507
|
h("style", { type: "text/css" },
|
|
2549
|
-
vanillaStyle$
|
|
2508
|
+
vanillaStyle$2,
|
|
2550
2509
|
styleString),
|
|
2551
2510
|
h("div", { class: sheet.classes.RowContainer },
|
|
2552
2511
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2718,7 +2677,7 @@ function ReferralIframeView(props) {
|
|
|
2718
2677
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2719
2678
|
}
|
|
2720
2679
|
|
|
2721
|
-
const style$
|
|
2680
|
+
const style$7 = {
|
|
2722
2681
|
ErrorStyle: ErrorStyles,
|
|
2723
2682
|
FieldsContainer: {
|
|
2724
2683
|
"& sl-input": {
|
|
@@ -2726,7 +2685,7 @@ const style$8 = {
|
|
|
2726
2685
|
},
|
|
2727
2686
|
},
|
|
2728
2687
|
};
|
|
2729
|
-
const vanillaStyle$
|
|
2688
|
+
const vanillaStyle$3 = `
|
|
2730
2689
|
:host {
|
|
2731
2690
|
margin: 0 auto;
|
|
2732
2691
|
width: 100%;
|
|
@@ -2738,21 +2697,21 @@ sl-input::part(label){
|
|
|
2738
2697
|
font-weight: var(--sl-font-weight-semibold);
|
|
2739
2698
|
}
|
|
2740
2699
|
`;
|
|
2741
|
-
const sheet$
|
|
2742
|
-
const styleString$
|
|
2700
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
2701
|
+
const styleString$7 = sheet$7.toString();
|
|
2743
2702
|
function NameFieldsView(props) {
|
|
2744
2703
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2745
2704
|
const { states } = props;
|
|
2746
2705
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2747
|
-
return (h("div", { class: sheet$
|
|
2706
|
+
return (h("div", { class: sheet$7.classes.FieldsContainer },
|
|
2748
2707
|
h("style", { type: "text/css" },
|
|
2749
|
-
vanillaStyle$
|
|
2750
|
-
styleString$
|
|
2708
|
+
vanillaStyle$3,
|
|
2709
|
+
styleString$7),
|
|
2751
2710
|
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) ? {
|
|
2752
2711
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2753
2712
|
}
|
|
2754
2713
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2755
|
-
class: sheet$
|
|
2714
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2756
2715
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2757
2716
|
}
|
|
2758
2717
|
: []))),
|
|
@@ -2760,13 +2719,13 @@ function NameFieldsView(props) {
|
|
|
2760
2719
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2761
2720
|
}
|
|
2762
2721
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2763
|
-
class: sheet$
|
|
2722
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2764
2723
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2765
2724
|
}
|
|
2766
2725
|
: [])))));
|
|
2767
2726
|
}
|
|
2768
2727
|
|
|
2769
|
-
const style$
|
|
2728
|
+
const style$8 = {
|
|
2770
2729
|
ErrorStyle: {
|
|
2771
2730
|
"&::part(control)": {
|
|
2772
2731
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2789,7 +2748,7 @@ const style$9 = {
|
|
|
2789
2748
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2790
2749
|
},
|
|
2791
2750
|
};
|
|
2792
|
-
const vanillaStyle$
|
|
2751
|
+
const vanillaStyle$4 = `
|
|
2793
2752
|
:host {
|
|
2794
2753
|
margin: 0 auto;
|
|
2795
2754
|
width: 100%;
|
|
@@ -2805,22 +2764,22 @@ sl-checkbox::part(base){
|
|
|
2805
2764
|
}
|
|
2806
2765
|
`;
|
|
2807
2766
|
jss.setup(create());
|
|
2808
|
-
const sheet$
|
|
2809
|
-
const styleString$
|
|
2767
|
+
const sheet$8 = jss.createStyleSheet(style$8);
|
|
2768
|
+
const styleString$8 = sheet$8.toString();
|
|
2810
2769
|
function CheckboxFieldView(props) {
|
|
2811
2770
|
var _a, _b, _c;
|
|
2812
2771
|
const { states, content, callbacks } = props;
|
|
2813
2772
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2814
|
-
return (h("div", { class: sheet$
|
|
2773
|
+
return (h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
|
|
2815
2774
|
h("style", { type: "text/css" },
|
|
2816
|
-
vanillaStyle$
|
|
2817
|
-
styleString$
|
|
2775
|
+
vanillaStyle$4,
|
|
2776
|
+
styleString$8),
|
|
2818
2777
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2819
2778
|
e.target.value = e.target.checked;
|
|
2820
2779
|
callbacks.setChecked(e.target.value);
|
|
2821
2780
|
} }, (!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])
|
|
2822
2781
|
? {
|
|
2823
|
-
class: sheet$
|
|
2782
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2824
2783
|
}
|
|
2825
2784
|
: [])),
|
|
2826
2785
|
intl.formatMessage({
|
|
@@ -2829,13 +2788,13 @@ function CheckboxFieldView(props) {
|
|
|
2829
2788
|
}, {
|
|
2830
2789
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2831
2790
|
}),
|
|
2832
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2791
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$8.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2833
2792
|
id: `errorMessage-${content.checkboxName}`,
|
|
2834
2793
|
defaultMessage: content.errorMessage,
|
|
2835
2794
|
}))))));
|
|
2836
2795
|
}
|
|
2837
2796
|
|
|
2838
|
-
const style$
|
|
2797
|
+
const style$9 = {
|
|
2839
2798
|
ErrorStyle: {
|
|
2840
2799
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2841
2800
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2851,7 +2810,7 @@ const style$a = {
|
|
|
2851
2810
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2852
2811
|
},
|
|
2853
2812
|
};
|
|
2854
|
-
const vanillaStyle$
|
|
2813
|
+
const vanillaStyle$5 = `
|
|
2855
2814
|
:host {
|
|
2856
2815
|
margin: 0 auto;
|
|
2857
2816
|
width: 100%;
|
|
@@ -2863,36 +2822,36 @@ sl-select::part(label){
|
|
|
2863
2822
|
}
|
|
2864
2823
|
`;
|
|
2865
2824
|
jss.setup(create());
|
|
2866
|
-
const sheet$
|
|
2867
|
-
const styleString$
|
|
2825
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
2826
|
+
const styleString$9 = sheet$9.toString();
|
|
2868
2827
|
function DropdownFieldView(props) {
|
|
2869
2828
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2870
2829
|
const { states, content } = props;
|
|
2871
2830
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2872
|
-
return (h("div", { class: sheet$
|
|
2831
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2873
2832
|
h("style", { type: "text/css" },
|
|
2874
|
-
vanillaStyle$
|
|
2875
|
-
styleString$
|
|
2833
|
+
vanillaStyle$5,
|
|
2834
|
+
styleString$9),
|
|
2876
2835
|
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]) ? {
|
|
2877
2836
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2878
2837
|
}
|
|
2879
2838
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2880
|
-
class: sheet$
|
|
2839
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2881
2840
|
}
|
|
2882
2841
|
: [])), content.selectOptions),
|
|
2883
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2842
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2884
2843
|
id: `errorMessage-${content.dropdownName}`,
|
|
2885
2844
|
defaultMessage: content.errorMessage,
|
|
2886
2845
|
})))));
|
|
2887
2846
|
}
|
|
2888
2847
|
|
|
2889
|
-
const style$
|
|
2848
|
+
const style$a = {
|
|
2890
2849
|
ErrorStyle: ErrorStyles,
|
|
2891
2850
|
FieldContainer: {
|
|
2892
2851
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2893
2852
|
},
|
|
2894
2853
|
};
|
|
2895
|
-
const vanillaStyle$
|
|
2854
|
+
const vanillaStyle$6 = `
|
|
2896
2855
|
:host {
|
|
2897
2856
|
margin: 0 auto;
|
|
2898
2857
|
width: 100%;
|
|
@@ -2900,21 +2859,21 @@ const vanillaStyle$7 = `
|
|
|
2900
2859
|
}
|
|
2901
2860
|
`;
|
|
2902
2861
|
jss.setup(create());
|
|
2903
|
-
const sheet$
|
|
2904
|
-
const styleString$
|
|
2862
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2863
|
+
const styleString$a = sheet$a.toString();
|
|
2905
2864
|
function InputFieldView(props) {
|
|
2906
2865
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2907
2866
|
const { states, content } = props;
|
|
2908
2867
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2909
|
-
return (h("div", { class: sheet$
|
|
2868
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2910
2869
|
h("style", { type: "text/css" },
|
|
2911
|
-
vanillaStyle$
|
|
2912
|
-
styleString$
|
|
2870
|
+
vanillaStyle$6,
|
|
2871
|
+
styleString$a),
|
|
2913
2872
|
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]) ? {
|
|
2914
2873
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2915
2874
|
}
|
|
2916
2875
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2917
|
-
class: sheet$
|
|
2876
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2918
2877
|
helpText: intl.formatMessage({
|
|
2919
2878
|
id: `errorMessage-${content.fieldName}`,
|
|
2920
2879
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3009,7 +2968,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3009
2968
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3010
2969
|
}
|
|
3011
2970
|
|
|
3012
|
-
const style$
|
|
2971
|
+
const style$b = {
|
|
3013
2972
|
HostBlock: HostBlock,
|
|
3014
2973
|
Container: {
|
|
3015
2974
|
minWidth: "300px",
|
|
@@ -3360,8 +3319,8 @@ const style$c = {
|
|
|
3360
3319
|
},
|
|
3361
3320
|
};
|
|
3362
3321
|
// JSS config
|
|
3363
|
-
const sheet$
|
|
3364
|
-
const styleString$
|
|
3322
|
+
const sheet$b = createStyleSheet(style$b);
|
|
3323
|
+
const styleString$b = sheet$b.toString();
|
|
3365
3324
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3366
3325
|
function RewardExchangeView(props) {
|
|
3367
3326
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3384,7 +3343,7 @@ function RewardExchangeView(props) {
|
|
|
3384
3343
|
sourceUnit: item.sourceUnit,
|
|
3385
3344
|
})));
|
|
3386
3345
|
}
|
|
3387
|
-
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3346
|
+
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3388
3347
|
var _a, _b, _c, _d, _e;
|
|
3389
3348
|
return callbacks.setExchangeState({
|
|
3390
3349
|
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,
|
|
@@ -3392,7 +3351,7 @@ function RewardExchangeView(props) {
|
|
|
3392
3351
|
});
|
|
3393
3352
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3394
3353
|
var _a, _b;
|
|
3395
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3354
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
|
|
3396
3355
|
step.prettyDestinationValue,
|
|
3397
3356
|
h("br", null),
|
|
3398
3357
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3411,8 +3370,8 @@ function RewardExchangeView(props) {
|
|
|
3411
3370
|
var _a;
|
|
3412
3371
|
return [
|
|
3413
3372
|
h("div", { part: "choose-reward-container" },
|
|
3414
|
-
h("div", { class: sheet$
|
|
3415
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3373
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
|
|
3374
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3416
3375
|
var _a, _b, _c, _d, _e;
|
|
3417
3376
|
const style = {
|
|
3418
3377
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3421,7 +3380,7 @@ function RewardExchangeView(props) {
|
|
|
3421
3380
|
borderRadius: "4px",
|
|
3422
3381
|
};
|
|
3423
3382
|
return (h("div", { key: item.key, style: style },
|
|
3424
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3383
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
|
|
3425
3384
|
cursor: item.unavailableReasonCode
|
|
3426
3385
|
? "not-allowed"
|
|
3427
3386
|
: "pointer",
|
|
@@ -3438,14 +3397,14 @@ function RewardExchangeView(props) {
|
|
|
3438
3397
|
? "rgba(0, 0, 0, 0.05)"
|
|
3439
3398
|
: "rgba(0, 0, 0, 0)",
|
|
3440
3399
|
} },
|
|
3441
|
-
h("div", { class: sheet$
|
|
3400
|
+
h("div", { class: sheet$b.classes.Image, style: {
|
|
3442
3401
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3443
3402
|
} },
|
|
3444
3403
|
h("img", { class: item.unavailableReasonCode
|
|
3445
3404
|
? "image subdued"
|
|
3446
3405
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3447
3406
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3448
|
-
h("div", { class: sheet$
|
|
3407
|
+
h("div", { class: sheet$b.classes.TextArea, style: {
|
|
3449
3408
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3450
3409
|
} },
|
|
3451
3410
|
h("div", { class: "title", style: {
|
|
@@ -3478,7 +3437,7 @@ function RewardExchangeView(props) {
|
|
|
3478
3437
|
item.prettySourceMinValue,
|
|
3479
3438
|
}))))))));
|
|
3480
3439
|
}))),
|
|
3481
|
-
h("div", { class: sheet$
|
|
3440
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3482
3441
|
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))),
|
|
3483
3442
|
];
|
|
3484
3443
|
}
|
|
@@ -3489,7 +3448,7 @@ function RewardExchangeView(props) {
|
|
|
3489
3448
|
? false
|
|
3490
3449
|
: input && !states.amount;
|
|
3491
3450
|
return (h("div", null,
|
|
3492
|
-
h("div", { class: sheet$
|
|
3451
|
+
h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3493
3452
|
h("div", { class: "wrapper" },
|
|
3494
3453
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3495
3454
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3498,7 +3457,7 @@ function RewardExchangeView(props) {
|
|
|
3498
3457
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3499
3458
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3500
3459
|
h("div", { class: "space" }))),
|
|
3501
|
-
h("div", { class: sheet$
|
|
3460
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3502
3461
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3503
3462
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3504
3463
|
}
|
|
@@ -3506,8 +3465,8 @@ function RewardExchangeView(props) {
|
|
|
3506
3465
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3507
3466
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3508
3467
|
return (h("div", null,
|
|
3509
|
-
h("div", { class: sheet$
|
|
3510
|
-
h("div", { class: sheet$
|
|
3468
|
+
h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
|
|
3469
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
|
|
3511
3470
|
h("div", { class: "wrapper" },
|
|
3512
3471
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3513
3472
|
h("div", { class: "reward-item-container" },
|
|
@@ -3522,13 +3481,13 @@ function RewardExchangeView(props) {
|
|
|
3522
3481
|
h("div", { class: "wrapper top-border padding" },
|
|
3523
3482
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3524
3483
|
h("div", { class: "value" }, cost)),
|
|
3525
|
-
h("div", { class: sheet$
|
|
3484
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3526
3485
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3527
3486
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3528
3487
|
}
|
|
3529
3488
|
function success() {
|
|
3530
3489
|
var _a, _b, _c, _d, _e, _f;
|
|
3531
|
-
return (h("div", { class: sheet$
|
|
3490
|
+
return (h("div", { class: sheet$b.classes.Success, part: "success-container" },
|
|
3532
3491
|
h(Gift$1, null),
|
|
3533
3492
|
h(Confetti, null),
|
|
3534
3493
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3543,7 +3502,7 @@ function RewardExchangeView(props) {
|
|
|
3543
3502
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3544
3503
|
states.content.text.promoCode,
|
|
3545
3504
|
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 }))),
|
|
3546
|
-
h("div", { class: sheet$
|
|
3505
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3547
3506
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3548
3507
|
}
|
|
3549
3508
|
const stages = {
|
|
@@ -3555,7 +3514,7 @@ function RewardExchangeView(props) {
|
|
|
3555
3514
|
const currentStage = stages[states.redeemStage];
|
|
3556
3515
|
function stageMap() {
|
|
3557
3516
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3558
|
-
return (h("div", { class: sheet$
|
|
3517
|
+
return (h("div", { class: sheet$b.classes.ProgressBar },
|
|
3559
3518
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3560
3519
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3561
3520
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3567,10 +3526,10 @@ function RewardExchangeView(props) {
|
|
|
3567
3526
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3568
3527
|
}
|
|
3569
3528
|
function loading() {
|
|
3570
|
-
return (h("div", { class: sheet$
|
|
3529
|
+
return (h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3571
3530
|
return (h("div", null,
|
|
3572
|
-
h("sl-card", { class: sheet$
|
|
3573
|
-
h("div", { class: sheet$
|
|
3531
|
+
h("sl-card", { class: sheet$b.classes.Card },
|
|
3532
|
+
h("div", { class: sheet$b.classes.CardLayout },
|
|
3574
3533
|
h("div", null,
|
|
3575
3534
|
h("sl-skeleton", { style: {
|
|
3576
3535
|
width: "100px",
|
|
@@ -3602,12 +3561,12 @@ function RewardExchangeView(props) {
|
|
|
3602
3561
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3603
3562
|
return;
|
|
3604
3563
|
refs.canvasRef.current = canvas;
|
|
3605
|
-
}, id: "my-canvas", class: sheet$
|
|
3564
|
+
}, id: "my-canvas", class: sheet$b.classes.Confetti }));
|
|
3606
3565
|
}
|
|
3607
3566
|
if (states.noExchangeOptions)
|
|
3608
3567
|
return states.content.text.empty;
|
|
3609
|
-
return (h("div", { class: sheet$
|
|
3610
|
-
h("style", { type: "text/css" }, styleString$
|
|
3568
|
+
return (h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
|
|
3569
|
+
h("style", { type: "text/css" }, styleString$b),
|
|
3611
3570
|
h("div", null,
|
|
3612
3571
|
stageMap(),
|
|
3613
3572
|
states.exchangeError && errorMessage(),
|
|
@@ -4023,7 +3982,7 @@ function CardFeedView(props, children) {
|
|
|
4023
3982
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4024
3983
|
}
|
|
4025
3984
|
|
|
4026
|
-
const style$
|
|
3985
|
+
const style$c = {
|
|
4027
3986
|
HostBlock: HostBlock,
|
|
4028
3987
|
couponCodeLabel: {
|
|
4029
3988
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4031,21 +3990,21 @@ const style$d = {
|
|
|
4031
3990
|
fontSize: "var(--sl-font-size-small)",
|
|
4032
3991
|
},
|
|
4033
3992
|
};
|
|
4034
|
-
const vanillaStyle$
|
|
3993
|
+
const vanillaStyle$7 = `
|
|
4035
3994
|
:host{
|
|
4036
3995
|
display: block;
|
|
4037
3996
|
width: 100%;
|
|
4038
3997
|
}
|
|
4039
3998
|
`;
|
|
4040
|
-
const sheet$
|
|
4041
|
-
const styleString$
|
|
3999
|
+
const sheet$c = createStyleSheet(style$c);
|
|
4000
|
+
const styleString$c = sheet$c.toString();
|
|
4042
4001
|
function CouponCodeView(props) {
|
|
4043
4002
|
const error = !props.loading && props.error;
|
|
4044
4003
|
return (h("div", null,
|
|
4045
4004
|
h("style", { type: "text/css" },
|
|
4046
|
-
styleString$
|
|
4047
|
-
vanillaStyle$
|
|
4048
|
-
h("p", { class: sheet$
|
|
4005
|
+
styleString$c,
|
|
4006
|
+
vanillaStyle$7),
|
|
4007
|
+
h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4049
4008
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4050
4009
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4051
4010
|
}
|
|
@@ -4135,4 +4094,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4135
4094
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4136
4095
|
};
|
|
4137
4096
|
|
|
4138
|
-
export {
|
|
4097
|
+
export { empty as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, rewardExchange as F, CardFeedView as G, HeroView as H, InputFieldView as I, CouponCodeView as J, ProgressBar as K, LeaderboardView as L, autoColorScaleCss as M, NameFieldsView as N, ShadowViewAddon as O, PortalFrameView as P, useBigStat as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, withShadowView as U, demoRewardExchange as V, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalRegisterView as e, ProgressBarView as f, PoweredByImg as g, PortalFooterView as h, RewardExchangeView as i, rewardExchangeLongText as j, rewardExchangeSelected as k, chooseAmountFixed as l, chooseAmountFixedNoDescription as m, chooseAmountVariable as n, chooseAmountVariableNoDescription as o, chooseAmountVariableDisabled as p, chooseAmountVariableUnavailable as q, rewardExchangeCustomErrorMsg as r, confirmFixed as s, confirmVariable as t, useShareLink as u, redemptionError as v, queryError as w, success as x, successVariable as y, loading as z };
|