@saasquatch/mint-components 2.0.0-9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-1b38dcfc.js} +12 -8
- package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
- package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
- package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +79 -42
- package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1322 -24
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +38 -19
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
- package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
- package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
- package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +8 -32
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
- package/dist/collection/components/views/copy-text-view.js +2 -8
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +12 -8
- package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
- package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
- package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +72 -35
- package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1320 -23
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-form-message.entry.js +9 -5
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -3
- package/dist/esm/sqm-stencilbook.entry.js +38 -19
- package/dist/esm/sqm-tabs.entry.js +1 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -3
- package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
- package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +1 -1
- package/dist/esm-es5/data-acdb790f.js +6 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm-es5/utils-334c1e34.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ab79297a.entry.js → p-010957a1.entry.js} +6 -6
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ffc5bce.js → p-0e1a1b14.js} +4 -4
- package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-14e813a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-9fed62f8.system.entry.js → p-18720462.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
- package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/{p-e110688b.entry.js → p-31bba357.entry.js} +2 -2
- package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
- package/dist/mint-components/p-469a6450.system.js +6 -0
- package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
- package/dist/mint-components/{p-7b8cd420.system.entry.js → p-4ce51b1c.system.entry.js} +1 -1
- package/dist/mint-components/p-51a6a779.js +1 -0
- package/dist/mint-components/{p-cb845a3a.system.entry.js → p-56009bf0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
- package/dist/mint-components/{p-0caad0db.entry.js → p-5d059c95.entry.js} +1 -1
- package/dist/mint-components/{p-f370bddc.entry.js → p-60c14cec.entry.js} +1 -1
- package/dist/mint-components/p-6333265f.system.js +1 -0
- package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-6445e926.system.entry.js} +1 -1
- package/dist/mint-components/p-662ed116.system.entry.js +1 -0
- package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
- package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
- package/dist/mint-components/p-6c006998.entry.js +33 -0
- package/dist/mint-components/{p-b1eafaae.entry.js → p-6d9ce4e5.entry.js} +1 -1
- package/dist/mint-components/{p-b703c89f.system.entry.js → p-717b6730.system.entry.js} +1 -1
- package/dist/mint-components/p-720341b1.entry.js +273 -0
- package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
- package/dist/mint-components/p-80569911.system.js +1 -0
- package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
- package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
- package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf22cf56.entry.js → p-8b5b2acc.entry.js} +1 -1
- package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-95b6e903.entry.js +1 -0
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
- package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-c62b277d.system.js → p-9f8d34d1.system.js} +1 -1
- package/dist/mint-components/{p-4250b06d.entry.js → p-a217cc8d.entry.js} +1 -1
- package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
- package/dist/mint-components/{p-61157c6a.entry.js → p-a5c63310.entry.js} +1 -1
- package/dist/mint-components/p-a6f4fb03.system.js +1 -0
- package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
- package/dist/mint-components/p-ac9138fd.entry.js +1 -0
- package/dist/mint-components/{p-3bf5cd51.entry.js → p-aefaec37.entry.js} +1 -1
- package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
- package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
- package/dist/mint-components/{p-06f13966.system.entry.js → p-bec87ac9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
- package/dist/mint-components/p-d2bb770d.system.entry.js +1 -0
- package/dist/mint-components/{p-d4edce6c.system.entry.js → p-d3120982.system.entry.js} +1 -1
- package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
- package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
- package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
- package/dist/mint-components/p-e1e7d01c.js +157 -0
- package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-0d21194c.entry.js → p-ea0bc627.entry.js} +1 -1
- package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
- package/dist/mint-components/{p-2623b232.system.entry.js → p-f401ef19.system.entry.js} +1 -1
- package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/p-fedb9ab8.system.entry.js +1 -0
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -10
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
- package/dist/types/components.d.ts +40 -32
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/data-88adb95b.js +0 -146
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
- package/dist/esm/data-807686c2.js +0 -130
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
- package/dist/esm-es5/data-807686c2.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
- package/dist/esm-es5/utils-84b4b092.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-26468242.js +0 -1
- package/dist/mint-components/p-38263521.entry.js +0 -273
- package/dist/mint-components/p-3d713973.system.entry.js +0 -1
- package/dist/mint-components/p-3ea29bac.system.entry.js +0 -1
- package/dist/mint-components/p-402984b3.system.entry.js +0 -1
- package/dist/mint-components/p-4306a11d.entry.js +0 -33
- package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
- package/dist/mint-components/p-4b9976cc.system.js +0 -1
- package/dist/mint-components/p-60f1cca2.system.js +0 -1
- package/dist/mint-components/p-69d8b4f2.system.entry.js +0 -1
- package/dist/mint-components/p-7837f69e.js +0 -46
- package/dist/mint-components/p-7b8232f8.system.js +0 -6
- package/dist/mint-components/p-8c3c4e92.js +0 -112
- package/dist/mint-components/p-916a2045.system.entry.js +0 -1
- package/dist/mint-components/p-92bed2ad.system.js +0 -1
- package/dist/mint-components/p-a44a912b.entry.js +0 -1
- package/dist/mint-components/p-a597b136.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-be88596c.system.js +0 -1
- package/dist/mint-components/p-ddf3c05e.js +0 -1
- package/dist/mint-components/p-ea063d99.entry.js +0 -1
- package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
- /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
- /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
- /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
|
@@ -1,1313 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-8bba5b3a.js');
|
|
7
|
-
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
|
-
const index_module = require('./index.module-4f54e412.js');
|
|
9
|
-
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
const utils$1 = require('./utils-0d3ac0fb.js');
|
|
11
|
-
require('./JSS-8503a151.js');
|
|
12
|
-
const ErrorView = require('./ErrorView-3f91e5ab.js');
|
|
13
|
-
const utils = require('./utils-83d125fa.js');
|
|
14
|
-
const parseStates = require('./parseStates-d1effc19.js');
|
|
15
|
-
const data = require('./data-88adb95b.js');
|
|
16
|
-
const extractProps = require('./extractProps-fd93ba62.js');
|
|
17
|
-
|
|
18
|
-
function getCurrentStep(user) {
|
|
19
|
-
var _a, _b;
|
|
20
|
-
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
21
|
-
return "/1";
|
|
22
|
-
}
|
|
23
|
-
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
24
|
-
// If they do have a required document, look at current document
|
|
25
|
-
if (requiredTaxDocumentType && !currentTaxDocument) {
|
|
26
|
-
// Specific to custom CASH setting,
|
|
27
|
-
if (payoutsAccount.hold &&
|
|
28
|
-
payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
|
|
29
|
-
return "/dashboard";
|
|
30
|
-
return "/3";
|
|
31
|
-
}
|
|
32
|
-
if (!withdrawalSettings && brandedSignup)
|
|
33
|
-
return "/4";
|
|
34
|
-
return "/dashboard";
|
|
35
|
-
}
|
|
36
|
-
function useTaxAndCash() {
|
|
37
|
-
var _a, _b, _c, _d, _e;
|
|
38
|
-
const host = index_module._();
|
|
39
|
-
const user = index_module.J();
|
|
40
|
-
const locale = index_module.L();
|
|
41
|
-
// State for current step of form
|
|
42
|
-
const [step, setStep] = index_module.In({
|
|
43
|
-
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
44
|
-
initialValue: "/loading",
|
|
45
|
-
});
|
|
46
|
-
// State for when to hide steps, or override certain actions
|
|
47
|
-
const [context, _setContext] = index_module.In({
|
|
48
|
-
namespace: data.TAX_FORM_CONTEXT_NAMESPACE,
|
|
49
|
-
initialValue: {},
|
|
50
|
-
});
|
|
51
|
-
// State to carry user form information into step 2
|
|
52
|
-
const [userFormContext, _setUserFormContext] = index_module.In({
|
|
53
|
-
namespace: data.USER_FORM_CONTEXT_NAMESPACE,
|
|
54
|
-
initialValue: {
|
|
55
|
-
firstName: undefined,
|
|
56
|
-
lastName: undefined,
|
|
57
|
-
email: undefined,
|
|
58
|
-
countryCode: undefined,
|
|
59
|
-
currency: undefined,
|
|
60
|
-
},
|
|
61
|
-
});
|
|
62
|
-
const [_currenciesContext, setCurrenciesContext] = index_module.In({
|
|
63
|
-
namespace: data.CURRENCIES_NAMESPACE,
|
|
64
|
-
initialValue: [],
|
|
65
|
-
});
|
|
66
|
-
const [_countriesContext, _setCountriesContext] = index_module.In({
|
|
67
|
-
namespace: data.COUNTRIES_NAMESPACE,
|
|
68
|
-
initialValue: [],
|
|
69
|
-
});
|
|
70
|
-
const [_sortedCountriesContext, setSortedCountriesContext] = index_module.In({
|
|
71
|
-
namespace: data.SORTED_COUNTRIES_NAMESPACE,
|
|
72
|
-
initialValue: [],
|
|
73
|
-
});
|
|
74
|
-
const { data: data$1, errors } = index_module.Sn({
|
|
75
|
-
namespace: data.USER_QUERY_NAMESPACE,
|
|
76
|
-
query: data.GET_USER,
|
|
77
|
-
skip: !user,
|
|
78
|
-
options: {
|
|
79
|
-
batch: false,
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
const countryCode = ((_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
|
|
83
|
-
userFormContext.countryCode;
|
|
84
|
-
index_module.Sn({
|
|
85
|
-
namespace: data.COUNTRIES_QUERY_NAMESPACE,
|
|
86
|
-
query: data.GET_COUNTRIES,
|
|
87
|
-
skip: !user,
|
|
88
|
-
});
|
|
89
|
-
const { data: financeNetworkData, refetch } = index_module.Sn({
|
|
90
|
-
namespace: data.FINANCE_NETWORK_SETTINGS_NAMESPACE,
|
|
91
|
-
query: data.GET_FINANCE_NETWORK_SETTINGS,
|
|
92
|
-
skip: !user,
|
|
93
|
-
variables: {
|
|
94
|
-
filter: getFinanceNetworkFilter(),
|
|
95
|
-
},
|
|
96
|
-
});
|
|
97
|
-
const { data: currenciesData } = index_module.Sn({
|
|
98
|
-
namespace: data.CURRENCIES_QUERY_NAMESPACE,
|
|
99
|
-
query: data.GET_CURRENCIES,
|
|
100
|
-
skip: !user,
|
|
101
|
-
variables: {
|
|
102
|
-
locale,
|
|
103
|
-
},
|
|
104
|
-
});
|
|
105
|
-
const supportedCurrencies = domContextHooks_module.useMemo(() => {
|
|
106
|
-
var _a, _b;
|
|
107
|
-
// Filter out any currencies not supported by finance network settings
|
|
108
|
-
const allValidCurrencies = (_b = (_a = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.reduce((agg, settings) => {
|
|
109
|
-
var _a, _b;
|
|
110
|
-
const currency = (_b = (_a = currenciesData === null || currenciesData === void 0 ? void 0 : currenciesData.currencies) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find((currency) => currency.currencyCode === settings.currency);
|
|
111
|
-
// Currency not in supported list
|
|
112
|
-
if (!currency)
|
|
113
|
-
return agg;
|
|
114
|
-
// Currency already added to list
|
|
115
|
-
if (agg.find((currency) => currency.currencyCode === settings.currency))
|
|
116
|
-
return agg;
|
|
117
|
-
// Currency not supported by selected country
|
|
118
|
-
if (userFormContext.countryCode &&
|
|
119
|
-
settings.countryCode !== countryCode)
|
|
120
|
-
return agg;
|
|
121
|
-
return [...agg, currency];
|
|
122
|
-
}, []);
|
|
123
|
-
return allValidCurrencies;
|
|
124
|
-
}, [financeNetworkData, countryCode]);
|
|
125
|
-
const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
|
|
126
|
-
const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
|
|
127
|
-
const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
|
|
128
|
-
// filter out any duplicate countries and null countryCode
|
|
129
|
-
const availableCountries = domContextHooks_module.useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
|
|
130
|
-
const _topCountries = ["CA", "GB", "US"];
|
|
131
|
-
const sortedCountries = domContextHooks_module.useMemo(() => Array.from(availableCountries)
|
|
132
|
-
.map((countryCode) => utils.getCountryObj({ countryCode, locale: intlLocale }))
|
|
133
|
-
.sort(sortByName)
|
|
134
|
-
.reduce((prev, countryObj) => {
|
|
135
|
-
if (_topCountries.includes(countryObj.countryCode))
|
|
136
|
-
return [countryObj, ...prev];
|
|
137
|
-
return [...prev, countryObj];
|
|
138
|
-
}, []), [availableCountries]);
|
|
139
|
-
domContextHooks_module.useEffect(() => {
|
|
140
|
-
if (sortedCountries)
|
|
141
|
-
setSortedCountriesContext(sortedCountries);
|
|
142
|
-
}, [sortedCountries]);
|
|
143
|
-
domContextHooks_module.useEffect(() => {
|
|
144
|
-
if (supportedCurrencies)
|
|
145
|
-
setCurrenciesContext(supportedCurrencies);
|
|
146
|
-
}, [supportedCurrencies]);
|
|
147
|
-
domContextHooks_module.useEffect(() => {
|
|
148
|
-
if (errors) {
|
|
149
|
-
setStep("/error");
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
if (!host || !user)
|
|
153
|
-
return;
|
|
154
|
-
if (data$1) {
|
|
155
|
-
const user = data$1 === null || data$1 === void 0 ? void 0 : data$1.user;
|
|
156
|
-
if (!user || step !== "/loading")
|
|
157
|
-
return;
|
|
158
|
-
const currentStep = getCurrentStep(user);
|
|
159
|
-
setStep(currentStep);
|
|
160
|
-
}
|
|
161
|
-
}, [host, user, (_e = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
|
|
162
|
-
function getFinanceNetworkFilter() {
|
|
163
|
-
var _a, _b, _c;
|
|
164
|
-
if (step === "/1")
|
|
165
|
-
return {};
|
|
166
|
-
if (step === "/4")
|
|
167
|
-
return { currency_eq: (_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency };
|
|
168
|
-
if (countryCode)
|
|
169
|
-
return {
|
|
170
|
-
countryCode_eq: countryCode,
|
|
171
|
-
};
|
|
172
|
-
return {};
|
|
173
|
-
}
|
|
174
|
-
return {
|
|
175
|
-
step,
|
|
176
|
-
setStep,
|
|
177
|
-
context,
|
|
178
|
-
namespace: index_module.Mn(data.TAX_CONTEXT_NAMESPACE),
|
|
179
|
-
loading: step === "/loading",
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
const TaxAndCashMonolith = class {
|
|
184
|
-
constructor(hostRef) {
|
|
185
|
-
index.registerInstance(this, hostRef);
|
|
186
|
-
/*---------------------------------------------------------------------------------
|
|
187
|
-
!IMPORTANT!: Make sure to also change the prop names in the respective component
|
|
188
|
-
-----------------------------------------------------------------------------------*/
|
|
189
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
190
|
-
STEP 1 PROPS:
|
|
191
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
192
|
-
/**
|
|
193
|
-
* @uiName First name field label
|
|
194
|
-
* @uiGroup Step 1 Properties
|
|
195
|
-
*/
|
|
196
|
-
this.step1_firstName = "First name";
|
|
197
|
-
/**
|
|
198
|
-
* @uiName Last name field label
|
|
199
|
-
* @uiGroup Step 1 Properties
|
|
200
|
-
*/
|
|
201
|
-
this.step1_lastName = "Last name";
|
|
202
|
-
/**
|
|
203
|
-
* @uiName Email field label
|
|
204
|
-
* @uiGroup Step 1 Properties
|
|
205
|
-
*/
|
|
206
|
-
this.step1_email = "Email";
|
|
207
|
-
/**
|
|
208
|
-
* @uiName Country field label
|
|
209
|
-
* @uiGroup Step 1 Properties
|
|
210
|
-
*/
|
|
211
|
-
this.step1_country = "Country";
|
|
212
|
-
/**
|
|
213
|
-
* @uiName Phone number field label
|
|
214
|
-
* @uiGroup Step 1 Properties
|
|
215
|
-
*/
|
|
216
|
-
this.step1_phoneNumber = "Phone number";
|
|
217
|
-
/**
|
|
218
|
-
* @uiName Address field label
|
|
219
|
-
* @uiGroup Step 1 Properties
|
|
220
|
-
*/
|
|
221
|
-
this.step1_address = "Address";
|
|
222
|
-
/**
|
|
223
|
-
* @uiName City field label
|
|
224
|
-
* @uiGroup Step 1 Properties
|
|
225
|
-
*/
|
|
226
|
-
this.step1_city = "City";
|
|
227
|
-
/**
|
|
228
|
-
* @uiName State field label for states
|
|
229
|
-
* @uiGroup Step 1 Properties
|
|
230
|
-
*/
|
|
231
|
-
this.step1_state = "State";
|
|
232
|
-
/**
|
|
233
|
-
* @uiName State field label for provinces
|
|
234
|
-
* @uiGroup Step 1 Properties
|
|
235
|
-
*/
|
|
236
|
-
this.step1_province = "Province";
|
|
237
|
-
/**
|
|
238
|
-
* @uiName State field label for regions
|
|
239
|
-
* @uiGroup Step 1 Properties
|
|
240
|
-
*/
|
|
241
|
-
this.step1_region = "Region";
|
|
242
|
-
/**
|
|
243
|
-
* @uiName Postal code field label
|
|
244
|
-
* @uiGroup Step 1 Properties
|
|
245
|
-
*/
|
|
246
|
-
this.step1_postalCode = "Postal code";
|
|
247
|
-
/**
|
|
248
|
-
* @uiName Currency field label
|
|
249
|
-
* @uiGroup Step 1 Properties
|
|
250
|
-
*/
|
|
251
|
-
this.step1_currency = "Currency";
|
|
252
|
-
/**
|
|
253
|
-
* @uiName Currency field help text
|
|
254
|
-
* @uiGroup Step 1 Properties
|
|
255
|
-
*/
|
|
256
|
-
this.step1_currencyHelpText = "Choose your preferred payout currency";
|
|
257
|
-
/**
|
|
258
|
-
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
259
|
-
* @uiName Terms and conditions checkbox
|
|
260
|
-
* @uiGroup Step 1 Properties
|
|
261
|
-
*/
|
|
262
|
-
this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
|
|
263
|
-
/**
|
|
264
|
-
* @uiName Step 1 title
|
|
265
|
-
* @uiGroup Step 1 Properties
|
|
266
|
-
*/
|
|
267
|
-
this.step1_personalInformation = "Personal Information";
|
|
268
|
-
/**
|
|
269
|
-
* The link text that appears in the terms and conditions checkbox
|
|
270
|
-
* @uiName Terms and conditions text
|
|
271
|
-
* @uiGroup Step 1 Properties
|
|
272
|
-
* @uiWidget textArea
|
|
273
|
-
*/
|
|
274
|
-
this.step1_termsAndConditionsLabel = "terms and conditions";
|
|
275
|
-
/**
|
|
276
|
-
* The link that appears in the terms and conditions checkbox
|
|
277
|
-
* @uiName Terms and conditions link
|
|
278
|
-
* @uiGroup Step 1 Properties
|
|
279
|
-
*/
|
|
280
|
-
this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
|
|
281
|
-
/**
|
|
282
|
-
* Placeholder text displayed in the currency search dropdown
|
|
283
|
-
* @uiName Currency field placeholder text
|
|
284
|
-
* @uiGroup Step 1 Properties
|
|
285
|
-
*/
|
|
286
|
-
this.step1_searchForCurrencyText = "Search for currency..";
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
290
|
-
STEP 2 PROPS:
|
|
291
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
292
|
-
/**
|
|
293
|
-
* @uiName Step 2 title
|
|
294
|
-
* @uiGroup Step 2 Properties
|
|
295
|
-
*/
|
|
296
|
-
this.step2_indirectTax = "Indirect Tax";
|
|
297
|
-
/**
|
|
298
|
-
* Displayed under the title of this step.
|
|
299
|
-
* @uiName Step 2 description
|
|
300
|
-
* @uiGroup Step 2 Properties
|
|
301
|
-
* @uiWidget textArea
|
|
302
|
-
*/
|
|
303
|
-
this.step2_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.";
|
|
304
|
-
/**
|
|
305
|
-
* Displayed with indirect tax registration options.
|
|
306
|
-
* @uiName Indirect tax details section title
|
|
307
|
-
* @uiGroup Step 2 Properties
|
|
308
|
-
*/
|
|
309
|
-
this.step2_indirectTaxDetails = "Indirect tax details";
|
|
310
|
-
/**
|
|
311
|
-
* @uiName Registered for indirect tax option
|
|
312
|
-
* @uiGroup Step 2 Properties
|
|
313
|
-
* @uiWidget textArea
|
|
314
|
-
*
|
|
315
|
-
*/
|
|
316
|
-
this.step2_otherRegion = "Registered for indirect tax";
|
|
317
|
-
/**
|
|
318
|
-
* Selecting this option will display fields to enter indirect tax details.
|
|
319
|
-
* @uiName Registered for indirect tax option description
|
|
320
|
-
* @uiGroup Step 2 Properties
|
|
321
|
-
*/
|
|
322
|
-
this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
|
|
323
|
-
/**
|
|
324
|
-
* @uiName Not registered for indirect tax option
|
|
325
|
-
* @uiGroup Step 2 Properties
|
|
326
|
-
* @uiWidget textArea
|
|
327
|
-
*/
|
|
328
|
-
this.step2_notRegistered = "Not registered for indirect tax";
|
|
329
|
-
/**
|
|
330
|
-
* Participants based in the US are considered not registered.
|
|
331
|
-
* @uiName Not registered for indirect tax option description
|
|
332
|
-
* @uiGroup Step 2 Properties
|
|
333
|
-
*/
|
|
334
|
-
this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
|
|
335
|
-
/**
|
|
336
|
-
* @uiName Region of indirect tax field label
|
|
337
|
-
* @uiGroup Step 2 Properties
|
|
338
|
-
*/
|
|
339
|
-
this.step2_selectedRegion = "Country / region of indirect tax";
|
|
340
|
-
/**
|
|
341
|
-
* @uiName Indirect tax number field label
|
|
342
|
-
* @uiGroup Step 2 Properties
|
|
343
|
-
*/
|
|
344
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
345
|
-
/**
|
|
346
|
-
* @uiName Province field label
|
|
347
|
-
* @uiGroup Step 2 Properties
|
|
348
|
-
*/
|
|
349
|
-
this.step2_province = "Province";
|
|
350
|
-
/**
|
|
351
|
-
* @uiName Missing indirect tax number error message
|
|
352
|
-
* @uiGroup Step 2 Properties
|
|
353
|
-
*/
|
|
354
|
-
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
|
|
355
|
-
/**
|
|
356
|
-
* Displayed to participants registered for QST.
|
|
357
|
-
* @uiName QST number field label
|
|
358
|
-
* @uiGroup Step 2 Properties
|
|
359
|
-
*/
|
|
360
|
-
this.step2_qstNumber = "QST number";
|
|
361
|
-
/**
|
|
362
|
-
* Displayed to participants registered for indirect tax in Quebec, Canada.
|
|
363
|
-
* @uiName QST tax checkbox
|
|
364
|
-
* @uiGroup Step 2 Properties
|
|
365
|
-
*/
|
|
366
|
-
this.step2_isRegisteredQST = "I am registered for QST Tax";
|
|
367
|
-
/**
|
|
368
|
-
* Displayed to participants registered for indirect tax in Spain.
|
|
369
|
-
* @uiName Spain income tax checkbox
|
|
370
|
-
* @uiGroup Step 2 Properties
|
|
371
|
-
* @uiWidget textArea
|
|
372
|
-
*/
|
|
373
|
-
this.step2_isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
|
|
374
|
-
/**
|
|
375
|
-
* Displayed to participants registered in Spain.
|
|
376
|
-
* @uiName Sub-region of indirect tax field label
|
|
377
|
-
* @uiGroup Step 2 Properties
|
|
378
|
-
*/
|
|
379
|
-
this.step2_subRegion = "Sub-region";
|
|
380
|
-
/**
|
|
381
|
-
* @uiName Income tax field label
|
|
382
|
-
* @uiGroup Step 2 Properties
|
|
383
|
-
*/
|
|
384
|
-
this.step2_subRegionTaxNumberLabel = "Income Tax Number";
|
|
385
|
-
/**
|
|
386
|
-
* Communicate that after this step, only Support can change personal and indirect tax information.
|
|
387
|
-
* @uiName Submission confirmation alert
|
|
388
|
-
* @uiGroup Step 2 Properties
|
|
389
|
-
* @uiWidget textArea
|
|
390
|
-
*/
|
|
391
|
-
this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
|
|
392
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
393
|
-
STEP 3 PROPS:
|
|
394
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
395
|
-
/**
|
|
396
|
-
* @uiName Step 3 title
|
|
397
|
-
* @uiGroup Step 3 Properties
|
|
398
|
-
*/
|
|
399
|
-
this.step3_taxForm = "Tax form";
|
|
400
|
-
/**
|
|
401
|
-
* Display the type of tax form that the participant must submit.
|
|
402
|
-
* @uiName Tax form name
|
|
403
|
-
* @uiGroup Step 3 Properties
|
|
404
|
-
*/
|
|
405
|
-
this.step3_taxFormLabel = "{documentType} Tax Form";
|
|
406
|
-
/**
|
|
407
|
-
* @uiName Participant type field label
|
|
408
|
-
* @uiGroup Step 3 Properties
|
|
409
|
-
*/
|
|
410
|
-
this.step3_participantType = "Participant type";
|
|
411
|
-
/**
|
|
412
|
-
* An option for the participant type field. Used to determine which W-8 form is required.
|
|
413
|
-
* @uiName Business representative participant type label
|
|
414
|
-
* @uiGroup Step 3 Properties
|
|
415
|
-
*/
|
|
416
|
-
this.step3_businessEntity = "I represent a business";
|
|
417
|
-
/**
|
|
418
|
-
* An option for the participant type field. Used to determine which W-8 form is required.
|
|
419
|
-
* @uiName Individual participant type label
|
|
420
|
-
* @uiGroup Step 3 Properties
|
|
421
|
-
*/
|
|
422
|
-
this.step3_individualParticipant = "I am an individual participant";
|
|
423
|
-
/**
|
|
424
|
-
* Displayed at the top of the page to participants based in the US.
|
|
425
|
-
* @uiName W-9 tax form description
|
|
426
|
-
* @uiGroup Step 3 Properties
|
|
427
|
-
* @uiWidget textArea
|
|
428
|
-
*/
|
|
429
|
-
this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
|
|
430
|
-
/**
|
|
431
|
-
* Displayed at the top of the page to individuals joining a US program who reside outside the country.
|
|
432
|
-
* @uiName W-8 BEN tax form description
|
|
433
|
-
* @uiGroup Step 3 Properties
|
|
434
|
-
* @uiWidget textArea
|
|
435
|
-
*/
|
|
436
|
-
this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
|
|
437
|
-
/**
|
|
438
|
-
* Displayed at the top of the page to participants representing a business.
|
|
439
|
-
* @uiName W-8 BEN-E tax form description
|
|
440
|
-
* @uiGroup Step 3 Properties
|
|
441
|
-
* @uiWidget textArea
|
|
442
|
-
*/
|
|
443
|
-
this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
|
|
444
|
-
/**
|
|
445
|
-
* This appears inside the Docusign frame.
|
|
446
|
-
* @uiName Docusign session expired message
|
|
447
|
-
* @uiGroup Step 3 Properties
|
|
448
|
-
* @uiWidget textArea
|
|
449
|
-
*/
|
|
450
|
-
this.step3_docusignExpired = "For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";
|
|
451
|
-
/**
|
|
452
|
-
* Remind participants their session will time out after 20 minutes of inactivity.
|
|
453
|
-
* @uiName Docusign timed session message
|
|
454
|
-
* @uiGroup Step 3 Properties
|
|
455
|
-
* @uiWidget textArea
|
|
456
|
-
*/
|
|
457
|
-
this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
|
|
458
|
-
/**
|
|
459
|
-
* This appears inside the Docusign frame.
|
|
460
|
-
* @uiName Docusign form error message
|
|
461
|
-
* @uiGroup Step 3 Properties
|
|
462
|
-
* @uiWidget textArea
|
|
463
|
-
*/
|
|
464
|
-
this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
|
|
465
|
-
/**
|
|
466
|
-
* @uiName Refresh page button label
|
|
467
|
-
* @uiGroup Step 3 Properties
|
|
468
|
-
*/
|
|
469
|
-
this.step3_refreshButton = "Refresh Page";
|
|
470
|
-
/**
|
|
471
|
-
* @uiName Exit button text
|
|
472
|
-
* @uiGroup Step 3 Properties
|
|
473
|
-
*/
|
|
474
|
-
this.step3_exitButton = "Exit";
|
|
475
|
-
/**
|
|
476
|
-
* @uiName Information modal title
|
|
477
|
-
* @uiGroup Step 3 Properties
|
|
478
|
-
*/
|
|
479
|
-
this.step3_modalTitle = "Important Note";
|
|
480
|
-
/**
|
|
481
|
-
* @uiName Information modal description text
|
|
482
|
-
* @uiGroup Step 3 Properties
|
|
483
|
-
*/
|
|
484
|
-
this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
|
|
485
|
-
/**
|
|
486
|
-
* @uiName Information modal button text
|
|
487
|
-
* @uiGroup Step 3 Properties
|
|
488
|
-
*/
|
|
489
|
-
this.step3_modalButtonText = "I understand";
|
|
490
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
491
|
-
STEP 4 PROPS:
|
|
492
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
493
|
-
/**
|
|
494
|
-
* @uiName Step 4 title
|
|
495
|
-
* @uiGroup Step 4 Properties
|
|
496
|
-
*/
|
|
497
|
-
this.step4_taxAndPayouts = "Payouts";
|
|
498
|
-
/**
|
|
499
|
-
* @uiName Direct to bank payout option
|
|
500
|
-
* @uiGroup Step 4 Properties
|
|
501
|
-
*/
|
|
502
|
-
this.step4_directlyToBankAccount = "Directly to my bank account";
|
|
503
|
-
/**
|
|
504
|
-
* @uiName PayPal payout option
|
|
505
|
-
* @uiGroup Step 4 Properties
|
|
506
|
-
*/
|
|
507
|
-
this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
|
|
508
|
-
/**
|
|
509
|
-
* @uiName Threshold balance payment schedule option
|
|
510
|
-
* @uiGroup Step 4 Properties
|
|
511
|
-
*/
|
|
512
|
-
this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
|
|
513
|
-
/**
|
|
514
|
-
* @uiName Fixed day payment schedule option
|
|
515
|
-
* @uiGroup Step 4 Properties
|
|
516
|
-
*/
|
|
517
|
-
this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
|
|
518
|
-
/**
|
|
519
|
-
* Let the participant choose what day of the month they’ll get paid
|
|
520
|
-
* @uiName Payment day field label
|
|
521
|
-
* @uiGroup Step 4 Properties
|
|
522
|
-
*/
|
|
523
|
-
this.step4_paymentDaySelectLabel = "Payment Day";
|
|
524
|
-
/**
|
|
525
|
-
* Participant use this field to select the balance at which they want to be paid
|
|
526
|
-
* @uiName Payment threshold field label
|
|
527
|
-
* @uiGroup Step 4 Properties
|
|
528
|
-
*/
|
|
529
|
-
this.step4_paymentThresholdSelectLabel = "Payment threshold";
|
|
530
|
-
/**
|
|
531
|
-
* One of two payment day options
|
|
532
|
-
* @uiName First of month payday option
|
|
533
|
-
* @uiGroup Step 4 Properties
|
|
534
|
-
*/
|
|
535
|
-
this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
|
|
536
|
-
/**
|
|
537
|
-
* One of two payment day options
|
|
538
|
-
* @uiName Fifteenth of month payday option
|
|
539
|
-
* @uiGroup Step 4 Properties
|
|
540
|
-
*/
|
|
541
|
-
this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
|
|
542
|
-
/**
|
|
543
|
-
* @uiName Payment method section header
|
|
544
|
-
* @uiGroup Step 4 Properties
|
|
545
|
-
*/
|
|
546
|
-
this.step4_paymentMethod = "Payment method";
|
|
547
|
-
/**
|
|
548
|
-
* @uiName Payment schedule section header
|
|
549
|
-
* @uiGroup Step 4 Properties
|
|
550
|
-
*/
|
|
551
|
-
this.step4_paymentSchedule = "Payment schedule";
|
|
552
|
-
/**
|
|
553
|
-
* @uiName Payment method section description
|
|
554
|
-
* @uiGroup Step 4 Properties
|
|
555
|
-
*/
|
|
556
|
-
this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
|
|
557
|
-
/**
|
|
558
|
-
* Displayed to participants who choose PayPal as their payout method
|
|
559
|
-
* @uiName PayPal email field label
|
|
560
|
-
* @uiGroup Step 4 Properties
|
|
561
|
-
*/
|
|
562
|
-
this.step4_payPalInputLabel = "PayPal email";
|
|
563
|
-
/**
|
|
564
|
-
* @uiName Bank country field label
|
|
565
|
-
* @uiGroup Step 4 Properties
|
|
566
|
-
*/
|
|
567
|
-
this.step4_bankLocationLabel = "Bank country location";
|
|
568
|
-
/**
|
|
569
|
-
* @uiName Beneficiary account field label
|
|
570
|
-
* @uiGroup Step 4 Properties
|
|
571
|
-
*/
|
|
572
|
-
this.step4_beneficiaryAccountNameLabel = "Account holder name";
|
|
573
|
-
/**
|
|
574
|
-
* @uiName Beneficiary account field description
|
|
575
|
-
* @uiGroup Step 4 Properties
|
|
576
|
-
*/
|
|
577
|
-
this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
|
|
578
|
-
/**
|
|
579
|
-
* @uiName Bank account type field label
|
|
580
|
-
* @uiGroup Step 4 Properties
|
|
581
|
-
*/
|
|
582
|
-
this.step4_bankAccountTypeLabel = "Bank account type";
|
|
583
|
-
/**
|
|
584
|
-
* @uiName Checking account option
|
|
585
|
-
* @uiGroup Step 4 Properties
|
|
586
|
-
*/
|
|
587
|
-
this.step4_checkingSelectItemLabel = "Checking";
|
|
588
|
-
/**
|
|
589
|
-
* Label text for the savings account type select item
|
|
590
|
-
* @uiName Savings account options
|
|
591
|
-
* @uiGroup Step 4 Properties
|
|
592
|
-
*/
|
|
593
|
-
this.step4_savingsSelectItemLabel = "Savings";
|
|
594
|
-
/**
|
|
595
|
-
* @uiName Bank account number field label
|
|
596
|
-
* @uiGroup Step 4 Properties
|
|
597
|
-
*/
|
|
598
|
-
this.step4_bankAccountNumberLabel = "Bank account number";
|
|
599
|
-
/**
|
|
600
|
-
* @uiName IBAN field label
|
|
601
|
-
* @uiGroup Step 4 Properties
|
|
602
|
-
*/
|
|
603
|
-
this.step4_ibanLabel = "IBAN";
|
|
604
|
-
/**
|
|
605
|
-
* @uiName SWIFT code field label
|
|
606
|
-
* @uiGroup Step 4 Properties
|
|
607
|
-
*/
|
|
608
|
-
this.step4_swiftCodeLabel = "SWIFT code";
|
|
609
|
-
/**
|
|
610
|
-
* @uiName Routing code field label
|
|
611
|
-
* @uiGroup Step 4 Properties
|
|
612
|
-
*/
|
|
613
|
-
this.step4_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} }";
|
|
614
|
-
/**
|
|
615
|
-
* @uiName Bank name field label
|
|
616
|
-
* @uiGroup Step 4 Properties
|
|
617
|
-
*/
|
|
618
|
-
this.step4_bankNameLabel = "Bank name";
|
|
619
|
-
/**
|
|
620
|
-
* @uiName Classification entity field label
|
|
621
|
-
* @uiGroup Step 4 Properties
|
|
622
|
-
*/
|
|
623
|
-
this.step4_classificationEntityLabel = "Classification entity";
|
|
624
|
-
/**
|
|
625
|
-
* One of three options listed for the classification field
|
|
626
|
-
* @uiName Business classification option
|
|
627
|
-
* @uiGroup Step 4 Properties
|
|
628
|
-
*/
|
|
629
|
-
this.step4_businessSelectItemLabel = "Business";
|
|
630
|
-
/**
|
|
631
|
-
* One of three options listed for the classification field
|
|
632
|
-
* @uiName Individual classification option
|
|
633
|
-
* @uiGroup Step 4 Properties
|
|
634
|
-
*/
|
|
635
|
-
this.step4_individualSelectItemLabel = "Individual";
|
|
636
|
-
/**
|
|
637
|
-
* One of three options listed for the classification field
|
|
638
|
-
* @uiName Foreign classification option
|
|
639
|
-
* @uiGroup Step 4 Properties
|
|
640
|
-
*/
|
|
641
|
-
this.step4_foreignSelectItemLabel = "Foreign";
|
|
642
|
-
/**
|
|
643
|
-
* @uiName Classification CPF field label
|
|
644
|
-
* @uiGroup Step 4 Properties
|
|
645
|
-
*/
|
|
646
|
-
this.step4_classificationCPFLabel = "Classification CPF";
|
|
647
|
-
/**
|
|
648
|
-
* @uiName Patronymic name field label
|
|
649
|
-
* @uiGroup Step 4 Properties
|
|
650
|
-
*/
|
|
651
|
-
this.step4_patronymicNameLabel = "Patronymic name";
|
|
652
|
-
/**
|
|
653
|
-
* @uiName VO code field label
|
|
654
|
-
* @uiGroup Step 4 Properties
|
|
655
|
-
*/
|
|
656
|
-
this.step4_voCodeLabel = "VO code";
|
|
657
|
-
/**
|
|
658
|
-
* @uiName Agency code field label
|
|
659
|
-
* @uiGroup Step 4 Properties
|
|
660
|
-
*/
|
|
661
|
-
this.step4_agencyCodeLabel = "Agency code";
|
|
662
|
-
/**
|
|
663
|
-
* @uiName Branch code field label
|
|
664
|
-
* @uiGroup Step 4 Properties
|
|
665
|
-
*/
|
|
666
|
-
this.step4_branchCodeLabel = "Branch code";
|
|
667
|
-
/**
|
|
668
|
-
* Label text for the classification input field
|
|
669
|
-
* @uiName Classification field label
|
|
670
|
-
* @uiGroup Step 4 Properties
|
|
671
|
-
*/
|
|
672
|
-
this.step4_classificationLabel = "Classification";
|
|
673
|
-
/**
|
|
674
|
-
* @uiName Taxpayer ID field label
|
|
675
|
-
* @uiGroup Step 4 Properties
|
|
676
|
-
*/
|
|
677
|
-
this.step4_taxPayerIdLabel = "Beneficiary INN";
|
|
678
|
-
/**
|
|
679
|
-
* @uiName Bank address field label
|
|
680
|
-
* @uiGroup Step 4 Properties
|
|
681
|
-
*/
|
|
682
|
-
this.step4_bankAddressLabel = "Bank address";
|
|
683
|
-
/**
|
|
684
|
-
* @uiName Bank city field label
|
|
685
|
-
* @uiGroup Step 4 Properties
|
|
686
|
-
*/
|
|
687
|
-
this.step4_bankCityLabel = "Bank city";
|
|
688
|
-
/**
|
|
689
|
-
* @uiName Bank province/state field label
|
|
690
|
-
* @uiGroup Step 4 Properties
|
|
691
|
-
*/
|
|
692
|
-
this.step4_bankStateLabel = "Bank Province / State";
|
|
693
|
-
/**
|
|
694
|
-
* @uiName Bank postal code field label
|
|
695
|
-
* @uiGroup Step 4 Properties
|
|
696
|
-
*/
|
|
697
|
-
this.step4_bankPostalCodeLabel = "Bank postal code";
|
|
698
|
-
/**
|
|
699
|
-
* Default payment method to the participants’ bank account.
|
|
700
|
-
* @uiName EFT withdrawal payment method
|
|
701
|
-
* @uiGroup Step 4 Properties
|
|
702
|
-
*/
|
|
703
|
-
this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
|
|
704
|
-
/**
|
|
705
|
-
* @uiName FX Wire Processing fee text
|
|
706
|
-
* @uiGroup Step 4 Properties
|
|
707
|
-
*/
|
|
708
|
-
this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
|
|
709
|
-
/**
|
|
710
|
-
* @uiName Text for verify email dialog
|
|
711
|
-
* @uiGroup Step 4 Properties
|
|
712
|
-
*/
|
|
713
|
-
this.step4_verifyEmailHeaderText = "Verify your email";
|
|
714
|
-
/**
|
|
715
|
-
* @uiName Verify code widget header text
|
|
716
|
-
* @uiGroup Step 4 Properties
|
|
717
|
-
*/
|
|
718
|
-
this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
|
|
719
|
-
/**
|
|
720
|
-
* @uiName Information modal title
|
|
721
|
-
* @uiGroup Step 4 Properties
|
|
722
|
-
*/
|
|
723
|
-
this.step4_modalTitle = "Important Note";
|
|
724
|
-
/**
|
|
725
|
-
* @uiName Information modal description text
|
|
726
|
-
* @uiGroup Step 4 Properties
|
|
727
|
-
*/
|
|
728
|
-
this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
|
|
729
|
-
/**
|
|
730
|
-
* @uiName Information modal button text
|
|
731
|
-
* @uiGroup Step 4 Properties
|
|
732
|
-
*/
|
|
733
|
-
this.step4_modalButtonText = "I understand, update my information";
|
|
734
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
735
|
-
DASHBOARD PROPS:
|
|
736
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
737
|
-
/**
|
|
738
|
-
* @uiName Active tax form badge label
|
|
739
|
-
* @uiGroup Dashboard Properties
|
|
740
|
-
*/
|
|
741
|
-
this.dashboard_statusTextActive = "Active";
|
|
742
|
-
/**
|
|
743
|
-
* @uiName Invalid tax form badge label
|
|
744
|
-
* @uiGroup Dashboard Properties
|
|
745
|
-
*/
|
|
746
|
-
this.dashboard_statusTextNotActive = "Invalid Tax Form";
|
|
747
|
-
/**
|
|
748
|
-
* Displayed when the participant submitted their form but it is awaiting review.
|
|
749
|
-
*
|
|
750
|
-
* @uiName Not verified tax form badge label
|
|
751
|
-
* @uiGroup Dashboard Properties
|
|
752
|
-
*/
|
|
753
|
-
this.dashboard_statusTextNotVerified = "Not Verified";
|
|
754
|
-
/**
|
|
755
|
-
* Displayed when the participant has not submitted their required tax form.
|
|
756
|
-
*
|
|
757
|
-
* @uiName Required tax form badge label
|
|
758
|
-
*/
|
|
759
|
-
this.dashboard_statusTextRequired = "Required";
|
|
760
|
-
/**
|
|
761
|
-
* Additional text displayed next to the tax form's status badge
|
|
762
|
-
*
|
|
763
|
-
* @uiName Required tax form description
|
|
764
|
-
*/
|
|
765
|
-
this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
|
|
766
|
-
/**
|
|
767
|
-
* Additional text displayed next to the tax form's status badge
|
|
768
|
-
*
|
|
769
|
-
* @uiName Active W-9 description
|
|
770
|
-
* @uiGroup Dashboard Properties
|
|
771
|
-
*/
|
|
772
|
-
this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
|
|
773
|
-
/**
|
|
774
|
-
* Additional text displayed next to the tax form's status badge.
|
|
775
|
-
*
|
|
776
|
-
* @uiName Active W-8 description
|
|
777
|
-
* @uiGroup Dashboard Properties
|
|
778
|
-
*/
|
|
779
|
-
this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
|
|
780
|
-
/**
|
|
781
|
-
* Additional text displayed next to the tax form's status badge.
|
|
782
|
-
*
|
|
783
|
-
* @uiName Tax form in review description
|
|
784
|
-
* @uiGroup Dashboard Properties
|
|
785
|
-
*/
|
|
786
|
-
this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
|
|
787
|
-
/**
|
|
788
|
-
* Part of the alert displayed at the top of the page.
|
|
789
|
-
*
|
|
790
|
-
* @uiName Inactive W-9 error message title
|
|
791
|
-
* @uiGroup Dashboard Properties
|
|
792
|
-
* @uiWidget textArea
|
|
793
|
-
*/
|
|
794
|
-
this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
|
|
795
|
-
/**
|
|
796
|
-
* Part of the alert displayed at the top of the page.
|
|
797
|
-
*
|
|
798
|
-
* @uiName Inactive W-8 error message title
|
|
799
|
-
* @uiGroup Dashboard Properties
|
|
800
|
-
* @uiWidget textArea
|
|
801
|
-
*/
|
|
802
|
-
this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
|
|
803
|
-
/**
|
|
804
|
-
* Part of the alert displayed at the top of the page.
|
|
805
|
-
*
|
|
806
|
-
* @uiName Inactive W-9 error message description
|
|
807
|
-
* @uiGroup Dashboard Properties
|
|
808
|
-
* @uiWidget textArea
|
|
809
|
-
*/
|
|
810
|
-
this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
|
|
811
|
-
/**
|
|
812
|
-
* Part of the alert displayed at the top of the page.
|
|
813
|
-
*
|
|
814
|
-
* @uiName Inactive W-8 error message description
|
|
815
|
-
* @uiGroup Dashboard Properties
|
|
816
|
-
*/
|
|
817
|
-
this.dashboard_taxAlertNotActiveMessageW8 = "Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";
|
|
818
|
-
/**
|
|
819
|
-
* Additional text displayed next to the tax form's status badge.
|
|
820
|
-
*
|
|
821
|
-
* @uiName Invalid tax form description
|
|
822
|
-
* @uiGroup Dashboard Properties
|
|
823
|
-
* @uiWidget textArea
|
|
824
|
-
*/
|
|
825
|
-
this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
|
|
826
|
-
/**
|
|
827
|
-
* @uiName Payout information section header
|
|
828
|
-
* @uiGroup Dashboard Properties
|
|
829
|
-
*/
|
|
830
|
-
this.dashboard_bankingInformationSectionHeader = "Payout Information";
|
|
831
|
-
/**
|
|
832
|
-
* @uiName Tax document section header
|
|
833
|
-
* @uiGroup Dashboard Properties
|
|
834
|
-
*/
|
|
835
|
-
this.dashboard_taxDocumentSectionHeader = "Tax documents";
|
|
836
|
-
/**
|
|
837
|
-
* Displayed under the tax document section header.
|
|
838
|
-
*
|
|
839
|
-
* @uiName Tax documents section description
|
|
840
|
-
* @uiGroup Dashboard Properties
|
|
841
|
-
*/
|
|
842
|
-
this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
|
|
843
|
-
/**
|
|
844
|
-
* No other statuses or badges will be displayed in the tax form section in this case.
|
|
845
|
-
*
|
|
846
|
-
* @uiName Tax form not required text
|
|
847
|
-
* @uiGroup Dashboard Properties
|
|
848
|
-
* @uiWidget textArea
|
|
849
|
-
*/
|
|
850
|
-
this.dashboard_noFormNeededSubtext = "Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";
|
|
851
|
-
/**
|
|
852
|
-
*
|
|
853
|
-
* @uiName Indirect tax section header
|
|
854
|
-
* @uiGroup Dashboard Properties
|
|
855
|
-
*/
|
|
856
|
-
this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
|
|
857
|
-
/**
|
|
858
|
-
* If the participant is registered for indirect tax in Canada, display the province they’re registered in.
|
|
859
|
-
*
|
|
860
|
-
* @uiName Canadian province of indirect tax
|
|
861
|
-
* @uiGroup Dashboard Properties
|
|
862
|
-
*/
|
|
863
|
-
this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
|
|
864
|
-
/**
|
|
865
|
-
* If the participant is registered for indirect tax, display the country they’re registered in.
|
|
866
|
-
*
|
|
867
|
-
* @uiName Indirect tax country
|
|
868
|
-
* @uiGroup Dashboard Properties
|
|
869
|
-
*/
|
|
870
|
-
this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
|
|
871
|
-
/**
|
|
872
|
-
* If the participant is registered for indirect tax in Spain, display the region they’re registered in.
|
|
873
|
-
*
|
|
874
|
-
* @uiName Spanish region of indirect tax
|
|
875
|
-
* @uiGroup Dashboard Properties
|
|
876
|
-
*/
|
|
877
|
-
this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
|
|
878
|
-
/**
|
|
879
|
-
* @uiName Indirect tax tooltip
|
|
880
|
-
* @uiGroup Dashboard Properties
|
|
881
|
-
* @uiWidget textArea
|
|
882
|
-
*/
|
|
883
|
-
this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
|
|
884
|
-
/**
|
|
885
|
-
* Displayed to participants who have submitted their indirect tax information.
|
|
886
|
-
*
|
|
887
|
-
* @uiName Indirect tax details
|
|
888
|
-
* @uiGroup Dashboard Properties
|
|
889
|
-
*/
|
|
890
|
-
this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
|
|
891
|
-
/**
|
|
892
|
-
* @uiName Submit new tax form button label
|
|
893
|
-
* @uiGroup Dashboard Properties
|
|
894
|
-
*/
|
|
895
|
-
this.dashboard_newFormButton = "Submit new form";
|
|
896
|
-
/**
|
|
897
|
-
* @uiName Edit payment info button label
|
|
898
|
-
* @uiGroup Dashboard Properties
|
|
899
|
-
*/
|
|
900
|
-
this.dashboard_editPaymentInformationButton = "Edit Payout Information";
|
|
901
|
-
/**
|
|
902
|
-
* @uiName Not registered for indirect tax text
|
|
903
|
-
* @uiGroup Dashboard Properties
|
|
904
|
-
* @uiWidget textArea
|
|
905
|
-
*/
|
|
906
|
-
this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
|
|
907
|
-
/**
|
|
908
|
-
* Displayed to participants registered in Quebec, Canada.
|
|
909
|
-
* @uiName QST indirect tax details
|
|
910
|
-
* @uiGroup Dashboard Properties
|
|
911
|
-
*/
|
|
912
|
-
this.dashboard_qstNumber = "QST number: {qstNumber}";
|
|
913
|
-
/**
|
|
914
|
-
* @uiName Spain sub-region indirect tax number
|
|
915
|
-
* @uiGroup Dashboard Properties
|
|
916
|
-
*/
|
|
917
|
-
this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
|
|
918
|
-
/**
|
|
919
|
-
* @uiName Payout status badge
|
|
920
|
-
* @uiGroup Dashboard Properties
|
|
921
|
-
*/
|
|
922
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
923
|
-
/**
|
|
924
|
-
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
925
|
-
* @uiName Payout schedule by threshold text
|
|
926
|
-
* @uiGroup Dashboard Properties
|
|
927
|
-
*/
|
|
928
|
-
this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
|
|
929
|
-
/**
|
|
930
|
-
* Shown before the participant’s bank account information.
|
|
931
|
-
* @uiName Bank account field label
|
|
932
|
-
* @uiGroup Dashboard Properties
|
|
933
|
-
*/
|
|
934
|
-
this.dashboard_accountText = "Account";
|
|
935
|
-
/**
|
|
936
|
-
* Part of the Invoice table displayed at the bottom of the page.
|
|
937
|
-
* @uiName Invoice number column title
|
|
938
|
-
* @uiGroup Dashboard Properties
|
|
939
|
-
*/
|
|
940
|
-
this.dashboard_invoiceColumnTitle = "Invoice";
|
|
941
|
-
/**
|
|
942
|
-
* Part of the Invoice table displayed at the bottom of the page.
|
|
943
|
-
* @uiName Date column title
|
|
944
|
-
* @uiGroup Dashboard Properties
|
|
945
|
-
*/
|
|
946
|
-
this.dashboard_dateColumnTitle = "Date";
|
|
947
|
-
/**
|
|
948
|
-
* Part of the Invoice table displayed at the bottom of the page.
|
|
949
|
-
* @uiName Earnings column title
|
|
950
|
-
* @uiGroup Dashboard Properties
|
|
951
|
-
*/
|
|
952
|
-
this.dashboard_earningsColumnTitle = "Earnings";
|
|
953
|
-
/**
|
|
954
|
-
* Part of the Invoice table displayed at the bottom of the page.
|
|
955
|
-
* @uiName Indirect tax column title
|
|
956
|
-
* @uiGroup Dashboard Properties
|
|
957
|
-
*/
|
|
958
|
-
this.dashboard_indirectTaxColumnTitle = "Indirect tax";
|
|
959
|
-
/**
|
|
960
|
-
* Displayed under the payout details card.
|
|
961
|
-
* @uiName Payout from impact text
|
|
962
|
-
* @uiGroup Dashboard Properties
|
|
963
|
-
* @uiWidget textArea
|
|
964
|
-
*/
|
|
965
|
-
this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
|
|
966
|
-
/**
|
|
967
|
-
* Part of the Invoice table displayed at the bottom of the page.
|
|
968
|
-
* @uiName Earnings after tax column title
|
|
969
|
-
* @uiGroup Dashboard Properties
|
|
970
|
-
*/
|
|
971
|
-
this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
|
|
972
|
-
/**
|
|
973
|
-
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
974
|
-
* @uiName Payout error message title
|
|
975
|
-
* @uiGroup Dashboard Properties
|
|
976
|
-
* @uiWidget textArea
|
|
977
|
-
*/
|
|
978
|
-
this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
|
|
979
|
-
/**
|
|
980
|
-
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
981
|
-
* @uiName Payout error message description
|
|
982
|
-
* @uiGroup Dashboard Properties
|
|
983
|
-
* @uiWidget textArea
|
|
984
|
-
*/
|
|
985
|
-
this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
|
|
986
|
-
/**
|
|
987
|
-
* Text displayed for existing publishers that do not have saved banking information.
|
|
988
|
-
* @uiName Payout missing information subtext
|
|
989
|
-
* @uiGroup Dashboard Properties
|
|
990
|
-
*/
|
|
991
|
-
this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
|
|
992
|
-
/**
|
|
993
|
-
* @uiName Invoice table description
|
|
994
|
-
* @uiGroup Dashboard Properties
|
|
995
|
-
*/
|
|
996
|
-
this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
|
|
997
|
-
/**
|
|
998
|
-
* @uiName Invoice table previous page button label
|
|
999
|
-
* @uiGroup Dashboard Properties
|
|
1000
|
-
*/
|
|
1001
|
-
this.dashboard_invoicePrevLabel = "Prev";
|
|
1002
|
-
/**
|
|
1003
|
-
* @uiName Invoice table next page button label
|
|
1004
|
-
* @uiGroup Dashboard Properties
|
|
1005
|
-
*/
|
|
1006
|
-
this.dashboard_invoiceMoreLabel = "Next";
|
|
1007
|
-
/**
|
|
1008
|
-
* @uiName Invoice table title
|
|
1009
|
-
* @uiGroup Dashboard Properties
|
|
1010
|
-
*/
|
|
1011
|
-
this.dashboard_invoiceHeader = "Invoices";
|
|
1012
|
-
/**
|
|
1013
|
-
* @uiName Empty invoice table header
|
|
1014
|
-
* @uiGroup Dashboard Properties
|
|
1015
|
-
*/
|
|
1016
|
-
this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
|
|
1017
|
-
/**
|
|
1018
|
-
* @uiName Empty invoice table description
|
|
1019
|
-
* @uiGroup Dashboard Properties
|
|
1020
|
-
*/
|
|
1021
|
-
this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
|
|
1022
|
-
/**
|
|
1023
|
-
* @uiName Replace tax form modal header
|
|
1024
|
-
* @uiGroup Dashboard Properties
|
|
1025
|
-
*/
|
|
1026
|
-
this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
|
|
1027
|
-
/**
|
|
1028
|
-
* @uiName Replace tax form modal body text
|
|
1029
|
-
* @uiGroup Dashboard Properties
|
|
1030
|
-
* @uiWidget textArea
|
|
1031
|
-
*/
|
|
1032
|
-
this.dashboard_replaceTaxFormModalBodyText = "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";
|
|
1033
|
-
/**
|
|
1034
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
1035
|
-
* @uiName Verification required alert message title
|
|
1036
|
-
* @uiGroup Dashboard Properties
|
|
1037
|
-
* @uiWidget textArea
|
|
1038
|
-
*/
|
|
1039
|
-
this.dashboard_verificationRequiredHeader = "Verify your identity";
|
|
1040
|
-
/**
|
|
1041
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity
|
|
1042
|
-
* @uiName Verification required alert message description
|
|
1043
|
-
* @uiGroup Dashboard Properties
|
|
1044
|
-
* @uiWidget textArea
|
|
1045
|
-
*/
|
|
1046
|
-
this.dashboard_verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
1047
|
-
/**
|
|
1048
|
-
* @uiName Verification required internal alert header
|
|
1049
|
-
* @uiGroup Dashboard Properties
|
|
1050
|
-
* @uiWidget textArea
|
|
1051
|
-
*/
|
|
1052
|
-
this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
1053
|
-
/**
|
|
1054
|
-
* @uiName Verification required internal alert description
|
|
1055
|
-
* @uiGroup Dashboard Properties
|
|
1056
|
-
* @uiWidget textArea
|
|
1057
|
-
*/
|
|
1058
|
-
this.dashboard_verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
|
|
1059
|
-
/**
|
|
1060
|
-
* @uiName Verification review internal alert header
|
|
1061
|
-
* @uiGroup Dashboard Properties
|
|
1062
|
-
* @uiWidget textArea
|
|
1063
|
-
*/
|
|
1064
|
-
this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
1065
|
-
/**
|
|
1066
|
-
* @uiName Verification review internal alert description
|
|
1067
|
-
* @uiGroup Dashboard Properties
|
|
1068
|
-
* @uiWidget textArea
|
|
1069
|
-
*/
|
|
1070
|
-
this.dashboard_verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
|
|
1071
|
-
/**
|
|
1072
|
-
* @uiName Verification failed internal alert header
|
|
1073
|
-
* @uiGroup Dashboard Properties
|
|
1074
|
-
* @uiWidget textArea
|
|
1075
|
-
*/
|
|
1076
|
-
this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
1077
|
-
/**
|
|
1078
|
-
* @uiName Verification failed internal alert description
|
|
1079
|
-
* @uiGroup Dashboard Properties
|
|
1080
|
-
* @uiWidget textArea
|
|
1081
|
-
*/
|
|
1082
|
-
this.dashboard_verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
|
|
1083
|
-
/**
|
|
1084
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
1085
|
-
* @uiName Verification required alert button text
|
|
1086
|
-
* @uiGroup Dashboard Properties
|
|
1087
|
-
* @uiWidget textArea
|
|
1088
|
-
*/
|
|
1089
|
-
this.dashboard_verificationRequiredButtonText = "Start Verification";
|
|
1090
|
-
/**
|
|
1091
|
-
* @uiName W-9 payment threshold alert header
|
|
1092
|
-
* @uiGroup Dashboard Properties
|
|
1093
|
-
* @uiWidget textArea
|
|
1094
|
-
*/
|
|
1095
|
-
this.dashboard_w9RequiredHeader = "Your next payout is on hold";
|
|
1096
|
-
/**
|
|
1097
|
-
* @uiName W-9 payment threshold alert description
|
|
1098
|
-
* @uiGroup Dashboard Properties
|
|
1099
|
-
* @uiWidget textArea
|
|
1100
|
-
*/
|
|
1101
|
-
this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
|
|
1102
|
-
/**
|
|
1103
|
-
* @uiName Account review alert header
|
|
1104
|
-
*/
|
|
1105
|
-
this.dashboard_accountReviewHeader = "Your account is under review";
|
|
1106
|
-
/**
|
|
1107
|
-
* @uiName Account review alert description
|
|
1108
|
-
*/
|
|
1109
|
-
this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
|
|
1110
|
-
/**
|
|
1111
|
-
* @uiName Terms and Conditions text
|
|
1112
|
-
* @uiGroup Dashboard Properties
|
|
1113
|
-
*/
|
|
1114
|
-
this.dashboard_termsAndConditions = "Terms and Conditions";
|
|
1115
|
-
/**
|
|
1116
|
-
* @uiName W-9 payment threshold alert button text
|
|
1117
|
-
* @uiGroup Dashboard Properties
|
|
1118
|
-
* @uiWidget textArea
|
|
1119
|
-
*/
|
|
1120
|
-
this.dashboard_w9RequiredButtonText = "Submit W-9";
|
|
1121
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
1122
|
-
GENERAL PROPS:
|
|
1123
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
1124
|
-
/**
|
|
1125
|
-
* @uiName Setup progress
|
|
1126
|
-
* @uiGroup General Form Properties
|
|
1127
|
-
*/
|
|
1128
|
-
this.formStep = "Step {step} of {count}";
|
|
1129
|
-
/**
|
|
1130
|
-
* Part of the alert displayed at the top of the page.
|
|
1131
|
-
* @uiName Form submission error message title
|
|
1132
|
-
* @uiGroup General Form Properties
|
|
1133
|
-
* @uiWidget textArea
|
|
1134
|
-
*/
|
|
1135
|
-
this.generalErrorTitle = "There was a problem submitting your information";
|
|
1136
|
-
/**
|
|
1137
|
-
* Part of the alert displayed at the top of the page.
|
|
1138
|
-
* @uiName Form submission error message description
|
|
1139
|
-
* @uiGroup General Form Properties
|
|
1140
|
-
* @uiWidget textArea
|
|
1141
|
-
*/
|
|
1142
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
1143
|
-
/**
|
|
1144
|
-
* Displayed under a field that is missing required information.
|
|
1145
|
-
* @uiName Empty form field error message
|
|
1146
|
-
* @uiGroup General Form Properties
|
|
1147
|
-
*/
|
|
1148
|
-
this.fieldRequiredError = "{fieldName} is required";
|
|
1149
|
-
/**
|
|
1150
|
-
* Displayed under a field that includes invalid characters (non-ASCII).
|
|
1151
|
-
* @uiName Invalid character error message
|
|
1152
|
-
* @uiGroup General Form Properties
|
|
1153
|
-
*/
|
|
1154
|
-
this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
|
|
1155
|
-
/**
|
|
1156
|
-
* Displayed under a field when it has an invalid entry.
|
|
1157
|
-
* @uiName Form field error message
|
|
1158
|
-
* @uiGroup General Form Properties
|
|
1159
|
-
*/
|
|
1160
|
-
this.fieldInvalidError = "{fieldName} is invalid";
|
|
1161
|
-
/**
|
|
1162
|
-
* @uiName Continue button label
|
|
1163
|
-
* @uiGroup General Form Properties
|
|
1164
|
-
*/
|
|
1165
|
-
this.continueButton = "Continue";
|
|
1166
|
-
/**
|
|
1167
|
-
* @uiName Back button label
|
|
1168
|
-
* @uiGroup General Form Properties
|
|
1169
|
-
*/
|
|
1170
|
-
this.backButton = "Back";
|
|
1171
|
-
/**
|
|
1172
|
-
* @uiName Cancel button label
|
|
1173
|
-
* @uiGroup General Form Properties
|
|
1174
|
-
*/
|
|
1175
|
-
this.cancelButton = "Cancel";
|
|
1176
|
-
/**
|
|
1177
|
-
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
1178
|
-
* @uiName Participant is a partner alert title
|
|
1179
|
-
* @uiGroup General Form Properties
|
|
1180
|
-
* @uiWidget textArea
|
|
1181
|
-
*/
|
|
1182
|
-
this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
|
|
1183
|
-
/**
|
|
1184
|
-
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
1185
|
-
* @uiName Participant is a partner alert description
|
|
1186
|
-
* @uiGroup General Form Properties
|
|
1187
|
-
* @uiWidget textArea
|
|
1188
|
-
*/
|
|
1189
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
|
|
1190
|
-
/**
|
|
1191
|
-
* Placeholder text displayed in the country search dropdown
|
|
1192
|
-
* @uiName Country field placeholder text
|
|
1193
|
-
* @uiGroup General Form Properties
|
|
1194
|
-
*/
|
|
1195
|
-
this.searchForCountryText = "Search for country..";
|
|
1196
|
-
/**
|
|
1197
|
-
* Part of the alert displayed at the top of the page.
|
|
1198
|
-
* @uiName Page load error message title
|
|
1199
|
-
* @uiGroup General Form Properties
|
|
1200
|
-
* @uiWidget textArea
|
|
1201
|
-
*/
|
|
1202
|
-
this.loadingErrorAlertHeader = "There was a problem loading your form";
|
|
1203
|
-
/**
|
|
1204
|
-
* Part of the alert displayed at the top of the page.
|
|
1205
|
-
* @uiName Page load error message description
|
|
1206
|
-
* @uiGroup General Form Properties
|
|
1207
|
-
* @uiWidget textArea
|
|
1208
|
-
*/
|
|
1209
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
1210
|
-
/**
|
|
1211
|
-
* Displayed at the top of the page on all set up steps.
|
|
1212
|
-
* @uiName Page description
|
|
1213
|
-
* @uiGroup General Form Properties
|
|
1214
|
-
*/
|
|
1215
|
-
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
1216
|
-
/**
|
|
1217
|
-
* Link text for contacting support team
|
|
1218
|
-
* @uiName Suport link text
|
|
1219
|
-
* @uiGroup General Form Properties
|
|
1220
|
-
*/
|
|
1221
|
-
this.supportLink = "support team";
|
|
1222
|
-
/**
|
|
1223
|
-
* Link text for Terms and Conditions
|
|
1224
|
-
* @uiName Terms and Conditions text
|
|
1225
|
-
* @uiGroup General Form Properties
|
|
1226
|
-
*/
|
|
1227
|
-
this.termsAndConditions = "Terms and Conditions";
|
|
1228
|
-
/**
|
|
1229
|
-
*
|
|
1230
|
-
* @undocumented
|
|
1231
|
-
* @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
|
|
1232
|
-
* @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
|
|
1233
|
-
* @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
|
|
1234
|
-
* @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
|
|
1235
|
-
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
1236
|
-
*/
|
|
1237
|
-
this.stateController = "{}";
|
|
1238
|
-
domContextHooks_module.h$1(this);
|
|
1239
|
-
}
|
|
1240
|
-
disconnectedCallback() { }
|
|
1241
|
-
// this field is required prop
|
|
1242
|
-
getGeneralStepTextProps(prefix) {
|
|
1243
|
-
const props = utils$1.getProps(this);
|
|
1244
|
-
return {
|
|
1245
|
-
...extractProps.extractProps(props, prefix),
|
|
1246
|
-
generalErrorTitle: props.generalErrorTitle,
|
|
1247
|
-
generalErrorDescription: props.generalErrorDescription,
|
|
1248
|
-
fieldRequiredError: props.fieldRequiredError,
|
|
1249
|
-
invalidCharacterError: props.invalidCharacterError,
|
|
1250
|
-
fieldInvalidError: props.fieldInvalidError,
|
|
1251
|
-
continueButton: props.continueButton,
|
|
1252
|
-
backButton: props.backButton,
|
|
1253
|
-
cancelButton: props.cancelButton,
|
|
1254
|
-
isPartnerAlertHeader: props.isPartnerAlertHeader,
|
|
1255
|
-
isPartnerAlertDescription: props.isPartnerAlertDescription,
|
|
1256
|
-
loadingErrorAlertHeader: props.loadingErrorAlertHeader,
|
|
1257
|
-
loadingErrorAlertDescription: props.loadingErrorAlertDescription,
|
|
1258
|
-
taxAndPayoutsDescription: props.taxAndPayoutsDescription,
|
|
1259
|
-
searchForCountryText: props.searchForCountryText,
|
|
1260
|
-
formStep: props.formStep,
|
|
1261
|
-
supportLink: props.supportLink,
|
|
1262
|
-
};
|
|
1263
|
-
}
|
|
1264
|
-
render() {
|
|
1265
|
-
var _a, _b;
|
|
1266
|
-
const props = index_module.isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1267
|
-
// @ts-ignore
|
|
1268
|
-
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1269
|
-
const textProps = utils$1.getProps(this);
|
|
1270
|
-
return (index.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
|
|
1271
|
-
if (prop === "demoData")
|
|
1272
|
-
return;
|
|
1273
|
-
return (index.h("div", null, index.h("b", null, prop, ":"), " ", this[prop], index.h("hr", null)));
|
|
1274
|
-
})));
|
|
1275
|
-
}
|
|
1276
|
-
switch (props.step) {
|
|
1277
|
-
case "/1":
|
|
1278
|
-
return (index.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
|
|
1279
|
-
case "/2":
|
|
1280
|
-
return (index.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
|
|
1281
|
-
case "/3":
|
|
1282
|
-
return (index.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
|
|
1283
|
-
case "/4":
|
|
1284
|
-
return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1285
|
-
case "/dashboard":
|
|
1286
|
-
return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1287
|
-
case "/error":
|
|
1288
|
-
return (index.h(ErrorView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: global.intl.formatMessage({
|
|
1289
|
-
id: "loadingErrorAlertDescription",
|
|
1290
|
-
defaultMessage: this.loadingErrorAlertDescription,
|
|
1291
|
-
}, {
|
|
1292
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
|
|
1293
|
-
}) }));
|
|
1294
|
-
}
|
|
1295
|
-
return index.h(utils.LoadingView, null);
|
|
1296
|
-
}
|
|
1297
|
-
};
|
|
1298
|
-
function useDemoTaxAndCash(props) {
|
|
1299
|
-
const [step, setStep] = index_module.In({
|
|
1300
|
-
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
1301
|
-
initialValue: "/1",
|
|
1302
|
-
});
|
|
1303
|
-
const states = parseStates.parseStates(props.stateController);
|
|
1304
|
-
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
1305
|
-
? { ...prev, ...states[key] }
|
|
1306
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1307
|
-
return cjs.cjs({
|
|
1308
|
-
step,
|
|
1309
|
-
setStep,
|
|
1310
|
-
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
exports.sqm_tax_and_cash = TaxAndCashMonolith;
|