@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
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { useLazyQuery, useParentState, useSetParent, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useState } from "@saasquatch/stencil-hooks";
|
|
3
|
+
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
|
+
import { gql } from "graphql-request";
|
|
5
|
+
import { SHOW_CODE_NAMESPACE, VERIFICATION_EMAIL_NAMESPACE, VERIFICATION_PARENT_NAMESPACE, } from "./keys";
|
|
6
|
+
const USER_LOOKUP = gql `
|
|
7
|
+
query checkUserVerification {
|
|
8
|
+
viewer {
|
|
9
|
+
... on User {
|
|
10
|
+
id
|
|
11
|
+
accountId
|
|
12
|
+
email
|
|
13
|
+
emailVerified
|
|
14
|
+
managedIdentity {
|
|
15
|
+
email
|
|
16
|
+
emailVerified
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
export function useWidgetVerification() {
|
|
23
|
+
const userIdentity = useUserIdentity();
|
|
24
|
+
const [showCode, setShowCode] = useParentState({
|
|
25
|
+
namespace: SHOW_CODE_NAMESPACE,
|
|
26
|
+
initialValue: false,
|
|
27
|
+
});
|
|
28
|
+
const [email, setEmail] = useParentState({
|
|
29
|
+
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
30
|
+
initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
|
|
31
|
+
});
|
|
32
|
+
const setContext = useSetParent(VERIFICATION_PARENT_NAMESPACE);
|
|
33
|
+
const [loading, setLoading] = useState(true);
|
|
34
|
+
const [fetch] = useLazyQuery(USER_LOOKUP);
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
const checkUser = async () => {
|
|
37
|
+
var _a, _b, _c;
|
|
38
|
+
try {
|
|
39
|
+
const res = await fetch({});
|
|
40
|
+
if (!res || res instanceof Error)
|
|
41
|
+
throw new Error();
|
|
42
|
+
if ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified)
|
|
43
|
+
setContext(true);
|
|
44
|
+
else if ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified)
|
|
45
|
+
setContext(true);
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
console.error("Could not fetch user information:", e);
|
|
49
|
+
}
|
|
50
|
+
finally {
|
|
51
|
+
setLoading(false);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
checkUser();
|
|
55
|
+
}, []);
|
|
56
|
+
const onVerification = () => {
|
|
57
|
+
setContext(true);
|
|
58
|
+
};
|
|
59
|
+
return { showCode, onVerification, loading };
|
|
60
|
+
}
|
|
@@ -4,6 +4,7 @@ export default {
|
|
|
4
4
|
};
|
|
5
5
|
const bankingFormProps = {
|
|
6
6
|
states: {
|
|
7
|
+
showVerification: false,
|
|
7
8
|
hideSteps: false,
|
|
8
9
|
disabled: false,
|
|
9
10
|
loading: false,
|
|
@@ -18,8 +19,11 @@ const bankingFormProps = {
|
|
|
18
19
|
thresholds: [],
|
|
19
20
|
currency: "USD",
|
|
20
21
|
loadingError: false,
|
|
22
|
+
email: "test@example.com",
|
|
21
23
|
},
|
|
22
24
|
callbacks: {
|
|
25
|
+
onVerificationHide: () => { },
|
|
26
|
+
onVerification: () => { },
|
|
23
27
|
onSubmit: async () => console.log("Submit"),
|
|
24
28
|
setPaymentMethodChecked: () => { },
|
|
25
29
|
setPaymentScheduleChecked: () => { },
|
|
@@ -329,3 +333,19 @@ export const BankingInfoFormWithFixedDayPaymentScheduleLoading = () => {
|
|
|
329
333
|
},
|
|
330
334
|
} }));
|
|
331
335
|
};
|
|
336
|
+
export const BankingInfoFormVerififyIdentityModal = () => {
|
|
337
|
+
return (h("sqm-banking-info-form", { demoData: {
|
|
338
|
+
...bankingFormProps,
|
|
339
|
+
states: {
|
|
340
|
+
...bankingFormProps.states,
|
|
341
|
+
isPartner: true,
|
|
342
|
+
showVerification: true,
|
|
343
|
+
formState: {
|
|
344
|
+
...bankingFormProps.states.formState,
|
|
345
|
+
bankCountry: "US",
|
|
346
|
+
paymentScheduleChecked: "FIXED_DAY",
|
|
347
|
+
},
|
|
348
|
+
currency: "USD",
|
|
349
|
+
},
|
|
350
|
+
} }));
|
|
351
|
+
};
|
|
@@ -194,6 +194,7 @@ const stepTwoProps = {
|
|
|
194
194
|
};
|
|
195
195
|
const stepFourProps = {
|
|
196
196
|
states: {
|
|
197
|
+
showVerification: false,
|
|
197
198
|
step: "4",
|
|
198
199
|
hideSteps: false,
|
|
199
200
|
disabled: false,
|
|
@@ -204,11 +205,14 @@ const stepFourProps = {
|
|
|
204
205
|
saveDisabled: false,
|
|
205
206
|
thresholds: [],
|
|
206
207
|
loadingError: false,
|
|
208
|
+
email: "test@example.com",
|
|
207
209
|
formState: {
|
|
208
210
|
paymentMethodChecked: "toBankAccount",
|
|
209
211
|
},
|
|
210
212
|
},
|
|
211
213
|
callbacks: {
|
|
214
|
+
onVerificationHide: () => { },
|
|
215
|
+
onVerification: () => { },
|
|
212
216
|
onSubmit: async () => console.log("Submit"),
|
|
213
217
|
setPaymentMethodChecked: () => { },
|
|
214
218
|
setPaymentScheduleChecked: () => { },
|
|
@@ -245,6 +249,8 @@ const docusignFormProps = {
|
|
|
245
249
|
};
|
|
246
250
|
const dashboardProps = {
|
|
247
251
|
states: {
|
|
252
|
+
veriffLoading: false,
|
|
253
|
+
payoutStatus: "DONE",
|
|
248
254
|
canEditPayoutInfo: true,
|
|
249
255
|
disabled: false,
|
|
250
256
|
status: "ACTIVE",
|
|
@@ -256,6 +262,7 @@ const dashboardProps = {
|
|
|
256
262
|
indirectTaxNumber: "123456",
|
|
257
263
|
indirectTaxType: "VAT",
|
|
258
264
|
showNewFormDialog: false,
|
|
265
|
+
hasHold: false,
|
|
259
266
|
},
|
|
260
267
|
slots: {
|
|
261
268
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
@@ -269,7 +276,7 @@ export const GeneralLoadingView = () => {
|
|
|
269
276
|
return h(LoadingView, null);
|
|
270
277
|
};
|
|
271
278
|
export const GeneralErrorView = () => {
|
|
272
|
-
return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact
|
|
279
|
+
return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact our support team." }));
|
|
273
280
|
};
|
|
274
281
|
// STEP ONE
|
|
275
282
|
export const StepOne = () => {
|
|
@@ -753,6 +760,20 @@ export const StepFourToPaypalChecked = () => {
|
|
|
753
760
|
},
|
|
754
761
|
} }));
|
|
755
762
|
};
|
|
763
|
+
export const StepFourReVerifyEmail = () => {
|
|
764
|
+
return (h("sqm-banking-info-form", { demoData: {
|
|
765
|
+
...stepFourProps,
|
|
766
|
+
states: {
|
|
767
|
+
...stepFourProps.states,
|
|
768
|
+
showVerification: true,
|
|
769
|
+
isPartner: true,
|
|
770
|
+
formState: {
|
|
771
|
+
...stepFourProps.states.formState,
|
|
772
|
+
paymentMethodChecked: "toPayPalAccount",
|
|
773
|
+
},
|
|
774
|
+
},
|
|
775
|
+
} }));
|
|
776
|
+
};
|
|
756
777
|
export const TaxAndCashDashboardActiveW9Form = () => {
|
|
757
778
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
758
779
|
...dashboardProps,
|
|
@@ -762,6 +783,8 @@ export const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
762
783
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
763
784
|
...dashboardProps,
|
|
764
785
|
states: {
|
|
786
|
+
payoutStatus: "DONE",
|
|
787
|
+
veriffLoading: false,
|
|
765
788
|
noFormNeeded: false,
|
|
766
789
|
canEditPayoutInfo: true,
|
|
767
790
|
documentType: "W8BEN",
|
|
@@ -770,6 +793,7 @@ export const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
770
793
|
indirectTaxType: "VAT",
|
|
771
794
|
indirectTaxNumber: "123456",
|
|
772
795
|
showNewFormDialog: false,
|
|
796
|
+
hasHold: false,
|
|
773
797
|
},
|
|
774
798
|
} }));
|
|
775
799
|
};
|
|
@@ -777,6 +801,8 @@ export const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
777
801
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
778
802
|
...dashboardProps,
|
|
779
803
|
states: {
|
|
804
|
+
payoutStatus: "DONE",
|
|
805
|
+
veriffLoading: false,
|
|
780
806
|
noFormNeeded: false,
|
|
781
807
|
canEditPayoutInfo: true,
|
|
782
808
|
documentType: "W8BENE",
|
|
@@ -785,6 +811,7 @@ export const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
785
811
|
indirectTaxType: "VAT",
|
|
786
812
|
indirectTaxNumber: "123456",
|
|
787
813
|
showNewFormDialog: false,
|
|
814
|
+
hasHold: false,
|
|
788
815
|
},
|
|
789
816
|
} }));
|
|
790
817
|
};
|
|
@@ -792,6 +819,8 @@ export const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
792
819
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
793
820
|
...dashboardProps,
|
|
794
821
|
states: {
|
|
822
|
+
payoutStatus: "DONE",
|
|
823
|
+
veriffLoading: false,
|
|
795
824
|
noFormNeeded: false,
|
|
796
825
|
canEditPayoutInfo: true,
|
|
797
826
|
status: "INACTIVE",
|
|
@@ -801,6 +830,7 @@ export const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
801
830
|
indirectTaxType: "VAT",
|
|
802
831
|
indirectTaxNumber: "123456",
|
|
803
832
|
showNewFormDialog: false,
|
|
833
|
+
hasHold: false,
|
|
804
834
|
},
|
|
805
835
|
} }));
|
|
806
836
|
};
|
|
@@ -808,6 +838,7 @@ export const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
808
838
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
809
839
|
...dashboardProps,
|
|
810
840
|
states: {
|
|
841
|
+
payoutStatus: "DONE",
|
|
811
842
|
canEditPayoutInfo: true,
|
|
812
843
|
disabled: false,
|
|
813
844
|
status: "NOT_VERIFIED",
|
|
@@ -818,6 +849,8 @@ export const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
818
849
|
indirectTaxType: "VAT",
|
|
819
850
|
indirectTaxNumber: "123456",
|
|
820
851
|
showNewFormDialog: false,
|
|
852
|
+
hasHold: false,
|
|
853
|
+
veriffLoading: false,
|
|
821
854
|
},
|
|
822
855
|
} }));
|
|
823
856
|
};
|
|
@@ -825,6 +858,8 @@ export const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
825
858
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
826
859
|
...dashboardProps,
|
|
827
860
|
states: {
|
|
861
|
+
payoutStatus: "DONE",
|
|
862
|
+
veriffLoading: false,
|
|
828
863
|
canEditPayoutInfo: true,
|
|
829
864
|
disabled: false,
|
|
830
865
|
status: "NOT_VERIFIED",
|
|
@@ -836,6 +871,7 @@ export const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
836
871
|
indirectTaxType: "VAT",
|
|
837
872
|
indirectTaxNumber: "123456",
|
|
838
873
|
showNewFormDialog: false,
|
|
874
|
+
hasHold: false,
|
|
839
875
|
},
|
|
840
876
|
} }));
|
|
841
877
|
};
|
|
@@ -843,6 +879,8 @@ export const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
843
879
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
844
880
|
...dashboardProps,
|
|
845
881
|
states: {
|
|
882
|
+
payoutStatus: "DONE",
|
|
883
|
+
veriffLoading: false,
|
|
846
884
|
canEditPayoutInfo: true,
|
|
847
885
|
disabled: false,
|
|
848
886
|
status: "NOT_VERIFIED",
|
|
@@ -854,6 +892,7 @@ export const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
854
892
|
indirectTaxType: "VAT",
|
|
855
893
|
indirectTaxNumber: "123456",
|
|
856
894
|
showNewFormDialog: false,
|
|
895
|
+
hasHold: false,
|
|
857
896
|
},
|
|
858
897
|
} }));
|
|
859
898
|
};
|
|
@@ -861,6 +900,8 @@ export const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
861
900
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
862
901
|
...dashboardProps,
|
|
863
902
|
states: {
|
|
903
|
+
payoutStatus: "DONE",
|
|
904
|
+
veriffLoading: false,
|
|
864
905
|
canEditPayoutInfo: true,
|
|
865
906
|
disabled: false,
|
|
866
907
|
status: "NOT_ACTIVE",
|
|
@@ -872,6 +913,7 @@ export const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
872
913
|
indirectTaxType: "VAT",
|
|
873
914
|
country: "United Kingdom",
|
|
874
915
|
showNewFormDialog: false,
|
|
916
|
+
hasHold: false,
|
|
875
917
|
},
|
|
876
918
|
} }));
|
|
877
919
|
};
|
|
@@ -879,6 +921,8 @@ export const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
879
921
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
880
922
|
...dashboardProps,
|
|
881
923
|
states: {
|
|
924
|
+
payoutStatus: "DONE",
|
|
925
|
+
veriffLoading: false,
|
|
882
926
|
canEditPayoutInfo: true,
|
|
883
927
|
disabled: false,
|
|
884
928
|
documentType: "W9",
|
|
@@ -890,6 +934,7 @@ export const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
890
934
|
indirectTaxNumber: "123456",
|
|
891
935
|
indirectTaxType: "GST",
|
|
892
936
|
showNewFormDialog: false,
|
|
937
|
+
hasHold: false,
|
|
893
938
|
},
|
|
894
939
|
} }));
|
|
895
940
|
};
|
|
@@ -897,6 +942,8 @@ export const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
897
942
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
898
943
|
...dashboardProps,
|
|
899
944
|
states: {
|
|
945
|
+
payoutStatus: "DONE",
|
|
946
|
+
veriffLoading: false,
|
|
900
947
|
canEditPayoutInfo: true,
|
|
901
948
|
status: "ACTIVE",
|
|
902
949
|
disabled: false,
|
|
@@ -909,6 +956,7 @@ export const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
909
956
|
indirectTaxType: "GST",
|
|
910
957
|
indirectTaxNumber: "123456",
|
|
911
958
|
showNewFormDialog: false,
|
|
959
|
+
hasHold: false,
|
|
912
960
|
},
|
|
913
961
|
} }));
|
|
914
962
|
};
|
|
@@ -916,6 +964,8 @@ export const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
916
964
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
917
965
|
...dashboardProps,
|
|
918
966
|
states: {
|
|
967
|
+
payoutStatus: "DONE",
|
|
968
|
+
veriffLoading: false,
|
|
919
969
|
canEditPayoutInfo: true,
|
|
920
970
|
status: "ACTIVE",
|
|
921
971
|
disabled: false,
|
|
@@ -929,6 +979,7 @@ export const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
929
979
|
indirectTaxNumber: "123456",
|
|
930
980
|
qstNumber: "44212",
|
|
931
981
|
showNewFormDialog: false,
|
|
982
|
+
hasHold: false,
|
|
932
983
|
},
|
|
933
984
|
} }));
|
|
934
985
|
};
|
|
@@ -936,6 +987,8 @@ export const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
936
987
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
937
988
|
...dashboardProps,
|
|
938
989
|
states: {
|
|
990
|
+
payoutStatus: "DONE",
|
|
991
|
+
veriffLoading: false,
|
|
939
992
|
canEditPayoutInfo: true,
|
|
940
993
|
status: "ACTIVE",
|
|
941
994
|
disabled: false,
|
|
@@ -949,6 +1002,7 @@ export const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
949
1002
|
indirectTaxNumber: "123456",
|
|
950
1003
|
subRegionTaxNumber: "44212",
|
|
951
1004
|
showNewFormDialog: false,
|
|
1005
|
+
hasHold: false,
|
|
952
1006
|
},
|
|
953
1007
|
} }));
|
|
954
1008
|
};
|
|
@@ -956,6 +1010,80 @@ export const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
956
1010
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
957
1011
|
...dashboardProps,
|
|
958
1012
|
states: {
|
|
1013
|
+
payoutStatus: "DONE",
|
|
1014
|
+
veriffLoading: false,
|
|
1015
|
+
canEditPayoutInfo: true,
|
|
1016
|
+
status: "ACTIVE",
|
|
1017
|
+
documentType: "W8BEN",
|
|
1018
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1019
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1020
|
+
noFormNeeded: false,
|
|
1021
|
+
notRegistered: true,
|
|
1022
|
+
showNewFormDialog: false,
|
|
1023
|
+
hasHold: false,
|
|
1024
|
+
},
|
|
1025
|
+
} }));
|
|
1026
|
+
};
|
|
1027
|
+
export const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
1028
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1029
|
+
...dashboardProps,
|
|
1030
|
+
states: {
|
|
1031
|
+
payoutStatus: "VERIFICATION:REQUIRED",
|
|
1032
|
+
veriffLoading: false,
|
|
1033
|
+
canEditPayoutInfo: true,
|
|
1034
|
+
status: "ACTIVE",
|
|
1035
|
+
documentType: "W8BEN",
|
|
1036
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1037
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1038
|
+
noFormNeeded: false,
|
|
1039
|
+
notRegistered: true,
|
|
1040
|
+
showNewFormDialog: false,
|
|
1041
|
+
hasHold: false,
|
|
1042
|
+
},
|
|
1043
|
+
} }));
|
|
1044
|
+
};
|
|
1045
|
+
export const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
1046
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1047
|
+
...dashboardProps,
|
|
1048
|
+
states: {
|
|
1049
|
+
payoutStatus: "VERIFICATION:INTERNAL",
|
|
1050
|
+
veriffLoading: false,
|
|
1051
|
+
canEditPayoutInfo: true,
|
|
1052
|
+
status: "ACTIVE",
|
|
1053
|
+
documentType: "W8BEN",
|
|
1054
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1055
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1056
|
+
noFormNeeded: false,
|
|
1057
|
+
notRegistered: true,
|
|
1058
|
+
showNewFormDialog: false,
|
|
1059
|
+
hasHold: false,
|
|
1060
|
+
},
|
|
1061
|
+
} }));
|
|
1062
|
+
};
|
|
1063
|
+
export const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
1064
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1065
|
+
...dashboardProps,
|
|
1066
|
+
states: {
|
|
1067
|
+
payoutStatus: "VERIFICATION:REVIEW",
|
|
1068
|
+
veriffLoading: false,
|
|
1069
|
+
canEditPayoutInfo: true,
|
|
1070
|
+
status: "ACTIVE",
|
|
1071
|
+
documentType: "W8BEN",
|
|
1072
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1073
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1074
|
+
noFormNeeded: false,
|
|
1075
|
+
notRegistered: true,
|
|
1076
|
+
showNewFormDialog: false,
|
|
1077
|
+
hasHold: false,
|
|
1078
|
+
},
|
|
1079
|
+
} }));
|
|
1080
|
+
};
|
|
1081
|
+
export const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
1082
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1083
|
+
...dashboardProps,
|
|
1084
|
+
states: {
|
|
1085
|
+
payoutStatus: "VERIFICATION:FAILED",
|
|
1086
|
+
veriffLoading: false,
|
|
959
1087
|
canEditPayoutInfo: true,
|
|
960
1088
|
status: "ACTIVE",
|
|
961
1089
|
documentType: "W8BEN",
|
|
@@ -964,6 +1092,7 @@ export const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
964
1092
|
noFormNeeded: false,
|
|
965
1093
|
notRegistered: true,
|
|
966
1094
|
showNewFormDialog: false,
|
|
1095
|
+
hasHold: false,
|
|
967
1096
|
},
|
|
968
1097
|
} }));
|
|
969
1098
|
};
|
|
@@ -971,6 +1100,8 @@ export const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
971
1100
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
972
1101
|
...dashboardProps,
|
|
973
1102
|
states: {
|
|
1103
|
+
payoutStatus: "DONE",
|
|
1104
|
+
veriffLoading: false,
|
|
974
1105
|
canEditPayoutInfo: true,
|
|
975
1106
|
status: "ACTIVE",
|
|
976
1107
|
documentType: "W8BEN",
|
|
@@ -979,6 +1110,27 @@ export const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
979
1110
|
noFormNeeded: false,
|
|
980
1111
|
notRegistered: true,
|
|
981
1112
|
showNewFormDialog: true,
|
|
1113
|
+
hasHold: false,
|
|
1114
|
+
},
|
|
1115
|
+
} }));
|
|
1116
|
+
};
|
|
1117
|
+
export const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
1118
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1119
|
+
...dashboardProps,
|
|
1120
|
+
states: {
|
|
1121
|
+
payoutStatus: "DONE",
|
|
1122
|
+
veriffLoading: false,
|
|
1123
|
+
canEditPayoutInfo: true,
|
|
1124
|
+
disabled: true,
|
|
1125
|
+
status: "ACTIVE",
|
|
1126
|
+
documentType: "W8BEN",
|
|
1127
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1128
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1129
|
+
noFormNeeded: false,
|
|
1130
|
+
indirectTaxNumber: "123456",
|
|
1131
|
+
country: "Slovania",
|
|
1132
|
+
showNewFormDialog: false,
|
|
1133
|
+
hasHold: true,
|
|
982
1134
|
},
|
|
983
1135
|
} }));
|
|
984
1136
|
};
|
|
@@ -986,6 +1138,8 @@ export const TaxAndCashDashboardLoading = () => {
|
|
|
986
1138
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
987
1139
|
...dashboardProps,
|
|
988
1140
|
states: {
|
|
1141
|
+
payoutStatus: "DONE",
|
|
1142
|
+
veriffLoading: false,
|
|
989
1143
|
canEditPayoutInfo: true,
|
|
990
1144
|
disabled: false,
|
|
991
1145
|
status: "ACTIVE",
|
|
@@ -995,6 +1149,7 @@ export const TaxAndCashDashboardLoading = () => {
|
|
|
995
1149
|
noFormNeeded: false,
|
|
996
1150
|
loading: true,
|
|
997
1151
|
showNewFormDialog: false,
|
|
1152
|
+
hasHold: false,
|
|
998
1153
|
},
|
|
999
1154
|
} }));
|
|
1000
1155
|
};
|
|
@@ -1002,6 +1157,8 @@ export const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
1002
1157
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1003
1158
|
...dashboardProps,
|
|
1004
1159
|
states: {
|
|
1160
|
+
payoutStatus: "DONE",
|
|
1161
|
+
veriffLoading: false,
|
|
1005
1162
|
disabled: false,
|
|
1006
1163
|
canEditPayoutInfo: true,
|
|
1007
1164
|
status: "ACTIVE",
|
|
@@ -1012,6 +1169,7 @@ export const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
1012
1169
|
loading: true,
|
|
1013
1170
|
loadingError: true,
|
|
1014
1171
|
showNewFormDialog: false,
|
|
1172
|
+
hasHold: false,
|
|
1015
1173
|
},
|
|
1016
1174
|
} }));
|
|
1017
1175
|
};
|
|
@@ -1019,6 +1177,8 @@ export const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
1019
1177
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1020
1178
|
...dashboardProps,
|
|
1021
1179
|
states: {
|
|
1180
|
+
payoutStatus: "DONE",
|
|
1181
|
+
veriffLoading: false,
|
|
1022
1182
|
canEditPayoutInfo: true,
|
|
1023
1183
|
disabled: false,
|
|
1024
1184
|
status: "ACTIVE",
|
|
@@ -1030,6 +1190,7 @@ export const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
1030
1190
|
indirectTaxType: "VAT",
|
|
1031
1191
|
country: "Slovania",
|
|
1032
1192
|
showNewFormDialog: false,
|
|
1193
|
+
hasHold: false,
|
|
1033
1194
|
errors: {
|
|
1034
1195
|
general: true,
|
|
1035
1196
|
},
|
|
@@ -1040,6 +1201,8 @@ export const TaxAndCashDashboardDisabled = () => {
|
|
|
1040
1201
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1041
1202
|
...dashboardProps,
|
|
1042
1203
|
states: {
|
|
1204
|
+
payoutStatus: "DONE",
|
|
1205
|
+
veriffLoading: false,
|
|
1043
1206
|
canEditPayoutInfo: true,
|
|
1044
1207
|
disabled: true,
|
|
1045
1208
|
status: "ACTIVE",
|
|
@@ -1050,6 +1213,7 @@ export const TaxAndCashDashboardDisabled = () => {
|
|
|
1050
1213
|
indirectTaxNumber: "123456",
|
|
1051
1214
|
country: "Slovania",
|
|
1052
1215
|
showNewFormDialog: false,
|
|
1216
|
+
hasHold: false,
|
|
1053
1217
|
},
|
|
1054
1218
|
} }));
|
|
1055
1219
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const TAX_FORM_UPDATED_EVENT_KEY = "sqm:tax-form-updated";
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js
CHANGED
|
@@ -223,12 +223,22 @@ export const BankingInfoFormView = (props) => {
|
|
|
223
223
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
224
224
|
h("strong", null, text.error.generalTitle),
|
|
225
225
|
h("br", null),
|
|
226
|
-
|
|
226
|
+
intl.formatMessage({
|
|
227
|
+
id: "generalDescription",
|
|
228
|
+
defaultMessage: text.error.generalDescription,
|
|
229
|
+
}, {
|
|
230
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
231
|
+
}))),
|
|
227
232
|
states.isPartner && !states.hideSteps && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
|
|
228
233
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
229
234
|
h("strong", null, text.isPartnerAlertHeader),
|
|
230
235
|
h("br", null),
|
|
231
|
-
|
|
236
|
+
intl.formatMessage({
|
|
237
|
+
id: "isPartnerAlertDescription",
|
|
238
|
+
defaultMessage: text.isPartnerAlertDescription,
|
|
239
|
+
}, {
|
|
240
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
241
|
+
}))),
|
|
232
242
|
h("div", null,
|
|
233
243
|
h("h4", null, text.paymentMethod),
|
|
234
244
|
h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
|