@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
package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js
CHANGED
|
@@ -2,9 +2,9 @@ import { isDemo } from "@saasquatch/component-boilerplate";
|
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { Component, Host, Prop, h } from "@stencil/core";
|
|
4
4
|
import deepmerge from "deepmerge";
|
|
5
|
-
import { getProps } from "../../../utils/utils";
|
|
6
5
|
import { PayoutDetailsCardView } from "./sqm-payout-details-card-view";
|
|
7
6
|
import { usePayoutDetailsCard } from "./usePayoutDetailsCard";
|
|
7
|
+
import { getProps } from "../../../utils/utils";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Payout Details Card
|
|
10
10
|
* @exampleGroup Tax and Cash Components
|
|
@@ -31,10 +31,6 @@ export class PayoutDetailsCard {
|
|
|
31
31
|
* @uiName Payout missing information subtext
|
|
32
32
|
*/
|
|
33
33
|
this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
|
|
34
|
-
/**
|
|
35
|
-
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
36
|
-
*/
|
|
37
|
-
this.stateController = "{}";
|
|
38
34
|
withHooks(this);
|
|
39
35
|
}
|
|
40
36
|
disconnectedCallback() { }
|
|
@@ -138,27 +134,6 @@ export class PayoutDetailsCard {
|
|
|
138
134
|
"reflect": false,
|
|
139
135
|
"defaultValue": "\"Missing banking information, go to Impact.com to resolve.\""
|
|
140
136
|
},
|
|
141
|
-
"stateController": {
|
|
142
|
-
"type": "string",
|
|
143
|
-
"mutable": false,
|
|
144
|
-
"complexType": {
|
|
145
|
-
"original": "string",
|
|
146
|
-
"resolved": "string",
|
|
147
|
-
"references": {}
|
|
148
|
-
},
|
|
149
|
-
"required": false,
|
|
150
|
-
"optional": true,
|
|
151
|
-
"docs": {
|
|
152
|
-
"tags": [{
|
|
153
|
-
"text": "{ \"title\": \"Loading\", \"props\": { \"states\": { \"loading\": true } } }",
|
|
154
|
-
"name": "componentState"
|
|
155
|
-
}],
|
|
156
|
-
"text": ""
|
|
157
|
-
},
|
|
158
|
-
"attribute": "state-controller",
|
|
159
|
-
"reflect": false,
|
|
160
|
-
"defaultValue": "\"{}\""
|
|
161
|
-
},
|
|
162
137
|
"demoData": {
|
|
163
138
|
"type": "unknown",
|
|
164
139
|
"mutable": false,
|
package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useParentQueryValue } from "@saasquatch/component-boilerplate";
|
|
2
1
|
import { DateTime } from "luxon";
|
|
3
2
|
import { intl } from "../../../global/global";
|
|
4
|
-
import { USER_QUERY_NAMESPACE } from "../data";
|
|
3
|
+
import { USER_QUERY_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
4
|
+
import { useParentQueryValue } from "@saasquatch/component-boilerplate";
|
|
5
5
|
export function usePayoutDetailsCard(props) {
|
|
6
6
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
7
7
|
const { data, loading } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
@@ -23,20 +23,17 @@ const GET_USER_STATUS = gql `
|
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
25
|
export function getStatus(data) {
|
|
26
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
26
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
27
27
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
28
28
|
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
29
29
|
return "INFORMATION_REQUIRED";
|
|
30
|
-
if ((
|
|
31
|
-
return "DONE";
|
|
32
|
-
}
|
|
33
|
-
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
30
|
+
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("IDV_CHECK_REQUIRED"))
|
|
34
31
|
return "VERIFICATION:REQUIRED";
|
|
35
|
-
if ((
|
|
32
|
+
if ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
36
33
|
return "VERIFICATION:INTERNAL";
|
|
37
|
-
if ((
|
|
34
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
38
35
|
return "VERIFICATION:REVIEW";
|
|
39
|
-
if ((
|
|
36
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
40
37
|
return "VERIFICATION:FAILED";
|
|
41
38
|
if (account.hold)
|
|
42
39
|
return "HOLD";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { isDemo, useParentState } from "@saasquatch/component-boilerplate";
|
|
2
1
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
2
|
import { Component, Prop, h } from "@stencil/core";
|
|
4
3
|
import deepmerge from "deepmerge";
|
|
5
|
-
import { parseStates } from "../../../utils/parseStates";
|
|
6
4
|
import { getProps } from "../../../utils/utils";
|
|
7
|
-
import { TAX_CONTEXT_NAMESPACE } from "../data";
|
|
8
|
-
import { ErrorView } from "./ErrorView";
|
|
9
|
-
import { extractProps } from "./extractProps";
|
|
10
5
|
import LoadingView from "./LoadingView";
|
|
6
|
+
import { TAX_CONTEXT_NAMESPACE } from "./data";
|
|
7
|
+
import { extractProps } from "./extractProps";
|
|
11
8
|
import { useTaxAndCash } from "./useTaxAndCash";
|
|
9
|
+
import { isDemo, useParentState } from "@saasquatch/component-boilerplate";
|
|
10
|
+
import { ErrorView } from "./ErrorView";
|
|
12
11
|
/**
|
|
13
12
|
* @uiName Tax and Cash
|
|
14
13
|
* @exampleGroup Tax and Cash
|
|
@@ -974,15 +973,6 @@ export class TaxAndCashMonolith {
|
|
|
974
973
|
* @uiGroup General Form Properties
|
|
975
974
|
*/
|
|
976
975
|
this.supportLink = "support team";
|
|
977
|
-
/**
|
|
978
|
-
* @uiName Monolith States
|
|
979
|
-
* @componentState { "title": "Step 1", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"] }
|
|
980
|
-
* @componentState { "title": "Step 2", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"] }
|
|
981
|
-
* @componentState { "title": "Step 3", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"] }
|
|
982
|
-
* @componentState { "title": "Step 4", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"] }
|
|
983
|
-
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"] }
|
|
984
|
-
*/
|
|
985
|
-
this.stateController = "{}";
|
|
986
976
|
withHooks(this);
|
|
987
977
|
}
|
|
988
978
|
disconnectedCallback() { }
|
|
@@ -1027,23 +1017,21 @@ export class TaxAndCashMonolith {
|
|
|
1027
1017
|
h("hr", null)));
|
|
1028
1018
|
})));
|
|
1029
1019
|
}
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
};
|
|
1046
|
-
return getStep() || h(LoadingView, null);
|
|
1020
|
+
switch (props.step) {
|
|
1021
|
+
case "/1":
|
|
1022
|
+
return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
|
|
1023
|
+
case "/2":
|
|
1024
|
+
return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
|
|
1025
|
+
case "/3":
|
|
1026
|
+
return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
|
|
1027
|
+
case "/4":
|
|
1028
|
+
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1029
|
+
case "/dashboard":
|
|
1030
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1031
|
+
case "/error":
|
|
1032
|
+
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
|
|
1033
|
+
}
|
|
1034
|
+
return h(LoadingView, null);
|
|
1047
1035
|
}
|
|
1048
1036
|
static get is() { return "sqm-tax-and-cash"; }
|
|
1049
1037
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5026,55 +5014,20 @@ export class TaxAndCashMonolith {
|
|
|
5026
5014
|
"reflect": false,
|
|
5027
5015
|
"defaultValue": "\"support team\""
|
|
5028
5016
|
},
|
|
5029
|
-
"stateController": {
|
|
5030
|
-
"type": "string",
|
|
5031
|
-
"mutable": false,
|
|
5032
|
-
"complexType": {
|
|
5033
|
-
"original": "string",
|
|
5034
|
-
"resolved": "string",
|
|
5035
|
-
"references": {}
|
|
5036
|
-
},
|
|
5037
|
-
"required": false,
|
|
5038
|
-
"optional": false,
|
|
5039
|
-
"docs": {
|
|
5040
|
-
"tags": [{
|
|
5041
|
-
"text": "Monolith States",
|
|
5042
|
-
"name": "uiName"
|
|
5043
|
-
}, {
|
|
5044
|
-
"text": "{ \"title\": \"Step 1\", \"props\": { \"step\": \"/1\" }, \"dependencies\": [\"sqm-user-info-form\"] }",
|
|
5045
|
-
"name": "componentState"
|
|
5046
|
-
}, {
|
|
5047
|
-
"text": "{ \"title\": \"Step 2\", \"props\": { \"step\": \"/2\" }, \"dependencies\": [\"sqm-indirect-tax-form\"] }",
|
|
5048
|
-
"name": "componentState"
|
|
5049
|
-
}, {
|
|
5050
|
-
"text": "{ \"title\": \"Step 3\", \"props\": { \"step\": \"/3\" }, \"dependencies\": [\"sqm-docusign-form\"] }",
|
|
5051
|
-
"name": "componentState"
|
|
5052
|
-
}, {
|
|
5053
|
-
"text": "{ \"title\": \"Step 4\", \"props\": { \"step\": \"/4\" }, \"dependencies\": [\"sqm-banking-info-form\"] }",
|
|
5054
|
-
"name": "componentState"
|
|
5055
|
-
}, {
|
|
5056
|
-
"text": "{ \"title\": \"Dashboard\", \"props\": { \"step\": \"/dashboard\" }, \"dependencies\": [\"sqm-tax-and-cash-dashboard\"] }",
|
|
5057
|
-
"name": "componentState"
|
|
5058
|
-
}],
|
|
5059
|
-
"text": ""
|
|
5060
|
-
},
|
|
5061
|
-
"attribute": "state-controller",
|
|
5062
|
-
"reflect": false,
|
|
5063
|
-
"defaultValue": "\"{}\""
|
|
5064
|
-
},
|
|
5065
5017
|
"demoData": {
|
|
5066
5018
|
"type": "unknown",
|
|
5067
5019
|
"mutable": false,
|
|
5068
5020
|
"complexType": {
|
|
5069
|
-
"original": "DemoData<
|
|
5070
|
-
"resolved": "{ step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_currencyHelpText?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_classificationLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; formStep?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; invalidCharacterError?: string; fieldInvalidError?: string; continueButton?: string; backButton?: string; cancelButton?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; searchForCountryText?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; taxAndPayoutsDescription?: string; supportLink?: string; stateController?: string; demoData?: Partial<Pick<TaxAndCashMonolith, \"step1_firstName\" | \"step1_lastName\" | \"step1_email\" | \"step1_country\" | \"step1_phoneNumber\" | \"step1_address\" | \"step1_city\" | \"step1_state\" | \"step1_province\" | \"step1_region\" | \"step1_postalCode\" | \"step1_currency\" | \"step1_currencyHelpText\" | \"step1_allowBankingCollection\" | \"step1_personalInformation\" | \"step1_termsAndConditionsLabel\" | \"step1_termsAndConditionsLink\" | \"step1_searchForCurrencyText\" | \"step2_indirectTax\" | \"step2_indirectTaxDescription\" | \"step2_indirectTaxDetails\" | \"step2_otherRegion\" | \"step2_otherRegionSubtext\" | \"step2_notRegistered\" | \"step2_notRegisteredSubtext\" | \"step2_selectedRegion\" | \"step2_indirectTaxNumber\" | \"step2_province\" | \"step2_indirectTaxNumberError\" | \"step2_qstNumber\" | \"step2_isRegisteredQST\" | \"step2_isRegisteredSubRegionIncomeTax\" | \"step2_subRegion\" | \"step2_subRegionTaxNumberLabel\" | \"step2_cannotChangeInfoAlert\" | \"step3_taxForm\" | \"step3_taxFormLabel\" | \"step3_participantType\" | \"step3_businessEntity\" | \"step3_individualParticipant\" | \"step3_taxFormDescription\" | \"step3_taxFormDescriptionIndividualParticipant\" | \"step3_taxFormDescriptionBusinessEntity\" | \"step3_docusignExpired\" | \"step3_docusignSessionWarning\" | \"step3_docusignError\" | \"step3_refreshButton\" | \"step3_exitButton\" | \"step4_taxAndPayouts\" | \"step4_directlyToBankAccount\" | \"step4_toPayPalAccount\" | \"step4_paymentScheduleBalanceThreshold\" | \"step4_paymentScheduleFixedDay\" | \"step4_paymentDaySelectLabel\" | \"step4_paymentThresholdSelectLabel\" | \"step4_paymentDayFirstOfMonthLabelText\" | \"step4_paymentDayFifteenthOfMonthLabelText\" | \"step4_paymentMethod\" | \"step4_paymentSchedule\" | \"step4_paymentMethodSubtext\" | \"step4_payPalInputLabel\" | \"step4_bankLocationLabel\" | \"step4_beneficiaryAccountNameLabel\" | \"step4_bankAccountTypeLabel\" | \"step4_checkingSelectItemLabel\" | \"step4_savingsSelectItemLabel\" | \"step4_bankAccountNumberLabel\" | \"step4_ibanLabel\" | \"step4_swiftCodeLabel\" | \"step4_routingCodeLabel\" | \"step4_bankNameLabel\" | \"step4_classificationEntityLabel\" | \"step4_businessSelectItemLabel\" | \"step4_individualSelectItemLabel\" | \"step4_foreignSelectItemLabel\" | \"step4_classificationCPFLabel\" | \"step4_patronymicNameLabel\" | \"step4_voCodeLabel\" | \"step4_agencyCodeLabel\" | \"step4_branchCodeLabel\" | \"step4_classificationLabel\" | \"step4_taxPayerIdLabel\" | \"step4_bankAddressLabel\" | \"step4_bankCityLabel\" | \"step4_bankStateLabel\" | \"step4_bankPostalCodeLabel\" | \"step4_eftWithdrawalLabel\" | \"step4_fxWireProcessingFeeLabel\" | \"step4_verifyEmailHeaderText\" | \"step4_verifyEmailDescriptionText\" | \"dashboard_statusTextActive\" | \"dashboard_statusTextNotActive\" | \"dashboard_statusTextNotVerified\" | \"dashboard_badgeTextSubmittedOn\" | \"dashboard_badgeTextSubmittedOnW8\" | \"dashboard_badgeTextAwaitingReview\" | \"dashboard_taxAlertHeaderNotActiveW9\" | \"dashboard_taxAlertHeaderNotActiveW8\" | \"dashboard_taxAlertNotActiveMessageW9\" | \"dashboard_taxAlertNotActiveMessageW8\" | \"dashboard_invalidForm\" | \"dashboard_bankingInformationSectionHeader\" | \"dashboard_taxDocumentSectionHeader\" | \"dashboard_taxDocumentSectionSubHeader\" | \"dashboard_noFormNeededSubtext\" | \"dashboard_indirectTaxInfoSectionHeader\" | \"dashboard_indirectTaxInfoCanada\" | \"dashboard_indirectTaxInfoOtherCountry\" | \"dashboard_indirectTaxInfoSpain\" | \"dashboard_indirectTaxTooltipSupport\" | \"dashboard_indirectTaxDetails\" | \"dashboard_newFormButton\" | \"dashboard_editPaymentInformationButton\" | \"dashboard_notRegisteredForTax\" | \"dashboard_qstNumber\" | \"dashboard_subRegionTaxNumber\" | \"dashboard_statusBadgeText\" | \"dashboard_thresholdPayoutText\" | \"dashboard_accountText\" | \"dashboard_invoiceColumnTitle\" | \"dashboard_dateColumnTitle\" | \"dashboard_earningsColumnTitle\" | \"dashboard_indirectTaxColumnTitle\" | \"dashboard_payoutFromImpact\" | \"dashboard_earningsAfterTaxColumnTitle\" | \"dashboard_payoutHoldAlertHeader\" | \"dashboard_payoutHoldAlertDescription\" | \"dashboard_payoutMissingInformationText\" | \"dashboard_invoiceDescription\" | \"dashboard_invoicePrevLabel\" | \"dashboard_invoiceMoreLabel\" | \"dashboard_invoiceHeader\" | \"dashboard_invoiceEmptyStateHeader\" | \"dashboard_invoiceEmptyStateText\" | \"dashboard_replaceTaxFormModalHeader\" | \"dashboard_replaceTaxFormModalBodyText\" | \"dashboard_verificationRequiredHeader\" | \"dashboard_verificationRequiredDescription\" | \"dashboard_verificationRequiredInternalHeader\" | \"dashboard_verificationRequiredInternalDescription\" | \"dashboard_verificationReviewInternalHeader\" | \"dashboard_verificationReviewInternalDescription\" | \"dashboard_verificationFailedInternalHeader\" | \"dashboard_verificationFailedInternalDescription\" | \"dashboard_verificationRequiredButtonText\" | \"formStep\" | \"generalErrorTitle\" | \"generalErrorDescription\" | \"fieldRequiredError\" | \"invalidCharacterError\" | \"fieldInvalidError\" | \"continueButton\" | \"backButton\" | \"cancelButton\" | \"isPartnerAlertHeader\" | \"isPartnerAlertDescription\" | \"searchForCountryText\" | \"loadingErrorAlertHeader\" | \"loadingErrorAlertDescription\" | \"taxAndPayoutsDescription\" | \"supportLink\" | \"stateController\" | \"demoData\" | \"disconnectedCallback\" | \"getGeneralStepTextProps\" | \"render\">>; disconnectedCallback?: () => void; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; render?: () => any; }",
|
|
5021
|
+
"original": "DemoData<UseTaxAndCashResultType>",
|
|
5022
|
+
"resolved": "{ loading?: boolean; setStep?: (value: string) => void; step?: string; context?: TaxContext; namespace?: string; }",
|
|
5071
5023
|
"references": {
|
|
5072
5024
|
"DemoData": {
|
|
5073
5025
|
"location": "import",
|
|
5074
5026
|
"path": "../../../global/demo"
|
|
5075
5027
|
},
|
|
5076
|
-
"
|
|
5077
|
-
"location": "
|
|
5028
|
+
"UseTaxAndCashResultType": {
|
|
5029
|
+
"location": "import",
|
|
5030
|
+
"path": "./useTaxAndCash"
|
|
5078
5031
|
}
|
|
5079
5032
|
}
|
|
5080
5033
|
},
|
|
@@ -5084,6 +5037,9 @@ export class TaxAndCashMonolith {
|
|
|
5084
5037
|
"tags": [{
|
|
5085
5038
|
"text": undefined,
|
|
5086
5039
|
"name": "undocumented"
|
|
5040
|
+
}, {
|
|
5041
|
+
"text": "object",
|
|
5042
|
+
"name": "uiType"
|
|
5087
5043
|
}],
|
|
5088
5044
|
"text": ""
|
|
5089
5045
|
}
|
|
@@ -5095,13 +5051,8 @@ function useDemoTaxAndCash(props) {
|
|
|
5095
5051
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
5096
5052
|
initialValue: "/1",
|
|
5097
5053
|
});
|
|
5098
|
-
console.log("PROPS", props);
|
|
5099
|
-
const states = parseStates(props.stateController);
|
|
5100
|
-
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
5101
|
-
? { ...prev, ...states[key] }
|
|
5102
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
5103
5054
|
return deepmerge({
|
|
5104
5055
|
step,
|
|
5105
5056
|
setStep,
|
|
5106
|
-
}, props.demoData ||
|
|
5057
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5107
5058
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getContextValueName, useHost, useLocale, useParentQuery, useParentState, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { useEffect, useMemo } from "@saasquatch/universal-hooks";
|
|
3
|
-
import { COUNTRIES_NAMESPACE, COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, CURRENCIES_QUERY_NAMESPACE, FINANCE_NETWORK_SETTINGS_NAMESPACE, GET_COUNTRIES, GET_CURRENCIES, GET_FINANCE_NETWORK_SETTINGS, GET_USER, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
|
|
4
3
|
import { getCountryObj } from "../utils";
|
|
4
|
+
import { COUNTRIES_NAMESPACE, COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, CURRENCIES_QUERY_NAMESPACE, FINANCE_NETWORK_SETTINGS_NAMESPACE, GET_COUNTRIES, GET_CURRENCIES, GET_FINANCE_NETWORK_SETTINGS, GET_USER, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "./data";
|
|
5
5
|
function getCurrentStep(user) {
|
|
6
6
|
var _a, _b;
|
|
7
7
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
@@ -2,7 +2,6 @@ import { isDemo } from "@saasquatch/component-boilerplate";
|
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { Component, h, Host, Prop } from "@stencil/core";
|
|
4
4
|
import deepmerge from "deepmerge";
|
|
5
|
-
import { parseStates } from "../../../utils/parseStates";
|
|
6
5
|
import { getProps } from "../../../utils/utils";
|
|
7
6
|
import { TaxAndCashDashboardView } from "./sqm-tax-and-cash-dashboard-view";
|
|
8
7
|
import { useTaxAndCashDashboard, } from "./useTaxAndCashDashboard";
|
|
@@ -315,16 +314,6 @@ export class TaxAndCashDashboard {
|
|
|
315
314
|
* @uiName Cancel button label
|
|
316
315
|
*/
|
|
317
316
|
this.cancelButton = "Cancel";
|
|
318
|
-
/**
|
|
319
|
-
* @parentState { "parent": "sqm-tax-and-cash", "title": "Dashboard" }
|
|
320
|
-
* @componentState { "title": "Default", "props": { } }
|
|
321
|
-
* @componentState { "title": "Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:REQUIRED" } } }
|
|
322
|
-
* @componentState { "title": "Internal Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:INTERNAL" } } }
|
|
323
|
-
* @componentState { "title": "Review in progress", "props": { "states": { "payoutStatus": "VERIFICATION:REVIEW" } } }
|
|
324
|
-
* @componentState { "title": "Verification failed", "props": { "states": { "payoutStatus": "VERIFICATION:FAILED" } } }
|
|
325
|
-
* @componentState { "title": "Payout hold", "props": { "states": { "payoutStatus": "HOLD" } } }
|
|
326
|
-
*/
|
|
327
|
-
this.stateController = "{}";
|
|
328
317
|
withHooks(this);
|
|
329
318
|
}
|
|
330
319
|
disconnectedCallback() { }
|
|
@@ -1702,45 +1691,6 @@ export class TaxAndCashDashboard {
|
|
|
1702
1691
|
"reflect": false,
|
|
1703
1692
|
"defaultValue": "\"Cancel\""
|
|
1704
1693
|
},
|
|
1705
|
-
"stateController": {
|
|
1706
|
-
"type": "string",
|
|
1707
|
-
"mutable": false,
|
|
1708
|
-
"complexType": {
|
|
1709
|
-
"original": "string",
|
|
1710
|
-
"resolved": "string",
|
|
1711
|
-
"references": {}
|
|
1712
|
-
},
|
|
1713
|
-
"required": false,
|
|
1714
|
-
"optional": true,
|
|
1715
|
-
"docs": {
|
|
1716
|
-
"tags": [{
|
|
1717
|
-
"text": "{ \"parent\": \"sqm-tax-and-cash\", \"title\": \"Dashboard\" }",
|
|
1718
|
-
"name": "parentState"
|
|
1719
|
-
}, {
|
|
1720
|
-
"text": "{ \"title\": \"Default\", \"props\": { } }",
|
|
1721
|
-
"name": "componentState"
|
|
1722
|
-
}, {
|
|
1723
|
-
"text": "{ \"title\": \"Verification Required\", \"props\": { \"states\": { \"payoutStatus\": \"VERIFICATION:REQUIRED\" } } }",
|
|
1724
|
-
"name": "componentState"
|
|
1725
|
-
}, {
|
|
1726
|
-
"text": "{ \"title\": \"Internal Verification Required\", \"props\": { \"states\": { \"payoutStatus\": \"VERIFICATION:INTERNAL\" } } }",
|
|
1727
|
-
"name": "componentState"
|
|
1728
|
-
}, {
|
|
1729
|
-
"text": "{ \"title\": \"Review in progress\", \"props\": { \"states\": { \"payoutStatus\": \"VERIFICATION:REVIEW\" } } }",
|
|
1730
|
-
"name": "componentState"
|
|
1731
|
-
}, {
|
|
1732
|
-
"text": "{ \"title\": \"Verification failed\", \"props\": { \"states\": { \"payoutStatus\": \"VERIFICATION:FAILED\" } } }",
|
|
1733
|
-
"name": "componentState"
|
|
1734
|
-
}, {
|
|
1735
|
-
"text": "{ \"title\": \"Payout hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } } }",
|
|
1736
|
-
"name": "componentState"
|
|
1737
|
-
}],
|
|
1738
|
-
"text": ""
|
|
1739
|
-
},
|
|
1740
|
-
"attribute": "state-controller",
|
|
1741
|
-
"reflect": false,
|
|
1742
|
-
"defaultValue": "\"{}\""
|
|
1743
|
-
},
|
|
1744
1694
|
"demoData": {
|
|
1745
1695
|
"type": "unknown",
|
|
1746
1696
|
"mutable": false,
|
|
@@ -1774,8 +1724,6 @@ export class TaxAndCashDashboard {
|
|
|
1774
1724
|
}; }
|
|
1775
1725
|
}
|
|
1776
1726
|
function useDemoTaxAndCashDashboard(props) {
|
|
1777
|
-
const states = parseStates(props.stateController);
|
|
1778
|
-
console.log({ states });
|
|
1779
1727
|
return deepmerge({
|
|
1780
1728
|
states: {
|
|
1781
1729
|
dateSubmitted: "today",
|
|
@@ -1783,23 +1731,16 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1783
1731
|
documentTypeString: "W9",
|
|
1784
1732
|
status: "ACTIVE",
|
|
1785
1733
|
country: "United States",
|
|
1786
|
-
indirectTaxNumber:
|
|
1734
|
+
indirectTaxNumber: 55555555,
|
|
1787
1735
|
indirectTaxType: "Indirect Tax",
|
|
1788
1736
|
noFormNeeded: true,
|
|
1789
1737
|
disabled: false,
|
|
1790
1738
|
loading: false,
|
|
1791
1739
|
showNewFormDialog: false,
|
|
1792
1740
|
hasHold: false,
|
|
1741
|
+
showVerifyIdentity: false,
|
|
1793
1742
|
payoutStatus: "DONE",
|
|
1794
1743
|
veriffLoading: false,
|
|
1795
|
-
canEditPayoutInfo: true,
|
|
1796
|
-
subRegion: "CA",
|
|
1797
|
-
subRegionTaxNumber: undefined,
|
|
1798
|
-
qstNumber: undefined,
|
|
1799
|
-
isBusinessEntity: false,
|
|
1800
|
-
province: undefined,
|
|
1801
|
-
notRegistered: false,
|
|
1802
|
-
loadingError: false,
|
|
1803
1744
|
},
|
|
1804
1745
|
callbacks: {
|
|
1805
1746
|
onClick: () => console.debug("check step"),
|
|
@@ -1809,5 +1750,5 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1809
1750
|
onVerifyClick: () => console.log("verify"),
|
|
1810
1751
|
},
|
|
1811
1752
|
text: props.getTextProps(),
|
|
1812
|
-
}, props.demoData ||
|
|
1753
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1813
1754
|
}
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -2,11 +2,11 @@ import { useLocale, useParentQueryValue, useSetParent, } from "@saasquatch/compo
|
|
|
2
2
|
import { useEffect, useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import { DateTime } from "luxon";
|
|
4
4
|
import { vatLabels } from "../countries";
|
|
5
|
-
import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
|
|
6
|
-
import { getStatus } from "../sqm-payout-status-alert/usePayoutStatus";
|
|
5
|
+
import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
7
6
|
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
8
|
-
import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
|
|
9
7
|
import { taxTypeToName } from "../utils";
|
|
8
|
+
import { getStatus } from "../sqm-payout-status-alert/usePayoutStatus";
|
|
9
|
+
import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
|
|
10
10
|
function getCountryName(countryCode, locale) {
|
|
11
11
|
if (!countryCode)
|
|
12
12
|
return undefined;
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { intl } from "../../../global/global";
|
|
3
3
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
4
|
-
|
|
5
|
-
import { FORM_STEPS } from "../data";
|
|
6
|
-
import { PHONE_EXTENSIONS } from "../phoneExtensions";
|
|
7
|
-
import LoadingView from "../sqm-tax-and-cash/LoadingView";
|
|
4
|
+
import { GeneralLoadingView } from "../TaxForm.stories";
|
|
5
|
+
import { FORM_STEPS } from "../sqm-tax-and-cash/data";
|
|
8
6
|
import { formatErrorMessage, validateBillingField } from "../utils";
|
|
7
|
+
import { PHONE_EXTENSIONS } from "../phoneExtensions";
|
|
9
8
|
const style = {
|
|
10
9
|
FormWrapper: {},
|
|
11
10
|
ErrorInput: {
|
|
@@ -323,7 +322,7 @@ export const UserInfoFormView = (props) => {
|
|
|
323
322
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
324
323
|
})),
|
|
325
324
|
h("br", null))),
|
|
326
|
-
states.loading ? (h(
|
|
325
|
+
states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
|
|
327
326
|
h("div", { class: classes.TextContainer },
|
|
328
327
|
h("div", null,
|
|
329
328
|
!states.hideSteps && (h("p", null, intl.formatMessage({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { isDemo, useSetParent } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
-
import { Component,
|
|
3
|
+
import { Component, Host, Prop, State, h } from "@stencil/core";
|
|
4
4
|
import deepmerge from "deepmerge";
|
|
5
|
-
import { parseStates } from "../../../utils/parseStates";
|
|
6
5
|
import { getProps } from "../../../utils/utils";
|
|
7
|
-
import { TAX_CONTEXT_NAMESPACE } from "../data";
|
|
6
|
+
import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
|
|
8
7
|
import { UserInfoFormView } from "./sqm-user-info-form-view";
|
|
9
8
|
import { useUserInfoForm } from "./useUserInfoForm";
|
|
10
9
|
/**
|
|
@@ -164,13 +163,6 @@ export class TaxForm {
|
|
|
164
163
|
* @uiName Support link text
|
|
165
164
|
*/
|
|
166
165
|
this.supportLink = "support team";
|
|
167
|
-
/**
|
|
168
|
-
* @uiName States
|
|
169
|
-
* @parentState { "parent": "sqm-tax-and-cash", "title": "Step 1" }
|
|
170
|
-
* @componentState { "title": "Errors", "props": { "states": { "loadingError": true, "formState": { "errors": { "email": true, "firstName": true, "lastName": true, "countryCode": true, "currency": true } } } } }
|
|
171
|
-
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
172
|
-
*/
|
|
173
|
-
this.stateController = "{}";
|
|
174
166
|
withHooks(this);
|
|
175
167
|
}
|
|
176
168
|
disconnectedCallback() { }
|
|
@@ -191,12 +183,13 @@ export class TaxForm {
|
|
|
191
183
|
}
|
|
192
184
|
render() {
|
|
193
185
|
const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
|
|
194
|
-
return (h(
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
186
|
+
return (h(Host, null,
|
|
187
|
+
h(UserInfoFormView, { data: props.data,
|
|
188
|
+
// @ts-ignore
|
|
189
|
+
states: props.states, callbacks: {
|
|
190
|
+
...props.callbacks,
|
|
191
|
+
onSubmit: props.onSubmit,
|
|
192
|
+
}, text: props.text, refs: props.refs })));
|
|
200
193
|
}
|
|
201
194
|
static get is() { return "sqm-user-info-form"; }
|
|
202
195
|
static get encapsulation() { return "shadow"; }
|
|
@@ -894,36 +887,6 @@ export class TaxForm {
|
|
|
894
887
|
"reflect": false,
|
|
895
888
|
"defaultValue": "\"support team\""
|
|
896
889
|
},
|
|
897
|
-
"stateController": {
|
|
898
|
-
"type": "string",
|
|
899
|
-
"mutable": false,
|
|
900
|
-
"complexType": {
|
|
901
|
-
"original": "string",
|
|
902
|
-
"resolved": "string",
|
|
903
|
-
"references": {}
|
|
904
|
-
},
|
|
905
|
-
"required": false,
|
|
906
|
-
"optional": false,
|
|
907
|
-
"docs": {
|
|
908
|
-
"tags": [{
|
|
909
|
-
"text": "States",
|
|
910
|
-
"name": "uiName"
|
|
911
|
-
}, {
|
|
912
|
-
"text": "{ \"parent\": \"sqm-tax-and-cash\", \"title\": \"Step 1\" }",
|
|
913
|
-
"name": "parentState"
|
|
914
|
-
}, {
|
|
915
|
-
"text": "{ \"title\": \"Errors\", \"props\": { \"states\": { \"loadingError\": true, \"formState\": { \"errors\": { \"email\": true, \"firstName\": true, \"lastName\": true, \"countryCode\": true, \"currency\": true } } } } }",
|
|
916
|
-
"name": "componentState"
|
|
917
|
-
}, {
|
|
918
|
-
"text": "{ \"title\": \"Loading\", \"props\": { \"states\": { \"loading\": true } } }",
|
|
919
|
-
"name": "componentState"
|
|
920
|
-
}],
|
|
921
|
-
"text": ""
|
|
922
|
-
},
|
|
923
|
-
"attribute": "state-controller",
|
|
924
|
-
"reflect": false,
|
|
925
|
-
"defaultValue": "\"{}\""
|
|
926
|
-
},
|
|
927
890
|
"demoData": {
|
|
928
891
|
"type": "unknown",
|
|
929
892
|
"mutable": false,
|
|
@@ -961,10 +924,9 @@ export class TaxForm {
|
|
|
961
924
|
}
|
|
962
925
|
function useDemoUserInfoForm(props) {
|
|
963
926
|
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
964
|
-
// @ts-ignore
|
|
965
927
|
return deepmerge({
|
|
966
928
|
setStep,
|
|
967
|
-
onSubmit:
|
|
929
|
+
onSubmit: () => {
|
|
968
930
|
setStep("/2");
|
|
969
931
|
},
|
|
970
932
|
onRadioClick: () => { },
|
|
@@ -1004,5 +966,5 @@ function useDemoUserInfoForm(props) {
|
|
|
1004
966
|
},
|
|
1005
967
|
},
|
|
1006
968
|
},
|
|
1007
|
-
}, props.demoData ||
|
|
969
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1008
970
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useParent, useParentQueryValue, useParentValue, } from "@saasquatch/component-boilerplate";
|
|
2
1
|
import { useEffect, useMemo, useRef, useState, } from "@saasquatch/universal-hooks";
|
|
3
2
|
import jsonpointer from "jsonpointer";
|
|
4
|
-
import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
|
|
5
|
-
import { ADDRESS_REGIONS } from "../subregions";
|
|
3
|
+
import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
6
4
|
import { objectIsFull } from "../utils";
|
|
5
|
+
import { useParent, useParentQueryValue, useParentValue, } from "@saasquatch/component-boilerplate";
|
|
6
|
+
import { ADDRESS_REGIONS } from "../subregions";
|
|
7
7
|
export function useUserInfoForm(props) {
|
|
8
8
|
var _a, _b, _c, _d;
|
|
9
9
|
const currencyRef = useRef(undefined);
|