@saasquatch/mint-components 2.5.0-2 → 2.5.0-4
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-4c48c630.js → GenericTableView-4633b8dc.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-331ac9e4.js → ShadowViewAddon-0b9f6c4e.js} +6 -6
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-a3f1ef93.js} +1 -1
- package/dist/cjs/{data-89ac73dd.js → data-04ef5511.js} +2 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +48 -34
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +55 -25
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +3 -3
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-partner-info-modal-view-431100ad.js → sqm-partner-info-modal-view-a0675259.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-6cc7ef05.js → sqm-portal-email-verification-view-a2a60c53.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-a767b044.js → sqm-portal-reset-password-view-6786bd86.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +6 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +80 -13
- package/dist/cjs/{sqm-user-info-form-view-c5f9b79b.js → sqm-user-info-form-view-fd5fb0a5.js} +52 -49
- package/dist/cjs/{subregions-3d27e279.js → subregions-d12829d6.js} +28 -0
- package/dist/cjs/{useIndirectTaxForm-5211013b.js → useIndirectTaxForm-0969e194.js} +26 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -0
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +3 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +2 -2
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +7 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +3 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +8 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +3 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +8 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +5 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +9 -0
- package/dist/collection/components/sqm-image/sqm-image.js +2 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +3 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +5 -0
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +8 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +1 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +2 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +2 -0
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -0
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +2 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +4 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +2 -2
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +6 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +3 -0
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +2 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +5 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +9 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +1 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +6 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +9 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +3 -0
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +8 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +8 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +6 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +6 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +3 -3
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +8 -0
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +6 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +4 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +1 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +3 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +3 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +5 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +10 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +4 -0
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +3 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +5 -0
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +3 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +10 -0
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +5 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +2 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -0
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +1 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +6 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +5 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +19 -0
- package/dist/collection/components/tax-and-cash/data.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +5 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +25 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +13 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +10 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +7 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +24 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +56 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +25 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +70 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.js +11 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +45 -42
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +55 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +2 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +3 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +5 -0
- package/dist/collection/components/tax-and-cash/utils.js +26 -0
- package/dist/collection/components/views/copy-text-view.js +1 -1
- package/dist/collection/tables/GenericTableView.js +1 -1
- package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-6ed48a94.js} +1 -1
- package/dist/esm/{ShadowViewAddon-ae0cd8b9.js → ShadowViewAddon-821a1ab5.js} +6 -6
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-997fe4da.js} +1 -1
- package/dist/esm/{data-8698cbc6.js → data-0be04430.js} +2 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +48 -34
- package/dist/esm/sqm-big-stat_47.entry.js +55 -25
- package/dist/esm/sqm-email-verification_2.entry.js +3 -3
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/{sqm-partner-info-modal-view-34d4be5b.js → sqm-partner-info-modal-view-51cc2c1d.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-29ca7a13.js → sqm-portal-email-verification-view-bd5effa7.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f84c04cf.js → sqm-portal-reset-password-view-d4265b2e.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +6 -1
- package/dist/esm/sqm-stencilbook.entry.js +80 -13
- package/dist/esm/{sqm-user-info-form-view-ceb3917a.js → sqm-user-info-form-view-3ab5deb7.js} +52 -49
- package/dist/esm/{subregions-810a5c2d.js → subregions-98789b46.js} +27 -1
- package/dist/esm/{useIndirectTaxForm-4dc576f0.js → useIndirectTaxForm-bbe8779d.js} +26 -3
- package/dist/esm-es5/{GenericTableView-471a9386.js → GenericTableView-6ed48a94.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-821a1ab5.js +1 -0
- package/dist/esm-es5/{copy-text-view-87259b11.js → copy-text-view-997fe4da.js} +1 -1
- package/dist/esm-es5/data-0be04430.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-51cc2c1d.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification-view-bd5effa7.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-d4265b2e.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-3ab5deb7.js +1 -0
- package/dist/esm-es5/subregions-98789b46.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-bbe8779d.js +6 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-361e8a80.entry.js → p-053f896c.entry.js} +1 -1
- package/dist/mint-components/p-07b989a3.system.js +6 -0
- package/dist/mint-components/p-0bb88089.system.js +1 -0
- package/dist/mint-components/{p-c51ea96f.system.entry.js → p-0eec70ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-54c03a3e.entry.js → p-138b893b.entry.js} +1 -1
- package/dist/mint-components/p-139c9583.system.entry.js +1 -0
- package/dist/mint-components/{p-b69dbed8.system.js → p-1874fa92.system.js} +1 -1
- package/dist/mint-components/p-227ca8d4.system.js +1 -0
- package/dist/mint-components/p-3916d72c.entry.js +83 -0
- package/dist/mint-components/p-3c46c0bc.js +1 -0
- package/dist/mint-components/p-406e6f3d.js +1 -0
- package/dist/mint-components/p-4236a9e4.js +1 -0
- package/dist/mint-components/{p-7468e5b8.entry.js → p-4c79a3a2.entry.js} +2 -2
- package/dist/mint-components/{p-97b8073f.system.js → p-4d0de6f7.system.js} +1 -1
- package/dist/mint-components/p-53575d04.js +1 -0
- package/dist/mint-components/{p-d276468c.js → p-543f6913.js} +1 -1
- package/dist/mint-components/{p-fa85ea51.system.entry.js → p-5486d4fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-84495fb8.entry.js → p-593237b3.entry.js} +1 -1
- package/dist/mint-components/{p-3ada35f5.entry.js → p-63a157dc.entry.js} +1 -1
- package/dist/mint-components/{p-05466678.entry.js → p-7a9bbc7b.entry.js} +3 -3
- package/dist/mint-components/{p-5c52100b.js → p-7aa89fa8.js} +2 -0
- package/dist/mint-components/p-7ebb54b5.system.entry.js +1 -0
- package/dist/mint-components/{p-abf7c765.system.entry.js → p-80c9fe93.system.entry.js} +1 -1
- package/dist/mint-components/p-811f0ad3.system.js +1 -0
- package/dist/mint-components/p-817f065b.system.js +1 -0
- package/dist/mint-components/{p-dc196a22.system.entry.js → p-824cd0fa.system.entry.js} +1 -1
- package/dist/mint-components/p-826e3db0.system.js +1 -0
- package/dist/mint-components/{p-381af581.js → p-83a53576.js} +1 -1
- package/dist/mint-components/p-965fda2e.system.entry.js +1 -0
- package/dist/mint-components/p-9eff1572.system.js +1 -0
- package/dist/mint-components/{p-d870d624.system.entry.js → p-af869409.system.entry.js} +1 -1
- package/dist/mint-components/p-b1a644d9.system.js +1 -0
- package/dist/mint-components/p-b1feb0f1.js +108 -0
- package/dist/mint-components/p-b79bdbf9.js +499 -0
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/{p-8bdabf61.entry.js → p-cc5080a3.entry.js} +2 -2
- package/dist/mint-components/{p-ee6700a3.system.entry.js → p-de89f645.system.entry.js} +1 -1
- package/dist/mint-components/{p-714bf981.entry.js → p-f11a39b4.entry.js} +1 -1
- package/dist/mint-components/p-f2e2ef27.js +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +3 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +7 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -0
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +8 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +3 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +8 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +5 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +9 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +2 -0
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +3 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +5 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -1
- package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +8 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +2 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +2 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -0
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +2 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +4 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +6 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +3 -0
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +2 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +5 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +9 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +6 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +9 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +3 -0
- package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +3 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +8 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +6 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +6 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +8 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +6 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +4 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +3 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +3 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +5 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +10 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +3 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +4 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +5 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +3 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +10 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +5 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +6 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/data.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +13 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +5 -0
- package/dist/types/components/tax-and-cash/utils.d.ts +5 -1
- package/dist/types/components.d.ts +54 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-ae0cd8b9.js +0 -1
- package/dist/esm-es5/data-8698cbc6.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-34d4be5b.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-29ca7a13.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-f84c04cf.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-ceb3917a.js +0 -1
- package/dist/esm-es5/subregions-810a5c2d.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-4dc576f0.js +0 -6
- package/dist/mint-components/p-0ad64881.js +0 -101
- package/dist/mint-components/p-3d2fe16b.js +0 -499
- package/dist/mint-components/p-41e1547d.system.entry.js +0 -1
- package/dist/mint-components/p-4481f259.entry.js +0 -83
- package/dist/mint-components/p-6c31a79b.system.entry.js +0 -1
- package/dist/mint-components/p-6cd93ea3.system.js +0 -6
- package/dist/mint-components/p-765e3379.js +0 -1
- package/dist/mint-components/p-87f119f0.system.js +0 -1
- package/dist/mint-components/p-92f520c9.js +0 -1
- package/dist/mint-components/p-93f1e26a.system.entry.js +0 -1
- package/dist/mint-components/p-990e73ba.system.js +0 -1
- package/dist/mint-components/p-9c1f5317.system.js +0 -1
- package/dist/mint-components/p-9c982f7e.js +0 -1
- package/dist/mint-components/p-a4825ec2.system.js +0 -1
- package/dist/mint-components/p-ad90628d.system.js +0 -1
- package/dist/mint-components/p-aef2db59.system.js +0 -1
- package/dist/mint-components/p-b3ad957c.js +0 -1
- package/dist/mint-components/p-c36fedea.js +0 -1
- package/dist/mint-components/p-fd231c49.system.js +0 -1
|
@@ -11,13 +11,13 @@ require('./utils-6847bc06.js');
|
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./useReferralCodes-0f7948af.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
14
|
+
const copyTextView = require('./copy-text-view-a3f1ef93.js');
|
|
15
15
|
require('./sqm-text-span-view-b9e10f5d.js');
|
|
16
16
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-717d0633.js');
|
|
17
17
|
require('./AsYouType-d15caac8.js');
|
|
18
|
-
const subregions = require('./subregions-
|
|
18
|
+
const subregions = require('./subregions-d12829d6.js');
|
|
19
19
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-a45f7a52.js');
|
|
20
|
-
const GenericTableView = require('./GenericTableView-
|
|
20
|
+
const GenericTableView = require('./GenericTableView-4633b8dc.js');
|
|
21
21
|
require('./useChildElements-041127d7.js');
|
|
22
22
|
const luxon = require('./luxon-c1ad356a.js');
|
|
23
23
|
const sqmCloseButtonView = require('./sqm-close-button-view-e9f2a454.js');
|
|
@@ -29,18 +29,18 @@ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-67fd7934.js'
|
|
|
29
29
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-f330d641.js');
|
|
30
30
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-6616e3e0.js');
|
|
31
31
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-49b152dd.js');
|
|
32
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
32
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-a2a60c53.js');
|
|
33
33
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-a4ba4657.js');
|
|
34
34
|
require('./utilities-fcdb9504.js');
|
|
35
|
-
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-
|
|
35
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6786bd86.js');
|
|
36
36
|
require('./ErrorView-ee7b0f36.js');
|
|
37
37
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
38
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
38
|
+
const ShadowViewAddon = require('./ShadowViewAddon-0b9f6c4e.js');
|
|
39
39
|
const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
|
|
40
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
40
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-fd5fb0a5.js');
|
|
41
41
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-88de1b78.js');
|
|
42
|
-
require('./data-
|
|
43
|
-
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-
|
|
42
|
+
require('./data-04ef5511.js');
|
|
43
|
+
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-a0675259.js');
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -16586,6 +16586,8 @@ const defaultText = {
|
|
|
16586
16586
|
w9RequiredButtonText: "Submit W-9",
|
|
16587
16587
|
accountReviewHeader: "Your account is under review",
|
|
16588
16588
|
accountReviewDescription: "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.",
|
|
16589
|
+
balanceUnderThresholdHeader: "Your balance is under the minimum payout",
|
|
16590
|
+
balanceUnderThresholdDescription: "Your total balance is under {minPayoutAmount}, the minimum required for payout.",
|
|
16589
16591
|
paymentHoldOnChangeHeader: "We are reviewing your new payout settings",
|
|
16590
16592
|
paymentHoldOnChangeDescription: "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.",
|
|
16591
16593
|
beneficiaryNameInvalidHeader: "Your payment information does not match your tax form",
|
|
@@ -16613,9 +16615,10 @@ const defaultCallbacks$1 = {
|
|
|
16613
16615
|
onNewFormCancel: () => { },
|
|
16614
16616
|
onNewFormClick: () => { },
|
|
16615
16617
|
};
|
|
16616
|
-
const
|
|
16617
|
-
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: { states: { badgeStatus: "nextPayout" } } })),
|
|
16618
|
-
};
|
|
16618
|
+
const buildSlots = (cardStates = {}) => ({
|
|
16619
|
+
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: { states: { badgeStatus: "nextPayout", ...cardStates } } })),
|
|
16620
|
+
});
|
|
16621
|
+
const defaultSlots = buildSlots();
|
|
16619
16622
|
const baseStates = {
|
|
16620
16623
|
payoutStatus: "DONE",
|
|
16621
16624
|
veriffLoading: false,
|
|
@@ -16647,6 +16650,11 @@ const TaxFormRequired = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardVi
|
|
|
16647
16650
|
// ─── Payout hold statuses not in TaxForm.stories.tsx ─────────────────────────
|
|
16648
16651
|
const AccountUnderReview = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "NEW_PAYEE_REVIEW" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16649
16652
|
const PaymentHoldOnChange = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "PAYMENT_HOLD_ON_CHANGE" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16653
|
+
const BalanceUnderThreshold = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: {
|
|
16654
|
+
...baseStates,
|
|
16655
|
+
payoutStatus: "BALANCE_UNDER_THRESHOLD",
|
|
16656
|
+
minPayoutAmount: "USD50.00",
|
|
16657
|
+
}, text: defaultText, callbacks: defaultCallbacks$1, slots: buildSlots({ belowPayoutThreshold: true }) }));
|
|
16650
16658
|
const BeneficiaryNameInvalid = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BENEFICIARY_NAME_INVALID" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16651
16659
|
const BeneficiaryNameMismatch = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BENEFICIARY_NAME_MISMATCH" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16652
16660
|
const BankTaxNameMismatch = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BANK_TAX_NAME_MISMATCH" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
@@ -16678,6 +16686,7 @@ const TaxAndCashDashboardView = /*#__PURE__*/Object.freeze({
|
|
|
16678
16686
|
TaxFormRequired: TaxFormRequired,
|
|
16679
16687
|
AccountUnderReview: AccountUnderReview,
|
|
16680
16688
|
PaymentHoldOnChange: PaymentHoldOnChange,
|
|
16689
|
+
BalanceUnderThreshold: BalanceUnderThreshold,
|
|
16681
16690
|
BeneficiaryNameInvalid: BeneficiaryNameInvalid,
|
|
16682
16691
|
BeneficiaryNameMismatch: BeneficiaryNameMismatch,
|
|
16683
16692
|
BankTaxNameMismatch: BankTaxNameMismatch,
|
|
@@ -17905,6 +17914,25 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
17905
17914
|
},
|
|
17906
17915
|
} }));
|
|
17907
17916
|
};
|
|
17917
|
+
const TaxAndCashDashboardBalanceUnderThreshold = () => {
|
|
17918
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
17919
|
+
...dashboardProps,
|
|
17920
|
+
states: {
|
|
17921
|
+
payoutStatus: "BALANCE_UNDER_THRESHOLD",
|
|
17922
|
+
minPayoutAmount: "USD50.00",
|
|
17923
|
+
veriffLoading: false,
|
|
17924
|
+
canEditPayoutInfo: true,
|
|
17925
|
+
status: "ACTIVE",
|
|
17926
|
+
documentType: "W8BEN",
|
|
17927
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17928
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
17929
|
+
noFormNeeded: false,
|
|
17930
|
+
indirectTaxNumber: "123456",
|
|
17931
|
+
showNewFormDialog: false,
|
|
17932
|
+
hasHold: false,
|
|
17933
|
+
},
|
|
17934
|
+
} }));
|
|
17935
|
+
};
|
|
17908
17936
|
const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid = () => {
|
|
17909
17937
|
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
17910
17938
|
...dashboardProps,
|
|
@@ -18206,6 +18234,7 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
18206
18234
|
TaxAndCashDashboardW9ThresholdReached: TaxAndCashDashboardW9ThresholdReached,
|
|
18207
18235
|
TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
|
|
18208
18236
|
TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
|
|
18237
|
+
TaxAndCashDashboardBalanceUnderThreshold: TaxAndCashDashboardBalanceUnderThreshold,
|
|
18209
18238
|
TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid: TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid,
|
|
18210
18239
|
TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalidUS: TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalidUS,
|
|
18211
18240
|
TaxAndCashDashboardNoDocumentType: TaxAndCashDashboardNoDocumentType,
|
|
@@ -18252,6 +18281,31 @@ const ThresholdPayout = () => {
|
|
|
18252
18281
|
},
|
|
18253
18282
|
} }));
|
|
18254
18283
|
};
|
|
18284
|
+
const BelowPayoutThresholdFixedDay = () => {
|
|
18285
|
+
return (index.h("sqm-payout-details-card", { demoData: {
|
|
18286
|
+
states: {
|
|
18287
|
+
badgeStatus: "nextPayout",
|
|
18288
|
+
belowPayoutThreshold: true,
|
|
18289
|
+
},
|
|
18290
|
+
} }));
|
|
18291
|
+
};
|
|
18292
|
+
const BelowPayoutThresholdPayoutToday = () => {
|
|
18293
|
+
return (index.h("sqm-payout-details-card", { demoData: {
|
|
18294
|
+
states: {
|
|
18295
|
+
badgeStatus: "payoutToday",
|
|
18296
|
+
belowPayoutThreshold: true,
|
|
18297
|
+
},
|
|
18298
|
+
} }));
|
|
18299
|
+
};
|
|
18300
|
+
const BelowPayoutThresholdBalanceThreshold = () => {
|
|
18301
|
+
return (index.h("sqm-payout-details-card", { demoData: {
|
|
18302
|
+
states: {
|
|
18303
|
+
thresholdBalance: "50 USD",
|
|
18304
|
+
badgeStatus: "thresholdPayout",
|
|
18305
|
+
belowPayoutThreshold: true,
|
|
18306
|
+
},
|
|
18307
|
+
} }));
|
|
18308
|
+
};
|
|
18255
18309
|
const PaypalPayout = () => {
|
|
18256
18310
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
18257
18311
|
states: {
|
|
@@ -18273,6 +18327,9 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
18273
18327
|
NextPayout: NextPayout,
|
|
18274
18328
|
PayoutToday: PayoutToday,
|
|
18275
18329
|
ThresholdPayout: ThresholdPayout,
|
|
18330
|
+
BelowPayoutThresholdFixedDay: BelowPayoutThresholdFixedDay,
|
|
18331
|
+
BelowPayoutThresholdPayoutToday: BelowPayoutThresholdPayoutToday,
|
|
18332
|
+
BelowPayoutThresholdBalanceThreshold: BelowPayoutThresholdBalanceThreshold,
|
|
18276
18333
|
PaypalPayout: PaypalPayout,
|
|
18277
18334
|
BadgeTextICUParsing: BadgeTextICUParsing
|
|
18278
18335
|
});
|
|
@@ -18308,6 +18365,13 @@ const Loading$e = () => (index.h("sqm-payout-status-alert", { demoData: { states
|
|
|
18308
18365
|
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, error: true } } }));
|
|
18309
18366
|
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "NEW_PAYEE_REVIEW" } } }));
|
|
18310
18367
|
const PaymentHoldOnChange$1 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
18368
|
+
const BalanceUnderThreshold$1 = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18369
|
+
states: {
|
|
18370
|
+
...defaultProps$s,
|
|
18371
|
+
status: "BALANCE_UNDER_THRESHOLD",
|
|
18372
|
+
minPayoutAmount: "USD50.00",
|
|
18373
|
+
},
|
|
18374
|
+
} }));
|
|
18311
18375
|
const BeneficiaryNameInvalid$1 = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18312
18376
|
states: { ...defaultProps$s, status: "BENEFICIARY_NAME_INVALID" },
|
|
18313
18377
|
} }));
|
|
@@ -18334,6 +18398,7 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
|
18334
18398
|
Error: Error$b,
|
|
18335
18399
|
NewPayeeReview: NewPayeeReview,
|
|
18336
18400
|
PaymentHoldOnChange: PaymentHoldOnChange$1,
|
|
18401
|
+
BalanceUnderThreshold: BalanceUnderThreshold$1,
|
|
18337
18402
|
BeneficiaryNameInvalid: BeneficiaryNameInvalid$1,
|
|
18338
18403
|
BeneficiaryNameMismatch: BeneficiaryNameMismatch$1,
|
|
18339
18404
|
BankTaxNameMismatch: BankTaxNameMismatch$1,
|
|
@@ -18934,7 +18999,9 @@ const mockPartnerData = {
|
|
|
18934
18999
|
payoutsAccount: {
|
|
18935
19000
|
hold: false,
|
|
18936
19001
|
holdReasons: [],
|
|
18937
|
-
balance: "0",
|
|
19002
|
+
balance: "$0.00",
|
|
19003
|
+
balanceAmount: 0,
|
|
19004
|
+
currencyCode: "USD",
|
|
18938
19005
|
},
|
|
18939
19006
|
};
|
|
18940
19007
|
const defaultText$1 = {
|
package/dist/cjs/{sqm-user-info-form-view-c5f9b79b.js → sqm-user-info-form-view-fd5fb0a5.js}
RENAMED
|
@@ -4,8 +4,8 @@ const index = require('./index-8277cbb3.js');
|
|
|
4
4
|
const global = require('./global-258c36b8.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const AsYouType = require('./AsYouType-d15caac8.js');
|
|
7
|
-
const subregions = require('./subregions-
|
|
8
|
-
const data = require('./data-
|
|
7
|
+
const subregions = require('./subregions-d12829d6.js');
|
|
8
|
+
const data = require('./data-04ef5511.js');
|
|
9
9
|
|
|
10
10
|
const style = {
|
|
11
11
|
Description: {
|
|
@@ -51,7 +51,7 @@ function InvoiceTableView(props, children) {
|
|
|
51
51
|
:host{
|
|
52
52
|
display: block;
|
|
53
53
|
}`;
|
|
54
|
-
return (index.h("div", { class: sheet.classes.Container },
|
|
54
|
+
return (index.h("div", { class: sheet.classes.Container, part: "sqm-table-container" },
|
|
55
55
|
index.h("style", { type: "text/css" },
|
|
56
56
|
vanillaStyle,
|
|
57
57
|
styleString),
|
|
@@ -61,6 +61,18 @@ function InvoiceTableView(props, children) {
|
|
|
61
61
|
children))));
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
const holdAlertContainer = (iconColor) => ({
|
|
65
|
+
marginLeft: "-20px",
|
|
66
|
+
"&::part(base)": {
|
|
67
|
+
maxWidth: "850px",
|
|
68
|
+
border: "none",
|
|
69
|
+
backgroundColor: "transparent",
|
|
70
|
+
color: "var(--sqm-text)",
|
|
71
|
+
},
|
|
72
|
+
"& sl-icon::part(base)": {
|
|
73
|
+
color: iconColor,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
64
76
|
const style$1 = {
|
|
65
77
|
ErrorAlertContainer: {
|
|
66
78
|
"&::part(base)": {
|
|
@@ -75,30 +87,9 @@ const style$1 = {
|
|
|
75
87
|
maxWidth: "600px",
|
|
76
88
|
},
|
|
77
89
|
},
|
|
78
|
-
WarningHoldAlertContainer:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
maxWidth: "850px",
|
|
82
|
-
border: "none",
|
|
83
|
-
backgroundColor: "transparent",
|
|
84
|
-
color: "var(--sqm-text)",
|
|
85
|
-
},
|
|
86
|
-
"& sl-icon::part(base)": {
|
|
87
|
-
color: "var(--sqm-warning-color-icon)",
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
ErrorHoldAlertContainer: {
|
|
91
|
-
marginLeft: "-20px",
|
|
92
|
-
"&::part(base)": {
|
|
93
|
-
maxWidth: "850px",
|
|
94
|
-
border: "none",
|
|
95
|
-
backgroundColor: "transparent",
|
|
96
|
-
color: "var(--sqm-text)",
|
|
97
|
-
},
|
|
98
|
-
"& sl-icon::part(base)": {
|
|
99
|
-
color: "var(--sqm-danger-color-icon)",
|
|
100
|
-
},
|
|
101
|
-
},
|
|
90
|
+
WarningHoldAlertContainer: holdAlertContainer("var(--sqm-warning-color-icon)"),
|
|
91
|
+
ErrorHoldAlertContainer: holdAlertContainer("var(--sqm-danger-color-icon)"),
|
|
92
|
+
InfoHoldAlertContainer: holdAlertContainer("var(--sqm-informative-color-icon)"),
|
|
102
93
|
ExpiringSoonAlertContainer: {
|
|
103
94
|
"&::part(base)": {
|
|
104
95
|
backgroundColor: "var(--sl-color-yellow-100)",
|
|
@@ -358,7 +349,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
358
349
|
id: "payoutHoldAlertDescription",
|
|
359
350
|
defaultMessage: text.payoutHoldAlertDescription,
|
|
360
351
|
}, {
|
|
361
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
352
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
362
353
|
}),
|
|
363
354
|
buttonText: null,
|
|
364
355
|
alertType: "warning",
|
|
@@ -373,7 +364,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
373
364
|
id: "verificationRequiredDescription",
|
|
374
365
|
defaultMessage: text.verificationRequiredDescription,
|
|
375
366
|
}, {
|
|
376
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
367
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
377
368
|
}),
|
|
378
369
|
buttonText: text.verificationRequiredButtonText,
|
|
379
370
|
alertType: "warning",
|
|
@@ -387,7 +378,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
387
378
|
id: "verificationRequiredInternalDescription",
|
|
388
379
|
defaultMessage: text.verificationRequiredInternalDescription,
|
|
389
380
|
}, {
|
|
390
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
381
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
391
382
|
}),
|
|
392
383
|
alertType: "warning",
|
|
393
384
|
icon: "exclamation-triangle",
|
|
@@ -400,7 +391,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
400
391
|
id: "verificationReviewInternalDescription",
|
|
401
392
|
defaultMessage: text.verificationReviewInternalDescription,
|
|
402
393
|
}, {
|
|
403
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
394
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
404
395
|
}),
|
|
405
396
|
alertType: "warning",
|
|
406
397
|
icon: "exclamation-triangle",
|
|
@@ -413,7 +404,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
413
404
|
id: "verificationFailedInternalDescription",
|
|
414
405
|
defaultMessage: text.verificationFailedInternalDescription,
|
|
415
406
|
}, {
|
|
416
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
407
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
417
408
|
}),
|
|
418
409
|
alertType: "error",
|
|
419
410
|
icon: "exclamation-octagon",
|
|
@@ -426,13 +417,25 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
426
417
|
id: "accountReviewDescription",
|
|
427
418
|
defaultMessage: text.accountReviewDescription,
|
|
428
419
|
}, {
|
|
429
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
420
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
430
421
|
}),
|
|
431
422
|
buttonText: null,
|
|
432
423
|
alertType: "warning",
|
|
433
424
|
icon: "exclamation-triangle",
|
|
434
425
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
435
426
|
};
|
|
427
|
+
case "BALANCE_UNDER_THRESHOLD":
|
|
428
|
+
return {
|
|
429
|
+
header: text.balanceUnderThresholdHeader,
|
|
430
|
+
description: global.intl.formatMessage({
|
|
431
|
+
id: "balanceUnderThresholdDescription",
|
|
432
|
+
defaultMessage: text.balanceUnderThresholdDescription,
|
|
433
|
+
}, { minPayoutAmount: states.minPayoutAmount }),
|
|
434
|
+
buttonText: null,
|
|
435
|
+
alertType: "info",
|
|
436
|
+
icon: "info-circle",
|
|
437
|
+
class: sheet.classes.InfoHoldAlertContainer,
|
|
438
|
+
};
|
|
436
439
|
case "PAYMENT_HOLD_ON_CHANGE":
|
|
437
440
|
return {
|
|
438
441
|
header: text.paymentHoldOnChangeHeader,
|
|
@@ -440,7 +443,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
440
443
|
id: "accountReviewDescription",
|
|
441
444
|
defaultMessage: text.paymentHoldOnChangeDescription,
|
|
442
445
|
}, {
|
|
443
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
446
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
444
447
|
}),
|
|
445
448
|
buttonText: null,
|
|
446
449
|
alertType: "warning",
|
|
@@ -454,7 +457,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
454
457
|
id: "accountReviewDescription",
|
|
455
458
|
defaultMessage: text.beneficiaryNameInvalidDescription,
|
|
456
459
|
}, {
|
|
457
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
460
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
458
461
|
}),
|
|
459
462
|
button: (index.h("div", { class: sheet.classes.ButtonContainer },
|
|
460
463
|
index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -470,7 +473,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
470
473
|
id: "accountReviewDescription",
|
|
471
474
|
defaultMessage: text.beneficiaryNameMismatchDescription,
|
|
472
475
|
}, {
|
|
473
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
476
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
474
477
|
}),
|
|
475
478
|
button: (index.h("div", { class: sheet.classes.ButtonContainer },
|
|
476
479
|
index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -486,7 +489,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
486
489
|
id: "accountReviewDescription",
|
|
487
490
|
defaultMessage: text.bankTaxNameMismatchDescription,
|
|
488
491
|
}, {
|
|
489
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
492
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
490
493
|
}),
|
|
491
494
|
button: (index.h("div", { class: sheet.classes.ButtonContainer },
|
|
492
495
|
index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -502,7 +505,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
502
505
|
id: "accountReviewDescription",
|
|
503
506
|
defaultMessage: text.withdrawalSettingsInvalidDescription,
|
|
504
507
|
}, {
|
|
505
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
508
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
506
509
|
}),
|
|
507
510
|
button: (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
508
511
|
alertType: "warning",
|
|
@@ -516,7 +519,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
516
519
|
id: "accountReviewDescription",
|
|
517
520
|
defaultMessage: text.paymentReturnedDescription,
|
|
518
521
|
}, {
|
|
519
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
522
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
520
523
|
}),
|
|
521
524
|
button: (index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
522
525
|
alertType: "error",
|
|
@@ -530,7 +533,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
530
533
|
id: "payoutHoldAlertDescription",
|
|
531
534
|
defaultMessage: text.payoutHoldAlertDescription,
|
|
532
535
|
}, {
|
|
533
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
536
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
534
537
|
}),
|
|
535
538
|
buttonText: null,
|
|
536
539
|
alertType: "warning",
|
|
@@ -651,7 +654,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
651
654
|
};
|
|
652
655
|
};
|
|
653
656
|
return (index.h("div", null,
|
|
654
|
-
index.h("div",
|
|
657
|
+
index.h("div", { part: "dashboard-container" },
|
|
655
658
|
index.h("style", { type: "text/css" },
|
|
656
659
|
styleString,
|
|
657
660
|
vanillaStyle),
|
|
@@ -664,7 +667,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
664
667
|
id: "loadingErrorAlertDescription",
|
|
665
668
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
666
669
|
}, {
|
|
667
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
670
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
668
671
|
})))),
|
|
669
672
|
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet.classes.ErrorAlertContainer },
|
|
670
673
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
@@ -674,7 +677,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
674
677
|
id: "generalDescription",
|
|
675
678
|
defaultMessage: text.error.generalDescription,
|
|
676
679
|
}, {
|
|
677
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
680
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
678
681
|
}))),
|
|
679
682
|
alertInfo && (index.h("sqm-form-message", { loading: states.loading, exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
|
|
680
683
|
index.h("strong", null, alertInfo.header),
|
|
@@ -723,14 +726,14 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
723
726
|
id: "indirectTaxTooltipSupport",
|
|
724
727
|
defaultMessage: text.indirectTaxTooltipSupport,
|
|
725
728
|
}, {
|
|
726
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, class: sheet.classes.DropdownLink }, text.supportLink)),
|
|
729
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com`, class: sheet.classes.DropdownLink }, text.supportLink)),
|
|
727
730
|
})))),
|
|
728
731
|
index.h("div", { class: sheet.classes.IndirectTaxPreviewDetails },
|
|
729
732
|
index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet.classes.NotRegisteredIndirectTaxText }, global.intl.formatMessage({
|
|
730
733
|
id: "notRegisteredForTax",
|
|
731
734
|
defaultMessage: text.notRegisteredForTax,
|
|
732
735
|
}, {
|
|
733
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
736
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
734
737
|
}))) : (getIndirectTaxRegisteredIn())),
|
|
735
738
|
!states.notRegistered && (index.h("div", { class: sheet.classes.TaxNumberContainer },
|
|
736
739
|
index.h("span", null, global.intl.formatMessage({
|
|
@@ -2257,7 +2260,7 @@ const UserInfoFormView = (props) => {
|
|
|
2257
2260
|
var _a;
|
|
2258
2261
|
return states.isUser && !!((_a = data$1.userData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
2259
2262
|
}
|
|
2260
|
-
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2263
|
+
return (index.h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2261
2264
|
index.h("style", { type: "text/css" },
|
|
2262
2265
|
styleString$2,
|
|
2263
2266
|
vanillaStyle$2),
|
|
@@ -2268,7 +2271,7 @@ const UserInfoFormView = (props) => {
|
|
|
2268
2271
|
id: "loadingErrorAlertDescription",
|
|
2269
2272
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2270
2273
|
}, {
|
|
2271
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2274
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2272
2275
|
}))))),
|
|
2273
2276
|
states.loading ? (index.h(subregions.LoadingView, null)) : (index.h("div", null,
|
|
2274
2277
|
index.h("div", { class: classes.TextContainer },
|
|
@@ -2285,7 +2288,7 @@ const UserInfoFormView = (props) => {
|
|
|
2285
2288
|
id: "generalDescription",
|
|
2286
2289
|
defaultMessage: text.error.generalDescription,
|
|
2287
2290
|
}, {
|
|
2288
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2291
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2289
2292
|
})))),
|
|
2290
2293
|
(states.isPartnerLegacy || states.isUserLegacy) && (index.h("sqm-form-message", { loading: states.loading, type: "info" },
|
|
2291
2294
|
index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -2293,7 +2296,7 @@ const UserInfoFormView = (props) => {
|
|
|
2293
2296
|
id: "isPartnerAlertDescription",
|
|
2294
2297
|
defaultMessage: text.isPartnerAlertDescription,
|
|
2295
2298
|
}, {
|
|
2296
|
-
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2299
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2297
2300
|
})))),
|
|
2298
2301
|
index.h("div", null,
|
|
2299
2302
|
index.h("div", { class: classes.InputContainer },
|
|
@@ -635,6 +635,32 @@ function getCountryObj({ countryCode, locale, }) {
|
|
|
635
635
|
displayName,
|
|
636
636
|
};
|
|
637
637
|
}
|
|
638
|
+
/** The minimum balance Impact requires before it will issue a payout, e.g. "USD50.00". */
|
|
639
|
+
function formatPayoutThreshold(publisher) {
|
|
640
|
+
var _a, _b;
|
|
641
|
+
const threshold = (_a = publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) === null || _a === void 0 ? void 0 : _a.paymentThreshold;
|
|
642
|
+
if (!threshold)
|
|
643
|
+
return undefined;
|
|
644
|
+
return `${(_b = publisher === null || publisher === void 0 ? void 0 : publisher.currency) !== null && _b !== void 0 ? _b : ""}${threshold}`;
|
|
645
|
+
}
|
|
646
|
+
/** `payoutsAccount.balance` is a formatted string; only `balanceAmount` (minor units) is comparable. */
|
|
647
|
+
function isBalanceUnderPayoutThreshold(publisher) {
|
|
648
|
+
var _a;
|
|
649
|
+
const rawThreshold = (_a = publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) === null || _a === void 0 ? void 0 : _a.paymentThreshold;
|
|
650
|
+
const account = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount;
|
|
651
|
+
if (!rawThreshold || !account)
|
|
652
|
+
return false;
|
|
653
|
+
const threshold = Number(rawThreshold);
|
|
654
|
+
if (!Number.isFinite(threshold) || !Number.isFinite(account.balanceAmount))
|
|
655
|
+
return false;
|
|
656
|
+
const currency = account.currencyCode || (publisher === null || publisher === void 0 ? void 0 : publisher.currency);
|
|
657
|
+
if (!currency)
|
|
658
|
+
return false;
|
|
659
|
+
const scale = 10 **
|
|
660
|
+
new Intl.NumberFormat("en-US", { style: "currency", currency })
|
|
661
|
+
.resolvedOptions().maximumFractionDigits;
|
|
662
|
+
return account.balanceAmount < Math.round(threshold * scale);
|
|
663
|
+
}
|
|
638
664
|
|
|
639
665
|
const style = {
|
|
640
666
|
Container: {
|
|
@@ -1059,7 +1085,9 @@ exports.INDIRECT_TAX_PROVINCES = INDIRECT_TAX_PROVINCES;
|
|
|
1059
1085
|
exports.INDIRECT_TAX_SPAIN_REGIONS = INDIRECT_TAX_SPAIN_REGIONS;
|
|
1060
1086
|
exports.LoadingView = LoadingView;
|
|
1061
1087
|
exports.formatErrorMessage = formatErrorMessage;
|
|
1088
|
+
exports.formatPayoutThreshold = formatPayoutThreshold;
|
|
1062
1089
|
exports.getCountryObj = getCountryObj;
|
|
1090
|
+
exports.isBalanceUnderPayoutThreshold = isBalanceUnderPayoutThreshold;
|
|
1063
1091
|
exports.isValidI18nPhoneNumber = isValidI18nPhoneNumber;
|
|
1064
1092
|
exports.objectIsFull = objectIsFull;
|
|
1065
1093
|
exports.taxTypeToName = taxTypeToName;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
4
4
|
const index_module = require('./index.module-f8c8495f.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const subregions = require('./subregions-
|
|
7
|
-
const data = require('./data-
|
|
6
|
+
const subregions = require('./subregions-d12829d6.js');
|
|
7
|
+
const data = require('./data-04ef5511.js');
|
|
8
8
|
const eventKeys = require('./eventKeys-7af4df4d.js');
|
|
9
9
|
|
|
10
10
|
var toArray = function toArray(a) {
|
|
@@ -977,9 +977,16 @@ const GET_USER_STATUS = index_module.dist.gql `
|
|
|
977
977
|
connected
|
|
978
978
|
publisher {
|
|
979
979
|
id
|
|
980
|
+
currency
|
|
981
|
+
withdrawalSettings {
|
|
982
|
+
paymentThreshold
|
|
983
|
+
}
|
|
980
984
|
payoutsAccount {
|
|
981
985
|
hold
|
|
982
986
|
holdReasons
|
|
987
|
+
balance
|
|
988
|
+
balanceAmount
|
|
989
|
+
currencyCode
|
|
983
990
|
}
|
|
984
991
|
}
|
|
985
992
|
}
|
|
@@ -1006,7 +1013,22 @@ const GET_TAX_SETTING = index_module.dist.gql `
|
|
|
1006
1013
|
}
|
|
1007
1014
|
}
|
|
1008
1015
|
`;
|
|
1016
|
+
/** Transient holds that clear automatically, so a balance under the minimum explains the wait better. */
|
|
1017
|
+
const DISPLACEABLE_STATUSES = [
|
|
1018
|
+
"DONE",
|
|
1019
|
+
"NEW_PAYEE_REVIEW",
|
|
1020
|
+
"PAYMENT_HOLD_ON_CHANGE",
|
|
1021
|
+
];
|
|
1009
1022
|
function getStatus(data) {
|
|
1023
|
+
var _a;
|
|
1024
|
+
const status = getHoldStatus(data);
|
|
1025
|
+
const publisher = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher;
|
|
1026
|
+
return DISPLACEABLE_STATUSES.includes(status) &&
|
|
1027
|
+
subregions.isBalanceUnderPayoutThreshold(publisher)
|
|
1028
|
+
? "BALANCE_UNDER_THRESHOLD"
|
|
1029
|
+
: status;
|
|
1030
|
+
}
|
|
1031
|
+
function getHoldStatus(data) {
|
|
1010
1032
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
1011
1033
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
1012
1034
|
const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => {
|
|
@@ -1049,7 +1071,7 @@ function getStatus(data) {
|
|
|
1049
1071
|
return "DONE";
|
|
1050
1072
|
}
|
|
1051
1073
|
function usePayoutStatus(props) {
|
|
1052
|
-
var _a;
|
|
1074
|
+
var _a, _b, _c;
|
|
1053
1075
|
const { type } = index_module.getEnvironmentSDK();
|
|
1054
1076
|
const { loading, data, errors, refetch } = index_module.wn(GET_USER_STATUS, {});
|
|
1055
1077
|
const { data: taxSettingRes } = index_module.wn(GET_TAX_SETTING, {});
|
|
@@ -1099,6 +1121,7 @@ function usePayoutStatus(props) {
|
|
|
1099
1121
|
status,
|
|
1100
1122
|
error: !!errors,
|
|
1101
1123
|
enforceUsTaxComplianceOption,
|
|
1124
|
+
minPayoutAmount: subregions.formatPayoutThreshold((_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher),
|
|
1102
1125
|
},
|
|
1103
1126
|
data: { type },
|
|
1104
1127
|
text: props.getTextProps(),
|
|
@@ -17,6 +17,7 @@ import { useDemoBigStat } from "./useDemoBigStat";
|
|
|
17
17
|
* @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"><p>Giftcards Earned</p></sqm-big-stat>
|
|
18
18
|
* @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount"><p>Referrals</p></sqm-big-stat>
|
|
19
19
|
* @example Other Stat - <sqm-big-stat flex-reverse="true" alignment="left" stat-type=""><p>Label</p></sqm-big-stat>
|
|
20
|
+
* @csspart stat-wrapper - The stat wrapper element
|
|
20
21
|
* @csspart stat-value - The stat value element
|
|
21
22
|
* @csspart stat-description - The stat description element
|
|
22
23
|
*/
|
|
@@ -9,6 +9,7 @@ import { CardFeedView } from "./sqm-card-feed-view";
|
|
|
9
9
|
* @validChildren ["sqm-task-card"]
|
|
10
10
|
* @exampleGroup Rewards
|
|
11
11
|
* @example Task Card Feed - <sqm-card-feed gap="24" width="347"> <sqm-task-card reward-amount="20" goal="1" card-title="Complete a Survey" description="Fill out our NPS survey and get 20 points for giving us honest feedback." button-text="Take survey" reward-unit="Points" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" finite="0" starts-on-message="Starts {startDate}" > </sqm-task-card> <sqm-task-card reward-amount="250" goal="500" show-progress-bar card-title="Spend $500" description="Earn 250 points when you spend $500 or more." button-text="See plans" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" progress-bar-unit="$" finite="0" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-task-card> <sqm-task-card goal="1" reward-amount="50" card-title="Follow Us on X" description="Earn 50 points when you Follow Us on X!" button-text="Follow" button-link="https://twitter.com/" open-new-tab="true" event-key="socialFollow" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" finite="0" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-task-card> <sqm-task-card reward-amount="1" reward-unit="Free Month" goal="1" card-title="Upgrade Your Plan" description="Receive one free month for being a committed customer when you upgrade your plan." button-text="Upgrade" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" open-new-tab="false" finite="0" starts-on-message="Starts {startDate}" > </sqm-task-card> </sqm-card-feed>
|
|
12
|
+
* @csspart sqm-base - The base container
|
|
12
13
|
*/
|
|
13
14
|
export class CardFeed {
|
|
14
15
|
constructor() {
|
|
@@ -11,6 +11,9 @@ import { useCheckboxField } from "./useCheckboxField";
|
|
|
11
11
|
* @validParents ["sqm-portal-register","sqm-portal-registration-form", "sqm-portal-google-registration-form"]
|
|
12
12
|
* @exampleGroup Microsite Components
|
|
13
13
|
* @example Form Checkbox Field - <sqm-checkbox-field checkbox-name="terms" checkbox-label="By signing up you agree to the {labelLink}" checkbox-label-link="https://example.com" checkbox-label-link-text="Terms and Conditions" error-message="Must be checked" ></sqm-checkbox-field>
|
|
14
|
+
* @csspart sqm-base - The base container
|
|
15
|
+
* @csspart input-label - The input label
|
|
16
|
+
* @csspart input-base - The input base
|
|
14
17
|
*/
|
|
15
18
|
export class CheckboxField {
|
|
16
19
|
constructor() {
|
|
@@ -20,11 +20,11 @@ export function CouponCodeView(props) {
|
|
|
20
20
|
`;
|
|
21
21
|
const sheet = createStyleSheet(style);
|
|
22
22
|
const styleString = sheet.toString();
|
|
23
|
-
return (h("div",
|
|
23
|
+
return (h("div", { part: "sqm-base" },
|
|
24
24
|
h("style", { type: "text/css" },
|
|
25
25
|
styleString,
|
|
26
26
|
vanillaStyle),
|
|
27
|
-
h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
27
|
+
h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign }, part: "label" }, props.couponCodeLabel),
|
|
28
28
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
29
29
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
30
30
|
}
|
|
@@ -11,6 +11,13 @@ import { useCouponCode } from "./useCouponCode";
|
|
|
11
11
|
* @compatibility Built for instant access
|
|
12
12
|
* @exampleGroup Instant Access
|
|
13
13
|
* @example Coupon Code - <sqm-coupon-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-coupon-code>
|
|
14
|
+
* @csspart sqm-base - The base container element
|
|
15
|
+
* @csspart label - The coupon code label element
|
|
16
|
+
* @csspart erroralert-text - The error message element
|
|
17
|
+
* @csspart erroralert-icon - The error alert icon
|
|
18
|
+
* @csspart icon-button-base - The copy icon button base
|
|
19
|
+
* @csspart primarybutton-base - The primary button base
|
|
20
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
14
21
|
*/
|
|
15
22
|
export class CouponCode {
|
|
16
23
|
constructor() {
|