@saasquatch/mint-components 1.12.0-8 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-040cffad.js → ShadowViewAddon-652aa5e4.js} +178 -236
- package/dist/cjs/copy-text-view-f1ce8888.js +231 -0
- package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
- package/dist/cjs/{global-c3637175.js → global-ae358e7d.js} +3 -3
- package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-191d84c2.js} +19 -52
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-811491ef.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +927 -239
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +226 -164
- package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-6a709e00.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-email-verification.cjs.entry.js +30 -22
- package/dist/cjs/sqm-empty_4.cjs.entry.js +12 -8
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-invoice-table-view-5d3a2d35.js → sqm-invoice-table-view-bfea11c8.js} +117 -5
- package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-67d1184c.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +392 -0
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-1a852b01.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-a2ed3b27.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -13
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +17 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +427 -183
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +104 -111
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-d64dfedd.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-fb1d317a.js} +4 -4
- package/dist/cjs/usePayoutStatus-9f25038a.js +1045 -0
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-b09d9b9e.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-b07ba3d4.js} +3 -3
- package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-f3db90da.js} +13 -9
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec246be.js} +2 -2
- package/dist/collection/collection-manifest.json +11 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +32 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +112 -0
- package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
- 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-portal-container/sqm-portal-container.js +0 -4
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +63 -0
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +219 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +131 -0
- 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-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +8 -15
- package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -6
- 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 +29 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -2
- 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 +106 -127
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +18 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +111 -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 +127 -14
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -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 +5 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -24
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +186 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +31 -20
- 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/sqm-tax-and-cash.js +414 -23
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +133 -15
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +276 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +15 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -0
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/collection/components/views/copy-text-view.js +18 -3
- package/dist/collection/stories/Widget.stories.js +5 -0
- package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
- package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-a0cff36f.js} +177 -234
- package/dist/esm/copy-text-view-200d6958.js +225 -0
- package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
- package/dist/esm/{global-6306a9b8.js → global-9832e13a.js} +3 -3
- package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
- package/dist/esm/{index.module-6c840c4e.js → index.module-32d2bf62.js} +4 -37
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-1bcfd0de.js → re-render-6977623c.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +927 -240
- package/dist/esm/sqm-big-stat_39.entry.js +223 -161
- package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +31 -23
- package/dist/esm/sqm-empty_4.entry.js +12 -8
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
- package/dist/esm/{sqm-invoice-table-view-e9075c0b.js → sqm-invoice-table-view-e3a1287a.js} +117 -5
- package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-pagination_3.entry.js +386 -0
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +12 -12
- package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +9 -9
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +11 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form.entry.js +11 -11
- package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -12
- package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
- package/dist/esm/sqm-referral-table_11.entry.js +15 -13
- package/dist/esm/sqm-referred-registration.entry.js +7 -7
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +17 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +414 -170
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +105 -112
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-dd86d4a4.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +4 -4
- package/dist/esm/usePayoutStatus-a7510912.js +1039 -0
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +11 -11
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-6e89095a.js} +3 -3
- package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-7e3eb7c0.js} +13 -9
- package/dist/esm/{utilities-443732be.js → utilities-34fdb9e3.js} +2 -2
- package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-a0cff36f.js +1 -0
- package/dist/esm-es5/copy-text-view-200d6958.js +1 -0
- package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
- package/dist/esm-es5/{global-6306a9b8.js → global-9832e13a.js} +2 -2
- package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
- package/dist/esm-es5/index.module-32d2bf62.js +1 -0
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-6977623c.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.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-view-dc65b4e3.js → sqm-close-button-view-8058642b.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-e3a1287a.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
- 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-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.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-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.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-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.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-route.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-view-8d140661.js → sqm-text-span-view-d6e03f93.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-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm-es5/useChildElements-dd86d4a4.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-a7510912.js +6 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-6e89095a.js +1 -0
- package/dist/esm-es5/useVerificationEmail-7e3eb7c0.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-34fdb9e3.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-fd2c5407.js → p-019506c4.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-01d6c1f0.system.js} +1 -1
- package/dist/mint-components/{p-59818690.system.entry.js → p-04a17b6f.system.entry.js} +1 -1
- package/dist/mint-components/p-062051ad.entry.js +1 -0
- package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
- package/dist/mint-components/p-0740469e.entry.js +33 -0
- package/dist/mint-components/p-0d485762.system.entry.js +1 -0
- package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
- package/dist/mint-components/p-11c8ad61.entry.js +9 -0
- package/dist/mint-components/{p-d468925f.entry.js → p-135356c8.entry.js} +1 -1
- package/dist/mint-components/p-147eddc7.system.js +1 -0
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-14f23e8b.system.entry.js} +1 -1
- package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
- package/dist/mint-components/p-1d00f622.entry.js +25 -0
- package/dist/mint-components/{p-cb433855.system.entry.js → p-1da85c55.system.entry.js} +1 -1
- package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-1f03999a.entry.js} +1 -1
- package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
- package/dist/mint-components/p-2478ab2e.js +1 -0
- package/dist/mint-components/p-26989f51.system.entry.js +1 -0
- package/dist/mint-components/{p-04348a9b.js → p-27063220.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-27f4da12.entry.js} +1 -1
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-28e02729.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
- package/dist/mint-components/p-2a2fb958.system.js +1 -0
- package/dist/mint-components/{p-ac51940e.system.js → p-2ae74e3d.system.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-2bc74e74.system.js} +1 -1
- package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-2be940fd.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-346b0453.js} +1 -1
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-38e25302.system.js +1 -0
- package/dist/mint-components/{p-cd44de66.system.js → p-38eeea85.system.js} +1 -1
- package/dist/mint-components/p-3a82938a.system.js +1 -0
- package/dist/mint-components/p-3b9a0443.js +1 -0
- package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
- package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
- package/dist/mint-components/p-437d9179.entry.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-4460a1b5.system.entry.js} +1 -1
- package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
- package/dist/mint-components/{p-5291891c.entry.js → p-45348151.entry.js} +2 -2
- package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-4665c2df.system.js} +1 -1
- package/dist/mint-components/p-4769ea4e.js +1 -0
- package/dist/mint-components/p-4810eded.js +52 -0
- package/dist/mint-components/p-493ceeaa.system.entry.js +1 -0
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4d50c2fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-4e88b1cc.system.entry.js} +1 -1
- package/dist/mint-components/p-5327c91f.system.js +1 -0
- package/dist/mint-components/p-533a6058.entry.js +1 -0
- package/dist/mint-components/p-558daf4f.system.js +1 -0
- package/dist/mint-components/p-55a5bbca.system.entry.js +1 -0
- package/dist/mint-components/{p-3925bcd6.entry.js → p-567510ed.entry.js} +1 -1
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/p-57f92fe0.entry.js +1 -0
- package/dist/mint-components/{p-c3b37bbf.js → p-597d9584.js} +1 -1
- package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
- package/dist/mint-components/p-59fb25c9.system.entry.js +1 -0
- package/dist/mint-components/{p-2816bf6a.js → p-5c3bf70d.js} +1 -1
- package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
- package/dist/mint-components/p-606f8320.js +31 -0
- package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
- package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-6765a6d5.entry.js} +1 -1
- package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-69429d09.system.entry.js} +1 -1
- package/dist/mint-components/p-6b3cb50a.entry.js +1 -0
- package/dist/mint-components/{p-0121e044.js → p-6c03512b.js} +1 -1
- package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-70f4aab2.system.entry.js} +1 -1
- package/dist/mint-components/p-72aff425.js +48 -0
- package/dist/mint-components/p-72b57205.js +1 -0
- package/dist/mint-components/p-73e9caad.system.js +1 -0
- package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-775685a2.system.entry.js} +1 -1
- package/dist/mint-components/p-7a4a47b2.entry.js +205 -0
- package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
- package/dist/mint-components/{p-f450654b.system.entry.js → p-7c1650bb.system.entry.js} +1 -1
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-7d85fba4.system.entry.js} +1 -1
- package/dist/mint-components/p-7ddd0248.entry.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7e0c2fd5.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-813f6633.entry.js} +1 -1
- package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
- package/dist/mint-components/p-81fd8e56.system.js +1 -0
- package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-87bde6c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-64491210.system.entry.js → p-89283c37.system.entry.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-8b24b795.entry.js} +2 -2
- package/dist/mint-components/{p-6c928c7d.entry.js → p-8b66735f.entry.js} +1 -1
- package/dist/mint-components/p-8e6c97b5.system.entry.js +1 -0
- package/dist/mint-components/{p-8d554a89.system.js → p-90b906e3.system.js} +1 -1
- package/dist/mint-components/p-95f71da6.entry.js +1 -0
- package/dist/mint-components/p-96755021.entry.js +16 -0
- package/dist/mint-components/{p-ead27698.system.entry.js → p-98c5589b.system.entry.js} +1 -1
- package/dist/mint-components/p-9a3612e3.system.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-9c980a21.entry.js} +1 -1
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
- package/dist/mint-components/p-a13c83c5.entry.js +1 -0
- package/dist/mint-components/p-a1cc7c75.system.js +6 -0
- package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
- package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
- package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
- package/dist/mint-components/p-a5c46b1f.system.entry.js +1 -0
- package/dist/mint-components/p-a966450d.entry.js +1 -0
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-a9ad04e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
- package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
- package/dist/mint-components/{p-bc826117.system.entry.js → p-b38c43c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-b4fd6877.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
- package/dist/mint-components/p-b7ea46a9.system.entry.js +1 -0
- package/dist/mint-components/{p-a85f57bb.entry.js → p-b8e79be3.entry.js} +1 -1
- package/dist/mint-components/p-bc827206.entry.js +241 -0
- package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
- package/dist/mint-components/{p-51d53165.system.entry.js → p-bf1ce947.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-c10eb4d9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-c49e034d.js} +2 -2
- package/dist/mint-components/p-c5a86ae0.system.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-c6b10310.entry.js} +1 -1
- package/dist/mint-components/p-c7d74b3d.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-c9a1e91f.system.entry.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce7d155e.entry.js} +1 -1
- package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-d2ce8962.system.entry.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-d2fdccaf.entry.js} +1 -1
- package/dist/mint-components/p-d30d4615.system.entry.js +1 -0
- package/dist/mint-components/p-d72ca162.entry.js +13 -0
- package/dist/mint-components/p-d8d97ff5.js +1 -0
- package/dist/mint-components/p-d9125705.entry.js +1 -0
- package/dist/mint-components/{p-bdd6bb13.js → p-d998f2cf.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-da694498.js} +1 -1
- package/dist/mint-components/p-dc10f1c8.entry.js +1 -0
- package/dist/mint-components/p-dd5a844d.entry.js +1 -0
- package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
- package/dist/mint-components/{p-68747d88.js → p-e445df4e.js} +1 -1
- package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
- package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
- package/dist/mint-components/p-e9561792.entry.js +1 -0
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-ea99fae7.system.entry.js} +1 -1
- package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-f1a8e889.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
- package/dist/mint-components/{p-9eae245f.js → p-f754e08b.js} +23 -23
- package/dist/mint-components/p-f831ddd1.entry.js +13 -0
- package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +16 -0
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +3 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +39 -0
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +52 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
- 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-widget-verification-controller.d.ts +12 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +13 -4
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +4 -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 +6 -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 +3 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +30 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +5 -4
- 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/extractProps.d.ts +5 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +45 -0
- 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/views/copy-text-view.d.ts +3 -0
- package/dist/types/components.d.ts +625 -92
- package/dist/types/stories/Widget.stories.d.ts +6 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -345
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
- package/dist/esm/sqm-code-verification.entry.js +0 -341
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
- package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- 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-e9075c0b.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/esm-es5/useChildElements-fc84e640.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
- package/dist/mint-components/p-0893073b.entry.js +0 -1
- package/dist/mint-components/p-0a898ab1.js +0 -1
- package/dist/mint-components/p-11d1b212.js +0 -1
- package/dist/mint-components/p-1649ee1e.entry.js +0 -240
- package/dist/mint-components/p-1712a9fd.entry.js +0 -11
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-4671e644.entry.js +0 -1
- package/dist/mint-components/p-4babe350.system.js +0 -1
- package/dist/mint-components/p-4e373c3d.system.js +0 -1
- package/dist/mint-components/p-4eae91a9.system.js +0 -1
- package/dist/mint-components/p-54ffae13.entry.js +0 -194
- package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
- package/dist/mint-components/p-639d3dd3.entry.js +0 -1
- package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
- package/dist/mint-components/p-84b25a46.entry.js +0 -1
- package/dist/mint-components/p-8690f682.system.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
- package/dist/mint-components/p-974070c4.system.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-9dcfa187.system.js +0 -1
- package/dist/mint-components/p-9ec008cb.system.entry.js +0 -1
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-c510fb88.entry.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-d238372a.system.entry.js +0 -1
- package/dist/mint-components/p-d49e2f7a.js +0 -1
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-e01ac27c.system.js +0 -1
- package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
- package/dist/mint-components/p-f36e33ff.entry.js +0 -13
- package/dist/mint-components/p-f55060db.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/mint-components/p-fffc3590.entry.js +0 -9
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js
CHANGED
|
@@ -10,6 +10,7 @@ import { getFormMap } from "./formDefinitions";
|
|
|
10
10
|
import { mockPaymentOptions } from "./mockData";
|
|
11
11
|
import { BankingInfoFormView, } from "./sqm-banking-info-form-view";
|
|
12
12
|
import { getFormInputs, paypalFeeMap, useBankingInfoForm, } from "./useBankingInfoForm";
|
|
13
|
+
import { createStyleSheet } from "../../../styling/JSS";
|
|
13
14
|
/**
|
|
14
15
|
* @uiName Banking Information Form
|
|
15
16
|
* @exampleGroup Common Components
|
|
@@ -213,7 +214,16 @@ export class BankingInfoForm {
|
|
|
213
214
|
* @uiName Participant is a partner alert description
|
|
214
215
|
* @uiWidget textArea
|
|
215
216
|
*/
|
|
216
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our
|
|
217
|
+
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
|
|
218
|
+
/**
|
|
219
|
+
* Text for verify email dialog
|
|
220
|
+
* @uiName Verify email header
|
|
221
|
+
*/
|
|
222
|
+
this.verifyEmailHeaderText = "Verify your email";
|
|
223
|
+
/**
|
|
224
|
+
* @uiName Verify code widget header text
|
|
225
|
+
*/
|
|
226
|
+
this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
|
|
217
227
|
/**
|
|
218
228
|
* Part of the alert displayed at the top of the page.
|
|
219
229
|
* @uiName Form submission error message title
|
|
@@ -225,7 +235,7 @@ export class BankingInfoForm {
|
|
|
225
235
|
* @uiName Form submission error message description
|
|
226
236
|
* @uiWidget textArea
|
|
227
237
|
*/
|
|
228
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
238
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
229
239
|
/**
|
|
230
240
|
* Displayed under a field that is missing required information.
|
|
231
241
|
* @uiName Empty form field error message
|
|
@@ -236,6 +246,10 @@ export class BankingInfoForm {
|
|
|
236
246
|
* @uiName Form field error message
|
|
237
247
|
*/
|
|
238
248
|
this.fieldInvalidError = "{fieldName} is invalid";
|
|
249
|
+
/**
|
|
250
|
+
* @uiName Support link text
|
|
251
|
+
*/
|
|
252
|
+
this.supportLink = "support team";
|
|
239
253
|
/**
|
|
240
254
|
* @uiName Continue button label
|
|
241
255
|
*/
|
|
@@ -308,25 +322,60 @@ export class BankingInfoForm {
|
|
|
308
322
|
bitset: props.states.bitset,
|
|
309
323
|
formMap,
|
|
310
324
|
});
|
|
311
|
-
const
|
|
325
|
+
const style = {
|
|
326
|
+
Dialog: {
|
|
327
|
+
position: "relative",
|
|
328
|
+
"&::part(panel)": {
|
|
329
|
+
maxWidth: "420px",
|
|
330
|
+
},
|
|
331
|
+
"&::part(title)": {
|
|
332
|
+
padding: "var(--sl-spacing-large) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
333
|
+
},
|
|
334
|
+
"&::part(base)": {
|
|
335
|
+
position: "absolute",
|
|
336
|
+
},
|
|
337
|
+
"&::part(close-button)": {
|
|
338
|
+
marginBottom: "var(--sl-spacing-large)",
|
|
339
|
+
},
|
|
340
|
+
"&::part(body)": {
|
|
341
|
+
padding: "0 var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
342
|
+
fontSize: "var(--sl-font-size-small)",
|
|
343
|
+
},
|
|
344
|
+
"&::part(footer)": {
|
|
345
|
+
display: "flex",
|
|
346
|
+
flexDirection: "column",
|
|
347
|
+
gap: "var(--sl-spacing-small)",
|
|
348
|
+
marginBottom: "var(--sl-spacing-xx-small)",
|
|
349
|
+
alignItems: "center",
|
|
350
|
+
flex: "1",
|
|
351
|
+
},
|
|
352
|
+
},
|
|
312
353
|
SearchInput: {
|
|
313
354
|
padding: "var(--sl-spacing-x-small)",
|
|
314
355
|
},
|
|
315
356
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
357
|
+
const sheet = createStyleSheet(style);
|
|
358
|
+
const styleString = sheet.toString();
|
|
359
|
+
const verifyDescription = intl.formatMessage({
|
|
360
|
+
id: "codeResentSuccessfully",
|
|
361
|
+
defaultMessage: props.text.verifyEmailDescriptionText,
|
|
362
|
+
}, {
|
|
363
|
+
email: props.states.email,
|
|
364
|
+
});
|
|
319
365
|
return (h(Host, null,
|
|
366
|
+
h("style", { type: "text/css" }, styleString),
|
|
367
|
+
props.states.isPartner && props.states.showVerification ? (h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText },
|
|
368
|
+
h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null,
|
|
320
369
|
h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
|
|
321
370
|
formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
|
|
322
|
-
countryInputSlot: (h("sl-select", Object.assign({ label: props.text.bankLocationLabel, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
|
|
371
|
+
countryInputSlot: (h("sl-select", Object.assign({ label: props.text.bankLocationLabel, disabled: props.states.saveLoading, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
|
|
323
372
|
class: "error-input",
|
|
324
373
|
helpText: getValidationErrorMessage({
|
|
325
374
|
type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
|
|
326
375
|
label: props.text.bankLocationLabel,
|
|
327
376
|
}),
|
|
328
377
|
})),
|
|
329
|
-
h("sl-input", { class:
|
|
378
|
+
h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
|
|
330
379
|
// Stop shoelace intercepting key presses
|
|
331
380
|
e.stopPropagation();
|
|
332
381
|
}, "onSl-input": (e) => {
|
|
@@ -337,14 +386,14 @@ export class BankingInfoForm {
|
|
|
337
386
|
}), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
|
|
338
387
|
_f.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
|
|
339
388
|
paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
|
|
340
|
-
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
|
|
389
|
+
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
|
|
341
390
|
class: "error-input",
|
|
342
391
|
helpText: getValidationErrorMessage({
|
|
343
392
|
type: (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.paymentThreshold) === null || _l === void 0 ? void 0 : _l.type,
|
|
344
393
|
label: props.text.paymentThresholdSelectLabel,
|
|
345
394
|
}),
|
|
346
395
|
})), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
|
|
347
|
-
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
|
|
396
|
+
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
|
|
348
397
|
class: "error-input",
|
|
349
398
|
helpText: getValidationErrorMessage({
|
|
350
399
|
type: (_r = (_q = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _q === void 0 ? void 0 : _q.paymentDay) === null || _r === void 0 ? void 0 : _r.type,
|
|
@@ -353,7 +402,7 @@ export class BankingInfoForm {
|
|
|
353
402
|
})),
|
|
354
403
|
h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText),
|
|
355
404
|
h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
|
|
356
|
-
paypalInputSlot: (h("sl-input", Object.assign({ required: true, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
|
|
405
|
+
paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
|
|
357
406
|
class: "error-input",
|
|
358
407
|
helpText: getValidationErrorMessage({
|
|
359
408
|
type: (_0 = (_z = (_y = (_x = props.states.formState) === null || _x === void 0 ? void 0 : _x.errors) === null || _y === void 0 ? void 0 : _y.inputErrors) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) === null || _0 === void 0 ? void 0 : _0.type,
|
|
@@ -1313,7 +1362,49 @@ export class BankingInfoForm {
|
|
|
1313
1362
|
},
|
|
1314
1363
|
"attribute": "is-partner-alert-description",
|
|
1315
1364
|
"reflect": false,
|
|
1316
|
-
"defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact our
|
|
1365
|
+
"defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.\""
|
|
1366
|
+
},
|
|
1367
|
+
"verifyEmailHeaderText": {
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"mutable": false,
|
|
1370
|
+
"complexType": {
|
|
1371
|
+
"original": "string",
|
|
1372
|
+
"resolved": "string",
|
|
1373
|
+
"references": {}
|
|
1374
|
+
},
|
|
1375
|
+
"required": false,
|
|
1376
|
+
"optional": false,
|
|
1377
|
+
"docs": {
|
|
1378
|
+
"tags": [{
|
|
1379
|
+
"text": "Verify email header",
|
|
1380
|
+
"name": "uiName"
|
|
1381
|
+
}],
|
|
1382
|
+
"text": "Text for verify email dialog"
|
|
1383
|
+
},
|
|
1384
|
+
"attribute": "verify-email-header-text",
|
|
1385
|
+
"reflect": false,
|
|
1386
|
+
"defaultValue": "\"Verify your email\""
|
|
1387
|
+
},
|
|
1388
|
+
"verifyEmailDescriptionText": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"mutable": false,
|
|
1391
|
+
"complexType": {
|
|
1392
|
+
"original": "string",
|
|
1393
|
+
"resolved": "string",
|
|
1394
|
+
"references": {}
|
|
1395
|
+
},
|
|
1396
|
+
"required": false,
|
|
1397
|
+
"optional": false,
|
|
1398
|
+
"docs": {
|
|
1399
|
+
"tags": [{
|
|
1400
|
+
"text": "Verify code widget header text",
|
|
1401
|
+
"name": "uiName"
|
|
1402
|
+
}],
|
|
1403
|
+
"text": ""
|
|
1404
|
+
},
|
|
1405
|
+
"attribute": "verify-email-description-text",
|
|
1406
|
+
"reflect": false,
|
|
1407
|
+
"defaultValue": "\"Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.\""
|
|
1317
1408
|
},
|
|
1318
1409
|
"generalErrorTitle": {
|
|
1319
1410
|
"type": "string",
|
|
@@ -1361,7 +1452,7 @@ export class BankingInfoForm {
|
|
|
1361
1452
|
},
|
|
1362
1453
|
"attribute": "general-error-description",
|
|
1363
1454
|
"reflect": false,
|
|
1364
|
-
"defaultValue": "\"Please review your information and try again. If this problem continues, contact
|
|
1455
|
+
"defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
|
|
1365
1456
|
},
|
|
1366
1457
|
"fieldRequiredError": {
|
|
1367
1458
|
"type": "string",
|
|
@@ -1405,6 +1496,27 @@ export class BankingInfoForm {
|
|
|
1405
1496
|
"reflect": false,
|
|
1406
1497
|
"defaultValue": "\"{fieldName} is invalid\""
|
|
1407
1498
|
},
|
|
1499
|
+
"supportLink": {
|
|
1500
|
+
"type": "string",
|
|
1501
|
+
"mutable": false,
|
|
1502
|
+
"complexType": {
|
|
1503
|
+
"original": "string",
|
|
1504
|
+
"resolved": "string",
|
|
1505
|
+
"references": {}
|
|
1506
|
+
},
|
|
1507
|
+
"required": false,
|
|
1508
|
+
"optional": false,
|
|
1509
|
+
"docs": {
|
|
1510
|
+
"tags": [{
|
|
1511
|
+
"text": "Support link text",
|
|
1512
|
+
"name": "uiName"
|
|
1513
|
+
}],
|
|
1514
|
+
"text": ""
|
|
1515
|
+
},
|
|
1516
|
+
"attribute": "support-link",
|
|
1517
|
+
"reflect": false,
|
|
1518
|
+
"defaultValue": "\"support team\""
|
|
1519
|
+
},
|
|
1408
1520
|
"continueButton": {
|
|
1409
1521
|
"type": "string",
|
|
1410
1522
|
"mutable": false,
|
|
@@ -1500,7 +1612,7 @@ export class BankingInfoForm {
|
|
|
1500
1612
|
"mutable": false,
|
|
1501
1613
|
"complexType": {
|
|
1502
1614
|
"original": "DemoData<BankingInfoFormViewProps>",
|
|
1503
|
-
"resolved": "{ states?: { showVerification: boolean; step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\"; }; }; }; }; bitset?: number; currency?: string; thresholds: string[]; countries?: { countryCode: string; displayName: string; }[]; allCountries?: { countryCode: string; displayName: string; }[]; currentPaymentOption?: any; showInputs?: boolean; bankCountry?: string; countrySearch?: string; }; slots?: { formInputsSlot?: VNode[]; countryInputSlot?: VNode; paymentMethodSlot?: VNode; paymentThresholdSelectSlot?: VNode; paymentFixedDaySelectSlot?: VNode; paypalInputSlot?: VNode; }; refs?: { formRef: any; }; }",
|
|
1615
|
+
"resolved": "{ states?: { showVerification: boolean; step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\"; }; }; }; }; bitset?: number; currency?: string; thresholds: string[]; countries?: { countryCode: string; displayName: string; }[]; allCountries?: { countryCode: string; displayName: string; }[]; currentPaymentOption?: any; showInputs?: boolean; bankCountry?: string; countrySearch?: string; email?: string; }; slots?: { verificationDialogSlot?: VNode; formInputsSlot?: VNode[]; countryInputSlot?: VNode; paymentMethodSlot?: VNode; paymentThresholdSelectSlot?: VNode; paymentFixedDaySelectSlot?: VNode; paypalInputSlot?: VNode; }; refs?: { formRef: any; }; }",
|
|
1504
1616
|
"references": {
|
|
1505
1617
|
"DemoData": {
|
|
1506
1618
|
"location": "import",
|
|
@@ -1611,6 +1723,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1611
1723
|
hasPayPal: true,
|
|
1612
1724
|
},
|
|
1613
1725
|
callbacks: {
|
|
1726
|
+
onVerificationHide: () => { },
|
|
1614
1727
|
onSubmit: async () => {
|
|
1615
1728
|
setStep("/dashboard");
|
|
1616
1729
|
},
|
|
@@ -5,6 +5,7 @@ import JSONPointer from "jsonpointer";
|
|
|
5
5
|
import { intl } from "../../../global/global";
|
|
6
6
|
import { FINANCE_NETWORK_SETTINGS_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
7
7
|
import { VERIFICATION_EVENT_KEY } from "../../sqm-widget-verification/keys";
|
|
8
|
+
import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
|
|
8
9
|
// Hardcoded in Impact backend
|
|
9
10
|
export const paypalFeeMap = {
|
|
10
11
|
USD: "USD20.00",
|
|
@@ -82,7 +83,7 @@ function parseImpactThreshold(threshold) {
|
|
|
82
83
|
return parsed.toString();
|
|
83
84
|
}
|
|
84
85
|
export function useBankingInfoForm(props) {
|
|
85
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
86
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
86
87
|
const host = useHost();
|
|
87
88
|
const locale = useLocale();
|
|
88
89
|
const user = useUserIdentity();
|
|
@@ -207,6 +208,8 @@ export function useBankingInfoForm(props) {
|
|
|
207
208
|
// Call difference mutations based on whether the user is updating
|
|
208
209
|
// the info for setting it for the first time
|
|
209
210
|
if (isPartner) {
|
|
211
|
+
if (!token)
|
|
212
|
+
return; // Require token for this mutation
|
|
210
213
|
response = await updateWithdrawalSettings({
|
|
211
214
|
updateImpactPublisherWithdrawalSettingsInput: {
|
|
212
215
|
...body,
|
|
@@ -244,6 +247,8 @@ export function useBankingInfoForm(props) {
|
|
|
244
247
|
});
|
|
245
248
|
return;
|
|
246
249
|
}
|
|
250
|
+
// Fire form change event
|
|
251
|
+
window.dispatchEvent(new Event(TAX_FORM_UPDATED_EVENT_KEY));
|
|
247
252
|
await refetch();
|
|
248
253
|
setStep("/dashboard");
|
|
249
254
|
}
|
|
@@ -319,6 +324,7 @@ export function useBankingInfoForm(props) {
|
|
|
319
324
|
onBack: () => setStep("/dashboard"),
|
|
320
325
|
setCountrySearch,
|
|
321
326
|
onVerification,
|
|
327
|
+
onVerificationHide: () => onVerification(null),
|
|
322
328
|
},
|
|
323
329
|
states: {
|
|
324
330
|
showVerification,
|
|
@@ -351,6 +357,7 @@ export function useBankingInfoForm(props) {
|
|
|
351
357
|
hasPayPal,
|
|
352
358
|
bankCountry: formState.bankCountry,
|
|
353
359
|
countrySearch,
|
|
360
|
+
email: (_j = userData === null || userData === void 0 ? void 0 : userData.user) === null || _j === void 0 ? void 0 : _j.email,
|
|
354
361
|
},
|
|
355
362
|
refs: {
|
|
356
363
|
formRef,
|
|
@@ -160,12 +160,22 @@ export const DocusignFormView = (props) => {
|
|
|
160
160
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
161
161
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
162
162
|
h("br", null),
|
|
163
|
-
|
|
163
|
+
intl.formatMessage({
|
|
164
|
+
id: "loadingErrorAlertDescription",
|
|
165
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
166
|
+
}, {
|
|
167
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
168
|
+
})))),
|
|
164
169
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.ErrorAlertContainer },
|
|
165
170
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
166
171
|
h("strong", null, text.error.generalTitle),
|
|
167
172
|
h("br", null),
|
|
168
|
-
|
|
173
|
+
intl.formatMessage({
|
|
174
|
+
id: "generalDescription",
|
|
175
|
+
defaultMessage: text.error.generalDescription,
|
|
176
|
+
}, {
|
|
177
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
178
|
+
}))),
|
|
169
179
|
h("div", null,
|
|
170
180
|
h("div", null,
|
|
171
181
|
h("h5", { class: classes.BoldText }, intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
|
|
@@ -34,6 +34,10 @@ export class DocusignForm {
|
|
|
34
34
|
* @uiWidget textArea
|
|
35
35
|
*/
|
|
36
36
|
this.taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
|
|
37
|
+
/**
|
|
38
|
+
* @uiName Support link text
|
|
39
|
+
*/
|
|
40
|
+
this.supportLink = "support team";
|
|
37
41
|
/**
|
|
38
42
|
* Displayed at the top of the page to individuals joining a US program who reside outside the country.
|
|
39
43
|
* @uiName W-8 BEN tax form description
|
|
@@ -77,7 +81,7 @@ export class DocusignForm {
|
|
|
77
81
|
* @uiName Docusign form error message
|
|
78
82
|
* @uiWidget textArea
|
|
79
83
|
*/
|
|
80
|
-
this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact
|
|
84
|
+
this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
|
|
81
85
|
/**
|
|
82
86
|
* @uiName Refresh page button label
|
|
83
87
|
*/
|
|
@@ -93,7 +97,7 @@ export class DocusignForm {
|
|
|
93
97
|
* @uiName Form submission error message description
|
|
94
98
|
* @uiWidget textArea
|
|
95
99
|
*/
|
|
96
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
100
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
97
101
|
/**
|
|
98
102
|
* Part of the alert displayed at the top of the page.
|
|
99
103
|
* @uiName Page load error message title
|
|
@@ -105,7 +109,7 @@ export class DocusignForm {
|
|
|
105
109
|
* @uiName Page load error message description
|
|
106
110
|
* @uiWidget textArea
|
|
107
111
|
*/
|
|
108
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
112
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
109
113
|
/**
|
|
110
114
|
* Displayed at the top of the page on all set up steps.
|
|
111
115
|
* @uiName Page description
|
|
@@ -240,6 +244,27 @@ export class DocusignForm {
|
|
|
240
244
|
"reflect": false,
|
|
241
245
|
"defaultValue": "\"Participants based in the US need to submit a {documentType} form.\""
|
|
242
246
|
},
|
|
247
|
+
"supportLink": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"mutable": false,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "string",
|
|
252
|
+
"resolved": "string",
|
|
253
|
+
"references": {}
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"optional": false,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [{
|
|
259
|
+
"text": "Support link text",
|
|
260
|
+
"name": "uiName"
|
|
261
|
+
}],
|
|
262
|
+
"text": ""
|
|
263
|
+
},
|
|
264
|
+
"attribute": "support-link",
|
|
265
|
+
"reflect": false,
|
|
266
|
+
"defaultValue": "\"support team\""
|
|
267
|
+
},
|
|
243
268
|
"taxFormDescriptionIndividualParticipant": {
|
|
244
269
|
"type": "string",
|
|
245
270
|
"mutable": false,
|
|
@@ -421,7 +446,7 @@ export class DocusignForm {
|
|
|
421
446
|
},
|
|
422
447
|
"attribute": "docusign-error",
|
|
423
448
|
"reflect": false,
|
|
424
|
-
"defaultValue": "\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact
|
|
449
|
+
"defaultValue": "\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.\""
|
|
425
450
|
},
|
|
426
451
|
"refreshButton": {
|
|
427
452
|
"type": "string",
|
|
@@ -490,7 +515,7 @@ export class DocusignForm {
|
|
|
490
515
|
},
|
|
491
516
|
"attribute": "general-error-description",
|
|
492
517
|
"reflect": false,
|
|
493
|
-
"defaultValue": "\"Please review your information and try again. If this problem continues, contact
|
|
518
|
+
"defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
|
|
494
519
|
},
|
|
495
520
|
"loadingErrorAlertHeader": {
|
|
496
521
|
"type": "string",
|
|
@@ -538,7 +563,7 @@ export class DocusignForm {
|
|
|
538
563
|
},
|
|
539
564
|
"attribute": "loading-error-alert-description",
|
|
540
565
|
"reflect": false,
|
|
541
|
-
"defaultValue": "\"Please refresh the page and try again. If this problem continues, contact
|
|
566
|
+
"defaultValue": "\"Please refresh the page and try again. If this problem continues, contact our {supportLink}.\""
|
|
542
567
|
},
|
|
543
568
|
"taxAndPayoutsDescription": {
|
|
544
569
|
"type": "string",
|
|
@@ -3,6 +3,7 @@ import { useEffect, useState } from "@saasquatch/universal-hooks";
|
|
|
3
3
|
import { gql } from "graphql-request";
|
|
4
4
|
import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
5
5
|
import { taxTypeToName, validTaxDocument } from "../utils";
|
|
6
|
+
import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
|
|
6
7
|
const GET_TAX_DOCUMENT = gql `
|
|
7
8
|
mutation createImpactPublisherTaxDocument(
|
|
8
9
|
$vars: CreateImpactPublisherTaxDocumentInput!
|
|
@@ -101,6 +102,8 @@ export function useDocusignForm(props) {
|
|
|
101
102
|
// @ts-expect-error: no data type for result
|
|
102
103
|
if (!result.completeImpactPublisherTaxDocument.success)
|
|
103
104
|
throw new Error();
|
|
105
|
+
// Fire form change event
|
|
106
|
+
window.dispatchEvent(new Event(TAX_FORM_UPDATED_EVENT_KEY));
|
|
104
107
|
setShowExitButton(true);
|
|
105
108
|
}
|
|
106
109
|
catch (e) {
|
package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js
CHANGED
|
@@ -90,11 +90,9 @@ const style = {
|
|
|
90
90
|
border: "none",
|
|
91
91
|
},
|
|
92
92
|
"&::part(message)": {
|
|
93
|
-
display: "flex",
|
|
94
93
|
alignItems: "center",
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
height: "max-content",
|
|
94
|
+
padding: "var(--sl-spacing-small)",
|
|
95
|
+
whiteSpace: "nowrap",
|
|
98
96
|
},
|
|
99
97
|
"& sl-icon::part(base)": {
|
|
100
98
|
color: "var(--sl-color-yellow-500)",
|
|
@@ -152,17 +150,32 @@ export const IndirectTaxFormView = (props) => {
|
|
|
152
150
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
153
151
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
154
152
|
h("br", null),
|
|
155
|
-
|
|
153
|
+
intl.formatMessage({
|
|
154
|
+
id: "loadingErrorAlertDescription",
|
|
155
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
156
|
+
}, {
|
|
157
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
158
|
+
})))),
|
|
156
159
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
|
|
157
160
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
158
161
|
h("strong", null, text.error.generalTitle),
|
|
159
162
|
h("br", null),
|
|
160
|
-
|
|
163
|
+
intl.formatMessage({
|
|
164
|
+
id: "generalDescription",
|
|
165
|
+
defaultMessage: text.error.generalDescription,
|
|
166
|
+
}, {
|
|
167
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
168
|
+
}))),
|
|
161
169
|
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
162
170
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
163
171
|
h("strong", null, text.isPartnerAlertHeader),
|
|
164
172
|
h("br", null),
|
|
165
|
-
|
|
173
|
+
intl.formatMessage({
|
|
174
|
+
id: "isPartnerAlertDescription",
|
|
175
|
+
defaultMessage: text.isPartnerAlertDescription,
|
|
176
|
+
}, {
|
|
177
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
178
|
+
}))),
|
|
166
179
|
h("div", null,
|
|
167
180
|
h("h4", null, text.indirectTaxDetails))),
|
|
168
181
|
states.loading ? (h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (h("div", null,
|
|
@@ -179,7 +192,12 @@ export const IndirectTaxFormView = (props) => {
|
|
|
179
192
|
slots.registeredInDifferentCountryDetailsSlot)),
|
|
180
193
|
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
|
|
181
194
|
h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
|
|
182
|
-
|
|
195
|
+
intl.formatMessage({
|
|
196
|
+
id: "cannotChangeInfoAlert",
|
|
197
|
+
defaultMessage: text.cannotChangeInfoAlert,
|
|
198
|
+
}, {
|
|
199
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
200
|
+
})),
|
|
183
201
|
h("div", { class: classes.BtnContainer },
|
|
184
202
|
h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
|
185
203
|
h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
|
package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js
CHANGED
|
@@ -100,7 +100,7 @@ export class IndirectTaxForm {
|
|
|
100
100
|
* @uiName Submission confirmation alert
|
|
101
101
|
* @uiWidget textArea
|
|
102
102
|
*/
|
|
103
|
-
this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our
|
|
103
|
+
this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
|
|
104
104
|
/**
|
|
105
105
|
* @uiName Missing indirect tax number error message
|
|
106
106
|
*/
|
|
@@ -126,11 +126,15 @@ export class IndirectTaxForm {
|
|
|
126
126
|
* @uiName Participant is a partner alert description
|
|
127
127
|
* @uiWidget textArea
|
|
128
128
|
*/
|
|
129
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact
|
|
129
|
+
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
|
|
130
130
|
/**
|
|
131
131
|
* @uiName Continue button label
|
|
132
132
|
*/
|
|
133
133
|
this.continueButton = "Continue";
|
|
134
|
+
/**
|
|
135
|
+
* @uiName Support link text
|
|
136
|
+
*/
|
|
137
|
+
this.supportLink = "support team";
|
|
134
138
|
/**
|
|
135
139
|
* Part of the alert displayed at the top of the page.
|
|
136
140
|
* @uiName Form submission error message title
|
|
@@ -142,7 +146,7 @@ export class IndirectTaxForm {
|
|
|
142
146
|
* @uiName Form submission error message description
|
|
143
147
|
* @uiWidget textArea
|
|
144
148
|
*/
|
|
145
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
149
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
146
150
|
/**
|
|
147
151
|
* Part of the alert displayed at the top of the page.
|
|
148
152
|
* @uiName Page load error message title
|
|
@@ -154,7 +158,7 @@ export class IndirectTaxForm {
|
|
|
154
158
|
* @uiName Page load error message description
|
|
155
159
|
* @uiWidget textArea
|
|
156
160
|
*/
|
|
157
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
161
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
158
162
|
/**
|
|
159
163
|
* Displayed at the top of the page on all set up steps.
|
|
160
164
|
* @uiName Page description
|
|
@@ -606,7 +610,7 @@ export class IndirectTaxForm {
|
|
|
606
610
|
},
|
|
607
611
|
"attribute": "cannot-change-info-alert",
|
|
608
612
|
"reflect": false,
|
|
609
|
-
"defaultValue": "\"Changes to your personal and indirect tax information can only be made through our
|
|
613
|
+
"defaultValue": "\"Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.\""
|
|
610
614
|
},
|
|
611
615
|
"indirectTaxNumberError": {
|
|
612
616
|
"type": "string",
|
|
@@ -717,7 +721,7 @@ export class IndirectTaxForm {
|
|
|
717
721
|
},
|
|
718
722
|
"attribute": "is-partner-alert-description",
|
|
719
723
|
"reflect": false,
|
|
720
|
-
"defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact
|
|
724
|
+
"defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.\""
|
|
721
725
|
},
|
|
722
726
|
"continueButton": {
|
|
723
727
|
"type": "string",
|
|
@@ -740,6 +744,27 @@ export class IndirectTaxForm {
|
|
|
740
744
|
"reflect": false,
|
|
741
745
|
"defaultValue": "\"Continue\""
|
|
742
746
|
},
|
|
747
|
+
"supportLink": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"mutable": false,
|
|
750
|
+
"complexType": {
|
|
751
|
+
"original": "string",
|
|
752
|
+
"resolved": "string",
|
|
753
|
+
"references": {}
|
|
754
|
+
},
|
|
755
|
+
"required": false,
|
|
756
|
+
"optional": false,
|
|
757
|
+
"docs": {
|
|
758
|
+
"tags": [{
|
|
759
|
+
"text": "Support link text",
|
|
760
|
+
"name": "uiName"
|
|
761
|
+
}],
|
|
762
|
+
"text": ""
|
|
763
|
+
},
|
|
764
|
+
"attribute": "support-link",
|
|
765
|
+
"reflect": false,
|
|
766
|
+
"defaultValue": "\"support team\""
|
|
767
|
+
},
|
|
743
768
|
"generalErrorTitle": {
|
|
744
769
|
"type": "string",
|
|
745
770
|
"mutable": false,
|
|
@@ -786,7 +811,7 @@ export class IndirectTaxForm {
|
|
|
786
811
|
},
|
|
787
812
|
"attribute": "general-error-description",
|
|
788
813
|
"reflect": false,
|
|
789
|
-
"defaultValue": "\"Please review your information and try again. If this problem continues, contact
|
|
814
|
+
"defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
|
|
790
815
|
},
|
|
791
816
|
"loadingErrorAlertHeader": {
|
|
792
817
|
"type": "string",
|
|
@@ -834,7 +859,7 @@ export class IndirectTaxForm {
|
|
|
834
859
|
},
|
|
835
860
|
"attribute": "loading-error-alert-description",
|
|
836
861
|
"reflect": false,
|
|
837
|
-
"defaultValue": "\"Please refresh the page and try again. If this problem continues, contact
|
|
862
|
+
"defaultValue": "\"Please refresh the page and try again. If this problem continues, contact our {supportLink}.\""
|
|
838
863
|
},
|
|
839
864
|
"taxAndPayoutsDescription": {
|
|
840
865
|
"type": "string",
|
|
@@ -5,6 +5,7 @@ import JSONPointer from "jsonpointer";
|
|
|
5
5
|
import { COUNTRIES_QUERY_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
6
6
|
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
7
7
|
import { getCountryObj, validTaxDocument } from "../utils";
|
|
8
|
+
import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
|
|
8
9
|
const CONNECT_PARTNER = gql `
|
|
9
10
|
mutation createImpactConnection($vars: ImpactConnectionInput!) {
|
|
10
11
|
createImpactConnection(impactConnectionInput: $vars) {
|
|
@@ -169,6 +170,8 @@ export function useIndirectTaxForm(props) {
|
|
|
169
170
|
const resultPublisher = (_e = (_d = (_c = result
|
|
170
171
|
.createImpactConnection) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher;
|
|
171
172
|
const hasValidCurrentDocument = validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
|
|
173
|
+
// Fire form change event
|
|
174
|
+
window.dispatchEvent(new Event(TAX_FORM_UPDATED_EVENT_KEY));
|
|
172
175
|
if ((resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) &&
|
|
173
176
|
!hasValidCurrentDocument) {
|
|
174
177
|
// Go to docusign form
|
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"
|