@saasquatch/mint-components 1.8.0-99 → 1.8.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-b2b3d9fb.js → GenericTableView-80d7642e.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-119ea8d4.js → ShadowViewAddon-7b5c40eb.js} +66 -34
- package/dist/cjs/{email-registration-view-5924a3c7.js → email-registration-view-a6b6430e.js} +1 -1
- package/dist/cjs/{global-f28745b3.js → global-b277b460.js} +3 -3
- package/dist/cjs/{index-78c52836.js → index-b0129cd6.js} +0 -18
- package/dist/cjs/{index.module-9243c470.js → index.module-76379dd7.js} +582 -16
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-33ebaf57.js → luxon-a4661470.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-08b362bc.js → mockRewardData-8e760564.js} +8 -7
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-731799e5.js → re-render-dbeba624.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-b6f5e3f6.js → sqm-asset-card-view-a0e33f21.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 +1354 -1779
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +66 -66
- package/dist/cjs/{sqm-close-button-view-a41308c2.js → sqm-close-button-view-fd6e8f60.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- 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 +6 -6
- package/dist/cjs/{sqm-invoice-table-view-26aeebca.js → sqm-invoice-table-view-035d5aed.js} +74 -11
- package/dist/cjs/{sqm-leaderboard-rank-view-5c12ea2a.js → sqm-leaderboard-rank-view-5a3d4a88.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-8ccfc185.js → sqm-logout-current-user-view-c9f18d96.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4ebb86ac.js → sqm-navigation-sidebar-item-view-a3d8eedf.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-1bac8b89.js → sqm-navigation-sidebar-view-dd53f947.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-container-view-e565003b.js → sqm-portal-container-view-5fb2ad49.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-423633a1.js → sqm-portal-email-verification-view-05fad72d.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -11
- package/dist/cjs/{sqm-portal-forgot-password-view-8d0923e1.js → sqm-portal-forgot-password-view-ca5f6db9.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-a6fc5fdd.js → sqm-portal-profile-view-e28f61d6.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-portal-reset-password-view-d639e312.js → sqm-portal-reset-password-view-07a13210.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-portal-verify-email-view-1e6255e9.js → sqm-portal-verify-email-view-ce552bbc.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +10 -10
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -16
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- 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 +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +21 -21
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +107 -122
- 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-2e945b0c.js → sqm-text-span-view-e1cd9bd3.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/{stencil-hooks.module-7c2013c9.js → stencil-hooks.module-faabb426.js} +1 -1
- package/dist/cjs/{useChildElements-3caf3e22.js → useChildElements-ad37ecbf.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-fb690bc3.js → useInstantAccessRegistration-01509697.js} +4 -4
- package/dist/cjs/{useReferralTable-6a7ad97b.js → useReferralTable-6cbd3b88.js} +11 -13
- package/dist/cjs/{useRegistrationFormState-98b2818e.js → useRegistrationFormState-1d403dd8.js} +3 -3
- package/dist/cjs/{utilities-0541106d.js → utilities-6d5addc7.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +11 -11
- package/dist/collection/components/sqm-invoice-table/InvoiceTableCell.stories.js +2 -2
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -2
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +0 -1
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +4 -4
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +0 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -3
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -1
- package/dist/collection/components/sqm-invoice-table/mockInvoiceData.js +4 -4
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +61 -16
- package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +5 -4
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -1
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +1 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +1 -0
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -0
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -1
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +31 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +10 -3
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +4 -4
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +1 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -3
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -5
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +6 -6
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +0 -1
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +14 -3
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +47 -7
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +200 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -8
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +259 -235
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +38 -237
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +8 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +127 -251
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +15 -19
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +7 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +187 -154
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +33 -18
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +32 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +42 -16
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +4 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +3 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +961 -880
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +40 -88
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +46 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +476 -171
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +19 -27
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +1 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +7 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +154 -113
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -12
- package/dist/collection/components/tax-and-cash/utils.js +18 -1
- package/dist/collection/stories/PortalTemplates.stories.js +5 -0
- package/dist/esm/{GenericTableView-a2b0ba19.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm/{ShadowViewAddon-8ab7e840.js → ShadowViewAddon-d9424229.js} +66 -34
- package/dist/esm/{email-registration-view-f48adc22.js → email-registration-view-4a4202e7.js} +1 -1
- package/dist/esm/{global-2d34c7d9.js → global-35b8d91c.js} +3 -3
- package/dist/esm/{index-f16aa635.js → index-17b4da69.js} +1 -18
- package/dist/esm/{index.module-a46df001.js → index.module-6242dccd.js} +563 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-01b10a1d.js → luxon-4706d11b.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-e9fdc4fa.js → mockRewardData-6f03c9fb.js} +8 -7
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-22af3424.js → re-render-9542be16.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-24845a25.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-banking-info-form_16.entry.js +1354 -1779
- package/dist/esm/sqm-big-stat_38.entry.js +66 -66
- package/dist/esm/{sqm-close-button-view-233e2434.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- 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 +6 -6
- package/dist/esm/{sqm-invoice-table-view-45e3b5c2.js → sqm-invoice-table-view-1115795f.js} +73 -12
- package/dist/esm/{sqm-leaderboard-rank-view-d704f03c.js → sqm-leaderboard-rank-view-10657658.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-8ae8f259.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +6 -6
- package/dist/esm/{sqm-navigation-sidebar-item-view-e06988b9.js → sqm-navigation-sidebar-item-view-058eba98.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
- package/dist/esm/{sqm-navigation-sidebar-view-6f66acc9.js → sqm-navigation-sidebar-view-414bcb19.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +7 -7
- package/dist/esm/{sqm-portal-container-view-e42e3789.js → sqm-portal-container-view-ab89c6cc.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-de885af1.js → sqm-portal-email-verification-view-251945de.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +14 -11
- package/dist/esm/{sqm-portal-forgot-password-view-c57e849c.js → sqm-portal-forgot-password-view-a764ad67.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +8 -8
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-1ec985ec.js → sqm-portal-profile-view-0294c422.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +10 -10
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form.entry.js +10 -10
- package/dist/esm/{sqm-portal-reset-password-view-e523c018.js → sqm-portal-reset-password-view-d3e726a9.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
- package/dist/esm/{sqm-portal-verify-email-view-fb6875bb.js → sqm-portal-verify-email-view-283bf637.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +10 -10
- package/dist/esm/sqm-referral-table_11.entry.js +14 -16
- package/dist/esm/sqm-referred-registration.entry.js +6 -6
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +5 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +21 -21
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +107 -122
- 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-d776bd9c.js → sqm-text-span-view-8d140661.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/{stencil-hooks.module-aa42e74f.js → stencil-hooks.module-8032b139.js} +2 -2
- package/dist/esm/{useChildElements-b6d750df.js → useChildElements-92ae8069.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-ad474a64.js → useInstantAccessRegistration-8dca4f2a.js} +4 -4
- package/dist/esm/{useReferralTable-ae86bc4f.js → useReferralTable-e5d6476f.js} +11 -13
- package/dist/esm/{useRegistrationFormState-4d8fe860.js → useRegistrationFormState-0703f6b0.js} +3 -3
- package/dist/esm/{utilities-8d9fb379.js → utilities-94e1e2b4.js} +2 -2
- package/dist/esm-es5/{GenericTableView-a2b0ba19.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-d9424229.js +1 -0
- package/dist/esm-es5/{email-registration-view-f48adc22.js → email-registration-view-4a4202e7.js} +1 -1
- package/dist/esm-es5/{global-2d34c7d9.js → global-35b8d91c.js} +2 -2
- package/dist/esm-es5/{index-f16aa635.js → index-17b4da69.js} +1 -1
- package/dist/esm-es5/index.module-6242dccd.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-01b10a1d.js → luxon-4706d11b.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mockRewardData-6f03c9fb.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-22af3424.js → re-render-9542be16.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-24845a25.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-233e2434.js → sqm-close-button-view-dc65b4e3.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-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-1115795f.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ae8f259.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-e06988b9.js → sqm-navigation-sidebar-item-view-058eba98.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-6f66acc9.js → sqm-navigation-sidebar-view-414bcb19.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-e42e3789.js → sqm-portal-container-view-ab89c6cc.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-de885af1.js → sqm-portal-email-verification-view-251945de.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c57e849c.js → sqm-portal-forgot-password-view-a764ad67.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-1ec985ec.js → sqm-portal-profile-view-0294c422.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-e523c018.js → sqm-portal-reset-password-view-d3e726a9.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-fb6875bb.js → sqm-portal-verify-email-view-283bf637.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-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-d776bd9c.js → sqm-text-span-view-8d140661.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-aa42e74f.js → stencil-hooks.module-8032b139.js} +2 -2
- package/dist/esm-es5/useChildElements-92ae8069.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-8dca4f2a.js +1 -0
- package/dist/esm-es5/{useReferralTable-ae86bc4f.js → useReferralTable-e5d6476f.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-0703f6b0.js +1 -0
- package/dist/esm-es5/{utilities-8d9fb379.js → utilities-94e1e2b4.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-cb6b695d.js → p-0076de9e.js} +1 -1
- package/dist/mint-components/{p-7a1fdfcc.js → p-0570c048.js} +1 -1
- package/dist/mint-components/{p-867e46a4.js → p-05a69cbe.js} +2 -2
- package/dist/mint-components/p-06cb48d2.system.entry.js +1 -0
- package/dist/mint-components/{p-12929f2d.entry.js → p-08a97a39.entry.js} +1 -1
- package/dist/mint-components/p-0a898ab1.js +1 -0
- package/dist/mint-components/p-0dede431.entry.js +1 -0
- package/dist/mint-components/p-166c69f2.system.entry.js +1 -0
- package/dist/mint-components/p-18c843e3.system.entry.js +1 -0
- package/dist/mint-components/p-1b22871f.system.entry.js +1 -0
- package/dist/mint-components/{p-8d37b2a1.js → p-2446212d.js} +2 -2
- package/dist/mint-components/p-24b8cd17.system.entry.js +1 -0
- package/dist/mint-components/{p-48c6cec0.entry.js → p-2ee988c7.entry.js} +10 -10
- package/dist/mint-components/{p-5fb5d99b.system.js → p-3036cf58.system.js} +1 -1
- package/dist/mint-components/{p-d7e09410.system.entry.js → p-32096f32.system.entry.js} +1 -1
- package/dist/mint-components/p-34d72151.js +1 -0
- package/dist/mint-components/p-3684cab6.js +1 -0
- package/dist/mint-components/p-37d97a22.system.js +1 -0
- package/dist/mint-components/p-38be1e51.system.entry.js +1 -0
- package/dist/mint-components/{p-ee74765c.entry.js → p-399d6f42.entry.js} +1 -1
- package/dist/mint-components/p-3da3974e.js +1 -0
- package/dist/mint-components/{p-1821e198.system.entry.js → p-3f75df7b.system.entry.js} +1 -1
- package/dist/mint-components/p-3f8d6a52.entry.js +1 -0
- package/dist/mint-components/p-409c030a.system.entry.js +1 -0
- package/dist/mint-components/{p-9e1850fb.js → p-4153fbb6.js} +1 -1
- package/dist/mint-components/p-44119827.system.js +1 -0
- package/dist/mint-components/{p-283c5cbc.js → p-46ef82ed.js} +1 -1
- package/dist/mint-components/p-491f2603.entry.js +1 -0
- package/dist/mint-components/p-4944f4c4.entry.js +1 -0
- package/dist/mint-components/p-4bdfee88.entry.js +1 -0
- package/dist/mint-components/{p-923f5b38.system.js → p-4ceba64c.system.js} +1 -1
- package/dist/mint-components/p-4d9744bf.js +1 -0
- package/dist/mint-components/{p-62697548.system.js → p-4f775e84.system.js} +1 -1
- package/dist/mint-components/{p-021207af.entry.js → p-53c5e69a.entry.js} +2 -2
- package/dist/mint-components/{p-a985672d.system.entry.js → p-5532c083.system.entry.js} +1 -1
- package/dist/mint-components/{p-73e3e768.entry.js → p-5935bae5.entry.js} +2 -2
- package/dist/mint-components/p-5b52e8fb.system.js +1 -0
- package/dist/mint-components/{p-b1bc8951.js → p-5d0c9424.js} +1 -1
- package/dist/mint-components/{p-9400590c.system.js → p-5e8996cd.system.js} +1 -1
- package/dist/mint-components/p-60d0d672.entry.js +152 -0
- package/dist/mint-components/{p-d1cde664.entry.js → p-6163a7a4.entry.js} +1 -1
- package/dist/mint-components/{p-a7ac3831.system.entry.js → p-61ad3dd4.system.entry.js} +1 -1
- package/dist/mint-components/{p-02b7a1a3.entry.js → p-61eb751c.entry.js} +1 -1
- package/dist/mint-components/p-639d3dd3.entry.js +1 -0
- package/dist/mint-components/{p-ea544e8b.system.js → p-6465d2e7.system.js} +1 -1
- package/dist/mint-components/p-64c3217a.js +1 -0
- package/dist/mint-components/p-65106298.js +1 -0
- package/dist/mint-components/{p-95e549a9.system.entry.js → p-6713ef50.system.entry.js} +1 -1
- package/dist/mint-components/p-67b91751.system.js +1 -0
- package/dist/mint-components/{p-98fb8aae.system.js → p-6b5e355c.system.js} +1 -1
- package/dist/mint-components/{p-129d5cfc.system.entry.js → p-6bb4054f.system.entry.js} +1 -1
- package/dist/mint-components/{p-3ec76885.js → p-70955f74.js} +1 -1
- package/dist/mint-components/p-73fb8be6.js +1 -0
- package/dist/mint-components/{p-140def64.system.js → p-7487f23c.system.js} +1 -1
- package/dist/mint-components/{p-f8de07af.system.entry.js → p-74c9a1a4.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ae285ad.js → p-79da7f18.js} +1 -1
- package/dist/mint-components/p-79fc68b0.js +1 -0
- package/dist/mint-components/p-7eb6fab2.system.js +1 -0
- package/dist/mint-components/{p-32866386.entry.js → p-7f9eaa09.entry.js} +1 -1
- package/dist/mint-components/{p-0cf35f9d.system.entry.js → p-83082eeb.system.entry.js} +1 -1
- package/dist/mint-components/p-848f1a2e.system.entry.js +1 -0
- package/dist/mint-components/{p-5b4a77b3.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/p-89995fd0.js +391 -0
- package/dist/mint-components/p-8a0c7deb.system.entry.js +1 -0
- package/dist/mint-components/p-8a577aad.entry.js +144 -0
- package/dist/mint-components/p-8a9132a1.entry.js +1 -0
- package/dist/mint-components/{p-23669a93.entry.js → p-8d6eda67.entry.js} +1 -1
- package/dist/mint-components/p-8e3e3f21.system.entry.js +1 -0
- package/dist/mint-components/p-9149f891.entry.js +1 -0
- package/dist/mint-components/p-91749794.system.js +1 -0
- package/dist/mint-components/{p-1c9fe397.entry.js → p-92110eef.entry.js} +1 -1
- package/dist/mint-components/{p-4c4f0973.system.js → p-922578e4.system.js} +1 -1
- package/dist/mint-components/p-92b99bb2.system.entry.js +1 -0
- package/dist/mint-components/p-9755ab8f.system.js +1 -0
- package/dist/mint-components/{p-42949824.entry.js → p-97e55da3.entry.js} +1 -1
- package/dist/mint-components/p-9dcfa187.system.js +1 -0
- package/dist/mint-components/{p-e04a924c.js → p-9df0dca8.js} +1 -1
- package/dist/mint-components/{p-ddbcf186.system.entry.js → p-9fe25b2d.system.entry.js} +1 -1
- package/dist/mint-components/{p-0f60f863.system.js → p-a0634399.system.js} +1 -1
- package/dist/mint-components/{p-1911ed09.system.entry.js → p-a2d9fed8.system.entry.js} +1 -1
- package/dist/mint-components/{p-2cb996af.entry.js → p-a3875af8.entry.js} +2 -2
- package/dist/mint-components/{p-45cc2a06.system.entry.js → p-a6ebb722.system.entry.js} +1 -1
- package/dist/mint-components/p-a7e54efb.js +1 -0
- package/dist/mint-components/p-a93e0eb8.system.js +1 -0
- package/dist/mint-components/{p-07a2b404.system.js → p-b153fc0c.system.js} +1 -1
- package/dist/mint-components/p-b322725f.entry.js +1 -0
- package/dist/mint-components/p-b689baf8.system.js +1 -0
- package/dist/mint-components/p-b7afcca4.system.entry.js +1 -0
- package/dist/mint-components/{p-caca3160.js → p-b9474165.js} +1 -1
- package/dist/mint-components/{p-698b699e.system.js → p-bc1d707d.system.js} +1 -1
- package/dist/mint-components/{p-86b8d490.system.entry.js → p-be584089.system.entry.js} +1 -1
- package/dist/mint-components/{p-7c80164e.system.js → p-c06048c9.system.js} +1 -1
- package/dist/mint-components/{p-abc149fe.system.entry.js → p-c1a47137.system.entry.js} +1 -1
- package/dist/mint-components/p-c53f12df.entry.js +13 -0
- package/dist/mint-components/{p-b52d8951.system.js → p-c5577dd7.system.js} +1 -1
- package/dist/mint-components/{p-1fa36f98.js → p-c5d2e4ba.js} +1 -1
- package/dist/mint-components/{p-66ad53b1.entry.js → p-c74a8f95.entry.js} +1 -1
- package/dist/mint-components/{p-ef158fe8.system.js → p-d079af07.system.js} +1 -1
- package/dist/mint-components/{p-f1524d37.system.js → p-d4b174e1.system.js} +1 -1
- package/dist/mint-components/{p-c23bbbc4.system.js → p-d5a682bf.system.js} +2 -2
- package/dist/mint-components/p-d943d0e8.system.entry.js +1 -0
- package/dist/mint-components/{p-82d7a656.system.entry.js → p-d95ab3ed.system.entry.js} +1 -1
- package/dist/mint-components/{p-a399550d.system.entry.js → p-dad6d93d.system.entry.js} +1 -1
- package/dist/mint-components/{p-61f546e6.entry.js → p-dda8a486.entry.js} +1 -1
- package/dist/mint-components/{p-57644280.js → p-df1b9e5b.js} +1 -1
- package/dist/mint-components/p-e02fb133.system.js +1 -0
- package/dist/mint-components/p-e15443a8.entry.js +1 -0
- package/dist/mint-components/{p-f0c0bec9.entry.js → p-e1f3a863.entry.js} +1 -1
- package/dist/mint-components/{p-d8b73a80.system.entry.js → p-e2fbe1a1.system.entry.js} +1 -1
- package/dist/mint-components/{p-9bd20f34.system.entry.js → p-e31a3242.system.entry.js} +1 -1
- package/dist/mint-components/{p-03ce2c9b.js → p-e3e16c36.js} +1 -1
- package/dist/mint-components/p-e48c06c7.system.entry.js +1 -0
- package/dist/mint-components/{p-d234546c.system.entry.js → p-e5802992.system.entry.js} +1 -1
- package/dist/mint-components/{p-054c86e8.js → p-e704842c.js} +1 -1
- package/dist/mint-components/p-e78a9295.entry.js +1 -0
- package/dist/mint-components/{p-5e8b7e98.entry.js → p-e88f7872.entry.js} +1 -1
- package/dist/mint-components/{p-ca83944e.system.js → p-e8dde8f4.system.js} +1 -1
- package/dist/mint-components/{p-34c938bb.system.entry.js → p-e8fc71f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-98694b8a.js → p-ea6a7135.js} +1 -1
- package/dist/mint-components/{p-c59d4f22.entry.js → p-ed5c7e8a.entry.js} +1 -1
- package/dist/mint-components/{p-d812f2f1.entry.js → p-eed578fa.entry.js} +1 -1
- package/dist/mint-components/{p-c3160411.entry.js → p-f0cfe297.entry.js} +1 -1
- package/dist/mint-components/p-f1963937.entry.js +1 -0
- package/dist/mint-components/p-f37b7296.entry.js +9 -0
- package/dist/mint-components/{p-4220a501.system.entry.js → p-f4a6e490.system.entry.js} +1 -1
- package/dist/mint-components/{p-256aff43.js → p-f5f25aba.js} +1 -1
- package/dist/mint-components/{p-e6973d80.js → p-fb93c962.js} +1 -1
- package/dist/mint-components/{p-07529a98.system.js → p-fca0dc98.system.js} +1 -1
- package/dist/mint-components/{p-1e56ab57.system.js → p-ff17b3a4.system.js} +1 -1
- package/dist/types/components/sqm-invoice-table/InvoiceTableCell.stories.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +9 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +1 -1
- package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -1
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +55 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +9 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +79 -98
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +1 -53
- package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +3 -9
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +44 -72
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -4
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +60 -60
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +8 -3
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +13 -8
- 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/sqm-tax-and-cash.d.ts +287 -324
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +114 -84
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.d.ts +0 -1
- 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 +44 -43
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +11 -5
- package/dist/types/components/tax-and-cash/utils.d.ts +8 -0
- package/dist/types/components.d.ts +1352 -1380
- package/dist/types/saasquatch.d.ts +8 -7
- package/dist/types/stories/PortalTemplates.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 +4 -3
- package/dist/cjs/sqm-docusign-embed.cjs.entry.js +0 -34
- package/dist/collection/components/sqm-docusign-embed/sqm-docusign-embed.js +0 -65
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignCompletedView.js +0 -29
- package/dist/collection/utils/useParentQuery.js +0 -27
- package/dist/collection/utils/useParentState.js +0 -37
- package/dist/esm/sqm-docusign-embed.entry.js +0 -30
- package/dist/esm-es5/ShadowViewAddon-8ab7e840.js +0 -1
- package/dist/esm-es5/index.module-a46df001.js +0 -1
- package/dist/esm-es5/mockRewardData-e9fdc4fa.js +0 -1
- package/dist/esm-es5/sqm-docusign-embed.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-45e3b5c2.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-d704f03c.js +0 -1
- package/dist/esm-es5/useChildElements-b6d750df.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-ad474a64.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-4d8fe860.js +0 -1
- package/dist/mint-components/p-020ccace.js +0 -1
- package/dist/mint-components/p-0251c974.system.js +0 -1
- package/dist/mint-components/p-03aa1079.js +0 -1
- package/dist/mint-components/p-0b1330d9.entry.js +0 -1
- package/dist/mint-components/p-0b4f95fe.system.entry.js +0 -1
- package/dist/mint-components/p-0c2a6340.entry.js +0 -144
- package/dist/mint-components/p-11d95a57.entry.js +0 -1
- package/dist/mint-components/p-18b77c5f.entry.js +0 -9
- package/dist/mint-components/p-1a69f973.entry.js +0 -1
- package/dist/mint-components/p-1a8335fb.system.entry.js +0 -1
- package/dist/mint-components/p-1fba8a7d.entry.js +0 -148
- package/dist/mint-components/p-26ec23ad.entry.js +0 -1
- package/dist/mint-components/p-2e5c408f.entry.js +0 -1
- package/dist/mint-components/p-2f7c3f5c.js +0 -1
- package/dist/mint-components/p-3ac706c9.js +0 -1
- package/dist/mint-components/p-3ca2e26d.system.entry.js +0 -1
- package/dist/mint-components/p-474c202e.system.entry.js +0 -1
- package/dist/mint-components/p-4df8a784.system.js +0 -1
- package/dist/mint-components/p-67eadc94.js +0 -391
- package/dist/mint-components/p-69cdf17a.system.js +0 -1
- package/dist/mint-components/p-6e356df6.system.entry.js +0 -1
- package/dist/mint-components/p-7266c84f.system.entry.js +0 -1
- package/dist/mint-components/p-7520e15a.js +0 -1
- package/dist/mint-components/p-7689bdec.entry.js +0 -1
- package/dist/mint-components/p-7d81da49.system.entry.js +0 -1
- package/dist/mint-components/p-8019e18f.system.entry.js +0 -1
- package/dist/mint-components/p-830f82bb.system.entry.js +0 -1
- package/dist/mint-components/p-8502e27c.entry.js +0 -1
- package/dist/mint-components/p-88380a45.entry.js +0 -1
- package/dist/mint-components/p-94ad6231.js +0 -1
- package/dist/mint-components/p-965b6a7d.entry.js +0 -13
- package/dist/mint-components/p-9b2e401c.js +0 -1
- package/dist/mint-components/p-a2728372.system.entry.js +0 -1
- package/dist/mint-components/p-a448f535.system.js +0 -1
- package/dist/mint-components/p-a5ce663d.system.entry.js +0 -1
- package/dist/mint-components/p-b5b0128d.js +0 -1
- package/dist/mint-components/p-baddce7c.system.entry.js +0 -1
- package/dist/mint-components/p-c0dd4993.system.js +0 -1
- package/dist/mint-components/p-c7d2b2e3.entry.js +0 -1
- package/dist/mint-components/p-cc570915.system.entry.js +0 -1
- package/dist/mint-components/p-d5364cae.system.js +0 -1
- package/dist/mint-components/p-d87be499.system.js +0 -1
- package/dist/mint-components/p-df8f553b.entry.js +0 -1
- package/dist/mint-components/p-e1335d59.system.entry.js +0 -1
- package/dist/mint-components/p-e36ffd5d.system.js +0 -1
- package/dist/mint-components/p-e37a287c.entry.js +0 -1
- package/dist/mint-components/p-e5b44552.system.js +0 -1
- package/dist/mint-components/p-e86ec70c.system.js +0 -1
- package/dist/mint-components/p-e9419043.js +0 -1
- package/dist/mint-components/p-eb537272.system.js +0 -1
- package/dist/mint-components/p-eba772a8.entry.js +0 -1
- package/dist/mint-components/p-f438972d.system.entry.js +0 -1
- package/dist/mint-components/p-f6e5df75.js +0 -1
- package/dist/mint-components/p-fa11bb8f.entry.js +0 -1
- package/dist/types/components/sqm-docusign-embed/sqm-docusign-embed.d.ts +0 -20
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/DocusignCompletedView.d.ts +0 -1
- package/dist/types/utils/useParentQuery.d.ts +0 -12
- package/dist/types/utils/useParentState.d.ts +0 -12
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { isDemo, useSetParent } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { useState, withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
4
|
import { Component, Host, Prop, State, h } from "@stencil/core";
|
|
5
5
|
import deepmerge from "deepmerge";
|
|
6
|
+
import { intl } from "../../../global/global";
|
|
6
7
|
import { getProps } from "../../../utils/utils";
|
|
8
|
+
import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
9
|
+
import { getFormMap } from "./formDefinitions";
|
|
7
10
|
import { mockPaymentOptions } from "./mockData";
|
|
8
11
|
import { BankingInfoFormView, } from "./sqm-banking-info-form-view";
|
|
9
|
-
import { getFormInputs,
|
|
10
|
-
import { intl } from "../../../global/global";
|
|
11
|
-
import { useParent } from "../../../utils/useParentState";
|
|
12
|
-
import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
12
|
+
import { getFormInputs, paypalFeeMap, useBankingInfoForm, } from "./useBankingInfoForm";
|
|
13
13
|
/**
|
|
14
14
|
* @uiName Banking Information Form
|
|
15
15
|
* @exampleGroup Common Components
|
|
@@ -19,207 +19,178 @@ export class BankingInfoForm {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
this.ignored = true;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @uiName Form step text
|
|
22
|
+
* @uiName Setup progress
|
|
24
23
|
*/
|
|
25
24
|
this.formStep = "Step {step} of {count}";
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @uiName Tax and Payouts heading text
|
|
26
|
+
* @uiName Step 4 title
|
|
29
27
|
*/
|
|
30
|
-
this.taxAndPayouts = "
|
|
28
|
+
this.taxAndPayouts = "Payouts";
|
|
31
29
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @uiName
|
|
30
|
+
* Displayed at the top of the page on all set up steps.
|
|
31
|
+
* @uiName Page description
|
|
34
32
|
*/
|
|
35
33
|
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @uiName Directly to bank account option text
|
|
35
|
+
* @uiName Direct to bank payout option
|
|
39
36
|
*/
|
|
40
37
|
this.directlyToBankAccount = "Directly to my bank account";
|
|
41
38
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @uiName PayPal option text with processing fee placeholder
|
|
39
|
+
* @uiName PayPal payout option
|
|
44
40
|
*/
|
|
45
41
|
this.toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
|
|
46
42
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @uiName Payment schedule balance threshold text
|
|
43
|
+
* @uiName Threshold balance payment schedule option
|
|
49
44
|
*/
|
|
50
45
|
this.paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
|
|
51
46
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @uiName Payment schedule fixed day text
|
|
47
|
+
* @uiName Fixed day payment schedule option
|
|
54
48
|
*/
|
|
55
49
|
this.paymentScheduleFixedDay = "Pay me on a fixed day of the month";
|
|
56
50
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @uiName Payment day
|
|
51
|
+
* Let the participant choose what day of the month they’ll get paid
|
|
52
|
+
* @uiName Payment day field label
|
|
59
53
|
*/
|
|
60
54
|
this.paymentDaySelectLabel = "Payment Day";
|
|
61
55
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @uiName Payment
|
|
56
|
+
* Participant use this field to select the balance at which they want to be paid
|
|
57
|
+
* @uiName Payment threshold field label
|
|
64
58
|
*/
|
|
65
59
|
this.paymentThresholdSelectLabel = "Payment Threshold";
|
|
66
60
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @uiName First of month
|
|
61
|
+
* One of two payment day options
|
|
62
|
+
* @uiName First of month payday option
|
|
69
63
|
*/
|
|
70
64
|
this.paymentDayFirstOfMonthLabelText = "1st of the month";
|
|
71
65
|
/**
|
|
72
66
|
* Label text for the payment day select option for the fifteenth of the month
|
|
73
|
-
* @uiName Fifteenth of month
|
|
67
|
+
* @uiName Fifteenth of month payday option
|
|
74
68
|
*/
|
|
75
69
|
this.paymentDayFifteenthOfMonthLabelText = "15th of the month";
|
|
76
70
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @uiName Payment method heading text
|
|
71
|
+
* @uiName Payment method section header
|
|
79
72
|
*/
|
|
80
73
|
this.paymentMethod = "Payment method";
|
|
81
74
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @uiName Payment schedule heading text
|
|
75
|
+
* @uiName Payment schedule section header
|
|
84
76
|
*/
|
|
85
77
|
this.paymentSchedule = "Payment schedule";
|
|
86
78
|
/**
|
|
87
|
-
*
|
|
88
|
-
* @uiName Payment method subtext
|
|
79
|
+
* @uiName Payment method section description
|
|
89
80
|
*/
|
|
90
|
-
this.paymentMethodSubtext = "Payouts will be sent
|
|
81
|
+
this.paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
|
|
91
82
|
/**
|
|
92
|
-
*
|
|
93
|
-
* @uiName PayPal email
|
|
83
|
+
* Displayed to participants who choose PayPal as their payout method
|
|
84
|
+
* @uiName PayPal email field label
|
|
94
85
|
*/
|
|
95
86
|
this.payPalInputLabel = "PayPal email";
|
|
96
87
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @uiName Bank country location input label
|
|
88
|
+
* @uiName Bank country field label
|
|
99
89
|
*/
|
|
100
90
|
this.bankLocationLabel = "Bank country location";
|
|
101
91
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @uiName Beneficiary account name input label
|
|
92
|
+
* @uiName Beneficiary account field label
|
|
104
93
|
*/
|
|
105
94
|
this.beneficiaryAccountNameLabel = "Beneficiary account name";
|
|
106
95
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @uiName Bank account type input label
|
|
96
|
+
* @uiName Bank account type field label
|
|
109
97
|
*/
|
|
110
98
|
this.bankAccountTypeLabel = "Bank account type";
|
|
111
99
|
/**
|
|
112
|
-
*
|
|
113
|
-
* @uiName Checking select item label
|
|
100
|
+
* @uiName Checking account option
|
|
114
101
|
*/
|
|
115
102
|
this.checkingSelectItemLabel = "Checking";
|
|
116
103
|
/**
|
|
117
|
-
*
|
|
118
|
-
* @uiName Savings select item label
|
|
104
|
+
* @uiName Savings account options
|
|
119
105
|
*/
|
|
120
106
|
this.savingsSelectItemLabel = "Savings";
|
|
121
107
|
/**
|
|
122
|
-
*
|
|
123
|
-
* @uiName Bank account number input label
|
|
108
|
+
* @uiName Bank account number field label
|
|
124
109
|
*/
|
|
125
110
|
this.bankAccountNumberLabel = "Bank account number";
|
|
126
111
|
/**
|
|
127
|
-
*
|
|
128
|
-
* @uiName IBAN input label
|
|
112
|
+
* @uiName IBAN field label
|
|
129
113
|
*/
|
|
130
114
|
this.ibanLabel = "IBAN";
|
|
131
115
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @uiName SWIFT code input label
|
|
116
|
+
* @uiName SWIFT code field label
|
|
134
117
|
*/
|
|
135
118
|
this.swiftCodeLabel = "SWIFT code";
|
|
136
119
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @uiName Routing code input label
|
|
120
|
+
* @uiName Routing code field label
|
|
139
121
|
*/
|
|
140
|
-
this.routingCodeLabel = "{
|
|
122
|
+
this.routingCodeLabel = "{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";
|
|
141
123
|
/**
|
|
142
|
-
*
|
|
143
|
-
* @uiName Bank name input label
|
|
124
|
+
* @uiName Bank name field label
|
|
144
125
|
*/
|
|
145
126
|
this.bankNameLabel = "Bank Name";
|
|
146
127
|
/**
|
|
147
|
-
*
|
|
148
|
-
* @uiName Classification entity input label
|
|
128
|
+
* @uiName Classification entity field label
|
|
149
129
|
*/
|
|
150
130
|
this.classificationEntityLabel = "Classification Entity";
|
|
151
131
|
/**
|
|
152
|
-
*
|
|
153
|
-
* @uiName Business
|
|
132
|
+
* One of three options listed for the classification field
|
|
133
|
+
* @uiName Business classification option
|
|
154
134
|
*/
|
|
155
135
|
this.businessSelectItemLabel = "Business";
|
|
156
136
|
/**
|
|
157
|
-
*
|
|
158
|
-
* @uiName Individual
|
|
137
|
+
* One of three options listed for the classification field
|
|
138
|
+
* @uiName Individual classification option
|
|
159
139
|
*/
|
|
160
140
|
this.individualSelectItemLabel = "Individual";
|
|
161
141
|
/**
|
|
162
|
-
*
|
|
163
|
-
* @uiName Foreign
|
|
142
|
+
* One of three options listed for the classification field
|
|
143
|
+
* @uiName Foreign classification option
|
|
164
144
|
*/
|
|
165
145
|
this.foreignSelectItemLabel = "Foreign";
|
|
166
146
|
/**
|
|
167
|
-
*
|
|
168
|
-
* @uiName Classification CPF input label
|
|
147
|
+
* @uiName Classification CPF field label
|
|
169
148
|
*/
|
|
170
149
|
this.classificationCPFLabel = "Classification CPF";
|
|
171
150
|
/**
|
|
172
|
-
*
|
|
173
|
-
* @uiName Patronymic name input label
|
|
151
|
+
* @uiName Patronymic name field label
|
|
174
152
|
*/
|
|
175
153
|
this.patronymicNameLabel = "Patronymic name";
|
|
176
154
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @uiName VO code input label
|
|
155
|
+
* @uiName VO code field label
|
|
179
156
|
*/
|
|
180
157
|
this.voCodeLabel = "VO code";
|
|
181
158
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @uiName Agency code input label
|
|
159
|
+
* @uiName Agency code field label
|
|
184
160
|
*/
|
|
185
161
|
this.agencyCodeLabel = "Agency code";
|
|
186
162
|
/**
|
|
187
|
-
*
|
|
188
|
-
* @uiName Branch code input label
|
|
163
|
+
* @uiName Branch code field label
|
|
189
164
|
*/
|
|
190
165
|
this.branchCodeLabel = "Branch code";
|
|
191
166
|
/**
|
|
192
167
|
* Label text for the classification input field
|
|
193
|
-
* @uiName Classification
|
|
168
|
+
* @uiName Classification field label
|
|
194
169
|
*/
|
|
195
170
|
this.classificationLabel = "Classification";
|
|
196
171
|
/**
|
|
197
|
-
*
|
|
198
|
-
* @uiName Taxpayer ID input label
|
|
172
|
+
* @uiName Taxpayer ID field label
|
|
199
173
|
*/
|
|
200
174
|
this.taxPayerIdLabel = "{country, select, AR {CUIT/CUIL} KR {Classification ID} other { Beneficiary INN } }";
|
|
201
175
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @uiName Bank Address input item label
|
|
176
|
+
* @uiName Bank address field label
|
|
204
177
|
*/
|
|
205
178
|
this.bankAddressLabel = "Bank address";
|
|
206
179
|
/**
|
|
207
|
-
*
|
|
208
|
-
* @uiName Bank City Label input label
|
|
180
|
+
* @uiName Bank city field label
|
|
209
181
|
*/
|
|
210
182
|
this.bankCityLabel = "Bank city";
|
|
211
183
|
/**
|
|
212
|
-
*
|
|
213
|
-
* @uiName Bank Province / State input label
|
|
184
|
+
* @uiName Bank province/state field label
|
|
214
185
|
*/
|
|
215
186
|
this.bankStateLabel = "Bank province/state";
|
|
216
187
|
/**
|
|
217
|
-
*
|
|
218
|
-
* @uiName Bank Postal Code input label
|
|
188
|
+
* @uiName Bank postal code field label
|
|
219
189
|
*/
|
|
220
190
|
this.bankPostalCodeLabel = "Bank postal code";
|
|
221
191
|
/**
|
|
222
|
-
*
|
|
192
|
+
* Default payment method to the participants’ bank account.
|
|
193
|
+
* @uiName EFT withdrawal payment method
|
|
223
194
|
*/
|
|
224
195
|
this.eftWithdrawalLabel = "EFT withdrawal (free)";
|
|
225
196
|
/**
|
|
@@ -227,53 +198,63 @@ export class BankingInfoForm {
|
|
|
227
198
|
*/
|
|
228
199
|
this.fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
|
|
229
200
|
/**
|
|
230
|
-
*
|
|
231
|
-
* @uiName
|
|
201
|
+
* Placeholder text displayed in the country search dropdown
|
|
202
|
+
* @uiName Country field placeholder text
|
|
203
|
+
*/
|
|
204
|
+
this.searchForCountryText = "Search for country..";
|
|
205
|
+
/**
|
|
206
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
207
|
+
* @uiName Participant is a partner alert title
|
|
208
|
+
* @uiWidget textArea
|
|
232
209
|
*/
|
|
233
210
|
this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
|
|
234
211
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @uiName
|
|
212
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
213
|
+
* @uiName Participant is a partner alert description
|
|
214
|
+
* @uiWidget textArea
|
|
237
215
|
*/
|
|
238
216
|
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our Support team or sign up for this referral program with a different email.";
|
|
239
217
|
/**
|
|
240
|
-
*
|
|
241
|
-
* @uiName
|
|
218
|
+
* Part of the alert displayed at the top of the page.
|
|
219
|
+
* @uiName Form submission error message title
|
|
220
|
+
* @uiWidget textArea
|
|
242
221
|
*/
|
|
243
222
|
this.generalErrorTitle = "There was a problem submitting your information";
|
|
244
223
|
/**
|
|
245
|
-
*
|
|
246
|
-
* @uiName
|
|
224
|
+
* Part of the alert displayed at the top of the page.
|
|
225
|
+
* @uiName Form submission error message description
|
|
226
|
+
* @uiWidget textArea
|
|
247
227
|
*/
|
|
248
228
|
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
|
|
249
229
|
/**
|
|
250
|
-
*
|
|
251
|
-
* @uiName
|
|
230
|
+
* Displayed under a field that is missing required information.
|
|
231
|
+
* @uiName Empty form field error message
|
|
252
232
|
*/
|
|
253
233
|
this.fieldRequiredError = "{fieldName} is required";
|
|
254
234
|
/**
|
|
255
|
-
*
|
|
256
|
-
* @uiName
|
|
235
|
+
* Displayed under a field when it has an invalid entry.
|
|
236
|
+
* @uiName Form field error message
|
|
257
237
|
*/
|
|
258
238
|
this.fieldInvalidError = "{fieldName} is invalid";
|
|
259
239
|
/**
|
|
260
|
-
*
|
|
261
|
-
* @uiName Save button text
|
|
240
|
+
* @uiName Continue button label
|
|
262
241
|
*/
|
|
263
242
|
this.continueButton = "Save";
|
|
264
243
|
/**
|
|
265
244
|
* Text for the back button in the form
|
|
266
|
-
* @uiName Back button
|
|
245
|
+
* @uiName Back button label
|
|
267
246
|
*/
|
|
268
|
-
this.backButton = "
|
|
247
|
+
this.backButton = "Back";
|
|
269
248
|
/**
|
|
270
|
-
*
|
|
271
|
-
* @uiName
|
|
249
|
+
* Part of the alert displayed at the top of the page.
|
|
250
|
+
* @uiName Page load error message title
|
|
251
|
+
* @uiWidget textArea
|
|
272
252
|
*/
|
|
273
253
|
this.loadingErrorAlertHeader = "There was a problem loading your form";
|
|
274
254
|
/**
|
|
275
|
-
*
|
|
276
|
-
* @uiName
|
|
255
|
+
* Part of the alert displayed at the top of the page.
|
|
256
|
+
* @uiName Page load error message description
|
|
257
|
+
* @uiWidget textArea
|
|
277
258
|
*/
|
|
278
259
|
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
|
|
279
260
|
withHooks(this);
|
|
@@ -292,7 +273,7 @@ export class BankingInfoForm {
|
|
|
292
273
|
};
|
|
293
274
|
}
|
|
294
275
|
render() {
|
|
295
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
276
|
+
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;
|
|
296
277
|
const props = isDemo()
|
|
297
278
|
? useDemoBankingInfoForm(this)
|
|
298
279
|
: useBankingInfoForm(this);
|
|
@@ -321,48 +302,58 @@ export class BankingInfoForm {
|
|
|
321
302
|
const formMap = getFormMap({
|
|
322
303
|
props,
|
|
323
304
|
getValidationErrorMessage,
|
|
305
|
+
bankCountry: props.states.bankCountry,
|
|
324
306
|
});
|
|
325
307
|
const inputFields = getFormInputs({
|
|
326
308
|
bitset: props.states.bitset,
|
|
327
309
|
formMap,
|
|
328
310
|
});
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
311
|
+
const searchStyle = {
|
|
312
|
+
SearchInput: {
|
|
313
|
+
padding: "var(--sl-spacing-x-small)",
|
|
314
|
+
},
|
|
315
|
+
};
|
|
333
316
|
return (h(Host, null,
|
|
334
317
|
h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
|
|
335
318
|
formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
|
|
336
|
-
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) && {
|
|
319
|
+
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) && {
|
|
337
320
|
class: "error-input",
|
|
338
321
|
helpText: getValidationErrorMessage({
|
|
339
322
|
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,
|
|
340
323
|
label: props.text.bankLocationLabel,
|
|
341
324
|
}),
|
|
342
|
-
})),
|
|
343
|
-
|
|
344
|
-
|
|
325
|
+
})),
|
|
326
|
+
h("sl-input", { class: searchStyle.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
|
|
327
|
+
// Stop shoelace intercepting key presses
|
|
328
|
+
e.stopPropagation();
|
|
329
|
+
}, "onSl-input": (e) => {
|
|
330
|
+
props.callbacks.setCountrySearch(e.target.value);
|
|
331
|
+
} }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
|
|
332
|
+
_d.map((country) => {
|
|
333
|
+
return (h("sl-menu-item", { value: country.countryCode }, country.displayName));
|
|
334
|
+
}), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
|
|
335
|
+
_f.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
|
|
345
336
|
paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
|
|
346
|
-
paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: (
|
|
337
|
+
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) && {
|
|
347
338
|
class: "error-input",
|
|
348
339
|
helpText: getValidationErrorMessage({
|
|
349
|
-
type: (
|
|
340
|
+
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,
|
|
350
341
|
label: props.text.paymentThresholdSelectLabel,
|
|
351
342
|
}),
|
|
352
343
|
})), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
|
|
353
|
-
paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, label: props.text.paymentDaySelectLabel, value: (
|
|
344
|
+
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) && {
|
|
354
345
|
class: "error-input",
|
|
355
346
|
helpText: getValidationErrorMessage({
|
|
356
|
-
type: (
|
|
347
|
+
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,
|
|
357
348
|
label: props.text.paymentDaySelectLabel,
|
|
358
349
|
}),
|
|
359
350
|
})),
|
|
360
351
|
h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText),
|
|
361
352
|
h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
|
|
362
|
-
paypalInputSlot: (h("sl-input", Object.assign({ required: true, value: (
|
|
353
|
+
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) && {
|
|
363
354
|
class: "error-input",
|
|
364
355
|
helpText: getValidationErrorMessage({
|
|
365
|
-
type: (
|
|
356
|
+
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,
|
|
366
357
|
label: props.text.payPalInputLabel,
|
|
367
358
|
}),
|
|
368
359
|
})))),
|
|
@@ -382,10 +373,10 @@ export class BankingInfoForm {
|
|
|
382
373
|
"optional": false,
|
|
383
374
|
"docs": {
|
|
384
375
|
"tags": [{
|
|
385
|
-
"text": "
|
|
376
|
+
"text": "Setup progress",
|
|
386
377
|
"name": "uiName"
|
|
387
378
|
}],
|
|
388
|
-
"text": "
|
|
379
|
+
"text": ""
|
|
389
380
|
},
|
|
390
381
|
"attribute": "form-step",
|
|
391
382
|
"reflect": false,
|
|
@@ -403,14 +394,14 @@ export class BankingInfoForm {
|
|
|
403
394
|
"optional": false,
|
|
404
395
|
"docs": {
|
|
405
396
|
"tags": [{
|
|
406
|
-
"text": "
|
|
397
|
+
"text": "Step 4 title",
|
|
407
398
|
"name": "uiName"
|
|
408
399
|
}],
|
|
409
|
-
"text": "
|
|
400
|
+
"text": ""
|
|
410
401
|
},
|
|
411
402
|
"attribute": "tax-and-payouts",
|
|
412
403
|
"reflect": false,
|
|
413
|
-
"defaultValue": "\"
|
|
404
|
+
"defaultValue": "\"Payouts\""
|
|
414
405
|
},
|
|
415
406
|
"taxAndPayoutsDescription": {
|
|
416
407
|
"type": "string",
|
|
@@ -424,10 +415,10 @@ export class BankingInfoForm {
|
|
|
424
415
|
"optional": false,
|
|
425
416
|
"docs": {
|
|
426
417
|
"tags": [{
|
|
427
|
-
"text": "
|
|
418
|
+
"text": "Page description",
|
|
428
419
|
"name": "uiName"
|
|
429
420
|
}],
|
|
430
|
-
"text": "
|
|
421
|
+
"text": "Displayed at the top of the page on all set up steps."
|
|
431
422
|
},
|
|
432
423
|
"attribute": "tax-and-payouts-description",
|
|
433
424
|
"reflect": false,
|
|
@@ -445,10 +436,10 @@ export class BankingInfoForm {
|
|
|
445
436
|
"optional": false,
|
|
446
437
|
"docs": {
|
|
447
438
|
"tags": [{
|
|
448
|
-
"text": "
|
|
439
|
+
"text": "Direct to bank payout option",
|
|
449
440
|
"name": "uiName"
|
|
450
441
|
}],
|
|
451
|
-
"text": "
|
|
442
|
+
"text": ""
|
|
452
443
|
},
|
|
453
444
|
"attribute": "directly-to-bank-account",
|
|
454
445
|
"reflect": false,
|
|
@@ -466,10 +457,10 @@ export class BankingInfoForm {
|
|
|
466
457
|
"optional": false,
|
|
467
458
|
"docs": {
|
|
468
459
|
"tags": [{
|
|
469
|
-
"text": "PayPal option
|
|
460
|
+
"text": "PayPal payout option",
|
|
470
461
|
"name": "uiName"
|
|
471
462
|
}],
|
|
472
|
-
"text": "
|
|
463
|
+
"text": ""
|
|
473
464
|
},
|
|
474
465
|
"attribute": "to-pay-pal-account",
|
|
475
466
|
"reflect": false,
|
|
@@ -487,10 +478,10 @@ export class BankingInfoForm {
|
|
|
487
478
|
"optional": false,
|
|
488
479
|
"docs": {
|
|
489
480
|
"tags": [{
|
|
490
|
-
"text": "
|
|
481
|
+
"text": "Threshold balance payment schedule option",
|
|
491
482
|
"name": "uiName"
|
|
492
483
|
}],
|
|
493
|
-
"text": "
|
|
484
|
+
"text": ""
|
|
494
485
|
},
|
|
495
486
|
"attribute": "payment-schedule-balance-threshold",
|
|
496
487
|
"reflect": false,
|
|
@@ -508,10 +499,10 @@ export class BankingInfoForm {
|
|
|
508
499
|
"optional": false,
|
|
509
500
|
"docs": {
|
|
510
501
|
"tags": [{
|
|
511
|
-
"text": "
|
|
502
|
+
"text": "Fixed day payment schedule option",
|
|
512
503
|
"name": "uiName"
|
|
513
504
|
}],
|
|
514
|
-
"text": "
|
|
505
|
+
"text": ""
|
|
515
506
|
},
|
|
516
507
|
"attribute": "payment-schedule-fixed-day",
|
|
517
508
|
"reflect": false,
|
|
@@ -529,10 +520,10 @@ export class BankingInfoForm {
|
|
|
529
520
|
"optional": false,
|
|
530
521
|
"docs": {
|
|
531
522
|
"tags": [{
|
|
532
|
-
"text": "Payment day
|
|
523
|
+
"text": "Payment day field label",
|
|
533
524
|
"name": "uiName"
|
|
534
525
|
}],
|
|
535
|
-
"text": "
|
|
526
|
+
"text": "Let the participant choose what day of the month they\u2019ll get paid"
|
|
536
527
|
},
|
|
537
528
|
"attribute": "payment-day-select-label",
|
|
538
529
|
"reflect": false,
|
|
@@ -550,10 +541,10 @@ export class BankingInfoForm {
|
|
|
550
541
|
"optional": false,
|
|
551
542
|
"docs": {
|
|
552
543
|
"tags": [{
|
|
553
|
-
"text": "Payment
|
|
544
|
+
"text": "Payment threshold field label",
|
|
554
545
|
"name": "uiName"
|
|
555
546
|
}],
|
|
556
|
-
"text": "
|
|
547
|
+
"text": "Participant use this field to select the balance at which they want to be paid"
|
|
557
548
|
},
|
|
558
549
|
"attribute": "payment-threshold-select-label",
|
|
559
550
|
"reflect": false,
|
|
@@ -571,10 +562,10 @@ export class BankingInfoForm {
|
|
|
571
562
|
"optional": false,
|
|
572
563
|
"docs": {
|
|
573
564
|
"tags": [{
|
|
574
|
-
"text": "First of month
|
|
565
|
+
"text": "First of month payday option",
|
|
575
566
|
"name": "uiName"
|
|
576
567
|
}],
|
|
577
|
-
"text": "
|
|
568
|
+
"text": "One of two payment day options"
|
|
578
569
|
},
|
|
579
570
|
"attribute": "payment-day-first-of-month-label-text",
|
|
580
571
|
"reflect": false,
|
|
@@ -592,7 +583,7 @@ export class BankingInfoForm {
|
|
|
592
583
|
"optional": false,
|
|
593
584
|
"docs": {
|
|
594
585
|
"tags": [{
|
|
595
|
-
"text": "Fifteenth of month
|
|
586
|
+
"text": "Fifteenth of month payday option",
|
|
596
587
|
"name": "uiName"
|
|
597
588
|
}],
|
|
598
589
|
"text": "Label text for the payment day select option for the fifteenth of the month"
|
|
@@ -613,10 +604,10 @@ export class BankingInfoForm {
|
|
|
613
604
|
"optional": false,
|
|
614
605
|
"docs": {
|
|
615
606
|
"tags": [{
|
|
616
|
-
"text": "Payment method
|
|
607
|
+
"text": "Payment method section header",
|
|
617
608
|
"name": "uiName"
|
|
618
609
|
}],
|
|
619
|
-
"text": "
|
|
610
|
+
"text": ""
|
|
620
611
|
},
|
|
621
612
|
"attribute": "payment-method",
|
|
622
613
|
"reflect": false,
|
|
@@ -634,10 +625,10 @@ export class BankingInfoForm {
|
|
|
634
625
|
"optional": false,
|
|
635
626
|
"docs": {
|
|
636
627
|
"tags": [{
|
|
637
|
-
"text": "Payment schedule
|
|
628
|
+
"text": "Payment schedule section header",
|
|
638
629
|
"name": "uiName"
|
|
639
630
|
}],
|
|
640
|
-
"text": "
|
|
631
|
+
"text": ""
|
|
641
632
|
},
|
|
642
633
|
"attribute": "payment-schedule",
|
|
643
634
|
"reflect": false,
|
|
@@ -655,14 +646,14 @@ export class BankingInfoForm {
|
|
|
655
646
|
"optional": false,
|
|
656
647
|
"docs": {
|
|
657
648
|
"tags": [{
|
|
658
|
-
"text": "Payment method
|
|
649
|
+
"text": "Payment method section description",
|
|
659
650
|
"name": "uiName"
|
|
660
651
|
}],
|
|
661
|
-
"text": "
|
|
652
|
+
"text": ""
|
|
662
653
|
},
|
|
663
654
|
"attribute": "payment-method-subtext",
|
|
664
655
|
"reflect": false,
|
|
665
|
-
"defaultValue": "\"Payouts will be sent
|
|
656
|
+
"defaultValue": "\"Payouts will be sent from our referral program provider, impact.com.\""
|
|
666
657
|
},
|
|
667
658
|
"payPalInputLabel": {
|
|
668
659
|
"type": "string",
|
|
@@ -676,10 +667,10 @@ export class BankingInfoForm {
|
|
|
676
667
|
"optional": false,
|
|
677
668
|
"docs": {
|
|
678
669
|
"tags": [{
|
|
679
|
-
"text": "PayPal email
|
|
670
|
+
"text": "PayPal email field label",
|
|
680
671
|
"name": "uiName"
|
|
681
672
|
}],
|
|
682
|
-
"text": "
|
|
673
|
+
"text": "Displayed to participants who choose PayPal as their payout method"
|
|
683
674
|
},
|
|
684
675
|
"attribute": "pay-pal-input-label",
|
|
685
676
|
"reflect": false,
|
|
@@ -697,10 +688,10 @@ export class BankingInfoForm {
|
|
|
697
688
|
"optional": false,
|
|
698
689
|
"docs": {
|
|
699
690
|
"tags": [{
|
|
700
|
-
"text": "Bank country
|
|
691
|
+
"text": "Bank country field label",
|
|
701
692
|
"name": "uiName"
|
|
702
693
|
}],
|
|
703
|
-
"text": "
|
|
694
|
+
"text": ""
|
|
704
695
|
},
|
|
705
696
|
"attribute": "bank-location-label",
|
|
706
697
|
"reflect": false,
|
|
@@ -718,10 +709,10 @@ export class BankingInfoForm {
|
|
|
718
709
|
"optional": false,
|
|
719
710
|
"docs": {
|
|
720
711
|
"tags": [{
|
|
721
|
-
"text": "Beneficiary account
|
|
712
|
+
"text": "Beneficiary account field label",
|
|
722
713
|
"name": "uiName"
|
|
723
714
|
}],
|
|
724
|
-
"text": "
|
|
715
|
+
"text": ""
|
|
725
716
|
},
|
|
726
717
|
"attribute": "beneficiary-account-name-label",
|
|
727
718
|
"reflect": false,
|
|
@@ -739,10 +730,10 @@ export class BankingInfoForm {
|
|
|
739
730
|
"optional": false,
|
|
740
731
|
"docs": {
|
|
741
732
|
"tags": [{
|
|
742
|
-
"text": "Bank account type
|
|
733
|
+
"text": "Bank account type field label",
|
|
743
734
|
"name": "uiName"
|
|
744
735
|
}],
|
|
745
|
-
"text": "
|
|
736
|
+
"text": ""
|
|
746
737
|
},
|
|
747
738
|
"attribute": "bank-account-type-label",
|
|
748
739
|
"reflect": false,
|
|
@@ -760,10 +751,10 @@ export class BankingInfoForm {
|
|
|
760
751
|
"optional": false,
|
|
761
752
|
"docs": {
|
|
762
753
|
"tags": [{
|
|
763
|
-
"text": "Checking
|
|
754
|
+
"text": "Checking account option",
|
|
764
755
|
"name": "uiName"
|
|
765
756
|
}],
|
|
766
|
-
"text": "
|
|
757
|
+
"text": ""
|
|
767
758
|
},
|
|
768
759
|
"attribute": "checking-select-item-label",
|
|
769
760
|
"reflect": false,
|
|
@@ -781,10 +772,10 @@ export class BankingInfoForm {
|
|
|
781
772
|
"optional": false,
|
|
782
773
|
"docs": {
|
|
783
774
|
"tags": [{
|
|
784
|
-
"text": "Savings
|
|
775
|
+
"text": "Savings account options",
|
|
785
776
|
"name": "uiName"
|
|
786
777
|
}],
|
|
787
|
-
"text": "
|
|
778
|
+
"text": ""
|
|
788
779
|
},
|
|
789
780
|
"attribute": "savings-select-item-label",
|
|
790
781
|
"reflect": false,
|
|
@@ -802,10 +793,10 @@ export class BankingInfoForm {
|
|
|
802
793
|
"optional": false,
|
|
803
794
|
"docs": {
|
|
804
795
|
"tags": [{
|
|
805
|
-
"text": "Bank account number
|
|
796
|
+
"text": "Bank account number field label",
|
|
806
797
|
"name": "uiName"
|
|
807
798
|
}],
|
|
808
|
-
"text": "
|
|
799
|
+
"text": ""
|
|
809
800
|
},
|
|
810
801
|
"attribute": "bank-account-number-label",
|
|
811
802
|
"reflect": false,
|
|
@@ -823,10 +814,10 @@ export class BankingInfoForm {
|
|
|
823
814
|
"optional": false,
|
|
824
815
|
"docs": {
|
|
825
816
|
"tags": [{
|
|
826
|
-
"text": "IBAN
|
|
817
|
+
"text": "IBAN field label",
|
|
827
818
|
"name": "uiName"
|
|
828
819
|
}],
|
|
829
|
-
"text": "
|
|
820
|
+
"text": ""
|
|
830
821
|
},
|
|
831
822
|
"attribute": "iban-label",
|
|
832
823
|
"reflect": false,
|
|
@@ -844,10 +835,10 @@ export class BankingInfoForm {
|
|
|
844
835
|
"optional": false,
|
|
845
836
|
"docs": {
|
|
846
837
|
"tags": [{
|
|
847
|
-
"text": "SWIFT code
|
|
838
|
+
"text": "SWIFT code field label",
|
|
848
839
|
"name": "uiName"
|
|
849
840
|
}],
|
|
850
|
-
"text": "
|
|
841
|
+
"text": ""
|
|
851
842
|
},
|
|
852
843
|
"attribute": "swift-code-label",
|
|
853
844
|
"reflect": false,
|
|
@@ -865,14 +856,14 @@ export class BankingInfoForm {
|
|
|
865
856
|
"optional": false,
|
|
866
857
|
"docs": {
|
|
867
858
|
"tags": [{
|
|
868
|
-
"text": "Routing code
|
|
859
|
+
"text": "Routing code field label",
|
|
869
860
|
"name": "uiName"
|
|
870
861
|
}],
|
|
871
|
-
"text": "
|
|
862
|
+
"text": ""
|
|
872
863
|
},
|
|
873
864
|
"attribute": "routing-code-label",
|
|
874
865
|
"reflect": false,
|
|
875
|
-
"defaultValue": "\"{
|
|
866
|
+
"defaultValue": "\"{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }\""
|
|
876
867
|
},
|
|
877
868
|
"bankNameLabel": {
|
|
878
869
|
"type": "string",
|
|
@@ -886,10 +877,10 @@ export class BankingInfoForm {
|
|
|
886
877
|
"optional": false,
|
|
887
878
|
"docs": {
|
|
888
879
|
"tags": [{
|
|
889
|
-
"text": "Bank name
|
|
880
|
+
"text": "Bank name field label",
|
|
890
881
|
"name": "uiName"
|
|
891
882
|
}],
|
|
892
|
-
"text": "
|
|
883
|
+
"text": ""
|
|
893
884
|
},
|
|
894
885
|
"attribute": "bank-name-label",
|
|
895
886
|
"reflect": false,
|
|
@@ -907,10 +898,10 @@ export class BankingInfoForm {
|
|
|
907
898
|
"optional": false,
|
|
908
899
|
"docs": {
|
|
909
900
|
"tags": [{
|
|
910
|
-
"text": "Classification entity
|
|
901
|
+
"text": "Classification entity field label",
|
|
911
902
|
"name": "uiName"
|
|
912
903
|
}],
|
|
913
|
-
"text": "
|
|
904
|
+
"text": ""
|
|
914
905
|
},
|
|
915
906
|
"attribute": "classification-entity-label",
|
|
916
907
|
"reflect": false,
|
|
@@ -928,10 +919,10 @@ export class BankingInfoForm {
|
|
|
928
919
|
"optional": false,
|
|
929
920
|
"docs": {
|
|
930
921
|
"tags": [{
|
|
931
|
-
"text": "Business
|
|
922
|
+
"text": "Business classification option",
|
|
932
923
|
"name": "uiName"
|
|
933
924
|
}],
|
|
934
|
-
"text": "
|
|
925
|
+
"text": "One of three options listed for the classification field"
|
|
935
926
|
},
|
|
936
927
|
"attribute": "business-select-item-label",
|
|
937
928
|
"reflect": false,
|
|
@@ -949,10 +940,10 @@ export class BankingInfoForm {
|
|
|
949
940
|
"optional": false,
|
|
950
941
|
"docs": {
|
|
951
942
|
"tags": [{
|
|
952
|
-
"text": "Individual
|
|
943
|
+
"text": "Individual classification option",
|
|
953
944
|
"name": "uiName"
|
|
954
945
|
}],
|
|
955
|
-
"text": "
|
|
946
|
+
"text": "One of three options listed for the classification field"
|
|
956
947
|
},
|
|
957
948
|
"attribute": "individual-select-item-label",
|
|
958
949
|
"reflect": false,
|
|
@@ -970,10 +961,10 @@ export class BankingInfoForm {
|
|
|
970
961
|
"optional": false,
|
|
971
962
|
"docs": {
|
|
972
963
|
"tags": [{
|
|
973
|
-
"text": "Foreign
|
|
964
|
+
"text": "Foreign classification option",
|
|
974
965
|
"name": "uiName"
|
|
975
966
|
}],
|
|
976
|
-
"text": "
|
|
967
|
+
"text": "One of three options listed for the classification field"
|
|
977
968
|
},
|
|
978
969
|
"attribute": "foreign-select-item-label",
|
|
979
970
|
"reflect": false,
|
|
@@ -991,10 +982,10 @@ export class BankingInfoForm {
|
|
|
991
982
|
"optional": false,
|
|
992
983
|
"docs": {
|
|
993
984
|
"tags": [{
|
|
994
|
-
"text": "Classification CPF
|
|
985
|
+
"text": "Classification CPF field label",
|
|
995
986
|
"name": "uiName"
|
|
996
987
|
}],
|
|
997
|
-
"text": "
|
|
988
|
+
"text": ""
|
|
998
989
|
},
|
|
999
990
|
"attribute": "classification-c-p-f-label",
|
|
1000
991
|
"reflect": false,
|
|
@@ -1012,10 +1003,10 @@ export class BankingInfoForm {
|
|
|
1012
1003
|
"optional": false,
|
|
1013
1004
|
"docs": {
|
|
1014
1005
|
"tags": [{
|
|
1015
|
-
"text": "Patronymic name
|
|
1006
|
+
"text": "Patronymic name field label",
|
|
1016
1007
|
"name": "uiName"
|
|
1017
1008
|
}],
|
|
1018
|
-
"text": "
|
|
1009
|
+
"text": ""
|
|
1019
1010
|
},
|
|
1020
1011
|
"attribute": "patronymic-name-label",
|
|
1021
1012
|
"reflect": false,
|
|
@@ -1033,10 +1024,10 @@ export class BankingInfoForm {
|
|
|
1033
1024
|
"optional": false,
|
|
1034
1025
|
"docs": {
|
|
1035
1026
|
"tags": [{
|
|
1036
|
-
"text": "VO code
|
|
1027
|
+
"text": "VO code field label",
|
|
1037
1028
|
"name": "uiName"
|
|
1038
1029
|
}],
|
|
1039
|
-
"text": "
|
|
1030
|
+
"text": ""
|
|
1040
1031
|
},
|
|
1041
1032
|
"attribute": "vo-code-label",
|
|
1042
1033
|
"reflect": false,
|
|
@@ -1054,10 +1045,10 @@ export class BankingInfoForm {
|
|
|
1054
1045
|
"optional": false,
|
|
1055
1046
|
"docs": {
|
|
1056
1047
|
"tags": [{
|
|
1057
|
-
"text": "Agency code
|
|
1048
|
+
"text": "Agency code field label",
|
|
1058
1049
|
"name": "uiName"
|
|
1059
1050
|
}],
|
|
1060
|
-
"text": "
|
|
1051
|
+
"text": ""
|
|
1061
1052
|
},
|
|
1062
1053
|
"attribute": "agency-code-label",
|
|
1063
1054
|
"reflect": false,
|
|
@@ -1075,10 +1066,10 @@ export class BankingInfoForm {
|
|
|
1075
1066
|
"optional": false,
|
|
1076
1067
|
"docs": {
|
|
1077
1068
|
"tags": [{
|
|
1078
|
-
"text": "Branch code
|
|
1069
|
+
"text": "Branch code field label",
|
|
1079
1070
|
"name": "uiName"
|
|
1080
1071
|
}],
|
|
1081
|
-
"text": "
|
|
1072
|
+
"text": ""
|
|
1082
1073
|
},
|
|
1083
1074
|
"attribute": "branch-code-label",
|
|
1084
1075
|
"reflect": false,
|
|
@@ -1096,7 +1087,7 @@ export class BankingInfoForm {
|
|
|
1096
1087
|
"optional": false,
|
|
1097
1088
|
"docs": {
|
|
1098
1089
|
"tags": [{
|
|
1099
|
-
"text": "Classification
|
|
1090
|
+
"text": "Classification field label",
|
|
1100
1091
|
"name": "uiName"
|
|
1101
1092
|
}],
|
|
1102
1093
|
"text": "Label text for the classification input field"
|
|
@@ -1117,10 +1108,10 @@ export class BankingInfoForm {
|
|
|
1117
1108
|
"optional": false,
|
|
1118
1109
|
"docs": {
|
|
1119
1110
|
"tags": [{
|
|
1120
|
-
"text": "Taxpayer ID
|
|
1111
|
+
"text": "Taxpayer ID field label",
|
|
1121
1112
|
"name": "uiName"
|
|
1122
1113
|
}],
|
|
1123
|
-
"text": "
|
|
1114
|
+
"text": ""
|
|
1124
1115
|
},
|
|
1125
1116
|
"attribute": "tax-payer-id-label",
|
|
1126
1117
|
"reflect": false,
|
|
@@ -1138,10 +1129,10 @@ export class BankingInfoForm {
|
|
|
1138
1129
|
"optional": false,
|
|
1139
1130
|
"docs": {
|
|
1140
1131
|
"tags": [{
|
|
1141
|
-
"text": "Bank
|
|
1132
|
+
"text": "Bank address field label",
|
|
1142
1133
|
"name": "uiName"
|
|
1143
1134
|
}],
|
|
1144
|
-
"text": "
|
|
1135
|
+
"text": ""
|
|
1145
1136
|
},
|
|
1146
1137
|
"attribute": "bank-address-label",
|
|
1147
1138
|
"reflect": false,
|
|
@@ -1159,10 +1150,10 @@ export class BankingInfoForm {
|
|
|
1159
1150
|
"optional": false,
|
|
1160
1151
|
"docs": {
|
|
1161
1152
|
"tags": [{
|
|
1162
|
-
"text": "Bank
|
|
1153
|
+
"text": "Bank city field label",
|
|
1163
1154
|
"name": "uiName"
|
|
1164
1155
|
}],
|
|
1165
|
-
"text": "
|
|
1156
|
+
"text": ""
|
|
1166
1157
|
},
|
|
1167
1158
|
"attribute": "bank-city-label",
|
|
1168
1159
|
"reflect": false,
|
|
@@ -1180,10 +1171,10 @@ export class BankingInfoForm {
|
|
|
1180
1171
|
"optional": false,
|
|
1181
1172
|
"docs": {
|
|
1182
1173
|
"tags": [{
|
|
1183
|
-
"text": "Bank
|
|
1174
|
+
"text": "Bank province/state field label",
|
|
1184
1175
|
"name": "uiName"
|
|
1185
1176
|
}],
|
|
1186
|
-
"text": "
|
|
1177
|
+
"text": ""
|
|
1187
1178
|
},
|
|
1188
1179
|
"attribute": "bank-state-label",
|
|
1189
1180
|
"reflect": false,
|
|
@@ -1201,10 +1192,10 @@ export class BankingInfoForm {
|
|
|
1201
1192
|
"optional": false,
|
|
1202
1193
|
"docs": {
|
|
1203
1194
|
"tags": [{
|
|
1204
|
-
"text": "Bank
|
|
1195
|
+
"text": "Bank postal code field label",
|
|
1205
1196
|
"name": "uiName"
|
|
1206
1197
|
}],
|
|
1207
|
-
"text": "
|
|
1198
|
+
"text": ""
|
|
1208
1199
|
},
|
|
1209
1200
|
"attribute": "bank-postal-code-label",
|
|
1210
1201
|
"reflect": false,
|
|
@@ -1222,10 +1213,10 @@ export class BankingInfoForm {
|
|
|
1222
1213
|
"optional": false,
|
|
1223
1214
|
"docs": {
|
|
1224
1215
|
"tags": [{
|
|
1225
|
-
"text": "EFT
|
|
1216
|
+
"text": "EFT withdrawal payment method",
|
|
1226
1217
|
"name": "uiName"
|
|
1227
1218
|
}],
|
|
1228
|
-
"text": ""
|
|
1219
|
+
"text": "Default payment method to the participants\u2019 bank account."
|
|
1229
1220
|
},
|
|
1230
1221
|
"attribute": "eft-withdrawal-label",
|
|
1231
1222
|
"reflect": false,
|
|
@@ -1252,6 +1243,27 @@ export class BankingInfoForm {
|
|
|
1252
1243
|
"reflect": false,
|
|
1253
1244
|
"defaultValue": "\"FX Wire (Processing Fee {currency}{defaultFxFee}.00)\""
|
|
1254
1245
|
},
|
|
1246
|
+
"searchForCountryText": {
|
|
1247
|
+
"type": "string",
|
|
1248
|
+
"mutable": false,
|
|
1249
|
+
"complexType": {
|
|
1250
|
+
"original": "string",
|
|
1251
|
+
"resolved": "string",
|
|
1252
|
+
"references": {}
|
|
1253
|
+
},
|
|
1254
|
+
"required": false,
|
|
1255
|
+
"optional": false,
|
|
1256
|
+
"docs": {
|
|
1257
|
+
"tags": [{
|
|
1258
|
+
"text": "Country field placeholder text",
|
|
1259
|
+
"name": "uiName"
|
|
1260
|
+
}],
|
|
1261
|
+
"text": "Placeholder text displayed in the country search dropdown"
|
|
1262
|
+
},
|
|
1263
|
+
"attribute": "search-for-country-text",
|
|
1264
|
+
"reflect": false,
|
|
1265
|
+
"defaultValue": "\"Search for country..\""
|
|
1266
|
+
},
|
|
1255
1267
|
"isPartnerAlertHeader": {
|
|
1256
1268
|
"type": "string",
|
|
1257
1269
|
"mutable": false,
|
|
@@ -1264,10 +1276,13 @@ export class BankingInfoForm {
|
|
|
1264
1276
|
"optional": false,
|
|
1265
1277
|
"docs": {
|
|
1266
1278
|
"tags": [{
|
|
1267
|
-
"text": "
|
|
1279
|
+
"text": "Participant is a partner alert title",
|
|
1268
1280
|
"name": "uiName"
|
|
1281
|
+
}, {
|
|
1282
|
+
"text": "textArea",
|
|
1283
|
+
"name": "uiWidget"
|
|
1269
1284
|
}],
|
|
1270
|
-
"text": "
|
|
1285
|
+
"text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
|
|
1271
1286
|
},
|
|
1272
1287
|
"attribute": "is-partner-alert-header",
|
|
1273
1288
|
"reflect": false,
|
|
@@ -1285,10 +1300,13 @@ export class BankingInfoForm {
|
|
|
1285
1300
|
"optional": false,
|
|
1286
1301
|
"docs": {
|
|
1287
1302
|
"tags": [{
|
|
1288
|
-
"text": "
|
|
1303
|
+
"text": "Participant is a partner alert description",
|
|
1289
1304
|
"name": "uiName"
|
|
1305
|
+
}, {
|
|
1306
|
+
"text": "textArea",
|
|
1307
|
+
"name": "uiWidget"
|
|
1290
1308
|
}],
|
|
1291
|
-
"text": "
|
|
1309
|
+
"text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
|
|
1292
1310
|
},
|
|
1293
1311
|
"attribute": "is-partner-alert-description",
|
|
1294
1312
|
"reflect": false,
|
|
@@ -1306,10 +1324,13 @@ export class BankingInfoForm {
|
|
|
1306
1324
|
"optional": false,
|
|
1307
1325
|
"docs": {
|
|
1308
1326
|
"tags": [{
|
|
1309
|
-
"text": "
|
|
1327
|
+
"text": "Form submission error message title",
|
|
1310
1328
|
"name": "uiName"
|
|
1329
|
+
}, {
|
|
1330
|
+
"text": "textArea",
|
|
1331
|
+
"name": "uiWidget"
|
|
1311
1332
|
}],
|
|
1312
|
-
"text": "
|
|
1333
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
1313
1334
|
},
|
|
1314
1335
|
"attribute": "general-error-title",
|
|
1315
1336
|
"reflect": false,
|
|
@@ -1327,10 +1348,13 @@ export class BankingInfoForm {
|
|
|
1327
1348
|
"optional": false,
|
|
1328
1349
|
"docs": {
|
|
1329
1350
|
"tags": [{
|
|
1330
|
-
"text": "
|
|
1351
|
+
"text": "Form submission error message description",
|
|
1331
1352
|
"name": "uiName"
|
|
1353
|
+
}, {
|
|
1354
|
+
"text": "textArea",
|
|
1355
|
+
"name": "uiWidget"
|
|
1332
1356
|
}],
|
|
1333
|
-
"text": "
|
|
1357
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
1334
1358
|
},
|
|
1335
1359
|
"attribute": "general-error-description",
|
|
1336
1360
|
"reflect": false,
|
|
@@ -1348,10 +1372,10 @@ export class BankingInfoForm {
|
|
|
1348
1372
|
"optional": false,
|
|
1349
1373
|
"docs": {
|
|
1350
1374
|
"tags": [{
|
|
1351
|
-
"text": "
|
|
1375
|
+
"text": "Empty form field error message",
|
|
1352
1376
|
"name": "uiName"
|
|
1353
1377
|
}],
|
|
1354
|
-
"text": "
|
|
1378
|
+
"text": "Displayed under a field that is missing required information."
|
|
1355
1379
|
},
|
|
1356
1380
|
"attribute": "field-required-error",
|
|
1357
1381
|
"reflect": false,
|
|
@@ -1369,10 +1393,10 @@ export class BankingInfoForm {
|
|
|
1369
1393
|
"optional": false,
|
|
1370
1394
|
"docs": {
|
|
1371
1395
|
"tags": [{
|
|
1372
|
-
"text": "
|
|
1396
|
+
"text": "Form field error message",
|
|
1373
1397
|
"name": "uiName"
|
|
1374
1398
|
}],
|
|
1375
|
-
"text": "
|
|
1399
|
+
"text": "Displayed under a field when it has an invalid entry."
|
|
1376
1400
|
},
|
|
1377
1401
|
"attribute": "field-invalid-error",
|
|
1378
1402
|
"reflect": false,
|
|
@@ -1390,10 +1414,10 @@ export class BankingInfoForm {
|
|
|
1390
1414
|
"optional": false,
|
|
1391
1415
|
"docs": {
|
|
1392
1416
|
"tags": [{
|
|
1393
|
-
"text": "
|
|
1417
|
+
"text": "Continue button label",
|
|
1394
1418
|
"name": "uiName"
|
|
1395
1419
|
}],
|
|
1396
|
-
"text": "
|
|
1420
|
+
"text": ""
|
|
1397
1421
|
},
|
|
1398
1422
|
"attribute": "continue-button",
|
|
1399
1423
|
"reflect": false,
|
|
@@ -1411,14 +1435,14 @@ export class BankingInfoForm {
|
|
|
1411
1435
|
"optional": false,
|
|
1412
1436
|
"docs": {
|
|
1413
1437
|
"tags": [{
|
|
1414
|
-
"text": "Back button
|
|
1438
|
+
"text": "Back button label",
|
|
1415
1439
|
"name": "uiName"
|
|
1416
1440
|
}],
|
|
1417
1441
|
"text": "Text for the back button in the form"
|
|
1418
1442
|
},
|
|
1419
1443
|
"attribute": "back-button",
|
|
1420
1444
|
"reflect": false,
|
|
1421
|
-
"defaultValue": "\"
|
|
1445
|
+
"defaultValue": "\"Back\""
|
|
1422
1446
|
},
|
|
1423
1447
|
"loadingErrorAlertHeader": {
|
|
1424
1448
|
"type": "string",
|
|
@@ -1432,10 +1456,13 @@ export class BankingInfoForm {
|
|
|
1432
1456
|
"optional": false,
|
|
1433
1457
|
"docs": {
|
|
1434
1458
|
"tags": [{
|
|
1435
|
-
"text": "
|
|
1459
|
+
"text": "Page load error message title",
|
|
1436
1460
|
"name": "uiName"
|
|
1461
|
+
}, {
|
|
1462
|
+
"text": "textArea",
|
|
1463
|
+
"name": "uiWidget"
|
|
1437
1464
|
}],
|
|
1438
|
-
"text": "
|
|
1465
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
1439
1466
|
},
|
|
1440
1467
|
"attribute": "loading-error-alert-header",
|
|
1441
1468
|
"reflect": false,
|
|
@@ -1453,10 +1480,13 @@ export class BankingInfoForm {
|
|
|
1453
1480
|
"optional": false,
|
|
1454
1481
|
"docs": {
|
|
1455
1482
|
"tags": [{
|
|
1456
|
-
"text": "
|
|
1483
|
+
"text": "Page load error message description",
|
|
1457
1484
|
"name": "uiName"
|
|
1485
|
+
}, {
|
|
1486
|
+
"text": "textArea",
|
|
1487
|
+
"name": "uiWidget"
|
|
1458
1488
|
}],
|
|
1459
|
-
"text": "
|
|
1489
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
1460
1490
|
},
|
|
1461
1491
|
"attribute": "loading-error-alert-description",
|
|
1462
1492
|
"reflect": false,
|
|
@@ -1467,7 +1497,7 @@ export class BankingInfoForm {
|
|
|
1467
1497
|
"mutable": false,
|
|
1468
1498
|
"complexType": {
|
|
1469
1499
|
"original": "DemoData<BankingInfoFormViewProps>",
|
|
1470
|
-
"resolved": "{ states?: { 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?: {
|
|
1500
|
+
"resolved": "{ states?: { 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; }; }",
|
|
1471
1501
|
"references": {
|
|
1472
1502
|
"DemoData": {
|
|
1473
1503
|
"location": "import",
|
|
@@ -1503,7 +1533,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1503
1533
|
const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
|
|
1504
1534
|
const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
|
|
1505
1535
|
const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
|
|
1506
|
-
const
|
|
1536
|
+
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
1507
1537
|
const [paymentMethodChecked, setPaymentMethodChecked] = useState(undefined);
|
|
1508
1538
|
const [paymentScheduleChecked, setPaymentScheduleChecked] = useState(undefined);
|
|
1509
1539
|
const [currency, setCurrency] = useState(defaultCurrency);
|
|
@@ -1515,13 +1545,6 @@ function useDemoBankingInfoForm(props) {
|
|
|
1515
1545
|
});
|
|
1516
1546
|
const bitset = (currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.withdrawalSettingId) || ((_p = (_o = props.demoData) === null || _o === void 0 ? void 0 : _o.states) === null || _p === void 0 ? void 0 : _p.bitset) ||
|
|
1517
1547
|
0;
|
|
1518
|
-
console.log("demo hook", {
|
|
1519
|
-
demoData: props.demoData,
|
|
1520
|
-
currentPaymentOption,
|
|
1521
|
-
currency,
|
|
1522
|
-
bankCountry,
|
|
1523
|
-
bitset,
|
|
1524
|
-
});
|
|
1525
1548
|
useEffect(() => {
|
|
1526
1549
|
if (defaultPaymentMethodChecked !== paymentMethodChecked)
|
|
1527
1550
|
setPaymentMethodChecked(defaultPaymentMethodChecked);
|
|
@@ -1591,7 +1614,8 @@ function useDemoBankingInfoForm(props) {
|
|
|
1591
1614
|
setBankCountry,
|
|
1592
1615
|
setPaymentMethodChecked,
|
|
1593
1616
|
setPaymentScheduleChecked,
|
|
1594
|
-
|
|
1617
|
+
setCountrySearch: () => { },
|
|
1618
|
+
onBack: async () => setStep("/dashboard"),
|
|
1595
1619
|
},
|
|
1596
1620
|
text: props.getTextProps(),
|
|
1597
1621
|
refs: {
|