@saasquatch/mint-components 1.15.0-4 → 1.15.0-41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-a9d0b798.js} +7 -7
- package/dist/cjs/IndirectTaxDetailsView-d0290a12.js +646 -0
- package/dist/cjs/{ShadowViewAddon-9e7916d8.js → ShadowViewAddon-9cb7a310.js} +1333 -1316
- package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-ee147291.js} +54 -39
- package/dist/cjs/data-6d96b89c.js +137 -0
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-dca94dc9.js} +2 -2
- package/dist/cjs/{global-0cf6d295.js → global-d62c5561.js} +308 -90
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +647 -2188
- package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1c5094d3.js} +2 -2
- package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_42.cjs.entry.js} +570 -115
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-b297e933.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-code-verification.cjs.entry.js +348 -0
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +49 -49
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6f35d2ee.js → sqm-navigation-sidebar-item-view-10b62df1.js} +18 -7
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +26 -3
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-38a5227a.js} +16 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +19 -3
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +86 -59
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-ab0fb983.js → sqm-portal-email-verification-view-156accab.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-fdd97c18.js} +24 -17
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +25 -4
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-0fbbda1b.js} +3 -3
- package/dist/cjs/{sqm-portal-profile-view-e3026b53.js → sqm-portal-profile-view-f226725e.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-399f4eaf.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-0439a9e5.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-05f72dec.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-7ee9fa56.js} +2 -7
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +111 -24
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +81 -15
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13717 -12395
- package/dist/cjs/sqm-tabs.cjs.entry.js +16 -4
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1221 -0
- package/dist/cjs/sqm-text-span-view-ce4c0178.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +4 -4
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -3
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +17 -6
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-feeac99b.js} +8 -5
- package/dist/cjs/utils-ce18d1bc.js +105 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +10 -0
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +7 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +58 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +2 -2
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +60 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +197 -32
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +27 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +17 -6
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +22 -15
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +95 -2
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +103 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +9 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +75 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +48 -15
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +60 -6
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +3 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +71 -5
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +53 -7
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +169 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +179 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +21 -17
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +83 -97
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +14 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +8 -2
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +138 -156
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
- package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
- package/dist/collection/components/sqm-text/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +100 -49
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +33 -3
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -6
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +20 -43
- 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/docusign-iframe/DocusignIframe.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +15 -42
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +3 -3
- 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 +57 -23
- 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-view.js +13 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- 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 +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
- 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-view.js +18 -18
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +62 -3
- 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 +173 -20
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +49 -11
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +53 -38
- package/dist/collection/components/views/email-registration-view.js +1 -1
- package/dist/collection/global/mixins.js +8 -8
- package/dist/collection/global/styles.js +308 -90
- package/dist/collection/global/styles.ts +321 -90
- package/dist/collection/tables/GenericTableView.js +6 -6
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-3b6f9ccc.js} +7 -7
- package/dist/esm/IndirectTaxDetailsView-3be86bcf.js +639 -0
- package/dist/esm/{ShadowViewAddon-e350d540.js → ShadowViewAddon-d8cfd6c7.js} +1336 -1318
- package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-4a207b17.js} +54 -39
- package/dist/esm/data-a05c78ae.js +121 -0
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-8782c01b.js} +2 -2
- package/dist/esm/{global-1d207c9e.js → global-632fb2fa.js} +308 -90
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +571 -2105
- package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +2 -2
- package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_42.entry.js} +574 -120
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-code-verification.entry.js +344 -0
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +49 -49
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-8f1c72bc.js → sqm-navigation-sidebar-item-view-6e046743.js} +18 -7
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +26 -3
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-f898265a.js} +16 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +20 -4
- package/dist/esm/sqm-pagination_3.entry.js +86 -59
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-24ea7b3c.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-55fc0873.js} +24 -17
- package/dist/esm/sqm-portal-forgot-password.entry.js +25 -4
- package/dist/esm/sqm-portal-google-login.entry.js +3 -3
- package/dist/esm/sqm-portal-google-registration-form.entry.js +4 -4
- package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-e870b4b0.js} +3 -3
- package/dist/esm/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-9b4d7ec1.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
- package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
- package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.js} +2 -7
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +111 -24
- package/dist/esm/sqm-referred-registration.entry.js +2 -2
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +81 -15
- package/dist/esm/sqm-stencilbook.entry.js +13715 -12393
- package/dist/esm/sqm-tabs.entry.js +16 -4
- package/dist/esm/sqm-tax-and-cash.entry.js +1217 -0
- package/dist/esm/sqm-text-span-view-cd3902e5.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +4 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +12 -4
- package/dist/esm/sqm-widget-verification.entry.js +17 -6
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-fed17fc9.js} +8 -5
- package/dist/esm/utils-1654e233.js +97 -0
- package/dist/esm-es5/GenericTableView-3b6f9ccc.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-3be86bcf.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-d8cfd6c7.js +1 -0
- package/dist/esm-es5/copy-text-view-4a207b17.js +1 -0
- package/dist/esm-es5/data-a05c78ae.js +1 -0
- package/dist/esm-es5/email-registration-view-8782c01b.js +1 -0
- package/dist/esm-es5/{global-1d207c9e.js → global-632fb2fa.js} +5 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- 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-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-84b3c539.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-6e046743.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-f898265a.js +1 -0
- 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-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-24ea7b3c.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 +1 -0
- 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-login-view-e870b4b0.js +1 -0
- package/dist/esm-es5/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-9b4d7ec1.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.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_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-cd3902e5.js +1 -0
- 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/{usePayoutStatus-58aa56b4.js → usePayoutStatus-fed17fc9.js} +2 -2
- package/dist/esm-es5/utils-1654e233.js +1 -0
- package/dist/mint-components/global/styles.ts +321 -90
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-042642d3.entry.js +1 -0
- package/dist/mint-components/{p-91ab3da1.js → p-057f5402.js} +1 -1
- package/dist/mint-components/p-06ce54e2.entry.js +258 -0
- package/dist/mint-components/p-0984523b.js +1 -0
- package/dist/mint-components/p-0a37a288.system.entry.js +1 -0
- package/dist/mint-components/p-0a8a6d45.system.entry.js +1 -0
- package/dist/mint-components/{p-d07f3090.entry.js → p-0b3218a5.entry.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-0df294ad.system.js} +1 -1
- package/dist/mint-components/p-0e32981f.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-11dff275.js} +2 -2
- package/dist/mint-components/{p-1673fae9.system.entry.js → p-12e61414.system.entry.js} +1 -1
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-155cf177.system.js +1 -0
- package/dist/mint-components/{p-15d77d0b.entry.js → p-1878da9b.entry.js} +2 -2
- package/dist/mint-components/{p-99ad7d56.system.js → p-223dd3f7.system.js} +1 -1
- package/dist/mint-components/p-2cfe9826.system.entry.js +1 -0
- package/dist/mint-components/p-2df6ce8f.entry.js +144 -0
- package/dist/mint-components/p-32a47b41.system.js +1 -0
- package/dist/mint-components/{p-9d3d4098.system.js → p-33f640f6.system.js} +1 -1
- package/dist/mint-components/p-3a21f8f9.system.entry.js +1 -0
- package/dist/mint-components/p-3c3aab4c.system.js +1 -0
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-3e4e74a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-164a9103.system.entry.js → p-41d051b1.system.entry.js} +1 -1
- package/dist/mint-components/{p-709e1799.system.entry.js → p-450a7705.system.entry.js} +1 -1
- package/dist/mint-components/{p-90fc6774.system.entry.js → p-457962b7.system.entry.js} +1 -1
- package/dist/mint-components/p-46a672e4.entry.js +1 -0
- package/dist/mint-components/p-4841c5e9.system.entry.js +1 -0
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/{p-380bfde1.entry.js → p-4b42b756.entry.js} +1 -1
- package/dist/mint-components/{p-2dca9e1a.system.js → p-4b9789a2.system.js} +1 -1
- package/dist/mint-components/p-4bb1c4b2.system.js +1 -0
- package/dist/mint-components/p-4cbd7eec.js +394 -0
- package/dist/mint-components/{p-f0772618.system.entry.js → p-4d478108.system.entry.js} +1 -1
- package/dist/mint-components/{p-b75bb6e3.system.js → p-505951d2.system.js} +1 -1
- package/dist/mint-components/{p-6df88590.system.entry.js → p-51aa8c38.system.entry.js} +1 -1
- package/dist/mint-components/p-52d15f87.system.js +1 -0
- package/dist/mint-components/p-54b0b768.system.js +1 -0
- package/dist/mint-components/p-5510be1e.system.entry.js +1 -0
- package/dist/mint-components/p-5c5964e0.js +1 -0
- package/dist/mint-components/p-5d407714.system.entry.js +1 -0
- package/dist/mint-components/{p-a2fde301.entry.js → p-5ef6de10.entry.js} +1 -1
- package/dist/mint-components/p-66a2b1a4.js +1 -0
- package/dist/mint-components/p-66d22d46.entry.js +13 -0
- package/dist/mint-components/p-674b82ac.js +1 -0
- package/dist/mint-components/p-6798cad1.system.js +1 -0
- package/dist/mint-components/{p-0c78815e.system.entry.js → p-6a49b077.system.entry.js} +1 -1
- package/dist/mint-components/{p-53730ffe.entry.js → p-6a5f57d7.entry.js} +1 -1
- package/dist/mint-components/p-6ef506ba.entry.js +16 -0
- package/dist/mint-components/{p-9cb06082.system.entry.js → p-6fa624ff.system.entry.js} +1 -1
- package/dist/mint-components/p-704f162e.entry.js +1 -0
- package/dist/mint-components/p-70fddbdd.entry.js +11 -0
- package/dist/mint-components/p-731d06a9.entry.js +1 -0
- package/dist/mint-components/p-74afdafb.system.js +1 -0
- package/dist/mint-components/p-767485b8.system.js +1 -0
- package/dist/mint-components/p-780b981b.entry.js +1 -0
- package/dist/mint-components/{p-fbac722b.js → p-7adb141e.js} +1 -1
- package/dist/mint-components/p-7b731acd.entry.js +93 -0
- package/dist/mint-components/{p-7a9290ba.js → p-82113e37.js} +1 -1
- package/dist/mint-components/{p-42187319.system.entry.js → p-846aff6a.system.entry.js} +1 -1
- package/dist/mint-components/p-84a78d09.entry.js +1 -0
- package/dist/mint-components/{p-0d2d0b6d.entry.js → p-865f812e.entry.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8feb4180.entry.js +1 -0
- package/dist/mint-components/{p-475245d1.system.js → p-96e339f6.system.js} +15 -15
- package/dist/mint-components/p-9711efb7.entry.js +1 -0
- package/dist/mint-components/{p-cc7af682.system.js → p-9721a29a.system.js} +2 -2
- package/dist/mint-components/p-9acf0b39.system.entry.js +1 -0
- package/dist/mint-components/p-9d41d676.system.entry.js +1 -0
- package/dist/mint-components/p-9f2edf59.system.js +1 -0
- package/dist/mint-components/p-a1e17fd2.js +1 -0
- package/dist/mint-components/p-a27a15c5.system.entry.js +1 -0
- package/dist/mint-components/{p-d929b9d5.system.js → p-a3383f54.system.js} +1 -1
- package/dist/mint-components/{p-4428294b.entry.js → p-a3e68251.entry.js} +1 -1
- package/dist/mint-components/p-a572db9b.system.entry.js +1 -0
- package/dist/mint-components/{p-7f80a9d7.entry.js → p-a60d5315.entry.js} +1 -1
- package/dist/mint-components/p-a91e7c05.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-af516659.system.entry.js} +1 -1
- package/dist/mint-components/p-b637f1e4.js +1 -0
- package/dist/mint-components/{p-2f101bae.entry.js → p-b6761073.entry.js} +1 -1
- package/dist/mint-components/{p-f1e72435.entry.js → p-b73a4df4.entry.js} +2 -2
- package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-bb6e411d.system.entry.js} +1 -1
- package/dist/mint-components/p-bdd80fce.js +1 -0
- package/dist/mint-components/p-be89074c.entry.js +1 -0
- package/dist/mint-components/p-c0b07067.system.js +1 -0
- package/dist/mint-components/p-c1b1f8ae.system.entry.js +1 -0
- package/dist/mint-components/p-c75a3b4a.js +103 -0
- package/dist/mint-components/{p-91959fbe.js → p-c96a25c6.js} +1 -1
- package/dist/mint-components/p-c9745c8f.system.js +1 -0
- package/dist/mint-components/p-ca9e0322.system.js +1 -0
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-cd0ee247.entry.js} +1 -1
- package/dist/mint-components/p-cf157c6e.system.entry.js +1 -0
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-d12e9cfd.system.entry.js} +1 -1
- package/dist/mint-components/{p-35b475bf.js → p-d1ae7a2d.js} +1 -1
- package/dist/mint-components/{p-5c28406d.system.entry.js → p-d5b3397c.system.entry.js} +1 -1
- package/dist/mint-components/p-d6352d15.js +1 -0
- package/dist/mint-components/p-d94a4d50.system.entry.js +1 -0
- package/dist/mint-components/p-da71337b.entry.js +1 -0
- package/dist/mint-components/{p-9b894557.entry.js → p-dbb83730.entry.js} +1 -1
- package/dist/mint-components/{p-6d4a313f.js → p-dc293b10.js} +81 -81
- package/dist/mint-components/p-de136dd3.js +1 -0
- package/dist/mint-components/{p-00ed4c2e.entry.js → p-df223bff.entry.js} +1 -1
- package/dist/mint-components/p-e1e62d55.entry.js +1 -0
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-e217afd9.system.entry.js} +1 -1
- package/dist/mint-components/{p-4794641c.system.js → p-e2705fbe.system.js} +1 -1
- package/dist/mint-components/p-e309a219.js +1 -0
- package/dist/mint-components/{p-f940190a.js → p-e518a60d.js} +1 -1
- package/dist/mint-components/p-e5d9e709.entry.js +13 -0
- package/dist/mint-components/p-eb998f7b.entry.js +9 -0
- package/dist/mint-components/p-f53f5304.system.entry.js +1 -0
- package/dist/mint-components/p-f8175201.system.js +1 -0
- package/dist/mint-components/p-fb13065a.js +1 -0
- package/dist/mint-components/p-fb584d7a.js +1 -0
- package/dist/mint-components/p-fbef4ecb.system.js +1 -0
- package/dist/mint-components/p-fda43e22.system.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +48 -7
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +7 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +20 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +15 -3
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +42 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +6 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +4 -5
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
- package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
- 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 +4 -0
- 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 +10 -4
- 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 +10 -0
- 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 +7 -0
- 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/views/copy-text-view.d.ts +5 -0
- package/dist/types/components.d.ts +1232 -35
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +6 -1
- package/dist/types/saasquatch.d.ts +61 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/sqm-invoice-table-view-dbf7a907.js +0 -2038
- package/dist/cjs/sqm-text-span-view-0aa82125.js +0 -62
- package/dist/esm/sqm-invoice-table-view-e0c9772a.js +0 -2022
- package/dist/esm/sqm-text-span-view-ca32495e.js +0 -60
- package/dist/esm-es5/GenericTableView-7b9087af.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-e350d540.js +0 -1
- package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
- package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
- package/dist/esm-es5/mixins-83f90fa1.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-e0c9772a.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
- package/dist/mint-components/p-091e7ca2.system.entry.js +0 -1
- package/dist/mint-components/p-0ebab63e.system.js +0 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-23379b5b.entry.js +0 -144
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-2bcd406c.system.js +0 -1
- package/dist/mint-components/p-2da21ba4.entry.js +0 -1
- package/dist/mint-components/p-31015791.js +0 -1
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-342bc70c.system.entry.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-3a31cc83.entry.js +0 -13
- package/dist/mint-components/p-3b90e01b.system.js +0 -1
- package/dist/mint-components/p-3ba1ab43.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-3f6e0197.system.entry.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-441b60ac.system.entry.js +0 -1
- package/dist/mint-components/p-492b70db.system.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-5bdafc7e.system.entry.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-626e9e84.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-6a97b51d.entry.js +0 -13
- package/dist/mint-components/p-716d0275.entry.js +0 -1
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-837a0fdd.js +0 -1
- package/dist/mint-components/p-85671c3d.system.entry.js +0 -1
- package/dist/mint-components/p-904ebcf6.system.entry.js +0 -1
- package/dist/mint-components/p-91521e9d.js +0 -1
- package/dist/mint-components/p-92816d1f.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-9db71c84.entry.js +0 -1
- package/dist/mint-components/p-aad32fb6.system.js +0 -1
- package/dist/mint-components/p-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-b2bf509e.entry.js +0 -9
- package/dist/mint-components/p-b33b7eb5.system.js +0 -1
- package/dist/mint-components/p-babcdb1f.system.entry.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-c3bfb9c3.entry.js +0 -258
- package/dist/mint-components/p-c8147def.js +0 -1
- package/dist/mint-components/p-c9f1dde7.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-dbcb5359.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-e07bc6c4.system.js +0 -1
- package/dist/mint-components/p-e41aac34.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-f3e2098c.js +0 -394
- package/dist/mint-components/p-f56bedd5.js +0 -1
- package/dist/mint-components/p-f71ae358.system.entry.js +0 -1
- package/dist/mint-components/p-f7c99803.system.js +0 -1
- package/dist/mint-components/p-f87ae19e.entry.js +0 -205
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -7,12 +7,12 @@ const style = {
|
|
|
7
7
|
display: "grid",
|
|
8
8
|
gridTemplateColumns: "1fr",
|
|
9
9
|
gridGap: "var(--sl-spacing-large)",
|
|
10
|
-
background: "
|
|
10
|
+
background: "inherit",
|
|
11
11
|
boxShadow: "0px 2px 4px rgba(28, 28, 33, 0.12)",
|
|
12
|
-
borderRadius: "
|
|
12
|
+
borderRadius: "var(--sqm-border-radius-normal)",
|
|
13
13
|
padding: "var(--sl-spacing-large)",
|
|
14
14
|
minHeight: "150px",
|
|
15
|
-
border: "1px solid var(--
|
|
15
|
+
border: "1px solid var(--sqm-border-color)",
|
|
16
16
|
maxWidth: "450px",
|
|
17
17
|
},
|
|
18
18
|
StatusContainer: {
|
|
@@ -22,7 +22,7 @@ const style = {
|
|
|
22
22
|
},
|
|
23
23
|
MainCurrencyLabel: {
|
|
24
24
|
fontWeight: "var(--sl-font-weight-normal)",
|
|
25
|
-
color: "var(--
|
|
25
|
+
color: "var(--sqm-text-subdued)",
|
|
26
26
|
},
|
|
27
27
|
MainCurrency: {
|
|
28
28
|
margin: 0,
|
|
@@ -31,12 +31,12 @@ const style = {
|
|
|
31
31
|
},
|
|
32
32
|
SubduedRegularText: {
|
|
33
33
|
fontSize: "var(--sl-font-size-small)",
|
|
34
|
-
color: "var(--
|
|
34
|
+
color: "var(--sqm-text-subdued)",
|
|
35
35
|
margin: 0,
|
|
36
36
|
width: "auto",
|
|
37
37
|
},
|
|
38
38
|
PaypalEmail: {
|
|
39
|
-
borderRight: "1px solid var(--
|
|
39
|
+
borderRight: "1px solid var(--sqm-border-color)",
|
|
40
40
|
paddingRight: "var(--sl-spacing-small)",
|
|
41
41
|
"@media (max-width: 499px)": {
|
|
42
42
|
borderRight: "none",
|
|
@@ -44,7 +44,7 @@ const style = {
|
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
PaypalDetailsContainer: {
|
|
47
|
-
color: "var(--
|
|
47
|
+
color: "var(--sqm-text-subdued)",
|
|
48
48
|
display: "flex",
|
|
49
49
|
gap: "var(--sl-spacing-small)",
|
|
50
50
|
justifyContent: "flex-start",
|
|
@@ -65,7 +65,7 @@ const style = {
|
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
AccountDetailsContainer: {
|
|
68
|
-
color: "var(--
|
|
68
|
+
color: "var(--sqm-text-subdued)",
|
|
69
69
|
display: "flex",
|
|
70
70
|
gap: "var(--sl-spacing-small)",
|
|
71
71
|
justifyContent: "flex-start",
|
|
@@ -78,7 +78,7 @@ const style = {
|
|
|
78
78
|
gap: "var(--sl-spacing-xx-small) var(--sl-spacing-small)",
|
|
79
79
|
paddingTop: "var(--sq-spacing-xx-small)",
|
|
80
80
|
"& > :not(:last-child)": {
|
|
81
|
-
borderRight: "1px solid var(--
|
|
81
|
+
borderRight: "1px solid var(--sqm-border-color)",
|
|
82
82
|
},
|
|
83
83
|
"& > :nth-child(3)": {
|
|
84
84
|
border: "none",
|
|
@@ -95,7 +95,7 @@ const style = {
|
|
|
95
95
|
},
|
|
96
96
|
W9Container: {
|
|
97
97
|
paddingTop: "var(--sl-spacing-large)",
|
|
98
|
-
borderTop: "1px solid var(--
|
|
98
|
+
borderTop: "1px solid var(--sqm-border-color)",
|
|
99
99
|
},
|
|
100
100
|
SkeletonOne: {
|
|
101
101
|
width: "25%",
|
|
@@ -111,15 +111,15 @@ const style = {
|
|
|
111
111
|
},
|
|
112
112
|
Alert: {
|
|
113
113
|
"&::part(base)": {
|
|
114
|
-
backgroundColor: "var(--
|
|
115
|
-
border: "1px solid var(--
|
|
114
|
+
backgroundColor: "var(--sqm-warning-color-background)",
|
|
115
|
+
border: "1px solid var(--sqm-warning-color-border)",
|
|
116
116
|
padding: "0 16px",
|
|
117
117
|
},
|
|
118
118
|
"& sl-icon": {
|
|
119
119
|
margin: 0,
|
|
120
120
|
},
|
|
121
121
|
"& sl-icon::part(base)": {
|
|
122
|
-
color: "var(--
|
|
122
|
+
color: "var(--sqm-warning-color-text)",
|
|
123
123
|
margin: 0,
|
|
124
124
|
},
|
|
125
125
|
},
|
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";
|
|
5
6
|
import { PayoutDetailsCardView } from "./sqm-payout-details-card-view";
|
|
6
7
|
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,6 +31,10 @@ 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 = "{}";
|
|
34
38
|
withHooks(this);
|
|
35
39
|
}
|
|
36
40
|
disconnectedCallback() { }
|
|
@@ -134,6 +138,27 @@ export class PayoutDetailsCard {
|
|
|
134
138
|
"reflect": false,
|
|
135
139
|
"defaultValue": "\"Missing banking information, go to Impact.com to resolve.\""
|
|
136
140
|
},
|
|
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
|
+
},
|
|
137
162
|
"demoData": {
|
|
138
163
|
"type": "unknown",
|
|
139
164
|
"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";
|
|
1
2
|
import { DateTime } from "luxon";
|
|
2
3
|
import { intl } from "../../../global/global";
|
|
3
|
-
import { USER_QUERY_NAMESPACE } from "../
|
|
4
|
-
import { useParentQueryValue } from "@saasquatch/component-boilerplate";
|
|
4
|
+
import { USER_QUERY_NAMESPACE } from "../data";
|
|
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,17 +23,20 @@ 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, _j, _k;
|
|
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 ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
30
|
+
if (((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.length) === 1 && ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("NEW_PAYEE_REVIEW"))) {
|
|
31
|
+
return "DONE";
|
|
32
|
+
}
|
|
33
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
31
34
|
return "VERIFICATION:REQUIRED";
|
|
32
|
-
if ((
|
|
35
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
33
36
|
return "VERIFICATION:INTERNAL";
|
|
34
|
-
if ((
|
|
37
|
+
if ((_j = account.holdReasons) === null || _j === void 0 ? void 0 : _j.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
35
38
|
return "VERIFICATION:REVIEW";
|
|
36
|
-
if ((
|
|
39
|
+
if ((_k = account.holdReasons) === null || _k === void 0 ? void 0 : _k.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
37
40
|
return "VERIFICATION:FAILED";
|
|
38
41
|
if (account.hold)
|
|
39
42
|
return "HOLD";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { isDemo, useParentState } from "@saasquatch/component-boilerplate";
|
|
1
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
2
3
|
import { Component, Prop, h } from "@stencil/core";
|
|
3
4
|
import deepmerge from "deepmerge";
|
|
5
|
+
import { parseStates } from "../../../utils/parseStates";
|
|
4
6
|
import { getProps } from "../../../utils/utils";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
+
import { TAX_CONTEXT_NAMESPACE } from "../data";
|
|
8
|
+
import { ErrorView } from "./ErrorView";
|
|
7
9
|
import { extractProps } from "./extractProps";
|
|
10
|
+
import LoadingView from "./LoadingView";
|
|
8
11
|
import { useTaxAndCash } from "./useTaxAndCash";
|
|
9
|
-
import { isDemo, useParentState } from "@saasquatch/component-boilerplate";
|
|
10
|
-
import { ErrorView } from "./ErrorView";
|
|
11
12
|
/**
|
|
12
13
|
* @uiName Tax and Cash
|
|
13
14
|
* @exampleGroup Tax and Cash
|
|
@@ -973,6 +974,15 @@ export class TaxAndCashMonolith {
|
|
|
973
974
|
* @uiGroup General Form Properties
|
|
974
975
|
*/
|
|
975
976
|
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 = "{}";
|
|
976
986
|
withHooks(this);
|
|
977
987
|
}
|
|
978
988
|
disconnectedCallback() { }
|
|
@@ -1017,21 +1027,23 @@ export class TaxAndCashMonolith {
|
|
|
1017
1027
|
h("hr", null)));
|
|
1018
1028
|
})));
|
|
1019
1029
|
}
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1030
|
+
const getStep = () => {
|
|
1031
|
+
switch (props.step) {
|
|
1032
|
+
case "/1":
|
|
1033
|
+
return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"), extractProps(props, "sqm-user-info-form_"))));
|
|
1034
|
+
case "/2":
|
|
1035
|
+
return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
|
|
1036
|
+
case "/3":
|
|
1037
|
+
return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
|
|
1038
|
+
case "/4":
|
|
1039
|
+
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1040
|
+
case "/dashboard":
|
|
1041
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), extractProps(props, "sqm-tax-and-cash-dashboard_"))));
|
|
1042
|
+
case "/error":
|
|
1043
|
+
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
|
|
1044
|
+
}
|
|
1045
|
+
};
|
|
1046
|
+
return getStep() || h(LoadingView, null);
|
|
1035
1047
|
}
|
|
1036
1048
|
static get is() { return "sqm-tax-and-cash"; }
|
|
1037
1049
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5014,20 +5026,55 @@ export class TaxAndCashMonolith {
|
|
|
5014
5026
|
"reflect": false,
|
|
5015
5027
|
"defaultValue": "\"support team\""
|
|
5016
5028
|
},
|
|
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
|
+
},
|
|
5017
5065
|
"demoData": {
|
|
5018
5066
|
"type": "unknown",
|
|
5019
5067
|
"mutable": false,
|
|
5020
5068
|
"complexType": {
|
|
5021
|
-
"original": "DemoData<
|
|
5022
|
-
"resolved": "{ loading?: boolean; setStep?: (value: string) => void; step?: string; context?: TaxContext; namespace?: string; }",
|
|
5069
|
+
"original": "DemoData<TaxAndCashMonolith>",
|
|
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; }",
|
|
5023
5071
|
"references": {
|
|
5024
5072
|
"DemoData": {
|
|
5025
5073
|
"location": "import",
|
|
5026
5074
|
"path": "../../../global/demo"
|
|
5027
5075
|
},
|
|
5028
|
-
"
|
|
5029
|
-
"location": "
|
|
5030
|
-
"path": "./useTaxAndCash"
|
|
5076
|
+
"TaxAndCashMonolith": {
|
|
5077
|
+
"location": "global"
|
|
5031
5078
|
}
|
|
5032
5079
|
}
|
|
5033
5080
|
},
|
|
@@ -5037,9 +5084,6 @@ export class TaxAndCashMonolith {
|
|
|
5037
5084
|
"tags": [{
|
|
5038
5085
|
"text": undefined,
|
|
5039
5086
|
"name": "undocumented"
|
|
5040
|
-
}, {
|
|
5041
|
-
"text": "object",
|
|
5042
|
-
"name": "uiType"
|
|
5043
5087
|
}],
|
|
5044
5088
|
"text": ""
|
|
5045
5089
|
}
|
|
@@ -5051,8 +5095,13 @@ function useDemoTaxAndCash(props) {
|
|
|
5051
5095
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
5052
5096
|
initialValue: "/1",
|
|
5053
5097
|
});
|
|
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] }, {});
|
|
5054
5103
|
return deepmerge({
|
|
5055
5104
|
step,
|
|
5056
5105
|
setStep,
|
|
5057
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
5106
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
5058
5107
|
}
|
|
@@ -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";
|
|
3
4
|
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)) {
|
|
@@ -4,21 +4,21 @@ import { createStyleSheet } from "../../../styling/JSS";
|
|
|
4
4
|
const style = {
|
|
5
5
|
ErrorAlertContainer: {
|
|
6
6
|
"&::part(base)": {
|
|
7
|
-
backgroundColor: "var(--
|
|
8
|
-
|
|
7
|
+
backgroundColor: "var(--sqm-danger-color-background)",
|
|
8
|
+
border: "none",
|
|
9
9
|
},
|
|
10
10
|
"& sl-icon::part(base)": {
|
|
11
|
-
color: "var(--
|
|
11
|
+
color: "var(--sqm-danger-color-text)",
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
14
|
WarningAlertContainer: {
|
|
15
15
|
"&::part(base)": {
|
|
16
|
-
backgroundColor: "var(--
|
|
17
|
-
|
|
16
|
+
backgroundColor: "var(--sqm-warning-color-background)",
|
|
17
|
+
border: "none",
|
|
18
18
|
maxWidth: "600px",
|
|
19
19
|
},
|
|
20
20
|
"& sl-icon::part(base)": {
|
|
21
|
-
color: "var(--
|
|
21
|
+
color: "var(--sqm-warning-color-text)",
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
WarningHoldAlertContainer: {
|
|
@@ -29,7 +29,7 @@ const style = {
|
|
|
29
29
|
backgroundColor: "transparent",
|
|
30
30
|
},
|
|
31
31
|
"& sl-icon::part(base)": {
|
|
32
|
-
color: "var(--
|
|
32
|
+
color: "var(--sqm-warning-color-text)",
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
ErrorHoldAlertContainer: {
|
|
@@ -40,13 +40,13 @@ const style = {
|
|
|
40
40
|
backgroundColor: "transparent",
|
|
41
41
|
},
|
|
42
42
|
"& sl-icon::part(base)": {
|
|
43
|
-
color: "var(--
|
|
43
|
+
color: "var(--sqm-danger-color-icon)",
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
ExpiringSoonAlertContainer: {
|
|
47
47
|
"&::part(base)": {
|
|
48
|
-
backgroundColor: "var(--
|
|
49
|
-
|
|
48
|
+
backgroundColor: "var(--sqm-warning-color-background)",
|
|
49
|
+
border: "none",
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
52
|
BankingInformationContainer: {
|
|
@@ -54,7 +54,7 @@ const style = {
|
|
|
54
54
|
},
|
|
55
55
|
IndirectTaxPreviewContainer: {
|
|
56
56
|
marginTop: "var(--sl-spacing-x-large)",
|
|
57
|
-
borderTop: "1px solid var(--
|
|
57
|
+
borderTop: "1px solid var(--sqm-border-color)",
|
|
58
58
|
},
|
|
59
59
|
IndirectTaxPreviewHeaderContainer: {
|
|
60
60
|
marginTop: "var(--sl-spacing-large)",
|
|
@@ -63,7 +63,7 @@ const style = {
|
|
|
63
63
|
display: "flex",
|
|
64
64
|
gap: "var(--sl-spacing-x-small)",
|
|
65
65
|
"&::part(base)": {
|
|
66
|
-
color: "var(--
|
|
66
|
+
color: "var(--sqm-success-color-text)",
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
69
|
IndirectTaxPreviewDetails: {
|
|
@@ -77,11 +77,11 @@ const style = {
|
|
|
77
77
|
marginTop: "var(--sl-spacing-medium)",
|
|
78
78
|
},
|
|
79
79
|
NotRegisteredIndirectTaxText: {
|
|
80
|
-
color: "var(--
|
|
80
|
+
color: "var(--sqm-text-subdued)",
|
|
81
81
|
},
|
|
82
82
|
TaxDocumentsContainer: {
|
|
83
83
|
marginTop: "var(--sl-spacing-xx-large)",
|
|
84
|
-
borderTop: "1px solid var(--
|
|
84
|
+
borderTop: "1px solid var(--sqm-border-color)",
|
|
85
85
|
},
|
|
86
86
|
TaxDocumentsSectionHeaderContainer: {
|
|
87
87
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -98,7 +98,7 @@ const style = {
|
|
|
98
98
|
"& p": {
|
|
99
99
|
margin: "0",
|
|
100
100
|
paddingTop: "2px",
|
|
101
|
-
color: "var(--
|
|
101
|
+
color: "var(--sqm-text-subdued)",
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
104
|
StatusAlert: {
|
|
@@ -133,7 +133,7 @@ const style = {
|
|
|
133
133
|
},
|
|
134
134
|
TaxDocSubtext: {
|
|
135
135
|
margin: "0",
|
|
136
|
-
color: "var(--
|
|
136
|
+
color: "var(--sqm-text-subdued)",
|
|
137
137
|
lineHeight: "var(--sl-spacing-medium)",
|
|
138
138
|
fontSize: "var(--sl-font-size-small)",
|
|
139
139
|
marginLeft: "1px",
|
|
@@ -154,13 +154,13 @@ const style = {
|
|
|
154
154
|
gap: "6px",
|
|
155
155
|
},
|
|
156
156
|
DescriptionText: {
|
|
157
|
-
color: "var(--
|
|
157
|
+
color: "var(--sqm-text-subdued)",
|
|
158
158
|
fontSize: "var(--sl-font-size-x-small)",
|
|
159
159
|
marginBottom: "none",
|
|
160
160
|
maxWidth: "492px",
|
|
161
161
|
},
|
|
162
162
|
PageDescriptionText: {
|
|
163
|
-
color: "var(--
|
|
163
|
+
color: "var(--sqm-text-subdued)",
|
|
164
164
|
fontSize: "var(--sl-font-size-medium)",
|
|
165
165
|
marginTop: "0",
|
|
166
166
|
},
|
|
@@ -2,6 +2,7 @@ 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";
|
|
5
6
|
import { getProps } from "../../../utils/utils";
|
|
6
7
|
import { TaxAndCashDashboardView } from "./sqm-tax-and-cash-dashboard-view";
|
|
7
8
|
import { useTaxAndCashDashboard, } from "./useTaxAndCashDashboard";
|
|
@@ -314,6 +315,16 @@ export class TaxAndCashDashboard {
|
|
|
314
315
|
* @uiName Cancel button label
|
|
315
316
|
*/
|
|
316
317
|
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 = "{}";
|
|
317
328
|
withHooks(this);
|
|
318
329
|
}
|
|
319
330
|
disconnectedCallback() { }
|
|
@@ -1691,6 +1702,45 @@ export class TaxAndCashDashboard {
|
|
|
1691
1702
|
"reflect": false,
|
|
1692
1703
|
"defaultValue": "\"Cancel\""
|
|
1693
1704
|
},
|
|
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
|
+
},
|
|
1694
1744
|
"demoData": {
|
|
1695
1745
|
"type": "unknown",
|
|
1696
1746
|
"mutable": false,
|
|
@@ -1724,6 +1774,8 @@ export class TaxAndCashDashboard {
|
|
|
1724
1774
|
}; }
|
|
1725
1775
|
}
|
|
1726
1776
|
function useDemoTaxAndCashDashboard(props) {
|
|
1777
|
+
const states = parseStates(props.stateController);
|
|
1778
|
+
console.log({ states });
|
|
1727
1779
|
return deepmerge({
|
|
1728
1780
|
states: {
|
|
1729
1781
|
dateSubmitted: "today",
|
|
@@ -1731,16 +1783,23 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1731
1783
|
documentTypeString: "W9",
|
|
1732
1784
|
status: "ACTIVE",
|
|
1733
1785
|
country: "United States",
|
|
1734
|
-
indirectTaxNumber: 55555555,
|
|
1786
|
+
indirectTaxNumber: "55555555",
|
|
1735
1787
|
indirectTaxType: "Indirect Tax",
|
|
1736
1788
|
noFormNeeded: true,
|
|
1737
1789
|
disabled: false,
|
|
1738
1790
|
loading: false,
|
|
1739
1791
|
showNewFormDialog: false,
|
|
1740
1792
|
hasHold: false,
|
|
1741
|
-
showVerifyIdentity: false,
|
|
1742
1793
|
payoutStatus: "DONE",
|
|
1743
1794
|
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,
|
|
1744
1803
|
},
|
|
1745
1804
|
callbacks: {
|
|
1746
1805
|
onClick: () => console.debug("check step"),
|
|
@@ -1750,5 +1809,5 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1750
1809
|
onVerifyClick: () => console.log("verify"),
|
|
1751
1810
|
},
|
|
1752
1811
|
text: props.getTextProps(),
|
|
1753
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1812
|
+
}, props.demoData || states || {}, { arrayMerge: (_, a) => a });
|
|
1754
1813
|
}
|
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 "../
|
|
6
|
-
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
7
|
-
import { taxTypeToName } from "../utils";
|
|
5
|
+
import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
|
|
8
6
|
import { getStatus } from "../sqm-payout-status-alert/usePayoutStatus";
|
|
7
|
+
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
9
8
|
import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
|
|
9
|
+
import { taxTypeToName } from "../utils";
|
|
10
10
|
function getCountryName(countryCode, locale) {
|
|
11
11
|
if (!countryCode)
|
|
12
12
|
return undefined;
|