@saasquatch/mint-components 1.13.0-9 → 1.13.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-d98f73be.js} +109 -157
- 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 +265 -73
- 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-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-ddfbe8e2.js} +110 -157
- 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 +263 -71
- 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-ddfbe8e2.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-11d8ea66.system.js +1 -0
- 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-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-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-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-68d18642.entry.js +9 -0
- package/dist/mint-components/{p-b9d17fa1.entry.js → p-693942df.entry.js} +1 -1
- package/dist/mint-components/p-6b78811d.entry.js +241 -0
- 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-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-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-b3532369.js +394 -0
- 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-c8cbb40f.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-d1b92919.system.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-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/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -4
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/esm-es5/ShadowViewAddon-eba44767.js +0 -1
- package/dist/esm-es5/index.module-a2989d3c.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-98c4db70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-8e2bb54a.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-90e2bfd5.js +0 -1
- package/dist/mint-components/p-0323586f.entry.js +0 -223
- package/dist/mint-components/p-046f4631.system.js +0 -1
- package/dist/mint-components/p-0e53c59e.system.js +0 -1
- package/dist/mint-components/p-16c7bfda.js +0 -391
- package/dist/mint-components/p-28042d23.entry.js +0 -174
- package/dist/mint-components/p-30108c0e.js +0 -1
- package/dist/mint-components/p-31a691af.js +0 -1
- package/dist/mint-components/p-39b1a7fe.js +0 -1
- package/dist/mint-components/p-3bdd338c.system.js +0 -1
- package/dist/mint-components/p-3ec660e9.js +0 -1
- package/dist/mint-components/p-46ab5f80.system.js +0 -1
- package/dist/mint-components/p-4daa3f8a.system.entry.js +0 -1
- package/dist/mint-components/p-62f6627d.js +0 -1
- package/dist/mint-components/p-6a89b821.system.entry.js +0 -1
- package/dist/mint-components/p-749c7c9c.system.js +0 -1
- package/dist/mint-components/p-868f176e.entry.js +0 -1
- package/dist/mint-components/p-8d77feee.js +0 -1
- package/dist/mint-components/p-96b48c2b.system.js +0 -1
- package/dist/mint-components/p-a1f40614.system.entry.js +0 -1
- package/dist/mint-components/p-ac2b7eb8.system.js +0 -1
- package/dist/mint-components/p-b611eefd.entry.js +0 -1
- package/dist/mint-components/p-c4b21562.system.entry.js +0 -1
- package/dist/mint-components/p-c6a8c075.system.js +0 -1
- package/dist/mint-components/p-cd480e3f.entry.js +0 -33
- package/dist/mint-components/p-cf505e92.system.js +0 -1
- package/dist/mint-components/p-d671e44e.system.js +0 -1
- package/dist/mint-components/p-d7ed4bb5.entry.js +0 -1
- package/dist/mint-components/p-d87ce3d2.js +0 -1
- package/dist/mint-components/p-ea9fd654.entry.js +0 -9
- package/dist/mint-components/p-fe4a9dfe.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn,
|
|
3
|
+
import { i as intl } from './global-be1f9992.js';
|
|
4
|
+
import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn, r as Ue, V as Ve, u as useCallback, Q as Qe, k as kn } from './index.module-89a79f66.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps, a as getMissingProps
|
|
7
|
+
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
9
|
+
import { C as CopyTextView } from './copy-text-view-459a2e35.js';
|
|
10
10
|
import './mixins-83f90fa1.js';
|
|
11
|
-
import { a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { a as useRequestRerender } from './re-render-cc945f38.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
13
13
|
import './luxon-8d51c92b.js';
|
|
14
14
|
import './sqm-text-span-view-ca32495e.js';
|
|
15
15
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
16
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
|
|
17
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-7e49609a.js';
|
|
18
|
+
import { u as usePortalLogin } from './usePortalLogin-ef647a50.js';
|
|
17
19
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { i as isEmpty } from './utilities-
|
|
19
|
-
import { b as useDemoBigStat,
|
|
20
|
+
import { i as isEmpty } from './utilities-5b0ca040.js';
|
|
21
|
+
import { b as useDemoBigStat, Q as useBigStat, B as BigStatView, M as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, J as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, V as demoRewardExchange, i as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-ddfbe8e2.js';
|
|
20
22
|
import './sqm-portal-container-view-1683ae32.js';
|
|
23
|
+
import { u as usePayoutStatus } from './usePayoutStatus-58aa56b4.js';
|
|
21
24
|
|
|
22
25
|
const BigStat = class {
|
|
23
26
|
constructor(hostRef) {
|
|
@@ -1717,6 +1720,378 @@ function useNavigationMenuDemo(props) {
|
|
|
1717
1720
|
}
|
|
1718
1721
|
NavigationMenu.style = sqmNavigationMenuCss;
|
|
1719
1722
|
|
|
1723
|
+
const style$2 = {
|
|
1724
|
+
Wrapper: {
|
|
1725
|
+
maxWidth: "200px",
|
|
1726
|
+
marginLeft: "auto",
|
|
1727
|
+
},
|
|
1728
|
+
PayoutButtonDescription: {
|
|
1729
|
+
color: "var(--sl-color-neutral-500)",
|
|
1730
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1731
|
+
margin: "0",
|
|
1732
|
+
},
|
|
1733
|
+
};
|
|
1734
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
1735
|
+
const styleString$2 = sheet$2.toString();
|
|
1736
|
+
function PayoutButtonScrollView(props) {
|
|
1737
|
+
const { text, states } = props;
|
|
1738
|
+
if (!states.payoutSettingsComplete)
|
|
1739
|
+
return h$1("div", null);
|
|
1740
|
+
return (h$1("div", { class: sheet$2.classes.Wrapper },
|
|
1741
|
+
h$1("style", { type: "text/css" }, styleString$2),
|
|
1742
|
+
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.payoutButtonText, "scroll-animation": "smooth" }),
|
|
1743
|
+
h$1("p", { class: sheet$2.classes.PayoutButtonDescription }, text.payoutButtonDescription)));
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
const GET_PAYOUT_DETAILS = dist.gql `
|
|
1747
|
+
query getPayoutDetails {
|
|
1748
|
+
user: viewer {
|
|
1749
|
+
... on User {
|
|
1750
|
+
id
|
|
1751
|
+
impactConnection {
|
|
1752
|
+
connected
|
|
1753
|
+
publisher {
|
|
1754
|
+
id
|
|
1755
|
+
payoutsAccount {
|
|
1756
|
+
hold
|
|
1757
|
+
balance
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
`;
|
|
1765
|
+
function usePayoutButton(props) {
|
|
1766
|
+
var _a, _b, _c;
|
|
1767
|
+
const { data, refetch } = wn(GET_PAYOUT_DETAILS, {});
|
|
1768
|
+
useEffect(() => {
|
|
1769
|
+
const cb = () => refetch();
|
|
1770
|
+
window.addEventListener("sqm:tax-form-updated", cb);
|
|
1771
|
+
return () => window.removeEventListener("sqm:tax-form-updated", cb);
|
|
1772
|
+
}, []);
|
|
1773
|
+
return {
|
|
1774
|
+
states: {
|
|
1775
|
+
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),
|
|
1776
|
+
},
|
|
1777
|
+
text: props.getTextProps(),
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
const PayoutButtonScroll = class {
|
|
1782
|
+
constructor(hostRef) {
|
|
1783
|
+
registerInstance(this, hostRef);
|
|
1784
|
+
/**
|
|
1785
|
+
* @uiName Payout button text
|
|
1786
|
+
*/
|
|
1787
|
+
this.payoutButtonText = "Payouts & Tax Settings";
|
|
1788
|
+
/**
|
|
1789
|
+
* Description text under payout button
|
|
1790
|
+
* @uiName Payout button description text
|
|
1791
|
+
*/
|
|
1792
|
+
this.payoutButtonDescription = "Check your payout settings to see when you’ll get paid out next";
|
|
1793
|
+
this.ignored = true;
|
|
1794
|
+
h(this);
|
|
1795
|
+
}
|
|
1796
|
+
disconnectedCallback() { }
|
|
1797
|
+
getTextProps() {
|
|
1798
|
+
return getProps(this);
|
|
1799
|
+
}
|
|
1800
|
+
render() {
|
|
1801
|
+
const props = isDemo()
|
|
1802
|
+
? useDemoPayoutButtonScroll(this)
|
|
1803
|
+
: usePayoutButton(this);
|
|
1804
|
+
return h$1(PayoutButtonScrollView, Object.assign({}, props));
|
|
1805
|
+
}
|
|
1806
|
+
};
|
|
1807
|
+
function useDemoPayoutButtonScroll(props) {
|
|
1808
|
+
return cjs({
|
|
1809
|
+
states: {
|
|
1810
|
+
payoutSettingsComplete: false,
|
|
1811
|
+
},
|
|
1812
|
+
text: props.getTextProps(),
|
|
1813
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
const style$3 = {
|
|
1817
|
+
SkeletonOne: {
|
|
1818
|
+
width: "50%",
|
|
1819
|
+
height: "16px",
|
|
1820
|
+
},
|
|
1821
|
+
AlertDescriptionText: {
|
|
1822
|
+
margin: "0",
|
|
1823
|
+
marginBottom: "var(--sl-spacing-small)",
|
|
1824
|
+
},
|
|
1825
|
+
ErrorAlertContainer: {
|
|
1826
|
+
"&::part(base)": {
|
|
1827
|
+
backgroundColor: "var(--sl-color-red-100)",
|
|
1828
|
+
borderTop: "none",
|
|
1829
|
+
},
|
|
1830
|
+
"& sl-icon::part(base)": {
|
|
1831
|
+
color: "var(--sl-color-danger-500)",
|
|
1832
|
+
},
|
|
1833
|
+
},
|
|
1834
|
+
WarningAlertContainer: {
|
|
1835
|
+
"&::part(base)": {
|
|
1836
|
+
backgroundColor: "var(--sl-color-yellow-100)",
|
|
1837
|
+
borderTop: "none",
|
|
1838
|
+
},
|
|
1839
|
+
"& sl-icon::part(base)": {
|
|
1840
|
+
color: "var(--sl-color-danger-500)",
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
InfoAlertContainer: {
|
|
1844
|
+
"&::part(base)": {
|
|
1845
|
+
backgroundColor: "var(--sl-color-sky-100)",
|
|
1846
|
+
borderTop: "none",
|
|
1847
|
+
},
|
|
1848
|
+
"& sl-icon::part(base)": {
|
|
1849
|
+
color: "var(--sl-color-blue-500)",
|
|
1850
|
+
},
|
|
1851
|
+
},
|
|
1852
|
+
Dialog: {
|
|
1853
|
+
"&::part(panel)": {
|
|
1854
|
+
height: "600px",
|
|
1855
|
+
},
|
|
1856
|
+
"&::part(close-button)": {
|
|
1857
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
1858
|
+
},
|
|
1859
|
+
"&::part(title)": {
|
|
1860
|
+
display: "none",
|
|
1861
|
+
},
|
|
1862
|
+
"&::part(header)": {},
|
|
1863
|
+
"&::part(body)": { padding: "0" },
|
|
1864
|
+
"&::part(footer)": {},
|
|
1865
|
+
},
|
|
1866
|
+
};
|
|
1867
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1868
|
+
const styleString$3 = sheet$3.toString();
|
|
1869
|
+
function PayoutStatusAlertView(props) {
|
|
1870
|
+
const { text, states, data, callbacks } = props;
|
|
1871
|
+
function getAlert(status) {
|
|
1872
|
+
if (states.error)
|
|
1873
|
+
return {
|
|
1874
|
+
header: text.errorHeader,
|
|
1875
|
+
description: text.errorDescription,
|
|
1876
|
+
buttonText: null,
|
|
1877
|
+
alertType: "critical",
|
|
1878
|
+
icon: "exclamation-triangle",
|
|
1879
|
+
class: sheet$3.classes.ErrorAlertContainer,
|
|
1880
|
+
};
|
|
1881
|
+
switch (status) {
|
|
1882
|
+
case "INFORMATION_REQUIRED":
|
|
1883
|
+
return {
|
|
1884
|
+
header: text.informationRequiredHeader,
|
|
1885
|
+
description: text.informationRequiredDescription,
|
|
1886
|
+
buttonText: text.informationRequiredButtonText,
|
|
1887
|
+
alertType: "info",
|
|
1888
|
+
icon: "info-circle",
|
|
1889
|
+
class: sheet$3.classes.InfoAlertContainer,
|
|
1890
|
+
};
|
|
1891
|
+
case "VERIFICATION:REQUIRED":
|
|
1892
|
+
return {
|
|
1893
|
+
header: text.verificationRequiredHeader,
|
|
1894
|
+
description: intl.formatMessage({
|
|
1895
|
+
id: "verificationRequiredDescription",
|
|
1896
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
1897
|
+
}, {
|
|
1898
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1899
|
+
}),
|
|
1900
|
+
buttonText: text.verificationRequiredButtonText,
|
|
1901
|
+
alertType: "warning",
|
|
1902
|
+
icon: "exclamation-triangle",
|
|
1903
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1904
|
+
};
|
|
1905
|
+
case "VERIFICATION:INTERNAL":
|
|
1906
|
+
return {
|
|
1907
|
+
header: text.verificationRequiredInternalHeader,
|
|
1908
|
+
description: intl.formatMessage({
|
|
1909
|
+
id: "verificationRequiredInternalDescription",
|
|
1910
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
1911
|
+
}, {
|
|
1912
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1913
|
+
}),
|
|
1914
|
+
alertType: "warning",
|
|
1915
|
+
icon: "exclamation-triangle",
|
|
1916
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1917
|
+
};
|
|
1918
|
+
case "VERIFICATION:REVIEW":
|
|
1919
|
+
return {
|
|
1920
|
+
header: text.verificationReviewInternalHeader,
|
|
1921
|
+
description: intl.formatMessage({
|
|
1922
|
+
id: "verificationReviewInternalDescription",
|
|
1923
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
1924
|
+
}, {
|
|
1925
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1926
|
+
}),
|
|
1927
|
+
alertType: "warning",
|
|
1928
|
+
icon: "exclamation-triangle",
|
|
1929
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1930
|
+
};
|
|
1931
|
+
case "VERIFICATION:FAILED":
|
|
1932
|
+
return {
|
|
1933
|
+
header: text.verificationFailedInternalHeader,
|
|
1934
|
+
description: intl.formatMessage({
|
|
1935
|
+
id: "verificationFailedInternalDescription",
|
|
1936
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
1937
|
+
}, {
|
|
1938
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1939
|
+
}),
|
|
1940
|
+
alertType: "critical",
|
|
1941
|
+
icon: "exclamation-octagon",
|
|
1942
|
+
class: sheet$3.classes.ErrorAlertContainer,
|
|
1943
|
+
};
|
|
1944
|
+
case "HOLD":
|
|
1945
|
+
return {
|
|
1946
|
+
header: text.holdHeader,
|
|
1947
|
+
description: intl.formatMessage({
|
|
1948
|
+
id: "holdDescription",
|
|
1949
|
+
defaultMessage: text.holdDescription,
|
|
1950
|
+
}, {
|
|
1951
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1952
|
+
}),
|
|
1953
|
+
buttonText: null,
|
|
1954
|
+
alertType: "warning",
|
|
1955
|
+
icon: "exclamation-triangle",
|
|
1956
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1957
|
+
};
|
|
1958
|
+
default:
|
|
1959
|
+
return;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
function getButton(status) {
|
|
1963
|
+
switch (status) {
|
|
1964
|
+
case "INFORMATION_REQUIRED":
|
|
1965
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1966
|
+
// Demo case
|
|
1967
|
+
h$1("sl-button", { type: "default" }, text.informationRequiredButtonText));
|
|
1968
|
+
case "VERIFICATION:REQUIRED":
|
|
1969
|
+
return (h$1("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
|
|
1970
|
+
default:
|
|
1971
|
+
return;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
if (states.loading) {
|
|
1975
|
+
return h$1("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
|
|
1976
|
+
}
|
|
1977
|
+
const alertDetails = getAlert(states.status);
|
|
1978
|
+
if (states.status === "DONE" || !alertDetails) {
|
|
1979
|
+
return h$1("div", null);
|
|
1980
|
+
}
|
|
1981
|
+
return (h$1("div", { part: "sqm-base" },
|
|
1982
|
+
h$1("style", { type: "text/css" }, styleString$3),
|
|
1983
|
+
h$1("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertDetails.alertType, class: alertDetails.class, open: true },
|
|
1984
|
+
h$1("sl-icon", { slot: "icon", name: alertDetails.icon }),
|
|
1985
|
+
h$1("strong", null, alertDetails.header),
|
|
1986
|
+
h$1("p", { class: sheet$3.classes.AlertDescriptionText }, alertDetails.description),
|
|
1987
|
+
getButton(states.status))));
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
const PayoutStatusAlert = class {
|
|
1991
|
+
constructor(hostRef) {
|
|
1992
|
+
registerInstance(this, hostRef);
|
|
1993
|
+
/**
|
|
1994
|
+
* @uiName Info required alert header
|
|
1995
|
+
*/
|
|
1996
|
+
this.informationRequiredHeader = "Payout and tax information required";
|
|
1997
|
+
/**
|
|
1998
|
+
* @uiName Info required alert description
|
|
1999
|
+
*/
|
|
2000
|
+
this.informationRequiredDescription = "Submit your banking details and tax documents to receive your rewards.";
|
|
2001
|
+
/**
|
|
2002
|
+
* @uiName Info required alert button text
|
|
2003
|
+
*/
|
|
2004
|
+
this.informationRequiredButtonText = "Payouts & Tax Settings";
|
|
2005
|
+
/**
|
|
2006
|
+
* @uiName Verification required alert header
|
|
2007
|
+
*/
|
|
2008
|
+
this.verificationRequiredHeader = "Verify your identity";
|
|
2009
|
+
/**
|
|
2010
|
+
* @uiName Verification required alert description
|
|
2011
|
+
*/
|
|
2012
|
+
this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
2013
|
+
/**
|
|
2014
|
+
* @uiName Verification required alert button text
|
|
2015
|
+
*/
|
|
2016
|
+
this.verificationRequiredButtonText = "Start Verification";
|
|
2017
|
+
/**
|
|
2018
|
+
* @uiName Verification required internal alert header
|
|
2019
|
+
*/
|
|
2020
|
+
this.verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
2021
|
+
/**
|
|
2022
|
+
* @uiName Verification required internal alert description
|
|
2023
|
+
*/
|
|
2024
|
+
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}.";
|
|
2025
|
+
/**
|
|
2026
|
+
* @uiName Verification review internal alert header
|
|
2027
|
+
*/
|
|
2028
|
+
this.verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
2029
|
+
/**
|
|
2030
|
+
* @uiName Verification review internal alert description
|
|
2031
|
+
*/
|
|
2032
|
+
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}.";
|
|
2033
|
+
/**
|
|
2034
|
+
* @uiName Verification failed internal alert header
|
|
2035
|
+
*/
|
|
2036
|
+
this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
2037
|
+
/**
|
|
2038
|
+
* @uiName Verification failed internal alert description
|
|
2039
|
+
*/
|
|
2040
|
+
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}.";
|
|
2041
|
+
/**
|
|
2042
|
+
* @uiName Payout on hold alert header
|
|
2043
|
+
*/
|
|
2044
|
+
this.holdHeader = "Your payouts and account are on hold";
|
|
2045
|
+
/**
|
|
2046
|
+
* @uiName Payout on hold alert description
|
|
2047
|
+
*/
|
|
2048
|
+
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}.";
|
|
2049
|
+
/**
|
|
2050
|
+
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
2051
|
+
*/
|
|
2052
|
+
this.cashPayoutsPageUrl = "/cash";
|
|
2053
|
+
/**
|
|
2054
|
+
* @uiName Support link text
|
|
2055
|
+
*/
|
|
2056
|
+
this.supportLink = "support team";
|
|
2057
|
+
/**
|
|
2058
|
+
* @uiName Error header
|
|
2059
|
+
*/
|
|
2060
|
+
this.errorHeader = "Could not determine payout status.";
|
|
2061
|
+
/**
|
|
2062
|
+
* @uiName Error description
|
|
2063
|
+
*/
|
|
2064
|
+
this.errorDescription = "There was an error with determining your payout status.";
|
|
2065
|
+
h(this);
|
|
2066
|
+
}
|
|
2067
|
+
disconnectedCallback() { }
|
|
2068
|
+
getTextProps() {
|
|
2069
|
+
return getProps(this);
|
|
2070
|
+
}
|
|
2071
|
+
render() {
|
|
2072
|
+
const props = isDemo()
|
|
2073
|
+
? useDemoPayoutStatusAlert(this)
|
|
2074
|
+
: usePayoutStatus(this);
|
|
2075
|
+
return h$1(PayoutStatusAlertView, Object.assign({}, props));
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
2078
|
+
function useDemoPayoutStatusAlert(props) {
|
|
2079
|
+
return cjs({
|
|
2080
|
+
states: {
|
|
2081
|
+
error: false,
|
|
2082
|
+
status: "INFORMATION_REQUIRED",
|
|
2083
|
+
loading: false,
|
|
2084
|
+
showVerifyIdentity: false,
|
|
2085
|
+
},
|
|
2086
|
+
data: { type: "SquatchAdmin" },
|
|
2087
|
+
text: props.getTextProps(),
|
|
2088
|
+
callbacks: {
|
|
2089
|
+
onTermsClick: () => { },
|
|
2090
|
+
onClick: () => console.log("show"),
|
|
2091
|
+
},
|
|
2092
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2093
|
+
}
|
|
2094
|
+
|
|
1720
2095
|
function usePortalChangePassword(props) {
|
|
1721
2096
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1722
2097
|
const [request, { loading, errors, data }] = Ue();
|
|
@@ -2013,67 +2388,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2013
2388
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2014
2389
|
}
|
|
2015
2390
|
|
|
2016
|
-
function usePortalLogin(props) {
|
|
2017
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
2018
|
-
const [request, { loading, errors, data }] = je();
|
|
2019
|
-
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = hn();
|
|
2020
|
-
const [error, setError] = useState("");
|
|
2021
|
-
const urlParams = new URLSearchParams(jn.location.search);
|
|
2022
|
-
const nextPageOverride = urlParams.get("nextPage");
|
|
2023
|
-
const googleSubmit = async (e) => {
|
|
2024
|
-
var _a, _b, _c;
|
|
2025
|
-
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
2026
|
-
return;
|
|
2027
|
-
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
2028
|
-
if (result instanceof Error) {
|
|
2029
|
-
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"]))
|
|
2030
|
-
setError(props.networkErrorMessage);
|
|
2031
|
-
return;
|
|
2032
|
-
}
|
|
2033
|
-
if ((_c = result.authenticateManagedIdentityWithGoogle) === null || _c === void 0 ? void 0 : _c.token) {
|
|
2034
|
-
urlParams.delete("nextPage");
|
|
2035
|
-
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2036
|
-
jn.push(url.href);
|
|
2037
|
-
}
|
|
2038
|
-
};
|
|
2039
|
-
const submit = async (event) => {
|
|
2040
|
-
var _a, _b;
|
|
2041
|
-
setError("");
|
|
2042
|
-
let formData = event.detail.formData;
|
|
2043
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
2044
|
-
jsonpointer.set(formData, key, value);
|
|
2045
|
-
});
|
|
2046
|
-
const variables = { email: formData.email, password: formData.password };
|
|
2047
|
-
const result = await request(variables);
|
|
2048
|
-
if (result instanceof Error) {
|
|
2049
|
-
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"]))
|
|
2050
|
-
setError(props.networkErrorMessage);
|
|
2051
|
-
return;
|
|
2052
|
-
}
|
|
2053
|
-
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2054
|
-
urlParams.delete("nextPage");
|
|
2055
|
-
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2056
|
-
jn.push(url.href);
|
|
2057
|
-
}
|
|
2058
|
-
};
|
|
2059
|
-
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) ||
|
|
2060
|
-
error;
|
|
2061
|
-
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) ||
|
|
2062
|
-
error;
|
|
2063
|
-
return {
|
|
2064
|
-
states: {
|
|
2065
|
-
loading: loading || gLoading,
|
|
2066
|
-
error: errorMessage || googleErrorMessage,
|
|
2067
|
-
registerPath: props.registerPath,
|
|
2068
|
-
forgotPasswordPath: props.forgotPasswordPath,
|
|
2069
|
-
},
|
|
2070
|
-
callbacks: {
|
|
2071
|
-
googleSubmit,
|
|
2072
|
-
submit,
|
|
2073
|
-
},
|
|
2074
|
-
};
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
2391
|
const PortalLogin = class {
|
|
2078
2392
|
constructor(hostRef) {
|
|
2079
2393
|
registerInstance(this, hostRef);
|
|
@@ -2131,10 +2445,6 @@ const PortalLogin = class {
|
|
|
2131
2445
|
* @uiName Register CTA
|
|
2132
2446
|
*/
|
|
2133
2447
|
this.registerCTA = "Don't have an account?";
|
|
2134
|
-
/**
|
|
2135
|
-
* @undocumented
|
|
2136
|
-
*/
|
|
2137
|
-
this.showGoogleLogin = false;
|
|
2138
2448
|
h(this);
|
|
2139
2449
|
}
|
|
2140
2450
|
disconnectedCallback() { }
|
|
@@ -2153,8 +2463,8 @@ const PortalLogin = class {
|
|
|
2153
2463
|
const styleString = sheet.toString();
|
|
2154
2464
|
const content = {
|
|
2155
2465
|
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2156
|
-
googleButton:
|
|
2157
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString),
|
|
2466
|
+
googleButton: null,
|
|
2467
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
2158
2468
|
emailLabel: this.emailLabel,
|
|
2159
2469
|
passwordLabel: this.passwordLabel,
|
|
2160
2470
|
submitLabel: this.submitLabel,
|
|
@@ -2649,7 +2959,7 @@ const ProgramMenu = class {
|
|
|
2649
2959
|
}
|
|
2650
2960
|
};
|
|
2651
2961
|
|
|
2652
|
-
const style$
|
|
2962
|
+
const style$4 = {
|
|
2653
2963
|
Container: {
|
|
2654
2964
|
borderRadius: "var(--sl-border-radius-large)",
|
|
2655
2965
|
color: "var(--sl-color-neutral-900)",
|
|
@@ -2677,15 +2987,15 @@ const style$2 = {
|
|
|
2677
2987
|
},
|
|
2678
2988
|
},
|
|
2679
2989
|
};
|
|
2680
|
-
const sheet$
|
|
2681
|
-
const styleString$
|
|
2990
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
2991
|
+
const styleString$4 = sheet$4.toString();
|
|
2682
2992
|
const vanillaStyle$1 = `
|
|
2683
2993
|
:host{
|
|
2684
2994
|
display: block;
|
|
2685
2995
|
}
|
|
2686
2996
|
`;
|
|
2687
2997
|
function ReferralCardView(props) {
|
|
2688
|
-
return (h$1("div", { part: "sqm-base", class: sheet$
|
|
2998
|
+
return (h$1("div", { part: "sqm-base", class: sheet$4.classes.Container, style: {
|
|
2689
2999
|
border: `${props.hideBorder ? "none" : "1px solid var(--sl-color-neutral-300)"}`,
|
|
2690
3000
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
2691
3001
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
@@ -2696,15 +3006,15 @@ function ReferralCardView(props) {
|
|
|
2696
3006
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
2697
3007
|
} },
|
|
2698
3008
|
h$1("style", { type: "text/css" },
|
|
2699
|
-
styleString$
|
|
3009
|
+
styleString$4,
|
|
2700
3010
|
vanillaStyle$1),
|
|
2701
|
-
props.hasHeader && (h$1("div", { class: sheet$
|
|
2702
|
-
h$1("div", { part: "sqm-column-container", class: sheet$
|
|
3011
|
+
props.hasHeader && (h$1("div", { class: sheet$4.classes.EndContainer }, props.slots.header)),
|
|
3012
|
+
h$1("div", { part: "sqm-column-container", class: sheet$4.classes.ColumnContainer, style: {
|
|
2703
3013
|
alignItems: props.verticalAlignment,
|
|
2704
3014
|
} },
|
|
2705
3015
|
props.slots.left,
|
|
2706
3016
|
props.slots.right),
|
|
2707
|
-
props.hasFooter && (h$1("div", { class: sheet$
|
|
3017
|
+
props.hasFooter && (h$1("div", { class: sheet$4.classes.EndContainer }, props.slots.footer))));
|
|
2708
3018
|
}
|
|
2709
3019
|
|
|
2710
3020
|
const ReferralCard = class {
|
|
@@ -3930,106 +4240,6 @@ const SqmRouter = class {
|
|
|
3930
4240
|
};
|
|
3931
4241
|
SqmRouter.style = sqmRouterCss;
|
|
3932
4242
|
|
|
3933
|
-
const REVEAL_EVENT = "sq:reveal";
|
|
3934
|
-
function useScroll(props) {
|
|
3935
|
-
const { scrollTagName, scrollId } = props;
|
|
3936
|
-
async function scroll() {
|
|
3937
|
-
const element = document === null || document === void 0 ? void 0 : document.querySelector(scrollTagName || `#${scrollId}`);
|
|
3938
|
-
element.dispatchEvent(new CustomEvent(REVEAL_EVENT, {
|
|
3939
|
-
detail: scrollTagName || `#${scrollId}`,
|
|
3940
|
-
bubbles: true,
|
|
3941
|
-
composed: true,
|
|
3942
|
-
}));
|
|
3943
|
-
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
3944
|
-
element.scrollIntoView({ behavior: props.scrollAnimation });
|
|
3945
|
-
}
|
|
3946
|
-
return {
|
|
3947
|
-
callbacks: { scroll },
|
|
3948
|
-
};
|
|
3949
|
-
}
|
|
3950
|
-
|
|
3951
|
-
const Scroll = class {
|
|
3952
|
-
constructor(hostRef) {
|
|
3953
|
-
registerInstance(this, hostRef);
|
|
3954
|
-
this.ignored = true;
|
|
3955
|
-
/**
|
|
3956
|
-
* @uiName Button type
|
|
3957
|
-
* @uiType string
|
|
3958
|
-
* @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
|
|
3959
|
-
* @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
|
|
3960
|
-
|
|
3961
|
-
*/
|
|
3962
|
-
this.buttonType = "default";
|
|
3963
|
-
/**
|
|
3964
|
-
* @uiName Scroll animation style
|
|
3965
|
-
* @uiType string
|
|
3966
|
-
* @uiEnum ["smooth", "auto"]
|
|
3967
|
-
* @uiEnumNames ["Smooth", "Auto"]
|
|
3968
|
-
*/
|
|
3969
|
-
this.scrollAnimation = "smooth";
|
|
3970
|
-
h(this);
|
|
3971
|
-
}
|
|
3972
|
-
disconnectedCallback() { }
|
|
3973
|
-
render() {
|
|
3974
|
-
var _a;
|
|
3975
|
-
const { callbacks } = useScroll(this);
|
|
3976
|
-
const outlineColor = (_a = this.buttonType) !== null && _a !== void 0 ? _a : "primary";
|
|
3977
|
-
const style = {
|
|
3978
|
-
Button: {
|
|
3979
|
-
"& .outline": {
|
|
3980
|
-
"&::part(base)": {
|
|
3981
|
-
color: "var(--sl-color-" + outlineColor + "-500)",
|
|
3982
|
-
borderColor: "var(--sl-color-" + outlineColor + "-500)",
|
|
3983
|
-
backgroundColor: "transparent",
|
|
3984
|
-
"&:hover": {
|
|
3985
|
-
color: "var(--sl-color-primary-text)",
|
|
3986
|
-
backgroundColor: "var(--sl-color-" + outlineColor + "-500)",
|
|
3987
|
-
},
|
|
3988
|
-
},
|
|
3989
|
-
},
|
|
3990
|
-
"& .neutral": {
|
|
3991
|
-
"&::part(base)": {
|
|
3992
|
-
color: "var(--sl-color-primary-text)",
|
|
3993
|
-
background: "var(--sl-color-neutral-500)",
|
|
3994
|
-
"&:hover": {
|
|
3995
|
-
opacity: "0.8",
|
|
3996
|
-
},
|
|
3997
|
-
},
|
|
3998
|
-
},
|
|
3999
|
-
"& .mobile": {
|
|
4000
|
-
"@media (max-width: 499px)": {
|
|
4001
|
-
width: "100%",
|
|
4002
|
-
},
|
|
4003
|
-
},
|
|
4004
|
-
},
|
|
4005
|
-
};
|
|
4006
|
-
const sheet = createStyleSheet(style);
|
|
4007
|
-
const styleString = sheet.toString();
|
|
4008
|
-
const vanillaStyle = `
|
|
4009
|
-
:host{
|
|
4010
|
-
display: contents;
|
|
4011
|
-
}
|
|
4012
|
-
${this.mobile &&
|
|
4013
|
-
`
|
|
4014
|
-
@media only screen and (max-width: 499px) {
|
|
4015
|
-
:host {
|
|
4016
|
-
display: block;
|
|
4017
|
-
width: 100%;
|
|
4018
|
-
}
|
|
4019
|
-
}
|
|
4020
|
-
`}
|
|
4021
|
-
`;
|
|
4022
|
-
let classStack = "";
|
|
4023
|
-
if (this.outline && this.buttonType != "default")
|
|
4024
|
-
classStack += "outline ";
|
|
4025
|
-
if (this.buttonType === "neutral")
|
|
4026
|
-
classStack += "neutral ";
|
|
4027
|
-
if (this.mobile)
|
|
4028
|
-
classStack += "mobile ";
|
|
4029
|
-
return (h$1("div", { class: sheet.classes.Button }, h$1("style", { type: "text/css" }, vanillaStyle, styleString), h$1("sl-button", { type: this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill, circle: this.circle, class: classStack }, (this.iconSlot || this.iconName) && (h$1("sl-icon", { slot: this.iconSlot || "prefix", name: this.iconName })), this.buttonText, h$1("slot", null))));
|
|
4030
|
-
}
|
|
4031
|
-
};
|
|
4032
|
-
|
|
4033
4243
|
const sqmShareButtonCss = ":host{display:block}:host([hidden]){display:none}sl-button{display:block}";
|
|
4034
4244
|
|
|
4035
4245
|
const ShareButton = class {
|
|
@@ -4527,7 +4737,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
4527
4737
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4528
4738
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
4529
4739
|
|
|
4530
|
-
const style$
|
|
4740
|
+
const style$5 = {
|
|
4531
4741
|
TimelineReward: {
|
|
4532
4742
|
color: "var(--sl-color-neutral-900)",
|
|
4533
4743
|
lineHeight: "var(--sl-line-height-dense)",
|
|
@@ -4570,8 +4780,8 @@ const style$3 = {
|
|
|
4570
4780
|
},
|
|
4571
4781
|
},
|
|
4572
4782
|
};
|
|
4573
|
-
const sheet$
|
|
4574
|
-
const styleString$
|
|
4783
|
+
const sheet$5 = createStyleSheet(style$5);
|
|
4784
|
+
const styleString$5 = sheet$5.toString();
|
|
4575
4785
|
const vanillaStyle$2 = `
|
|
4576
4786
|
:host{
|
|
4577
4787
|
display: block;
|
|
@@ -4584,9 +4794,9 @@ const vanillaStyle$2 = `
|
|
|
4584
4794
|
function TimelineEntryView(props) {
|
|
4585
4795
|
var _a;
|
|
4586
4796
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
4587
|
-
return (h$1("div", { class: sheet$
|
|
4797
|
+
return (h$1("div", { class: sheet$5.classes.TimelineReward, part: "sqm-base" },
|
|
4588
4798
|
h$1("style", { type: "text/css" },
|
|
4589
|
-
styleString$
|
|
4799
|
+
styleString$5,
|
|
4590
4800
|
vanillaStyle$2),
|
|
4591
4801
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
4592
4802
|
h$1("div", { class: "line" }, "/"),
|
|
@@ -4677,4 +4887,4 @@ function useUserNameDemo(props) {
|
|
|
4677
4887
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4678
4888
|
}
|
|
4679
4889
|
|
|
4680
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router,
|
|
4890
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|