@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
|
@@ -4,24 +4,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-e31dc4f5.js');
|
|
8
|
+
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
const copyTextView = require('./copy-text-view-
|
|
13
|
+
const copyTextView = require('./copy-text-view-a5524c20.js');
|
|
14
14
|
require('./mixins-f7e0377a.js');
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
+
const reRender = require('./re-render-b324deab.js');
|
|
16
|
+
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
17
17
|
require('./luxon-2926d85f.js');
|
|
18
18
|
require('./sqm-text-span-view-0aa82125.js');
|
|
19
19
|
const index$1 = require('./index-8c6255f5.js');
|
|
20
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
20
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7b820f0c.js');
|
|
21
|
+
const sqmPortalLoginView = require('./sqm-portal-login-view-761a4d8e.js');
|
|
22
|
+
const usePortalLogin = require('./usePortalLogin-63d896d1.js');
|
|
21
23
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
22
|
-
const utilities = require('./utilities-
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
24
|
+
const utilities = require('./utilities-78f5e169.js');
|
|
25
|
+
const ShadowViewAddon = require('./ShadowViewAddon-bd00066a.js');
|
|
24
26
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
27
|
+
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
25
28
|
|
|
26
29
|
const BigStat = class {
|
|
27
30
|
constructor(hostRef) {
|
|
@@ -1721,6 +1724,378 @@ function useNavigationMenuDemo(props) {
|
|
|
1721
1724
|
}
|
|
1722
1725
|
NavigationMenu.style = sqmNavigationMenuCss;
|
|
1723
1726
|
|
|
1727
|
+
const style$2 = {
|
|
1728
|
+
Wrapper: {
|
|
1729
|
+
maxWidth: "200px",
|
|
1730
|
+
marginLeft: "auto",
|
|
1731
|
+
},
|
|
1732
|
+
PayoutButtonDescription: {
|
|
1733
|
+
color: "var(--sl-color-neutral-500)",
|
|
1734
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1735
|
+
margin: "0",
|
|
1736
|
+
},
|
|
1737
|
+
};
|
|
1738
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
1739
|
+
const styleString$2 = sheet$2.toString();
|
|
1740
|
+
function PayoutButtonScrollView(props) {
|
|
1741
|
+
const { text, states } = props;
|
|
1742
|
+
if (!states.payoutSettingsComplete)
|
|
1743
|
+
return index.h("div", null);
|
|
1744
|
+
return (index.h("div", { class: sheet$2.classes.Wrapper },
|
|
1745
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
1746
|
+
index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.payoutButtonText, "scroll-animation": "smooth" }),
|
|
1747
|
+
index.h("p", { class: sheet$2.classes.PayoutButtonDescription }, text.payoutButtonDescription)));
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
const GET_PAYOUT_DETAILS = index_module.dist.gql `
|
|
1751
|
+
query getPayoutDetails {
|
|
1752
|
+
user: viewer {
|
|
1753
|
+
... on User {
|
|
1754
|
+
id
|
|
1755
|
+
impactConnection {
|
|
1756
|
+
connected
|
|
1757
|
+
publisher {
|
|
1758
|
+
id
|
|
1759
|
+
payoutsAccount {
|
|
1760
|
+
hold
|
|
1761
|
+
balance
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
`;
|
|
1769
|
+
function usePayoutButton(props) {
|
|
1770
|
+
var _a, _b, _c;
|
|
1771
|
+
const { data, refetch } = index_module.wn(GET_PAYOUT_DETAILS, {});
|
|
1772
|
+
stencilHooks_module.useEffect(() => {
|
|
1773
|
+
const cb = () => refetch();
|
|
1774
|
+
window.addEventListener("sqm:tax-form-updated", cb);
|
|
1775
|
+
return () => window.removeEventListener("sqm:tax-form-updated", cb);
|
|
1776
|
+
}, []);
|
|
1777
|
+
return {
|
|
1778
|
+
states: {
|
|
1779
|
+
payoutSettingsComplete: !!((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.payoutsAccount),
|
|
1780
|
+
},
|
|
1781
|
+
text: props.getTextProps(),
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
const PayoutButtonScroll = class {
|
|
1786
|
+
constructor(hostRef) {
|
|
1787
|
+
index.registerInstance(this, hostRef);
|
|
1788
|
+
/**
|
|
1789
|
+
* @uiName Payout button text
|
|
1790
|
+
*/
|
|
1791
|
+
this.payoutButtonText = "Payouts & Tax Settings";
|
|
1792
|
+
/**
|
|
1793
|
+
* Description text under payout button
|
|
1794
|
+
* @uiName Payout button description text
|
|
1795
|
+
*/
|
|
1796
|
+
this.payoutButtonDescription = "Check your payout settings to see when you’ll get paid out next";
|
|
1797
|
+
this.ignored = true;
|
|
1798
|
+
stencilHooks_module.h$1(this);
|
|
1799
|
+
}
|
|
1800
|
+
disconnectedCallback() { }
|
|
1801
|
+
getTextProps() {
|
|
1802
|
+
return utils.getProps(this);
|
|
1803
|
+
}
|
|
1804
|
+
render() {
|
|
1805
|
+
const props = index_module.isDemo()
|
|
1806
|
+
? useDemoPayoutButtonScroll(this)
|
|
1807
|
+
: usePayoutButton(this);
|
|
1808
|
+
return index.h(PayoutButtonScrollView, Object.assign({}, props));
|
|
1809
|
+
}
|
|
1810
|
+
};
|
|
1811
|
+
function useDemoPayoutButtonScroll(props) {
|
|
1812
|
+
return cjs.cjs({
|
|
1813
|
+
states: {
|
|
1814
|
+
payoutSettingsComplete: false,
|
|
1815
|
+
},
|
|
1816
|
+
text: props.getTextProps(),
|
|
1817
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
const style$3 = {
|
|
1821
|
+
SkeletonOne: {
|
|
1822
|
+
width: "50%",
|
|
1823
|
+
height: "16px",
|
|
1824
|
+
},
|
|
1825
|
+
AlertDescriptionText: {
|
|
1826
|
+
margin: "0",
|
|
1827
|
+
marginBottom: "var(--sl-spacing-small)",
|
|
1828
|
+
},
|
|
1829
|
+
ErrorAlertContainer: {
|
|
1830
|
+
"&::part(base)": {
|
|
1831
|
+
backgroundColor: "var(--sl-color-red-100)",
|
|
1832
|
+
borderTop: "none",
|
|
1833
|
+
},
|
|
1834
|
+
"& sl-icon::part(base)": {
|
|
1835
|
+
color: "var(--sl-color-danger-500)",
|
|
1836
|
+
},
|
|
1837
|
+
},
|
|
1838
|
+
WarningAlertContainer: {
|
|
1839
|
+
"&::part(base)": {
|
|
1840
|
+
backgroundColor: "var(--sl-color-yellow-100)",
|
|
1841
|
+
borderTop: "none",
|
|
1842
|
+
},
|
|
1843
|
+
"& sl-icon::part(base)": {
|
|
1844
|
+
color: "var(--sl-color-danger-500)",
|
|
1845
|
+
},
|
|
1846
|
+
},
|
|
1847
|
+
InfoAlertContainer: {
|
|
1848
|
+
"&::part(base)": {
|
|
1849
|
+
backgroundColor: "var(--sl-color-sky-100)",
|
|
1850
|
+
borderTop: "none",
|
|
1851
|
+
},
|
|
1852
|
+
"& sl-icon::part(base)": {
|
|
1853
|
+
color: "var(--sl-color-blue-500)",
|
|
1854
|
+
},
|
|
1855
|
+
},
|
|
1856
|
+
Dialog: {
|
|
1857
|
+
"&::part(panel)": {
|
|
1858
|
+
height: "600px",
|
|
1859
|
+
},
|
|
1860
|
+
"&::part(close-button)": {
|
|
1861
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
1862
|
+
},
|
|
1863
|
+
"&::part(title)": {
|
|
1864
|
+
display: "none",
|
|
1865
|
+
},
|
|
1866
|
+
"&::part(header)": {},
|
|
1867
|
+
"&::part(body)": { padding: "0" },
|
|
1868
|
+
"&::part(footer)": {},
|
|
1869
|
+
},
|
|
1870
|
+
};
|
|
1871
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1872
|
+
const styleString$3 = sheet$3.toString();
|
|
1873
|
+
function PayoutStatusAlertView(props) {
|
|
1874
|
+
const { text, states, data, callbacks } = props;
|
|
1875
|
+
function getAlert(status) {
|
|
1876
|
+
if (states.error)
|
|
1877
|
+
return {
|
|
1878
|
+
header: text.errorHeader,
|
|
1879
|
+
description: text.errorDescription,
|
|
1880
|
+
buttonText: null,
|
|
1881
|
+
alertType: "critical",
|
|
1882
|
+
icon: "exclamation-triangle",
|
|
1883
|
+
class: sheet$3.classes.ErrorAlertContainer,
|
|
1884
|
+
};
|
|
1885
|
+
switch (status) {
|
|
1886
|
+
case "INFORMATION_REQUIRED":
|
|
1887
|
+
return {
|
|
1888
|
+
header: text.informationRequiredHeader,
|
|
1889
|
+
description: text.informationRequiredDescription,
|
|
1890
|
+
buttonText: text.informationRequiredButtonText,
|
|
1891
|
+
alertType: "info",
|
|
1892
|
+
icon: "info-circle",
|
|
1893
|
+
class: sheet$3.classes.InfoAlertContainer,
|
|
1894
|
+
};
|
|
1895
|
+
case "VERIFICATION:REQUIRED":
|
|
1896
|
+
return {
|
|
1897
|
+
header: text.verificationRequiredHeader,
|
|
1898
|
+
description: global.intl.formatMessage({
|
|
1899
|
+
id: "verificationRequiredDescription",
|
|
1900
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
1901
|
+
}, {
|
|
1902
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1903
|
+
}),
|
|
1904
|
+
buttonText: text.verificationRequiredButtonText,
|
|
1905
|
+
alertType: "warning",
|
|
1906
|
+
icon: "exclamation-triangle",
|
|
1907
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1908
|
+
};
|
|
1909
|
+
case "VERIFICATION:INTERNAL":
|
|
1910
|
+
return {
|
|
1911
|
+
header: text.verificationRequiredInternalHeader,
|
|
1912
|
+
description: global.intl.formatMessage({
|
|
1913
|
+
id: "verificationRequiredInternalDescription",
|
|
1914
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
1915
|
+
}, {
|
|
1916
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1917
|
+
}),
|
|
1918
|
+
alertType: "warning",
|
|
1919
|
+
icon: "exclamation-triangle",
|
|
1920
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1921
|
+
};
|
|
1922
|
+
case "VERIFICATION:REVIEW":
|
|
1923
|
+
return {
|
|
1924
|
+
header: text.verificationReviewInternalHeader,
|
|
1925
|
+
description: global.intl.formatMessage({
|
|
1926
|
+
id: "verificationReviewInternalDescription",
|
|
1927
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
1928
|
+
}, {
|
|
1929
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1930
|
+
}),
|
|
1931
|
+
alertType: "warning",
|
|
1932
|
+
icon: "exclamation-triangle",
|
|
1933
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1934
|
+
};
|
|
1935
|
+
case "VERIFICATION:FAILED":
|
|
1936
|
+
return {
|
|
1937
|
+
header: text.verificationFailedInternalHeader,
|
|
1938
|
+
description: global.intl.formatMessage({
|
|
1939
|
+
id: "verificationFailedInternalDescription",
|
|
1940
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
1941
|
+
}, {
|
|
1942
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1943
|
+
}),
|
|
1944
|
+
alertType: "critical",
|
|
1945
|
+
icon: "exclamation-octagon",
|
|
1946
|
+
class: sheet$3.classes.ErrorAlertContainer,
|
|
1947
|
+
};
|
|
1948
|
+
case "HOLD":
|
|
1949
|
+
return {
|
|
1950
|
+
header: text.holdHeader,
|
|
1951
|
+
description: global.intl.formatMessage({
|
|
1952
|
+
id: "holdDescription",
|
|
1953
|
+
defaultMessage: text.holdDescription,
|
|
1954
|
+
}, {
|
|
1955
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1956
|
+
}),
|
|
1957
|
+
buttonText: null,
|
|
1958
|
+
alertType: "warning",
|
|
1959
|
+
icon: "exclamation-triangle",
|
|
1960
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1961
|
+
};
|
|
1962
|
+
default:
|
|
1963
|
+
return;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
function getButton(status) {
|
|
1967
|
+
switch (status) {
|
|
1968
|
+
case "INFORMATION_REQUIRED":
|
|
1969
|
+
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1970
|
+
// Demo case
|
|
1971
|
+
index.h("sl-button", { type: "default" }, text.informationRequiredButtonText));
|
|
1972
|
+
case "VERIFICATION:REQUIRED":
|
|
1973
|
+
return (index.h("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
|
|
1974
|
+
default:
|
|
1975
|
+
return;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
if (states.loading) {
|
|
1979
|
+
return index.h("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
|
|
1980
|
+
}
|
|
1981
|
+
const alertDetails = getAlert(states.status);
|
|
1982
|
+
if (states.status === "DONE" || !alertDetails) {
|
|
1983
|
+
return index.h("div", null);
|
|
1984
|
+
}
|
|
1985
|
+
return (index.h("div", { part: "sqm-base" },
|
|
1986
|
+
index.h("style", { type: "text/css" }, styleString$3),
|
|
1987
|
+
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertDetails.alertType, class: alertDetails.class, open: true },
|
|
1988
|
+
index.h("sl-icon", { slot: "icon", name: alertDetails.icon }),
|
|
1989
|
+
index.h("strong", null, alertDetails.header),
|
|
1990
|
+
index.h("p", { class: sheet$3.classes.AlertDescriptionText }, alertDetails.description),
|
|
1991
|
+
getButton(states.status))));
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
const PayoutStatusAlert = class {
|
|
1995
|
+
constructor(hostRef) {
|
|
1996
|
+
index.registerInstance(this, hostRef);
|
|
1997
|
+
/**
|
|
1998
|
+
* @uiName Info required alert header
|
|
1999
|
+
*/
|
|
2000
|
+
this.informationRequiredHeader = "Payout and tax information required";
|
|
2001
|
+
/**
|
|
2002
|
+
* @uiName Info required alert description
|
|
2003
|
+
*/
|
|
2004
|
+
this.informationRequiredDescription = "Submit your banking details and tax documents to receive your rewards.";
|
|
2005
|
+
/**
|
|
2006
|
+
* @uiName Info required alert button text
|
|
2007
|
+
*/
|
|
2008
|
+
this.informationRequiredButtonText = "Payouts & Tax Settings";
|
|
2009
|
+
/**
|
|
2010
|
+
* @uiName Verification required alert header
|
|
2011
|
+
*/
|
|
2012
|
+
this.verificationRequiredHeader = "Verify your identity";
|
|
2013
|
+
/**
|
|
2014
|
+
* @uiName Verification required alert description
|
|
2015
|
+
*/
|
|
2016
|
+
this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
2017
|
+
/**
|
|
2018
|
+
* @uiName Verification required alert button text
|
|
2019
|
+
*/
|
|
2020
|
+
this.verificationRequiredButtonText = "Start Verification";
|
|
2021
|
+
/**
|
|
2022
|
+
* @uiName Verification required internal alert header
|
|
2023
|
+
*/
|
|
2024
|
+
this.verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
2025
|
+
/**
|
|
2026
|
+
* @uiName Verification required internal alert description
|
|
2027
|
+
*/
|
|
2028
|
+
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
|
|
2029
|
+
/**
|
|
2030
|
+
* @uiName Verification review internal alert header
|
|
2031
|
+
*/
|
|
2032
|
+
this.verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
2033
|
+
/**
|
|
2034
|
+
* @uiName Verification review internal alert description
|
|
2035
|
+
*/
|
|
2036
|
+
this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
|
|
2037
|
+
/**
|
|
2038
|
+
* @uiName Verification failed internal alert header
|
|
2039
|
+
*/
|
|
2040
|
+
this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
2041
|
+
/**
|
|
2042
|
+
* @uiName Verification failed internal alert description
|
|
2043
|
+
*/
|
|
2044
|
+
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
|
|
2045
|
+
/**
|
|
2046
|
+
* @uiName Payout on hold alert header
|
|
2047
|
+
*/
|
|
2048
|
+
this.holdHeader = "Your payouts and account are on hold";
|
|
2049
|
+
/**
|
|
2050
|
+
* @uiName Payout on hold alert description
|
|
2051
|
+
*/
|
|
2052
|
+
this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our {supportLink}.";
|
|
2053
|
+
/**
|
|
2054
|
+
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
2055
|
+
*/
|
|
2056
|
+
this.cashPayoutsPageUrl = "/cash";
|
|
2057
|
+
/**
|
|
2058
|
+
* @uiName Support link text
|
|
2059
|
+
*/
|
|
2060
|
+
this.supportLink = "support team";
|
|
2061
|
+
/**
|
|
2062
|
+
* @uiName Error header
|
|
2063
|
+
*/
|
|
2064
|
+
this.errorHeader = "Could not determine payout status.";
|
|
2065
|
+
/**
|
|
2066
|
+
* @uiName Error description
|
|
2067
|
+
*/
|
|
2068
|
+
this.errorDescription = "There was an error with determining your payout status.";
|
|
2069
|
+
stencilHooks_module.h$1(this);
|
|
2070
|
+
}
|
|
2071
|
+
disconnectedCallback() { }
|
|
2072
|
+
getTextProps() {
|
|
2073
|
+
return utils.getProps(this);
|
|
2074
|
+
}
|
|
2075
|
+
render() {
|
|
2076
|
+
const props = index_module.isDemo()
|
|
2077
|
+
? useDemoPayoutStatusAlert(this)
|
|
2078
|
+
: usePayoutStatus.usePayoutStatus(this);
|
|
2079
|
+
return index.h(PayoutStatusAlertView, Object.assign({}, props));
|
|
2080
|
+
}
|
|
2081
|
+
};
|
|
2082
|
+
function useDemoPayoutStatusAlert(props) {
|
|
2083
|
+
return cjs.cjs({
|
|
2084
|
+
states: {
|
|
2085
|
+
error: false,
|
|
2086
|
+
status: "INFORMATION_REQUIRED",
|
|
2087
|
+
loading: false,
|
|
2088
|
+
showVerifyIdentity: false,
|
|
2089
|
+
},
|
|
2090
|
+
data: { type: "SquatchAdmin" },
|
|
2091
|
+
text: props.getTextProps(),
|
|
2092
|
+
callbacks: {
|
|
2093
|
+
onTermsClick: () => { },
|
|
2094
|
+
onClick: () => console.log("show"),
|
|
2095
|
+
},
|
|
2096
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2097
|
+
}
|
|
2098
|
+
|
|
1724
2099
|
function usePortalChangePassword(props) {
|
|
1725
2100
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1726
2101
|
const [request, { loading, errors, data }] = index_module.Ue();
|
|
@@ -2017,67 +2392,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2017
2392
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2018
2393
|
}
|
|
2019
2394
|
|
|
2020
|
-
function usePortalLogin(props) {
|
|
2021
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
2022
|
-
const [request, { loading, errors, data }] = index_module.je();
|
|
2023
|
-
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = index_module.hn();
|
|
2024
|
-
const [error, setError] = stencilHooks_module.useState("");
|
|
2025
|
-
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
2026
|
-
const nextPageOverride = urlParams.get("nextPage");
|
|
2027
|
-
const googleSubmit = async (e) => {
|
|
2028
|
-
var _a, _b, _c;
|
|
2029
|
-
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
2030
|
-
return;
|
|
2031
|
-
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
2032
|
-
if (result instanceof Error) {
|
|
2033
|
-
if ((result === null || result === void 0 ? void 0 : result.message) || ((_b = result === null || result === void 0 ? void 0 : result["response"]) === null || _b === void 0 ? void 0 : _b["error"]))
|
|
2034
|
-
setError(props.networkErrorMessage);
|
|
2035
|
-
return;
|
|
2036
|
-
}
|
|
2037
|
-
if ((_c = result.authenticateManagedIdentityWithGoogle) === null || _c === void 0 ? void 0 : _c.token) {
|
|
2038
|
-
urlParams.delete("nextPage");
|
|
2039
|
-
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2040
|
-
index_module.jn.push(url.href);
|
|
2041
|
-
}
|
|
2042
|
-
};
|
|
2043
|
-
const submit = async (event) => {
|
|
2044
|
-
var _a, _b;
|
|
2045
|
-
setError("");
|
|
2046
|
-
let formData = event.detail.formData;
|
|
2047
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
2048
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
2049
|
-
});
|
|
2050
|
-
const variables = { email: formData.email, password: formData.password };
|
|
2051
|
-
const result = await request(variables);
|
|
2052
|
-
if (result instanceof Error) {
|
|
2053
|
-
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
2054
|
-
setError(props.networkErrorMessage);
|
|
2055
|
-
return;
|
|
2056
|
-
}
|
|
2057
|
-
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2058
|
-
urlParams.delete("nextPage");
|
|
2059
|
-
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2060
|
-
index_module.jn.push(url.href);
|
|
2061
|
-
}
|
|
2062
|
-
};
|
|
2063
|
-
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
2064
|
-
error;
|
|
2065
|
-
const googleErrorMessage = ((_l = (_k = (_j = (_h = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.extensions) === null || _l === void 0 ? void 0 : _l.message) || ((_p = (_o = (_m = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _m === void 0 ? void 0 : _m.errors) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.message) ||
|
|
2066
|
-
error;
|
|
2067
|
-
return {
|
|
2068
|
-
states: {
|
|
2069
|
-
loading: loading || gLoading,
|
|
2070
|
-
error: errorMessage || googleErrorMessage,
|
|
2071
|
-
registerPath: props.registerPath,
|
|
2072
|
-
forgotPasswordPath: props.forgotPasswordPath,
|
|
2073
|
-
},
|
|
2074
|
-
callbacks: {
|
|
2075
|
-
googleSubmit,
|
|
2076
|
-
submit,
|
|
2077
|
-
},
|
|
2078
|
-
};
|
|
2079
|
-
}
|
|
2080
|
-
|
|
2081
2395
|
const PortalLogin = class {
|
|
2082
2396
|
constructor(hostRef) {
|
|
2083
2397
|
index.registerInstance(this, hostRef);
|
|
@@ -2135,17 +2449,13 @@ const PortalLogin = class {
|
|
|
2135
2449
|
* @uiName Register CTA
|
|
2136
2450
|
*/
|
|
2137
2451
|
this.registerCTA = "Don't have an account?";
|
|
2138
|
-
/**
|
|
2139
|
-
* @undocumented
|
|
2140
|
-
*/
|
|
2141
|
-
this.showGoogleLogin = false;
|
|
2142
2452
|
stencilHooks_module.h$1(this);
|
|
2143
2453
|
}
|
|
2144
2454
|
disconnectedCallback() { }
|
|
2145
2455
|
render() {
|
|
2146
2456
|
const { states, callbacks } = index_module.isDemo()
|
|
2147
2457
|
? useLoginDemo(this)
|
|
2148
|
-
: usePortalLogin(this);
|
|
2458
|
+
: usePortalLogin.usePortalLogin(this);
|
|
2149
2459
|
const styles = {
|
|
2150
2460
|
RegisterButton: {
|
|
2151
2461
|
"&::part(label)": {
|
|
@@ -2157,14 +2467,14 @@ const PortalLogin = class {
|
|
|
2157
2467
|
const styleString = sheet.toString();
|
|
2158
2468
|
const content = {
|
|
2159
2469
|
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2160
|
-
googleButton:
|
|
2161
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString),
|
|
2470
|
+
googleButton: null,
|
|
2471
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel))),
|
|
2162
2472
|
emailLabel: this.emailLabel,
|
|
2163
2473
|
passwordLabel: this.passwordLabel,
|
|
2164
2474
|
submitLabel: this.submitLabel,
|
|
2165
2475
|
pageLabel: this.pageLabel,
|
|
2166
2476
|
};
|
|
2167
|
-
return (index.h(
|
|
2477
|
+
return (index.h(sqmPortalLoginView.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
2168
2478
|
}
|
|
2169
2479
|
};
|
|
2170
2480
|
function useLoginDemo(props) {
|
|
@@ -2653,7 +2963,7 @@ const ProgramMenu = class {
|
|
|
2653
2963
|
}
|
|
2654
2964
|
};
|
|
2655
2965
|
|
|
2656
|
-
const style$
|
|
2966
|
+
const style$4 = {
|
|
2657
2967
|
Container: {
|
|
2658
2968
|
borderRadius: "var(--sl-border-radius-large)",
|
|
2659
2969
|
color: "var(--sl-color-neutral-900)",
|
|
@@ -2681,15 +2991,15 @@ const style$2 = {
|
|
|
2681
2991
|
},
|
|
2682
2992
|
},
|
|
2683
2993
|
};
|
|
2684
|
-
const sheet$
|
|
2685
|
-
const styleString$
|
|
2994
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
2995
|
+
const styleString$4 = sheet$4.toString();
|
|
2686
2996
|
const vanillaStyle$1 = `
|
|
2687
2997
|
:host{
|
|
2688
2998
|
display: block;
|
|
2689
2999
|
}
|
|
2690
3000
|
`;
|
|
2691
3001
|
function ReferralCardView(props) {
|
|
2692
|
-
return (index.h("div", { part: "sqm-base", class: sheet$
|
|
3002
|
+
return (index.h("div", { part: "sqm-base", class: sheet$4.classes.Container, style: {
|
|
2693
3003
|
border: `${props.hideBorder ? "none" : "1px solid var(--sl-color-neutral-300)"}`,
|
|
2694
3004
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
2695
3005
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
@@ -2700,15 +3010,15 @@ function ReferralCardView(props) {
|
|
|
2700
3010
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
2701
3011
|
} },
|
|
2702
3012
|
index.h("style", { type: "text/css" },
|
|
2703
|
-
styleString$
|
|
3013
|
+
styleString$4,
|
|
2704
3014
|
vanillaStyle$1),
|
|
2705
|
-
props.hasHeader && (index.h("div", { class: sheet$
|
|
2706
|
-
index.h("div", { part: "sqm-column-container", class: sheet$
|
|
3015
|
+
props.hasHeader && (index.h("div", { class: sheet$4.classes.EndContainer }, props.slots.header)),
|
|
3016
|
+
index.h("div", { part: "sqm-column-container", class: sheet$4.classes.ColumnContainer, style: {
|
|
2707
3017
|
alignItems: props.verticalAlignment,
|
|
2708
3018
|
} },
|
|
2709
3019
|
props.slots.left,
|
|
2710
3020
|
props.slots.right),
|
|
2711
|
-
props.hasFooter && (index.h("div", { class: sheet$
|
|
3021
|
+
props.hasFooter && (index.h("div", { class: sheet$4.classes.EndContainer }, props.slots.footer))));
|
|
2712
3022
|
}
|
|
2713
3023
|
|
|
2714
3024
|
const ReferralCard = class {
|
|
@@ -3934,106 +4244,6 @@ const SqmRouter = class {
|
|
|
3934
4244
|
};
|
|
3935
4245
|
SqmRouter.style = sqmRouterCss;
|
|
3936
4246
|
|
|
3937
|
-
const REVEAL_EVENT = "sq:reveal";
|
|
3938
|
-
function useScroll(props) {
|
|
3939
|
-
const { scrollTagName, scrollId } = props;
|
|
3940
|
-
async function scroll() {
|
|
3941
|
-
const element = document === null || document === void 0 ? void 0 : document.querySelector(scrollTagName || `#${scrollId}`);
|
|
3942
|
-
element.dispatchEvent(new CustomEvent(REVEAL_EVENT, {
|
|
3943
|
-
detail: scrollTagName || `#${scrollId}`,
|
|
3944
|
-
bubbles: true,
|
|
3945
|
-
composed: true,
|
|
3946
|
-
}));
|
|
3947
|
-
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
3948
|
-
element.scrollIntoView({ behavior: props.scrollAnimation });
|
|
3949
|
-
}
|
|
3950
|
-
return {
|
|
3951
|
-
callbacks: { scroll },
|
|
3952
|
-
};
|
|
3953
|
-
}
|
|
3954
|
-
|
|
3955
|
-
const Scroll = class {
|
|
3956
|
-
constructor(hostRef) {
|
|
3957
|
-
index.registerInstance(this, hostRef);
|
|
3958
|
-
this.ignored = true;
|
|
3959
|
-
/**
|
|
3960
|
-
* @uiName Button type
|
|
3961
|
-
* @uiType string
|
|
3962
|
-
* @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
|
|
3963
|
-
* @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
|
|
3964
|
-
|
|
3965
|
-
*/
|
|
3966
|
-
this.buttonType = "default";
|
|
3967
|
-
/**
|
|
3968
|
-
* @uiName Scroll animation style
|
|
3969
|
-
* @uiType string
|
|
3970
|
-
* @uiEnum ["smooth", "auto"]
|
|
3971
|
-
* @uiEnumNames ["Smooth", "Auto"]
|
|
3972
|
-
*/
|
|
3973
|
-
this.scrollAnimation = "smooth";
|
|
3974
|
-
stencilHooks_module.h$1(this);
|
|
3975
|
-
}
|
|
3976
|
-
disconnectedCallback() { }
|
|
3977
|
-
render() {
|
|
3978
|
-
var _a;
|
|
3979
|
-
const { callbacks } = useScroll(this);
|
|
3980
|
-
const outlineColor = (_a = this.buttonType) !== null && _a !== void 0 ? _a : "primary";
|
|
3981
|
-
const style = {
|
|
3982
|
-
Button: {
|
|
3983
|
-
"& .outline": {
|
|
3984
|
-
"&::part(base)": {
|
|
3985
|
-
color: "var(--sl-color-" + outlineColor + "-500)",
|
|
3986
|
-
borderColor: "var(--sl-color-" + outlineColor + "-500)",
|
|
3987
|
-
backgroundColor: "transparent",
|
|
3988
|
-
"&:hover": {
|
|
3989
|
-
color: "var(--sl-color-primary-text)",
|
|
3990
|
-
backgroundColor: "var(--sl-color-" + outlineColor + "-500)",
|
|
3991
|
-
},
|
|
3992
|
-
},
|
|
3993
|
-
},
|
|
3994
|
-
"& .neutral": {
|
|
3995
|
-
"&::part(base)": {
|
|
3996
|
-
color: "var(--sl-color-primary-text)",
|
|
3997
|
-
background: "var(--sl-color-neutral-500)",
|
|
3998
|
-
"&:hover": {
|
|
3999
|
-
opacity: "0.8",
|
|
4000
|
-
},
|
|
4001
|
-
},
|
|
4002
|
-
},
|
|
4003
|
-
"& .mobile": {
|
|
4004
|
-
"@media (max-width: 499px)": {
|
|
4005
|
-
width: "100%",
|
|
4006
|
-
},
|
|
4007
|
-
},
|
|
4008
|
-
},
|
|
4009
|
-
};
|
|
4010
|
-
const sheet = JSS.createStyleSheet(style);
|
|
4011
|
-
const styleString = sheet.toString();
|
|
4012
|
-
const vanillaStyle = `
|
|
4013
|
-
:host{
|
|
4014
|
-
display: contents;
|
|
4015
|
-
}
|
|
4016
|
-
${this.mobile &&
|
|
4017
|
-
`
|
|
4018
|
-
@media only screen and (max-width: 499px) {
|
|
4019
|
-
:host {
|
|
4020
|
-
display: block;
|
|
4021
|
-
width: 100%;
|
|
4022
|
-
}
|
|
4023
|
-
}
|
|
4024
|
-
`}
|
|
4025
|
-
`;
|
|
4026
|
-
let classStack = "";
|
|
4027
|
-
if (this.outline && this.buttonType != "default")
|
|
4028
|
-
classStack += "outline ";
|
|
4029
|
-
if (this.buttonType === "neutral")
|
|
4030
|
-
classStack += "neutral ";
|
|
4031
|
-
if (this.mobile)
|
|
4032
|
-
classStack += "mobile ";
|
|
4033
|
-
return (index.h("div", { class: sheet.classes.Button }, index.h("style", { type: "text/css" }, vanillaStyle, styleString), index.h("sl-button", { type: this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill, circle: this.circle, class: classStack }, (this.iconSlot || this.iconName) && (index.h("sl-icon", { slot: this.iconSlot || "prefix", name: this.iconName })), this.buttonText, index.h("slot", null))));
|
|
4034
|
-
}
|
|
4035
|
-
};
|
|
4036
|
-
|
|
4037
4247
|
const sqmShareButtonCss = ":host{display:block}:host([hidden]){display:none}sl-button{display:block}";
|
|
4038
4248
|
|
|
4039
4249
|
const ShareButton = class {
|
|
@@ -4531,7 +4741,7 @@ const Gift = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24
|
|
|
4531
4741
|
const Circle = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4532
4742
|
index.h("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
4533
4743
|
|
|
4534
|
-
const style$
|
|
4744
|
+
const style$5 = {
|
|
4535
4745
|
TimelineReward: {
|
|
4536
4746
|
color: "var(--sl-color-neutral-900)",
|
|
4537
4747
|
lineHeight: "var(--sl-line-height-dense)",
|
|
@@ -4574,8 +4784,8 @@ const style$3 = {
|
|
|
4574
4784
|
},
|
|
4575
4785
|
},
|
|
4576
4786
|
};
|
|
4577
|
-
const sheet$
|
|
4578
|
-
const styleString$
|
|
4787
|
+
const sheet$5 = JSS.createStyleSheet(style$5);
|
|
4788
|
+
const styleString$5 = sheet$5.toString();
|
|
4579
4789
|
const vanillaStyle$2 = `
|
|
4580
4790
|
:host{
|
|
4581
4791
|
display: block;
|
|
@@ -4588,9 +4798,9 @@ const vanillaStyle$2 = `
|
|
|
4588
4798
|
function TimelineEntryView(props) {
|
|
4589
4799
|
var _a;
|
|
4590
4800
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
4591
|
-
return (index.h("div", { class: sheet$
|
|
4801
|
+
return (index.h("div", { class: sheet$5.classes.TimelineReward, part: "sqm-base" },
|
|
4592
4802
|
index.h("style", { type: "text/css" },
|
|
4593
|
-
styleString$
|
|
4803
|
+
styleString$5,
|
|
4594
4804
|
vanillaStyle$2),
|
|
4595
4805
|
index.h("div", { class: "container", part: "sqm-entry-container" },
|
|
4596
4806
|
index.h("div", { class: "line" }, "/"),
|
|
@@ -4698,6 +4908,8 @@ exports.sqm_leaderboard = Leaderboard;
|
|
|
4698
4908
|
exports.sqm_link_button = LinkButton;
|
|
4699
4909
|
exports.sqm_name_fields = NameFields;
|
|
4700
4910
|
exports.sqm_navigation_menu = NavigationMenu;
|
|
4911
|
+
exports.sqm_payout_button_scroll = PayoutButtonScroll;
|
|
4912
|
+
exports.sqm_payout_status_alert = PayoutStatusAlert;
|
|
4701
4913
|
exports.sqm_portal_change_password = PortalChangePassword;
|
|
4702
4914
|
exports.sqm_portal_footer = PortalFooter;
|
|
4703
4915
|
exports.sqm_portal_frame = PortalFrame;
|
|
@@ -4710,7 +4922,6 @@ exports.sqm_referral_card = ReferralCard;
|
|
|
4710
4922
|
exports.sqm_referral_iframe = SqmReferralIframe;
|
|
4711
4923
|
exports.sqm_reward_exchange_list = SqmRewardExchangeList;
|
|
4712
4924
|
exports.sqm_router = SqmRouter;
|
|
4713
|
-
exports.sqm_scroll = Scroll;
|
|
4714
4925
|
exports.sqm_share_button = ShareButton;
|
|
4715
4926
|
exports.sqm_share_code = ShareCode;
|
|
4716
4927
|
exports.sqm_share_link = ShareLink;
|