@saasquatch/mint-components 2.1.9-9 → 2.1.10-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-d679ec76.js → ShadowViewAddon-a26deae6.js} +6 -6
- package/dist/cjs/{data-e83f8a41.js → data-8c8a08f6.js} +2 -2
- package/dist/cjs/extractProps-e9c55ba8.js +35 -0
- package/dist/cjs/{global-0f8b1267.js → global-b7b1b8fe.js} +3126 -3177
- package/dist/cjs/{index.module-42d413d9.js → index.module-f8c8495f.js} +149 -154
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-69bde9ee.js → re-render-72a0ef45.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +94 -401
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +37 -397
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +7 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-d90f8941.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-818d9e9a.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-20693e59.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-2b4b92da.js → sqm-portal-email-verification-view-c81fe7f1.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-bfdbb98d.js → sqm-portal-profile-view-639337e3.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-90cd89e3.js → sqm-portal-verify-email-view-424e406a.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -200
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-923ff8d9.js → sqm-user-info-form-view-53306f6e.js} +12 -9
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
- package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
- package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
- package/dist/cjs/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
- package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
- package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
- package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
- package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
- package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +4 -473
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +55 -75
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +63 -688
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +65 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -7
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -7
- package/dist/esm/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-47f1e579.js} +6 -6
- package/dist/esm/{data-2b0feb3f.js → data-12e6aae1.js} +2 -2
- package/dist/esm/extractProps-54064fb0.js +32 -0
- package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
- package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +91 -398
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +34 -393
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +8 -7
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +414 -0
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +15 -200
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +12 -9
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +210 -0
- package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
- package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
- package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
- package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
- package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
- package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-47f1e579.js} +1 -1
- package/dist/esm-es5/{data-2b0feb3f.js → data-12e6aae1.js} +1 -1
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/global-96c14d63.js +271 -0
- package/dist/esm-es5/index.module-b23fdad8.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/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
- 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 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-f015fd6a.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.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-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
- package/dist/mint-components/p-02499e08.entry.js +1 -0
- package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
- package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
- package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
- package/dist/mint-components/{p-886fb141.entry.js → p-058aefe1.entry.js} +1 -1
- package/dist/mint-components/p-0614dcbc.entry.js +9 -0
- package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
- package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
- package/dist/mint-components/{p-a5912b2f.js → p-0c0d4065.js} +3 -3
- package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
- package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
- package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
- package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-896390f9.js → p-217dedde.js} +2 -2
- package/dist/mint-components/{p-e5ee6cf5.entry.js → p-25558a33.entry.js} +2 -2
- package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
- package/dist/mint-components/p-30c1ef36.system.js +1 -0
- package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
- package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
- package/dist/mint-components/p-3687d433.entry.js +106 -0
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-3adbfd0b.system.js +6 -0
- package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
- package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
- package/dist/mint-components/{p-15a703c7.system.entry.js → p-5141769d.system.entry.js} +1 -1
- package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
- package/dist/mint-components/{p-bba694e4.entry.js → p-55676213.entry.js} +1 -1
- package/dist/mint-components/p-57ac2160.system.entry.js +1 -0
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
- package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
- package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
- package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
- package/dist/mint-components/p-5ff7b000.entry.js +33 -0
- package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
- package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
- package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
- package/dist/mint-components/p-6640bbd6.entry.js +273 -0
- package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-be63f29b.system.js → p-692e14c5.system.js} +1 -1
- package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
- package/dist/mint-components/p-6e512063.entry.js +25 -0
- package/dist/mint-components/{p-71545bfd.system.entry.js → p-70570e4d.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7ee6531.js → p-7161e1a6.js} +1 -1
- package/dist/mint-components/p-7265bbcb.system.js +271 -0
- package/dist/mint-components/p-738dce27.system.entry.js +1 -0
- package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
- package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
- package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
- package/dist/mint-components/p-7efb8782.system.js +1 -0
- package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
- package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
- package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
- package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
- package/dist/mint-components/p-91a96e98.entry.js +1 -0
- package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
- package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
- package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
- package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
- package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
- package/dist/mint-components/{p-66c0100c.system.entry.js → p-ab0ea688.system.entry.js} +1 -1
- package/dist/mint-components/p-abc28aeb.system.entry.js +1 -0
- package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
- package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
- package/dist/mint-components/p-b395470f.entry.js +16 -0
- package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
- package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/p-bf545082.system.entry.js +1 -0
- package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
- package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/p-c67f8558.system.entry.js +1 -0
- package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
- package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -0
- package/dist/mint-components/{p-93c5c8ec.entry.js → p-cb0a5990.entry.js} +1 -1
- package/dist/mint-components/{p-74aac245.system.js → p-ce050888.system.js} +1 -1
- package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
- package/dist/mint-components/p-d0993bb9.js +1 -0
- package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
- package/dist/mint-components/{p-ba953c21.entry.js → p-d4570314.entry.js} +1 -1
- package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
- package/dist/mint-components/{p-b5f57914.js → p-d997001a.js} +1 -1
- package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/{p-b297016f.system.entry.js → p-dd368927.system.entry.js} +1 -1
- package/dist/mint-components/p-de0d6fd7.js +49 -0
- package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
- package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-098d134a.system.entry.js → p-e3497e0e.system.entry.js} +1 -1
- package/dist/mint-components/{p-d798004f.system.js → p-e4f17c21.system.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
- package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
- package/dist/mint-components/{p-f18a6658.js → p-e6ace3ab.js} +1 -1
- package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
- package/dist/mint-components/{p-eaf5d0af.system.js → p-ea03e50e.system.js} +1 -1
- package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
- package/dist/mint-components/{p-8139fdec.entry.js → p-f0baeed0.entry.js} +1 -1
- package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
- package/dist/mint-components/{p-31dde9fc.system.js → p-f35d856a.system.js} +1 -1
- package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
- package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
- package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
- package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
- package/dist/mint-components/p-fbe00c97.system.entry.js +1 -0
- package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
- package/dist/mint-components/p-fe70e20c.entry.js +1 -0
- package/dist/mint-components/{p-54bf015a.system.js → p-ff118a19.system.js} +1 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -73
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +6 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +8 -165
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -0
- package/dist/types/components.d.ts +38 -554
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +122783 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -810
- package/dist/cjs/sqm-partner-info-modal-view-cd758f12.js +0 -107
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -145
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -102
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -553
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -232
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-email-verification_2.entry.js +0 -805
- package/dist/esm/sqm-partner-info-modal-view-dbedda28.js +0 -105
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/global-39f55ec2.js +0 -285
- package/dist/esm-es5/index.module-cede12c6.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-dbedda28.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-1b2fcd7f.entry.js +0 -108
- package/dist/mint-components/p-1c413a06.system.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-59f69bdc.system.entry.js +0 -1
- package/dist/mint-components/p-604e548b.entry.js +0 -291
- package/dist/mint-components/p-63c299f1.system.js +0 -1
- package/dist/mint-components/p-64b56141.system.entry.js +0 -1
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-6638c7c6.system.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-70e34ae1.system.js +0 -6
- package/dist/mint-components/p-7144ac40.js +0 -1
- package/dist/mint-components/p-7a5814ef.system.entry.js +0 -1
- package/dist/mint-components/p-996eb820.entry.js +0 -1
- package/dist/mint-components/p-a8ecdc44.system.js +0 -1
- package/dist/mint-components/p-adcc37f3.entry.js +0 -105
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
- package/dist/mint-components/p-b451970a.system.entry.js +0 -1
- package/dist/mint-components/p-bf81b818.system.entry.js +0 -1
- package/dist/mint-components/p-bfbfde38.entry.js +0 -33
- package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
- package/dist/mint-components/p-d20188db.js +0 -1
- package/dist/mint-components/p-d2927531.entry.js +0 -9
- package/dist/mint-components/p-d6714617.entry.js +0 -1
- package/dist/mint-components/p-dac1f2cb.system.entry.js +0 -1
- package/dist/mint-components/p-e95402dc.js +0 -49
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -43
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -101
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host, g as getElement } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-96c14d63.js';
|
|
3
3
|
import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, _, L, J,
|
|
4
|
+
import { d as dist, _, L, J, q as Pn, F as Fn, r as $n, $ as $e, i as isDemo, o as En, b as useCallback, R as Rn, w as wn } from './index.module-b23fdad8.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import './mixins-f750863a.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-f30aeb6b.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-9bccfb72.js';
|
|
13
13
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
15
|
-
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-
|
|
16
|
-
import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-
|
|
17
|
-
import { b as VERIFICATION_EVENT_KEY } from './keys-
|
|
18
|
-
import { T as TAX_FORM_UPDATED_EVENT_KEY } from './
|
|
19
|
-
import { a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-fa504d49.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-92af4133.js';
|
|
15
|
+
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-19d81a2b.js';
|
|
16
|
+
import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-12e6aae1.js';
|
|
17
|
+
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
18
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-46c0c289.js';
|
|
20
19
|
|
|
21
20
|
function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38
|
|
21
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38;
|
|
23
22
|
const { errors, ...formState } = props.states.formState;
|
|
24
23
|
return {
|
|
25
24
|
0: {
|
|
@@ -28,54 +27,44 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
|
28
27
|
helpText: getValidationErrorMessage({
|
|
29
28
|
type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
|
|
30
29
|
label: props.text.beneficiaryAccountNameLabel,
|
|
31
|
-
errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.beneficiaryAccountName) === null || _e === void 0 ? void 0 : _e.errorCode,
|
|
32
|
-
fieldName: "beneficiaryAccountName",
|
|
33
30
|
}),
|
|
34
31
|
})))),
|
|
35
32
|
},
|
|
36
33
|
1: {
|
|
37
|
-
input: (h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((
|
|
34
|
+
input: (h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
|
|
38
35
|
class: "error-input",
|
|
39
36
|
helpText: getValidationErrorMessage({
|
|
40
|
-
type: (
|
|
37
|
+
type: (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _e === void 0 ? void 0 : _e.bankAccountType) === null || _f === void 0 ? void 0 : _f.type,
|
|
41
38
|
label: props.text.bankAccountTypeLabel,
|
|
42
|
-
errorCode: (_k = (_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.bankAccountType) === null || _k === void 0 ? void 0 : _k.errorCode,
|
|
43
|
-
fieldName: "bankAccountType",
|
|
44
39
|
}),
|
|
45
40
|
})),
|
|
46
41
|
h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
|
|
47
42
|
h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
|
|
48
43
|
},
|
|
49
44
|
2: {
|
|
50
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((
|
|
45
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
|
|
51
46
|
class: "error-input",
|
|
52
47
|
helpText: getValidationErrorMessage({
|
|
53
|
-
type: (
|
|
48
|
+
type: (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _h === void 0 ? void 0 : _h.bankAccountNumber) === null || _j === void 0 ? void 0 : _j.type,
|
|
54
49
|
label: props.text.bankAccountNumberLabel,
|
|
55
|
-
errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.bankAccountNumber) === null || _q === void 0 ? void 0 : _q.errorCode,
|
|
56
|
-
fieldName: "bankAccountNumber",
|
|
57
50
|
}),
|
|
58
51
|
})))),
|
|
59
52
|
},
|
|
60
53
|
3: {
|
|
61
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((
|
|
54
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
|
|
62
55
|
class: "error-input",
|
|
63
56
|
helpText: getValidationErrorMessage({
|
|
64
|
-
type: (
|
|
57
|
+
type: (_m = (_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) === null || _m === void 0 ? void 0 : _m.type,
|
|
65
58
|
label: props.text.ibanLabel,
|
|
66
|
-
errorCode: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankAccountNumber) === null || _v === void 0 ? void 0 : _v.errorCode,
|
|
67
|
-
fieldName: "bankAccountNumber",
|
|
68
59
|
}),
|
|
69
60
|
})))),
|
|
70
61
|
},
|
|
71
62
|
4: {
|
|
72
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((
|
|
63
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
|
|
73
64
|
class: "error-input",
|
|
74
65
|
helpText: getValidationErrorMessage({
|
|
75
|
-
type: (
|
|
66
|
+
type: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.swiftCode) === null || _q === void 0 ? void 0 : _q.type,
|
|
76
67
|
label: props.text.swiftCodeLabel,
|
|
77
|
-
errorCode: (_0 = (_z = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _z === void 0 ? void 0 : _z.swiftCode) === null || _0 === void 0 ? void 0 : _0.errorCode,
|
|
78
|
-
fieldName: "swiftCode",
|
|
79
68
|
}),
|
|
80
69
|
})))),
|
|
81
70
|
},
|
|
@@ -85,41 +74,35 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
|
85
74
|
defaultMessage: props.text.routingCodeLabel,
|
|
86
75
|
}, {
|
|
87
76
|
bankCountry,
|
|
88
|
-
}), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text" }, (((
|
|
77
|
+
}), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text" }, (((_r = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _r === void 0 ? void 0 : _r.routingCode) && {
|
|
89
78
|
class: "error-input",
|
|
90
79
|
helpText: getValidationErrorMessage({
|
|
91
|
-
type: (
|
|
80
|
+
type: (_t = (_s = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _s === void 0 ? void 0 : _s.routingCode) === null || _t === void 0 ? void 0 : _t.type,
|
|
92
81
|
label: intl.formatMessage({
|
|
93
82
|
id: "routingCodeErrorText",
|
|
94
83
|
defaultMessage: props.text.routingCodeLabel,
|
|
95
84
|
}, {
|
|
96
85
|
bankCountry,
|
|
97
86
|
}),
|
|
98
|
-
errorCode: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.routingCode) === null || _5 === void 0 ? void 0 : _5.errorCode,
|
|
99
|
-
fieldName: "routingCode",
|
|
100
87
|
}),
|
|
101
88
|
})))),
|
|
102
89
|
},
|
|
103
90
|
6: {
|
|
104
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((
|
|
91
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
|
|
105
92
|
class: "error-input",
|
|
106
93
|
helpText: getValidationErrorMessage({
|
|
107
|
-
type: (
|
|
94
|
+
type: (_w = (_v = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _v === void 0 ? void 0 : _v.bankName) === null || _w === void 0 ? void 0 : _w.type,
|
|
108
95
|
label: props.text.bankNameLabel,
|
|
109
|
-
errorCode: (_10 = (_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.bankName) === null || _10 === void 0 ? void 0 : _10.errorCode,
|
|
110
|
-
fieldName: "bankName",
|
|
111
96
|
}),
|
|
112
97
|
})))),
|
|
113
98
|
},
|
|
114
99
|
7: {
|
|
115
100
|
input: [
|
|
116
|
-
h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((
|
|
101
|
+
h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
|
|
117
102
|
class: "error-input",
|
|
118
103
|
helpText: getValidationErrorMessage({
|
|
119
|
-
type: (
|
|
104
|
+
type: (_z = (_y = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _y === void 0 ? void 0 : _y.beneficiaryClassification) === null || _z === void 0 ? void 0 : _z.type,
|
|
120
105
|
label: props.text.classificationLabel,
|
|
121
|
-
errorCode: (_15 = (_14 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _14 === void 0 ? void 0 : _14.beneficiaryClassification) === null || _15 === void 0 ? void 0 : _15.errorCode,
|
|
122
|
-
fieldName: "beneficiaryClassification",
|
|
123
106
|
}),
|
|
124
107
|
})),
|
|
125
108
|
h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
|
|
@@ -130,128 +113,124 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
|
130
113
|
defaultMessage: props.text.taxPayerIdLabel,
|
|
131
114
|
}, {
|
|
132
115
|
bankCountry,
|
|
133
|
-
}), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId" }, (((
|
|
116
|
+
}), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId" }, (((_0 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _0 === void 0 ? void 0 : _0.beneficiaryTaxPayerId) && {
|
|
134
117
|
class: "error-input",
|
|
135
118
|
helpText: getValidationErrorMessage({
|
|
136
|
-
type: (
|
|
119
|
+
type: (_2 = (_1 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _1 === void 0 ? void 0 : _1.beneficiaryTaxPayerId) === null || _2 === void 0 ? void 0 : _2.type,
|
|
137
120
|
label: props.text.taxPayerIdLabel,
|
|
138
|
-
errorCode: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.taxPayerId) === null || _20 === void 0 ? void 0 : _20.errorCode,
|
|
139
|
-
fieldName: "taxPayerId",
|
|
140
121
|
}),
|
|
141
122
|
}))),
|
|
142
123
|
],
|
|
143
124
|
},
|
|
144
125
|
8: {
|
|
145
|
-
input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((
|
|
126
|
+
input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
|
|
146
127
|
class: "error-input",
|
|
147
128
|
helpText: getValidationErrorMessage({
|
|
148
|
-
type: (
|
|
129
|
+
type: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.beneficiaryClassification) === null || _5 === void 0 ? void 0 : _5.type,
|
|
149
130
|
label: props.text.classificationCPFLabel,
|
|
150
|
-
errorCode: (_25 = (_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.beneficiaryClassification) === null || _25 === void 0 ? void 0 : _25.errorCode,
|
|
151
|
-
fieldName: "beneficiaryClassification",
|
|
152
131
|
}),
|
|
153
132
|
})),
|
|
154
133
|
h("sl-menu-item", { value: "CPF" }, "CPF"),
|
|
155
134
|
h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
|
|
156
135
|
},
|
|
157
136
|
9: {
|
|
158
|
-
input: (h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((
|
|
137
|
+
input: (h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
|
|
159
138
|
class: "error-input",
|
|
160
139
|
helpText: getValidationErrorMessage({
|
|
161
|
-
type: (
|
|
140
|
+
type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.patronymicName) === null || _8 === void 0 ? void 0 : _8.type,
|
|
162
141
|
label: props.text.patronymicNameLabel,
|
|
163
|
-
errorCode: (_30 = (_29 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _29 === void 0 ? void 0 : _29.patronymicName) === null || _30 === void 0 ? void 0 : _30.errorCode,
|
|
164
|
-
fieldName: "patronymicName",
|
|
165
142
|
}),
|
|
166
143
|
})))),
|
|
167
144
|
},
|
|
168
145
|
10: {
|
|
169
|
-
input: (h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((
|
|
146
|
+
input: (h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
|
|
170
147
|
class: "error-input",
|
|
171
148
|
helpText: getValidationErrorMessage({
|
|
172
|
-
type: (
|
|
149
|
+
type: (_11 = (_10 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _10 === void 0 ? void 0 : _10.voCode) === null || _11 === void 0 ? void 0 : _11.type,
|
|
173
150
|
label: props.text.voCodeLabel,
|
|
174
|
-
errorCode: (_35 = (_34 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _34 === void 0 ? void 0 : _34.voCode) === null || _35 === void 0 ? void 0 : _35.errorCode,
|
|
175
|
-
fieldName: "voCode",
|
|
176
151
|
}),
|
|
177
152
|
})))),
|
|
178
153
|
},
|
|
179
154
|
11: {
|
|
180
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((
|
|
155
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
|
|
181
156
|
class: "error-input",
|
|
182
157
|
helpText: getValidationErrorMessage({
|
|
183
|
-
type: (
|
|
158
|
+
type: (_14 = (_13 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _13 === void 0 ? void 0 : _13.agencyCode) === null || _14 === void 0 ? void 0 : _14.type,
|
|
184
159
|
label: props.text.agencyCodeLabel,
|
|
185
|
-
errorCode: (_40 = (_39 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _39 === void 0 ? void 0 : _39.agencyCode) === null || _40 === void 0 ? void 0 : _40.errorCode,
|
|
186
|
-
fieldName: "agencyCode",
|
|
187
160
|
}),
|
|
188
161
|
})))),
|
|
189
162
|
},
|
|
190
163
|
12: {
|
|
191
164
|
input: [
|
|
192
|
-
h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((
|
|
165
|
+
h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
|
|
193
166
|
class: "error-input",
|
|
194
167
|
helpText: getValidationErrorMessage({
|
|
195
|
-
type: (
|
|
168
|
+
type: (_17 = (_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.bankAddress) === null || _17 === void 0 ? void 0 : _17.type,
|
|
196
169
|
label: props.text.bankAddressLabel,
|
|
197
|
-
errorCode: (_45 = (_44 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _44 === void 0 ? void 0 : _44.bankAddress) === null || _45 === void 0 ? void 0 : _45.errorCode,
|
|
198
|
-
fieldName: "bankAddress",
|
|
199
170
|
}),
|
|
200
171
|
}))),
|
|
201
|
-
h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((
|
|
172
|
+
h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
|
|
202
173
|
class: "error-input",
|
|
203
174
|
helpText: getValidationErrorMessage({
|
|
204
|
-
type: (
|
|
175
|
+
type: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.bankCity) === null || _20 === void 0 ? void 0 : _20.type,
|
|
205
176
|
label: props.text.bankCityLabel,
|
|
206
|
-
errorCode: (_50 = (_49 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _49 === void 0 ? void 0 : _49.bankCity) === null || _50 === void 0 ? void 0 : _50.errorCode,
|
|
207
|
-
fieldName: "bankCity",
|
|
208
177
|
}),
|
|
209
178
|
}))),
|
|
210
|
-
h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((
|
|
179
|
+
h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
|
|
211
180
|
class: "error-input",
|
|
212
181
|
helpText: getValidationErrorMessage({
|
|
213
|
-
type: (
|
|
182
|
+
type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.bankState) === null || _23 === void 0 ? void 0 : _23.type,
|
|
214
183
|
label: props.text.bankStateLabel,
|
|
215
|
-
errorCode: (_55 = (_54 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _54 === void 0 ? void 0 : _54.bankState) === null || _55 === void 0 ? void 0 : _55.errorCode,
|
|
216
|
-
fieldName: "bankState",
|
|
217
184
|
}),
|
|
218
185
|
}))),
|
|
219
|
-
h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((
|
|
186
|
+
h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
|
|
220
187
|
class: "error-input",
|
|
221
188
|
helpText: getValidationErrorMessage({
|
|
222
|
-
type: (
|
|
189
|
+
type: (_26 = (_25 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _25 === void 0 ? void 0 : _25.bankPostalCode) === null || _26 === void 0 ? void 0 : _26.type,
|
|
223
190
|
label: props.text.bankPostalCodeLabel,
|
|
224
|
-
errorCode: (_60 = (_59 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _59 === void 0 ? void 0 : _59.bankPostalCode) === null || _60 === void 0 ? void 0 : _60.errorCode,
|
|
225
|
-
fieldName: "bankPostalCode",
|
|
226
191
|
}),
|
|
227
192
|
}))),
|
|
228
193
|
],
|
|
229
194
|
},
|
|
230
195
|
13: {
|
|
231
|
-
input: (h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((
|
|
196
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
|
|
232
197
|
class: "error-input",
|
|
233
198
|
helpText: getValidationErrorMessage({
|
|
234
|
-
type: (
|
|
199
|
+
type: (_29 = (_28 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _28 === void 0 ? void 0 : _28.branchCode) === null || _29 === void 0 ? void 0 : _29.type,
|
|
235
200
|
label: props.text.branchCodeLabel,
|
|
236
|
-
errorCode: (_65 = (_64 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _64 === void 0 ? void 0 : _64.branchCode) === null || _65 === void 0 ? void 0 : _65.errorCode,
|
|
237
|
-
fieldName: "branchCode",
|
|
238
201
|
}),
|
|
239
202
|
})))),
|
|
240
203
|
},
|
|
241
204
|
14: {
|
|
242
|
-
input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((
|
|
205
|
+
input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
|
|
243
206
|
class: "error-input",
|
|
244
207
|
helpText: getValidationErrorMessage({
|
|
245
|
-
type: (
|
|
208
|
+
type: (_32 = (_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.beneficiaryClassification) === null || _32 === void 0 ? void 0 : _32.type,
|
|
246
209
|
label: props.text.classificationLabel,
|
|
247
|
-
errorCode: (_70 = (_69 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _69 === void 0 ? void 0 : _69.beneficiaryClassification) === null || _70 === void 0 ? void 0 : _70.errorCode,
|
|
248
|
-
fieldName: "beneficiaryClassification",
|
|
249
210
|
}),
|
|
250
211
|
})),
|
|
251
212
|
h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
|
|
252
213
|
h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
|
|
253
214
|
h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
|
|
254
215
|
},
|
|
216
|
+
15: {
|
|
217
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.branchNameLabel, name: "/branchName", id: "branchName", key: "branchName", type: "text" }, (((_33 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _33 === void 0 ? void 0 : _33.branchName) && {
|
|
218
|
+
class: "error-input",
|
|
219
|
+
helpText: getValidationErrorMessage({
|
|
220
|
+
type: (_35 = (_34 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _34 === void 0 ? void 0 : _34.branchName) === null || _35 === void 0 ? void 0 : _35.type,
|
|
221
|
+
label: props.text.branchNameLabel,
|
|
222
|
+
}),
|
|
223
|
+
})))),
|
|
224
|
+
},
|
|
225
|
+
16: {
|
|
226
|
+
input: (h("sl-input", Object.assign({ required: true, label: props.text.classificationCodeLabel, name: "/classificationCode", id: "classificationCode", key: "classificationCode", type: "text" }, (((_36 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _36 === void 0 ? void 0 : _36.classificationCode) && {
|
|
227
|
+
class: "error-input",
|
|
228
|
+
helpText: getValidationErrorMessage({
|
|
229
|
+
type: (_38 = (_37 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _37 === void 0 ? void 0 : _37.classificationCode) === null || _38 === void 0 ? void 0 : _38.type,
|
|
230
|
+
label: props.text.classificationCodeLabel,
|
|
231
|
+
}),
|
|
232
|
+
})))),
|
|
233
|
+
},
|
|
255
234
|
};
|
|
256
235
|
}
|
|
257
236
|
|
|
@@ -838,95 +817,6 @@ const paypalFeeMap = {
|
|
|
838
817
|
const ACH_PAYMENT_METHOD = 3;
|
|
839
818
|
const WIRE_PAYMENT_METHOD = 5;
|
|
840
819
|
const PAYPAL_PAYMENT_METHOD = 7;
|
|
841
|
-
/**
|
|
842
|
-
* Maps GraphQL validation error field names to form field names.
|
|
843
|
-
*/
|
|
844
|
-
const API_FIELD_TO_FORM_FIELD = {
|
|
845
|
-
// bankProvinceState → form uses bankState
|
|
846
|
-
bankProvinceState: "bankState",
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* Maps Impact API error code paths (from validationErrors[].errorPath) to short,
|
|
850
|
-
* readable frontend error codes used in the ICU select props.
|
|
851
|
-
*/
|
|
852
|
-
const API_ERROR_PATH_TO_FRONTEND = {
|
|
853
|
-
// Beneficiary account name
|
|
854
|
-
"withdrawal.settings.error.empty_beneficiaryname": "empty",
|
|
855
|
-
"withdrawal.settings.error.invalid_character_beneficiaryname": "invalidCharacters",
|
|
856
|
-
"withdrawal.settings.error.numeric_beneficiaryname": "numeric",
|
|
857
|
-
"withdrawal_settings.error.beneficiaryname.size": "tooLong",
|
|
858
|
-
"withdrawal.settings.error.non_english_beneficiaryname": "nonEnglish",
|
|
859
|
-
"withdrawal_settings.error.business_beneficiaryname_match": "businessNameMismatch",
|
|
860
|
-
"withdrawal_settings.error.beneficiaryname_match": "nameMismatch",
|
|
861
|
-
"withdrawal_settings.error.business_checkpayeename_match": "businessPayeeMismatch",
|
|
862
|
-
"withdrawal_settings.error.checkpayeename_match": "payeeMismatch",
|
|
863
|
-
// Bank account number
|
|
864
|
-
"withdrawal.settings.error.accountnumber.empty": "empty",
|
|
865
|
-
"withdrawal.settings.error.accountnumber.uk": "invalidUk",
|
|
866
|
-
"withdrawal.settings.error.bankaccount.invalid": "invalid",
|
|
867
|
-
// IBAN
|
|
868
|
-
"withdrawal.settings.error.iban": "ibanEmpty",
|
|
869
|
-
"withdrawal.settings.error.iban.alphanumeric": "ibanAlphanumeric",
|
|
870
|
-
"withdrawal.settings.error.iban.invalid": "ibanInvalid",
|
|
871
|
-
"withdrawal.settings.error.iban.uk.country.mismatch": "ibanCountryMismatch",
|
|
872
|
-
// Routing code
|
|
873
|
-
"withdrawal.settings.error.bsbNumber": "invalidBsb",
|
|
874
|
-
"withdrawal.settings.error.sortcode": "invalidSortCode",
|
|
875
|
-
"withdrawal.settings.error.routingNumber": "empty",
|
|
876
|
-
"withdrawal.settings.error.routingcode": "invalid",
|
|
877
|
-
// SWIFT / BIC
|
|
878
|
-
"withdrawal.settings.error.bic": "empty",
|
|
879
|
-
"withdrawal.settings.error.bic.alphanumeric": "alphanumeric",
|
|
880
|
-
"withdrawal.settings.error.bic.invalid": "invalid",
|
|
881
|
-
// Bank account type
|
|
882
|
-
"global.error.invalid.accounttype": "empty",
|
|
883
|
-
// Bank name
|
|
884
|
-
"withdrawal.settings.error.bankName": "empty",
|
|
885
|
-
// Tax payer ID
|
|
886
|
-
"withdrawal.settings.error.taxPayerId": "empty",
|
|
887
|
-
"withdrawal.settings.error.taxPayerId.ar": "emptyAr",
|
|
888
|
-
"withdrawal.settings.error.taxPayerId.kr": "emptyKr",
|
|
889
|
-
"withdrawal.settings.error.taxPayerId.alphanumeric": "alphanumeric",
|
|
890
|
-
"withdrawal.settings.error.taxPayerId.alphanumeric.ar": "alphanumericAr",
|
|
891
|
-
"withdrawal.settings.error.taxPayerId.alphanumeric.kr": "alphanumericKr",
|
|
892
|
-
"withdrawal.settings.error.taxPayerId.invalid": "invalid",
|
|
893
|
-
"withdrawal.settings.error.taxPayerId.invalid.ar": "invalidAr",
|
|
894
|
-
"withdrawal.settings.error.taxPayerId.invalid.kr": "invalidKr",
|
|
895
|
-
"withdrawal.settings.error.taxPayerId.invalid.kzt": "invalidKzt",
|
|
896
|
-
"withdrawal.settings.error.taxPayerId.cnpj": "cnpjTooShort",
|
|
897
|
-
"withdrawal.settings.error.taxPayerId.cpf": "cpfTooShort",
|
|
898
|
-
// Patronymic name
|
|
899
|
-
"withdrawal.settings.error.patronymicName": "empty",
|
|
900
|
-
"withdrawal.settings.error.patronymicName.alphanumeric": "alphanumeric",
|
|
901
|
-
// VO code
|
|
902
|
-
"withdrawal.settings.error.voCode": "empty",
|
|
903
|
-
"withdrawal.settings.error.voCode.alphanumeric": "alphanumeric",
|
|
904
|
-
// Agency code
|
|
905
|
-
"withdrawal.settings.error.agencyCode": "empty",
|
|
906
|
-
"withdrawal.settings.error.agencyCode.alphanumeric": "alphanumeric",
|
|
907
|
-
"withdrawal.settings.error.agencyCode.length": "tooShort",
|
|
908
|
-
// Bank address fields
|
|
909
|
-
"withdrawal.settings.error.bankAddress": "empty",
|
|
910
|
-
"withdrawal.settings.error.bankCity": "empty",
|
|
911
|
-
"withdrawal.settings.error.bankProvinceState": "empty",
|
|
912
|
-
"withdrawal.settings.error.bankPostalCode": "empty",
|
|
913
|
-
// Branch code / name
|
|
914
|
-
"withdrawal.settings.error.branchCode": "invalid",
|
|
915
|
-
"withdrawal.settings.error.branchName": "empty",
|
|
916
|
-
// Classification code
|
|
917
|
-
"withdrawal.settings.error.classificationCode.invalid": "empty",
|
|
918
|
-
"withdrawal.settings.error.classificationCode.invalid.kzt": "invalidKzt",
|
|
919
|
-
// PayPal
|
|
920
|
-
"payment.error.email": "empty",
|
|
921
|
-
"payment.error.paypal_not_supported": "unsupportedCurrency",
|
|
922
|
-
"payment.error.email.invalid": "invalidEmail",
|
|
923
|
-
"payment.error.paypal_verification_incomplete": "verificationIncomplete",
|
|
924
|
-
// Payment schedule
|
|
925
|
-
"payment.error.no_threshold": "empty",
|
|
926
|
-
"payment.error.invalid_threshold": "invalid",
|
|
927
|
-
"payment.error.no_dayOfMonth": "empty",
|
|
928
|
-
"payment.error.invalid_dayOfMonth": "invalid",
|
|
929
|
-
};
|
|
930
820
|
function getFormInputs({ bitset, formMap }) {
|
|
931
821
|
// Convert bitset to binary representation
|
|
932
822
|
const binary = bitset.toString(2).padStart(Object.keys(formMap).length, "0");
|
|
@@ -950,7 +840,6 @@ const SAVE_WITHDRAWAL_SETTINGS = dist.gql `
|
|
|
950
840
|
validationErrors {
|
|
951
841
|
field
|
|
952
842
|
message
|
|
953
|
-
code
|
|
954
843
|
}
|
|
955
844
|
}
|
|
956
845
|
}
|
|
@@ -966,7 +855,6 @@ const UPDATE_WITHDRAWAL_SETTINGS = dist.gql `
|
|
|
966
855
|
validationErrors {
|
|
967
856
|
field
|
|
968
857
|
message
|
|
969
|
-
code
|
|
970
858
|
}
|
|
971
859
|
}
|
|
972
860
|
}
|
|
@@ -1139,13 +1027,10 @@ function useBankingInfoForm(props) {
|
|
|
1139
1027
|
else if (!success) {
|
|
1140
1028
|
console.error("Validation failed: ", validationErrors);
|
|
1141
1029
|
const mappedValidationErrors = validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.reduce((agg, error) => {
|
|
1142
|
-
const formField = API_FIELD_TO_FORM_FIELD[error.field] || error.field;
|
|
1143
|
-
const errorCode = API_ERROR_PATH_TO_FRONTEND[error.errorPath] || error.errorPath;
|
|
1144
1030
|
return {
|
|
1145
1031
|
...agg,
|
|
1146
|
-
[
|
|
1032
|
+
[error.field]: {
|
|
1147
1033
|
type: "invalid",
|
|
1148
|
-
errorCode,
|
|
1149
1034
|
},
|
|
1150
1035
|
};
|
|
1151
1036
|
}, {});
|
|
@@ -1441,11 +1326,19 @@ const BankingInfoForm = class {
|
|
|
1441
1326
|
* @uiName Branch code field label
|
|
1442
1327
|
*/
|
|
1443
1328
|
this.branchCodeLabel = "Branch code";
|
|
1329
|
+
/**
|
|
1330
|
+
* @uiName Branch name field label
|
|
1331
|
+
*/
|
|
1332
|
+
this.branchNameLabel = "Branch name";
|
|
1444
1333
|
/**
|
|
1445
1334
|
* Label text for the classification input field
|
|
1446
1335
|
* @uiName Classification field label
|
|
1447
1336
|
*/
|
|
1448
1337
|
this.classificationLabel = "Classification";
|
|
1338
|
+
/**
|
|
1339
|
+
* @uiName Classification code field label
|
|
1340
|
+
*/
|
|
1341
|
+
this.classificationCodeLabel = "KBE Code";
|
|
1449
1342
|
/**
|
|
1450
1343
|
* @uiName Taxpayer ID field label
|
|
1451
1344
|
*/
|
|
@@ -1560,156 +1453,6 @@ const BankingInfoForm = class {
|
|
|
1560
1453
|
* @uiName Information modal button text
|
|
1561
1454
|
*/
|
|
1562
1455
|
this.modalButtonText = "I understand, update my information";
|
|
1563
|
-
// ──────────────────────────────────────────────────────────────────
|
|
1564
|
-
// Per-field validation error messages
|
|
1565
|
-
// Each prop uses ICU select on {errorCode} to pick the right message.
|
|
1566
|
-
// Error codes are short frontend keys mapped from the API error codes.
|
|
1567
|
-
// The `other` branch displays the raw API message directly via {errorCode},
|
|
1568
|
-
// which is already human-readable English (e.g. "Invalid Routing Code").
|
|
1569
|
-
// ──────────────────────────────────────────────────────────────────
|
|
1570
|
-
/**
|
|
1571
|
-
* Error messages for the beneficiary / account holder name field.
|
|
1572
|
-
* Supports error codes: empty, invalidCharacters, numeric, tooLong,
|
|
1573
|
-
* nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
|
|
1574
|
-
* @uiName Beneficiary account name error
|
|
1575
|
-
* @uiWidget textArea
|
|
1576
|
-
*/
|
|
1577
|
-
this.beneficiaryAccountNameError = "{errorCode, select, empty {Account holder name is required} invalidCharacters {Account holder name contains invalid characters} numeric {Account holder name cannot be purely numeric} tooLong {Account holder name must be 70 characters or fewer} nonEnglish {Account holder name must contain only English characters for this currency} businessNameMismatch {Beneficiary name must match the name on your tax document} nameMismatch {Beneficiary name must match the name on your tax document} businessPayeeMismatch {Payee name must match the name on your tax document} payeeMismatch {Payee name must match the name on your tax document} other {{errorCode}}}";
|
|
1578
|
-
/**
|
|
1579
|
-
* Error messages for the bank account number / IBAN field.
|
|
1580
|
-
* Supports error codes: empty, invalidUk, invalid, ibanEmpty,
|
|
1581
|
-
* ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
|
|
1582
|
-
* @uiName Bank account number / IBAN error
|
|
1583
|
-
* @uiWidget textArea
|
|
1584
|
-
*/
|
|
1585
|
-
this.bankAccountNumberError = "{errorCode, select, empty {Account number is required} invalidUk {Please enter a valid UK account number} invalid {Account number is invalid} ibanEmpty {IBAN is required} ibanAlphanumeric {IBAN must contain only letters and numbers} ibanInvalid {IBAN is invalid} ibanCountryMismatch {UK accounts must use an IBAN starting with GB} other {{errorCode}}}";
|
|
1586
|
-
/**
|
|
1587
|
-
* Error messages for the routing code / sort code / BSB field.
|
|
1588
|
-
* Supports error codes: invalidBsb, invalidSortCode, empty, invalid
|
|
1589
|
-
* @uiName Routing code error
|
|
1590
|
-
* @uiWidget textArea
|
|
1591
|
-
*/
|
|
1592
|
-
this.routingCodeError = "{errorCode, select, invalidBsb {Please enter a valid BSB number} invalidSortCode {Please enter a valid sort code} empty {Routing number is required} invalid {Routing number is invalid} other {{errorCode}}}";
|
|
1593
|
-
/**
|
|
1594
|
-
* Error messages for the SWIFT / BIC code field.
|
|
1595
|
-
* Supports error codes: empty, alphanumeric, invalid
|
|
1596
|
-
* @uiName SWIFT code error
|
|
1597
|
-
* @uiWidget textArea
|
|
1598
|
-
*/
|
|
1599
|
-
this.swiftCodeError = "{errorCode, select, empty {SWIFT/BIC code is required} alphanumeric {SWIFT/BIC code must contain only letters and numbers} invalid {SWIFT/BIC code is invalid} other {{errorCode}}}";
|
|
1600
|
-
/**
|
|
1601
|
-
* Error messages for the bank account type field.
|
|
1602
|
-
* Supports error codes: empty
|
|
1603
|
-
* @uiName Bank account type error
|
|
1604
|
-
* @uiWidget textArea
|
|
1605
|
-
*/
|
|
1606
|
-
this.bankAccountTypeError = "{errorCode, select, empty {Bank account type is required} other {{errorCode}}}";
|
|
1607
|
-
/**
|
|
1608
|
-
* Error messages for the bank name field.
|
|
1609
|
-
* Supports error codes: empty
|
|
1610
|
-
* @uiName Bank name error
|
|
1611
|
-
* @uiWidget textArea
|
|
1612
|
-
*/
|
|
1613
|
-
this.bankNameError = "{errorCode, select, empty {Bank name is required} other {{errorCode}}}";
|
|
1614
|
-
/**
|
|
1615
|
-
* Error messages for the tax payer ID / classification entity field.
|
|
1616
|
-
* Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
|
|
1617
|
-
* alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
|
|
1618
|
-
* @uiName Tax payer ID error
|
|
1619
|
-
* @uiWidget textArea
|
|
1620
|
-
*/
|
|
1621
|
-
this.taxPayerIdError = "{errorCode, select, empty {Tax payer ID is required} emptyAr {CUIT/CUIL is required} emptyKr {Classification ID is required} alphanumeric {Tax payer ID must contain only letters and numbers} alphanumericAr {CUIT/CUIL must contain only letters and numbers} alphanumericKr {Classification ID must contain only letters and numbers} invalid {Tax payer ID is invalid} invalidAr {CUIT/CUIL must be 11 characters} invalidKr {Classification ID length is invalid} invalidKzt {Tax payer ID must be 12 characters for KZT} cnpjTooShort {CNPJ must be at least 14 characters} cpfTooShort {CPF must be at least 11 characters} other {{errorCode}}}";
|
|
1622
|
-
/**
|
|
1623
|
-
* Error messages for the patronymic name field.
|
|
1624
|
-
* Supports error codes: empty, alphanumeric
|
|
1625
|
-
* @uiName Patronymic name error
|
|
1626
|
-
* @uiWidget textArea
|
|
1627
|
-
*/
|
|
1628
|
-
this.patronymicNameError = "{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}";
|
|
1629
|
-
/**
|
|
1630
|
-
* Error messages for the VO code field.
|
|
1631
|
-
* Supports error codes: empty, alphanumeric
|
|
1632
|
-
* @uiName VO code error
|
|
1633
|
-
* @uiWidget textArea
|
|
1634
|
-
*/
|
|
1635
|
-
this.voCodeError = "{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}";
|
|
1636
|
-
/**
|
|
1637
|
-
* Error messages for the agency code field.
|
|
1638
|
-
* Supports error codes: empty, alphanumeric, tooShort
|
|
1639
|
-
* @uiName Agency code error
|
|
1640
|
-
* @uiWidget textArea
|
|
1641
|
-
*/
|
|
1642
|
-
this.agencyCodeError = "{errorCode, select, empty {Agency code is required} alphanumeric {Agency code must contain only letters and numbers} tooShort {Agency code must be at least 5 characters} other {{errorCode}}}";
|
|
1643
|
-
/**
|
|
1644
|
-
* Error messages for the bank address field.
|
|
1645
|
-
* Supports error codes: empty
|
|
1646
|
-
* @uiName Bank address error
|
|
1647
|
-
* @uiWidget textArea
|
|
1648
|
-
*/
|
|
1649
|
-
this.bankAddressError = "{errorCode, select, empty {Bank address is required} other {{errorCode}}}";
|
|
1650
|
-
/**
|
|
1651
|
-
* Error messages for the bank city field.
|
|
1652
|
-
* Supports error codes: empty
|
|
1653
|
-
* @uiName Bank city error
|
|
1654
|
-
* @uiWidget textArea
|
|
1655
|
-
*/
|
|
1656
|
-
this.bankCityError = "{errorCode, select, empty {Bank city is required} other {{errorCode}}}";
|
|
1657
|
-
/**
|
|
1658
|
-
* Error messages for the bank province/state field.
|
|
1659
|
-
* Supports error codes: empty
|
|
1660
|
-
* @uiName Bank province/state error
|
|
1661
|
-
* @uiWidget textArea
|
|
1662
|
-
*/
|
|
1663
|
-
this.bankStateError = "{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}";
|
|
1664
|
-
/**
|
|
1665
|
-
* Error messages for the bank postal code field.
|
|
1666
|
-
* Supports error codes: empty
|
|
1667
|
-
* @uiName Bank postal code error
|
|
1668
|
-
* @uiWidget textArea
|
|
1669
|
-
*/
|
|
1670
|
-
this.bankPostalCodeError = "{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}";
|
|
1671
|
-
/**
|
|
1672
|
-
* Error messages for the branch code field.
|
|
1673
|
-
* Supports error codes: invalid
|
|
1674
|
-
* @uiName Branch code error
|
|
1675
|
-
* @uiWidget textArea
|
|
1676
|
-
*/
|
|
1677
|
-
this.branchCodeError = "{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}";
|
|
1678
|
-
/**
|
|
1679
|
-
* Error messages for the branch name field.
|
|
1680
|
-
* Supports error codes: empty
|
|
1681
|
-
* @uiName Branch name error
|
|
1682
|
-
* @uiWidget textArea
|
|
1683
|
-
*/
|
|
1684
|
-
this.branchNameError = "{errorCode, select, empty {Branch name is required} other {{errorCode}}}";
|
|
1685
|
-
/**
|
|
1686
|
-
* Error messages for the classification code field.
|
|
1687
|
-
* Supports error codes: empty, invalidKzt
|
|
1688
|
-
* @uiName Classification code error
|
|
1689
|
-
* @uiWidget textArea
|
|
1690
|
-
*/
|
|
1691
|
-
this.classificationCodeError = "{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}";
|
|
1692
|
-
/**
|
|
1693
|
-
* Error messages for the PayPal email field.
|
|
1694
|
-
* Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
|
|
1695
|
-
* @uiName PayPal email error
|
|
1696
|
-
* @uiWidget textArea
|
|
1697
|
-
*/
|
|
1698
|
-
this.paypalEmailError = "{errorCode, select, empty {PayPal email is required} unsupportedCurrency {PayPal is not supported for this currency} invalidEmail {Please enter a valid email address} verificationIncomplete {PayPal verification is not complete} other {{errorCode}}}";
|
|
1699
|
-
/**
|
|
1700
|
-
* Error messages for the payment threshold field.
|
|
1701
|
-
* Supports error codes: empty, invalid
|
|
1702
|
-
* @uiName Payment threshold error
|
|
1703
|
-
* @uiWidget textArea
|
|
1704
|
-
*/
|
|
1705
|
-
this.paymentThresholdError = "{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}";
|
|
1706
|
-
/**
|
|
1707
|
-
* Error messages for the payment day field.
|
|
1708
|
-
* Supports error codes: empty, invalid
|
|
1709
|
-
* @uiName Payment day error
|
|
1710
|
-
* @uiWidget textArea
|
|
1711
|
-
*/
|
|
1712
|
-
this.paymentDayError = "{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}";
|
|
1713
1456
|
h$1(this);
|
|
1714
1457
|
}
|
|
1715
1458
|
disconnectedCallback() { }
|
|
@@ -1723,54 +1466,17 @@ const BankingInfoForm = class {
|
|
|
1723
1466
|
loadingErrorAlertDescription: props.loadingErrorAlertDescription,
|
|
1724
1467
|
loadingErrorAlertHeader: props.loadingErrorAlertHeader,
|
|
1725
1468
|
},
|
|
1726
|
-
errorMessages: {
|
|
1727
|
-
beneficiaryAccountName: props.beneficiaryAccountNameError,
|
|
1728
|
-
bankAccountNumber: props.bankAccountNumberError,
|
|
1729
|
-
routingCode: props.routingCodeError,
|
|
1730
|
-
swiftCode: props.swiftCodeError,
|
|
1731
|
-
bankAccountType: props.bankAccountTypeError,
|
|
1732
|
-
bankName: props.bankNameError,
|
|
1733
|
-
taxPayerId: props.taxPayerIdError,
|
|
1734
|
-
patronymicName: props.patronymicNameError,
|
|
1735
|
-
voCode: props.voCodeError,
|
|
1736
|
-
agencyCode: props.agencyCodeError,
|
|
1737
|
-
bankAddress: props.bankAddressError,
|
|
1738
|
-
bankCity: props.bankCityError,
|
|
1739
|
-
bankState: props.bankStateError,
|
|
1740
|
-
bankPostalCode: props.bankPostalCodeError,
|
|
1741
|
-
branchCode: props.branchCodeError,
|
|
1742
|
-
branchName: props.branchNameError,
|
|
1743
|
-
beneficiaryClassification: props.classificationCodeError,
|
|
1744
|
-
paypalEmailAddress: props.paypalEmailError,
|
|
1745
|
-
paymentThreshold: props.paymentThresholdError,
|
|
1746
|
-
paymentDay: props.paymentDayError,
|
|
1747
|
-
},
|
|
1748
1469
|
};
|
|
1749
1470
|
}
|
|
1750
1471
|
render() {
|
|
1751
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0
|
|
1472
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
1752
1473
|
const props = isDemo()
|
|
1753
1474
|
? useDemoBankingInfoForm(this)
|
|
1754
1475
|
: useBankingInfoForm(this);
|
|
1755
1476
|
const { errors } = props.states.formState;
|
|
1756
1477
|
const fieldRequiredError = this.fieldRequiredError;
|
|
1757
1478
|
const fieldInvalidError = this.fieldInvalidError;
|
|
1758
|
-
function getValidationErrorMessage({ type, label,
|
|
1759
|
-
var _a;
|
|
1760
|
-
// If we have a specific error code from the API, try to use
|
|
1761
|
-
// the per-field ICU error message template for a rich message
|
|
1762
|
-
if (type === "invalid" && errorCode && fieldName) {
|
|
1763
|
-
const errorTemplate = (_a = props.text.errorMessages) === null || _a === void 0 ? void 0 : _a[fieldName];
|
|
1764
|
-
if (errorTemplate) {
|
|
1765
|
-
return intl.formatMessage({
|
|
1766
|
-
id: `fieldError-${fieldName}-${errorCode}`,
|
|
1767
|
-
defaultMessage: errorTemplate,
|
|
1768
|
-
}, {
|
|
1769
|
-
errorCode,
|
|
1770
|
-
fieldName: label,
|
|
1771
|
-
});
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1479
|
+
function getValidationErrorMessage({ type, label, }) {
|
|
1774
1480
|
if (type === "required") {
|
|
1775
1481
|
return intl.formatMessage({
|
|
1776
1482
|
id: `requiredText-${label}`,
|
|
@@ -1853,45 +1559,37 @@ const BankingInfoForm = class {
|
|
|
1853
1559
|
helpText: getValidationErrorMessage({
|
|
1854
1560
|
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,
|
|
1855
1561
|
label: props.text.bankLocationLabel,
|
|
1856
|
-
errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankCountry) === null || _e === void 0 ? void 0 : _e.errorCode,
|
|
1857
|
-
fieldName: "bankCountry",
|
|
1858
1562
|
}),
|
|
1859
1563
|
})), h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
|
|
1860
1564
|
// Stop shoelace intercepting key presses
|
|
1861
1565
|
e.stopPropagation();
|
|
1862
1566
|
}, "onSl-input": (e) => {
|
|
1863
1567
|
props.callbacks.setCountrySearch(e.target.value);
|
|
1864
|
-
} }), (
|
|
1865
|
-
|
|
1568
|
+
} }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
|
|
1569
|
+
_d.map((country) => {
|
|
1866
1570
|
return (h("sl-menu-item", { value: country.countryCode }, country.displayName));
|
|
1867
|
-
}), (
|
|
1868
|
-
|
|
1571
|
+
}), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
|
|
1572
|
+
_f.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
|
|
1869
1573
|
paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
|
|
1870
|
-
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((
|
|
1574
|
+
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) && {
|
|
1871
1575
|
class: "error-input",
|
|
1872
1576
|
helpText: getValidationErrorMessage({
|
|
1873
|
-
type: (
|
|
1577
|
+
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,
|
|
1874
1578
|
label: props.text.paymentThresholdSelectLabel,
|
|
1875
|
-
errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentThreshold) === null || _q === void 0 ? void 0 : _q.errorCode,
|
|
1876
|
-
fieldName: "paymentThreshold",
|
|
1877
1579
|
}),
|
|
1878
1580
|
})), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
|
|
1879
|
-
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((
|
|
1581
|
+
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) && {
|
|
1880
1582
|
class: "error-input",
|
|
1881
1583
|
helpText: getValidationErrorMessage({
|
|
1882
|
-
type: (
|
|
1584
|
+
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,
|
|
1883
1585
|
label: props.text.paymentDaySelectLabel,
|
|
1884
|
-
errorCode: (_x = (_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.paymentDay) === null || _x === void 0 ? void 0 : _x.errorCode,
|
|
1885
|
-
fieldName: "paymentDay",
|
|
1886
1586
|
}),
|
|
1887
1587
|
})), h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
|
|
1888
|
-
paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((
|
|
1588
|
+
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) && {
|
|
1889
1589
|
class: "error-input",
|
|
1890
1590
|
helpText: getValidationErrorMessage({
|
|
1891
|
-
type: (
|
|
1591
|
+
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,
|
|
1892
1592
|
label: props.text.payPalInputLabel,
|
|
1893
|
-
errorCode: (_10 = (_9 = (_8 = (_7 = props.states.formState) === null || _7 === void 0 ? void 0 : _7.errors) === null || _8 === void 0 ? void 0 : _8.inputErrors) === null || _9 === void 0 ? void 0 : _9.paypalEmailAddress) === null || _10 === void 0 ? void 0 : _10.errorCode,
|
|
1894
|
-
fieldName: "paypalEmailAddress",
|
|
1895
1593
|
}),
|
|
1896
1594
|
})))),
|
|
1897
1595
|
} })));
|
|
@@ -3140,7 +2838,7 @@ const IndirectTaxForm = class {
|
|
|
3140
2838
|
/**
|
|
3141
2839
|
* @uiName Indirect tax number field label
|
|
3142
2840
|
*/
|
|
3143
|
-
this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
2841
|
+
this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}";
|
|
3144
2842
|
/**
|
|
3145
2843
|
* Displayed to participants registered for QST.
|
|
3146
2844
|
* @uiName QST number field label
|
|
@@ -3179,7 +2877,7 @@ const IndirectTaxForm = class {
|
|
|
3179
2877
|
/**
|
|
3180
2878
|
* @uiName Missing indirect tax number error message
|
|
3181
2879
|
*/
|
|
3182
|
-
this.indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
|
|
2880
|
+
this.indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}} is required";
|
|
3183
2881
|
/**
|
|
3184
2882
|
* Placeholder text displayed in the country search dropdown
|
|
3185
2883
|
* @uiName Country field placeholder text
|
|
@@ -3990,7 +3688,7 @@ const PayoutDetailsCard = class {
|
|
|
3990
3688
|
* Badge text indicating payout status
|
|
3991
3689
|
* @uiName Payout badge status text
|
|
3992
3690
|
*/
|
|
3993
|
-
this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
3691
|
+
this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}";
|
|
3994
3692
|
/**
|
|
3995
3693
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
3996
3694
|
* @uiName Payout schedule by threshold text
|
|
@@ -5044,7 +4742,7 @@ const TaxAndCashDashboard = class {
|
|
|
5044
4742
|
/**
|
|
5045
4743
|
* @uiName Payout status badge
|
|
5046
4744
|
*/
|
|
5047
|
-
this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
4745
|
+
this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
5048
4746
|
/**
|
|
5049
4747
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
5050
4748
|
* @uiName Payout schedule by threshold text
|
|
@@ -5395,13 +5093,8 @@ function useUserInfoForm(props) {
|
|
|
5395
5093
|
lastName: user.impactConnection.user.lastName,
|
|
5396
5094
|
countryCode: user.impactConnection.publisher.countryCode,
|
|
5397
5095
|
currency: user.impactConnection.publisher.currency,
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
? null
|
|
5401
|
-
: user.impactConnection.publisher.phoneNumberCountryCode,
|
|
5402
|
-
phoneNumber: user.impactConnection.publisher.phoneNumber === "0000000"
|
|
5403
|
-
? null
|
|
5404
|
-
: user.impactConnection.publisher.phoneNumber,
|
|
5096
|
+
phoneNumberCountryCode: user.impactConnection.publisher.phoneNumberCountryCode,
|
|
5097
|
+
phoneNumber: user.impactConnection.publisher.phoneNumber,
|
|
5405
5098
|
address: user.impactConnection.publisher.billingAddress,
|
|
5406
5099
|
city: user.impactConnection.publisher.billingCity,
|
|
5407
5100
|
state: user.impactConnection.publisher.billingState,
|