@saasquatch/mint-components 2.2.0 → 2.3.0-2
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/{data-8c8a08f6.js → data-89ac73dd.js} +2 -90
- package/dist/cjs/eventKeys-7af4df4d.js +5 -0
- package/dist/cjs/{keys-cff24974.js → keys-5a2c9ed2.js} +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +461 -339
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +450 -16
- package/dist/cjs/sqm-code-verification.cjs.entry.js +4 -5
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +893 -0
- package/dist/cjs/sqm-partner-info-modal-view-f6faecf5.js +149 -0
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +27 -9
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +30 -9
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +732 -326
- package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-0e1ddbe4.js} +34 -426
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{usePayoutStatus-0192fccd.js → useIndirectTaxForm-c3c1ec56.js} +294 -5
- package/dist/cjs/utils-a3b3d05b.js +478 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +171 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +143 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +670 -0
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +276 -0
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +209 -145
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +30 -10
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -0
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +223 -137
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +30 -10
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
- package/dist/collection/components/sqm-widget-verification/keys.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +19 -9
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +486 -46
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +43 -11
- package/dist/collection/components/tax-and-cash/data.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +93 -37
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +738 -13
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +95 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +51 -12
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +59 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +51 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -18
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +0 -25
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +34 -17
- package/dist/esm/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +5 -5
- package/dist/{mint-components/p-0c0d4065.js → esm/data-8698cbc6.js} +25 -5
- package/dist/esm/eventKeys-f76b6a03.js +3 -0
- package/dist/esm/{global-96c14d63.js → global-75e96214.js} +1 -1
- package/dist/esm/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
- package/dist/esm/keys-1054056a.js +8 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/{re-render-f30aeb6b.js → re-render-bf46ba54.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +448 -326
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +454 -21
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +7 -8
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +888 -0
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-partner-info-modal-view-d6f3a215.js +146 -0
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +32 -14
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +35 -14
- package/dist/esm/sqm-stencilbook.entry.js +708 -302
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-e1ba6009.js} +14 -403
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
- package/dist/esm/{usePayoutStatus-46c0c289.js → useIndirectTaxForm-b2888ea5.js} +292 -5
- package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +2 -2
- package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +2 -2
- package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
- package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +3 -3
- package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
- package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
- package/dist/esm/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
- package/dist/esm/utils-4f5cd04c.js +467 -0
- package/dist/esm-es5/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +1 -1
- package/dist/esm-es5/data-8698cbc6.js +1 -0
- package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
- package/dist/esm-es5/{global-96c14d63.js → global-75e96214.js} +1 -1
- package/dist/esm-es5/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
- package/dist/esm-es5/keys-1054056a.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-bf46ba54.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 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-d6f3a215.js +1 -0
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.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-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-e1ba6009.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
- package/dist/esm-es5/useIndirectTaxForm-b2888ea5.js +6 -0
- package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
- package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
- package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
- package/dist/esm-es5/utils-4f5cd04c.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-626b31cb.system.entry.js → p-025ddad2.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b871e38.system.entry.js → p-02c0f88e.system.entry.js} +1 -1
- package/dist/mint-components/{p-f55ecf35.system.js → p-02e2b13b.system.js} +1 -1
- package/dist/mint-components/{p-a4f8abad.js → p-0766438e.js} +1 -1
- package/dist/mint-components/{p-205cfdcd.system.js → p-0815b973.system.js} +1 -1
- package/dist/mint-components/{p-db0a2afd.entry.js → p-092c2606.entry.js} +1 -1
- package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-099ce3d5.system.entry.js} +1 -1
- package/dist/mint-components/p-0a6489fa.entry.js +1 -0
- package/dist/mint-components/p-0afa6148.js +1 -0
- package/dist/mint-components/{p-fc284f91.system.entry.js → p-0b32e1d4.system.entry.js} +1 -1
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/{p-7b59e13c.system.js → p-1317cc92.system.js} +1 -1
- package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-13bb56a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-f8a09b0f.js → p-13d8ecad.js} +1 -1
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/{p-61897e72.entry.js → p-14183edc.entry.js} +1 -1
- package/dist/mint-components/{p-8f2d03c7.entry.js → p-1599a178.entry.js} +1 -1
- package/dist/mint-components/{p-02499e08.entry.js → p-1b0326d1.entry.js} +1 -1
- package/dist/mint-components/p-1d398dbc.entry.js +11 -0
- package/dist/mint-components/p-1d86895f.system.js +1 -0
- package/dist/mint-components/p-1e6a2945.js +1 -0
- package/dist/mint-components/{p-c8a3f3b0.js → p-1efb42e2.js} +1 -1
- package/dist/mint-components/p-1f387c7b.system.js +1 -0
- package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-209157a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-30c1ef36.system.js → p-2190dc73.system.js} +1 -1
- package/dist/mint-components/{p-80e116ec.system.entry.js → p-24f1d342.system.entry.js} +1 -1
- package/dist/mint-components/{p-6668f9f0.entry.js → p-27daf264.entry.js} +1 -1
- package/dist/mint-components/p-28ed2ae9.js +1 -0
- package/dist/mint-components/{p-09f7aacd.entry.js → p-29bc5f50.entry.js} +2 -2
- package/dist/mint-components/{p-738dce27.system.entry.js → p-2d3f7b76.system.entry.js} +1 -1
- package/dist/mint-components/p-2ed13619.entry.js +1 -0
- package/dist/mint-components/{p-c45a929a.system.entry.js → p-30cfe3e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-d55c50af.system.js → p-31815fb6.system.js} +1 -1
- package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-3354cc75.system.entry.js} +1 -1
- package/dist/mint-components/{p-5bc5c61e.entry.js → p-335a5736.entry.js} +1 -1
- package/dist/mint-components/{p-e9485160.system.entry.js → p-33ca28ba.system.entry.js} +1 -1
- package/dist/mint-components/p-3596e241.entry.js +116 -0
- package/dist/mint-components/{p-8583ce0c.system.js → p-376c7608.system.js} +1 -1
- package/dist/mint-components/p-37e24621.system.entry.js +1 -0
- package/dist/mint-components/{p-95510f27.entry.js → p-38d04e4b.entry.js} +1 -1
- package/dist/mint-components/{p-e84b874c.js → p-3a41b39c.js} +1 -1
- package/dist/mint-components/{p-e5ea43b1.entry.js → p-3bbc0db2.entry.js} +2 -2
- package/dist/mint-components/{p-982d1f6f.entry.js → p-432a44de.entry.js} +3 -2
- package/dist/mint-components/{p-bab4929e.js → p-45230a44.js} +1 -1
- package/dist/mint-components/p-4691e9d5.system.js +1 -0
- package/dist/mint-components/{p-1d92c169.entry.js → p-4d73a616.entry.js} +1 -1
- package/dist/mint-components/{p-3bc62ca6.entry.js → p-4e3db52b.entry.js} +1 -1
- package/dist/mint-components/{p-3286ef38.js → p-4eaa3eb7.js} +1 -1
- package/dist/mint-components/{p-013564b3.entry.js → p-4eadbd5b.entry.js} +1 -1
- package/dist/mint-components/p-4f9dc974.js +1 -0
- package/dist/mint-components/{p-f7ca4cc4.system.entry.js → p-51ae6716.system.entry.js} +1 -1
- package/dist/mint-components/p-56b33268.system.entry.js +1 -0
- package/dist/mint-components/p-58c24352.system.js +6 -0
- package/dist/mint-components/p-5c52100b.js +117 -0
- package/dist/mint-components/{p-77b9cde8.system.js → p-5fdf0286.system.js} +1 -1
- package/dist/mint-components/{p-09348341.entry.js → p-60b1f3d9.entry.js} +1 -1
- package/dist/mint-components/{p-d005df28.system.entry.js → p-623a0a0b.system.entry.js} +1 -1
- package/dist/mint-components/{p-c30d0049.system.entry.js → p-6b4e5d94.system.entry.js} +1 -1
- package/dist/mint-components/{p-f4e36adf.system.entry.js → p-6f6c3ac6.system.entry.js} +1 -1
- package/dist/mint-components/p-6f8dde97.system.js +1 -0
- package/dist/mint-components/{p-43c31fd5.system.js → p-7628e56f.system.js} +1 -1
- package/dist/mint-components/{p-653db72e.entry.js → p-78e6dc8d.entry.js} +1 -1
- package/dist/mint-components/{p-f581aac7.js → p-7a091fa7.js} +1 -1
- package/dist/mint-components/{p-40bad95a.entry.js → p-7cbdf341.entry.js} +2 -2
- package/dist/mint-components/{p-044f930a.system.js → p-7d2d9ef9.system.js} +1 -1
- package/dist/mint-components/{p-5c4ba8a0.entry.js → p-7ea3f49c.entry.js} +1 -1
- package/dist/mint-components/{p-5ce78407.system.entry.js → p-81bc6dca.system.entry.js} +1 -1
- package/dist/mint-components/{p-f6528f8a.entry.js → p-84495fb8.entry.js} +1 -1
- package/dist/mint-components/{p-b96e90a2.system.entry.js → p-86d20b47.system.entry.js} +1 -1
- package/dist/mint-components/p-87f86492.js +1 -0
- package/dist/mint-components/{p-d0993bb9.js → p-8a6531d2.js} +1 -1
- package/dist/mint-components/p-8ae8968c.js +1 -0
- package/dist/mint-components/{p-7265bbcb.system.js → p-8e148cb0.system.js} +1 -1
- package/dist/mint-components/p-8f15bf17.entry.js +1 -0
- package/dist/mint-components/{p-b66f45d1.entry.js → p-921eb024.entry.js} +1 -1
- package/dist/mint-components/{p-f1374258.system.entry.js → p-925aa740.system.entry.js} +1 -1
- package/dist/mint-components/p-99eecdcb.system.entry.js +1 -0
- package/dist/mint-components/{p-e12754f5.system.entry.js → p-9a15cd5a.system.entry.js} +1 -1
- package/dist/mint-components/p-9c1f5317.system.js +1 -0
- package/dist/mint-components/{p-832aea99.js → p-9f48640d.js} +1 -1
- package/dist/mint-components/p-a38eece5.system.entry.js +1 -0
- package/dist/mint-components/p-a49d9288.entry.js +1 -0
- package/dist/mint-components/{p-90833864.system.entry.js → p-ab59c5eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-e6240c72.js → p-abd717d4.js} +1 -1
- package/dist/mint-components/p-abe9f5b1.js +99 -0
- package/dist/mint-components/p-ae2f610e.system.js +1 -0
- package/dist/mint-components/p-b222bace.system.entry.js +1 -0
- package/dist/mint-components/{p-19c441b2.system.js → p-b2ad3fca.system.js} +1 -1
- package/dist/mint-components/{p-c8a8d231.entry.js → p-b3309d9b.entry.js} +2 -2
- package/dist/mint-components/p-b419f9ac.entry.js +299 -0
- package/dist/mint-components/{p-8962e023.js → p-b871d158.js} +1 -1
- package/dist/mint-components/p-b96ed8eb.js +1 -0
- package/dist/mint-components/p-badf28bb.system.js +1 -0
- package/dist/mint-components/{p-035d9b65.js → p-bb0b5e4b.js} +1 -1
- package/dist/mint-components/{p-52674798.entry.js → p-bcfdb510.entry.js} +1 -1
- package/dist/mint-components/p-be6a0dee.system.js +1 -0
- package/dist/mint-components/{p-642f2c89.js → p-bf9ab2d3.js} +1 -1
- package/dist/mint-components/{p-bc386a7b.js → p-c0a85e22.js} +1 -1
- package/dist/mint-components/p-c0f8f977.system.entry.js +1 -0
- package/dist/mint-components/p-c41d536d.entry.js +1 -0
- package/dist/mint-components/{p-a0c5631b.system.js → p-c66e5217.system.js} +1 -1
- package/dist/mint-components/p-cdabd9de.system.js +1 -0
- package/dist/mint-components/p-cfc35705.system.entry.js +1 -0
- package/dist/mint-components/{p-0d83907e.js → p-cfea215d.js} +1 -1
- package/dist/mint-components/p-d08408b3.entry.js +1 -0
- package/dist/mint-components/{p-172675ca.system.js → p-d284ae70.system.js} +1 -1
- package/dist/mint-components/{p-027fc3be.system.entry.js → p-d34564f8.system.entry.js} +1 -1
- package/dist/mint-components/{p-1021a49f.system.entry.js → p-db6bf7cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-4da5a3fe.system.entry.js → p-df897432.system.entry.js} +1 -1
- package/dist/mint-components/{p-036a2617.system.js → p-e651593c.system.js} +1 -1
- package/dist/mint-components/{p-f39cf252.system.entry.js → p-e6de31a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-2668335b.js → p-e8e7af06.js} +1 -1
- package/dist/mint-components/{p-85721089.system.js → p-e920c95c.system.js} +1 -1
- package/dist/mint-components/{p-3366b81e.js → p-eae44b42.js} +2 -2
- package/dist/mint-components/p-ebc519bc.system.js +1 -0
- package/dist/mint-components/{p-af407cce.entry.js → p-ef32fa8f.entry.js} +1 -1
- package/dist/mint-components/{p-7efb8782.system.js → p-f32050f6.system.js} +1 -1
- package/dist/mint-components/{p-782af7ae.system.entry.js → p-f6de2e5c.system.entry.js} +1 -1
- package/dist/mint-components/{p-9390586b.system.entry.js → p-fa85ea51.system.entry.js} +1 -1
- package/dist/mint-components/p-ff013776.entry.js +9 -0
- package/dist/mint-components/p-ffcebe78.entry.js +83 -0
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +15 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +50 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +123 -0
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +17 -0
- package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +18 -1
- package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +19 -7
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
- package/dist/types/components/sqm-widget-verification/keys.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +75 -7
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +2 -0
- package/dist/types/components/tax-and-cash/data.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +8 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +173 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +7 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -5
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -4
- package/dist/types/components.d.ts +644 -32
- package/dist/types/saasquatch.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -4
- package/dist/cjs/extractProps-e9c55ba8.js +0 -35
- package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -418
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -214
- package/dist/esm/data-12e6aae1.js +0 -216
- package/dist/esm/extractProps-54064fb0.js +0 -32
- package/dist/esm/keys-406491dc.js +0 -6
- package/dist/esm/sqm-email-verification.entry.js +0 -414
- package/dist/esm/sqm-widget-verification.entry.js +0 -210
- package/dist/esm-es5/data-12e6aae1.js +0 -1
- package/dist/esm-es5/extractProps-54064fb0.js +0 -1
- package/dist/esm-es5/keys-406491dc.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +0 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
- package/dist/esm-es5/usePayoutStatus-46c0c289.js +0 -6
- package/dist/mint-components/p-00b235c5.system.entry.js +0 -1
- package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
- package/dist/mint-components/p-0797a946.js +0 -1
- package/dist/mint-components/p-13292317.entry.js +0 -11
- package/dist/mint-components/p-2d5c2bd4.system.entry.js +0 -1
- package/dist/mint-components/p-38c7775a.js +0 -1
- package/dist/mint-components/p-3adbfd0b.system.js +0 -6
- package/dist/mint-components/p-3af3e2c1.entry.js +0 -25
- package/dist/mint-components/p-5492dd51.system.entry.js +0 -1
- package/dist/mint-components/p-57dd28bd.system.js +0 -1
- package/dist/mint-components/p-5b1d2866.system.js +0 -1
- package/dist/mint-components/p-6c4ad51a.js +0 -1
- package/dist/mint-components/p-77fa2383.entry.js +0 -1
- package/dist/mint-components/p-7939e4af.entry.js +0 -1
- package/dist/mint-components/p-8285869e.entry.js +0 -9
- package/dist/mint-components/p-892797eb.system.entry.js +0 -1
- package/dist/mint-components/p-91a96e98.entry.js +0 -1
- package/dist/mint-components/p-b2b85238.entry.js +0 -1
- package/dist/mint-components/p-b395470f.entry.js +0 -16
- package/dist/mint-components/p-bba16a46.system.entry.js +0 -1
- package/dist/mint-components/p-be12607e.entry.js +0 -281
- package/dist/mint-components/p-bf188b72.system.entry.js +0 -1
- package/dist/mint-components/p-ca098be1.system.js +0 -1
- package/dist/mint-components/p-d18dedd4.js +0 -1
- package/dist/mint-components/p-d4f332a7.entry.js +0 -106
- package/dist/mint-components/p-d6193876.system.js +0 -1
- package/dist/mint-components/p-de0d6fd7.js +0 -49
- package/dist/mint-components/p-e00ec007.js +0 -1
- package/dist/mint-components/p-e55aafe9.system.js +0 -1
- package/dist/mint-components/p-ea03e50e.system.js +0 -1
- package/dist/mint-components/p-ec0b649a.entry.js +0 -1
- package/dist/mint-components/p-f8026ed6.system.js +0 -1
- package/dist/mint-components/p-fb804001.system.entry.js +0 -1
- package/dist/mint-components/p-fe70e20c.entry.js +0 -1
- package/dist/mint-components/p-ff118a19.system.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import './index.module-
|
|
4
|
+
import './index.module-02cb914c.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, e as createEvent, h as h$1, g as getElement } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { g as getEnvironmentSDK, i as isDemo } from './index.module-
|
|
3
|
+
import { g as getEnvironmentSDK, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
|
|
5
5
|
function useGoogleSignIn(props) {
|
|
6
6
|
const [loaded, setLoaded] = useState(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { o as m, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { G, e as Q, E as Ee, P as Pe } from './index.module-
|
|
3
|
+
import { G, e as Q, E as Ee, P as Pe } from './index.module-02cb914c.js';
|
|
4
4
|
|
|
5
5
|
async function useGraphQLClientProvider({ domain }) {
|
|
6
6
|
const token = G();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { i as isDemo, s as setUserIdentity } from './index.module-
|
|
3
|
+
import { i as isDemo, s as setUserIdentity } from './index.module-02cb914c.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
|
-
import './useRegistrationFormState-
|
|
8
|
+
import './useRegistrationFormState-aa44cfff.js';
|
|
9
9
|
import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-69c9ffe0.js';
|
|
11
11
|
|
|
12
12
|
const InstantAccessRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-75e96214.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
4
|
+
import { i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
9
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
8
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-332b2796.js';
|
|
9
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-bfafee56.js';
|
|
10
10
|
|
|
11
11
|
function useLeadCheckboxField() {
|
|
12
12
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-75e96214.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
4
|
+
import { i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
10
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
9
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-332b2796.js';
|
|
10
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-b945edf4.js';
|
|
11
11
|
|
|
12
12
|
function useLeadInputField() {
|
|
13
13
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-
|
|
4
|
+
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-7a682cc3.js';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { d as dist, J, w as wn, s as setUserIdentity, i as isDemo } from './index.module-
|
|
3
|
+
import { d as dist, J, w as wn, s as setUserIdentity, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { k as kn, i as isDemo } from './index.module-
|
|
3
|
+
import { k as kn, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-8d98fcf3.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
11
|
const currentPage = kn();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h, k as useState, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { i as isDemo, k as kn, H } from './index.module-
|
|
3
|
+
import { i as isDemo, k as kn, H } from './index.module-02cb914c.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-2b66457a.js';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { n as h$1, k as useState } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { F as Fn, i as isDemo, d as dist, H, J, B, w as wn, $ as $e } from './index.module-
|
|
4
|
+
import { F as Fn, i as isDemo, d as dist, H, J, B, w as wn, $ as $e } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, u as useReferralCodes } from './useReferralCodes-
|
|
8
|
+
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, u as useReferralCodes } from './useReferralCodes-25f8b792.js';
|
|
9
9
|
import './mixins-f750863a.js';
|
|
10
10
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
11
11
|
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { h } from './index-38ad4957.js';
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
+
|
|
5
|
+
const style = {
|
|
6
|
+
Dialog: {
|
|
7
|
+
"&::part(panel)": {
|
|
8
|
+
maxWidth: "480px",
|
|
9
|
+
},
|
|
10
|
+
"&::part(body)": {
|
|
11
|
+
padding: "0 var(--sl-spacing-x-large)",
|
|
12
|
+
fontSize: "var(--sl-font-size-small)",
|
|
13
|
+
overflow: "visible",
|
|
14
|
+
},
|
|
15
|
+
"&::part(overlay)": {
|
|
16
|
+
background: "var(--sl-overlay-background-color)",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
DialogTitle: {
|
|
20
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
21
|
+
fontWeight: "600",
|
|
22
|
+
padding: "var(--sl-spacing-large) 0 0 0",
|
|
23
|
+
margin: "0",
|
|
24
|
+
},
|
|
25
|
+
FormFields: {
|
|
26
|
+
display: "flex",
|
|
27
|
+
flexDirection: "column",
|
|
28
|
+
gap: "var(--sl-spacing-medium)",
|
|
29
|
+
marginTop: "var(--sl-spacing-large)",
|
|
30
|
+
},
|
|
31
|
+
ErrorMessage: {
|
|
32
|
+
marginTop: "var(--sl-spacing-x-small)",
|
|
33
|
+
},
|
|
34
|
+
SearchInput: {
|
|
35
|
+
"&::part(base)": {
|
|
36
|
+
border: "none",
|
|
37
|
+
borderBottom: "1px solid var(--sl-color-neutral-300)",
|
|
38
|
+
borderRadius: "0",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
SelectMenu: {
|
|
42
|
+
maxHeight: "300px",
|
|
43
|
+
},
|
|
44
|
+
DescriptionContainer: {
|
|
45
|
+
display: "flex",
|
|
46
|
+
flexDirection: "column",
|
|
47
|
+
gap: "var(--sl-spacing-medium)",
|
|
48
|
+
margin: "0",
|
|
49
|
+
"& > p": {
|
|
50
|
+
margin: "0",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
CheckboxWrapper: {
|
|
54
|
+
display: "flex",
|
|
55
|
+
justifyContent: "flex-start",
|
|
56
|
+
flexDirection: "column",
|
|
57
|
+
},
|
|
58
|
+
Checkbox: {
|
|
59
|
+
"&::part(label)": {
|
|
60
|
+
fontSize: "var(--sl-font-size-small)",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
SubmitButton: {
|
|
64
|
+
width: "100%",
|
|
65
|
+
marginTop: "var(--sl-spacing-large)",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
function PartnerInfoModalContentView(props) {
|
|
69
|
+
var _a, _b;
|
|
70
|
+
const { states, callbacks, text } = props;
|
|
71
|
+
const sheet = createStyleSheet(style);
|
|
72
|
+
const styleString = sheet.toString();
|
|
73
|
+
const supportMessage = intl.formatMessage({
|
|
74
|
+
id: "supportDescriptionExistingPartner",
|
|
75
|
+
defaultMessage: text.supportDescriptionExistingPartner,
|
|
76
|
+
}, {
|
|
77
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
78
|
+
});
|
|
79
|
+
const description = states.isExistingPartner ? (h("span", { class: sheet.classes.DescriptionContainer },
|
|
80
|
+
h("p", null, text.descriptionExistingPartner),
|
|
81
|
+
h("p", null, supportMessage))) : (h("p", { class: sheet.classes.DescriptionContainer }, text.descriptionNewPartner));
|
|
82
|
+
const buttonLabel = states.isExistingPartner
|
|
83
|
+
? text.confirmButtonLabel
|
|
84
|
+
: text.submitButtonLabel;
|
|
85
|
+
const bankingCollectionText = intl.formatMessage({
|
|
86
|
+
id: "bankingCollectionText",
|
|
87
|
+
defaultMessage: text.allowBankingCollection,
|
|
88
|
+
}, {
|
|
89
|
+
termsAndConditionsLink: (h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
|
|
90
|
+
});
|
|
91
|
+
return (h("div", null,
|
|
92
|
+
h("style", { type: "text/css" },
|
|
93
|
+
" ",
|
|
94
|
+
styleString),
|
|
95
|
+
h("div", { class: sheet.classes.FormFields },
|
|
96
|
+
description,
|
|
97
|
+
h("sl-select", { exportparts: "label: input-label, base: input-base, menu: select-menu", label: text.countryLabel, value: states.countryCode, disabled: states.submitting ||
|
|
98
|
+
(!!states.countryCode && states.isExistingPartner), required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
|
|
99
|
+
h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
|
|
100
|
+
var _a;
|
|
101
|
+
callbacks.setCountrySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value);
|
|
102
|
+
} }),
|
|
103
|
+
h("div", { class: sheet.classes.SelectMenu }, (_a = states.filteredCountries) === null || _a === void 0 ? void 0 : _a.map((c) => (h("sl-menu-item", { value: c.countryCode }, c.displayName))))),
|
|
104
|
+
h("sl-select", { exportparts: "label: input-label, base: input-base", label: text.currencyLabel, value: states.currency, disabled: states.submitting || (!!states.currency && states.isExistingPartner), required: true, hoist: true, "onSl-select": callbacks.onCurrencyChange },
|
|
105
|
+
h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }),
|
|
106
|
+
h("div", { class: sheet.classes.SelectMenu }, (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 : _b.map((c) => (h("sl-menu-item", { value: c.currencyCode },
|
|
107
|
+
c.currencyCode,
|
|
108
|
+
" - ",
|
|
109
|
+
c.displayName))))),
|
|
110
|
+
h("div", { class: sheet.classes.CheckboxWrapper },
|
|
111
|
+
h("sl-checkbox", { class: sheet.classes.Checkbox, checked: states.allowBankingCollection === true, "onSl-change": callbacks.onCheckboxChange, disabled: states.submitting, required: true, value: states.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText))),
|
|
112
|
+
states.error && (h("div", { class: sheet.classes.ErrorMessage },
|
|
113
|
+
h("sqm-form-message", { class: sheet.classes.ErrorMessage, type: "error" },
|
|
114
|
+
h("p", { part: "alert-description" }, states.error)))),
|
|
115
|
+
h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting ||
|
|
116
|
+
!states.countryCode ||
|
|
117
|
+
!states.currency ||
|
|
118
|
+
!states.allowBankingCollection, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel)));
|
|
119
|
+
}
|
|
120
|
+
function PartnerInfoModalView(props) {
|
|
121
|
+
const { states, text, callbacks } = props;
|
|
122
|
+
const sheet = createStyleSheet(style);
|
|
123
|
+
const styleString = sheet.toString();
|
|
124
|
+
if (!states.open)
|
|
125
|
+
return h("div", null);
|
|
126
|
+
return (h("div", null,
|
|
127
|
+
h("style", { type: "text/css" },
|
|
128
|
+
" ",
|
|
129
|
+
styleString),
|
|
130
|
+
h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
|
|
131
|
+
? text.modalHeaderExistingPartner
|
|
132
|
+
: text.modalHeader, "onSl-request-close": (e) => {
|
|
133
|
+
e.preventDefault();
|
|
134
|
+
}, "onSl-hide": (e) => {
|
|
135
|
+
var _a;
|
|
136
|
+
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
137
|
+
e.preventDefault();
|
|
138
|
+
}
|
|
139
|
+
} },
|
|
140
|
+
h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
|
|
141
|
+
? text.modalHeaderExistingPartner
|
|
142
|
+
: text.modalHeader),
|
|
143
|
+
h(PartnerInfoModalContentView, Object.assign({}, props)))));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export { PartnerInfoModalView as P, PartnerInfoModalContentView as a };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { i as d, k as useState, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-aa44cfff.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { B } from './index.module-
|
|
3
|
+
import { B } from './index.module-02cb914c.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-75e96214.js';
|
|
3
3
|
import { k as useState, m as useRef, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { l as ln, n as nn, J, j as jn, b as useCallback, i as isDemo } from './index.module-
|
|
4
|
+
import { l as ln, n as nn, J, j as jn, b as useCallback, i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-72f43dff.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-fde1eb35.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, n as h, m as useRef, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { u as un, j as jn, i as isDemo, a as je, h as hn, V as Ve, b as useCallback, J, c as an, s as setUserIdentity } from './index.module-
|
|
3
|
+
import { u as un, j as jn, i as isDemo, a as je, h as hn, V as Ve, b as useCallback, J, c as an, s as setUserIdentity } from './index.module-02cb914c.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import './sqm-text-span-view-72f43dff.js';
|
|
10
|
-
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
11
|
-
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-
|
|
12
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
10
|
+
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-590f964b.js';
|
|
11
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-3a1f36a2.js';
|
|
12
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-aa44cfff.js';
|
|
13
13
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
14
14
|
|
|
15
15
|
function usePortalForgotPassword(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { s as setUserIdentity, j as jn, i as isDemo } from './index.module-
|
|
3
|
+
import { s as setUserIdentity, j as jn, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
|
|
5
5
|
function usePortalLogout({ nextPage }) {
|
|
6
6
|
setUserIdentity(undefined);
|
package/dist/esm/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-75e96214.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-
|
|
4
|
+
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-72f43dff.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
10
|
-
import { i as isEmpty } from './utilities-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-2018590a.js';
|
|
10
|
+
import { i as isEmpty } from './utilities-cbd8f2eb.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
13
13
|
query {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { J, k as kn, j as jn, i as isDemo } from './index.module-
|
|
3
|
+
import { J, k as kn, j as jn, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
|
|
5
5
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
6
6
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { f as Je, T as Te, j as jn, i as isDemo } from './index.module-
|
|
3
|
+
import { f as Je, T as Te, j as jn, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { j as jn } from './index.module-
|
|
2
|
+
import { j as jn } from './index.module-02cb914c.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, H as HostBlock, E as ErrorStyles } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { d as dist, H, J, B, F as Fn, w as wn, $ as $e, i as isDemo } from './index.module-
|
|
3
|
+
import { d as dist, H, J, B, F as Fn, w as wn, $ as $e, i as isDemo } from './index.module-02cb914c.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-
|
|
7
|
+
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-25f8b792.js';
|
|
8
8
|
import './ErrorView-74cb3af8.js';
|
|
9
9
|
import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
|
|
10
10
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-75e96214.js';
|
|
3
3
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
4
|
+
import { i as isDemo } from './index.module-02cb914c.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
11
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-bf46ba54.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
13
13
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
14
14
|
import { g as getPaypalMeta } from './mockRewardData-9b27d6f1.js';
|
|
15
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
15
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-03d32c6f.js';
|
|
16
16
|
|
|
17
17
|
const mockReferralData = (count = 4) => {
|
|
18
18
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -424,7 +424,7 @@ const ReferralTableRewardsCell = class {
|
|
|
424
424
|
constructor(hostRef) {
|
|
425
425
|
registerInstance(this, hostRef);
|
|
426
426
|
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Payment Processing} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
|
427
|
-
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PROCESSING {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your
|
|
427
|
+
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PROCESSING {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
|
|
428
428
|
this.pendingForText = "{status} for {date}";
|
|
429
429
|
this.locale = "en";
|
|
430
430
|
}
|
|
@@ -531,7 +531,7 @@ const ReferralTableRewardsCell = class {
|
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
const getState = (reward, taxConnection) => {
|
|
534
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
534
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
535
535
|
const possibleStates = [
|
|
536
536
|
"REDEEMED",
|
|
537
537
|
"CANCELLED",
|
|
@@ -555,12 +555,21 @@ const ReferralTableRewardsCell = class {
|
|
|
555
555
|
if (((_f = (_e = reward.referral) === null || _e === void 0 ? void 0 : _e.fraudData) === null || _f === void 0 ? void 0 : _f.moderationStatus) === "DENIED")
|
|
556
556
|
return "DENIED";
|
|
557
557
|
}
|
|
558
|
-
const
|
|
558
|
+
const isCashReward = reward.rewardedCash;
|
|
559
|
+
if (isCashReward) {
|
|
560
|
+
if (!((_g = this.taxConnection) === null || _g === void 0 ? void 0 : _g.connected) ||
|
|
561
|
+
(((_h = this.taxConnection) === null || _h === void 0 ? void 0 : _h.connected) &&
|
|
562
|
+
!((_k = (_j = this.taxConnection) === null || _j === void 0 ? void 0 : _j.publisher) === null || _k === void 0 ? void 0 : _k.withdrawalSettings)))
|
|
563
|
+
return "PENDING_PARTNER_CREATION";
|
|
564
|
+
}
|
|
565
|
+
const partnerFundsStatus = (_l = reward.partnerFundsTransfer) === null || _l === void 0 ? void 0 : _l.status;
|
|
559
566
|
if (reward.partnerFundsTransfer) {
|
|
560
567
|
if (partnerFundsStatus === "REVERSED")
|
|
561
568
|
return "PAYOUT_CANCELLED";
|
|
562
569
|
if (partnerFundsStatus === "OVERDUE")
|
|
563
570
|
return "PAYOUT_FAILED";
|
|
571
|
+
}
|
|
572
|
+
if (reward.partnerFundsTransfer) {
|
|
564
573
|
if (reward.partnerFundsTransfer.dateScheduled &&
|
|
565
574
|
reward.partnerFundsTransfer.dateScheduled > Date.now()) {
|
|
566
575
|
return "PROCESSING";
|
|
@@ -573,13 +582,13 @@ const ReferralTableRewardsCell = class {
|
|
|
573
582
|
partnerFundsStatus !== "REVERSED"))
|
|
574
583
|
return "PAYOUT_APPROVED";
|
|
575
584
|
}
|
|
576
|
-
if ((
|
|
585
|
+
if ((_m = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _m === void 0 ? void 0 : _m.includes("US_TAX")) {
|
|
577
586
|
if (!(taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.taxHandlingEnabled))
|
|
578
587
|
return "PENDING";
|
|
579
588
|
if (!(taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.connected))
|
|
580
589
|
return "PENDING_PARTNER_CREATION";
|
|
581
|
-
if ((
|
|
582
|
-
if (!((
|
|
590
|
+
if ((_o = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _o === void 0 ? void 0 : _o.requiredTaxDocumentType) {
|
|
591
|
+
if (!((_p = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _p === void 0 ? void 0 : _p.currentTaxDocument))
|
|
583
592
|
return "PENDING_TAX_SUBMISSION";
|
|
584
593
|
const status = taxConnection.publisher.currentTaxDocument.status;
|
|
585
594
|
if (status === "INACTIVE" ||
|
|
@@ -589,10 +598,19 @@ const ReferralTableRewardsCell = class {
|
|
|
589
598
|
if (status === "NOT_VERIFIED")
|
|
590
599
|
return "PENDING_TAX_REVIEW";
|
|
591
600
|
}
|
|
592
|
-
if (!((
|
|
601
|
+
if (!((_q = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _q === void 0 ? void 0 : _q.withdrawalSettings))
|
|
602
|
+
return "PENDING_PARTNER_CREATION";
|
|
603
|
+
}
|
|
604
|
+
// Fallback: when rewardStatus() forced PENDING because the user is
|
|
605
|
+
// connected but hasn't set up withdrawal settings (no pendingReasons
|
|
606
|
+
// were returned by the API, e.g. for credit rewards with a PFT).
|
|
607
|
+
if (reward.rewardedCash) {
|
|
608
|
+
if (!(taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.connected) ||
|
|
609
|
+
((taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.connected) &&
|
|
610
|
+
!((_r = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _r === void 0 ? void 0 : _r.withdrawalSettings)))
|
|
593
611
|
return "PENDING_PARTNER_CREATION";
|
|
594
612
|
}
|
|
595
|
-
if ((
|
|
613
|
+
if ((_s = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _s === void 0 ? void 0 : _s.includes("MISSING_PAYOUT_CONFIGURATION")) {
|
|
596
614
|
return "PENDING_PARTNER_CREATION";
|
|
597
615
|
}
|
|
598
616
|
if (reward.statuses.length === 1)
|
|
@@ -652,7 +670,7 @@ const ReferralTableRewardsCell = class {
|
|
|
652
670
|
date: getTimeDiff(reward.dateScheduledFor),
|
|
653
671
|
}))) : (h$1("sl-badge", { class: getBadgeCSSClass(slBadgeType), type: slBadgeType, pill: true }, badgeText)), reward.dateExpires && state === "AVAILABLE" && (h$1("sl-badge", { class: getBadgeCSSClass(slBadgeType), type: "info", pill: true }, this.expiringText, ` ${getTimeDiff(reward.dateExpires)}`)))), h$1("div", null, state === "PENDING_REVIEW" && ((_c = reward.referral) === null || _c === void 0 ? void 0 : _c.dateModerated) && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-cell-value" }, luxon.DateTime.fromMillis(reward.referral.dateModerated)
|
|
654
672
|
.setLocale(luxonLocale(this.locale))
|
|
655
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "
|
|
673
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PROCESSING" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PAYOUT_APPROVED" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PAYOUT_FAILED" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PAYOUT_CANCELLED" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PENDING_TAX_REVIEW" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PENDING_NEW_TAX_FORM" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PENDING_TAX_SUBMISSION" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "PENDING_PARTNER_CREATION" && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText))), state === "DENIED" && ((_d = reward.referral) === null || _d === void 0 ? void 0 : _d.dateModerated) && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-cell-value" }, luxon.DateTime.fromMillis(reward.referral.dateModerated)
|
|
656
674
|
.setLocale(luxonLocale(this.locale))
|
|
657
675
|
.toLocaleString(luxon.DateTime.DATE_MED)), ".", this.deniedHelpText ? ` ${this.deniedHelpText}` : ``))), reward.dateGiven && (h$1("div", null, h$1(TextSpanView, { type: "p" }, this.rewardReceivedText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-cell-value" }, luxon.DateTime.fromMillis(reward.dateGiven)
|
|
658
676
|
.setLocale(luxonLocale(this.locale))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-02cb914c.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-bf46ba54.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|