@saasquatch/mint-components 1.8.0-98 → 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-indirect-tax-form/sqm-indirect-tax-form.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { isDemo, useSetParent } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { useState } from "@saasquatch/universal-hooks";
|
|
4
4
|
import { Component, Host, Prop, h } from "@stencil/core";
|
|
5
5
|
import deepmerge from "deepmerge";
|
|
6
6
|
import { getProps } from "../../../utils/utils";
|
|
7
|
+
import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
7
8
|
import { OtherRegionSlotView } from "../sqm-user-info-form/small-views/IndirectTaxDetailsView";
|
|
9
|
+
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
8
10
|
import { IndirectTaxFormView } from "./sqm-indirect-tax-form-view";
|
|
9
11
|
import { useIndirectTaxForm, } from "./useIndirectTaxForm";
|
|
10
|
-
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
11
|
-
import { useParent } from "../../../utils/useParentState";
|
|
12
|
-
import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
13
12
|
/**
|
|
14
13
|
* @uiName Indirect Tax Form
|
|
15
14
|
* @exampleGroup Tax and Cash Components
|
|
@@ -17,150 +16,150 @@ import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
|
17
16
|
export class IndirectTaxForm {
|
|
18
17
|
constructor() {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @uiName Form step text
|
|
19
|
+
* @uiName Setup progress
|
|
22
20
|
*/
|
|
23
21
|
this.formStep = "Step {step} of {count}";
|
|
24
22
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @uiName Indirect tax heading text
|
|
23
|
+
* @uiName Step 2 title
|
|
27
24
|
*/
|
|
28
25
|
this.indirectTax = "Indirect Tax";
|
|
29
26
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @uiName
|
|
27
|
+
* Displayed under the title of this step.
|
|
28
|
+
* @uiName Step 2 description
|
|
29
|
+
* @uiWidget textArea
|
|
32
30
|
*/
|
|
33
|
-
this.indirectTaxDescription = "Indirect taxes (e.g. VAT, HST, GST) are
|
|
31
|
+
this.indirectTaxDescription = "Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";
|
|
34
32
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @uiName Indirect tax details
|
|
33
|
+
* Displayed with indirect tax registration options.
|
|
34
|
+
* @uiName Indirect tax details section title
|
|
37
35
|
*/
|
|
38
36
|
this.indirectTaxDetails = "Indirect tax details";
|
|
39
37
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @
|
|
42
|
-
*/
|
|
43
|
-
this.indirectTaxDetailsDescription = "Participants representing businesses based in countries that enforce indirect taxes (e.g. VAT, HST, GST) must add their indirect tax details to stay tax compliant.";
|
|
44
|
-
/**
|
|
45
|
-
* Text for the option indicating registration for indirect tax
|
|
46
|
-
* @uiName Registered for indirect tax option text
|
|
38
|
+
* @uiName Registered for indirect tax option
|
|
39
|
+
* @uiWidget textArea
|
|
47
40
|
*/
|
|
48
41
|
this.otherRegion = "Registered for indirect tax";
|
|
49
42
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @uiName Registered for indirect tax
|
|
43
|
+
* Selecting this option will display fields to enter indirect tax details.
|
|
44
|
+
* @uiName Registered for indirect tax option description
|
|
52
45
|
*/
|
|
53
|
-
this.otherRegionSubtext = "If you
|
|
46
|
+
this.otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
|
|
54
47
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @
|
|
48
|
+
* @uiName Not registered for indirect tax option
|
|
49
|
+
* @uiWidget textArea
|
|
57
50
|
*/
|
|
58
51
|
this.notRegistered = "Not registered for indirect tax";
|
|
59
52
|
/**
|
|
60
|
-
*
|
|
61
|
-
* @uiName Not registered for indirect tax option
|
|
53
|
+
* Participants based in the US are considered not registered.
|
|
54
|
+
* @uiName Not registered for indirect tax option description
|
|
62
55
|
*/
|
|
63
|
-
this.notRegisteredSubtext = "If you’
|
|
56
|
+
this.notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
|
|
64
57
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @uiName Selected country/region label
|
|
58
|
+
* @uiName Region of indirect tax field label
|
|
67
59
|
*/
|
|
68
60
|
this.selectedRegion = "Country / region of indirect tax";
|
|
69
61
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @uiName Province input label
|
|
62
|
+
* @uiName Province field label
|
|
72
63
|
*/
|
|
73
64
|
this.province = "Province";
|
|
74
65
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @uiName Indirect tax number input label
|
|
66
|
+
* @uiName Indirect tax number field label
|
|
77
67
|
*/
|
|
78
68
|
this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
79
69
|
/**
|
|
80
|
-
*
|
|
81
|
-
* @uiName QST number
|
|
70
|
+
* Displayed to participants registered for QST.
|
|
71
|
+
* @uiName QST number field label
|
|
82
72
|
*/
|
|
83
73
|
this.qstNumber = "QST number";
|
|
84
74
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @uiName
|
|
75
|
+
* Displayed to participants registered for indirect tax in Quebec, Canada.
|
|
76
|
+
* @uiName QST tax checkbox
|
|
87
77
|
*/
|
|
88
78
|
this.isRegisteredQST = "I am registered for QST Tax";
|
|
89
79
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @uiName
|
|
80
|
+
* Displayed to participants registered for indirect tax in Spain.
|
|
81
|
+
* @uiName Spain income tax checkbox
|
|
82
|
+
* @uiWidget textArea
|
|
92
83
|
*/
|
|
93
84
|
this.isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
|
|
94
85
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @uiName Sub-region
|
|
86
|
+
* Displayed to participants registered in Spain.
|
|
87
|
+
* @uiName Sub-region of indirect tax field label
|
|
97
88
|
*/
|
|
98
89
|
this.subRegion = "Sub-region";
|
|
99
90
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @uiName Sub-region tax number input label
|
|
91
|
+
* @uiName Income tax field label
|
|
102
92
|
*/
|
|
103
93
|
this.subRegionTaxNumberLabel = "Income tax number";
|
|
104
94
|
/**
|
|
105
|
-
*
|
|
106
|
-
* @uiName Back button text
|
|
95
|
+
* @uiName Back button label
|
|
107
96
|
*/
|
|
108
97
|
this.backButton = "Back";
|
|
109
98
|
/**
|
|
110
|
-
*
|
|
111
|
-
* @uiName
|
|
99
|
+
* Communicate that after this step, only Support can change personal and indirect tax information.
|
|
100
|
+
* @uiName Submission confirmation alert
|
|
101
|
+
* @uiWidget textArea
|
|
112
102
|
*/
|
|
113
103
|
this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.";
|
|
114
104
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @uiName Indirect tax number error message
|
|
105
|
+
* @uiName Missing indirect tax number error message
|
|
117
106
|
*/
|
|
118
107
|
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";
|
|
119
108
|
/**
|
|
120
109
|
* Placeholder text displayed in the country search dropdown
|
|
121
|
-
* @uiName
|
|
110
|
+
* @uiName Country field placeholder text
|
|
122
111
|
*/
|
|
123
112
|
this.searchForCountryText = "Search for country..";
|
|
124
113
|
/**
|
|
125
|
-
*
|
|
126
|
-
* @uiName
|
|
114
|
+
* Displayed under a field that is missing required information.
|
|
115
|
+
* @uiName Empty form field error message
|
|
127
116
|
*/
|
|
128
117
|
this.fieldRequiredError = "{fieldName} is required";
|
|
129
118
|
/**
|
|
130
|
-
*
|
|
131
|
-
* @uiName
|
|
119
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
120
|
+
* @uiName Participant is a partner alert title
|
|
121
|
+
* @uiWidget textArea
|
|
132
122
|
*/
|
|
133
123
|
this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
|
|
134
124
|
/**
|
|
135
|
-
*
|
|
136
|
-
* @uiName
|
|
125
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
126
|
+
* @uiName Participant is a partner alert description
|
|
127
|
+
* @uiWidget textArea
|
|
137
128
|
*/
|
|
138
129
|
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
|
|
139
130
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @uiName Continue button text
|
|
131
|
+
* @uiName Continue button label
|
|
142
132
|
*/
|
|
143
133
|
this.continueButton = "Continue";
|
|
144
134
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @uiName
|
|
135
|
+
* Part of the alert displayed at the top of the page.
|
|
136
|
+
* @uiName Form submission error message title
|
|
137
|
+
* @uiWidget textArea
|
|
147
138
|
*/
|
|
148
139
|
this.generalErrorTitle = "There was a problem submitting your information";
|
|
149
140
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @uiName
|
|
141
|
+
* Part of the alert displayed at the top of the page.
|
|
142
|
+
* @uiName Form submission error message description
|
|
143
|
+
* @uiWidget textArea
|
|
152
144
|
*/
|
|
153
145
|
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
|
|
154
146
|
/**
|
|
155
|
-
*
|
|
156
|
-
* @uiName
|
|
147
|
+
* Part of the alert displayed at the top of the page.
|
|
148
|
+
* @uiName Page load error message title
|
|
149
|
+
* @uiWidget textArea
|
|
157
150
|
*/
|
|
158
151
|
this.loadingErrorAlertHeader = "There was a problem loading your form";
|
|
159
152
|
/**
|
|
160
|
-
*
|
|
161
|
-
* @uiName
|
|
153
|
+
* Part of the alert displayed at the top of the page.
|
|
154
|
+
* @uiName Page load error message description
|
|
155
|
+
* @uiWidget textArea
|
|
162
156
|
*/
|
|
163
157
|
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
|
|
158
|
+
/**
|
|
159
|
+
* Displayed at the top of the page on all set up steps.
|
|
160
|
+
* @uiName Page description
|
|
161
|
+
*/
|
|
162
|
+
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
164
163
|
withHooks(this);
|
|
165
164
|
}
|
|
166
165
|
disconnectedCallback() { }
|
|
@@ -201,6 +200,7 @@ export class IndirectTaxForm {
|
|
|
201
200
|
disabled: props.states.disabled || props.states.isPartner,
|
|
202
201
|
formState: props.slotProps.formState,
|
|
203
202
|
loading: props.states.loading,
|
|
203
|
+
isPartner: props.states.isPartner,
|
|
204
204
|
}, callbacks: props.callbacks, data: {
|
|
205
205
|
esRegions: props.data.esRegions,
|
|
206
206
|
countries: props.data.countries,
|
|
@@ -227,10 +227,10 @@ export class IndirectTaxForm {
|
|
|
227
227
|
"optional": false,
|
|
228
228
|
"docs": {
|
|
229
229
|
"tags": [{
|
|
230
|
-
"text": "
|
|
230
|
+
"text": "Setup progress",
|
|
231
231
|
"name": "uiName"
|
|
232
232
|
}],
|
|
233
|
-
"text": "
|
|
233
|
+
"text": ""
|
|
234
234
|
},
|
|
235
235
|
"attribute": "form-step",
|
|
236
236
|
"reflect": false,
|
|
@@ -248,10 +248,10 @@ export class IndirectTaxForm {
|
|
|
248
248
|
"optional": false,
|
|
249
249
|
"docs": {
|
|
250
250
|
"tags": [{
|
|
251
|
-
"text": "
|
|
251
|
+
"text": "Step 2 title",
|
|
252
252
|
"name": "uiName"
|
|
253
253
|
}],
|
|
254
|
-
"text": "
|
|
254
|
+
"text": ""
|
|
255
255
|
},
|
|
256
256
|
"attribute": "indirect-tax",
|
|
257
257
|
"reflect": false,
|
|
@@ -269,14 +269,17 @@ export class IndirectTaxForm {
|
|
|
269
269
|
"optional": false,
|
|
270
270
|
"docs": {
|
|
271
271
|
"tags": [{
|
|
272
|
-
"text": "
|
|
272
|
+
"text": "Step 2 description",
|
|
273
273
|
"name": "uiName"
|
|
274
|
+
}, {
|
|
275
|
+
"text": "textArea",
|
|
276
|
+
"name": "uiWidget"
|
|
274
277
|
}],
|
|
275
|
-
"text": "
|
|
278
|
+
"text": "Displayed under the title of this step."
|
|
276
279
|
},
|
|
277
280
|
"attribute": "indirect-tax-description",
|
|
278
281
|
"reflect": false,
|
|
279
|
-
"defaultValue": "\"Indirect taxes (e.g. VAT, HST, GST) are
|
|
282
|
+
"defaultValue": "\"Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.\""
|
|
280
283
|
},
|
|
281
284
|
"indirectTaxDetails": {
|
|
282
285
|
"type": "string",
|
|
@@ -290,36 +293,15 @@ export class IndirectTaxForm {
|
|
|
290
293
|
"optional": false,
|
|
291
294
|
"docs": {
|
|
292
295
|
"tags": [{
|
|
293
|
-
"text": "Indirect tax details
|
|
296
|
+
"text": "Indirect tax details section title",
|
|
294
297
|
"name": "uiName"
|
|
295
298
|
}],
|
|
296
|
-
"text": "
|
|
299
|
+
"text": "Displayed with indirect tax registration options."
|
|
297
300
|
},
|
|
298
301
|
"attribute": "indirect-tax-details",
|
|
299
302
|
"reflect": false,
|
|
300
303
|
"defaultValue": "\"Indirect tax details\""
|
|
301
304
|
},
|
|
302
|
-
"indirectTaxDetailsDescription": {
|
|
303
|
-
"type": "string",
|
|
304
|
-
"mutable": false,
|
|
305
|
-
"complexType": {
|
|
306
|
-
"original": "string",
|
|
307
|
-
"resolved": "string",
|
|
308
|
-
"references": {}
|
|
309
|
-
},
|
|
310
|
-
"required": false,
|
|
311
|
-
"optional": false,
|
|
312
|
-
"docs": {
|
|
313
|
-
"tags": [{
|
|
314
|
-
"text": "Indirect tax details subtext",
|
|
315
|
-
"name": "uiName"
|
|
316
|
-
}],
|
|
317
|
-
"text": "Text shown below the indirect tax details heading text"
|
|
318
|
-
},
|
|
319
|
-
"attribute": "indirect-tax-details-description",
|
|
320
|
-
"reflect": false,
|
|
321
|
-
"defaultValue": "\"Participants representing businesses based in countries that enforce indirect taxes (e.g. VAT, HST, GST) must add their indirect tax details to stay tax compliant.\""
|
|
322
|
-
},
|
|
323
305
|
"otherRegion": {
|
|
324
306
|
"type": "string",
|
|
325
307
|
"mutable": false,
|
|
@@ -332,10 +314,13 @@ export class IndirectTaxForm {
|
|
|
332
314
|
"optional": false,
|
|
333
315
|
"docs": {
|
|
334
316
|
"tags": [{
|
|
335
|
-
"text": "Registered for indirect tax option
|
|
317
|
+
"text": "Registered for indirect tax option",
|
|
336
318
|
"name": "uiName"
|
|
319
|
+
}, {
|
|
320
|
+
"text": "textArea",
|
|
321
|
+
"name": "uiWidget"
|
|
337
322
|
}],
|
|
338
|
-
"text": "
|
|
323
|
+
"text": ""
|
|
339
324
|
},
|
|
340
325
|
"attribute": "other-region",
|
|
341
326
|
"reflect": false,
|
|
@@ -353,14 +338,14 @@ export class IndirectTaxForm {
|
|
|
353
338
|
"optional": false,
|
|
354
339
|
"docs": {
|
|
355
340
|
"tags": [{
|
|
356
|
-
"text": "Registered for indirect tax
|
|
341
|
+
"text": "Registered for indirect tax option description",
|
|
357
342
|
"name": "uiName"
|
|
358
343
|
}],
|
|
359
|
-
"text": "
|
|
344
|
+
"text": "Selecting this option will display fields to enter indirect tax details."
|
|
360
345
|
},
|
|
361
346
|
"attribute": "other-region-subtext",
|
|
362
347
|
"reflect": false,
|
|
363
|
-
"defaultValue": "\"If you
|
|
348
|
+
"defaultValue": "\"If you\u2019ve registered with your tax authority, add your information to stay tax compliant.\""
|
|
364
349
|
},
|
|
365
350
|
"notRegistered": {
|
|
366
351
|
"type": "string",
|
|
@@ -374,10 +359,13 @@ export class IndirectTaxForm {
|
|
|
374
359
|
"optional": false,
|
|
375
360
|
"docs": {
|
|
376
361
|
"tags": [{
|
|
377
|
-
"text": "Not registered for indirect tax option
|
|
362
|
+
"text": "Not registered for indirect tax option",
|
|
378
363
|
"name": "uiName"
|
|
364
|
+
}, {
|
|
365
|
+
"text": "textArea",
|
|
366
|
+
"name": "uiWidget"
|
|
379
367
|
}],
|
|
380
|
-
"text": "
|
|
368
|
+
"text": ""
|
|
381
369
|
},
|
|
382
370
|
"attribute": "not-registered",
|
|
383
371
|
"reflect": false,
|
|
@@ -395,14 +383,14 @@ export class IndirectTaxForm {
|
|
|
395
383
|
"optional": false,
|
|
396
384
|
"docs": {
|
|
397
385
|
"tags": [{
|
|
398
|
-
"text": "Not registered for indirect tax option
|
|
386
|
+
"text": "Not registered for indirect tax option description",
|
|
399
387
|
"name": "uiName"
|
|
400
388
|
}],
|
|
401
|
-
"text": "
|
|
389
|
+
"text": "Participants based in the US are considered not registered."
|
|
402
390
|
},
|
|
403
391
|
"attribute": "not-registered-subtext",
|
|
404
392
|
"reflect": false,
|
|
405
|
-
"defaultValue": "\"If you\
|
|
393
|
+
"defaultValue": "\"If you\u2019ve never set up indirect tax with your tax authority, then you\u2019re likely not considered registered.\""
|
|
406
394
|
},
|
|
407
395
|
"selectedRegion": {
|
|
408
396
|
"type": "string",
|
|
@@ -416,10 +404,10 @@ export class IndirectTaxForm {
|
|
|
416
404
|
"optional": false,
|
|
417
405
|
"docs": {
|
|
418
406
|
"tags": [{
|
|
419
|
-
"text": "
|
|
407
|
+
"text": "Region of indirect tax field label",
|
|
420
408
|
"name": "uiName"
|
|
421
409
|
}],
|
|
422
|
-
"text": "
|
|
410
|
+
"text": ""
|
|
423
411
|
},
|
|
424
412
|
"attribute": "selected-region",
|
|
425
413
|
"reflect": false,
|
|
@@ -437,10 +425,10 @@ export class IndirectTaxForm {
|
|
|
437
425
|
"optional": false,
|
|
438
426
|
"docs": {
|
|
439
427
|
"tags": [{
|
|
440
|
-
"text": "Province
|
|
428
|
+
"text": "Province field label",
|
|
441
429
|
"name": "uiName"
|
|
442
430
|
}],
|
|
443
|
-
"text": "
|
|
431
|
+
"text": ""
|
|
444
432
|
},
|
|
445
433
|
"attribute": "province",
|
|
446
434
|
"reflect": false,
|
|
@@ -458,10 +446,10 @@ export class IndirectTaxForm {
|
|
|
458
446
|
"optional": false,
|
|
459
447
|
"docs": {
|
|
460
448
|
"tags": [{
|
|
461
|
-
"text": "Indirect tax number
|
|
449
|
+
"text": "Indirect tax number field label",
|
|
462
450
|
"name": "uiName"
|
|
463
451
|
}],
|
|
464
|
-
"text": "
|
|
452
|
+
"text": ""
|
|
465
453
|
},
|
|
466
454
|
"attribute": "indirect-tax-number",
|
|
467
455
|
"reflect": false,
|
|
@@ -479,10 +467,10 @@ export class IndirectTaxForm {
|
|
|
479
467
|
"optional": false,
|
|
480
468
|
"docs": {
|
|
481
469
|
"tags": [{
|
|
482
|
-
"text": "QST number
|
|
470
|
+
"text": "QST number field label",
|
|
483
471
|
"name": "uiName"
|
|
484
472
|
}],
|
|
485
|
-
"text": "
|
|
473
|
+
"text": "Displayed to participants registered for QST."
|
|
486
474
|
},
|
|
487
475
|
"attribute": "qst-number",
|
|
488
476
|
"reflect": false,
|
|
@@ -500,10 +488,10 @@ export class IndirectTaxForm {
|
|
|
500
488
|
"optional": false,
|
|
501
489
|
"docs": {
|
|
502
490
|
"tags": [{
|
|
503
|
-
"text": "
|
|
491
|
+
"text": "QST tax checkbox",
|
|
504
492
|
"name": "uiName"
|
|
505
493
|
}],
|
|
506
|
-
"text": "
|
|
494
|
+
"text": "Displayed to participants registered for indirect tax in Quebec, Canada."
|
|
507
495
|
},
|
|
508
496
|
"attribute": "is-registered-q-s-t",
|
|
509
497
|
"reflect": false,
|
|
@@ -521,10 +509,13 @@ export class IndirectTaxForm {
|
|
|
521
509
|
"optional": false,
|
|
522
510
|
"docs": {
|
|
523
511
|
"tags": [{
|
|
524
|
-
"text": "
|
|
512
|
+
"text": "Spain income tax checkbox",
|
|
525
513
|
"name": "uiName"
|
|
514
|
+
}, {
|
|
515
|
+
"text": "textArea",
|
|
516
|
+
"name": "uiWidget"
|
|
526
517
|
}],
|
|
527
|
-
"text": "
|
|
518
|
+
"text": "Displayed to participants registered for indirect tax in Spain."
|
|
528
519
|
},
|
|
529
520
|
"attribute": "is-registered-sub-region-income-tax",
|
|
530
521
|
"reflect": false,
|
|
@@ -542,10 +533,10 @@ export class IndirectTaxForm {
|
|
|
542
533
|
"optional": false,
|
|
543
534
|
"docs": {
|
|
544
535
|
"tags": [{
|
|
545
|
-
"text": "Sub-region
|
|
536
|
+
"text": "Sub-region of indirect tax field label",
|
|
546
537
|
"name": "uiName"
|
|
547
538
|
}],
|
|
548
|
-
"text": "
|
|
539
|
+
"text": "Displayed to participants registered in Spain."
|
|
549
540
|
},
|
|
550
541
|
"attribute": "sub-region",
|
|
551
542
|
"reflect": false,
|
|
@@ -563,10 +554,10 @@ export class IndirectTaxForm {
|
|
|
563
554
|
"optional": false,
|
|
564
555
|
"docs": {
|
|
565
556
|
"tags": [{
|
|
566
|
-
"text": "
|
|
557
|
+
"text": "Income tax field label",
|
|
567
558
|
"name": "uiName"
|
|
568
559
|
}],
|
|
569
|
-
"text": "
|
|
560
|
+
"text": ""
|
|
570
561
|
},
|
|
571
562
|
"attribute": "sub-region-tax-number-label",
|
|
572
563
|
"reflect": false,
|
|
@@ -584,10 +575,10 @@ export class IndirectTaxForm {
|
|
|
584
575
|
"optional": false,
|
|
585
576
|
"docs": {
|
|
586
577
|
"tags": [{
|
|
587
|
-
"text": "Back button
|
|
578
|
+
"text": "Back button label",
|
|
588
579
|
"name": "uiName"
|
|
589
580
|
}],
|
|
590
|
-
"text": "
|
|
581
|
+
"text": ""
|
|
591
582
|
},
|
|
592
583
|
"attribute": "back-button",
|
|
593
584
|
"reflect": false,
|
|
@@ -605,10 +596,13 @@ export class IndirectTaxForm {
|
|
|
605
596
|
"optional": false,
|
|
606
597
|
"docs": {
|
|
607
598
|
"tags": [{
|
|
608
|
-
"text": "
|
|
599
|
+
"text": "Submission confirmation alert",
|
|
609
600
|
"name": "uiName"
|
|
601
|
+
}, {
|
|
602
|
+
"text": "textArea",
|
|
603
|
+
"name": "uiWidget"
|
|
610
604
|
}],
|
|
611
|
-
"text": "
|
|
605
|
+
"text": "Communicate that after this step, only Support can change personal and indirect tax information."
|
|
612
606
|
},
|
|
613
607
|
"attribute": "cannot-change-info-alert",
|
|
614
608
|
"reflect": false,
|
|
@@ -626,10 +620,10 @@ export class IndirectTaxForm {
|
|
|
626
620
|
"optional": false,
|
|
627
621
|
"docs": {
|
|
628
622
|
"tags": [{
|
|
629
|
-
"text": "
|
|
623
|
+
"text": "Missing indirect tax number error message",
|
|
630
624
|
"name": "uiName"
|
|
631
625
|
}],
|
|
632
|
-
"text": "
|
|
626
|
+
"text": ""
|
|
633
627
|
},
|
|
634
628
|
"attribute": "indirect-tax-number-error",
|
|
635
629
|
"reflect": false,
|
|
@@ -647,7 +641,7 @@ export class IndirectTaxForm {
|
|
|
647
641
|
"optional": false,
|
|
648
642
|
"docs": {
|
|
649
643
|
"tags": [{
|
|
650
|
-
"text": "
|
|
644
|
+
"text": "Country field placeholder text",
|
|
651
645
|
"name": "uiName"
|
|
652
646
|
}],
|
|
653
647
|
"text": "Placeholder text displayed in the country search dropdown"
|
|
@@ -668,10 +662,10 @@ export class IndirectTaxForm {
|
|
|
668
662
|
"optional": false,
|
|
669
663
|
"docs": {
|
|
670
664
|
"tags": [{
|
|
671
|
-
"text": "
|
|
665
|
+
"text": "Empty form field error message",
|
|
672
666
|
"name": "uiName"
|
|
673
667
|
}],
|
|
674
|
-
"text": "
|
|
668
|
+
"text": "Displayed under a field that is missing required information."
|
|
675
669
|
},
|
|
676
670
|
"attribute": "field-required-error",
|
|
677
671
|
"reflect": false,
|
|
@@ -689,10 +683,13 @@ export class IndirectTaxForm {
|
|
|
689
683
|
"optional": false,
|
|
690
684
|
"docs": {
|
|
691
685
|
"tags": [{
|
|
692
|
-
"text": "
|
|
686
|
+
"text": "Participant is a partner alert title",
|
|
693
687
|
"name": "uiName"
|
|
688
|
+
}, {
|
|
689
|
+
"text": "textArea",
|
|
690
|
+
"name": "uiWidget"
|
|
694
691
|
}],
|
|
695
|
-
"text": "
|
|
692
|
+
"text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
|
|
696
693
|
},
|
|
697
694
|
"attribute": "is-partner-alert-header",
|
|
698
695
|
"reflect": false,
|
|
@@ -710,10 +707,13 @@ export class IndirectTaxForm {
|
|
|
710
707
|
"optional": false,
|
|
711
708
|
"docs": {
|
|
712
709
|
"tags": [{
|
|
713
|
-
"text": "
|
|
710
|
+
"text": "Participant is a partner alert description",
|
|
714
711
|
"name": "uiName"
|
|
712
|
+
}, {
|
|
713
|
+
"text": "textArea",
|
|
714
|
+
"name": "uiWidget"
|
|
715
715
|
}],
|
|
716
|
-
"text": "
|
|
716
|
+
"text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
|
|
717
717
|
},
|
|
718
718
|
"attribute": "is-partner-alert-description",
|
|
719
719
|
"reflect": false,
|
|
@@ -731,10 +731,10 @@ export class IndirectTaxForm {
|
|
|
731
731
|
"optional": false,
|
|
732
732
|
"docs": {
|
|
733
733
|
"tags": [{
|
|
734
|
-
"text": "Continue button
|
|
734
|
+
"text": "Continue button label",
|
|
735
735
|
"name": "uiName"
|
|
736
736
|
}],
|
|
737
|
-
"text": "
|
|
737
|
+
"text": ""
|
|
738
738
|
},
|
|
739
739
|
"attribute": "continue-button",
|
|
740
740
|
"reflect": false,
|
|
@@ -752,10 +752,13 @@ export class IndirectTaxForm {
|
|
|
752
752
|
"optional": false,
|
|
753
753
|
"docs": {
|
|
754
754
|
"tags": [{
|
|
755
|
-
"text": "
|
|
755
|
+
"text": "Form submission error message title",
|
|
756
756
|
"name": "uiName"
|
|
757
|
+
}, {
|
|
758
|
+
"text": "textArea",
|
|
759
|
+
"name": "uiWidget"
|
|
757
760
|
}],
|
|
758
|
-
"text": "
|
|
761
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
759
762
|
},
|
|
760
763
|
"attribute": "general-error-title",
|
|
761
764
|
"reflect": false,
|
|
@@ -773,10 +776,13 @@ export class IndirectTaxForm {
|
|
|
773
776
|
"optional": false,
|
|
774
777
|
"docs": {
|
|
775
778
|
"tags": [{
|
|
776
|
-
"text": "
|
|
779
|
+
"text": "Form submission error message description",
|
|
777
780
|
"name": "uiName"
|
|
781
|
+
}, {
|
|
782
|
+
"text": "textArea",
|
|
783
|
+
"name": "uiWidget"
|
|
778
784
|
}],
|
|
779
|
-
"text": "
|
|
785
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
780
786
|
},
|
|
781
787
|
"attribute": "general-error-description",
|
|
782
788
|
"reflect": false,
|
|
@@ -794,10 +800,13 @@ export class IndirectTaxForm {
|
|
|
794
800
|
"optional": false,
|
|
795
801
|
"docs": {
|
|
796
802
|
"tags": [{
|
|
797
|
-
"text": "
|
|
803
|
+
"text": "Page load error message title",
|
|
798
804
|
"name": "uiName"
|
|
805
|
+
}, {
|
|
806
|
+
"text": "textArea",
|
|
807
|
+
"name": "uiWidget"
|
|
799
808
|
}],
|
|
800
|
-
"text": "
|
|
809
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
801
810
|
},
|
|
802
811
|
"attribute": "loading-error-alert-header",
|
|
803
812
|
"reflect": false,
|
|
@@ -815,21 +824,45 @@ export class IndirectTaxForm {
|
|
|
815
824
|
"optional": false,
|
|
816
825
|
"docs": {
|
|
817
826
|
"tags": [{
|
|
818
|
-
"text": "
|
|
827
|
+
"text": "Page load error message description",
|
|
819
828
|
"name": "uiName"
|
|
829
|
+
}, {
|
|
830
|
+
"text": "textArea",
|
|
831
|
+
"name": "uiWidget"
|
|
820
832
|
}],
|
|
821
|
-
"text": "
|
|
833
|
+
"text": "Part of the alert displayed at the top of the page."
|
|
822
834
|
},
|
|
823
835
|
"attribute": "loading-error-alert-description",
|
|
824
836
|
"reflect": false,
|
|
825
837
|
"defaultValue": "\"Please refresh the page and try again. If this problem continues, contact Support.\""
|
|
826
838
|
},
|
|
839
|
+
"taxAndPayoutsDescription": {
|
|
840
|
+
"type": "string",
|
|
841
|
+
"mutable": false,
|
|
842
|
+
"complexType": {
|
|
843
|
+
"original": "string",
|
|
844
|
+
"resolved": "string",
|
|
845
|
+
"references": {}
|
|
846
|
+
},
|
|
847
|
+
"required": false,
|
|
848
|
+
"optional": false,
|
|
849
|
+
"docs": {
|
|
850
|
+
"tags": [{
|
|
851
|
+
"text": "Page description",
|
|
852
|
+
"name": "uiName"
|
|
853
|
+
}],
|
|
854
|
+
"text": "Displayed at the top of the page on all set up steps."
|
|
855
|
+
},
|
|
856
|
+
"attribute": "tax-and-payouts-description",
|
|
857
|
+
"reflect": false,
|
|
858
|
+
"defaultValue": "\"Submit your tax documents and add your banking information to receive your rewards.\""
|
|
859
|
+
},
|
|
827
860
|
"demoData": {
|
|
828
861
|
"type": "unknown",
|
|
829
862
|
"mutable": false,
|
|
830
863
|
"complexType": {
|
|
831
864
|
"original": "DemoData<UseIndirectTaxFormResult>",
|
|
832
|
-
"resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; loading: boolean; isPartner: boolean; loadingError: boolean; formState: { checked: \"hstCanada\" | \"otherRegion\" | \"notRegistered\"; errors: {}; }; }; refs?: { formRef: Ref<HTMLFormElement>; }; data?: { esRegions: { regionCode: string; taxType: string; displayName: string; }[]; countries:
|
|
865
|
+
"resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; loading: boolean; isPartner: boolean; loadingError: boolean; formState: { checked: \"hstCanada\" | \"otherRegion\" | \"notRegistered\"; errors: {}; }; }; refs?: { formRef: Ref<HTMLFormElement>; }; data?: { esRegions: { regionCode: string; taxType: string; displayName: string; }[]; countries: { countryCode: string; displayName: any; }[]; allCountries: { countryCode: string; displayName: any; }[]; provinces: { regionCode: string; taxType: string; displayName: string; }[]; }; slotProps?: { formState: { selectedRegion?: string; subRegion?: string; subRegionTaxNumber?: string; qstNumber?: string; province?: string; indirectTaxNumber?: string; hasQst?: boolean; hasSubRegionTaxNumber?: boolean; errors?: any; error?: string; }; }; }",
|
|
833
866
|
"references": {
|
|
834
867
|
"DemoData": {
|
|
835
868
|
"location": "import",
|
|
@@ -854,7 +887,7 @@ export class IndirectTaxForm {
|
|
|
854
887
|
}; }
|
|
855
888
|
}
|
|
856
889
|
function useDemoIndirectTaxForm(props) {
|
|
857
|
-
const
|
|
890
|
+
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
858
891
|
const [option, setOption] = useState(null);
|
|
859
892
|
const [demoFormState, setDemoFormState] = useState({});
|
|
860
893
|
return deepmerge({
|
|
@@ -924,12 +957,12 @@ function useDemoIndirectTaxForm(props) {
|
|
|
924
957
|
formState: {
|
|
925
958
|
...demoFormState,
|
|
926
959
|
errors: {
|
|
927
|
-
selectedRegion:
|
|
928
|
-
province:
|
|
929
|
-
subRegion:
|
|
930
|
-
qstNumber:
|
|
931
|
-
subRegionTaxNumber:
|
|
932
|
-
indirectTaxNumber:
|
|
960
|
+
selectedRegion: false,
|
|
961
|
+
province: false,
|
|
962
|
+
subRegion: false,
|
|
963
|
+
qstNumber: false,
|
|
964
|
+
subRegionTaxNumber: false,
|
|
965
|
+
indirectTaxNumber: false,
|
|
933
966
|
},
|
|
934
967
|
},
|
|
935
968
|
},
|