@saasquatch/mint-components 1.12.0-2 → 1.12.0-20
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-13173901.js → ShadowViewAddon-040cffad.js} +38 -36
- package/dist/cjs/extractProps-fd93ba62.js +21 -0
- package/dist/cjs/{global-e4ebdbcc.js → global-c3637175.js} +10 -161
- package/dist/cjs/{index.module-236d0403.js → index.module-b8d9d0ba.js} +228 -1392
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
- package/dist/cjs/{re-render-5de6631a.js → re-render-5bde3d2e.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1175 -548
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +247 -127
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification.cjs.entry.js +150 -20
- package/dist/cjs/sqm-empty_4.cjs.entry.js +7 -7
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-dbba9bb4.js → sqm-invoice-table-view-4fcf021f.js} +155 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -8
- package/dist/cjs/{sqm-navigation-sidebar-item-view-fc865ecf.js → sqm-navigation-sidebar-item-view-a2135064.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-email-verification-view-4bc2760b.js → sqm-portal-email-verification-view-050dbe0f.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-cbab7c80.js → sqm-portal-profile-view-d97086bc.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -12
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -7
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -62
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +117 -48
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +168 -107
- package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
- package/dist/cjs/{useChildElements-23beb180.js → useChildElements-410d2435.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-7c125c00.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
- package/dist/cjs/usePayoutStatus-8f924372.js +1045 -0
- package/dist/cjs/{useReferralTable-54d0ba70.js → useReferralTable-824ac152.js} +13 -14
- package/dist/cjs/{useRegistrationFormState-e7e820d0.js → useRegistrationFormState-f9ce55be.js} +2 -2
- package/dist/cjs/useVerificationEmail-2eb28c2a.js +173 -0
- package/dist/cjs/{utilities-ac5b5f2c.js → utilities-f7de6c04.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +7 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +30 -7
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +32 -26
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +37 -10
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +21 -44
- 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 +513 -118
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +19 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +149 -3
- 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 -14
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +15 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +0 -1
- 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 +7 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +92 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +269 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +44 -18
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +6 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +55 -22
- 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 +19 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
- 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-72e231a5.js → ShadowViewAddon-69b61037.js} +12 -10
- package/dist/esm/extractProps-ae1afbb3.js +19 -0
- package/dist/esm/{global-adae7650.js → global-6306a9b8.js} +10 -161
- package/dist/esm/{index.module-c0eb7dc2.js → index.module-6c840c4e.js} +222 -1389
- package/dist/esm/{keys-a1496e39.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm/{re-render-5882a144.js → re-render-1bcfd0de.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +835 -209
- package/dist/esm/sqm-big-stat_39.entry.js +192 -72
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +148 -18
- package/dist/esm/sqm-empty_4.entry.js +4 -4
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-663674f2.js → sqm-invoice-table-view-b3127605.js} +155 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -4
- package/dist/esm/sqm-logout-current-user.entry.js +2 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +5 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -5
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +8 -9
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -9
- package/dist/esm/sqm-scroll.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +115 -46
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +169 -108
- package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm/{useChildElements-fe94b660.js → useChildElements-fc84e640.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
- package/dist/esm/usePayoutStatus-0bc0380f.js +1039 -0
- package/dist/esm/{useReferralTable-52008143.js → useReferralTable-f6ffa103.js} +4 -5
- package/dist/esm/{useRegistrationFormState-4cfd1a8d.js → useRegistrationFormState-849e27f7.js} +2 -2
- package/dist/esm/useVerificationEmail-2a21d0e3.js +171 -0
- package/dist/esm/{utilities-98445452.js → utilities-443732be.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-69b61037.js +1 -0
- package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
- package/dist/esm-es5/global-6306a9b8.js +285 -0
- package/dist/esm-es5/index.module-6c840c4e.js +1 -0
- package/dist/esm-es5/{keys-a1496e39.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm-es5/{re-render-5882a144.js → re-render-1bcfd0de.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-big-stat_39.entry.js +1 -1
- 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 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-b3127605.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-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.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-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-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.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-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.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.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-cell.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 -1
- 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-text-span.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 -1
- package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm-es5/useChildElements-fc84e640.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-0bc0380f.js +6 -0
- package/dist/esm-es5/useReferralTable-f6ffa103.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-2a21d0e3.js +1 -0
- package/dist/esm-es5/{utilities-98445452.js → utilities-443732be.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-0ecb3019.js → p-0121e044.js} +1 -1
- package/dist/mint-components/p-012daf3c.entry.js +1 -0
- package/dist/mint-components/p-021ccc29.entry.js +25 -0
- package/dist/mint-components/{p-1e40967f.entry.js → p-03dbe2ce.entry.js} +1 -1
- package/dist/mint-components/{p-65a449de.js → p-04348a9b.js} +1 -1
- package/dist/mint-components/{p-14488d1c.system.entry.js → p-04ced592.system.entry.js} +1 -1
- package/dist/mint-components/{p-78a831e0.system.entry.js → p-0527d90b.system.entry.js} +1 -1
- package/dist/mint-components/p-0893073b.entry.js +1 -0
- package/dist/mint-components/p-0a94fe9f.system.entry.js +1 -0
- package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
- package/dist/mint-components/p-11d1b212.js +1 -0
- package/dist/mint-components/p-156e37c2.system.entry.js +1 -0
- package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
- package/dist/mint-components/{p-ee328054.entry.js → p-1b861be5.entry.js} +1 -1
- package/dist/mint-components/{p-4209cd94.js → p-1d27da33.js} +4 -4
- package/dist/mint-components/{p-5a2fd8e0.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0fba496.system.entry.js → p-22425c71.system.entry.js} +1 -1
- package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
- package/dist/mint-components/p-26468242.js +1 -0
- package/dist/mint-components/{p-1602bf01.js → p-2816bf6a.js} +1 -1
- package/dist/mint-components/p-2868f475.entry.js +1 -0
- package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
- package/dist/mint-components/p-2c342de3.system.entry.js +1 -0
- package/dist/mint-components/p-3007fb7d.system.entry.js +1 -0
- package/dist/mint-components/p-36e9296e.system.entry.js +1 -0
- package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-3925bcd6.entry.js +13 -0
- package/dist/mint-components/{p-45d0b48a.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-423821b9.system.js → p-43621f12.system.js} +1 -1
- package/dist/mint-components/p-478a3755.entry.js +9 -0
- package/dist/mint-components/p-47b47e3b.js +31 -0
- package/dist/mint-components/{p-f338ef55.system.js → p-4babe350.system.js} +1 -1
- package/dist/mint-components/{p-34a87e67.system.js → p-4e373c3d.system.js} +1 -1
- package/dist/mint-components/{p-ab89b44a.system.js → p-4eae91a9.system.js} +1 -1
- package/dist/mint-components/{p-ab7322f0.system.entry.js → p-51d53165.system.entry.js} +1 -1
- package/dist/mint-components/{p-4c0b7768.entry.js → p-5291891c.entry.js} +3 -3
- package/dist/mint-components/{p-4c9b6fbe.system.js → p-57dd28bd.system.js} +1 -1
- package/dist/mint-components/{p-34dab223.system.entry.js → p-59818690.system.entry.js} +1 -1
- package/dist/mint-components/{p-00ec17d4.system.js → p-5becb2ff.system.js} +1 -1
- package/dist/mint-components/{p-a1f0d8ba.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
- package/dist/mint-components/p-64491210.system.entry.js +1 -0
- package/dist/mint-components/{p-def70672.js → p-68747d88.js} +1 -1
- package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/{p-cafebf8a.entry.js → p-6c928c7d.entry.js} +1 -1
- package/dist/mint-components/{p-70886c65.system.entry.js → p-70af9ba2.system.entry.js} +1 -1
- package/dist/mint-components/{p-657b290b.entry.js → p-76392386.entry.js} +1 -1
- package/dist/mint-components/p-7dd1ff31.system.entry.js +1 -0
- package/dist/mint-components/{p-d0c4f3bf.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
- package/dist/mint-components/{p-cdcd825e.entry.js → p-84b25a46.entry.js} +1 -1
- package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-45d6cde6.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
- package/dist/mint-components/p-8d554a89.system.js +1 -0
- package/dist/mint-components/p-93576222.system.js +1 -0
- package/dist/mint-components/p-9379ee08.js +48 -0
- package/dist/mint-components/{p-d2a925d5.entry.js → p-94454880.entry.js} +1 -1
- package/dist/mint-components/{p-3ba349a3.entry.js → p-947fe79b.entry.js} +1 -1
- package/dist/mint-components/p-97c92e75.entry.js +16 -0
- package/dist/mint-components/p-99c15c5e.entry.js +1 -0
- package/dist/mint-components/p-9bd417fd.entry.js +1 -0
- package/dist/mint-components/{p-c293f586.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-56b37aeb.entry.js → p-9d34f4f0.entry.js} +3 -3
- package/dist/mint-components/{p-64acc813.entry.js → p-9e0230c3.entry.js} +1 -1
- package/dist/mint-components/{p-8ccb4267.js → p-9eae245f.js} +30 -27
- package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
- package/dist/mint-components/{p-a2e1af83.entry.js → p-a45b03d2.entry.js} +1 -1
- package/dist/mint-components/{p-15e01e7a.entry.js → p-a85f57bb.entry.js} +1 -1
- package/dist/mint-components/p-a8645c1b.system.js +1 -0
- package/dist/mint-components/p-a8c28561.system.js +1 -0
- package/dist/mint-components/p-a954c299.entry.js +205 -0
- package/dist/mint-components/{p-dce3d296.system.js → p-ac51940e.system.js} +1 -1
- package/dist/mint-components/{p-d39da925.entry.js → p-b1e8a802.entry.js} +1 -1
- package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
- package/dist/mint-components/{p-3da2b3cf.system.entry.js → p-bc826117.system.entry.js} +1 -1
- package/dist/mint-components/p-bd1372d2.system.js +6 -0
- package/dist/mint-components/p-bdd6bb13.js +1 -0
- package/dist/mint-components/{p-3c46b3de.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
- package/dist/mint-components/{p-cadb8dba.entry.js → p-bee1e573.entry.js} +1 -1
- package/dist/mint-components/{p-18cd88c4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
- package/dist/mint-components/p-c1fa5e04.system.js +1 -0
- package/dist/mint-components/{p-7507d72b.js → p-c3b37bbf.js} +1 -1
- package/dist/mint-components/{p-ac69b460.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
- package/dist/mint-components/p-c8878e79.entry.js +1 -0
- package/dist/mint-components/p-c92a743e.entry.js +1 -0
- package/dist/mint-components/p-c9fb6102.entry.js +1 -0
- package/dist/mint-components/p-ca809fdd.system.js +1 -0
- package/dist/mint-components/p-cb433855.system.entry.js +1 -0
- package/dist/mint-components/p-cb55d3c4.system.entry.js +1 -0
- package/dist/mint-components/{p-6a70d2d6.entry.js → p-cd200c95.entry.js} +1 -1
- package/dist/mint-components/{p-06c561ea.system.js → p-cd44de66.system.js} +1 -1
- package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/p-d35d8c06.entry.js +11 -0
- package/dist/mint-components/p-d468925f.entry.js +1 -0
- package/dist/mint-components/p-d4877a65.system.entry.js +1 -0
- package/dist/mint-components/{p-0db003f7.js → p-d83b0cf3.js} +153 -153
- package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
- package/dist/mint-components/p-def516b8.system.js +1 -0
- package/dist/mint-components/p-e01ac27c.system.js +1 -0
- package/dist/mint-components/{p-611a30f0.js → p-e0e7635a.js} +1 -1
- package/dist/mint-components/p-e12d3414.system.entry.js +1 -0
- package/dist/mint-components/{p-816fb64f.system.entry.js → p-ead27698.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
- package/dist/mint-components/p-f1184442.js +1 -0
- package/dist/mint-components/p-f196d71a.entry.js +241 -0
- package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/p-f36e33ff.entry.js +13 -0
- package/dist/mint-components/p-f450654b.system.entry.js +1 -0
- package/dist/mint-components/p-f4cbbe47.entry.js +1 -0
- package/dist/mint-components/p-f531a5c9.system.entry.js +1 -0
- package/dist/mint-components/{p-b14a77e8.system.entry.js → p-f56348dc.system.entry.js} +1 -1
- package/dist/mint-components/p-f655a7df.js +1 -0
- package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
- package/dist/mint-components/{p-fda3d0ca.system.js → p-fc422446.system.js} +22 -22
- package/dist/mint-components/p-fd21ae8f.entry.js +1 -0
- package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.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/sqm-code-verification/WidgetCodeVerification.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +2 -1
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -6
- 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 +79 -1
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -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 +5 -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 +7 -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-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 +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +46 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +12 -1
- 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 +15 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +17 -2
- 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 +461 -83
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/index-56d1fa5b.js +0 -2227
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -356
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -33
- package/dist/cjs/useEmailVerification-33465f36.js +0 -155
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -27
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +0 -3
- package/dist/esm/index-0c7b14c5.js +0 -2225
- package/dist/esm/sqm-code-verification.entry.js +0 -352
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -29
- package/dist/esm/useEmailVerification-8f2dc2bd.js +0 -152
- package/dist/esm-es5/ShadowViewAddon-72e231a5.js +0 -1
- package/dist/esm-es5/global-adae7650.js +0 -285
- package/dist/esm-es5/index-0c7b14c5.js +0 -1
- package/dist/esm-es5/index.module-c0eb7dc2.js +0 -53
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-663674f2.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/esm-es5/useChildElements-fe94b660.js +0 -1
- package/dist/esm-es5/useEmailVerification-8f2dc2bd.js +0 -1
- package/dist/esm-es5/useReferralTable-52008143.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +0 -1
- package/dist/mint-components/p-0078bc76.system.js +0 -53
- package/dist/mint-components/p-18399da0.system.entry.js +0 -1
- package/dist/mint-components/p-1f02e20b.entry.js +0 -1
- package/dist/mint-components/p-253c87e1.system.entry.js +0 -1
- package/dist/mint-components/p-25a70095.system.entry.js +0 -1
- package/dist/mint-components/p-2632464d.entry.js +0 -1
- package/dist/mint-components/p-286190c4.system.entry.js +0 -1
- package/dist/mint-components/p-414b3b6c.system.entry.js +0 -1
- package/dist/mint-components/p-4185f6f5.system.entry.js +0 -1
- package/dist/mint-components/p-4d060f15.js +0 -1
- package/dist/mint-components/p-52241ba9.system.js +0 -1
- package/dist/mint-components/p-556753b2.js +0 -42
- package/dist/mint-components/p-55dcb6ff.system.js +0 -1
- package/dist/mint-components/p-65de8fb2.js +0 -1
- package/dist/mint-components/p-6cae44d7.js +0 -1
- package/dist/mint-components/p-6eede6e5.system.entry.js +0 -1
- package/dist/mint-components/p-6fbfd683.js +0 -1
- package/dist/mint-components/p-78c1bd77.system.js +0 -1
- package/dist/mint-components/p-7c4c727c.system.entry.js +0 -1
- package/dist/mint-components/p-7e5f0292.system.entry.js +0 -1
- package/dist/mint-components/p-832eba3a.entry.js +0 -1
- package/dist/mint-components/p-858a87ce.entry.js +0 -1
- package/dist/mint-components/p-89669879.system.js +0 -1
- package/dist/mint-components/p-8b7d2f44.entry.js +0 -1
- package/dist/mint-components/p-8d696fc9.entry.js +0 -189
- package/dist/mint-components/p-8da20810.entry.js +0 -240
- package/dist/mint-components/p-8defb972.system.entry.js +0 -1
- package/dist/mint-components/p-99a09fab.entry.js +0 -9
- package/dist/mint-components/p-9cdaa099.entry.js +0 -1
- package/dist/mint-components/p-a80c8f5c.system.js +0 -1
- package/dist/mint-components/p-a9487844.system.entry.js +0 -1
- package/dist/mint-components/p-b28df069.js +0 -1
- package/dist/mint-components/p-b4771476.entry.js +0 -1
- package/dist/mint-components/p-c9ca8473.system.entry.js +0 -1
- package/dist/mint-components/p-cac64545.system.entry.js +0 -1
- package/dist/mint-components/p-d3293ac3.entry.js +0 -11
- package/dist/mint-components/p-d4138847.system.entry.js +0 -1
- package/dist/mint-components/p-d70bfe30.entry.js +0 -8
- package/dist/mint-components/p-d7b701a7.entry.js +0 -1
- package/dist/mint-components/p-d90ef1da.system.entry.js +0 -1
- package/dist/mint-components/p-e05ff098.system.js +0 -1
- package/dist/mint-components/p-e4c3817a.system.entry.js +0 -1
- package/dist/mint-components/p-e7797040.entry.js +0 -1
- package/dist/mint-components/p-e810da97.entry.js +0 -1
- package/dist/mint-components/p-e82eec3c.entry.js +0 -13
- package/dist/mint-components/p-e8bfd924.system.entry.js +0 -1
- package/dist/mint-components/p-e8fcaaa2.entry.js +0 -13
- package/dist/mint-components/p-ef49d744.entry.js +0 -1
- package/dist/mint-components/p-f5f0fc0e.entry.js +0 -1
- package/dist/mint-components/p-faf019cf.system.js +0 -1
- package/dist/mint-components/p-fcb224ab.js +0 -25
- package/dist/mint-components/p-fe8e1071.entry.js +0 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -5
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -1
package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js
CHANGED
|
@@ -9,13 +9,6 @@ export const Loading = () => {
|
|
|
9
9
|
},
|
|
10
10
|
} }));
|
|
11
11
|
};
|
|
12
|
-
export const Error = () => {
|
|
13
|
-
return (h("sqm-payout-details-card", { demoData: {
|
|
14
|
-
states: {
|
|
15
|
-
error: true,
|
|
16
|
-
},
|
|
17
|
-
} }));
|
|
18
|
-
};
|
|
19
12
|
export const NextPayout = () => {
|
|
20
13
|
return (h("sqm-payout-details-card", { demoData: {
|
|
21
14
|
states: {
|
|
@@ -166,11 +166,6 @@ export function PayoutDetailsCardView(props) {
|
|
|
166
166
|
});
|
|
167
167
|
return (h("div", { class: classes.Container },
|
|
168
168
|
h("style", { type: "text/css" }, styleString),
|
|
169
|
-
states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", class: classes.Alert, type: "warning", open: true },
|
|
170
|
-
h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
|
|
171
|
-
h("div", { class: classes.AlertContent },
|
|
172
|
-
h("b", null, text.error.errorTitleText),
|
|
173
|
-
text.error.errorDescriptionText))),
|
|
174
169
|
states.loading ? (renderLoadingSkeleton()) : (h("div", { class: classes.CardContainer },
|
|
175
170
|
h("div", { class: classes.StatusContainer },
|
|
176
171
|
h("p", { class: classes.SubduedRegularText }, states.badgeStatus === "thresholdPayout"
|
package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js
CHANGED
|
@@ -26,16 +26,6 @@ export class PayoutDetailsCard {
|
|
|
26
26
|
* @uiName Bank account field label
|
|
27
27
|
*/
|
|
28
28
|
this.accountText = "Account";
|
|
29
|
-
/**
|
|
30
|
-
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
31
|
-
* @uiName Payout error message title
|
|
32
|
-
*/
|
|
33
|
-
this.errorTitleText = "Your payout is on hold ";
|
|
34
|
-
/**
|
|
35
|
-
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
36
|
-
* @uiName Payout error message description
|
|
37
|
-
*/
|
|
38
|
-
this.errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
|
|
39
29
|
/**
|
|
40
30
|
* Text displayed for existing publishers that do not have saved banking information.
|
|
41
31
|
* @uiName Payout missing information subtext
|
|
@@ -48,10 +38,6 @@ export class PayoutDetailsCard {
|
|
|
48
38
|
const props = getProps(this);
|
|
49
39
|
return {
|
|
50
40
|
...props,
|
|
51
|
-
error: {
|
|
52
|
-
errorTitleText: this.errorTitleText,
|
|
53
|
-
errorDescriptionText: this.errorDescriptionText,
|
|
54
|
-
},
|
|
55
41
|
};
|
|
56
42
|
}
|
|
57
43
|
render() {
|
|
@@ -127,48 +113,6 @@ export class PayoutDetailsCard {
|
|
|
127
113
|
"reflect": false,
|
|
128
114
|
"defaultValue": "\"Account\""
|
|
129
115
|
},
|
|
130
|
-
"errorTitleText": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"mutable": false,
|
|
133
|
-
"complexType": {
|
|
134
|
-
"original": "string",
|
|
135
|
-
"resolved": "string",
|
|
136
|
-
"references": {}
|
|
137
|
-
},
|
|
138
|
-
"required": false,
|
|
139
|
-
"optional": false,
|
|
140
|
-
"docs": {
|
|
141
|
-
"tags": [{
|
|
142
|
-
"text": "Payout error message title",
|
|
143
|
-
"name": "uiName"
|
|
144
|
-
}],
|
|
145
|
-
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
146
|
-
},
|
|
147
|
-
"attribute": "error-title-text",
|
|
148
|
-
"reflect": false,
|
|
149
|
-
"defaultValue": "\"Your payout is on hold \""
|
|
150
|
-
},
|
|
151
|
-
"errorDescriptionText": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"mutable": false,
|
|
154
|
-
"complexType": {
|
|
155
|
-
"original": "string",
|
|
156
|
-
"resolved": "string",
|
|
157
|
-
"references": {}
|
|
158
|
-
},
|
|
159
|
-
"required": false,
|
|
160
|
-
"optional": false,
|
|
161
|
-
"docs": {
|
|
162
|
-
"tags": [{
|
|
163
|
-
"text": "Payout error message description",
|
|
164
|
-
"name": "uiName"
|
|
165
|
-
}],
|
|
166
|
-
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
167
|
-
},
|
|
168
|
-
"attribute": "error-description-text",
|
|
169
|
-
"reflect": false,
|
|
170
|
-
"defaultValue": "\"If you\u2019ve recently added your payout information, please wait while we verify your information. If it\u2019s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
|
|
171
|
-
},
|
|
172
116
|
"payoutMissingInformationText": {
|
|
173
117
|
"type": "string",
|
|
174
118
|
"mutable": false,
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js
CHANGED
|
@@ -3,10 +3,16 @@ export default {
|
|
|
3
3
|
title: "Components/Payout Status Alert",
|
|
4
4
|
};
|
|
5
5
|
const defaultProps = {
|
|
6
|
+
error: false,
|
|
6
7
|
status: "INFORMATION_REQUIRED",
|
|
7
8
|
loading: false,
|
|
9
|
+
veriffLoading: false,
|
|
8
10
|
};
|
|
9
11
|
export const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps } }));
|
|
10
|
-
export const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "
|
|
12
|
+
export const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REQUIRED" } } }));
|
|
13
|
+
export const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:INTERNAL" } } }));
|
|
14
|
+
export const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REVIEW" } } }));
|
|
15
|
+
export const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:FAILED" } } }));
|
|
11
16
|
export const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "HOLD" } } }));
|
|
12
17
|
export const Loading = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, loading: true } } }));
|
|
18
|
+
export const Error = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, error: true } } }));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
3
|
+
import { intl } from "../../../global/global";
|
|
3
4
|
const style = {
|
|
4
5
|
SkeletonOne: {
|
|
5
6
|
width: "50%",
|
|
@@ -9,6 +10,15 @@ const style = {
|
|
|
9
10
|
margin: "0",
|
|
10
11
|
marginBottom: "var(--sl-spacing-small)",
|
|
11
12
|
},
|
|
13
|
+
ErrorAlertContainer: {
|
|
14
|
+
"&::part(base)": {
|
|
15
|
+
backgroundColor: "var(--sl-color-red-100)",
|
|
16
|
+
borderTop: "none",
|
|
17
|
+
},
|
|
18
|
+
"& sl-icon::part(base)": {
|
|
19
|
+
color: "var(--sl-color-danger-500)",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
12
22
|
WarningAlertContainer: {
|
|
13
23
|
"&::part(base)": {
|
|
14
24
|
backgroundColor: "var(--sl-color-yellow-100)",
|
|
@@ -27,12 +37,26 @@ const style = {
|
|
|
27
37
|
color: "var(--sl-color-blue-500)",
|
|
28
38
|
},
|
|
29
39
|
},
|
|
40
|
+
Dialog: {
|
|
41
|
+
"&::part(panel)": {
|
|
42
|
+
height: "600px",
|
|
43
|
+
},
|
|
44
|
+
"&::part(close-button)": {
|
|
45
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
46
|
+
},
|
|
47
|
+
"&::part(title)": {
|
|
48
|
+
display: "none",
|
|
49
|
+
},
|
|
50
|
+
"&::part(header)": {},
|
|
51
|
+
"&::part(body)": { padding: "0" },
|
|
52
|
+
"&::part(footer)": {},
|
|
53
|
+
},
|
|
30
54
|
};
|
|
31
55
|
const sheet = createStyleSheet(style);
|
|
32
56
|
const styleString = sheet.toString();
|
|
33
57
|
export function PayoutStatusAlertView(props) {
|
|
34
58
|
var _a, _b, _c, _d, _e;
|
|
35
|
-
const { text, states } = props;
|
|
59
|
+
const { text, states, data, callbacks } = props;
|
|
36
60
|
if (states.loading) {
|
|
37
61
|
return h("sl-skeleton", { class: sheet.classes.SkeletonOne });
|
|
38
62
|
}
|
|
@@ -40,29 +64,87 @@ export function PayoutStatusAlertView(props) {
|
|
|
40
64
|
return h("div", null);
|
|
41
65
|
}
|
|
42
66
|
function getAlert(status) {
|
|
67
|
+
if (states.error)
|
|
68
|
+
return {
|
|
69
|
+
header: text.errorHeader,
|
|
70
|
+
description: text.errorDescription,
|
|
71
|
+
buttonText: null,
|
|
72
|
+
alertType: "critical",
|
|
73
|
+
icon: "exclamation-triangle",
|
|
74
|
+
class: sheet.classes.ErrorAlertContainer,
|
|
75
|
+
};
|
|
43
76
|
switch (status) {
|
|
44
77
|
case "INFORMATION_REQUIRED":
|
|
45
78
|
return {
|
|
46
79
|
header: text.informationRequiredHeader,
|
|
47
80
|
description: text.informationRequiredDescription,
|
|
48
|
-
buttonText: text.
|
|
81
|
+
buttonText: text.informationRequiredButtonText,
|
|
49
82
|
alertType: "info",
|
|
50
83
|
icon: "info-circle",
|
|
51
84
|
class: sheet.classes.InfoAlertContainer,
|
|
52
85
|
};
|
|
53
|
-
case "
|
|
86
|
+
case "VERIFICATION:REQUIRED":
|
|
54
87
|
return {
|
|
55
88
|
header: text.verificationRequiredHeader,
|
|
56
|
-
description:
|
|
89
|
+
description: intl.formatMessage({
|
|
90
|
+
id: "verificationRequiredDescription",
|
|
91
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
92
|
+
}, {
|
|
93
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
94
|
+
}),
|
|
57
95
|
buttonText: text.verificationRequiredButtonText,
|
|
58
96
|
alertType: "warning",
|
|
59
97
|
icon: "exclamation-triangle",
|
|
60
98
|
class: sheet.classes.WarningAlertContainer,
|
|
61
99
|
};
|
|
100
|
+
case "VERIFICATION:INTERNAL":
|
|
101
|
+
return {
|
|
102
|
+
header: text.verificationRequiredInternalHeader,
|
|
103
|
+
description: intl.formatMessage({
|
|
104
|
+
id: "verificationRequiredInternalDescription",
|
|
105
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
106
|
+
}, {
|
|
107
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
108
|
+
}),
|
|
109
|
+
alertType: "warning",
|
|
110
|
+
icon: "exclamation-triangle",
|
|
111
|
+
class: sheet.classes.WarningAlertContainer,
|
|
112
|
+
};
|
|
113
|
+
case "VERIFICATION:REVIEW":
|
|
114
|
+
return {
|
|
115
|
+
header: text.verificationReviewInternalHeader,
|
|
116
|
+
description: intl.formatMessage({
|
|
117
|
+
id: "verificationReviewInternalDescription",
|
|
118
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
119
|
+
}, {
|
|
120
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
121
|
+
}),
|
|
122
|
+
alertType: "warning",
|
|
123
|
+
icon: "exclamation-triangle",
|
|
124
|
+
class: sheet.classes.WarningAlertContainer,
|
|
125
|
+
};
|
|
126
|
+
case "VERIFICATION:FAILED":
|
|
127
|
+
return {
|
|
128
|
+
header: text.verificationFailedInternalHeader,
|
|
129
|
+
description: intl.formatMessage({
|
|
130
|
+
id: "verificationFailedInternalDescription",
|
|
131
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
132
|
+
}, {
|
|
133
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
134
|
+
}),
|
|
135
|
+
alertType: "critical",
|
|
136
|
+
icon: "exclamation-octagon",
|
|
137
|
+
class: sheet.classes.ErrorAlertContainer,
|
|
138
|
+
};
|
|
62
139
|
case "HOLD":
|
|
63
140
|
return {
|
|
64
141
|
header: text.holdHeader,
|
|
65
|
-
description:
|
|
142
|
+
description: intl.formatMessage({
|
|
143
|
+
id: "holdDescription",
|
|
144
|
+
defaultMessage: text.holdDescription,
|
|
145
|
+
}, {
|
|
146
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
147
|
+
}),
|
|
66
148
|
buttonText: null,
|
|
67
149
|
alertType: "warning",
|
|
68
150
|
icon: "exclamation-triangle",
|
|
@@ -72,13 +154,14 @@ export function PayoutStatusAlertView(props) {
|
|
|
72
154
|
return;
|
|
73
155
|
}
|
|
74
156
|
}
|
|
75
|
-
//AL: TODO hookup ID
|
|
76
157
|
function getButton(status) {
|
|
77
158
|
switch (status) {
|
|
78
159
|
case "INFORMATION_REQUIRED":
|
|
79
|
-
return (h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": "
|
|
80
|
-
|
|
81
|
-
|
|
160
|
+
return data.type === "SquatchJS2" ? (h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
161
|
+
// Demo case
|
|
162
|
+
h("sl-button", { type: "default" }, text.informationRequiredButtonText));
|
|
163
|
+
case "VERIFICATION:REQUIRED":
|
|
164
|
+
return (h("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
|
|
82
165
|
default:
|
|
83
166
|
return;
|
|
84
167
|
}
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -5,6 +5,11 @@ import { getProps } from "../../../utils/utils";
|
|
|
5
5
|
import { PayoutStatusAlertView, } from "./sqm-payout-status-alert-view";
|
|
6
6
|
import { usePayoutStatus } from "./usePayoutStatus";
|
|
7
7
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
8
|
+
/**
|
|
9
|
+
* @uiName Payout Status Alert
|
|
10
|
+
* @exampleGroup Tax and Cash
|
|
11
|
+
* @example Payout Status Alert - <sqm-payout-status-alert></sqm-payout-status-alert>
|
|
12
|
+
*/
|
|
8
13
|
export class PayoutStatusAlert {
|
|
9
14
|
constructor() {
|
|
10
15
|
/**
|
|
@@ -26,19 +31,60 @@ export class PayoutStatusAlert {
|
|
|
26
31
|
/**
|
|
27
32
|
* @uiName Verification required alert description
|
|
28
33
|
*/
|
|
29
|
-
this.verificationRequiredDescription = "
|
|
34
|
+
this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
30
35
|
/**
|
|
31
36
|
* @uiName Verification required alert button text
|
|
32
37
|
*/
|
|
33
38
|
this.verificationRequiredButtonText = "Start Verification";
|
|
39
|
+
/**
|
|
40
|
+
* @uiName Verification required internal alert header
|
|
41
|
+
*/
|
|
42
|
+
this.verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
43
|
+
/**
|
|
44
|
+
* @uiName Verification required internal alert description
|
|
45
|
+
*/
|
|
46
|
+
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley. If you don't hear from us contact our {supportLink}.";
|
|
47
|
+
/**
|
|
48
|
+
* @uiName Verification review internal alert header
|
|
49
|
+
*/
|
|
50
|
+
this.verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
51
|
+
/**
|
|
52
|
+
* @uiName Verification review internal alert description
|
|
53
|
+
*/
|
|
54
|
+
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}.";
|
|
55
|
+
/**
|
|
56
|
+
* @uiName Verification failed internal alert header
|
|
57
|
+
*/
|
|
58
|
+
this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
59
|
+
/**
|
|
60
|
+
* @uiName Verification failed internal alert description
|
|
61
|
+
*/
|
|
62
|
+
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}.";
|
|
34
63
|
/**
|
|
35
64
|
* @uiName Payout on hold alert header
|
|
36
65
|
*/
|
|
37
66
|
this.holdHeader = "Your payouts and account are on hold";
|
|
38
67
|
/**
|
|
39
68
|
* @uiName Payout on hold alert description
|
|
69
|
+
* AL: TODO copy not finalized for support section
|
|
40
70
|
*/
|
|
41
|
-
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 {
|
|
71
|
+
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}.";
|
|
72
|
+
/**
|
|
73
|
+
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
74
|
+
*/
|
|
75
|
+
this.cashPayoutsPageUrl = "/cash";
|
|
76
|
+
/**
|
|
77
|
+
* @uiName Support link text
|
|
78
|
+
*/
|
|
79
|
+
this.supportLink = "support team";
|
|
80
|
+
/**
|
|
81
|
+
* @uiName Error header
|
|
82
|
+
*/
|
|
83
|
+
this.errorHeader = "Could not determine payout status.";
|
|
84
|
+
/**
|
|
85
|
+
* @uiName Error description
|
|
86
|
+
*/
|
|
87
|
+
this.errorDescription = "There was an error with determining your payout status.";
|
|
42
88
|
withHooks(this);
|
|
43
89
|
}
|
|
44
90
|
disconnectedCallback() { }
|
|
@@ -157,7 +203,7 @@ export class PayoutStatusAlert {
|
|
|
157
203
|
},
|
|
158
204
|
"attribute": "verification-required-description",
|
|
159
205
|
"reflect": false,
|
|
160
|
-
"defaultValue": "\"
|
|
206
|
+
"defaultValue": "\"It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.\""
|
|
161
207
|
},
|
|
162
208
|
"verificationRequiredButtonText": {
|
|
163
209
|
"type": "string",
|
|
@@ -180,6 +226,132 @@ export class PayoutStatusAlert {
|
|
|
180
226
|
"reflect": false,
|
|
181
227
|
"defaultValue": "\"Start Verification\""
|
|
182
228
|
},
|
|
229
|
+
"verificationRequiredInternalHeader": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "string",
|
|
234
|
+
"resolved": "string",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [{
|
|
241
|
+
"text": "Verification required internal alert header",
|
|
242
|
+
"name": "uiName"
|
|
243
|
+
}],
|
|
244
|
+
"text": ""
|
|
245
|
+
},
|
|
246
|
+
"attribute": "verification-required-internal-header",
|
|
247
|
+
"reflect": false,
|
|
248
|
+
"defaultValue": "\"Identity Verification in Progress\""
|
|
249
|
+
},
|
|
250
|
+
"verificationRequiredInternalDescription": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"mutable": false,
|
|
253
|
+
"complexType": {
|
|
254
|
+
"original": "string",
|
|
255
|
+
"resolved": "string",
|
|
256
|
+
"references": {}
|
|
257
|
+
},
|
|
258
|
+
"required": false,
|
|
259
|
+
"optional": false,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [{
|
|
262
|
+
"text": "Verification required internal alert description",
|
|
263
|
+
"name": "uiName"
|
|
264
|
+
}],
|
|
265
|
+
"text": ""
|
|
266
|
+
},
|
|
267
|
+
"attribute": "verification-required-internal-description",
|
|
268
|
+
"reflect": false,
|
|
269
|
+
"defaultValue": "\"Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley. If you don't hear from us contact our {supportLink}.\""
|
|
270
|
+
},
|
|
271
|
+
"verificationReviewInternalHeader": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"mutable": false,
|
|
274
|
+
"complexType": {
|
|
275
|
+
"original": "string",
|
|
276
|
+
"resolved": "string",
|
|
277
|
+
"references": {}
|
|
278
|
+
},
|
|
279
|
+
"required": false,
|
|
280
|
+
"optional": false,
|
|
281
|
+
"docs": {
|
|
282
|
+
"tags": [{
|
|
283
|
+
"text": "Verification review internal alert header",
|
|
284
|
+
"name": "uiName"
|
|
285
|
+
}],
|
|
286
|
+
"text": ""
|
|
287
|
+
},
|
|
288
|
+
"attribute": "verification-review-internal-header",
|
|
289
|
+
"reflect": false,
|
|
290
|
+
"defaultValue": "\"Identity Verification Under Review\""
|
|
291
|
+
},
|
|
292
|
+
"verificationReviewInternalDescription": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"mutable": false,
|
|
295
|
+
"complexType": {
|
|
296
|
+
"original": "string",
|
|
297
|
+
"resolved": "string",
|
|
298
|
+
"references": {}
|
|
299
|
+
},
|
|
300
|
+
"required": false,
|
|
301
|
+
"optional": false,
|
|
302
|
+
"docs": {
|
|
303
|
+
"tags": [{
|
|
304
|
+
"text": "Verification review internal alert description",
|
|
305
|
+
"name": "uiName"
|
|
306
|
+
}],
|
|
307
|
+
"text": ""
|
|
308
|
+
},
|
|
309
|
+
"attribute": "verification-review-internal-description",
|
|
310
|
+
"reflect": false,
|
|
311
|
+
"defaultValue": "\"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}.\""
|
|
312
|
+
},
|
|
313
|
+
"verificationFailedInternalHeader": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"mutable": false,
|
|
316
|
+
"complexType": {
|
|
317
|
+
"original": "string",
|
|
318
|
+
"resolved": "string",
|
|
319
|
+
"references": {}
|
|
320
|
+
},
|
|
321
|
+
"required": false,
|
|
322
|
+
"optional": false,
|
|
323
|
+
"docs": {
|
|
324
|
+
"tags": [{
|
|
325
|
+
"text": "Verification failed internal alert header",
|
|
326
|
+
"name": "uiName"
|
|
327
|
+
}],
|
|
328
|
+
"text": ""
|
|
329
|
+
},
|
|
330
|
+
"attribute": "verification-failed-internal-header",
|
|
331
|
+
"reflect": false,
|
|
332
|
+
"defaultValue": "\"Identity Verification Unsuccessful\""
|
|
333
|
+
},
|
|
334
|
+
"verificationFailedInternalDescription": {
|
|
335
|
+
"type": "string",
|
|
336
|
+
"mutable": false,
|
|
337
|
+
"complexType": {
|
|
338
|
+
"original": "string",
|
|
339
|
+
"resolved": "string",
|
|
340
|
+
"references": {}
|
|
341
|
+
},
|
|
342
|
+
"required": false,
|
|
343
|
+
"optional": false,
|
|
344
|
+
"docs": {
|
|
345
|
+
"tags": [{
|
|
346
|
+
"text": "Verification failed internal alert description",
|
|
347
|
+
"name": "uiName"
|
|
348
|
+
}],
|
|
349
|
+
"text": ""
|
|
350
|
+
},
|
|
351
|
+
"attribute": "verification-failed-internal-description",
|
|
352
|
+
"reflect": false,
|
|
353
|
+
"defaultValue": "\"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}.\""
|
|
354
|
+
},
|
|
183
355
|
"holdHeader": {
|
|
184
356
|
"type": "string",
|
|
185
357
|
"mutable": false,
|
|
@@ -213,21 +385,105 @@ export class PayoutStatusAlert {
|
|
|
213
385
|
"optional": false,
|
|
214
386
|
"docs": {
|
|
215
387
|
"tags": [{
|
|
216
|
-
"text": "Payout on hold alert description",
|
|
388
|
+
"text": "Payout on hold alert description\nAL: TODO copy not finalized for support section",
|
|
217
389
|
"name": "uiName"
|
|
218
390
|
}],
|
|
219
391
|
"text": ""
|
|
220
392
|
},
|
|
221
393
|
"attribute": "hold-description",
|
|
222
394
|
"reflect": false,
|
|
223
|
-
"defaultValue": "\"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 {
|
|
395
|
+
"defaultValue": "\"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}.\""
|
|
396
|
+
},
|
|
397
|
+
"cashPayoutsPageUrl": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"mutable": false,
|
|
400
|
+
"complexType": {
|
|
401
|
+
"original": "string",
|
|
402
|
+
"resolved": "string",
|
|
403
|
+
"references": {}
|
|
404
|
+
},
|
|
405
|
+
"required": false,
|
|
406
|
+
"optional": false,
|
|
407
|
+
"docs": {
|
|
408
|
+
"tags": [{
|
|
409
|
+
"text": "Cash & Payouts Microsite Page (only set if alert is used in a microsite)",
|
|
410
|
+
"name": "uiName"
|
|
411
|
+
}],
|
|
412
|
+
"text": ""
|
|
413
|
+
},
|
|
414
|
+
"attribute": "cash-payouts-page-url",
|
|
415
|
+
"reflect": false,
|
|
416
|
+
"defaultValue": "\"/cash\""
|
|
417
|
+
},
|
|
418
|
+
"supportLink": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"mutable": false,
|
|
421
|
+
"complexType": {
|
|
422
|
+
"original": "string",
|
|
423
|
+
"resolved": "string",
|
|
424
|
+
"references": {}
|
|
425
|
+
},
|
|
426
|
+
"required": false,
|
|
427
|
+
"optional": false,
|
|
428
|
+
"docs": {
|
|
429
|
+
"tags": [{
|
|
430
|
+
"text": "Support link text",
|
|
431
|
+
"name": "uiName"
|
|
432
|
+
}],
|
|
433
|
+
"text": ""
|
|
434
|
+
},
|
|
435
|
+
"attribute": "support-link",
|
|
436
|
+
"reflect": false,
|
|
437
|
+
"defaultValue": "\"support team\""
|
|
438
|
+
},
|
|
439
|
+
"errorHeader": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"mutable": false,
|
|
442
|
+
"complexType": {
|
|
443
|
+
"original": "string",
|
|
444
|
+
"resolved": "string",
|
|
445
|
+
"references": {}
|
|
446
|
+
},
|
|
447
|
+
"required": false,
|
|
448
|
+
"optional": false,
|
|
449
|
+
"docs": {
|
|
450
|
+
"tags": [{
|
|
451
|
+
"text": "Error header",
|
|
452
|
+
"name": "uiName"
|
|
453
|
+
}],
|
|
454
|
+
"text": ""
|
|
455
|
+
},
|
|
456
|
+
"attribute": "error-header",
|
|
457
|
+
"reflect": false,
|
|
458
|
+
"defaultValue": "\"Could not determine payout status.\""
|
|
459
|
+
},
|
|
460
|
+
"errorDescription": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"mutable": false,
|
|
463
|
+
"complexType": {
|
|
464
|
+
"original": "string",
|
|
465
|
+
"resolved": "string",
|
|
466
|
+
"references": {}
|
|
467
|
+
},
|
|
468
|
+
"required": false,
|
|
469
|
+
"optional": false,
|
|
470
|
+
"docs": {
|
|
471
|
+
"tags": [{
|
|
472
|
+
"text": "Error description",
|
|
473
|
+
"name": "uiName"
|
|
474
|
+
}],
|
|
475
|
+
"text": ""
|
|
476
|
+
},
|
|
477
|
+
"attribute": "error-description",
|
|
478
|
+
"reflect": false,
|
|
479
|
+
"defaultValue": "\"There was an error with determining your payout status.\""
|
|
224
480
|
},
|
|
225
481
|
"demoData": {
|
|
226
482
|
"type": "unknown",
|
|
227
483
|
"mutable": false,
|
|
228
484
|
"complexType": {
|
|
229
485
|
"original": "DemoData<PayoutStatusAlertViewProps>",
|
|
230
|
-
"resolved": "{ states?: { loading: boolean; status: PayoutStatus; }; }",
|
|
486
|
+
"resolved": "{ states?: { error: boolean; loading: boolean; status: PayoutStatus; veriffLoading: boolean; }; data?: { type: \"SquatchJS2\" | \"SquatchAndroid\" | \"SquatchIOS\" | \"SquatchPortal\" | \"SquatchAdmin\" | \"None\"; }; }",
|
|
231
487
|
"references": {
|
|
232
488
|
"DemoData": {
|
|
233
489
|
"location": "import",
|
|
@@ -257,9 +513,16 @@ export class PayoutStatusAlert {
|
|
|
257
513
|
function useDemoPayoutStatusAlert(props) {
|
|
258
514
|
return deepmerge({
|
|
259
515
|
states: {
|
|
516
|
+
error: false,
|
|
260
517
|
status: "INFORMATION_REQUIRED",
|
|
261
518
|
loading: false,
|
|
519
|
+
showVerifyIdentity: false,
|
|
262
520
|
},
|
|
521
|
+
data: { type: "SquatchAdmin" },
|
|
263
522
|
text: props.getTextProps(),
|
|
523
|
+
callbacks: {
|
|
524
|
+
onTermsClick: () => { },
|
|
525
|
+
onClick: () => console.log("show"),
|
|
526
|
+
},
|
|
264
527
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
265
528
|
}
|