@saasquatch/mint-components 1.15.0-41 → 1.15.0-42
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/{ErrorView-b2fcf954.js → ErrorView-5504c2b6.js} +1 -1
- package/dist/cjs/{GenericTableView-a9d0b798.js → GenericTableView-107ade89.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-9cb7a310.js → ShadowViewAddon-42af4b57.js} +1070 -1070
- package/dist/cjs/{copy-text-view-ee147291.js → copy-text-view-af017955.js} +1 -1
- package/dist/cjs/{email-registration-view-dca94dc9.js → email-registration-view-996fb438.js} +1 -1
- package/dist/cjs/{global-d62c5561.js → global-b34bf5f2.js} +95 -102
- package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
- package/dist/cjs/{index.module-ee84433d.js → index.module-39955732.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-2926d85f.js → luxon-3b809948.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-6e4a90f9.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-b324deab.js → re-render-28fed959.js} +2 -2
- package/dist/cjs/{sqm-banking-info-form_10.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1913 -234
- package/dist/cjs/{sqm-base-registration-form-view-1c5094d3.js → sqm-base-registration-form-view-8847804c.js} +2 -2
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +373 -88
- package/dist/cjs/{sqm-close-button-view-b297e933.js → sqm-close-button-view-5e85ac51.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- 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-deaf0385.js +2038 -0
- package/dist/cjs/{sqm-leaderboard-rank-view-7c6cebe3.js → sqm-leaderboard-rank-view-6a1e63de.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-10b62df1.js → sqm-navigation-sidebar-item-view-06eb9721.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-view-38a5227a.js → sqm-navigation-sidebar-view-50ee8796.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-pagination_3.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 +3 -3
- package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-70eaf785.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-156accab.js → sqm-portal-email-verification-view-4100f28c.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-forgot-password-view-fdd97c18.js → sqm-portal-forgot-password-view-ba34601e.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +6 -7
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-f226725e.js → sqm-portal-profile-view-1fc7fb29.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-399f4eaf.js → sqm-portal-registration-form-view-5a96c2f5.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-reset-password-view-0439a9e5.js → sqm-portal-reset-password-view-25eb2099.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-verify-email-view-05f72dec.js → sqm-portal-verify-email-view-1c4e781f.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-qr-code-view-7ee9fa56.js → sqm-qr-code-view-b18b42a8.js} +2 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +19 -19
- 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 +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +14 -14
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +14022 -15352
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-text-span-view-ce4c0178.js → sqm-text-span-view-7a61ae4c.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +6 -14
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +9 -20
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → stencil-hooks.module-62264802.js} +1 -1
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-e5fa605c.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-86b7164c.js} +3 -3
- package/dist/cjs/{usePayoutStatus-feeac99b.js → usePayoutStatus-f26f0467.js} +7 -10
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-bd975a79.js} +57 -2
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-d28621de.js} +3 -3
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-a47dcbc2.js} +2 -2
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-19e7523a.js} +5 -5
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-5f44ca80.js} +2 -2
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-1496b993.js} +2 -2
- package/dist/cjs/{utilities-78f5e169.js → utilities-be3ce1f8.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +2 -2
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +9 -6
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -9
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +4 -4
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +4 -4
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +4 -4
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +41 -24
- package/dist/collection/components/sqm-stencilbook/Themes.js +311 -36
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +79 -81
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +3 -33
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +5 -39
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +6 -41
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +8 -12
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +6 -4
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -26
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +5 -8
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +28 -77
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +3 -62
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +11 -49
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/global/styles.js +93 -100
- package/dist/collection/global/styles.ts +177 -97
- package/dist/esm/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
- package/dist/esm/{GenericTableView-3b6f9ccc.js → GenericTableView-dd9be3ea.js} +1 -1
- package/dist/esm/{ShadowViewAddon-d8cfd6c7.js → ShadowViewAddon-173ce794.js} +1071 -1071
- package/dist/esm/{copy-text-view-4a207b17.js → copy-text-view-38c7c3d5.js} +1 -1
- package/dist/esm/{email-registration-view-8782c01b.js → email-registration-view-db81655f.js} +1 -1
- package/dist/esm/{global-632fb2fa.js → global-16971a34.js} +95 -102
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-bdc54f2e.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-789f9123.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_10.entry.js → sqm-banking-info-form_17.entry.js} +1828 -156
- package/dist/esm/{sqm-base-registration-form-view-d732a5df.js → sqm-base-registration-form-view-193f1721.js} +2 -2
- package/dist/esm/sqm-big-stat_42.entry.js +372 -87
- package/dist/esm/{sqm-close-button-view-bc2bc10e.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-email-verification.entry.js +6 -6
- package/dist/esm/sqm-empty_4.entry.js +5 -5
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- 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-e43241aa.js +2022 -0
- package/dist/esm/{sqm-leaderboard-rank-view-84b3c539.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-6e046743.js → sqm-navigation-sidebar-item-view-48b224fa.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-f898265a.js → sqm-navigation-sidebar-view-6c13798c.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-pagination_3.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-f0b1ccfc.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-24ea7b3c.js → sqm-portal-email-verification-view-7ac99890.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/{sqm-portal-forgot-password-view-55fc0873.js → sqm-portal-forgot-password-view-2628bc62.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
- package/dist/esm/sqm-portal-google-login.entry.js +5 -6
- package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -8
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-9b4d7ec1.js → sqm-portal-profile-view-c68753ea.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-5d651c04.js → sqm-portal-registration-form-view-8bdc3804.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -7
- package/dist/esm/{sqm-portal-reset-password-view-6903828e.js → sqm-portal-reset-password-view-abef7286.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/{sqm-portal-verify-email-view-01ac711f.js → sqm-portal-verify-email-view-33805220.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/{sqm-qr-code-view-62c10948.js → sqm-qr-code-view-358607d1.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +6 -6
- package/dist/esm/sqm-referral-table_11.entry.js +19 -19
- 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 +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +14 -14
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +14035 -15365
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-cd3902e5.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +6 -14
- package/dist/esm/sqm-widget-verification.entry.js +9 -20
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +3 -3
- package/dist/esm/{usePayoutStatus-fed17fc9.js → usePayoutStatus-3768c8c3.js} +7 -10
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-2b813acc.js} +57 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-6341d9fd.js} +2 -2
- package/dist/esm-es5/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
- package/dist/esm-es5/{GenericTableView-3b6f9ccc.js → GenericTableView-dd9be3ea.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-173ce794.js +1 -0
- package/dist/esm-es5/{copy-text-view-4a207b17.js → copy-text-view-38c7c3d5.js} +1 -1
- package/dist/esm-es5/{email-registration-view-8782c01b.js → email-registration-view-db81655f.js} +1 -1
- package/dist/esm-es5/{global-632fb2fa.js → global-16971a34.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-bdc54f2e.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-cc945f38.js → re-render-789f9123.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-d732a5df.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-bc2bc10e.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.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-e43241aa.js +1 -0
- package/dist/esm-es5/{sqm-leaderboard-rank-view-84b3c539.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-6e046743.js → sqm-navigation-sidebar-item-view-48b224fa.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-f898265a.js → sqm-navigation-sidebar-view-6c13798c.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-f0b1ccfc.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-24ea7b3c.js → sqm-portal-email-verification-view-7ac99890.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-55fc0873.js → sqm-portal-forgot-password-view-2628bc62.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.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-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-9b4d7ec1.js → sqm-portal-profile-view-c68753ea.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-view-5d651c04.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-6903828e.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-01ac711f.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-62c10948.js → sqm-qr-code-view-358607d1.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-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-cd3902e5.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
- package/dist/esm-es5/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-fed17fc9.js → usePayoutStatus-3768c8c3.js} +2 -2
- package/dist/esm-es5/usePortalLogin-2b813acc.js +1 -0
- package/dist/esm-es5/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +1 -1
- package/dist/esm-es5/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +1 -1
- package/dist/esm-es5/{utilities-5b0ca040.js → utilities-6341d9fd.js} +1 -1
- package/dist/mint-components/global/styles.ts +177 -97
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-00673c96.js +1 -0
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-0126962c.entry.js +1 -0
- package/dist/mint-components/p-01dd6b18.system.js +1 -0
- package/dist/mint-components/{p-66d22d46.entry.js → p-028d61de.entry.js} +1 -1
- package/dist/mint-components/{p-6d9e52c7.system.js → p-02c92db1.system.js} +1 -1
- package/dist/mint-components/{p-6d2f5a1d.js → p-037da77e.js} +2 -2
- package/dist/mint-components/{p-8175e85f.system.js → p-04007292.system.js} +1 -1
- package/dist/mint-components/{p-1fa9ed0d.system.entry.js → p-055e6ebd.system.entry.js} +1 -1
- package/dist/mint-components/p-0592dc0b.system.js +1 -0
- package/dist/mint-components/{p-d12e9cfd.system.entry.js → p-0714554e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e518a60d.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/{p-51aa8c38.system.entry.js → p-0a1666ef.system.entry.js} +1 -1
- package/dist/mint-components/p-0bf0409f.entry.js +205 -0
- package/dist/mint-components/p-0c327ec3.entry.js +1 -0
- package/dist/mint-components/{p-dbb83730.entry.js → p-0d3e4788.entry.js} +1 -1
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-ca9e0322.system.js → p-0e73c48c.system.js} +1 -1
- package/dist/mint-components/{p-3c3aab4c.system.js → p-10c2a48c.system.js} +1 -1
- package/dist/mint-components/{p-dc293b10.js → p-1238fbd0.js} +27 -27
- package/dist/mint-components/{p-3a62a7e2.system.js → p-12fd7ee9.system.js} +1 -1
- package/dist/mint-components/p-15ad1e97.entry.js +16 -0
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-167be4b9.system.js} +1 -1
- package/dist/mint-components/{p-7adb141e.js → p-16dbd9cb.js} +1 -1
- package/dist/mint-components/p-1bdc4f94.system.entry.js +1 -0
- package/dist/mint-components/{p-b7d1469d.system.entry.js → p-1d46f8fa.system.entry.js} +1 -1
- package/dist/mint-components/{p-33f640f6.system.js → p-1e07c5b4.system.js} +1 -1
- package/dist/mint-components/p-1f6cfd37.js +1 -0
- package/dist/mint-components/{p-41d051b1.system.entry.js → p-1f82181b.system.entry.js} +1 -1
- package/dist/mint-components/{p-e309a219.js → p-204861a6.js} +1 -1
- package/dist/mint-components/{p-c0f19490.js → p-20b2f691.js} +1 -1
- package/dist/mint-components/p-22405668.entry.js +1 -0
- package/dist/mint-components/{p-a60d5315.entry.js → p-238fcec6.entry.js} +1 -1
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-24af584d.js +1 -0
- package/dist/mint-components/{p-96e339f6.system.js → p-27201067.system.js} +20 -20
- package/dist/mint-components/{p-df223bff.entry.js → p-27903fca.entry.js} +1 -1
- package/dist/mint-components/{p-da7708a7.entry.js → p-27bb9d05.entry.js} +1 -1
- package/dist/mint-components/{p-2df6ce8f.entry.js → p-29e61db2.entry.js} +2 -2
- package/dist/mint-components/p-2c227f02.js +394 -0
- package/dist/mint-components/p-2c637c26.system.js +1 -0
- package/dist/mint-components/{p-a71b9154.system.js → p-2f2bced4.system.js} +1 -1
- package/dist/mint-components/{p-d5b3397c.system.entry.js → p-30826d8f.system.entry.js} +1 -1
- package/dist/mint-components/p-3168fa90.js +1 -0
- package/dist/mint-components/p-3174c756.entry.js +1 -0
- package/dist/mint-components/{p-865f812e.entry.js → p-322c1e5e.entry.js} +1 -1
- package/dist/mint-components/p-32e6850d.entry.js +13 -0
- package/dist/mint-components/{p-3e4e74a2.system.entry.js → p-33b13e55.system.entry.js} +1 -1
- package/dist/mint-components/{p-11dff275.js → p-3466bfaa.js} +2 -2
- package/dist/mint-components/{p-54b0b768.system.js → p-34b652a9.system.js} +1 -1
- package/dist/mint-components/{p-cd651f81.js → p-35b2fde0.js} +1 -1
- package/dist/mint-components/p-36bbd4de.entry.js +1 -0
- package/dist/mint-components/{p-5ef6de10.entry.js → p-37c4ae42.entry.js} +1 -1
- package/dist/mint-components/p-37e58170.system.entry.js +1 -0
- package/dist/mint-components/{p-6fa624ff.system.entry.js → p-3b7c875b.system.entry.js} +1 -1
- package/dist/mint-components/{p-82113e37.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/{p-457962b7.system.entry.js → p-4115e328.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-726a9924.js → p-4254a9b6.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-faba3198.entry.js → p-43ce09f0.entry.js} +1 -1
- package/dist/mint-components/{p-9f2edf59.system.js → p-470c9c64.system.js} +1 -1
- package/dist/mint-components/p-490864af.entry.js +258 -0
- package/dist/mint-components/p-492d810b.js +1 -0
- package/dist/mint-components/{p-4e451f75.js → p-4b12067f.js} +1 -1
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-4d8e3766.system.entry.js} +1 -1
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-4e5dff09.system.entry.js} +1 -1
- package/dist/mint-components/{p-af516659.system.entry.js → p-4edcf988.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf157c6e.system.entry.js → p-4fc78f20.system.entry.js} +1 -1
- package/dist/mint-components/p-50bfb01f.system.entry.js +1 -0
- package/dist/mint-components/{p-fb584d7a.js → p-5500bd38.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-572ec8d4.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-6a49b077.system.entry.js → p-5cd3030b.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6352d15.js → p-5cff2ac4.js} +1 -1
- package/dist/mint-components/{p-9721a29a.system.js → p-5efed40f.system.js} +2 -2
- package/dist/mint-components/{p-bb6e411d.system.entry.js → p-5fbbc259.system.entry.js} +1 -1
- package/dist/mint-components/{p-223dd3f7.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-6a5f57d7.entry.js → p-64e3e87a.entry.js} +3 -3
- package/dist/mint-components/{p-505951d2.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/{p-94a876b9.js → p-66ac6bed.js} +1 -1
- package/dist/mint-components/p-676ca2c0.system.js +1 -0
- package/dist/mint-components/{p-74afdafb.system.js → p-67ad2252.system.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-67ca8443.system.entry.js} +1 -1
- package/dist/mint-components/{p-057f5402.js → p-68043f30.js} +1 -1
- package/dist/mint-components/{p-12e61414.system.entry.js → p-692e8ff2.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdd80fce.js → p-69e77f43.js} +1 -1
- package/dist/mint-components/p-6b166700.system.entry.js +1 -0
- package/dist/mint-components/p-6bcac9ed.system.entry.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-6c0c466f.system.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-6cff599f.system.js} +1 -1
- package/dist/mint-components/{p-fbef4ecb.system.js → p-71271fbd.system.js} +1 -1
- package/dist/mint-components/{p-b6761073.entry.js → p-71a0adcf.entry.js} +1 -1
- package/dist/mint-components/{p-e217afd9.system.entry.js → p-7371218f.system.entry.js} +1 -1
- package/dist/mint-components/{p-0a8a6d45.system.entry.js → p-73b3e5a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6831af5.js → p-73feb66f.js} +2 -2
- package/dist/mint-components/{p-3f7b81b8.js → p-74eaa3c0.js} +2 -2
- package/dist/mint-components/{p-be89074c.entry.js → p-799d62fe.entry.js} +1 -1
- package/dist/mint-components/{p-674b82ac.js → p-7b4f0dbc.js} +1 -1
- package/dist/mint-components/p-7b97c0f4.system.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-7d456d0a.system.entry.js} +1 -1
- package/dist/mint-components/{p-13ed8586.system.js → p-7f499d2f.system.js} +1 -1
- package/dist/mint-components/{p-44891949.entry.js → p-8278225e.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-84079726.entry.js} +1 -1
- package/dist/mint-components/{p-cd0ee247.entry.js → p-8408b84b.entry.js} +1 -1
- package/dist/mint-components/{p-a3383f54.system.js → p-84f3732f.system.js} +1 -1
- package/dist/mint-components/{p-48135f99.system.js → p-88e32c4a.system.js} +1 -1
- package/dist/mint-components/{p-042642d3.entry.js → p-88e3b87a.entry.js} +1 -1
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-846aff6a.system.entry.js → p-8f6e124b.system.entry.js} +1 -1
- package/dist/mint-components/{p-450a7705.system.entry.js → p-968e5a9e.system.entry.js} +1 -1
- package/dist/mint-components/p-96c0860e.system.js +1 -0
- package/dist/mint-components/p-96d3900f.entry.js +1 -0
- package/dist/mint-components/{p-2bbff88f.entry.js → p-9713e9a9.entry.js} +1 -1
- package/dist/mint-components/{p-9acf0b39.system.entry.js → p-99a82e5a.system.entry.js} +1 -1
- package/dist/mint-components/{p-66a2b1a4.js → p-99fb2a50.js} +1 -1
- package/dist/mint-components/{p-284e4ed5.entry.js → p-9cc40be1.entry.js} +1 -1
- package/dist/mint-components/p-9daf835f.system.js +1 -0
- package/dist/mint-components/p-a09b2393.entry.js +9 -0
- package/dist/mint-components/p-a255bf0e.entry.js +1 -0
- package/dist/mint-components/{p-d1ae7a2d.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/{p-1b3ab15a.system.entry.js → p-a9be22a6.system.entry.js} +1 -1
- package/dist/mint-components/p-ac71b501.js +1 -0
- package/dist/mint-components/{p-de136dd3.js → p-b1ddc706.js} +1 -1
- package/dist/mint-components/p-b4638167.entry.js +1 -0
- package/dist/mint-components/{p-0df294ad.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b6bdf89e.entry.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-bdb9e05a.system.entry.js} +1 -1
- package/dist/mint-components/{p-e1e62d55.entry.js → p-be725c96.entry.js} +1 -1
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/{p-a3e68251.entry.js → p-c1821c6d.entry.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/{p-da71337b.entry.js → p-c67034c1.entry.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/{p-3a21f8f9.system.entry.js → p-c9592908.system.entry.js} +1 -1
- package/dist/mint-components/{p-9d41d676.system.entry.js → p-cfa40c9b.system.entry.js} +1 -1
- package/dist/mint-components/p-d0de4b73.system.js +1 -0
- package/dist/mint-components/{p-a1e17fd2.js → p-d2066cb0.js} +1 -1
- package/dist/mint-components/{p-a572db9b.system.entry.js → p-d533917f.system.entry.js} +1 -1
- package/dist/mint-components/{p-731d06a9.entry.js → p-d54fa68e.entry.js} +1 -1
- package/dist/mint-components/{p-1878da9b.entry.js → p-d63e5657.entry.js} +2 -2
- package/dist/mint-components/p-d6c151e3.system.js +1 -0
- package/dist/mint-components/p-db86c62e.system.entry.js +1 -0
- package/dist/mint-components/{p-767485b8.system.js → p-dbaab44b.system.js} +1 -1
- package/dist/mint-components/{p-18425f38.system.entry.js → p-dccfe305.system.entry.js} +1 -1
- package/dist/mint-components/p-dddac0ee.system.entry.js +1 -0
- package/dist/mint-components/{p-c96a25c6.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-5bedb58c.js → p-de3ef27e.js} +1 -1
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-df34f189.system.entry.js} +1 -1
- package/dist/mint-components/p-e13ed54a.entry.js +1 -0
- package/dist/mint-components/p-e523b22e.entry.js +11 -0
- package/dist/mint-components/{p-b73a4df4.entry.js → p-e72c2b09.entry.js} +2 -2
- package/dist/mint-components/{p-59274a91.system.js → p-e7aa4f3b.system.js} +1 -1
- package/dist/mint-components/{p-98698131.js → p-ea1eed5d.js} +1 -1
- package/dist/mint-components/p-ecf91505.system.js +1 -0
- package/dist/mint-components/{p-d94a4d50.system.entry.js → p-edf6bf2e.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-efd2b6ec.system.entry.js} +1 -1
- package/dist/mint-components/p-f5a7697e.system.entry.js +1 -0
- package/dist/mint-components/p-f66ccd51.entry.js +1 -0
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f8df914b.system.js +1 -0
- package/dist/mint-components/{p-6cd4f2b1.system.js → p-fca47a45.system.js} +1 -1
- package/dist/mint-components/p-ff3c651c.js +1 -0
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +3 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +5 -5
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +0 -5
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +0 -5
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -5
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +4 -10
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -10
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -7
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +8 -135
- package/dist/types/saasquatch.d.ts +23 -5
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -2
- package/dist/cjs/IndirectTaxDetailsView-d0290a12.js +0 -646
- package/dist/cjs/data-6d96b89c.js +0 -137
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -348
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
- package/dist/cjs/sqm-portal-login-view-0fbbda1b.js +0 -58
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1221
- package/dist/cjs/utils-ce18d1bc.js +0 -105
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
- package/dist/collection/utils/parseStates.js +0 -12
- package/dist/esm/IndirectTaxDetailsView-3be86bcf.js +0 -639
- package/dist/esm/data-a05c78ae.js +0 -121
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
- package/dist/esm/sqm-asset-card.entry.js +0 -41
- package/dist/esm/sqm-code-verification.entry.js +0 -344
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
- package/dist/esm/sqm-portal-login-view-e870b4b0.js +0 -56
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1217
- package/dist/esm/utils-1654e233.js +0 -97
- package/dist/esm-es5/IndirectTaxDetailsView-3be86bcf.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-d8cfd6c7.js +0 -1
- package/dist/esm-es5/data-a05c78ae.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-e870b4b0.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
- package/dist/esm-es5/utils-1654e233.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-05f29f64.js +0 -1
- package/dist/mint-components/p-06ce54e2.entry.js +0 -258
- package/dist/mint-components/p-0984523b.js +0 -1
- package/dist/mint-components/p-0a37a288.system.entry.js +0 -1
- package/dist/mint-components/p-0b3218a5.entry.js +0 -1
- package/dist/mint-components/p-0e32981f.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-127e66c2.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-1513309d.entry.js +0 -1
- package/dist/mint-components/p-155cf177.system.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-229f797b.js +0 -1
- package/dist/mint-components/p-275b4767.entry.js +0 -1
- package/dist/mint-components/p-2cfe9826.system.entry.js +0 -1
- package/dist/mint-components/p-2d52e2d7.system.js +0 -1
- package/dist/mint-components/p-301ddcaa.system.entry.js +0 -1
- package/dist/mint-components/p-32a47b41.system.js +0 -1
- package/dist/mint-components/p-38fc919b.entry.js +0 -1
- package/dist/mint-components/p-46a672e4.entry.js +0 -1
- package/dist/mint-components/p-4841c5e9.system.entry.js +0 -1
- package/dist/mint-components/p-4b42b756.entry.js +0 -1
- package/dist/mint-components/p-4b9789a2.system.js +0 -1
- package/dist/mint-components/p-4bb1c4b2.system.js +0 -1
- package/dist/mint-components/p-4cbd7eec.js +0 -394
- package/dist/mint-components/p-4d478108.system.entry.js +0 -1
- package/dist/mint-components/p-4e526a94.js +0 -1
- package/dist/mint-components/p-527216de.system.js +0 -1
- package/dist/mint-components/p-52d15f87.system.js +0 -1
- package/dist/mint-components/p-5488fdd9.system.js +0 -1
- package/dist/mint-components/p-5510be1e.system.entry.js +0 -1
- package/dist/mint-components/p-5c5964e0.js +0 -1
- package/dist/mint-components/p-5d407714.system.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6798cad1.system.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-6ef506ba.entry.js +0 -16
- package/dist/mint-components/p-704f162e.entry.js +0 -1
- package/dist/mint-components/p-70fddbdd.entry.js +0 -11
- package/dist/mint-components/p-780b981b.entry.js +0 -1
- package/dist/mint-components/p-7b731acd.entry.js +0 -93
- package/dist/mint-components/p-84a78d09.entry.js +0 -1
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-8feb4180.entry.js +0 -1
- package/dist/mint-components/p-9711efb7.entry.js +0 -1
- package/dist/mint-components/p-97d4d651.system.js +0 -1
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-a27a15c5.system.entry.js +0 -1
- package/dist/mint-components/p-a91e7c05.system.entry.js +0 -1
- package/dist/mint-components/p-b637f1e4.js +0 -1
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c0b07067.system.js +0 -1
- package/dist/mint-components/p-c1b1f8ae.system.entry.js +0 -1
- package/dist/mint-components/p-c75a3b4a.js +0 -103
- package/dist/mint-components/p-c9745c8f.system.js +0 -1
- package/dist/mint-components/p-e2705fbe.system.js +0 -1
- package/dist/mint-components/p-e5d9e709.entry.js +0 -13
- package/dist/mint-components/p-e8ffcc68.entry.js +0 -11
- package/dist/mint-components/p-eb998f7b.entry.js +0 -9
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f53f5304.system.entry.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/mint-components/p-f8175201.system.js +0 -1
- package/dist/mint-components/p-fb13065a.js +0 -1
- package/dist/mint-components/p-fda43e22.system.entry.js +0 -1
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
- package/dist/types/utils/parseStates.d.ts +0 -1
- /package/dist/collection/components/tax-and-cash/{data.js → sqm-tax-and-cash/data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{data.d.ts → sqm-tax-and-cash/data.d.ts} +0 -0
|
@@ -1,23 +1,142 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as Host, g as getElement } from './index-
|
|
2
|
-
import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, q as En, u as useCallback, R as Rn } from './index.module-
|
|
1
|
+
import { h, r as registerInstance, c as Host, g as getElement } from './index-b3a06de8.js';
|
|
2
|
+
import { m as useRef, k as useState, f as useEffect, n as h$1, l, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
+
import { i as intl } from './global-16971a34.js';
|
|
4
|
+
import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, q as En, u as useCallback, R as Rn, M as Mn, I as In, S as Sn } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps } from './utils-334c1e34.js';
|
|
7
|
+
import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './mixins-f750863a.js';
|
|
10
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
20
|
-
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-
|
|
9
|
+
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
10
|
+
import { G as GenericTableView } from './GenericTableView-dd9be3ea.js';
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-789f9123.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-0ca9a015.js';
|
|
13
|
+
import { l as luxon } from './luxon-793b7f13.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-c1511d9d.js';
|
|
15
|
+
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
16
|
+
import { E as ErrorView } from './ErrorView-eaafd6f5.js';
|
|
17
|
+
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-e43241aa.js';
|
|
18
|
+
import { e as extractProps } from './extractProps-ae1afbb3.js';
|
|
19
|
+
import { b as VERIFICATION_EVENT_KEY, V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
20
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-3768c8c3.js';
|
|
21
|
+
import { u as useVerificationEmail } from './useVerificationEmail-085eda87.js';
|
|
22
|
+
|
|
23
|
+
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
24
|
+
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
25
|
+
const USER_QUERY_NAMESPACE = "sq:user-info-query";
|
|
26
|
+
const USER_FORM_CONTEXT_NAMESPACE = "sq:user-form-context";
|
|
27
|
+
const FINANCE_NETWORK_SETTINGS_NAMESPACE = "sq:finance-network-settings";
|
|
28
|
+
const COUNTRIES_NAMESPACE = "sq:countries:list";
|
|
29
|
+
const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
|
|
30
|
+
const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
|
|
31
|
+
const CURRENCIES_NAMESPACE = "sq:currencies:list";
|
|
32
|
+
const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
|
|
33
|
+
const GET_USER = dist.gql `
|
|
34
|
+
query getUserTaxInfo {
|
|
35
|
+
user: viewer {
|
|
36
|
+
... on User {
|
|
37
|
+
id
|
|
38
|
+
firstName
|
|
39
|
+
lastName
|
|
40
|
+
email
|
|
41
|
+
countryCode
|
|
42
|
+
customFields
|
|
43
|
+
managedIdentity {
|
|
44
|
+
uid
|
|
45
|
+
email
|
|
46
|
+
emailVerified
|
|
47
|
+
}
|
|
48
|
+
impactConnection {
|
|
49
|
+
connected
|
|
50
|
+
user {
|
|
51
|
+
firstName
|
|
52
|
+
lastName
|
|
53
|
+
}
|
|
54
|
+
publisher {
|
|
55
|
+
id
|
|
56
|
+
brandedSignup
|
|
57
|
+
countryCode
|
|
58
|
+
currency
|
|
59
|
+
billingAddress
|
|
60
|
+
billingCity
|
|
61
|
+
billingState
|
|
62
|
+
billingCountryCode
|
|
63
|
+
billingPostalCode
|
|
64
|
+
phoneNumberCountryCode
|
|
65
|
+
phoneNumber
|
|
66
|
+
taxInformation {
|
|
67
|
+
indirectTaxId
|
|
68
|
+
indirectTaxCountryCode
|
|
69
|
+
indirectTaxRegion
|
|
70
|
+
additionalTaxId
|
|
71
|
+
withholdingTaxId
|
|
72
|
+
withholdingTaxCountryCode
|
|
73
|
+
}
|
|
74
|
+
requiredTaxDocumentType
|
|
75
|
+
currentTaxDocument {
|
|
76
|
+
status
|
|
77
|
+
type
|
|
78
|
+
dateCreated
|
|
79
|
+
}
|
|
80
|
+
withdrawalSettings {
|
|
81
|
+
paymentMethod
|
|
82
|
+
paypalEmailAddress
|
|
83
|
+
bankCountry
|
|
84
|
+
bankAccountNumber
|
|
85
|
+
paymentSchedulingType
|
|
86
|
+
paymentThreshold
|
|
87
|
+
paymentDay
|
|
88
|
+
}
|
|
89
|
+
payoutsAccount {
|
|
90
|
+
hold
|
|
91
|
+
holdReasons
|
|
92
|
+
balance
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`;
|
|
100
|
+
const GET_COUNTRIES = dist.gql `
|
|
101
|
+
query getCountries {
|
|
102
|
+
impactPayoutCountries(limit: 1000) {
|
|
103
|
+
data {
|
|
104
|
+
countryCode
|
|
105
|
+
displayName
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
`;
|
|
110
|
+
const GET_CURRENCIES = dist.gql `
|
|
111
|
+
query currencies($locale: RSLocale) {
|
|
112
|
+
currencies(limit: 300) {
|
|
113
|
+
data {
|
|
114
|
+
displayName(locale: $locale)
|
|
115
|
+
currencyCode
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
const GET_FINANCE_NETWORK_SETTINGS = dist.gql `
|
|
121
|
+
query impactFinanceNetworkSettings(
|
|
122
|
+
$filter: ImpactFinanceNetworkSettingsFilterInput
|
|
123
|
+
) {
|
|
124
|
+
impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
|
|
125
|
+
data {
|
|
126
|
+
countryCode
|
|
127
|
+
currency
|
|
128
|
+
defaultFinancePaymentMethodId
|
|
129
|
+
thresholdOptions
|
|
130
|
+
withdrawalSettingId
|
|
131
|
+
internationalEftFee
|
|
132
|
+
foreignFxFee
|
|
133
|
+
defaultFxFee
|
|
134
|
+
}
|
|
135
|
+
totalCount
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
`;
|
|
139
|
+
const FORM_STEPS = 4;
|
|
21
140
|
|
|
22
141
|
function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
23
142
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
|
|
@@ -668,8 +787,10 @@ const vanillaStyle = `
|
|
|
668
787
|
|
|
669
788
|
/* this class is dynamically applied in controller */
|
|
670
789
|
.error-input::part(base) {
|
|
671
|
-
border:
|
|
672
|
-
border-
|
|
790
|
+
--sqm-input-border-color: var(--sqm-danger-color-border);
|
|
791
|
+
--sl-input-border-color: var(--sqm-danger-color-border);
|
|
792
|
+
--sl-input-border-color-hover: var(--sqm-danger-color-border);
|
|
793
|
+
--sl-input-border-color-focus: var(--sqm-danger-color-background);
|
|
673
794
|
}
|
|
674
795
|
|
|
675
796
|
.error-input::part(help-text) {
|
|
@@ -771,7 +892,7 @@ const BankingInfoFormView = (props) => {
|
|
|
771
892
|
: slots.paymentFixedDaySelectSlot))))),
|
|
772
893
|
h("div", { class: classes.BtnContainer },
|
|
773
894
|
h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
|
774
|
-
!states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "
|
|
895
|
+
!states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
|
|
775
896
|
};
|
|
776
897
|
|
|
777
898
|
// Hardcoded in Impact backend
|
|
@@ -1622,6 +1743,331 @@ function useDemoBankingInfoForm(props) {
|
|
|
1622
1743
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1623
1744
|
}
|
|
1624
1745
|
|
|
1746
|
+
const style$1 = {
|
|
1747
|
+
Wrapper: {
|
|
1748
|
+
display: "flex",
|
|
1749
|
+
flexDirection: "column",
|
|
1750
|
+
gap: "var(--sl-spacing-medium)",
|
|
1751
|
+
maxWidth: "550px",
|
|
1752
|
+
},
|
|
1753
|
+
HeaderContainer: {
|
|
1754
|
+
display: "flex",
|
|
1755
|
+
flexDirection: "column",
|
|
1756
|
+
},
|
|
1757
|
+
InputsContainer: {
|
|
1758
|
+
display: "flex",
|
|
1759
|
+
gap: "var(--sl-spacing-medium)",
|
|
1760
|
+
position: "relative",
|
|
1761
|
+
flexDirection: "column",
|
|
1762
|
+
},
|
|
1763
|
+
CodeInputContainer: {
|
|
1764
|
+
display: "flex",
|
|
1765
|
+
gap: "var(--sl-spacing-medium)",
|
|
1766
|
+
},
|
|
1767
|
+
CodeInput: {
|
|
1768
|
+
maxWidth: "40px",
|
|
1769
|
+
"&::part(input)": {
|
|
1770
|
+
margin: "0",
|
|
1771
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1772
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1773
|
+
},
|
|
1774
|
+
},
|
|
1775
|
+
CodeInputError: {
|
|
1776
|
+
...ErrorStyles,
|
|
1777
|
+
maxWidth: "40px",
|
|
1778
|
+
"&::part(input)": {
|
|
1779
|
+
margin: "0",
|
|
1780
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1781
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1782
|
+
},
|
|
1783
|
+
},
|
|
1784
|
+
ErrorText: {
|
|
1785
|
+
color: "var(--sl-color-danger-500)",
|
|
1786
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1787
|
+
margin: "0",
|
|
1788
|
+
},
|
|
1789
|
+
ContinueButton: {
|
|
1790
|
+
width: "100%",
|
|
1791
|
+
maxWidth: "100px",
|
|
1792
|
+
},
|
|
1793
|
+
FooterContainer: {
|
|
1794
|
+
display: "flex",
|
|
1795
|
+
flexDirection: "column",
|
|
1796
|
+
},
|
|
1797
|
+
SkeletonOne: {
|
|
1798
|
+
width: "50%",
|
|
1799
|
+
height: "16px",
|
|
1800
|
+
},
|
|
1801
|
+
SkeletonTwo: {
|
|
1802
|
+
width: "30%",
|
|
1803
|
+
height: "34px",
|
|
1804
|
+
},
|
|
1805
|
+
SkeletonThree: {
|
|
1806
|
+
width: "15%",
|
|
1807
|
+
height: "24px",
|
|
1808
|
+
},
|
|
1809
|
+
};
|
|
1810
|
+
const vanillaStyle$1 = `
|
|
1811
|
+
:host {
|
|
1812
|
+
display: block;
|
|
1813
|
+
}
|
|
1814
|
+
:host([hidden]): {
|
|
1815
|
+
display: none;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
`;
|
|
1820
|
+
const sheet$1 = createStyleSheet(style$1);
|
|
1821
|
+
const styleString$1 = sheet$1.toString();
|
|
1822
|
+
function WidgetCodeVerificationView(props) {
|
|
1823
|
+
const { states, refs, callbacks, text } = props;
|
|
1824
|
+
const resendCodeText = intl.formatMessage({
|
|
1825
|
+
id: "resendCodeText",
|
|
1826
|
+
defaultMessage: text.resendCodeText,
|
|
1827
|
+
}, {
|
|
1828
|
+
resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
|
|
1829
|
+
e.preventDefault();
|
|
1830
|
+
callbacks.resendEmail();
|
|
1831
|
+
} }, text.resendCodeLabel)),
|
|
1832
|
+
});
|
|
1833
|
+
const codeResentSuccessfully = intl.formatMessage({
|
|
1834
|
+
id: "codeResentSuccessfully",
|
|
1835
|
+
defaultMessage: text.codeResentSuccessfullyText,
|
|
1836
|
+
}, {
|
|
1837
|
+
email: states.email,
|
|
1838
|
+
});
|
|
1839
|
+
const inputClass = states.verifyFailed
|
|
1840
|
+
? sheet$1.classes.CodeInputError
|
|
1841
|
+
: sheet$1.classes.CodeInput;
|
|
1842
|
+
return (h("div", { part: "sqm-base" },
|
|
1843
|
+
h("style", { type: "text/css" },
|
|
1844
|
+
vanillaStyle$1,
|
|
1845
|
+
styleString$1),
|
|
1846
|
+
h("div", { class: sheet$1.classes.Wrapper },
|
|
1847
|
+
h("div", { class: sheet$1.classes.HeaderContainer },
|
|
1848
|
+
h(TextSpanView, { type: "p" }, intl.formatMessage({
|
|
1849
|
+
id: `emailHeaderText`,
|
|
1850
|
+
defaultMessage: states.verifyFailed
|
|
1851
|
+
? text.reverifyCodeHeaderText
|
|
1852
|
+
: text.verifyCodeHeaderText,
|
|
1853
|
+
}, { email: states.email }))),
|
|
1854
|
+
states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
1855
|
+
h("b", null, codeResentSuccessfully))),
|
|
1856
|
+
h("div", { class: sheet$1.classes.InputsContainer },
|
|
1857
|
+
h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
|
|
1858
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1859
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1860
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1861
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1862
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1863
|
+
h("sl-input", { class: inputClass, name: "code" })),
|
|
1864
|
+
states.verifyFailed && (h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
|
|
1865
|
+
h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
|
|
1866
|
+
h("div", { class: sheet$1.classes.FooterContainer },
|
|
1867
|
+
h(TextSpanView, { type: "p" }, resendCodeText)))));
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
const VerifyEmailWithCodeMutation = dist.gql `
|
|
1871
|
+
mutation submitImpactPublisherEmail2FACode(
|
|
1872
|
+
$user: UserIdInput!
|
|
1873
|
+
$code: String!
|
|
1874
|
+
) {
|
|
1875
|
+
submitImpactPublisherEmail2FACode(user: $user, code: $code) {
|
|
1876
|
+
verifiedEmail
|
|
1877
|
+
accessKey
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
`;
|
|
1881
|
+
function useWidgetCodeVerification(props) {
|
|
1882
|
+
const host = l();
|
|
1883
|
+
const [_, setShowCode] = Pn(SHOW_CODE_NAMESPACE);
|
|
1884
|
+
const email = Fn(VERIFICATION_EMAIL_NAMESPACE);
|
|
1885
|
+
const [emailSent, setEmailSent] = useState(false);
|
|
1886
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
1887
|
+
const [codeRef, setCodeRef] = useState(null);
|
|
1888
|
+
const [validationError, setValidationError] = useState(false);
|
|
1889
|
+
const [emailError, setEmailError] = useState(false);
|
|
1890
|
+
const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
|
|
1891
|
+
useEffect(() => {
|
|
1892
|
+
if (!codeRef)
|
|
1893
|
+
return;
|
|
1894
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1895
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1896
|
+
codeElements.forEach((element, idx) => {
|
|
1897
|
+
element.addEventListener("focus", (e) => {
|
|
1898
|
+
e.target.select();
|
|
1899
|
+
});
|
|
1900
|
+
element.addEventListener("keydown", (e) => {
|
|
1901
|
+
if (e.key === "Backspace" && e.target.value === "") {
|
|
1902
|
+
codeElements[Math.max(0, idx - 1)].focus();
|
|
1903
|
+
}
|
|
1904
|
+
});
|
|
1905
|
+
element.addEventListener("input", (e) => {
|
|
1906
|
+
const input = e.data;
|
|
1907
|
+
if (!input)
|
|
1908
|
+
return;
|
|
1909
|
+
if (idx === codeElements.length - 1) {
|
|
1910
|
+
e.target.value = input.slice(0, 1);
|
|
1911
|
+
return;
|
|
1912
|
+
}
|
|
1913
|
+
if (input.length > 1) {
|
|
1914
|
+
const rest = input.slice(1);
|
|
1915
|
+
e.target.value = input.slice(0, 1);
|
|
1916
|
+
codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
|
|
1917
|
+
inputType: "insertFromPaste",
|
|
1918
|
+
data: rest,
|
|
1919
|
+
}));
|
|
1920
|
+
}
|
|
1921
|
+
codeElements[idx + 1].focus();
|
|
1922
|
+
});
|
|
1923
|
+
});
|
|
1924
|
+
}, [codeRef]);
|
|
1925
|
+
const reset = () => {
|
|
1926
|
+
setShowCode(false);
|
|
1927
|
+
setValidationError(false);
|
|
1928
|
+
};
|
|
1929
|
+
const resendEmail = async () => {
|
|
1930
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1931
|
+
if (!initialized)
|
|
1932
|
+
return;
|
|
1933
|
+
const result = await sendEmail();
|
|
1934
|
+
if (!result) {
|
|
1935
|
+
setEmailError(true);
|
|
1936
|
+
return;
|
|
1937
|
+
}
|
|
1938
|
+
if (emailSent)
|
|
1939
|
+
setEmailResent(true);
|
|
1940
|
+
setEmailSent(true);
|
|
1941
|
+
};
|
|
1942
|
+
const submitCode = async () => {
|
|
1943
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1944
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1945
|
+
if (codeElements.find((el) => !el.value)) {
|
|
1946
|
+
setValidationError(true);
|
|
1947
|
+
return;
|
|
1948
|
+
}
|
|
1949
|
+
let code = "";
|
|
1950
|
+
codeElements.forEach((element) => {
|
|
1951
|
+
code = `${code}${element.value}`;
|
|
1952
|
+
});
|
|
1953
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1954
|
+
if (!initialized)
|
|
1955
|
+
return;
|
|
1956
|
+
setValidationError(false);
|
|
1957
|
+
const res = await verifyEmail(code);
|
|
1958
|
+
if (res === null || res === void 0 ? void 0 : res.success) {
|
|
1959
|
+
props.onVerification(res.accessKey);
|
|
1960
|
+
reset();
|
|
1961
|
+
}
|
|
1962
|
+
else {
|
|
1963
|
+
setValidationError(true);
|
|
1964
|
+
}
|
|
1965
|
+
};
|
|
1966
|
+
useEffect(() => {
|
|
1967
|
+
// Wait for mutations to be determined from user lookup
|
|
1968
|
+
if (!initialized)
|
|
1969
|
+
return;
|
|
1970
|
+
// email should already exist if user has completed email-verification
|
|
1971
|
+
if (!email)
|
|
1972
|
+
resendEmail();
|
|
1973
|
+
else
|
|
1974
|
+
setEmailSent(true);
|
|
1975
|
+
}, [initialized]);
|
|
1976
|
+
return {
|
|
1977
|
+
refs: {
|
|
1978
|
+
codeWrapperRef: setCodeRef,
|
|
1979
|
+
},
|
|
1980
|
+
states: {
|
|
1981
|
+
email: verificationEmail,
|
|
1982
|
+
emailResent,
|
|
1983
|
+
resendError: sendErrors || verifyErrors,
|
|
1984
|
+
initialiseLoading: !initialized,
|
|
1985
|
+
loading: sendLoading || verifyLoading,
|
|
1986
|
+
verifyFailed: !!validationError,
|
|
1987
|
+
},
|
|
1988
|
+
callbacks: {
|
|
1989
|
+
resendEmail,
|
|
1990
|
+
submitCode,
|
|
1991
|
+
},
|
|
1992
|
+
text: props.getTextProps(),
|
|
1993
|
+
};
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
const WidgetCodeVerification = class {
|
|
1997
|
+
constructor(hostRef) {
|
|
1998
|
+
registerInstance(this, hostRef);
|
|
1999
|
+
/**
|
|
2000
|
+
* @uiName Verify code widget header text
|
|
2001
|
+
*/
|
|
2002
|
+
this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2003
|
+
/**
|
|
2004
|
+
* @uiName Reverify code widget header text
|
|
2005
|
+
*/
|
|
2006
|
+
this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2007
|
+
/**
|
|
2008
|
+
* Text displayed under verify button
|
|
2009
|
+
* @uiName Resend code text
|
|
2010
|
+
*/
|
|
2011
|
+
this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
2012
|
+
/**
|
|
2013
|
+
* The link that appears in the resend code link
|
|
2014
|
+
* @uiName Resend code label
|
|
2015
|
+
*/
|
|
2016
|
+
this.resendCodeLabel = "Resend code";
|
|
2017
|
+
/**
|
|
2018
|
+
* Link text displayed under verify button
|
|
2019
|
+
* @uiName Resend code text
|
|
2020
|
+
*/
|
|
2021
|
+
this.codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
2022
|
+
/**
|
|
2023
|
+
* Error text displayed under verification input
|
|
2024
|
+
* @uiName Invalid code text
|
|
2025
|
+
*/
|
|
2026
|
+
this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
2027
|
+
/**
|
|
2028
|
+
* @uiName Verify code button text
|
|
2029
|
+
*/
|
|
2030
|
+
this.verifyText = "Verify";
|
|
2031
|
+
/**
|
|
2032
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
2033
|
+
* @uiName Network error message
|
|
2034
|
+
*/
|
|
2035
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
2036
|
+
h$1(this);
|
|
2037
|
+
}
|
|
2038
|
+
disconnectedCallback() { }
|
|
2039
|
+
getTextProps() {
|
|
2040
|
+
return getProps(this);
|
|
2041
|
+
}
|
|
2042
|
+
render() {
|
|
2043
|
+
const props = isDemo()
|
|
2044
|
+
? useDemoWidgetCodeVerification(this)
|
|
2045
|
+
: useWidgetCodeVerification(this);
|
|
2046
|
+
return h(WidgetCodeVerificationView, Object.assign({}, props));
|
|
2047
|
+
}
|
|
2048
|
+
};
|
|
2049
|
+
function useDemoWidgetCodeVerification(props) {
|
|
2050
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
2051
|
+
const setVerifiedContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
2052
|
+
return cjs({
|
|
2053
|
+
states: {
|
|
2054
|
+
loading: false,
|
|
2055
|
+
email: "test@example.com",
|
|
2056
|
+
emailResent,
|
|
2057
|
+
resendError: false,
|
|
2058
|
+
verifyFailed: false,
|
|
2059
|
+
},
|
|
2060
|
+
refs: {
|
|
2061
|
+
codeWrapperRef: () => { },
|
|
2062
|
+
},
|
|
2063
|
+
callbacks: {
|
|
2064
|
+
resendEmail: async () => setEmailResent(true),
|
|
2065
|
+
submitCode: async () => setVerifiedContext(true),
|
|
2066
|
+
},
|
|
2067
|
+
text: props.getTextProps(),
|
|
2068
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2069
|
+
}
|
|
2070
|
+
|
|
1625
2071
|
const GET_TAX_DOCUMENT = dist.gql `
|
|
1626
2072
|
mutation createImpactPublisherTaxDocument(
|
|
1627
2073
|
$vars: CreateImpactPublisherTaxDocumentInput!
|
|
@@ -1779,7 +2225,7 @@ function getDocumentType(p) {
|
|
|
1779
2225
|
return undefined;
|
|
1780
2226
|
}
|
|
1781
2227
|
|
|
1782
|
-
const style$
|
|
2228
|
+
const style$2 = {
|
|
1783
2229
|
DocusignStatusContainer: {
|
|
1784
2230
|
width: "100%",
|
|
1785
2231
|
minHeight: "600px",
|
|
@@ -1806,13 +2252,13 @@ const style$1 = {
|
|
|
1806
2252
|
},
|
|
1807
2253
|
},
|
|
1808
2254
|
};
|
|
1809
|
-
const sheet$
|
|
1810
|
-
const styleString$
|
|
2255
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
2256
|
+
const styleString$2 = sheet$2.toString();
|
|
1811
2257
|
const DocusignExpiredView = (props) => {
|
|
1812
|
-
const { classes } = sheet$
|
|
2258
|
+
const { classes } = sheet$2;
|
|
1813
2259
|
const { text } = props;
|
|
1814
2260
|
return (h("div", null,
|
|
1815
|
-
h("style", { type: "text/css" }, styleString$
|
|
2261
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1816
2262
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1817
2263
|
h("sl-icon", { style: {
|
|
1818
2264
|
width: "50px",
|
|
@@ -1824,10 +2270,10 @@ const DocusignExpiredView = (props) => {
|
|
|
1824
2270
|
h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1825
2271
|
};
|
|
1826
2272
|
const DocusignErrorView = (props) => {
|
|
1827
|
-
const { classes } = sheet$
|
|
2273
|
+
const { classes } = sheet$2;
|
|
1828
2274
|
const { text } = props;
|
|
1829
2275
|
return (h("div", null,
|
|
1830
|
-
h("style", { type: "text/css" }, styleString$
|
|
2276
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1831
2277
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1832
2278
|
h("sl-icon", { style: {
|
|
1833
2279
|
width: "50px",
|
|
@@ -1839,14 +2285,14 @@ const DocusignErrorView = (props) => {
|
|
|
1839
2285
|
h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1840
2286
|
};
|
|
1841
2287
|
const DocusignLoadingView = () => {
|
|
1842
|
-
const { classes } = sheet$
|
|
2288
|
+
const { classes } = sheet$2;
|
|
1843
2289
|
return (h("div", null,
|
|
1844
|
-
h("style", { type: "text/css" }, styleString$
|
|
2290
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1845
2291
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1846
2292
|
h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
|
|
1847
2293
|
};
|
|
1848
2294
|
const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
1849
|
-
const { classes } = sheet$
|
|
2295
|
+
const { classes } = sheet$2;
|
|
1850
2296
|
const [iFrameHeight, setiFrameHeight] = useState("100%");
|
|
1851
2297
|
const allowedDomains = [
|
|
1852
2298
|
"referralsaasquatch.com",
|
|
@@ -1879,12 +2325,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
|
1879
2325
|
return h(DocusignExpiredView, { text: text });
|
|
1880
2326
|
// Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
|
|
1881
2327
|
return (h("div", { style: { height: iFrameHeight } },
|
|
1882
|
-
h("style", { type: "text/css" }, styleString$
|
|
2328
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1883
2329
|
h("div", { class: classes.IFrameContainer },
|
|
1884
2330
|
h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
|
|
1885
2331
|
};
|
|
1886
2332
|
|
|
1887
|
-
const style$
|
|
2333
|
+
const style$3 = {
|
|
1888
2334
|
FormWrapper: {
|
|
1889
2335
|
display: "flex",
|
|
1890
2336
|
justifyContent: "flex-start",
|
|
@@ -1974,9 +2420,9 @@ const style$2 = {
|
|
|
1974
2420
|
fontSize: "var(--sl-font-size-medium)",
|
|
1975
2421
|
},
|
|
1976
2422
|
};
|
|
1977
|
-
const sheet$
|
|
1978
|
-
const styleString$
|
|
1979
|
-
const vanillaStyle$
|
|
2423
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
2424
|
+
const styleString$3 = sheet$3.toString();
|
|
2425
|
+
const vanillaStyle$2 = `
|
|
1980
2426
|
:host{
|
|
1981
2427
|
display: block;
|
|
1982
2428
|
}
|
|
@@ -1997,11 +2443,11 @@ const vanillaStyle$1 = `
|
|
|
1997
2443
|
const DocusignFormView = (props) => {
|
|
1998
2444
|
var _a;
|
|
1999
2445
|
const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
|
|
2000
|
-
const { classes } = sheet$
|
|
2446
|
+
const { classes } = sheet$3;
|
|
2001
2447
|
return (h("div", { class: classes.Container },
|
|
2002
2448
|
h("style", { type: "text/css" },
|
|
2003
|
-
styleString$
|
|
2004
|
-
vanillaStyle$
|
|
2449
|
+
styleString$3,
|
|
2450
|
+
vanillaStyle$2),
|
|
2005
2451
|
h("div", { class: classes.TextContainer },
|
|
2006
2452
|
h("div", null,
|
|
2007
2453
|
!states.hideSteps && (h("p", null, intl.formatMessage({
|
|
@@ -2011,7 +2457,7 @@ const DocusignFormView = (props) => {
|
|
|
2011
2457
|
h("h3", null, text.taxForm),
|
|
2012
2458
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
2013
2459
|
states.loadingError && (h("div", null,
|
|
2014
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2460
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2015
2461
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2016
2462
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2017
2463
|
h("br", null),
|
|
@@ -2021,7 +2467,7 @@ const DocusignFormView = (props) => {
|
|
|
2021
2467
|
}, {
|
|
2022
2468
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2023
2469
|
})))),
|
|
2024
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2470
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2025
2471
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2026
2472
|
h("strong", null, text.error.generalTitle),
|
|
2027
2473
|
h("br", null),
|
|
@@ -2241,7 +2687,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
|
|
|
2241
2687
|
} }, h("span", null, "Placeholder for docusign iframe"), h("div", { style: { display: "flex", gap: "8px" } }, h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
|
|
2242
2688
|
};
|
|
2243
2689
|
|
|
2244
|
-
const style$
|
|
2690
|
+
const style$4 = {
|
|
2245
2691
|
FormWrapper: {
|
|
2246
2692
|
display: "flex",
|
|
2247
2693
|
justifyContent: "flex-start",
|
|
@@ -2373,9 +2819,9 @@ const style$3 = {
|
|
|
2373
2819
|
},
|
|
2374
2820
|
},
|
|
2375
2821
|
};
|
|
2376
|
-
const sheet$
|
|
2377
|
-
const styleString$
|
|
2378
|
-
const vanillaStyle$
|
|
2822
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
2823
|
+
const styleString$4 = sheet$4.toString();
|
|
2824
|
+
const vanillaStyle$3 = `
|
|
2379
2825
|
:host{
|
|
2380
2826
|
display: block;
|
|
2381
2827
|
}
|
|
@@ -2402,11 +2848,11 @@ const vanillaStyle$2 = `
|
|
|
2402
2848
|
const IndirectTaxFormView = (props) => {
|
|
2403
2849
|
var _a;
|
|
2404
2850
|
const { states, states: { formState }, callbacks, text, refs, slots, } = props;
|
|
2405
|
-
const { classes } = sheet$
|
|
2851
|
+
const { classes } = sheet$4;
|
|
2406
2852
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2407
2853
|
h("style", { type: "text/css" },
|
|
2408
|
-
styleString$
|
|
2409
|
-
vanillaStyle$
|
|
2854
|
+
styleString$4,
|
|
2855
|
+
vanillaStyle$3),
|
|
2410
2856
|
h("div", { class: classes.TextContainer },
|
|
2411
2857
|
h("div", null,
|
|
2412
2858
|
!states.hideSteps && (h("p", null,
|
|
@@ -2419,7 +2865,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2419
2865
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
2420
2866
|
h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
|
|
2421
2867
|
states.loadingError && (h("div", null,
|
|
2422
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2868
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
|
|
2423
2869
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2424
2870
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2425
2871
|
h("br", null),
|
|
@@ -2429,7 +2875,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2429
2875
|
}, {
|
|
2430
2876
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2431
2877
|
})))),
|
|
2432
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2878
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
|
|
2433
2879
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2434
2880
|
h("strong", null, text.error.generalTitle),
|
|
2435
2881
|
h("br", null),
|
|
@@ -2439,7 +2885,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2439
2885
|
}, {
|
|
2440
2886
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2441
2887
|
}))),
|
|
2442
|
-
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
2888
|
+
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
2443
2889
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
2444
2890
|
h("strong", null, text.isPartnerAlertHeader),
|
|
2445
2891
|
h("br", null),
|
|
@@ -3312,6 +3758,18 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
|
|
|
3312
3758
|
return demoProps;
|
|
3313
3759
|
}
|
|
3314
3760
|
|
|
3761
|
+
const InvoiceTableDataCell = class {
|
|
3762
|
+
constructor(hostRef) {
|
|
3763
|
+
registerInstance(this, hostRef);
|
|
3764
|
+
this.ignored = true;
|
|
3765
|
+
h$1(this);
|
|
3766
|
+
}
|
|
3767
|
+
disconnectedCallback() { }
|
|
3768
|
+
render() {
|
|
3769
|
+
return this.data;
|
|
3770
|
+
}
|
|
3771
|
+
};
|
|
3772
|
+
|
|
3315
3773
|
const InvoiceTableDataColumn = class {
|
|
3316
3774
|
constructor(hostRef) {
|
|
3317
3775
|
registerInstance(this, hostRef);
|
|
@@ -3330,6 +3788,23 @@ const InvoiceTableDataColumn = class {
|
|
|
3330
3788
|
}
|
|
3331
3789
|
};
|
|
3332
3790
|
|
|
3791
|
+
const RewardTableDateCell = class {
|
|
3792
|
+
constructor(hostRef) {
|
|
3793
|
+
registerInstance(this, hostRef);
|
|
3794
|
+
this.ignored = true;
|
|
3795
|
+
this.locale = "en";
|
|
3796
|
+
h$1(this);
|
|
3797
|
+
}
|
|
3798
|
+
disconnectedCallback() { }
|
|
3799
|
+
render() {
|
|
3800
|
+
var _a, _b;
|
|
3801
|
+
const date = !this.date
|
|
3802
|
+
? "-"
|
|
3803
|
+
: (_b = (_a = luxon.DateTime.fromMillis(this.date)) === null || _a === void 0 ? void 0 : _a.setLocale(luxonLocale(this.locale))) === null || _b === void 0 ? void 0 : _b.toLocaleString(luxon.DateTime.DATE_MED);
|
|
3804
|
+
return date;
|
|
3805
|
+
}
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3333
3808
|
const InvoiceTableDateColumn = class {
|
|
3334
3809
|
constructor(hostRef) {
|
|
3335
3810
|
registerInstance(this, hostRef);
|
|
@@ -3348,6 +3823,21 @@ const InvoiceTableDateColumn = class {
|
|
|
3348
3823
|
}
|
|
3349
3824
|
};
|
|
3350
3825
|
|
|
3826
|
+
const InvoiceTableDownloadCell = class {
|
|
3827
|
+
constructor(hostRef) {
|
|
3828
|
+
registerInstance(this, hostRef);
|
|
3829
|
+
this.ignored = true;
|
|
3830
|
+
h$1(this);
|
|
3831
|
+
}
|
|
3832
|
+
disconnectedCallback() { }
|
|
3833
|
+
render() {
|
|
3834
|
+
const vanillaStyle = `svg:hover, svg:hover * {
|
|
3835
|
+
cursor: pointer;
|
|
3836
|
+
}`;
|
|
3837
|
+
return (h(Host, null, h("style", null, vanillaStyle), !!this.downloadUrl && (h("a", { href: this.downloadUrl, target: "_blank" }, h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "var(--sqm-text-subdued)" }), h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "var(--sqm-text-subdued)" }))))));
|
|
3838
|
+
}
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3351
3841
|
const InvoiceTableGenericColumn = class {
|
|
3352
3842
|
constructor(hostRef) {
|
|
3353
3843
|
registerInstance(this, hostRef);
|
|
@@ -3370,7 +3860,7 @@ const PayPalIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width:
|
|
|
3370
3860
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
|
|
3371
3861
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
|
|
3372
3862
|
|
|
3373
|
-
const style$
|
|
3863
|
+
const style$5 = {
|
|
3374
3864
|
CardContainer: {
|
|
3375
3865
|
display: "grid",
|
|
3376
3866
|
gridTemplateColumns: "1fr",
|
|
@@ -3504,7 +3994,7 @@ const style$4 = {
|
|
|
3504
3994
|
},
|
|
3505
3995
|
};
|
|
3506
3996
|
function PayoutDetailsCardView(props) {
|
|
3507
|
-
const sheet = createStyleSheet(style$
|
|
3997
|
+
const sheet = createStyleSheet(style$5);
|
|
3508
3998
|
const styleString = sheet.toString();
|
|
3509
3999
|
const { classes } = sheet;
|
|
3510
4000
|
const { states, text } = props;
|
|
@@ -3634,10 +4124,6 @@ const PayoutDetailsCard = class {
|
|
|
3634
4124
|
* @uiName Payout missing information subtext
|
|
3635
4125
|
*/
|
|
3636
4126
|
this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
|
|
3637
|
-
/**
|
|
3638
|
-
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
3639
|
-
*/
|
|
3640
|
-
this.stateController = "{}";
|
|
3641
4127
|
h$1(this);
|
|
3642
4128
|
}
|
|
3643
4129
|
disconnectedCallback() { }
|
|
@@ -3675,19 +4161,1232 @@ function useDemoPayoutDetailsCard(props) {
|
|
|
3675
4161
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3676
4162
|
}
|
|
3677
4163
|
|
|
3678
|
-
const
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
"
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
4164
|
+
const TableCell = class {
|
|
4165
|
+
constructor(hostRef) {
|
|
4166
|
+
registerInstance(this, hostRef);
|
|
4167
|
+
/** @uiName Column span */
|
|
4168
|
+
this.colspan = 1;
|
|
4169
|
+
/** @uiName Padding */
|
|
4170
|
+
this.padding = "15px 10px";
|
|
4171
|
+
}
|
|
4172
|
+
render() {
|
|
4173
|
+
return (h(Host, { style: { display: "contents" } }, h("td", { colSpan: this.colspan, style: { padding: this.padding } }, h("slot", null))));
|
|
4174
|
+
}
|
|
4175
|
+
};
|
|
4176
|
+
|
|
4177
|
+
const TableRow = class {
|
|
4178
|
+
constructor(hostRef) {
|
|
4179
|
+
registerInstance(this, hostRef);
|
|
4180
|
+
/**
|
|
4181
|
+
* @uiName Border
|
|
4182
|
+
*/
|
|
4183
|
+
this.border = "1px solid #EAEAEA";
|
|
4184
|
+
}
|
|
4185
|
+
render() {
|
|
4186
|
+
return (h(Host, { style: { display: "contents" } }, h("tr", { style: { border: this.border } }, h("slot", null))));
|
|
4187
|
+
}
|
|
4188
|
+
};
|
|
4189
|
+
|
|
4190
|
+
function getCurrentStep(user) {
|
|
4191
|
+
var _a, _b;
|
|
4192
|
+
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
4193
|
+
return "/1";
|
|
4194
|
+
}
|
|
4195
|
+
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
|
|
4196
|
+
// If they do have a required document, look at current document
|
|
4197
|
+
if (requiredTaxDocumentType && !currentTaxDocument)
|
|
4198
|
+
return "/3";
|
|
4199
|
+
if (!withdrawalSettings && brandedSignup)
|
|
4200
|
+
return "/4";
|
|
4201
|
+
return "/dashboard";
|
|
4202
|
+
}
|
|
4203
|
+
function useTaxAndCash() {
|
|
4204
|
+
var _a, _b, _c, _d, _e;
|
|
4205
|
+
const host = _();
|
|
4206
|
+
const user = J();
|
|
4207
|
+
const locale = L();
|
|
4208
|
+
// State for current step of form
|
|
4209
|
+
const [step, setStep] = In({
|
|
4210
|
+
namespace: TAX_CONTEXT_NAMESPACE,
|
|
4211
|
+
initialValue: "/loading",
|
|
4212
|
+
});
|
|
4213
|
+
// State for when to hide steps, or override certain actions
|
|
4214
|
+
const [context, _setContext] = In({
|
|
4215
|
+
namespace: TAX_FORM_CONTEXT_NAMESPACE,
|
|
4216
|
+
initialValue: {},
|
|
4217
|
+
});
|
|
4218
|
+
// State to carry user form information into step 2
|
|
4219
|
+
const [userFormContext, _setUserFormContext] = In({
|
|
4220
|
+
namespace: USER_FORM_CONTEXT_NAMESPACE,
|
|
4221
|
+
initialValue: {
|
|
4222
|
+
firstName: undefined,
|
|
4223
|
+
lastName: undefined,
|
|
4224
|
+
email: undefined,
|
|
4225
|
+
countryCode: undefined,
|
|
4226
|
+
currency: undefined,
|
|
4227
|
+
},
|
|
4228
|
+
});
|
|
4229
|
+
const [_currenciesContext, setCurrenciesContext] = In({
|
|
4230
|
+
namespace: CURRENCIES_NAMESPACE,
|
|
4231
|
+
initialValue: [],
|
|
4232
|
+
});
|
|
4233
|
+
const [_countriesContext, _setCountriesContext] = In({
|
|
4234
|
+
namespace: COUNTRIES_NAMESPACE,
|
|
4235
|
+
initialValue: [],
|
|
4236
|
+
});
|
|
4237
|
+
const [_sortedCountriesContext, setSortedCountriesContext] = In({
|
|
4238
|
+
namespace: SORTED_COUNTRIES_NAMESPACE,
|
|
4239
|
+
initialValue: [],
|
|
4240
|
+
});
|
|
4241
|
+
const { data, errors } = Sn({
|
|
4242
|
+
namespace: USER_QUERY_NAMESPACE,
|
|
4243
|
+
query: GET_USER,
|
|
4244
|
+
skip: !user,
|
|
4245
|
+
options: {
|
|
4246
|
+
batch: false,
|
|
4247
|
+
},
|
|
4248
|
+
});
|
|
4249
|
+
const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.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) ||
|
|
4250
|
+
userFormContext.countryCode;
|
|
4251
|
+
Sn({
|
|
4252
|
+
namespace: COUNTRIES_QUERY_NAMESPACE,
|
|
4253
|
+
query: GET_COUNTRIES,
|
|
4254
|
+
skip: !user,
|
|
4255
|
+
});
|
|
4256
|
+
const { data: financeNetworkData, refetch } = Sn({
|
|
4257
|
+
namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
|
|
4258
|
+
query: GET_FINANCE_NETWORK_SETTINGS,
|
|
4259
|
+
skip: !user,
|
|
4260
|
+
variables: {
|
|
4261
|
+
filter: getFinanceNetworkFilter(),
|
|
4262
|
+
},
|
|
4263
|
+
});
|
|
4264
|
+
const { data: currenciesData } = Sn({
|
|
4265
|
+
namespace: CURRENCIES_QUERY_NAMESPACE,
|
|
4266
|
+
query: GET_CURRENCIES,
|
|
4267
|
+
skip: !user,
|
|
4268
|
+
variables: {
|
|
4269
|
+
locale,
|
|
4270
|
+
},
|
|
4271
|
+
});
|
|
4272
|
+
const supportedCurrencies = useMemo(() => {
|
|
4273
|
+
var _a, _b;
|
|
4274
|
+
// Filter out any currencies not supported by finance network settings
|
|
4275
|
+
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) => {
|
|
4276
|
+
var _a, _b;
|
|
4277
|
+
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);
|
|
4278
|
+
// Currency not in supported list
|
|
4279
|
+
if (!currency)
|
|
4280
|
+
return agg;
|
|
4281
|
+
// Currency already added to list
|
|
4282
|
+
if (agg.find((currency) => currency.currencyCode === settings.currency))
|
|
4283
|
+
return agg;
|
|
4284
|
+
// Currency not supported by selected country
|
|
4285
|
+
if (userFormContext.countryCode &&
|
|
4286
|
+
settings.countryCode !== countryCode)
|
|
4287
|
+
return agg;
|
|
4288
|
+
return [...agg, currency];
|
|
4289
|
+
}, []);
|
|
4290
|
+
return allValidCurrencies;
|
|
4291
|
+
}, [financeNetworkData, countryCode]);
|
|
4292
|
+
const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
|
|
4293
|
+
const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
|
|
4294
|
+
const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
|
|
4295
|
+
// filter out any duplicate countries and null countryCode
|
|
4296
|
+
const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
|
|
4297
|
+
const _topCountries = ["CA", "GB", "US"];
|
|
4298
|
+
const sortedCountries = useMemo(() => Array.from(availableCountries)
|
|
4299
|
+
.map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
|
|
4300
|
+
.sort(sortByName)
|
|
4301
|
+
.reduce((prev, countryObj) => {
|
|
4302
|
+
if (_topCountries.includes(countryObj.countryCode))
|
|
4303
|
+
return [countryObj, ...prev];
|
|
4304
|
+
return [...prev, countryObj];
|
|
4305
|
+
}, []), [availableCountries]);
|
|
4306
|
+
useEffect(() => {
|
|
4307
|
+
if (sortedCountries)
|
|
4308
|
+
setSortedCountriesContext(sortedCountries);
|
|
4309
|
+
}, [sortedCountries]);
|
|
4310
|
+
useEffect(() => {
|
|
4311
|
+
if (supportedCurrencies)
|
|
4312
|
+
setCurrenciesContext(supportedCurrencies);
|
|
4313
|
+
}, [supportedCurrencies]);
|
|
4314
|
+
useEffect(() => {
|
|
4315
|
+
if (errors) {
|
|
4316
|
+
setStep("/error");
|
|
4317
|
+
return;
|
|
4318
|
+
}
|
|
4319
|
+
if (!host || !user)
|
|
4320
|
+
return;
|
|
4321
|
+
if (data) {
|
|
4322
|
+
const user = data === null || data === void 0 ? void 0 : data.user;
|
|
4323
|
+
if (!user || step !== "/loading")
|
|
4324
|
+
return;
|
|
4325
|
+
const currentStep = getCurrentStep(user);
|
|
4326
|
+
setStep(currentStep);
|
|
4327
|
+
}
|
|
4328
|
+
}, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
|
|
4329
|
+
function getFinanceNetworkFilter() {
|
|
4330
|
+
var _a, _b, _c;
|
|
4331
|
+
if (step === "/1")
|
|
4332
|
+
return {};
|
|
4333
|
+
if (step === "/4")
|
|
4334
|
+
return { currency_eq: (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.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 };
|
|
4335
|
+
if (countryCode)
|
|
4336
|
+
return {
|
|
4337
|
+
countryCode_eq: countryCode,
|
|
4338
|
+
};
|
|
4339
|
+
return {};
|
|
4340
|
+
}
|
|
4341
|
+
return {
|
|
4342
|
+
step,
|
|
4343
|
+
setStep,
|
|
4344
|
+
context,
|
|
4345
|
+
namespace: Mn(TAX_CONTEXT_NAMESPACE),
|
|
4346
|
+
loading: step === "/loading",
|
|
4347
|
+
};
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4350
|
+
const TaxAndCashMonolith = class {
|
|
4351
|
+
constructor(hostRef) {
|
|
4352
|
+
registerInstance(this, hostRef);
|
|
4353
|
+
/*---------------------------------------------------------------------------------
|
|
4354
|
+
!IMPORTANT!: Make sure to also change the prop names in the respective component
|
|
4355
|
+
-----------------------------------------------------------------------------------*/
|
|
4356
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4357
|
+
STEP 1 PROPS:
|
|
4358
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
4359
|
+
/**
|
|
4360
|
+
* @uiName First name field label
|
|
4361
|
+
* @uiGroup Step 1 Properties
|
|
4362
|
+
*/
|
|
4363
|
+
this.step1_firstName = "First name";
|
|
4364
|
+
/**
|
|
4365
|
+
* @uiName Last name field label
|
|
4366
|
+
* @uiGroup Step 1 Properties
|
|
4367
|
+
*/
|
|
4368
|
+
this.step1_lastName = "Last name";
|
|
4369
|
+
/**
|
|
4370
|
+
* @uiName Email field label
|
|
4371
|
+
* @uiGroup Step 1 Properties
|
|
4372
|
+
*/
|
|
4373
|
+
this.step1_email = "Email";
|
|
4374
|
+
/**
|
|
4375
|
+
* @uiName Country field label
|
|
4376
|
+
* @uiGroup Step 1 Properties
|
|
4377
|
+
*/
|
|
4378
|
+
this.step1_country = "Country";
|
|
4379
|
+
/**
|
|
4380
|
+
* @uiName Phone number field label
|
|
4381
|
+
* @uiGroup Step 1 Properties
|
|
4382
|
+
*/
|
|
4383
|
+
this.step1_phoneNumber = "Phone number";
|
|
4384
|
+
/**
|
|
4385
|
+
* @uiName Address field label
|
|
4386
|
+
* @uiGroup Step 1 Properties
|
|
4387
|
+
*/
|
|
4388
|
+
this.step1_address = "Address";
|
|
4389
|
+
/**
|
|
4390
|
+
* @uiName City field label
|
|
4391
|
+
* @uiGroup Step 1 Properties
|
|
4392
|
+
*/
|
|
4393
|
+
this.step1_city = "City";
|
|
4394
|
+
/**
|
|
4395
|
+
* @uiName State field label for states
|
|
4396
|
+
* @uiGroup Step 1 Properties
|
|
4397
|
+
*/
|
|
4398
|
+
this.step1_state = "State";
|
|
4399
|
+
/**
|
|
4400
|
+
* @uiName State field label for provinces
|
|
4401
|
+
* @uiGroup Step 1 Properties
|
|
4402
|
+
*/
|
|
4403
|
+
this.step1_province = "Province";
|
|
4404
|
+
/**
|
|
4405
|
+
* @uiName State field label for regions
|
|
4406
|
+
* @uiGroup Step 1 Properties
|
|
4407
|
+
*/
|
|
4408
|
+
this.step1_region = "Region";
|
|
4409
|
+
/**
|
|
4410
|
+
* @uiName Postal code field label
|
|
4411
|
+
* @uiGroup Step 1 Properties
|
|
4412
|
+
*/
|
|
4413
|
+
this.step1_postalCode = "Postal code";
|
|
4414
|
+
/**
|
|
4415
|
+
* @uiName Currency field label
|
|
4416
|
+
* @uiGroup Step 1 Properties
|
|
4417
|
+
*/
|
|
4418
|
+
this.step1_currency = "Currency";
|
|
4419
|
+
/**
|
|
4420
|
+
* @uiName Currency field help text
|
|
4421
|
+
* @uiGroup Step 1 Properties
|
|
4422
|
+
*/
|
|
4423
|
+
this.step1_currencyHelpText = "Choose your preferred payout currency";
|
|
4424
|
+
/**
|
|
4425
|
+
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
4426
|
+
* @uiName Terms and conditions checkbox
|
|
4427
|
+
* @uiGroup Step 1 Properties
|
|
4428
|
+
*/
|
|
4429
|
+
this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
|
|
4430
|
+
/**
|
|
4431
|
+
* @uiName Step 1 title
|
|
4432
|
+
* @uiGroup Step 1 Properties
|
|
4433
|
+
*/
|
|
4434
|
+
this.step1_personalInformation = "Personal Information";
|
|
4435
|
+
/**
|
|
4436
|
+
* The link text that appears in the terms and conditions checkbox
|
|
4437
|
+
* @uiName Terms and conditions text
|
|
4438
|
+
* @uiGroup Step 1 Properties
|
|
4439
|
+
* @uiWidget textArea
|
|
4440
|
+
*/
|
|
4441
|
+
this.step1_termsAndConditionsLabel = "terms and conditions";
|
|
4442
|
+
/**
|
|
4443
|
+
* The link that appears in the terms and conditions checkbox
|
|
4444
|
+
* @uiName Terms and conditions link
|
|
4445
|
+
* @uiGroup Step 1 Properties
|
|
4446
|
+
*/
|
|
4447
|
+
this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
|
|
4448
|
+
/**
|
|
4449
|
+
* Placeholder text displayed in the currency search dropdown
|
|
4450
|
+
* @uiName Currency field placeholder text
|
|
4451
|
+
* @uiGroup Step 1 Properties
|
|
4452
|
+
*/
|
|
4453
|
+
this.step1_searchForCurrencyText = "Search for currency..";
|
|
4454
|
+
/**
|
|
4455
|
+
|
|
4456
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4457
|
+
STEP 2 PROPS:
|
|
4458
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
4459
|
+
/**
|
|
4460
|
+
* @uiName Step 2 title
|
|
4461
|
+
* @uiGroup Step 2 Properties
|
|
4462
|
+
*/
|
|
4463
|
+
this.step2_indirectTax = "Indirect Tax";
|
|
4464
|
+
/**
|
|
4465
|
+
* Displayed under the title of this step.
|
|
4466
|
+
* @uiName Step 2 description
|
|
4467
|
+
* @uiGroup Step 2 Properties
|
|
4468
|
+
* @uiWidget textArea
|
|
4469
|
+
*/
|
|
4470
|
+
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.";
|
|
4471
|
+
/**
|
|
4472
|
+
* Displayed with indirect tax registration options.
|
|
4473
|
+
* @uiName Indirect tax details section title
|
|
4474
|
+
* @uiGroup Step 2 Properties
|
|
4475
|
+
*/
|
|
4476
|
+
this.step2_indirectTaxDetails = "Indirect tax details";
|
|
4477
|
+
/**
|
|
4478
|
+
* @uiName Registered for indirect tax option
|
|
4479
|
+
* @uiGroup Step 2 Properties
|
|
4480
|
+
* @uiWidget textArea
|
|
4481
|
+
*
|
|
4482
|
+
*/
|
|
4483
|
+
this.step2_otherRegion = "Registered for indirect tax";
|
|
4484
|
+
/**
|
|
4485
|
+
* Selecting this option will display fields to enter indirect tax details.
|
|
4486
|
+
* @uiName Registered for indirect tax option description
|
|
4487
|
+
* @uiGroup Step 2 Properties
|
|
4488
|
+
*/
|
|
4489
|
+
this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
|
|
4490
|
+
/**
|
|
4491
|
+
* @uiName Not registered for indirect tax option
|
|
4492
|
+
* @uiGroup Step 2 Properties
|
|
4493
|
+
* @uiWidget textArea
|
|
4494
|
+
*/
|
|
4495
|
+
this.step2_notRegistered = "Not registered for indirect tax";
|
|
4496
|
+
/**
|
|
4497
|
+
* Participants based in the US are considered not registered.
|
|
4498
|
+
* @uiName Not registered for indirect tax option description
|
|
4499
|
+
* @uiGroup Step 2 Properties
|
|
4500
|
+
*/
|
|
4501
|
+
this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
|
|
4502
|
+
/**
|
|
4503
|
+
* @uiName Region of indirect tax field label
|
|
4504
|
+
* @uiGroup Step 2 Properties
|
|
4505
|
+
*/
|
|
4506
|
+
this.step2_selectedRegion = "Country / region of indirect tax";
|
|
4507
|
+
/**
|
|
4508
|
+
* @uiName Indirect tax number field label
|
|
4509
|
+
* @uiGroup Step 2 Properties
|
|
4510
|
+
*/
|
|
4511
|
+
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
4512
|
+
/**
|
|
4513
|
+
* @uiName Province field label
|
|
4514
|
+
* @uiGroup Step 2 Properties
|
|
4515
|
+
*/
|
|
4516
|
+
this.step2_province = "Province";
|
|
4517
|
+
/**
|
|
4518
|
+
* @uiName Missing indirect tax number error message
|
|
4519
|
+
* @uiGroup Step 2 Properties
|
|
4520
|
+
*/
|
|
4521
|
+
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";
|
|
4522
|
+
/**
|
|
4523
|
+
* Displayed to participants registered for QST.
|
|
4524
|
+
* @uiName QST number field label
|
|
4525
|
+
* @uiGroup Step 2 Properties
|
|
4526
|
+
*/
|
|
4527
|
+
this.step2_qstNumber = "QST number";
|
|
4528
|
+
/**
|
|
4529
|
+
* Displayed to participants registered for indirect tax in Quebec, Canada.
|
|
4530
|
+
* @uiName QST tax checkbox
|
|
4531
|
+
* @uiGroup Step 2 Properties
|
|
4532
|
+
*/
|
|
4533
|
+
this.step2_isRegisteredQST = "I am registered for QST Tax";
|
|
4534
|
+
/**
|
|
4535
|
+
* Displayed to participants registered for indirect tax in Spain.
|
|
4536
|
+
* @uiName Spain income tax checkbox
|
|
4537
|
+
* @uiGroup Step 2 Properties
|
|
4538
|
+
* @uiWidget textArea
|
|
4539
|
+
*/
|
|
4540
|
+
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.";
|
|
4541
|
+
/**
|
|
4542
|
+
* Displayed to participants registered in Spain.
|
|
4543
|
+
* @uiName Sub-region of indirect tax field label
|
|
4544
|
+
* @uiGroup Step 2 Properties
|
|
4545
|
+
*/
|
|
4546
|
+
this.step2_subRegion = "Sub-region";
|
|
4547
|
+
/**
|
|
4548
|
+
* @uiName Income tax field label
|
|
4549
|
+
* @uiGroup Step 2 Properties
|
|
4550
|
+
*/
|
|
4551
|
+
this.step2_subRegionTaxNumberLabel = "Income Tax Number";
|
|
4552
|
+
/**
|
|
4553
|
+
* Communicate that after this step, only Support can change personal and indirect tax information.
|
|
4554
|
+
* @uiName Submission confirmation alert
|
|
4555
|
+
* @uiGroup Step 2 Properties
|
|
4556
|
+
* @uiWidget textArea
|
|
4557
|
+
*/
|
|
4558
|
+
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.";
|
|
4559
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4560
|
+
STEP 3 PROPS:
|
|
4561
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
4562
|
+
/**
|
|
4563
|
+
* @uiName Step 3 title
|
|
4564
|
+
* @uiGroup Step 3 Properties
|
|
4565
|
+
*/
|
|
4566
|
+
this.step3_taxForm = "Tax form";
|
|
4567
|
+
/**
|
|
4568
|
+
* Display the type of tax form that the participant must submit.
|
|
4569
|
+
* @uiName Tax form name
|
|
4570
|
+
* @uiGroup Step 3 Properties
|
|
4571
|
+
*/
|
|
4572
|
+
this.step3_taxFormLabel = "{documentType} Tax Form";
|
|
4573
|
+
/**
|
|
4574
|
+
* @uiName Participant type field label
|
|
4575
|
+
* @uiGroup Step 3 Properties
|
|
4576
|
+
*/
|
|
4577
|
+
this.step3_participantType = "Participant type";
|
|
4578
|
+
/**
|
|
4579
|
+
* An option for the participant type field. Used to determine which W-8 form is required.
|
|
4580
|
+
* @uiName Business representative participant type label
|
|
4581
|
+
* @uiGroup Step 3 Properties
|
|
4582
|
+
*/
|
|
4583
|
+
this.step3_businessEntity = "I represent a business";
|
|
4584
|
+
/**
|
|
4585
|
+
* An option for the participant type field. Used to determine which W-8 form is required.
|
|
4586
|
+
* @uiName Individual participant type label
|
|
4587
|
+
* @uiGroup Step 3 Properties
|
|
4588
|
+
*/
|
|
4589
|
+
this.step3_individualParticipant = "I am an individual participant";
|
|
4590
|
+
/**
|
|
4591
|
+
* Displayed at the top of the page to participants based in the US.
|
|
4592
|
+
* @uiName W-9 tax form description
|
|
4593
|
+
* @uiGroup Step 3 Properties
|
|
4594
|
+
* @uiWidget textArea
|
|
4595
|
+
*/
|
|
4596
|
+
this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
|
|
4597
|
+
/**
|
|
4598
|
+
* Displayed at the top of the page to individuals joining a US program who reside outside the country.
|
|
4599
|
+
* @uiName W-8 BEN tax form description
|
|
4600
|
+
* @uiGroup Step 3 Properties
|
|
4601
|
+
* @uiWidget textArea
|
|
4602
|
+
*/
|
|
4603
|
+
this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
|
|
4604
|
+
/**
|
|
4605
|
+
* Displayed at the top of the page to participants representing a business.
|
|
4606
|
+
* @uiName W-8 BEN-E tax form description
|
|
4607
|
+
* @uiGroup Step 3 Properties
|
|
4608
|
+
* @uiWidget textArea
|
|
4609
|
+
*/
|
|
4610
|
+
this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";
|
|
4611
|
+
/**
|
|
4612
|
+
* This appears inside the Docusign frame.
|
|
4613
|
+
* @uiName Docusign session expired message
|
|
4614
|
+
* @uiGroup Step 3 Properties
|
|
4615
|
+
* @uiWidget textArea
|
|
4616
|
+
*/
|
|
4617
|
+
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.";
|
|
4618
|
+
/**
|
|
4619
|
+
* Remind participants their session will time out after 20 minutes of inactivity.
|
|
4620
|
+
* @uiName Docusign timed session message
|
|
4621
|
+
* @uiGroup Step 3 Properties
|
|
4622
|
+
* @uiWidget textArea
|
|
4623
|
+
*/
|
|
4624
|
+
this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
|
|
4625
|
+
/**
|
|
4626
|
+
* This appears inside the Docusign frame.
|
|
4627
|
+
* @uiName Docusign form error message
|
|
4628
|
+
* @uiGroup Step 3 Properties
|
|
4629
|
+
* @uiWidget textArea
|
|
4630
|
+
*/
|
|
4631
|
+
this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
|
|
4632
|
+
/**
|
|
4633
|
+
* @uiName Refresh page button label
|
|
4634
|
+
* @uiGroup Step 3 Properties
|
|
4635
|
+
*/
|
|
4636
|
+
this.step3_refreshButton = "Refresh Page";
|
|
4637
|
+
/**
|
|
4638
|
+
* @uiName Exit button text
|
|
4639
|
+
* @uiGroup Step 3 Properties
|
|
4640
|
+
*/
|
|
4641
|
+
this.step3_exitButton = "Exit";
|
|
4642
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4643
|
+
STEP 4 PROPS:
|
|
4644
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
4645
|
+
/**
|
|
4646
|
+
* @uiName Step 4 title
|
|
4647
|
+
* @uiGroup Step 4 Properties
|
|
4648
|
+
*/
|
|
4649
|
+
this.step4_taxAndPayouts = "Payouts";
|
|
4650
|
+
/**
|
|
4651
|
+
* @uiName Direct to bank payout option
|
|
4652
|
+
* @uiGroup Step 4 Properties
|
|
4653
|
+
*/
|
|
4654
|
+
this.step4_directlyToBankAccount = "Directly to my bank account";
|
|
4655
|
+
/**
|
|
4656
|
+
* @uiName PayPal payout option
|
|
4657
|
+
* @uiGroup Step 4 Properties
|
|
4658
|
+
*/
|
|
4659
|
+
this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
|
|
4660
|
+
/**
|
|
4661
|
+
* @uiName Threshold balance payment schedule option
|
|
4662
|
+
* @uiGroup Step 4 Properties
|
|
4663
|
+
*/
|
|
4664
|
+
this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
|
|
4665
|
+
/**
|
|
4666
|
+
* @uiName Fixed day payment schedule option
|
|
4667
|
+
* @uiGroup Step 4 Properties
|
|
4668
|
+
*/
|
|
4669
|
+
this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
|
|
4670
|
+
/**
|
|
4671
|
+
* Let the participant choose what day of the month they’ll get paid
|
|
4672
|
+
* @uiName Payment day field label
|
|
4673
|
+
* @uiGroup Step 4 Properties
|
|
4674
|
+
*/
|
|
4675
|
+
this.step4_paymentDaySelectLabel = "Payment Day";
|
|
4676
|
+
/**
|
|
4677
|
+
* Participant use this field to select the balance at which they want to be paid
|
|
4678
|
+
* @uiName Payment threshold field label
|
|
4679
|
+
* @uiGroup Step 4 Properties
|
|
4680
|
+
*/
|
|
4681
|
+
this.step4_paymentThresholdSelectLabel = "Payment threshold";
|
|
4682
|
+
/**
|
|
4683
|
+
* One of two payment day options
|
|
4684
|
+
* @uiName First of month payday option
|
|
4685
|
+
* @uiGroup Step 4 Properties
|
|
4686
|
+
*/
|
|
4687
|
+
this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
|
|
4688
|
+
/**
|
|
4689
|
+
* One of two payment day options
|
|
4690
|
+
* @uiName Fifteenth of month payday option
|
|
4691
|
+
* @uiGroup Step 4 Properties
|
|
4692
|
+
*/
|
|
4693
|
+
this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
|
|
4694
|
+
/**
|
|
4695
|
+
* @uiName Payment method section header
|
|
4696
|
+
* @uiGroup Step 4 Properties
|
|
4697
|
+
*/
|
|
4698
|
+
this.step4_paymentMethod = "Payment method";
|
|
4699
|
+
/**
|
|
4700
|
+
* @uiName Payment schedule section header
|
|
4701
|
+
* @uiGroup Step 4 Properties
|
|
4702
|
+
*/
|
|
4703
|
+
this.step4_paymentSchedule = "Payment schedule";
|
|
4704
|
+
/**
|
|
4705
|
+
* @uiName Payment method section description
|
|
4706
|
+
* @uiGroup Step 4 Properties
|
|
4707
|
+
*/
|
|
4708
|
+
this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
|
|
4709
|
+
/**
|
|
4710
|
+
* Displayed to participants who choose PayPal as their payout method
|
|
4711
|
+
* @uiName PayPal email field label
|
|
4712
|
+
* @uiGroup Step 4 Properties
|
|
4713
|
+
*/
|
|
4714
|
+
this.step4_payPalInputLabel = "PayPal email";
|
|
4715
|
+
/**
|
|
4716
|
+
* @uiName Bank country field label
|
|
4717
|
+
* @uiGroup Step 4 Properties
|
|
4718
|
+
*/
|
|
4719
|
+
this.step4_bankLocationLabel = "Bank country location";
|
|
4720
|
+
/**
|
|
4721
|
+
* @uiName Beneficiary account field label
|
|
4722
|
+
* @uiGroup Step 4 Properties
|
|
4723
|
+
*/
|
|
4724
|
+
this.step4_beneficiaryAccountNameLabel = "Beneficiary account name";
|
|
4725
|
+
/**
|
|
4726
|
+
* @uiName Bank account type field label
|
|
4727
|
+
* @uiGroup Step 4 Properties
|
|
4728
|
+
*/
|
|
4729
|
+
this.step4_bankAccountTypeLabel = "Bank account type";
|
|
4730
|
+
/**
|
|
4731
|
+
* @uiName Checking account option
|
|
4732
|
+
* @uiGroup Step 4 Properties
|
|
4733
|
+
*/
|
|
4734
|
+
this.step4_checkingSelectItemLabel = "Checking";
|
|
4735
|
+
/**
|
|
4736
|
+
* Label text for the savings account type select item
|
|
4737
|
+
* @uiName Savings account options
|
|
4738
|
+
* @uiGroup Step 4 Properties
|
|
4739
|
+
*/
|
|
4740
|
+
this.step4_savingsSelectItemLabel = "Savings";
|
|
4741
|
+
/**
|
|
4742
|
+
* @uiName Bank account number field label
|
|
4743
|
+
* @uiGroup Step 4 Properties
|
|
4744
|
+
*/
|
|
4745
|
+
this.step4_bankAccountNumberLabel = "Bank account number";
|
|
4746
|
+
/**
|
|
4747
|
+
* @uiName IBAN field label
|
|
4748
|
+
* @uiGroup Step 4 Properties
|
|
4749
|
+
*/
|
|
4750
|
+
this.step4_ibanLabel = "IBAN";
|
|
4751
|
+
/**
|
|
4752
|
+
* @uiName SWIFT code field label
|
|
4753
|
+
* @uiGroup Step 4 Properties
|
|
4754
|
+
*/
|
|
4755
|
+
this.step4_swiftCodeLabel = "SWIFT code";
|
|
4756
|
+
/**
|
|
4757
|
+
* @uiName Routing code field label
|
|
4758
|
+
* @uiGroup Step 4 Properties
|
|
4759
|
+
*/
|
|
4760
|
+
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} }";
|
|
4761
|
+
/**
|
|
4762
|
+
* @uiName Bank name field label
|
|
4763
|
+
* @uiGroup Step 4 Properties
|
|
4764
|
+
*/
|
|
4765
|
+
this.step4_bankNameLabel = "Bank name";
|
|
4766
|
+
/**
|
|
4767
|
+
* @uiName Classification entity field label
|
|
4768
|
+
* @uiGroup Step 4 Properties
|
|
4769
|
+
*/
|
|
4770
|
+
this.step4_classificationEntityLabel = "Classification entity";
|
|
4771
|
+
/**
|
|
4772
|
+
* One of three options listed for the classification field
|
|
4773
|
+
* @uiName Business classification option
|
|
4774
|
+
* @uiGroup Step 4 Properties
|
|
4775
|
+
*/
|
|
4776
|
+
this.step4_businessSelectItemLabel = "Business";
|
|
4777
|
+
/**
|
|
4778
|
+
* One of three options listed for the classification field
|
|
4779
|
+
* @uiName Individual classification option
|
|
4780
|
+
* @uiGroup Step 4 Properties
|
|
4781
|
+
*/
|
|
4782
|
+
this.step4_individualSelectItemLabel = "Individual";
|
|
4783
|
+
/**
|
|
4784
|
+
* One of three options listed for the classification field
|
|
4785
|
+
* @uiName Foreign classification option
|
|
4786
|
+
* @uiGroup Step 4 Properties
|
|
4787
|
+
*/
|
|
4788
|
+
this.step4_foreignSelectItemLabel = "Foreign";
|
|
4789
|
+
/**
|
|
4790
|
+
* @uiName Classification CPF field label
|
|
4791
|
+
* @uiGroup Step 4 Properties
|
|
4792
|
+
*/
|
|
4793
|
+
this.step4_classificationCPFLabel = "Classification CPF";
|
|
4794
|
+
/**
|
|
4795
|
+
* @uiName Patronymic name field label
|
|
4796
|
+
* @uiGroup Step 4 Properties
|
|
4797
|
+
*/
|
|
4798
|
+
this.step4_patronymicNameLabel = "Patronymic name";
|
|
4799
|
+
/**
|
|
4800
|
+
* @uiName VO code field label
|
|
4801
|
+
* @uiGroup Step 4 Properties
|
|
4802
|
+
*/
|
|
4803
|
+
this.step4_voCodeLabel = "VO code";
|
|
4804
|
+
/**
|
|
4805
|
+
* @uiName Agency code field label
|
|
4806
|
+
* @uiGroup Step 4 Properties
|
|
4807
|
+
*/
|
|
4808
|
+
this.step4_agencyCodeLabel = "Agency code";
|
|
4809
|
+
/**
|
|
4810
|
+
* @uiName Branch code field label
|
|
4811
|
+
* @uiGroup Step 4 Properties
|
|
4812
|
+
*/
|
|
4813
|
+
this.step4_branchCodeLabel = "Branch code";
|
|
4814
|
+
/**
|
|
4815
|
+
* Label text for the classification input field
|
|
4816
|
+
* @uiName Classification field label
|
|
4817
|
+
* @uiGroup Step 4 Properties
|
|
4818
|
+
*/
|
|
4819
|
+
this.step4_classificationLabel = "Classification";
|
|
4820
|
+
/**
|
|
4821
|
+
* @uiName Taxpayer ID field label
|
|
4822
|
+
* @uiGroup Step 4 Properties
|
|
4823
|
+
*/
|
|
4824
|
+
this.step4_taxPayerIdLabel = "Beneficiary INN";
|
|
4825
|
+
/**
|
|
4826
|
+
* @uiName Bank address field label
|
|
4827
|
+
* @uiGroup Step 4 Properties
|
|
4828
|
+
*/
|
|
4829
|
+
this.step4_bankAddressLabel = "Bank address";
|
|
4830
|
+
/**
|
|
4831
|
+
* @uiName Bank city field label
|
|
4832
|
+
* @uiGroup Step 4 Properties
|
|
4833
|
+
*/
|
|
4834
|
+
this.step4_bankCityLabel = "Bank city";
|
|
4835
|
+
/**
|
|
4836
|
+
* @uiName Bank province/state field label
|
|
4837
|
+
* @uiGroup Step 4 Properties
|
|
4838
|
+
*/
|
|
4839
|
+
this.step4_bankStateLabel = "Bank Province / State";
|
|
4840
|
+
/**
|
|
4841
|
+
* @uiName Bank postal code field label
|
|
4842
|
+
* @uiGroup Step 4 Properties
|
|
4843
|
+
*/
|
|
4844
|
+
this.step4_bankPostalCodeLabel = "Bank postal code";
|
|
4845
|
+
/**
|
|
4846
|
+
* Default payment method to the participants’ bank account.
|
|
4847
|
+
* @uiName EFT withdrawal payment method
|
|
4848
|
+
* @uiGroup Step 4 Properties
|
|
4849
|
+
*/
|
|
4850
|
+
this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
|
|
4851
|
+
/**
|
|
4852
|
+
* @uiName FX Wire Processing fee text
|
|
4853
|
+
* @uiGroup Step 4 Properties
|
|
4854
|
+
*/
|
|
4855
|
+
this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
|
|
4856
|
+
/**
|
|
4857
|
+
* @uiName Text for verify email dialog
|
|
4858
|
+
* @uiGroup Step 4 Properties
|
|
4859
|
+
*/
|
|
4860
|
+
this.step4_verifyEmailHeaderText = "Verify your email";
|
|
4861
|
+
/**
|
|
4862
|
+
* @uiName Verify code widget header text
|
|
4863
|
+
* @uiGroup Step 4 Properties
|
|
4864
|
+
*/
|
|
4865
|
+
this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
|
|
4866
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4867
|
+
DASHBOARD PROPS:
|
|
4868
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
4869
|
+
/**
|
|
4870
|
+
* @uiName Active tax form badge label
|
|
4871
|
+
* @uiGroup Dashboard Properties
|
|
4872
|
+
*/
|
|
4873
|
+
this.dashboard_statusTextActive = "Active";
|
|
4874
|
+
/**
|
|
4875
|
+
* @uiName Invalid tax form badge label
|
|
4876
|
+
* @uiGroup Dashboard Properties
|
|
4877
|
+
*/
|
|
4878
|
+
this.dashboard_statusTextNotActive = "Invalid Tax Form";
|
|
4879
|
+
/**
|
|
4880
|
+
* Displayed when the participant submitted their form but it is awaiting review.
|
|
4881
|
+
*
|
|
4882
|
+
* @uiName Not verified tax form badge label
|
|
4883
|
+
* @uiGroup Dashboard Properties
|
|
4884
|
+
*/
|
|
4885
|
+
this.dashboard_statusTextNotVerified = "Not Verified";
|
|
4886
|
+
/**
|
|
4887
|
+
* Additional text displayed next to the tax form's status badge
|
|
4888
|
+
*
|
|
4889
|
+
* @uiName Active W-9 description
|
|
4890
|
+
* @uiGroup Dashboard Properties
|
|
4891
|
+
*/
|
|
4892
|
+
this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
|
|
4893
|
+
/**
|
|
4894
|
+
* Additional text displayed next to the tax form's status badge.
|
|
4895
|
+
*
|
|
4896
|
+
* @uiName Active W-8 description
|
|
4897
|
+
* @uiGroup Dashboard Properties
|
|
4898
|
+
*/
|
|
4899
|
+
this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
|
|
4900
|
+
/**
|
|
4901
|
+
* Additional text displayed next to the tax form's status badge.
|
|
4902
|
+
*
|
|
4903
|
+
* @uiName Tax form in review description
|
|
4904
|
+
* @uiGroup Dashboard Properties
|
|
4905
|
+
*/
|
|
4906
|
+
this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
|
|
4907
|
+
/**
|
|
4908
|
+
* Part of the alert displayed at the top of the page.
|
|
4909
|
+
*
|
|
4910
|
+
* @uiName Inactive W-9 error message title
|
|
4911
|
+
* @uiGroup Dashboard Properties
|
|
4912
|
+
* @uiWidget textArea
|
|
4913
|
+
*/
|
|
4914
|
+
this.dashboard_taxAlertHeaderNotActiveW9 = "Your W9 tax form has personal information that doesn’t match your profile";
|
|
4915
|
+
/**
|
|
4916
|
+
* Part of the alert displayed at the top of the page.
|
|
4917
|
+
*
|
|
4918
|
+
* @uiName Inactive W-8 error message title
|
|
4919
|
+
* @uiGroup Dashboard Properties
|
|
4920
|
+
* @uiWidget textArea
|
|
4921
|
+
*/
|
|
4922
|
+
this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
|
|
4923
|
+
/**
|
|
4924
|
+
* Part of the alert displayed at the top of the page.
|
|
4925
|
+
*
|
|
4926
|
+
* @uiName Inactive W-9 error message description
|
|
4927
|
+
* @uiGroup Dashboard Properties
|
|
4928
|
+
* @uiWidget textArea
|
|
4929
|
+
*/
|
|
4930
|
+
this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
|
|
4931
|
+
/**
|
|
4932
|
+
* Part of the alert displayed at the top of the page.
|
|
4933
|
+
*
|
|
4934
|
+
* @uiName Inactive W-8 error message description
|
|
4935
|
+
* @uiGroup Dashboard Properties
|
|
4936
|
+
*/
|
|
4937
|
+
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.";
|
|
4938
|
+
/**
|
|
4939
|
+
* Additional text displayed next to the tax form's status badge.
|
|
4940
|
+
*
|
|
4941
|
+
* @uiName Invalid tax form description
|
|
4942
|
+
* @uiGroup Dashboard Properties
|
|
4943
|
+
* @uiWidget textArea
|
|
4944
|
+
*/
|
|
4945
|
+
this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
|
|
4946
|
+
/**
|
|
4947
|
+
* @uiName Payout information section header
|
|
4948
|
+
* @uiGroup Dashboard Properties
|
|
4949
|
+
*/
|
|
4950
|
+
this.dashboard_bankingInformationSectionHeader = "Payout Information";
|
|
4951
|
+
/**
|
|
4952
|
+
* @uiName Tax document section header
|
|
4953
|
+
* @uiGroup Dashboard Properties
|
|
4954
|
+
*/
|
|
4955
|
+
this.dashboard_taxDocumentSectionHeader = "Tax documents";
|
|
4956
|
+
/**
|
|
4957
|
+
* Displayed under the tax document section header.
|
|
4958
|
+
*
|
|
4959
|
+
* @uiName Tax documents section description
|
|
4960
|
+
* @uiGroup Dashboard Properties
|
|
4961
|
+
*/
|
|
4962
|
+
this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
|
|
4963
|
+
/**
|
|
4964
|
+
* No other statuses or badges will be displayed in the tax form section in this case.
|
|
4965
|
+
*
|
|
4966
|
+
* @uiName Tax form not required text
|
|
4967
|
+
* @uiGroup Dashboard Properties
|
|
4968
|
+
* @uiWidget textArea
|
|
4969
|
+
*/
|
|
4970
|
+
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.";
|
|
4971
|
+
/**
|
|
4972
|
+
*
|
|
4973
|
+
* @uiName Indirect tax section header
|
|
4974
|
+
* @uiGroup Dashboard Properties
|
|
4975
|
+
*/
|
|
4976
|
+
this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
|
|
4977
|
+
/**
|
|
4978
|
+
* If the participant is registered for indirect tax in Canada, display the province they’re registered in.
|
|
4979
|
+
*
|
|
4980
|
+
* @uiName Canadian province of indirect tax
|
|
4981
|
+
* @uiGroup Dashboard Properties
|
|
4982
|
+
*/
|
|
4983
|
+
this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
|
|
4984
|
+
/**
|
|
4985
|
+
* If the participant is registered for indirect tax, display the country they’re registered in.
|
|
4986
|
+
*
|
|
4987
|
+
* @uiName Indirect tax country
|
|
4988
|
+
* @uiGroup Dashboard Properties
|
|
4989
|
+
*/
|
|
4990
|
+
this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
|
|
4991
|
+
/**
|
|
4992
|
+
* If the participant is registered for indirect tax in Spain, display the region they’re registered in.
|
|
4993
|
+
*
|
|
4994
|
+
* @uiName Spanish region of indirect tax
|
|
4995
|
+
* @uiGroup Dashboard Properties
|
|
4996
|
+
*/
|
|
4997
|
+
this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
|
|
4998
|
+
/**
|
|
4999
|
+
* @uiName Indirect tax tooltip
|
|
5000
|
+
* @uiGroup Dashboard Properties
|
|
5001
|
+
* @uiWidget textArea
|
|
5002
|
+
*/
|
|
5003
|
+
this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
|
|
5004
|
+
/**
|
|
5005
|
+
* Displayed to participants who have submitted their indirect tax information.
|
|
5006
|
+
*
|
|
5007
|
+
* @uiName Indirect tax details
|
|
5008
|
+
* @uiGroup Dashboard Properties
|
|
5009
|
+
*/
|
|
5010
|
+
this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
|
|
5011
|
+
/**
|
|
5012
|
+
* @uiName Submit new tax form button label
|
|
5013
|
+
* @uiGroup Dashboard Properties
|
|
5014
|
+
*/
|
|
5015
|
+
this.dashboard_newFormButton = "Submit new form";
|
|
5016
|
+
/**
|
|
5017
|
+
* @uiName Edit payment info button label
|
|
5018
|
+
* @uiGroup Dashboard Properties
|
|
5019
|
+
*/
|
|
5020
|
+
this.dashboard_editPaymentInformationButton = "Edit Payout Information";
|
|
5021
|
+
/**
|
|
5022
|
+
* @uiName Not registered for indirect tax text
|
|
5023
|
+
* @uiGroup Dashboard Properties
|
|
5024
|
+
* @uiWidget textArea
|
|
5025
|
+
*/
|
|
5026
|
+
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.";
|
|
5027
|
+
/**
|
|
5028
|
+
* Displayed to participants registered in Quebec, Canada.
|
|
5029
|
+
* @uiName QST indirect tax details
|
|
5030
|
+
* @uiGroup Dashboard Properties
|
|
5031
|
+
*/
|
|
5032
|
+
this.dashboard_qstNumber = "QST number: {qstNumber}";
|
|
5033
|
+
/**
|
|
5034
|
+
* @uiName Spain sub-region indirect tax number
|
|
5035
|
+
* @uiGroup Dashboard Properties
|
|
5036
|
+
*/
|
|
5037
|
+
this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
|
|
5038
|
+
/**
|
|
5039
|
+
* @uiName Payout status badge
|
|
5040
|
+
* @uiGroup Dashboard Properties
|
|
5041
|
+
*/
|
|
5042
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
5043
|
+
/**
|
|
5044
|
+
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
5045
|
+
* @uiName Payout schedule by threshold text
|
|
5046
|
+
* @uiGroup Dashboard Properties
|
|
5047
|
+
*/
|
|
5048
|
+
this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
|
|
5049
|
+
/**
|
|
5050
|
+
* Shown before the participant’s bank account information.
|
|
5051
|
+
* @uiName Bank account field label
|
|
5052
|
+
* @uiGroup Dashboard Properties
|
|
5053
|
+
*/
|
|
5054
|
+
this.dashboard_accountText = "Account";
|
|
5055
|
+
/**
|
|
5056
|
+
* Part of the Invoice table displayed at the bottom of the page.
|
|
5057
|
+
* @uiName Invoice number column title
|
|
5058
|
+
* @uiGroup Dashboard Properties
|
|
5059
|
+
*/
|
|
5060
|
+
this.dashboard_invoiceColumnTitle = "Invoice";
|
|
5061
|
+
/**
|
|
5062
|
+
* Part of the Invoice table displayed at the bottom of the page.
|
|
5063
|
+
* @uiName Date column title
|
|
5064
|
+
* @uiGroup Dashboard Properties
|
|
5065
|
+
*/
|
|
5066
|
+
this.dashboard_dateColumnTitle = "Date";
|
|
5067
|
+
/**
|
|
5068
|
+
* Part of the Invoice table displayed at the bottom of the page.
|
|
5069
|
+
* @uiName Earnings column title
|
|
5070
|
+
* @uiGroup Dashboard Properties
|
|
5071
|
+
*/
|
|
5072
|
+
this.dashboard_earningsColumnTitle = "Earnings";
|
|
5073
|
+
/**
|
|
5074
|
+
* Part of the Invoice table displayed at the bottom of the page.
|
|
5075
|
+
* @uiName Indirect tax column title
|
|
5076
|
+
* @uiGroup Dashboard Properties
|
|
5077
|
+
*/
|
|
5078
|
+
this.dashboard_indirectTaxColumnTitle = "Indirect tax";
|
|
5079
|
+
/**
|
|
5080
|
+
* Displayed under the payout details card.
|
|
5081
|
+
* @uiName Payout from impact text
|
|
5082
|
+
* @uiGroup Dashboard Properties
|
|
5083
|
+
* @uiWidget textArea
|
|
5084
|
+
*/
|
|
5085
|
+
this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
|
|
5086
|
+
/**
|
|
5087
|
+
* Part of the Invoice table displayed at the bottom of the page.
|
|
5088
|
+
* @uiName Earnings after tax column title
|
|
5089
|
+
* @uiGroup Dashboard Properties
|
|
5090
|
+
*/
|
|
5091
|
+
this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
|
|
5092
|
+
/**
|
|
5093
|
+
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
5094
|
+
* @uiName Payout error message title
|
|
5095
|
+
* @uiGroup Dashboard Properties
|
|
5096
|
+
* @uiWidget textArea
|
|
5097
|
+
*/
|
|
5098
|
+
this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
|
|
5099
|
+
/**
|
|
5100
|
+
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
5101
|
+
* @uiName Payout error message description
|
|
5102
|
+
* @uiGroup Dashboard Properties
|
|
5103
|
+
* @uiWidget textArea
|
|
5104
|
+
*/
|
|
5105
|
+
this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
|
|
5106
|
+
/**
|
|
5107
|
+
* Text displayed for existing publishers that do not have saved banking information.
|
|
5108
|
+
* @uiName Payout missing information subtext
|
|
5109
|
+
* @uiGroup Dashboard Properties
|
|
5110
|
+
*/
|
|
5111
|
+
this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
|
|
5112
|
+
/**
|
|
5113
|
+
* @uiName Invoice table description
|
|
5114
|
+
* @uiGroup Dashboard Properties
|
|
5115
|
+
*/
|
|
5116
|
+
this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
|
|
5117
|
+
/**
|
|
5118
|
+
* @uiName Invoice table previous page button label
|
|
5119
|
+
* @uiGroup Dashboard Properties
|
|
5120
|
+
*/
|
|
5121
|
+
this.dashboard_invoicePrevLabel = "Prev";
|
|
5122
|
+
/**
|
|
5123
|
+
* @uiName Invoice table next page button label
|
|
5124
|
+
* @uiGroup Dashboard Properties
|
|
5125
|
+
*/
|
|
5126
|
+
this.dashboard_invoiceMoreLabel = "Next";
|
|
5127
|
+
/**
|
|
5128
|
+
* @uiName Invoice table title
|
|
5129
|
+
* @uiGroup Dashboard Properties
|
|
5130
|
+
*/
|
|
5131
|
+
this.dashboard_invoiceHeader = "Invoices";
|
|
5132
|
+
/**
|
|
5133
|
+
* @uiName Empty invoice table header
|
|
5134
|
+
* @uiGroup Dashboard Properties
|
|
5135
|
+
*/
|
|
5136
|
+
this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
|
|
5137
|
+
/**
|
|
5138
|
+
* @uiName Empty invoice table description
|
|
5139
|
+
* @uiGroup Dashboard Properties
|
|
5140
|
+
*/
|
|
5141
|
+
this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
|
|
5142
|
+
/**
|
|
5143
|
+
* @uiName Replace tax form modal header
|
|
5144
|
+
* @uiGroup Dashboard Properties
|
|
5145
|
+
*/
|
|
5146
|
+
this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
|
|
5147
|
+
/**
|
|
5148
|
+
* @uiName Replace tax form modal body text
|
|
5149
|
+
* @uiGroup Dashboard Properties
|
|
5150
|
+
* @uiWidget textArea
|
|
5151
|
+
*/
|
|
5152
|
+
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.";
|
|
5153
|
+
/**
|
|
5154
|
+
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
5155
|
+
* @uiName Verification required alert message title
|
|
5156
|
+
* @uiGroup Dashboard Properties
|
|
5157
|
+
* @uiWidget textArea
|
|
5158
|
+
*/
|
|
5159
|
+
this.dashboard_verificationRequiredHeader = "Verify your identity";
|
|
5160
|
+
/**
|
|
5161
|
+
* Part of the alert displayed at the top of the page when the user needs to verify their identity
|
|
5162
|
+
* @uiName Verification required alert message description
|
|
5163
|
+
* @uiGroup Dashboard Properties
|
|
5164
|
+
* @uiWidget textArea
|
|
5165
|
+
*/
|
|
5166
|
+
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}.";
|
|
5167
|
+
/**
|
|
5168
|
+
* @uiName Verification required internal alert header
|
|
5169
|
+
* @uiGroup Dashboard Properties
|
|
5170
|
+
* @uiWidget textArea
|
|
5171
|
+
*/
|
|
5172
|
+
this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
5173
|
+
/**
|
|
5174
|
+
* @uiName Verification required internal alert description
|
|
5175
|
+
* @uiGroup Dashboard Properties
|
|
5176
|
+
* @uiWidget textArea
|
|
5177
|
+
*/
|
|
5178
|
+
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}.";
|
|
5179
|
+
/**
|
|
5180
|
+
* @uiName Verification review internal alert header
|
|
5181
|
+
* @uiGroup Dashboard Properties
|
|
5182
|
+
* @uiWidget textArea
|
|
5183
|
+
*/
|
|
5184
|
+
this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
5185
|
+
/**
|
|
5186
|
+
* @uiName Verification review internal alert description
|
|
5187
|
+
* @uiGroup Dashboard Properties
|
|
5188
|
+
* @uiWidget textArea
|
|
5189
|
+
*/
|
|
5190
|
+
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}.";
|
|
5191
|
+
/**
|
|
5192
|
+
* @uiName Verification failed internal alert header
|
|
5193
|
+
* @uiGroup Dashboard Properties
|
|
5194
|
+
* @uiWidget textArea
|
|
5195
|
+
*/
|
|
5196
|
+
this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
5197
|
+
/**
|
|
5198
|
+
* @uiName Verification failed internal alert description
|
|
5199
|
+
* @uiGroup Dashboard Properties
|
|
5200
|
+
* @uiWidget textArea
|
|
5201
|
+
*/
|
|
5202
|
+
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}.";
|
|
5203
|
+
/**
|
|
5204
|
+
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
5205
|
+
* @uiName Verification required alert button text
|
|
5206
|
+
* @uiGroup Dashboard Properties
|
|
5207
|
+
* @uiWidget textArea
|
|
5208
|
+
*/
|
|
5209
|
+
this.dashboard_verificationRequiredButtonText = "Start Verification";
|
|
5210
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
5211
|
+
GENERAL PROPS:
|
|
5212
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
5213
|
+
/**
|
|
5214
|
+
* @uiName Setup progress
|
|
5215
|
+
* @uiGroup General Form Properties
|
|
5216
|
+
*/
|
|
5217
|
+
this.formStep = "Step {step} of {count}";
|
|
5218
|
+
/**
|
|
5219
|
+
* Part of the alert displayed at the top of the page.
|
|
5220
|
+
* @uiName Form submission error message title
|
|
5221
|
+
* @uiGroup General Form Properties
|
|
5222
|
+
* @uiWidget textArea
|
|
5223
|
+
*/
|
|
5224
|
+
this.generalErrorTitle = "There was a problem submitting your information";
|
|
5225
|
+
/**
|
|
5226
|
+
* Part of the alert displayed at the top of the page.
|
|
5227
|
+
* @uiName Form submission error message description
|
|
5228
|
+
* @uiGroup General Form Properties
|
|
5229
|
+
* @uiWidget textArea
|
|
5230
|
+
*/
|
|
5231
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
5232
|
+
/**
|
|
5233
|
+
* Displayed under a field that is missing required information.
|
|
5234
|
+
* @uiName Empty form field error message
|
|
5235
|
+
* @uiGroup General Form Properties
|
|
5236
|
+
*/
|
|
5237
|
+
this.fieldRequiredError = "{fieldName} is required";
|
|
5238
|
+
/**
|
|
5239
|
+
* Displayed under a field that includes invalid characters (non-ASCII).
|
|
5240
|
+
* @uiName Invalid character error message
|
|
5241
|
+
* @uiGroup General Form Properties
|
|
5242
|
+
*/
|
|
5243
|
+
this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
|
|
5244
|
+
/**
|
|
5245
|
+
* Displayed under a field when it has an invalid entry.
|
|
5246
|
+
* @uiName Form field error message
|
|
5247
|
+
* @uiGroup General Form Properties
|
|
5248
|
+
*/
|
|
5249
|
+
this.fieldInvalidError = "{fieldName} is invalid";
|
|
5250
|
+
/**
|
|
5251
|
+
* @uiName Continue button label
|
|
5252
|
+
* @uiGroup General Form Properties
|
|
5253
|
+
*/
|
|
5254
|
+
this.continueButton = "Continue";
|
|
5255
|
+
/**
|
|
5256
|
+
* @uiName Back button label
|
|
5257
|
+
* @uiGroup General Form Properties
|
|
5258
|
+
*/
|
|
5259
|
+
this.backButton = "Back";
|
|
5260
|
+
/**
|
|
5261
|
+
* @uiName Cancel button label
|
|
5262
|
+
* @uiGroup General Form Properties
|
|
5263
|
+
*/
|
|
5264
|
+
this.cancelButton = "Cancel";
|
|
5265
|
+
/**
|
|
5266
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
5267
|
+
* @uiName Participant is a partner alert title
|
|
5268
|
+
* @uiGroup General Form Properties
|
|
5269
|
+
* @uiWidget textArea
|
|
5270
|
+
*/
|
|
5271
|
+
this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
|
|
5272
|
+
/**
|
|
5273
|
+
* Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
|
|
5274
|
+
* @uiName Participant is a partner alert description
|
|
5275
|
+
* @uiGroup General Form Properties
|
|
5276
|
+
* @uiWidget textArea
|
|
5277
|
+
*/
|
|
5278
|
+
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.";
|
|
5279
|
+
/**
|
|
5280
|
+
* Placeholder text displayed in the country search dropdown
|
|
5281
|
+
* @uiName Country field placeholder text
|
|
5282
|
+
* @uiGroup General Form Properties
|
|
5283
|
+
*/
|
|
5284
|
+
this.searchForCountryText = "Search for country..";
|
|
5285
|
+
/**
|
|
5286
|
+
* Part of the alert displayed at the top of the page.
|
|
5287
|
+
* @uiName Page load error message title
|
|
5288
|
+
* @uiGroup General Form Properties
|
|
5289
|
+
* @uiWidget textArea
|
|
5290
|
+
*/
|
|
5291
|
+
this.loadingErrorAlertHeader = "There was a problem loading your form";
|
|
5292
|
+
/**
|
|
5293
|
+
* Part of the alert displayed at the top of the page.
|
|
5294
|
+
* @uiName Page load error message description
|
|
5295
|
+
* @uiGroup General Form Properties
|
|
5296
|
+
* @uiWidget textArea
|
|
5297
|
+
*/
|
|
5298
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
5299
|
+
/**
|
|
5300
|
+
* Displayed at the top of the page on all set up steps.
|
|
5301
|
+
* @uiName Page description
|
|
5302
|
+
* @uiGroup General Form Properties
|
|
5303
|
+
*/
|
|
5304
|
+
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
5305
|
+
/**
|
|
5306
|
+
* Link text for contacting support team
|
|
5307
|
+
* @uiName Suport link text
|
|
5308
|
+
* @uiGroup General Form Properties
|
|
5309
|
+
*/
|
|
5310
|
+
this.supportLink = "support team";
|
|
5311
|
+
h$1(this);
|
|
5312
|
+
}
|
|
5313
|
+
disconnectedCallback() { }
|
|
5314
|
+
// this field is required prop
|
|
5315
|
+
getGeneralStepTextProps(prefix) {
|
|
5316
|
+
const props = getProps(this);
|
|
5317
|
+
return {
|
|
5318
|
+
...extractProps(props, prefix),
|
|
5319
|
+
generalErrorTitle: props.generalErrorTitle,
|
|
5320
|
+
generalErrorDescription: props.generalErrorDescription,
|
|
5321
|
+
fieldRequiredError: props.fieldRequiredError,
|
|
5322
|
+
invalidCharacterError: props.invalidCharacterError,
|
|
5323
|
+
fieldInvalidError: props.fieldInvalidError,
|
|
5324
|
+
continueButton: props.continueButton,
|
|
5325
|
+
backButton: props.backButton,
|
|
5326
|
+
cancelButton: props.cancelButton,
|
|
5327
|
+
isPartnerAlertHeader: props.isPartnerAlertHeader,
|
|
5328
|
+
isPartnerAlertDescription: props.isPartnerAlertDescription,
|
|
5329
|
+
loadingErrorAlertHeader: props.loadingErrorAlertHeader,
|
|
5330
|
+
loadingErrorAlertDescription: props.loadingErrorAlertDescription,
|
|
5331
|
+
taxAndPayoutsDescription: props.taxAndPayoutsDescription,
|
|
5332
|
+
searchForCountryText: props.searchForCountryText,
|
|
5333
|
+
formStep: props.formStep,
|
|
5334
|
+
supportLink: props.supportLink,
|
|
5335
|
+
};
|
|
5336
|
+
}
|
|
5337
|
+
render() {
|
|
5338
|
+
var _a, _b;
|
|
5339
|
+
const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
5340
|
+
// @ts-ignore
|
|
5341
|
+
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
5342
|
+
const textProps = getProps(this);
|
|
5343
|
+
return (h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
|
|
5344
|
+
if (prop === "demoData")
|
|
5345
|
+
return;
|
|
5346
|
+
return (h("div", null, h("b", null, prop, ":"), " ", this[prop], h("hr", null)));
|
|
5347
|
+
})));
|
|
5348
|
+
}
|
|
5349
|
+
switch (props.step) {
|
|
5350
|
+
case "/1":
|
|
5351
|
+
return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
|
|
5352
|
+
case "/2":
|
|
5353
|
+
return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
|
|
5354
|
+
case "/3":
|
|
5355
|
+
return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
|
|
5356
|
+
case "/4":
|
|
5357
|
+
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
5358
|
+
case "/dashboard":
|
|
5359
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
5360
|
+
case "/error":
|
|
5361
|
+
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
|
|
5362
|
+
}
|
|
5363
|
+
return h(LoadingView, null);
|
|
5364
|
+
}
|
|
5365
|
+
};
|
|
5366
|
+
function useDemoTaxAndCash(props) {
|
|
5367
|
+
const [step, setStep] = In({
|
|
5368
|
+
namespace: TAX_CONTEXT_NAMESPACE,
|
|
5369
|
+
initialValue: "/1",
|
|
5370
|
+
});
|
|
5371
|
+
return cjs({
|
|
5372
|
+
step,
|
|
5373
|
+
setStep,
|
|
5374
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
const style$6 = {
|
|
5378
|
+
ErrorAlertContainer: {
|
|
5379
|
+
"&::part(base)": {
|
|
5380
|
+
backgroundColor: "var(--sqm-danger-color-background)",
|
|
5381
|
+
border: "none",
|
|
5382
|
+
},
|
|
5383
|
+
"& sl-icon::part(base)": {
|
|
5384
|
+
color: "var(--sqm-danger-color-text)",
|
|
5385
|
+
},
|
|
5386
|
+
},
|
|
5387
|
+
WarningAlertContainer: {
|
|
5388
|
+
"&::part(base)": {
|
|
5389
|
+
backgroundColor: "var(--sqm-warning-color-background)",
|
|
3691
5390
|
border: "none",
|
|
3692
5391
|
maxWidth: "600px",
|
|
3693
5392
|
},
|
|
@@ -3866,8 +5565,8 @@ const style$5 = {
|
|
|
3866
5565
|
},
|
|
3867
5566
|
DialogButton: { margin: "auto", width: "100%" },
|
|
3868
5567
|
};
|
|
3869
|
-
const sheet$
|
|
3870
|
-
const styleString$
|
|
5568
|
+
const sheet$5 = createStyleSheet(style$6);
|
|
5569
|
+
const styleString$5 = sheet$5.toString();
|
|
3871
5570
|
const TaxAndCashDashboardView = (props) => {
|
|
3872
5571
|
var _a, _b, _c, _d;
|
|
3873
5572
|
const { states, text, callbacks, slots } = props;
|
|
@@ -3885,7 +5584,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3885
5584
|
buttonText: text.verificationRequiredButtonText,
|
|
3886
5585
|
alertType: "warning",
|
|
3887
5586
|
icon: "exclamation-triangle",
|
|
3888
|
-
class: sheet$
|
|
5587
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
3889
5588
|
};
|
|
3890
5589
|
case "VERIFICATION:INTERNAL":
|
|
3891
5590
|
return {
|
|
@@ -3898,7 +5597,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3898
5597
|
}),
|
|
3899
5598
|
alertType: "warning",
|
|
3900
5599
|
icon: "exclamation-triangle",
|
|
3901
|
-
class: sheet$
|
|
5600
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
3902
5601
|
};
|
|
3903
5602
|
case "VERIFICATION:REVIEW":
|
|
3904
5603
|
return {
|
|
@@ -3911,7 +5610,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3911
5610
|
}),
|
|
3912
5611
|
alertType: "warning",
|
|
3913
5612
|
icon: "exclamation-triangle",
|
|
3914
|
-
class: sheet$
|
|
5613
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
3915
5614
|
};
|
|
3916
5615
|
case "VERIFICATION:FAILED":
|
|
3917
5616
|
return {
|
|
@@ -3924,7 +5623,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3924
5623
|
}),
|
|
3925
5624
|
alertType: "critical",
|
|
3926
5625
|
icon: "exclamation-octagon",
|
|
3927
|
-
class: sheet$
|
|
5626
|
+
class: sheet$5.classes.ErrorHoldAlertContainer,
|
|
3928
5627
|
};
|
|
3929
5628
|
case "HOLD":
|
|
3930
5629
|
return {
|
|
@@ -3938,14 +5637,14 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3938
5637
|
buttonText: null,
|
|
3939
5638
|
alertType: "warning",
|
|
3940
5639
|
icon: "exclamation-triangle",
|
|
3941
|
-
class: sheet$
|
|
5640
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
3942
5641
|
};
|
|
3943
5642
|
default:
|
|
3944
5643
|
return;
|
|
3945
5644
|
}
|
|
3946
5645
|
}
|
|
3947
5646
|
const statusMap = {
|
|
3948
|
-
NOT_VERIFIED: (h("div", { class: sheet$
|
|
5647
|
+
NOT_VERIFIED: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
3949
5648
|
h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
|
|
3950
5649
|
h("p", null, intl.formatMessage({
|
|
3951
5650
|
id: `badgeTextAwaitingReview`,
|
|
@@ -3953,7 +5652,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3953
5652
|
}, {
|
|
3954
5653
|
dateSubmitted: states.dateSubmitted,
|
|
3955
5654
|
})))),
|
|
3956
|
-
ACTIVE: (h("div", { class: sheet$
|
|
5655
|
+
ACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
3957
5656
|
h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
|
|
3958
5657
|
h("p", null, intl.formatMessage({
|
|
3959
5658
|
id: `badgeTextSubmittedOn`,
|
|
@@ -3963,12 +5662,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
3963
5662
|
}, {
|
|
3964
5663
|
dateSubmitted: states.dateSubmitted,
|
|
3965
5664
|
})))),
|
|
3966
|
-
INACTIVE: (h("div", { class: sheet$
|
|
5665
|
+
INACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
3967
5666
|
h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
|
|
3968
5667
|
h("p", null, text.invalidForm))),
|
|
3969
5668
|
};
|
|
3970
5669
|
const alertMap = {
|
|
3971
|
-
INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5670
|
+
INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
3972
5671
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
3973
5672
|
h("strong", null, intl.formatMessage({
|
|
3974
5673
|
id: `taxAlertHeaderNotActive`,
|
|
@@ -4018,9 +5717,9 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4018
5717
|
};
|
|
4019
5718
|
return (h("div", null,
|
|
4020
5719
|
h("div", null,
|
|
4021
|
-
h("style", { type: "text/css" }, styleString$
|
|
5720
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
4022
5721
|
states.loadingError && (h("div", null,
|
|
4023
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5722
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
4024
5723
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
4025
5724
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
4026
5725
|
h("br", null),
|
|
@@ -4030,7 +5729,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4030
5729
|
}, {
|
|
4031
5730
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4032
5731
|
})))),
|
|
4033
|
-
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5732
|
+
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
4034
5733
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
4035
5734
|
h("strong", null, text.error.generalTitle),
|
|
4036
5735
|
h("br", null),
|
|
@@ -4045,49 +5744,49 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4045
5744
|
h("strong", null, getAlert(states.payoutStatus).header),
|
|
4046
5745
|
h("p", { style: { margin: "0" } }, getAlert(states.payoutStatus).description),
|
|
4047
5746
|
getAlert(states.payoutStatus).buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, getAlert(states.payoutStatus).buttonText)))),
|
|
4048
|
-
h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$
|
|
5747
|
+
h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
|
|
4049
5748
|
h("p", null, text.replaceTaxFormModalBodyText),
|
|
4050
|
-
h("sl-button", { slot: "footer", type: "primary", class: sheet$
|
|
4051
|
-
h("sl-button", { slot: "footer", type: "default", class: sheet$
|
|
5749
|
+
h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
|
|
5750
|
+
h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
|
|
4052
5751
|
states.status === "INACTIVE" && alertMap[states.status],
|
|
4053
5752
|
h("div", null,
|
|
4054
5753
|
h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
|
|
4055
|
-
h("p", { class: sheet$
|
|
4056
|
-
h("div", { class: sheet$
|
|
5754
|
+
h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
5755
|
+
h("div", { class: sheet$5.classes.BankingInformationContainer },
|
|
4057
5756
|
slots.payoutDetailsCardSlot,
|
|
4058
|
-
!states.loading && (h("p", { class: sheet$
|
|
4059
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$
|
|
4060
|
-
h("div", { class: sheet$
|
|
4061
|
-
h("div", null, states.loading ? (h("div", { class: sheet$
|
|
4062
|
-
h("sl-skeleton", { class: sheet$
|
|
4063
|
-
h("sl-skeleton", { class: sheet$
|
|
4064
|
-
h("h3", { class: sheet$
|
|
4065
|
-
h("p", { class: sheet$
|
|
4066
|
-
h("span", { class: sheet$
|
|
4067
|
-
h("div", { class: sheet$
|
|
5757
|
+
!states.loading && (h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
|
|
5758
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
5759
|
+
h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
5760
|
+
h("div", null, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5761
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5762
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null, states.noFormNeeded ? (h("div", null,
|
|
5763
|
+
h("h3", { class: sheet$5.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
|
|
5764
|
+
h("p", { class: sheet$5.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (h("div", null,
|
|
5765
|
+
h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5766
|
+
h("div", { class: sheet$5.classes.StatusContainer },
|
|
4068
5767
|
h("h3", null, intl.formatMessage({
|
|
4069
5768
|
id: "section-subheader",
|
|
4070
5769
|
defaultMessage: text.taxDocumentSectionSubHeader,
|
|
4071
5770
|
}, {
|
|
4072
5771
|
documentType: states.documentTypeString,
|
|
4073
5772
|
})),
|
|
4074
|
-
h("span", { class: sheet$
|
|
4075
|
-
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$
|
|
4076
|
-
h("div", { class: sheet$
|
|
4077
|
-
h("sl-skeleton", { class: sheet$
|
|
4078
|
-
h("sl-skeleton", { class: sheet$
|
|
4079
|
-
h("h3", { class: sheet$
|
|
5773
|
+
h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
|
|
5774
|
+
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
5775
|
+
h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5776
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5777
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
|
|
5778
|
+
h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
|
|
4080
5779
|
text.indirectTaxInfoSectionHeader,
|
|
4081
|
-
h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$
|
|
4082
|
-
h("sl-icon", { name: "info-circle", class: sheet$
|
|
4083
|
-
h("div", { class: sheet$
|
|
4084
|
-
h("span", null, states.notRegistered ? (h("span", { class: sheet$
|
|
5780
|
+
h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
|
|
5781
|
+
h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
|
|
5782
|
+
h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
|
|
5783
|
+
h("span", null, states.notRegistered ? (h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
|
|
4085
5784
|
id: "notRegisteredForTax",
|
|
4086
5785
|
defaultMessage: text.notRegisteredForTax,
|
|
4087
5786
|
}, {
|
|
4088
5787
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4089
5788
|
}))) : (getIndirectTaxRegisteredIn())),
|
|
4090
|
-
!states.notRegistered && (h("div", { class: sheet$
|
|
5789
|
+
!states.notRegistered && (h("div", { class: sheet$5.classes.TaxNumberContainer },
|
|
4091
5790
|
h("span", null, intl.formatMessage({
|
|
4092
5791
|
id: `indirectTaxDetails`,
|
|
4093
5792
|
defaultMessage: text.indirectTaxDetails,
|
|
@@ -4110,7 +5809,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4110
5809
|
}, {
|
|
4111
5810
|
subRegionTaxNumber: states.subRegionTaxNumber,
|
|
4112
5811
|
})))),
|
|
4113
|
-
!states.notRegistered && (h("div", { class: sheet$
|
|
5812
|
+
!states.notRegistered && (h("div", { class: sheet$5.classes.InvoiceTableContainer },
|
|
4114
5813
|
h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
|
|
4115
5814
|
h("sqm-invoice-table-download-column", null),
|
|
4116
5815
|
h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
|
|
@@ -4541,16 +6240,6 @@ const TaxAndCashDashboard = class {
|
|
|
4541
6240
|
* @uiName Cancel button label
|
|
4542
6241
|
*/
|
|
4543
6242
|
this.cancelButton = "Cancel";
|
|
4544
|
-
/**
|
|
4545
|
-
* @parentState { "parent": "sqm-tax-and-cash", "title": "Dashboard" }
|
|
4546
|
-
* @componentState { "title": "Default", "props": { } }
|
|
4547
|
-
* @componentState { "title": "Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:REQUIRED" } } }
|
|
4548
|
-
* @componentState { "title": "Internal Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:INTERNAL" } } }
|
|
4549
|
-
* @componentState { "title": "Review in progress", "props": { "states": { "payoutStatus": "VERIFICATION:REVIEW" } } }
|
|
4550
|
-
* @componentState { "title": "Verification failed", "props": { "states": { "payoutStatus": "VERIFICATION:FAILED" } } }
|
|
4551
|
-
* @componentState { "title": "Payout hold", "props": { "states": { "payoutStatus": "HOLD" } } }
|
|
4552
|
-
*/
|
|
4553
|
-
this.stateController = "{}";
|
|
4554
6243
|
h$1(this);
|
|
4555
6244
|
}
|
|
4556
6245
|
disconnectedCallback() { }
|
|
@@ -4576,8 +6265,6 @@ const TaxAndCashDashboard = class {
|
|
|
4576
6265
|
}
|
|
4577
6266
|
};
|
|
4578
6267
|
function useDemoTaxAndCashDashboard(props) {
|
|
4579
|
-
const states = parseStates(props.stateController);
|
|
4580
|
-
console.log({ states });
|
|
4581
6268
|
return cjs({
|
|
4582
6269
|
states: {
|
|
4583
6270
|
dateSubmitted: "today",
|
|
@@ -4585,23 +6272,16 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4585
6272
|
documentTypeString: "W9",
|
|
4586
6273
|
status: "ACTIVE",
|
|
4587
6274
|
country: "United States",
|
|
4588
|
-
indirectTaxNumber:
|
|
6275
|
+
indirectTaxNumber: 55555555,
|
|
4589
6276
|
indirectTaxType: "Indirect Tax",
|
|
4590
6277
|
noFormNeeded: true,
|
|
4591
6278
|
disabled: false,
|
|
4592
6279
|
loading: false,
|
|
4593
6280
|
showNewFormDialog: false,
|
|
4594
6281
|
hasHold: false,
|
|
6282
|
+
showVerifyIdentity: false,
|
|
4595
6283
|
payoutStatus: "DONE",
|
|
4596
6284
|
veriffLoading: false,
|
|
4597
|
-
canEditPayoutInfo: true,
|
|
4598
|
-
subRegion: "CA",
|
|
4599
|
-
subRegionTaxNumber: undefined,
|
|
4600
|
-
qstNumber: undefined,
|
|
4601
|
-
isBusinessEntity: false,
|
|
4602
|
-
province: undefined,
|
|
4603
|
-
notRegistered: false,
|
|
4604
|
-
loadingError: false,
|
|
4605
6285
|
},
|
|
4606
6286
|
callbacks: {
|
|
4607
6287
|
onClick: () => console.debug("check step"),
|
|
@@ -4611,7 +6291,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4611
6291
|
onVerifyClick: () => console.log("verify"),
|
|
4612
6292
|
},
|
|
4613
6293
|
text: props.getTextProps(),
|
|
4614
|
-
}, props.demoData ||
|
|
6294
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4615
6295
|
}
|
|
4616
6296
|
|
|
4617
6297
|
const PHONE_EXTENSIONS = {
|
|
@@ -5585,7 +7265,7 @@ const PHONE_EXTENSIONS = {
|
|
|
5585
7265
|
},
|
|
5586
7266
|
};
|
|
5587
7267
|
|
|
5588
|
-
const style$
|
|
7268
|
+
const style$7 = {
|
|
5589
7269
|
FormWrapper: {},
|
|
5590
7270
|
ErrorInput: {
|
|
5591
7271
|
"&::part(base)": {
|
|
@@ -5685,9 +7365,9 @@ const style$6 = {
|
|
|
5685
7365
|
},
|
|
5686
7366
|
},
|
|
5687
7367
|
};
|
|
5688
|
-
const sheet$
|
|
5689
|
-
const styleString$
|
|
5690
|
-
const vanillaStyle$
|
|
7368
|
+
const sheet$6 = createStyleSheet(style$7);
|
|
7369
|
+
const styleString$6 = sheet$6.toString();
|
|
7370
|
+
const vanillaStyle$4 = `
|
|
5691
7371
|
:host{
|
|
5692
7372
|
display: block;
|
|
5693
7373
|
}
|
|
@@ -5865,7 +7545,7 @@ const vanillaStyle$3 = `
|
|
|
5865
7545
|
const UserInfoFormView = (props) => {
|
|
5866
7546
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
5867
7547
|
const { states, states: { formState }, callbacks, text, refs, data, } = props;
|
|
5868
|
-
const { classes } = sheet$
|
|
7548
|
+
const { classes } = sheet$6;
|
|
5869
7549
|
const bankingCollectionText = intl.formatMessage({
|
|
5870
7550
|
id: "bankingCollectionText",
|
|
5871
7551
|
defaultMessage: text.allowBankingCollection,
|
|
@@ -5888,10 +7568,10 @@ const UserInfoFormView = (props) => {
|
|
|
5888
7568
|
}
|
|
5889
7569
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
5890
7570
|
h("style", { type: "text/css" },
|
|
5891
|
-
styleString$
|
|
5892
|
-
vanillaStyle$
|
|
7571
|
+
styleString$6,
|
|
7572
|
+
vanillaStyle$4),
|
|
5893
7573
|
states.loadingError && (h("div", null,
|
|
5894
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
7574
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
|
|
5895
7575
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5896
7576
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
5897
7577
|
h("br", null),
|
|
@@ -5902,7 +7582,7 @@ const UserInfoFormView = (props) => {
|
|
|
5902
7582
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5903
7583
|
})),
|
|
5904
7584
|
h("br", null))),
|
|
5905
|
-
states.loading ? (h(
|
|
7585
|
+
states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
|
|
5906
7586
|
h("div", { class: classes.TextContainer },
|
|
5907
7587
|
h("div", null,
|
|
5908
7588
|
!states.hideSteps && (h("p", null, intl.formatMessage({
|
|
@@ -5911,7 +7591,7 @@ const UserInfoFormView = (props) => {
|
|
|
5911
7591
|
}, { step: states.step, count: FORM_STEPS }))),
|
|
5912
7592
|
h("h3", null, text.personalInformation),
|
|
5913
7593
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
5914
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
7594
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
|
|
5915
7595
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5916
7596
|
h("strong", null, text.error.generalTitle),
|
|
5917
7597
|
h("br", null),
|
|
@@ -5921,7 +7601,7 @@ const UserInfoFormView = (props) => {
|
|
|
5921
7601
|
}, {
|
|
5922
7602
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5923
7603
|
}))),
|
|
5924
|
-
(states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
7604
|
+
(states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
5925
7605
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
5926
7606
|
h("strong", null, text.isPartnerAlertHeader),
|
|
5927
7607
|
h("br", null),
|
|
@@ -6395,13 +8075,6 @@ const TaxForm = class {
|
|
|
6395
8075
|
* @uiName Support link text
|
|
6396
8076
|
*/
|
|
6397
8077
|
this.supportLink = "support team";
|
|
6398
|
-
/**
|
|
6399
|
-
* @uiName States
|
|
6400
|
-
* @parentState { "parent": "sqm-tax-and-cash", "title": "Step 1" }
|
|
6401
|
-
* @componentState { "title": "Errors", "props": { "states": { "loadingError": true, "formState": { "errors": { "email": true, "firstName": true, "lastName": true, "countryCode": true, "currency": true } } } } }
|
|
6402
|
-
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
6403
|
-
*/
|
|
6404
|
-
this.stateController = "{}";
|
|
6405
8078
|
h$1(this);
|
|
6406
8079
|
}
|
|
6407
8080
|
disconnectedCallback() { }
|
|
@@ -6422,20 +8095,19 @@ const TaxForm = class {
|
|
|
6422
8095
|
}
|
|
6423
8096
|
render() {
|
|
6424
8097
|
const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
|
|
6425
|
-
return (h(UserInfoFormView, { data: props.data,
|
|
8098
|
+
return (h(Host, null, h(UserInfoFormView, { data: props.data,
|
|
6426
8099
|
// @ts-ignore
|
|
6427
8100
|
states: props.states, callbacks: {
|
|
6428
8101
|
...props.callbacks,
|
|
6429
8102
|
onSubmit: props.onSubmit,
|
|
6430
|
-
}, text: props.text, refs: props.refs }));
|
|
8103
|
+
}, text: props.text, refs: props.refs })));
|
|
6431
8104
|
}
|
|
6432
8105
|
};
|
|
6433
8106
|
function useDemoUserInfoForm(props) {
|
|
6434
8107
|
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
6435
|
-
// @ts-ignore
|
|
6436
8108
|
return cjs({
|
|
6437
8109
|
setStep,
|
|
6438
|
-
onSubmit:
|
|
8110
|
+
onSubmit: () => {
|
|
6439
8111
|
setStep("/2");
|
|
6440
8112
|
},
|
|
6441
8113
|
onRadioClick: () => { },
|
|
@@ -6475,7 +8147,7 @@ function useDemoUserInfoForm(props) {
|
|
|
6475
8147
|
},
|
|
6476
8148
|
},
|
|
6477
8149
|
},
|
|
6478
|
-
}, props.demoData ||
|
|
8150
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6479
8151
|
}
|
|
6480
8152
|
|
|
6481
|
-
export { BankingInfoForm as sqm_banking_info_form, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataColumn as sqm_invoice_table_data_column, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };
|
|
8153
|
+
export { BankingInfoForm as sqm_banking_info_form, WidgetCodeVerification as sqm_code_verification, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataCell as sqm_invoice_table_data_cell, InvoiceTableDataColumn as sqm_invoice_table_data_column, RewardTableDateCell as sqm_invoice_table_date_cell, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableDownloadCell as sqm_invoice_table_download_cell, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaxAndCashMonolith as sqm_tax_and_cash, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };
|