@saasquatch/mint-components 1.12.0-7 → 1.12.0-9
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/{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 +452 -415
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +112 -127
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -10
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification.cjs.entry.js +24 -25
- package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
- 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-e530775f.js → sqm-invoice-table-view-c58966f8.js} +41 -1
- 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 +17 -15
- 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-internal.cjs.entry.js +11 -12
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
- 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-b9fb7399.js +70 -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-35aea294.js → useVerificationEmail-6aacdb71.js} +7 -8
- package/dist/cjs/{utilities-ac5b5f2c.js → utilities-f7de6c04.js} +2 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +0 -3
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +2 -2
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +40 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +36 -3
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +53 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +18 -13
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
- 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 +11 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +90 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +6 -0
- package/dist/esm/{ShadowViewAddon-72e231a5.js → ShadowViewAddon-69b61037.js} +12 -10
- 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/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 +49 -12
- package/dist/esm/sqm-big-stat_39.entry.js +57 -72
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-code-verification.entry.js +4 -8
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +3 -4
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- 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-22bb7240.js → sqm-invoice-table-view-d1cfdaf4.js} +41 -1
- 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 +15 -13
- 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-internal.entry.js +4 -5
- package/dist/esm/sqm-widget-verification.entry.js +2 -2
- 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-1a635054.js +67 -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-02b78bd7.js → useVerificationEmail-c32696ba.js} +2 -3
- package/dist/esm/{utilities-98445452.js → utilities-443732be.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-69b61037.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/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_16.entry.js +1 -1
- 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-code-verification.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-d1cfdaf4.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-internal.entry.js +1 -1
- 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-1a635054.js +1 -0
- package/dist/esm-es5/useReferralTable-f6ffa103.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-c32696ba.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-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-0c9ad5f3.system.entry.js +1 -0
- package/dist/mint-components/p-11d1b212.js +1 -0
- package/dist/mint-components/p-1712a9fd.entry.js +11 -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-1e616d45.system.js +1 -0
- 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-126a4f24.entry.js → p-24092973.entry.js} +2 -2
- package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
- 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-331d060e.entry.js +223 -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-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-4364001c.entry.js +12 -0
- package/dist/mint-components/{p-6a70d2d6.entry.js → p-4671e644.entry.js} +1 -1
- package/dist/mint-components/{p-f338ef55.system.js → p-4babe350.system.js} +1 -1
- package/dist/mint-components/p-4bd7a472.js +1 -0
- 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-517224ef.js +19 -0
- 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-34dab223.system.entry.js → p-59818690.system.entry.js} +1 -1
- package/dist/mint-components/p-5a23b560.system.entry.js +1 -0
- 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-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-8300d8c8.system.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-8bddb468.system.entry.js +1 -0
- 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-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-ca423ca2.system.entry.js → p-9596e97c.system.entry.js} +1 -1
- package/dist/mint-components/p-974070c4.system.entry.js +1 -0
- package/dist/mint-components/p-99c15c5e.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-70886c65.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
- 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-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-b62faaa5.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-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-0aebee07.entry.js → p-c05e7b9f.entry.js} +12 -11
- package/dist/mint-components/{p-18cd88c4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
- 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-e373b78a.entry.js → p-c510fb88.entry.js} +1 -1
- package/dist/mint-components/{p-a60ec391.system.entry.js → p-c7057066.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-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-7666cd3d.js → p-d7806f31.js} +6 -6
- 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-e45a8501.system.entry.js +1 -0
- package/dist/mint-components/p-e990dc21.system.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-48704504.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/p-f340214f.entry.js +25 -0
- 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/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +8 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +7 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +17 -0
- package/dist/types/components.d.ts +50 -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/cjs/index-56d1fa5b.js +0 -2227
- package/dist/esm/index-0c7b14c5.js +0 -2225
- 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-invoice-table-view-22bb7240.js +0 -1
- package/dist/esm-es5/useChildElements-fe94b660.js +0 -1
- package/dist/esm-es5/useReferralTable-52008143.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +0 -1
- package/dist/esm-es5/useVerificationEmail-02b78bd7.js +0 -1
- package/dist/mint-components/p-0078bc76.system.js +0 -53
- package/dist/mint-components/p-0e2d876d.entry.js +0 -240
- package/dist/mint-components/p-116c1809.entry.js +0 -11
- package/dist/mint-components/p-1f02e20b.entry.js +0 -1
- package/dist/mint-components/p-22b7bd75.system.entry.js +0 -1
- package/dist/mint-components/p-253c87e1.system.entry.js +0 -1
- package/dist/mint-components/p-2632464d.entry.js +0 -1
- package/dist/mint-components/p-28450e40.system.entry.js +0 -1
- package/dist/mint-components/p-286190c4.system.entry.js +0 -1
- package/dist/mint-components/p-2b5b2586.system.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-4a43ffbd.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-55fe2ec0.system.entry.js +0 -1
- package/dist/mint-components/p-65de8fb2.js +0 -1
- package/dist/mint-components/p-6fb496ac.entry.js +0 -12
- package/dist/mint-components/p-6fbfd683.js +0 -1
- package/dist/mint-components/p-71b8adf7.system.js +0 -1
- package/dist/mint-components/p-7c4c727c.system.entry.js +0 -1
- package/dist/mint-components/p-858a87ce.entry.js +0 -1
- package/dist/mint-components/p-87bf9880.entry.js +0 -25
- package/dist/mint-components/p-89669879.system.js +0 -1
- package/dist/mint-components/p-8a7d2170.system.entry.js +0 -1
- package/dist/mint-components/p-8b7d2f44.entry.js +0 -1
- package/dist/mint-components/p-8defb972.system.entry.js +0 -1
- package/dist/mint-components/p-9cdaa099.entry.js +0 -1
- package/dist/mint-components/p-a5eedbe2.system.entry.js +0 -1
- package/dist/mint-components/p-a80c8f5c.system.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-d7b701a7.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-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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
7
|
const host = index_module.T();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-f9ce55be.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
5
|
+
|
|
6
|
+
const GET_USER_STATUS = index_module.dist.gql `
|
|
7
|
+
query getUserStatus {
|
|
8
|
+
user: viewer {
|
|
9
|
+
... on User {
|
|
10
|
+
id
|
|
11
|
+
impactConnection {
|
|
12
|
+
connected
|
|
13
|
+
publisher {
|
|
14
|
+
id
|
|
15
|
+
payoutsAccount {
|
|
16
|
+
hold
|
|
17
|
+
holdReasons
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
function getStatus(data) {
|
|
26
|
+
var _a, _b, _c, _d, _e;
|
|
27
|
+
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
28
|
+
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
29
|
+
return "INFORMATION_REQUIRED";
|
|
30
|
+
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("IDV_CHECK_REQUIRED"))
|
|
31
|
+
return "VERIFICATION_NEEDED";
|
|
32
|
+
if (account.hold)
|
|
33
|
+
return "HOLD";
|
|
34
|
+
return "DONE";
|
|
35
|
+
}
|
|
36
|
+
function usePayoutStatus(props) {
|
|
37
|
+
const { type } = index_module.getEnvironmentSDK();
|
|
38
|
+
const { loading, data, errors, refetch } = index_module.En(GET_USER_STATUS, {});
|
|
39
|
+
const [status, setStatus] = stencilHooks_module.useState(undefined);
|
|
40
|
+
const [showDialog, setShowDialog] = stencilHooks_module.useState(false);
|
|
41
|
+
stencilHooks_module.useEffect(() => {
|
|
42
|
+
if (!data)
|
|
43
|
+
return;
|
|
44
|
+
const s = getStatus(data);
|
|
45
|
+
setStatus(s);
|
|
46
|
+
}, [data]);
|
|
47
|
+
stencilHooks_module.useEffect(() => {
|
|
48
|
+
const cb = () => refetch();
|
|
49
|
+
window.addEventListener("sqm:tax-form-updated", cb);
|
|
50
|
+
return () => window.removeEventListener("sqm:tax-form-updated", cb);
|
|
51
|
+
}, []);
|
|
52
|
+
return {
|
|
53
|
+
states: {
|
|
54
|
+
loading,
|
|
55
|
+
status,
|
|
56
|
+
showVerifyIdentity: showDialog,
|
|
57
|
+
error: !!errors,
|
|
58
|
+
},
|
|
59
|
+
data: { type },
|
|
60
|
+
text: props.getTextProps(),
|
|
61
|
+
callbacks: {
|
|
62
|
+
onTermsClick: () => window.open(props.termsUrl, "_blank").focus(),
|
|
63
|
+
onClick: () => setShowDialog(true),
|
|
64
|
+
onCancel: () => setShowDialog(false),
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
exports.getStatus = getStatus;
|
|
70
|
+
exports.usePayoutStatus = usePayoutStatus;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
8
|
-
const index = require('./index-56d1fa5b.js');
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
5
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
6
|
+
const reRender = require('./re-render-5bde3d2e.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-410d2435.js');
|
|
9
8
|
|
|
10
9
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
11
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
12
|
-
const GET_REFERRER_DATA =
|
|
11
|
+
const GET_REFERRER_DATA = index_module.dist.gql `
|
|
13
12
|
query getReferrals(
|
|
14
13
|
$programId: ID
|
|
15
14
|
$rewardFilter: RewardFilterInput
|
|
@@ -78,7 +77,7 @@ const GET_REFERRER_DATA = index.dist.gql `
|
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
`;
|
|
81
|
-
const GET_REFERRAL_DATA =
|
|
80
|
+
const GET_REFERRAL_DATA = index_module.dist.gql `
|
|
82
81
|
query getReferrals(
|
|
83
82
|
$limit: Int!
|
|
84
83
|
$offset: Int!
|
|
@@ -215,7 +214,7 @@ const GET_REFERRAL_DATA = index.dist.gql `
|
|
|
215
214
|
}
|
|
216
215
|
}
|
|
217
216
|
`;
|
|
218
|
-
const GET_IMPACT_TAX =
|
|
217
|
+
const GET_IMPACT_TAX = index_module.dist.gql `
|
|
219
218
|
query getImpactTax {
|
|
220
219
|
viewer {
|
|
221
220
|
... on User {
|
|
@@ -312,12 +311,12 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
312
311
|
// show the referrer row before any other rows
|
|
313
312
|
let referrerRow;
|
|
314
313
|
if (showReferrerRow && states.currentPage === 0) {
|
|
315
|
-
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index
|
|
314
|
+
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index.h)));
|
|
316
315
|
referrerRow = await Promise.all(referrerPromise);
|
|
317
316
|
}
|
|
318
317
|
// get the column cells (renderCell is asynchronous)
|
|
319
318
|
const cellsPromise = data === null || data === void 0 ? void 0 : data.map(async (r) => {
|
|
320
|
-
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index
|
|
319
|
+
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index.h)));
|
|
321
320
|
const cells = (await Promise.all(cellPromise));
|
|
322
321
|
return cells;
|
|
323
322
|
});
|
|
@@ -405,7 +404,7 @@ async function tryMethod(c, callback) {
|
|
|
405
404
|
debug("label promise failed", e);
|
|
406
405
|
}
|
|
407
406
|
debug("label promise failed", e);
|
|
408
|
-
return index
|
|
407
|
+
return index.h("span", null);
|
|
409
408
|
}
|
|
410
409
|
try {
|
|
411
410
|
return await renderPromise;
|
|
@@ -415,8 +414,8 @@ async function tryMethod(c, callback) {
|
|
|
415
414
|
// This should not happen so we fail fast
|
|
416
415
|
debug("Error rendering label", e);
|
|
417
416
|
const userError = generateUserError(e);
|
|
418
|
-
return (index
|
|
419
|
-
index
|
|
417
|
+
return (index.h("details", null,
|
|
418
|
+
index.h("summary", null, "Error"),
|
|
420
419
|
userError));
|
|
421
420
|
}
|
|
422
421
|
}
|
package/dist/cjs/{useRegistrationFormState-e7e820d0.js → useRegistrationFormState-f9ce55be.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
5
|
-
const index = require('./index-56d1fa5b.js');
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
6
5
|
|
|
7
|
-
const UserLookupQuery =
|
|
6
|
+
const UserLookupQuery = index_module.dist.gql `
|
|
8
7
|
query userLookup {
|
|
9
8
|
viewer {
|
|
10
9
|
... on User {
|
|
@@ -21,21 +20,21 @@ const UserLookupQuery = index.dist.gql `
|
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
`;
|
|
24
|
-
const ParticipantVerificationEmailMutation =
|
|
23
|
+
const ParticipantVerificationEmailMutation = index_module.dist.gql `
|
|
25
24
|
mutation requestUserEmailVerification($user: UserIdInput!) {
|
|
26
25
|
requestUserEmailVerification(user: $user) {
|
|
27
26
|
success
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
`;
|
|
31
|
-
const ImpactVerificationEmailMutation =
|
|
30
|
+
const ImpactVerificationEmailMutation = index_module.dist.gql `
|
|
32
31
|
mutation requestImpactPublisherEmail2FA($user: UserIdInput!) {
|
|
33
32
|
requestImpactPublisherEmail2FA(user: $user) {
|
|
34
33
|
success
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
`;
|
|
38
|
-
const VerifyUserEmailMutation =
|
|
37
|
+
const VerifyUserEmailMutation = index_module.dist.gql `
|
|
39
38
|
mutation verifyUserEmail($user: UserIdInput!, $code: String!) {
|
|
40
39
|
verifyUserEmail(user: $user, code: $code) {
|
|
41
40
|
id
|
|
@@ -45,7 +44,7 @@ const VerifyUserEmailMutation = index.dist.gql `
|
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
`;
|
|
48
|
-
const SubmitImpactCodeMutation =
|
|
47
|
+
const SubmitImpactCodeMutation = index_module.dist.gql `
|
|
49
48
|
mutation submitImpactPublisherEmail2FACode(
|
|
50
49
|
$user: UserIdInput!
|
|
51
50
|
$code: String!
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-b8d9d0ba.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
@@ -709,9 +709,12 @@ const payoutBalanceQuery = () => {
|
|
|
709
709
|
query payoutBalance {
|
|
710
710
|
viewer: viewer {
|
|
711
711
|
... on User {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
712
|
+
id
|
|
713
|
+
impactConnection {
|
|
714
|
+
publisher {
|
|
715
|
+
payoutsAccount {
|
|
716
|
+
balance
|
|
717
|
+
}
|
|
715
718
|
}
|
|
716
719
|
}
|
|
717
720
|
}
|
|
@@ -46,9 +46,6 @@ export function useWidgetCodeVerification(props) {
|
|
|
46
46
|
const [codeRef, setCodeRef] = useState(null);
|
|
47
47
|
const [validationError, setValidationError] = useState(false);
|
|
48
48
|
const [emailError, setEmailError] = useState(false);
|
|
49
|
-
// // TODO: Need to handle error states for these errors
|
|
50
|
-
// const [verifyUser, { loading: verifyLoading, errors: verifyErrors }] =
|
|
51
|
-
// useCodeVerificationMutation();
|
|
52
49
|
const { initialized, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
|
|
53
50
|
useEffect(() => {
|
|
54
51
|
if (!codeRef)
|
package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js
CHANGED
|
@@ -7,7 +7,7 @@ import { extractProps } from "../tax-and-cash/sqm-tax-and-cash/extractProps";
|
|
|
7
7
|
import { gql } from "graphql-request";
|
|
8
8
|
import { useEffect } from "@saasquatch/universal-hooks";
|
|
9
9
|
const USER_LOOKUP = gql `
|
|
10
|
-
query
|
|
10
|
+
query checkUserVerification {
|
|
11
11
|
viewer {
|
|
12
12
|
... on User {
|
|
13
13
|
id
|
|
@@ -42,7 +42,7 @@ function useWidgetVerificationInternal() {
|
|
|
42
42
|
setContext(true);
|
|
43
43
|
}
|
|
44
44
|
catch (e) {
|
|
45
|
-
console.error("Could not fetch user information", e);
|
|
45
|
+
console.error("Could not fetch user information:", e);
|
|
46
46
|
}
|
|
47
47
|
finally {
|
|
48
48
|
setLoading(false);
|
|
@@ -247,6 +247,8 @@ const docusignFormProps = {
|
|
|
247
247
|
};
|
|
248
248
|
const dashboardProps = {
|
|
249
249
|
states: {
|
|
250
|
+
showVerifyIdentity: false,
|
|
251
|
+
payoutStatus: "DONE",
|
|
250
252
|
canEditPayoutInfo: true,
|
|
251
253
|
disabled: false,
|
|
252
254
|
status: "ACTIVE",
|
|
@@ -765,6 +767,8 @@ export const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
765
767
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
766
768
|
...dashboardProps,
|
|
767
769
|
states: {
|
|
770
|
+
payoutStatus: "DONE",
|
|
771
|
+
showVerifyIdentity: false,
|
|
768
772
|
noFormNeeded: false,
|
|
769
773
|
canEditPayoutInfo: true,
|
|
770
774
|
documentType: "W8BEN",
|
|
@@ -781,6 +785,8 @@ export const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
781
785
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
782
786
|
...dashboardProps,
|
|
783
787
|
states: {
|
|
788
|
+
payoutStatus: "DONE",
|
|
789
|
+
showVerifyIdentity: false,
|
|
784
790
|
noFormNeeded: false,
|
|
785
791
|
canEditPayoutInfo: true,
|
|
786
792
|
documentType: "W8BENE",
|
|
@@ -797,6 +803,8 @@ export const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
797
803
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
798
804
|
...dashboardProps,
|
|
799
805
|
states: {
|
|
806
|
+
payoutStatus: "DONE",
|
|
807
|
+
showVerifyIdentity: false,
|
|
800
808
|
noFormNeeded: false,
|
|
801
809
|
canEditPayoutInfo: true,
|
|
802
810
|
status: "INACTIVE",
|
|
@@ -814,6 +822,8 @@ export const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
814
822
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
815
823
|
...dashboardProps,
|
|
816
824
|
states: {
|
|
825
|
+
payoutStatus: "DONE",
|
|
826
|
+
showVerifyIdentity: false,
|
|
817
827
|
canEditPayoutInfo: true,
|
|
818
828
|
disabled: false,
|
|
819
829
|
status: "NOT_VERIFIED",
|
|
@@ -832,6 +842,8 @@ export const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
832
842
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
833
843
|
...dashboardProps,
|
|
834
844
|
states: {
|
|
845
|
+
payoutStatus: "DONE",
|
|
846
|
+
showVerifyIdentity: false,
|
|
835
847
|
canEditPayoutInfo: true,
|
|
836
848
|
disabled: false,
|
|
837
849
|
status: "NOT_VERIFIED",
|
|
@@ -851,6 +863,8 @@ export const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
851
863
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
852
864
|
...dashboardProps,
|
|
853
865
|
states: {
|
|
866
|
+
payoutStatus: "DONE",
|
|
867
|
+
showVerifyIdentity: false,
|
|
854
868
|
canEditPayoutInfo: true,
|
|
855
869
|
disabled: false,
|
|
856
870
|
status: "NOT_VERIFIED",
|
|
@@ -870,6 +884,8 @@ export const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
870
884
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
871
885
|
...dashboardProps,
|
|
872
886
|
states: {
|
|
887
|
+
payoutStatus: "DONE",
|
|
888
|
+
showVerifyIdentity: false,
|
|
873
889
|
canEditPayoutInfo: true,
|
|
874
890
|
disabled: false,
|
|
875
891
|
status: "NOT_ACTIVE",
|
|
@@ -889,6 +905,8 @@ export const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
889
905
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
890
906
|
...dashboardProps,
|
|
891
907
|
states: {
|
|
908
|
+
payoutStatus: "DONE",
|
|
909
|
+
showVerifyIdentity: false,
|
|
892
910
|
canEditPayoutInfo: true,
|
|
893
911
|
disabled: false,
|
|
894
912
|
documentType: "W9",
|
|
@@ -908,6 +926,8 @@ export const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
908
926
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
909
927
|
...dashboardProps,
|
|
910
928
|
states: {
|
|
929
|
+
payoutStatus: "DONE",
|
|
930
|
+
showVerifyIdentity: false,
|
|
911
931
|
canEditPayoutInfo: true,
|
|
912
932
|
status: "ACTIVE",
|
|
913
933
|
disabled: false,
|
|
@@ -928,6 +948,8 @@ export const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
928
948
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
929
949
|
...dashboardProps,
|
|
930
950
|
states: {
|
|
951
|
+
payoutStatus: "DONE",
|
|
952
|
+
showVerifyIdentity: false,
|
|
931
953
|
canEditPayoutInfo: true,
|
|
932
954
|
status: "ACTIVE",
|
|
933
955
|
disabled: false,
|
|
@@ -949,6 +971,8 @@ export const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
949
971
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
950
972
|
...dashboardProps,
|
|
951
973
|
states: {
|
|
974
|
+
payoutStatus: "DONE",
|
|
975
|
+
showVerifyIdentity: false,
|
|
952
976
|
canEditPayoutInfo: true,
|
|
953
977
|
status: "ACTIVE",
|
|
954
978
|
disabled: false,
|
|
@@ -970,6 +994,8 @@ export const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
970
994
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
971
995
|
...dashboardProps,
|
|
972
996
|
states: {
|
|
997
|
+
payoutStatus: "DONE",
|
|
998
|
+
showVerifyIdentity: false,
|
|
973
999
|
canEditPayoutInfo: true,
|
|
974
1000
|
status: "ACTIVE",
|
|
975
1001
|
documentType: "W8BEN",
|
|
@@ -986,6 +1012,8 @@ export const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
986
1012
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
987
1013
|
...dashboardProps,
|
|
988
1014
|
states: {
|
|
1015
|
+
payoutStatus: "VERIFICATION_NEEDED",
|
|
1016
|
+
showVerifyIdentity: true,
|
|
989
1017
|
showIdentityVerificationDialog: true,
|
|
990
1018
|
identiyRequired: true,
|
|
991
1019
|
canEditPayoutInfo: true,
|
|
@@ -1004,6 +1032,8 @@ export const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
1004
1032
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1005
1033
|
...dashboardProps,
|
|
1006
1034
|
states: {
|
|
1035
|
+
payoutStatus: "DONE",
|
|
1036
|
+
showVerifyIdentity: false,
|
|
1007
1037
|
canEditPayoutInfo: true,
|
|
1008
1038
|
status: "ACTIVE",
|
|
1009
1039
|
documentType: "W8BEN",
|
|
@@ -1020,6 +1050,8 @@ export const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
1020
1050
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1021
1051
|
...dashboardProps,
|
|
1022
1052
|
states: {
|
|
1053
|
+
payoutStatus: "DONE",
|
|
1054
|
+
showVerifyIdentity: false,
|
|
1023
1055
|
canEditPayoutInfo: true,
|
|
1024
1056
|
disabled: true,
|
|
1025
1057
|
status: "ACTIVE",
|
|
@@ -1038,6 +1070,8 @@ export const TaxAndCashDashboardLoading = () => {
|
|
|
1038
1070
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1039
1071
|
...dashboardProps,
|
|
1040
1072
|
states: {
|
|
1073
|
+
payoutStatus: "DONE",
|
|
1074
|
+
showVerifyIdentity: false,
|
|
1041
1075
|
canEditPayoutInfo: true,
|
|
1042
1076
|
disabled: false,
|
|
1043
1077
|
status: "ACTIVE",
|
|
@@ -1055,6 +1089,8 @@ export const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
1055
1089
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1056
1090
|
...dashboardProps,
|
|
1057
1091
|
states: {
|
|
1092
|
+
payoutStatus: "DONE",
|
|
1093
|
+
showVerifyIdentity: false,
|
|
1058
1094
|
disabled: false,
|
|
1059
1095
|
canEditPayoutInfo: true,
|
|
1060
1096
|
status: "ACTIVE",
|
|
@@ -1073,6 +1109,8 @@ export const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
1073
1109
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1074
1110
|
...dashboardProps,
|
|
1075
1111
|
states: {
|
|
1112
|
+
payoutStatus: "DONE",
|
|
1113
|
+
showVerifyIdentity: false,
|
|
1076
1114
|
canEditPayoutInfo: true,
|
|
1077
1115
|
disabled: false,
|
|
1078
1116
|
status: "ACTIVE",
|
|
@@ -1095,6 +1133,8 @@ export const TaxAndCashDashboardDisabled = () => {
|
|
|
1095
1133
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1096
1134
|
...dashboardProps,
|
|
1097
1135
|
states: {
|
|
1136
|
+
payoutStatus: "DONE",
|
|
1137
|
+
showVerifyIdentity: false,
|
|
1098
1138
|
canEditPayoutInfo: true,
|
|
1099
1139
|
disabled: true,
|
|
1100
1140
|
status: "ACTIVE",
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js
CHANGED
|
@@ -3,6 +3,7 @@ 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,
|
|
8
9
|
showVerifyIdentity: false,
|
|
@@ -18,3 +19,4 @@ export const VerifyIdentityOpen = () => (h("sqm-payout-status-alert", { demoData
|
|
|
18
19
|
} }));
|
|
19
20
|
export const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "HOLD" } } }));
|
|
20
21
|
export const Loading = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, loading: true } } }));
|
|
22
|
+
export const Error = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, error: true } } }));
|
|
@@ -9,6 +9,15 @@ const style = {
|
|
|
9
9
|
margin: "0",
|
|
10
10
|
marginBottom: "var(--sl-spacing-small)",
|
|
11
11
|
},
|
|
12
|
+
ErrorAlertContainer: {
|
|
13
|
+
"&::part(base)": {
|
|
14
|
+
backgroundColor: "var(--sl-color-red-100)",
|
|
15
|
+
borderTop: "none",
|
|
16
|
+
},
|
|
17
|
+
"& sl-icon::part(base)": {
|
|
18
|
+
color: "var(--sl-color-danger-500)",
|
|
19
|
+
},
|
|
20
|
+
},
|
|
12
21
|
WarningAlertContainer: {
|
|
13
22
|
"&::part(base)": {
|
|
14
23
|
backgroundColor: "var(--sl-color-yellow-100)",
|
|
@@ -27,6 +36,20 @@ const style = {
|
|
|
27
36
|
color: "var(--sl-color-blue-500)",
|
|
28
37
|
},
|
|
29
38
|
},
|
|
39
|
+
Dialog: {
|
|
40
|
+
"&::part(panel)": {
|
|
41
|
+
height: "600px",
|
|
42
|
+
},
|
|
43
|
+
"&::part(close-button)": {
|
|
44
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
45
|
+
},
|
|
46
|
+
"&::part(title)": {
|
|
47
|
+
display: "none",
|
|
48
|
+
},
|
|
49
|
+
"&::part(header)": {},
|
|
50
|
+
"&::part(body)": { padding: "0" },
|
|
51
|
+
"&::part(footer)": {},
|
|
52
|
+
},
|
|
30
53
|
};
|
|
31
54
|
const sheet = createStyleSheet(style);
|
|
32
55
|
const styleString = sheet.toString();
|
|
@@ -40,6 +63,15 @@ export function PayoutStatusAlertView(props) {
|
|
|
40
63
|
return h("div", null);
|
|
41
64
|
}
|
|
42
65
|
function getAlert(status) {
|
|
66
|
+
if (states.error)
|
|
67
|
+
return {
|
|
68
|
+
header: text.errorHeader,
|
|
69
|
+
description: text.errorDescription,
|
|
70
|
+
buttonText: null,
|
|
71
|
+
alertType: "critical",
|
|
72
|
+
icon: "exclamation-triangle",
|
|
73
|
+
class: sheet.classes.ErrorAlertContainer,
|
|
74
|
+
};
|
|
43
75
|
switch (status) {
|
|
44
76
|
case "INFORMATION_REQUIRED":
|
|
45
77
|
return {
|
|
@@ -92,7 +124,8 @@ export function PayoutStatusAlertView(props) {
|
|
|
92
124
|
h("strong", null, (_d = getAlert(states.status)) === null || _d === void 0 ? void 0 : _d.header),
|
|
93
125
|
h("p", { class: sheet.classes.AlertDescriptionText }, (_e = getAlert(states.status)) === null || _e === void 0 ? void 0 : _e.description),
|
|
94
126
|
getButton(states.status)),
|
|
95
|
-
h("sl-dialog", {
|
|
96
|
-
|
|
97
|
-
|
|
127
|
+
h("sl-dialog", { noDismiss: true, class: sheet.classes.Dialog, open: states.showVerifyIdentity, "onSl-hide": callbacks.onCancel },
|
|
128
|
+
h("iframe", {
|
|
129
|
+
// AL: TODO replace iframe URL with verification url when available
|
|
130
|
+
scrolling: "yes", frameBorder: "0", width: "100%", height: "100%", src: "https://impacttech.complytaxforms.com/ServiceRedirect.aspx?Language=eng&Param1=UxBORV4bOIrqNb4gbpNmtvW3wjdZJyx4gPElIGMJNR8=&UUID=B576EA3E-80FD-4D85-AA59-653D23A7CCE8" }))));
|
|
98
131
|
}
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -48,6 +48,14 @@ export class PayoutStatusAlert {
|
|
|
48
48
|
* @uiName Cash & Payouts Terms and Conditions url
|
|
49
49
|
*/
|
|
50
50
|
this.termsUrl = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
|
|
51
|
+
/**
|
|
52
|
+
* @uiName Error header
|
|
53
|
+
*/
|
|
54
|
+
this.errorHeader = "Could not determine payout status.";
|
|
55
|
+
/**
|
|
56
|
+
* @uiName Error description
|
|
57
|
+
*/
|
|
58
|
+
this.errorDescription = "There was an error with determining your payout status.";
|
|
51
59
|
withHooks(this);
|
|
52
60
|
}
|
|
53
61
|
disconnectedCallback() { }
|
|
@@ -58,6 +66,7 @@ export class PayoutStatusAlert {
|
|
|
58
66
|
const props = isDemo()
|
|
59
67
|
? useDemoPayoutStatusAlert(this)
|
|
60
68
|
: usePayoutStatus(this);
|
|
69
|
+
console.log({ props });
|
|
61
70
|
return h(PayoutStatusAlertView, Object.assign({}, props));
|
|
62
71
|
}
|
|
63
72
|
static get is() { return "sqm-payout-status-alert"; }
|
|
@@ -252,12 +261,54 @@ export class PayoutStatusAlert {
|
|
|
252
261
|
"reflect": false,
|
|
253
262
|
"defaultValue": "\"https://terms.advocate.impact.com/PayoutTermsAndConditions.html\""
|
|
254
263
|
},
|
|
264
|
+
"errorHeader": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"mutable": false,
|
|
267
|
+
"complexType": {
|
|
268
|
+
"original": "string",
|
|
269
|
+
"resolved": "string",
|
|
270
|
+
"references": {}
|
|
271
|
+
},
|
|
272
|
+
"required": false,
|
|
273
|
+
"optional": false,
|
|
274
|
+
"docs": {
|
|
275
|
+
"tags": [{
|
|
276
|
+
"text": "Error header",
|
|
277
|
+
"name": "uiName"
|
|
278
|
+
}],
|
|
279
|
+
"text": ""
|
|
280
|
+
},
|
|
281
|
+
"attribute": "error-header",
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"defaultValue": "\"Could not determine payout status.\""
|
|
284
|
+
},
|
|
285
|
+
"errorDescription": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"mutable": false,
|
|
288
|
+
"complexType": {
|
|
289
|
+
"original": "string",
|
|
290
|
+
"resolved": "string",
|
|
291
|
+
"references": {}
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"optional": false,
|
|
295
|
+
"docs": {
|
|
296
|
+
"tags": [{
|
|
297
|
+
"text": "Error description",
|
|
298
|
+
"name": "uiName"
|
|
299
|
+
}],
|
|
300
|
+
"text": ""
|
|
301
|
+
},
|
|
302
|
+
"attribute": "error-description",
|
|
303
|
+
"reflect": false,
|
|
304
|
+
"defaultValue": "\"There was an error with determining your payout status.\""
|
|
305
|
+
},
|
|
255
306
|
"demoData": {
|
|
256
307
|
"type": "unknown",
|
|
257
308
|
"mutable": false,
|
|
258
309
|
"complexType": {
|
|
259
310
|
"original": "DemoData<PayoutStatusAlertViewProps>",
|
|
260
|
-
"resolved": "{ states?: { loading: boolean; status: PayoutStatus; showVerifyIdentity: boolean; }; data?: { type: \"SquatchJS2\" | \"SquatchAndroid\" | \"SquatchIOS\" | \"SquatchPortal\" | \"SquatchAdmin\" | \"None\"; }; }",
|
|
311
|
+
"resolved": "{ states?: { error: boolean; loading: boolean; status: PayoutStatus; showVerifyIdentity: boolean; }; data?: { type: \"SquatchJS2\" | \"SquatchAndroid\" | \"SquatchIOS\" | \"SquatchPortal\" | \"SquatchAdmin\" | \"None\"; }; }",
|
|
261
312
|
"references": {
|
|
262
313
|
"DemoData": {
|
|
263
314
|
"location": "import",
|
|
@@ -287,6 +338,7 @@ export class PayoutStatusAlert {
|
|
|
287
338
|
function useDemoPayoutStatusAlert(props) {
|
|
288
339
|
return deepmerge({
|
|
289
340
|
states: {
|
|
341
|
+
error: false,
|
|
290
342
|
status: "INFORMATION_REQUIRED",
|
|
291
343
|
loading: false,
|
|
292
344
|
showVerifyIdentity: false,
|