@saasquatch/mint-components 2.0.3 → 2.0.4-10
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/{IndirectTaxDetailsView-659a139c.js → IndirectTaxDetailsView-d39b895d.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-fbc33c53.js → ShadowViewAddon-7066fae7.js} +25 -27
- package/dist/cjs/{data-16106637.js → data-44260010.js} +29 -2
- package/dist/cjs/{global-e862bfd4.js → global-94f36ad7.js} +55 -54
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +355 -102
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +232 -22
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +7 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-form-message.cjs.entry.js → sqm-form-message_2.cjs.entry.js} +50 -0
- package/dist/cjs/sqm-header-logo.cjs.entry.js +15 -2
- package/dist/cjs/{sqm-lead-checkbox-field-view-dca40eb4.js → sqm-lead-checkbox-field-view-c0123bfa.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-input-field-view-2006001f.js → sqm-lead-input-field-view-6983eaa1.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-1745d9a2.js → sqm-portal-email-verification-view-d968178a.js} +4 -6
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-5c5e29b1.js → sqm-portal-profile-view-f74b8d6c.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-qr-code-view-4ccf89da.js → sqm-qr-code-view-a2889aee.js} +1 -5
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +108 -54
- package/dist/cjs/{useLeadFormState-91999606.js → useLeadFormState-f8b33c07.js} +1 -1
- package/dist/cjs/{utils-4eb18a29.js → utils-5ecfecd9.js} +18 -30
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +5 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +30 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +85 -5
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +5 -5
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +5 -7
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +1 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +3 -5
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -5
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +5 -5
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +16 -0
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +90 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +12 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +6 -3
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +10 -5
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +11 -5
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +46 -40
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +13 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +98 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +361 -8
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +29 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +17 -29
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +311 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +101 -16
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +310 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +22 -13
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +100 -9
- package/dist/collection/global/styles.js +55 -54
- package/dist/collection/global/styles.ts +6 -1
- package/dist/collection/tables/TableSlots.js +6 -6
- package/dist/esm/{IndirectTaxDetailsView-8dec05e4.js → IndirectTaxDetailsView-a7dd6e4c.js} +2 -2
- package/dist/esm/{ShadowViewAddon-7a242b65.js → ShadowViewAddon-fe2896cb.js} +25 -27
- package/dist/esm/{data-acdb790f.js → data-68816061.js} +29 -2
- package/dist/esm/{global-58a69018.js → global-536c422d.js} +55 -54
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +355 -102
- package/dist/esm/sqm-big-stat_47.entry.js +232 -22
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +7 -4
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-form-message.entry.js → sqm-form-message_2.entry.js} +50 -1
- package/dist/esm/sqm-header-logo.entry.js +15 -2
- package/dist/esm/{sqm-lead-checkbox-field-view-81541e40.js → sqm-lead-checkbox-field-view-5c387852.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
- package/dist/esm/{sqm-lead-input-field-view-d543d939.js → sqm-lead-input-field-view-fa2488c9.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-5fb1a99e.js → sqm-portal-email-verification-view-8bbe5fcf.js} +4 -6
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-e3aef106.js → sqm-portal-profile-view-9848caf1.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/{sqm-qr-code-view-ea505213.js → sqm-qr-code-view-804b8bb6.js} +1 -5
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +108 -54
- package/dist/esm/{useLeadFormState-8d4b2620.js → useLeadFormState-5a6188da.js} +1 -1
- package/dist/esm/{utils-2695a43e.js → utils-fafc712f.js} +18 -30
- package/dist/esm-es5/{IndirectTaxDetailsView-8dec05e4.js → IndirectTaxDetailsView-a7dd6e4c.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-7a242b65.js → ShadowViewAddon-fe2896cb.js} +1 -1
- package/dist/esm-es5/{data-acdb790f.js → data-68816061.js} +2 -2
- package/dist/esm-es5/{global-58a69018.js → global-536c422d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message_2.entry.js +1 -0
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-81541e40.js → sqm-lead-checkbox-field-view-5c387852.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-d543d939.js → sqm-lead-input-field-view-fa2488c9.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-8bbe5fcf.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-e3aef106.js → sqm-portal-profile-view-9848caf1.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-ea505213.js → sqm-qr-code-view-804b8bb6.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{useLeadFormState-8d4b2620.js → useLeadFormState-5a6188da.js} +1 -1
- package/dist/esm-es5/utils-fafc712f.js +1 -0
- package/dist/mint-components/global/styles.ts +6 -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-c6e8086f.system.entry.js → p-000dc98f.system.entry.js} +1 -1
- package/dist/mint-components/{p-988f236f.js → p-005ee5bf.js} +1 -1
- package/dist/mint-components/{p-0c024cf0.system.entry.js → p-05e8620f.system.entry.js} +1 -1
- package/dist/mint-components/p-0d3803a2.js +1 -0
- package/dist/mint-components/p-10aea972.system.js +1 -0
- package/dist/mint-components/{p-13c6673e.system.js → p-19e407bd.system.js} +1 -1
- package/dist/mint-components/{p-4cc72a4e.system.js → p-1e156272.system.js} +1 -1
- package/dist/mint-components/{p-a470e203.entry.js → p-2192a6d7.entry.js} +2 -2
- package/dist/mint-components/p-28973c9b.entry.js +144 -0
- package/dist/mint-components/{p-6076dbaf.entry.js → p-30f37386.entry.js} +2 -2
- package/dist/mint-components/{p-1215518e.system.js → p-33fff374.system.js} +1 -1
- package/dist/mint-components/p-397a5adf.system.entry.js +1 -0
- package/dist/mint-components/p-3ad8e1af.system.js +1 -0
- package/dist/mint-components/{p-1aa9136c.js → p-4130caec.js} +1 -1
- package/dist/mint-components/p-438a0c91.system.entry.js +1 -0
- package/dist/mint-components/{p-5fbe6356.system.js → p-48bc3283.system.js} +1 -1
- package/dist/mint-components/{p-36a1fa33.system.entry.js → p-4b595fc3.system.entry.js} +1 -1
- package/dist/mint-components/{p-9d46f87f.system.entry.js → p-4e3303a8.system.entry.js} +1 -1
- package/dist/mint-components/p-566d837b.system.js +1 -0
- package/dist/mint-components/p-59332a30.entry.js +1 -0
- package/dist/mint-components/p-5d39d345.system.entry.js +1 -0
- package/dist/mint-components/{p-d7635535.system.js → p-648f881e.system.js} +1 -1
- package/dist/mint-components/{p-43ad51bc.entry.js → p-66effbef.entry.js} +1 -1
- package/dist/mint-components/p-69bd9de3.entry.js +106 -0
- package/dist/mint-components/{p-bf044217.js → p-78968e5f.js} +1 -1
- package/dist/mint-components/p-7c9520b7.system.js +1 -0
- package/dist/mint-components/p-7e550c3b.system.entry.js +1 -0
- package/dist/mint-components/{p-ad3ebf4d.entry.js → p-80196216.entry.js} +1 -1
- package/dist/mint-components/{p-58c79873.entry.js → p-8a24b9a9.entry.js} +1 -1
- package/dist/mint-components/p-8af550b9.system.entry.js +1 -0
- package/dist/mint-components/{p-deecffd0.system.entry.js → p-8f6b3391.system.entry.js} +1 -1
- package/dist/mint-components/{p-011c0990.system.entry.js → p-902b919d.system.entry.js} +1 -1
- package/dist/mint-components/p-92b5c376.js +157 -0
- package/dist/mint-components/p-a115c57a.system.entry.js +1 -0
- package/dist/mint-components/p-a2dbc9ad.system.js +6 -0
- package/dist/mint-components/{p-f5256738.system.entry.js → p-a45124c1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6198c55.entry.js +273 -0
- package/dist/mint-components/{p-1b79b186.entry.js → p-a65610e3.entry.js} +1 -1
- package/dist/mint-components/{p-f7e49c12.entry.js → p-a7157ef3.entry.js} +2 -2
- package/dist/mint-components/{p-4965dae4.system.js → p-a71edffc.system.js} +1 -1
- package/dist/mint-components/p-a92c692b.js +448 -0
- package/dist/mint-components/p-ab4c0642.js +1 -0
- package/dist/mint-components/{p-8618e8f6.system.js → p-af02f28c.system.js} +1 -1
- package/dist/mint-components/p-af758193.entry.js +1 -0
- package/dist/mint-components/{p-12e6cea7.entry.js → p-b8878552.entry.js} +2 -2
- package/dist/mint-components/p-bdb6194c.entry.js +1 -0
- package/dist/mint-components/p-c37744c7.entry.js +1 -0
- package/dist/mint-components/{p-1d8c5935.js → p-ceb79149.js} +1 -1
- package/dist/mint-components/{p-2ea3eea9.system.entry.js → p-d07a46c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-027c0b10.js → p-d6d31505.js} +32 -32
- package/dist/mint-components/{p-fcf8bdbc.system.entry.js → p-d8d818d9.system.entry.js} +1 -1
- package/dist/mint-components/p-dcdd959e.entry.js +9 -0
- package/dist/mint-components/p-e0c7640f.js +1 -0
- package/dist/mint-components/{p-e19f0908.entry.js → p-e712a01d.entry.js} +2 -2
- package/dist/mint-components/p-ede77156.system.entry.js +1 -0
- package/dist/mint-components/{p-f3613921.system.entry.js → p-f380bcd9.system.entry.js} +1 -1
- package/dist/mint-components/{p-088f082f.js → p-f6305644.js} +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +6 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +17 -2
- package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +8 -0
- package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +14 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +24 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +7 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +57 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
- package/dist/types/components.d.ts +376 -43
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/saasquatch.d.ts +4 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-5fb1a99e.js +0 -1
- package/dist/esm-es5/utils-2695a43e.js +0 -1
- package/dist/mint-components/p-012d31bc.entry.js +0 -99
- package/dist/mint-components/p-0d71303d.js +0 -1
- package/dist/mint-components/p-2ea6e2fa.entry.js +0 -273
- package/dist/mint-components/p-303b84d7.system.entry.js +0 -1
- package/dist/mint-components/p-325c5476.js +0 -1
- package/dist/mint-components/p-469a6450.system.js +0 -6
- package/dist/mint-components/p-478ad7c8.system.entry.js +0 -1
- package/dist/mint-components/p-6976099f.entry.js +0 -9
- package/dist/mint-components/p-752ede25.system.entry.js +0 -1
- package/dist/mint-components/p-78dda262.system.js +0 -1
- package/dist/mint-components/p-829cb9ed.system.entry.js +0 -1
- package/dist/mint-components/p-8d9fa981.system.js +0 -1
- package/dist/mint-components/p-947bacd1.system.js +0 -1
- package/dist/mint-components/p-97747228.system.entry.js +0 -1
- package/dist/mint-components/p-a7ee19dc.entry.js +0 -1
- package/dist/mint-components/p-a974c549.js +0 -1
- package/dist/mint-components/p-ac9138fd.entry.js +0 -1
- package/dist/mint-components/p-d88d8ffe.entry.js +0 -1
- package/dist/mint-components/p-dc5bca55.entry.js +0 -1
- package/dist/mint-components/p-e1e7d01c.js +0 -157
- package/dist/mint-components/p-e8bda98a.system.entry.js +0 -1
- package/dist/mint-components/p-ee3a7577.entry.js +0 -144
- package/dist/mint-components/p-eea87fdc.system.entry.js +0 -1
- package/dist/mint-components/p-f5820d03.system.js +0 -1
- package/dist/mint-components/p-ffc3cd7c.js +0 -448
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { b as buildFontsCssUrl, i as intl } from './global-
|
|
2
|
+
import { b as buildFontsCssUrl, i as intl } from './global-536c422d.js';
|
|
3
3
|
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-c9811a48.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
@@ -17,17 +17,17 @@ import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
|
17
17
|
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
18
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-24d594ea.js';
|
|
19
19
|
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
|
|
20
|
-
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-
|
|
20
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-5a6188da.js';
|
|
21
21
|
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
22
22
|
import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
|
|
23
23
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
24
24
|
import { i as isEmpty } from './utilities-72c07b09.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-bbf0a042.js';
|
|
26
|
-
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
26
|
+
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-fe2896cb.js';
|
|
27
27
|
import './sqm-portal-container-view-176e92e3.js';
|
|
28
|
-
import { g as getCountryObj, L as LoadingView } from './utils-
|
|
28
|
+
import { g as getCountryObj, L as LoadingView } from './utils-fafc712f.js';
|
|
29
29
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
30
|
-
import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-
|
|
30
|
+
import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-68816061.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
@@ -53,6 +53,10 @@ const Netflix = {
|
|
|
53
53
|
borderThickness: 1,
|
|
54
54
|
},
|
|
55
55
|
color: {
|
|
56
|
+
loadingSkeleton: {
|
|
57
|
+
background: "#272727",
|
|
58
|
+
animationBackground: "#E50914",
|
|
59
|
+
},
|
|
56
60
|
textColorShades: {
|
|
57
61
|
mainText: "white",
|
|
58
62
|
subduedText: "#B3B3B3",
|
|
@@ -144,6 +148,10 @@ const Amazon = {
|
|
|
144
148
|
},
|
|
145
149
|
color: {
|
|
146
150
|
backgroundColor: "#ffffff",
|
|
151
|
+
loadingSkeleton: {
|
|
152
|
+
background: "hsl(240 4.8% 95.9%)",
|
|
153
|
+
animationBackground: "#FF9900",
|
|
154
|
+
},
|
|
147
155
|
textColorShades: {
|
|
148
156
|
mainText: "#2f2f2f",
|
|
149
157
|
subduedText: "#565959",
|
|
@@ -232,6 +240,10 @@ const Spotify = {
|
|
|
232
240
|
borderThickness: 1,
|
|
233
241
|
},
|
|
234
242
|
color: {
|
|
243
|
+
loadingSkeleton: {
|
|
244
|
+
background: "#282928",
|
|
245
|
+
animationBackground: "#1ed760",
|
|
246
|
+
},
|
|
235
247
|
textColorShades: {
|
|
236
248
|
mainText: "white",
|
|
237
249
|
subduedText: "white",
|
|
@@ -2899,6 +2911,12 @@ function useDemoPayoutButtonScroll(props) {
|
|
|
2899
2911
|
}
|
|
2900
2912
|
|
|
2901
2913
|
const style$2 = {
|
|
2914
|
+
ButtonContainer: {
|
|
2915
|
+
display: "flex",
|
|
2916
|
+
gap: "var(--sl-spacing-medium)",
|
|
2917
|
+
marginTop: "var(--sl-spacing-medium)",
|
|
2918
|
+
flexWrap: "wrap",
|
|
2919
|
+
},
|
|
2902
2920
|
SkeletonOne: {
|
|
2903
2921
|
width: "50%",
|
|
2904
2922
|
height: "16px",
|
|
@@ -3023,7 +3041,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3023
3041
|
icon: "exclamation-triangle",
|
|
3024
3042
|
};
|
|
3025
3043
|
}
|
|
3026
|
-
case "
|
|
3044
|
+
case "NEW_PAYEE_REVIEW":
|
|
3027
3045
|
return {
|
|
3028
3046
|
header: text.accountReviewHeader,
|
|
3029
3047
|
description: intl.formatMessage({
|
|
@@ -3036,6 +3054,92 @@ function PayoutStatusAlertView(props) {
|
|
|
3036
3054
|
alertType: "warning",
|
|
3037
3055
|
icon: "exclamation-triangle",
|
|
3038
3056
|
};
|
|
3057
|
+
case "PAYMENT_HOLD_ON_CHANGE":
|
|
3058
|
+
return {
|
|
3059
|
+
header: text.paymentHoldOnChangeHeader,
|
|
3060
|
+
description: intl.formatMessage({
|
|
3061
|
+
id: "accountReviewDescription",
|
|
3062
|
+
defaultMessage: text.paymentHoldOnChangeDescription,
|
|
3063
|
+
}, {
|
|
3064
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3065
|
+
}),
|
|
3066
|
+
buttonText: null,
|
|
3067
|
+
alertType: "warning",
|
|
3068
|
+
icon: "exclamation-triangle",
|
|
3069
|
+
};
|
|
3070
|
+
case "BENEFICIARY_NAME_INVALID":
|
|
3071
|
+
return {
|
|
3072
|
+
header: text.beneficiaryNameInvalidHeader,
|
|
3073
|
+
description: intl.formatMessage({
|
|
3074
|
+
id: "accountReviewDescription",
|
|
3075
|
+
defaultMessage: text.beneficiaryNameInvalidDescription,
|
|
3076
|
+
}, {
|
|
3077
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3078
|
+
}),
|
|
3079
|
+
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3080
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3081
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3082
|
+
alertType: "warning",
|
|
3083
|
+
icon: "exclamation-triangle",
|
|
3084
|
+
};
|
|
3085
|
+
case "BENEFICIARY_NAME_MISMATCH":
|
|
3086
|
+
return {
|
|
3087
|
+
header: text.beneficiaryNameMismatchHeader,
|
|
3088
|
+
description: intl.formatMessage({
|
|
3089
|
+
id: "accountReviewDescription",
|
|
3090
|
+
defaultMessage: text.beneficiaryNameMismatchDescription,
|
|
3091
|
+
}, {
|
|
3092
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3093
|
+
}),
|
|
3094
|
+
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3095
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3096
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3097
|
+
alertType: "warning",
|
|
3098
|
+
icon: "exclamation-triangle",
|
|
3099
|
+
};
|
|
3100
|
+
case "BANK_TAX_NAME_MISMATCH":
|
|
3101
|
+
return {
|
|
3102
|
+
header: text.bankTaxNameMismatchHeader,
|
|
3103
|
+
description: intl.formatMessage({
|
|
3104
|
+
id: "accountReviewDescription",
|
|
3105
|
+
defaultMessage: text.bankTaxNameMismatchDescription,
|
|
3106
|
+
}, {
|
|
3107
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3108
|
+
}),
|
|
3109
|
+
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3110
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3111
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3112
|
+
alertType: "warning",
|
|
3113
|
+
icon: "exclamation-triangle",
|
|
3114
|
+
};
|
|
3115
|
+
case "WITHDRAWAL_SETTINGS_INVALID":
|
|
3116
|
+
return {
|
|
3117
|
+
header: text.withdrawalSettingsInvalidHeader,
|
|
3118
|
+
description: intl.formatMessage({
|
|
3119
|
+
id: "accountReviewDescription",
|
|
3120
|
+
defaultMessage: text.withdrawalSettingsInvalidDescription,
|
|
3121
|
+
}, {
|
|
3122
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3123
|
+
}),
|
|
3124
|
+
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3125
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3126
|
+
alertType: "warning",
|
|
3127
|
+
icon: "exclamation-triangle",
|
|
3128
|
+
};
|
|
3129
|
+
case "PAYMENT_RETURNED":
|
|
3130
|
+
return {
|
|
3131
|
+
header: text.paymentReturnedHeader,
|
|
3132
|
+
description: intl.formatMessage({
|
|
3133
|
+
id: "accountReviewDescription",
|
|
3134
|
+
defaultMessage: text.paymentReturnedDescription,
|
|
3135
|
+
}, {
|
|
3136
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3137
|
+
}),
|
|
3138
|
+
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3139
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3140
|
+
alertType: "error",
|
|
3141
|
+
icon: "exclamation-triangle",
|
|
3142
|
+
};
|
|
3039
3143
|
case "HOLD":
|
|
3040
3144
|
return {
|
|
3041
3145
|
header: text.holdHeader,
|
|
@@ -3057,9 +3161,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3057
3161
|
case "OVER_W9_THRESHOLD":
|
|
3058
3162
|
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3059
3163
|
return;
|
|
3060
|
-
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "
|
|
3164
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
3061
3165
|
// Demo case
|
|
3062
|
-
h$1("sl-button", { type: "
|
|
3166
|
+
h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base" }, text.w9RequiredButtonText));
|
|
3063
3167
|
case "INFORMATION_REQUIRED":
|
|
3064
3168
|
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
3065
3169
|
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
@@ -3071,12 +3175,11 @@ function PayoutStatusAlertView(props) {
|
|
|
3071
3175
|
return (h$1("div", { style: { paddingTop: "10px" } },
|
|
3072
3176
|
h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
|
|
3073
3177
|
default:
|
|
3178
|
+
if (alertDetails.button)
|
|
3179
|
+
return alertDetails.button;
|
|
3074
3180
|
return;
|
|
3075
3181
|
}
|
|
3076
3182
|
}
|
|
3077
|
-
if (states.loading) {
|
|
3078
|
-
return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3079
|
-
}
|
|
3080
3183
|
const alertDetails = getAlert(states.status);
|
|
3081
3184
|
if (states.status === "DONE" || !alertDetails) {
|
|
3082
3185
|
return h$1("div", null);
|
|
@@ -3084,7 +3187,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3084
3187
|
return (h$1("div", { part: "sqm-base" },
|
|
3085
3188
|
h$1("style", { type: "text/css" }, styleString$2),
|
|
3086
3189
|
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
3087
|
-
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
3190
|
+
h$1("sqm-form-message", { loading: states.loading, type: alertDetails.alertType },
|
|
3088
3191
|
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
3089
3192
|
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
3090
3193
|
getButton(states.status))));
|
|
@@ -3097,6 +3200,15 @@ const PayoutStatusAlert = class {
|
|
|
3097
3200
|
* @uiName Info required alert header
|
|
3098
3201
|
*/
|
|
3099
3202
|
this.informationRequiredHeader = "Payout and tax information required";
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @uiName Edit payment info button label
|
|
3206
|
+
*/
|
|
3207
|
+
this.editPaymentInformationButton = "Edit Payout Information";
|
|
3208
|
+
/**
|
|
3209
|
+
* @uiName Submit new tax form button label
|
|
3210
|
+
*/
|
|
3211
|
+
this.newFormButton = "Submit new tax form";
|
|
3100
3212
|
/**
|
|
3101
3213
|
* @uiName Info required alert description
|
|
3102
3214
|
*/
|
|
@@ -3120,7 +3232,7 @@ const PayoutStatusAlert = class {
|
|
|
3120
3232
|
/**
|
|
3121
3233
|
* @uiName Verification required internal alert header
|
|
3122
3234
|
*/
|
|
3123
|
-
this.verificationRequiredInternalHeader = "Identity Verification in
|
|
3235
|
+
this.verificationRequiredInternalHeader = "Identity Verification in progress";
|
|
3124
3236
|
/**
|
|
3125
3237
|
* @uiName Verification required internal alert description
|
|
3126
3238
|
*/
|
|
@@ -3128,7 +3240,7 @@ const PayoutStatusAlert = class {
|
|
|
3128
3240
|
/**
|
|
3129
3241
|
* @uiName Verification review internal alert header
|
|
3130
3242
|
*/
|
|
3131
|
-
this.verificationReviewInternalHeader = "Identity Verification
|
|
3243
|
+
this.verificationReviewInternalHeader = "Identity Verification under review";
|
|
3132
3244
|
/**
|
|
3133
3245
|
* @uiName Verification review internal alert description
|
|
3134
3246
|
*/
|
|
@@ -3136,7 +3248,7 @@ const PayoutStatusAlert = class {
|
|
|
3136
3248
|
/**
|
|
3137
3249
|
* @uiName Verification failed internal alert header
|
|
3138
3250
|
*/
|
|
3139
|
-
this.verificationFailedInternalHeader = "Identity
|
|
3251
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
3140
3252
|
/**
|
|
3141
3253
|
* @uiName Verification failed internal alert description
|
|
3142
3254
|
*/
|
|
@@ -3149,6 +3261,54 @@ const PayoutStatusAlert = class {
|
|
|
3149
3261
|
* @uiName Account review alert description
|
|
3150
3262
|
*/
|
|
3151
3263
|
this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
|
|
3264
|
+
/**
|
|
3265
|
+
* @uiName Payment on hold alert header
|
|
3266
|
+
*/
|
|
3267
|
+
this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
|
|
3268
|
+
/**
|
|
3269
|
+
* @uiName Payment on hold alert description
|
|
3270
|
+
*/
|
|
3271
|
+
this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
|
|
3272
|
+
/**
|
|
3273
|
+
* @uiName Beneficiary name invalid alert header
|
|
3274
|
+
*/
|
|
3275
|
+
this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
|
|
3276
|
+
/**
|
|
3277
|
+
* @uiName Beneficiary name invalid description
|
|
3278
|
+
*/
|
|
3279
|
+
this.beneficiaryNameInvalidDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
3280
|
+
/**
|
|
3281
|
+
* @uiName Beneficiary name mismatch alert header
|
|
3282
|
+
*/
|
|
3283
|
+
this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
|
|
3284
|
+
/**
|
|
3285
|
+
* @uiName Beneficiary name mismatch alert description
|
|
3286
|
+
*/
|
|
3287
|
+
this.beneficiaryNameMismatchDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
3288
|
+
/**
|
|
3289
|
+
* @uiName Bank name mismatch alert header
|
|
3290
|
+
*/
|
|
3291
|
+
this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
|
|
3292
|
+
/**
|
|
3293
|
+
* @uiName Bank name mismatch alert description
|
|
3294
|
+
*/
|
|
3295
|
+
this.bankTaxNameMismatchDescription = "The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
3296
|
+
/**
|
|
3297
|
+
* @uiName Withdrawal settings invalid alert header
|
|
3298
|
+
*/
|
|
3299
|
+
this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
3300
|
+
/**
|
|
3301
|
+
* @uiName Withdrawal settings invalid alert description
|
|
3302
|
+
*/
|
|
3303
|
+
this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
3304
|
+
/**
|
|
3305
|
+
* @uiName Payment returned alert header
|
|
3306
|
+
*/
|
|
3307
|
+
this.paymentReturnedHeader = "Payout unsuccessful";
|
|
3308
|
+
/**
|
|
3309
|
+
* @uiName Payment returned alert description
|
|
3310
|
+
*/
|
|
3311
|
+
this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
|
|
3152
3312
|
/**
|
|
3153
3313
|
* @uiName W-9 payment threshold alert header
|
|
3154
3314
|
*/
|
|
@@ -3218,8 +3378,8 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
3218
3378
|
return cjs({
|
|
3219
3379
|
states: {
|
|
3220
3380
|
error: false,
|
|
3221
|
-
status:
|
|
3222
|
-
loading:
|
|
3381
|
+
status: props.demoData.states.status,
|
|
3382
|
+
loading: true,
|
|
3223
3383
|
veriffLoading: false,
|
|
3224
3384
|
},
|
|
3225
3385
|
data: { type: "SquatchAdmin" },
|
|
@@ -3227,6 +3387,8 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
3227
3387
|
callbacks: {
|
|
3228
3388
|
onTermsClick: () => { },
|
|
3229
3389
|
onClick: () => console.log("show"),
|
|
3390
|
+
onPaymentInfoClick: () => { },
|
|
3391
|
+
onNewFormClick: () => { },
|
|
3230
3392
|
},
|
|
3231
3393
|
}, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3232
3394
|
}
|
|
@@ -7264,12 +7426,12 @@ const TaxAndCashMonolith = class {
|
|
|
7264
7426
|
* @uiName Submit new tax form button label
|
|
7265
7427
|
* @uiGroup Dashboard Properties
|
|
7266
7428
|
*/
|
|
7267
|
-
this.dashboard_newFormButton = "Submit new form";
|
|
7429
|
+
this.dashboard_newFormButton = "Submit new tax form";
|
|
7268
7430
|
/**
|
|
7269
7431
|
* @uiName Edit payment info button label
|
|
7270
7432
|
* @uiGroup Dashboard Properties
|
|
7271
7433
|
*/
|
|
7272
|
-
this.dashboard_editPaymentInformationButton = "Edit
|
|
7434
|
+
this.dashboard_editPaymentInformationButton = "Edit payout information";
|
|
7273
7435
|
/**
|
|
7274
7436
|
* @uiName Not registered for indirect tax text
|
|
7275
7437
|
* @uiGroup Dashboard Properties
|
|
@@ -7421,7 +7583,7 @@ const TaxAndCashMonolith = class {
|
|
|
7421
7583
|
* @uiGroup Dashboard Properties
|
|
7422
7584
|
* @uiWidget textArea
|
|
7423
7585
|
*/
|
|
7424
|
-
this.dashboard_verificationRequiredInternalHeader = "Identity
|
|
7586
|
+
this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
|
|
7425
7587
|
/**
|
|
7426
7588
|
* @uiName Verification required internal alert description
|
|
7427
7589
|
* @uiGroup Dashboard Properties
|
|
@@ -7433,7 +7595,7 @@ const TaxAndCashMonolith = class {
|
|
|
7433
7595
|
* @uiGroup Dashboard Properties
|
|
7434
7596
|
* @uiWidget textArea
|
|
7435
7597
|
*/
|
|
7436
|
-
this.dashboard_verificationReviewInternalHeader = "Identity
|
|
7598
|
+
this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
|
|
7437
7599
|
/**
|
|
7438
7600
|
* @uiName Verification review internal alert description
|
|
7439
7601
|
* @uiGroup Dashboard Properties
|
|
@@ -7445,7 +7607,7 @@ const TaxAndCashMonolith = class {
|
|
|
7445
7607
|
* @uiGroup Dashboard Properties
|
|
7446
7608
|
* @uiWidget textArea
|
|
7447
7609
|
*/
|
|
7448
|
-
this.dashboard_verificationFailedInternalHeader = "Identity
|
|
7610
|
+
this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
|
|
7449
7611
|
/**
|
|
7450
7612
|
* @uiName Verification failed internal alert description
|
|
7451
7613
|
* @uiGroup Dashboard Properties
|
|
@@ -7479,6 +7641,54 @@ const TaxAndCashMonolith = class {
|
|
|
7479
7641
|
* @uiName Account review alert description
|
|
7480
7642
|
*/
|
|
7481
7643
|
this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
|
|
7644
|
+
/**
|
|
7645
|
+
* @uiName Payment on hold alert header
|
|
7646
|
+
*/
|
|
7647
|
+
this.dashboard_paymentOnHoldHeader = "We are reviewing your new payout settings";
|
|
7648
|
+
/**
|
|
7649
|
+
* @uiName Payment on hold alert description
|
|
7650
|
+
*/
|
|
7651
|
+
this.dashboard_paymentOnHoldDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
|
|
7652
|
+
/**
|
|
7653
|
+
* @uiName Beneficiary name invalid alert header
|
|
7654
|
+
*/
|
|
7655
|
+
this.dashboard_beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
|
|
7656
|
+
/**
|
|
7657
|
+
* @uiName Beneficiary name invalid description
|
|
7658
|
+
*/
|
|
7659
|
+
this.dashboard_beneficiaryNameInvalidDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
7660
|
+
/**
|
|
7661
|
+
* @uiName Beneficiary name mismatch alert header
|
|
7662
|
+
*/
|
|
7663
|
+
this.dashboard_beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
|
|
7664
|
+
/**
|
|
7665
|
+
* @uiName Beneficiary name mismatch alert description
|
|
7666
|
+
*/
|
|
7667
|
+
this.dashboard_beneficiaryNameMismatchDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
7668
|
+
/**
|
|
7669
|
+
* @uiName Bank name mismatch alert header
|
|
7670
|
+
*/
|
|
7671
|
+
this.dashboard_bankNameMismatchHeader = "Your payment information does not match your tax form";
|
|
7672
|
+
/**
|
|
7673
|
+
* @uiName Bank name mismatch alert description
|
|
7674
|
+
*/
|
|
7675
|
+
this.dashboard_bankNameMismatchDescription = "The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
7676
|
+
/**
|
|
7677
|
+
* @uiName Withdrawal settings invalid alert header
|
|
7678
|
+
*/
|
|
7679
|
+
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
7680
|
+
/**
|
|
7681
|
+
* @uiName Withdrawal settings invalid alert description
|
|
7682
|
+
*/
|
|
7683
|
+
this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
7684
|
+
/**
|
|
7685
|
+
* @uiName Payment returned alert header
|
|
7686
|
+
*/
|
|
7687
|
+
this.dashboard_paymentReturnedHeader = "Payout unsuccessful";
|
|
7688
|
+
/**
|
|
7689
|
+
* @uiName Payment returned alert description
|
|
7690
|
+
*/
|
|
7691
|
+
this.dashboard_paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
|
|
7482
7692
|
/**
|
|
7483
7693
|
* @uiName Terms and Conditions text
|
|
7484
7694
|
* @uiGroup Dashboard Properties
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-536c422d.js';
|
|
3
3
|
import { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, F as Fn, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-536c422d.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -318,9 +318,12 @@ function WidgetEmailVerificationView(props) {
|
|
|
318
318
|
const { states, callbacks, text } = props;
|
|
319
319
|
const renderLoadingSkeleton = () => {
|
|
320
320
|
return (h("div", { class: sheet.classes.Wrapper },
|
|
321
|
-
h("
|
|
322
|
-
h("
|
|
323
|
-
h("
|
|
321
|
+
h("sqm-skeleton", { height: "16px", width: "50%" }),
|
|
322
|
+
h("sqm-skeleton", { height: "16px", width: "50%" }),
|
|
323
|
+
h("sqm-skeleton", { height: "16px", width: "50%" }),
|
|
324
|
+
h("sqm-skeleton", { height: "34px", width: "30%" }),
|
|
325
|
+
h("sqm-skeleton", { height: "24px", width: "15%" }),
|
|
326
|
+
h("sl-button", { submit: true, class: sheet.classes.ContinueButton, loading: true, exportparts: "base: primarybutton-base", type: "primary" }, text.sendCodeText)));
|
|
324
327
|
};
|
|
325
328
|
return (h("div", { part: "sqm-base" },
|
|
326
329
|
h("style", { type: "text/css" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-536c422d.js';
|
|
3
3
|
import { n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import './index.module-c9811a48.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -7,6 +7,12 @@ const FormMessage = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.ignored = true;
|
|
10
|
+
/**
|
|
11
|
+
* Loading state for the alert.
|
|
12
|
+
*
|
|
13
|
+
* @uiName Loading
|
|
14
|
+
*/
|
|
15
|
+
this.loading = false;
|
|
10
16
|
/**
|
|
11
17
|
* Render the alert with transparent styles
|
|
12
18
|
*/
|
|
@@ -15,6 +21,9 @@ const FormMessage = class {
|
|
|
15
21
|
}
|
|
16
22
|
disconnectedCallback() { }
|
|
17
23
|
render() {
|
|
24
|
+
if (this.loading) {
|
|
25
|
+
return h$1("sqm-skeleton", { height: "90px", width: "100%" });
|
|
26
|
+
}
|
|
18
27
|
if (this.type === "error") {
|
|
19
28
|
return (h$1("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: `Error ${this.transparent ? "Transparent" : ""}`, type: "danger", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }), h$1("slot", null)));
|
|
20
29
|
}
|
|
@@ -31,4 +40,44 @@ const FormMessage = class {
|
|
|
31
40
|
};
|
|
32
41
|
FormMessage.style = sqmFormMessageCss;
|
|
33
42
|
|
|
34
|
-
|
|
43
|
+
const Skeleton = class {
|
|
44
|
+
constructor(hostRef) {
|
|
45
|
+
registerInstance(this, hostRef);
|
|
46
|
+
this.ignored = true;
|
|
47
|
+
/**
|
|
48
|
+
* @uiName Height (in pixels or %)
|
|
49
|
+
*/
|
|
50
|
+
this.height = "100%";
|
|
51
|
+
/**
|
|
52
|
+
* @uiName Width (in pixels or %)
|
|
53
|
+
*/
|
|
54
|
+
this.width = "100%";
|
|
55
|
+
this.vanillaStyle = `
|
|
56
|
+
sl-skeleton::part(indicator) {
|
|
57
|
+
--sheen-color: var(--sqm-skeleton-animation-background);
|
|
58
|
+
--color: var(--sqm-skeleton-background);
|
|
59
|
+
border-radius: var(--sqm-border-radius-normal);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
sl-skeleton::part(base) {
|
|
63
|
+
height:${this.height};
|
|
64
|
+
width:${this.width};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host{
|
|
68
|
+
display: block;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([hidden]) {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
disconnectedCallback() { }
|
|
77
|
+
render() {
|
|
78
|
+
console.log("This is the height", this.height);
|
|
79
|
+
return (h$1("div", null, h$1("style", { type: "text/css" }, this.vanillaStyle), h$1("sl-skeleton", null)));
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export { FormMessage as sqm_form_message, Skeleton as sqm_skeleton };
|
|
@@ -4,6 +4,16 @@ import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
|
4
4
|
const HeroImage = class {
|
|
5
5
|
constructor(hostRef) {
|
|
6
6
|
registerInstance(this, hostRef);
|
|
7
|
+
/**
|
|
8
|
+
* @uiName Logo text size (in px)
|
|
9
|
+
* @uiWidget number
|
|
10
|
+
*/
|
|
11
|
+
this.logoTextSize = 32;
|
|
12
|
+
/**
|
|
13
|
+
* @uiWidget color
|
|
14
|
+
* @uiName Logo text color
|
|
15
|
+
*/
|
|
16
|
+
this.logoTextColor = "var(--sqm-primary-color, var(--sqm-text, #555555))";
|
|
7
17
|
/**
|
|
8
18
|
* Page participants are navigated to after clicking the header logo.
|
|
9
19
|
*
|
|
@@ -12,14 +22,17 @@ const HeroImage = class {
|
|
|
12
22
|
*/
|
|
13
23
|
this.nextPage = "/";
|
|
14
24
|
/**
|
|
15
|
-
* @uiName Logo height
|
|
25
|
+
* @uiName Logo height (in px)
|
|
16
26
|
*/
|
|
17
27
|
this.height = 60;
|
|
18
28
|
h(this);
|
|
19
29
|
}
|
|
20
30
|
disconnectedCallback() { }
|
|
21
31
|
render() {
|
|
22
|
-
return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-link" }, h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl }))
|
|
32
|
+
return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-link", style: { textDecoration: "none" } }, this.imageUrl ? (h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl })) : (h$1("h3", { style: {
|
|
33
|
+
fontSize: `${this.logoTextSize}px`,
|
|
34
|
+
color: this.logoTextColor,
|
|
35
|
+
} }, this.logoText)))));
|
|
23
36
|
}
|
|
24
37
|
};
|
|
25
38
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-536c422d.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
9
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
8
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-5a6188da.js';
|
|
9
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-5c387852.js';
|
|
10
10
|
|
|
11
11
|
function useLeadCheckboxField() {
|
|
12
12
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-536c422d.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
10
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
9
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-5a6188da.js';
|
|
10
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-fa2488c9.js';
|
|
11
11
|
|
|
12
12
|
function useLeadInputField() {
|
|
13
13
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-536c422d.js';
|
|
3
3
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-536c422d.js';
|
|
3
3
|
import { n as h$1, k as useState } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { F as Fn, i as isDemo, d as dist, H, J, B, w as wn, $ as $e } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -398,7 +398,7 @@ function LoadingSlot() {
|
|
|
398
398
|
return (h("slot", { name: "loading" }, h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null)));
|
|
399
399
|
}
|
|
400
400
|
function LoadingRow() {
|
|
401
|
-
return h("
|
|
401
|
+
return h("sqm-skeleton", null);
|
|
402
402
|
}
|
|
403
403
|
function useDemoReferralCodes(props) {
|
|
404
404
|
return cjs({
|