@saasquatch/mint-components 2.2.0-1 → 2.2.0-10
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/{ShadowViewAddon-2b3f51be.js → ShadowViewAddon-3b477e58.js} +434 -32
- package/dist/cjs/{data-6b5095f8.js → data-89ac73dd.js} +2 -1
- package/dist/cjs/{global-0f8b1267.js → global-b7b1b8fe.js} +3126 -3177
- package/dist/cjs/{index.module-42d413d9.js → index.module-f8c8495f.js} +149 -154
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-69bde9ee.js → re-render-72a0ef45.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +53 -312
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +421 -47
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +60 -38
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-d90f8941.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-818d9e9a.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-20693e59.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-partner-info-modal-view-431ff976.js → sqm-partner-info-modal-view-f6faecf5.js} +9 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
- package/dist/cjs/{sqm-portal-email-verification-view-60f8e0a7.js → sqm-portal-email-verification-view-abb773a7.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-2bfd7afd.js → sqm-portal-profile-view-3515e1e5.js} +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-registration-form-view-fd48f1d3.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-d90d77f9.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-b31638f8.js → sqm-portal-verify-email-view-717d0633.js} +2 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +33 -15
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +35 -14
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +723 -345
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-text-span-view-8a32dd8c.js → sqm-text-span-view-b9e10f5d.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-user-info-form-view-f1127a60.js → sqm-user-info-form-view-0e1ddbe4.js} +4 -389
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
- package/dist/cjs/{usePayoutStatus-cf050a03.js → useIndirectTaxForm-c3c1ec56.js} +292 -1
- package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
- package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
- package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
- package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
- package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
- package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
- package/dist/cjs/utils-a3b3d05b.js +478 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-big-stat/useBigStat.js +5 -6
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -3
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +11 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +8 -2
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +39 -10
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +24 -19
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
- 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/TaxAndCashReferralTableRewardsCell.stories.js +209 -157
- 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/TaxAndCashRewardsTableCell.stories.js +223 -148
- 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-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
- package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +43 -0
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +19 -0
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +175 -0
- package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +30 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +19 -9
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -1
- package/dist/collection/components/tax-and-cash/data.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +19 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +50 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +65 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +49 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
- package/dist/esm/{ShadowViewAddon-78b791d2.js → ShadowViewAddon-e115fa1c.js} +435 -34
- package/dist/esm/{data-33c16dff.js → data-8698cbc6.js} +2 -1
- package/dist/esm/{global-39f55ec2.js → global-75e96214.js} +3126 -3177
- package/dist/esm/{index.module-cede12c6.js → index.module-02cb914c.js} +150 -153
- package/dist/esm/{keys-d7c5c851.js → keys-1054056a.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-7a0c7976.js → re-render-bf46ba54.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +42 -301
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +421 -48
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +61 -39
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- 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-7cee2b4e.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-11a4f9a9.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-48e7e0d3.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-b3c33bc3.js → sqm-partner-info-modal-view-d6f3a215.js} +9 -3
- 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-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
- package/dist/esm/{sqm-portal-email-verification-view-33f5c108.js → sqm-portal-email-verification-view-fde1eb35.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +8 -8
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-88fd6a93.js → sqm-portal-profile-view-2018590a.js} +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/{sqm-portal-registration-form-view-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f8d1689c.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-0b70c1b1.js → sqm-portal-verify-email-view-590f964b.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +33 -15
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- 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 +721 -343
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-text-span-view-4db9e33f.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{sqm-user-info-form-view-e732dc4d.js → sqm-user-info-form-view-e1ba6009.js} +4 -386
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/{useChildElements-c26d7347.js → useChildElements-06937df7.js} +1 -1
- package/dist/esm/{usePayoutStatus-fa504d49.js → useIndirectTaxForm-b2888ea5.js} +291 -3
- package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69c9ffe0.js} +2 -2
- package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-332b2796.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-3a1f36a2.js} +2 -2
- package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-25f8b792.js} +1 -1
- package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-03d32c6f.js} +3 -3
- package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-aa44cfff.js} +1 -1
- package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-9f2c0bab.js} +1 -1
- package/dist/esm/{utilities-c9e730ed.js → utilities-cbd8f2eb.js} +1 -1
- package/dist/esm/utils-4f5cd04c.js +467 -0
- package/dist/esm-es5/ShadowViewAddon-e115fa1c.js +1 -0
- package/dist/esm-es5/data-8698cbc6.js +1 -0
- package/dist/esm-es5/global-75e96214.js +271 -0
- package/dist/esm-es5/index.module-02cb914c.js +1 -0
- package/dist/esm-es5/{keys-d7c5c851.js → keys-1054056a.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-7a0c7976.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 -1
- 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-7cee2b4e.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-11a4f9a9.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-48e7e0d3.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-container-view-200c9df8.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-33f5c108.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-88fd6a93.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-registration-form-view-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-f8d1689c.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-0b70c1b1.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-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-4db9e33f.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm-es5/sqm-text-span.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-c26d7347.js → useChildElements-06937df7.js} +1 -1
- package/dist/esm-es5/useIndirectTaxForm-b2888ea5.js +6 -0
- package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69c9ffe0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-332b2796.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-3a1f36a2.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-25f8b792.js} +1 -1
- package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-03d32c6f.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-aa44cfff.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-9f2c0bab.js} +1 -1
- package/dist/esm-es5/{utilities-c9e730ed.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-52748a87.system.entry.js → p-025ddad2.system.entry.js} +1 -1
- package/dist/mint-components/{p-5c9d030a.system.entry.js → p-02c0f88e.system.entry.js} +1 -1
- package/dist/mint-components/{p-140e6a15.system.js → p-02e2b13b.system.js} +1 -1
- package/dist/mint-components/{p-095b7128.js → p-0766438e.js} +1 -1
- package/dist/mint-components/{p-86381dc7.system.js → p-0815b973.system.js} +1 -1
- package/dist/mint-components/{p-37658fec.entry.js → p-092c2606.entry.js} +1 -1
- package/dist/mint-components/{p-6a4496b3.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-0b1e90fe.system.js +1 -0
- package/dist/mint-components/{p-3756d0d1.system.entry.js → p-0b32e1d4.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b33e2a7.system.js → p-1317cc92.system.js} +1 -1
- package/dist/mint-components/{p-45475cf9.system.entry.js → p-13bb56a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-731c4d33.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-438f6702.js → p-13d8ecad.js} +152 -152
- package/dist/mint-components/{p-9c1b0c8b.entry.js → p-14183edc.entry.js} +1 -1
- package/dist/mint-components/{p-3461a8cb.entry.js → p-1599a178.entry.js} +1 -1
- package/dist/mint-components/p-1b0326d1.entry.js +1 -0
- 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-1efb42e2.js +499 -0
- package/dist/mint-components/p-1f387c7b.system.js +1 -0
- package/dist/mint-components/{p-21e7079a.system.entry.js → p-209157a9.system.entry.js} +1 -1
- package/dist/mint-components/p-2190dc73.system.js +1 -0
- package/dist/mint-components/{p-60085f20.system.entry.js → p-24f1d342.system.entry.js} +1 -1
- package/dist/mint-components/{p-a67f2ccf.entry.js → p-27daf264.entry.js} +1 -1
- package/dist/mint-components/{p-991f60fc.entry.js → p-29bc5f50.entry.js} +2 -2
- package/dist/mint-components/p-2d3f7b76.system.entry.js +1 -0
- package/dist/mint-components/p-2ed13619.entry.js +1 -0
- package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-30cfe3e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-6b1a6b0c.system.js → p-31815fb6.system.js} +1 -1
- package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-3354cc75.system.entry.js} +1 -1
- package/dist/mint-components/p-335a5736.entry.js +1 -0
- package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-33ca28ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-63102c04.entry.js → p-3596e241.entry.js} +5 -5
- package/dist/mint-components/{p-28e0062c.system.js → p-376c7608.system.js} +1 -1
- package/dist/mint-components/p-37e24621.system.entry.js +1 -0
- package/dist/mint-components/{p-0c43b6ff.entry.js → p-38d04e4b.entry.js} +1 -1
- package/dist/mint-components/{p-857a2d77.js → p-3a41b39c.js} +1 -1
- package/dist/mint-components/{p-f972e5c9.entry.js → p-3bbc0db2.entry.js} +1 -1
- package/dist/mint-components/{p-9e43f1eb.entry.js → p-432a44de.entry.js} +3 -2
- package/dist/mint-components/{p-3c88d2ed.js → p-45230a44.js} +2 -2
- package/dist/mint-components/p-4691e9d5.system.js +1 -0
- package/dist/mint-components/{p-1d49dddc.entry.js → p-4d73a616.entry.js} +1 -1
- package/dist/mint-components/{p-160828b4.entry.js → p-4e3db52b.entry.js} +1 -1
- package/dist/mint-components/{p-bcadd021.js → p-4eaa3eb7.js} +1 -1
- package/dist/mint-components/{p-62212b9a.entry.js → p-4eadbd5b.entry.js} +1 -1
- package/dist/mint-components/{p-1bff74c0.js → p-4f9dc974.js} +1 -1
- package/dist/mint-components/{p-247cfbdc.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-8ecc8875.js → p-5c52100b.js} +2 -1
- package/dist/mint-components/{p-7547180f.system.js → p-5fdf0286.system.js} +1 -1
- package/dist/mint-components/{p-f11d29fd.entry.js → p-60b1f3d9.entry.js} +1 -1
- package/dist/mint-components/{p-95aaf35a.system.entry.js → p-623a0a0b.system.entry.js} +1 -1
- package/dist/mint-components/{p-f368f04a.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/{p-16deb1a9.system.entry.js → p-6b4e5d94.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8e45671.system.entry.js → p-6f6c3ac6.system.entry.js} +1 -1
- package/dist/mint-components/{p-379cb9f1.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/{p-00463c83.system.js → p-7628e56f.system.js} +1 -1
- package/dist/mint-components/{p-f4a57aed.entry.js → p-78e6dc8d.entry.js} +1 -1
- package/dist/mint-components/{p-3c333076.js → p-7a091fa7.js} +1 -1
- package/dist/mint-components/{p-9d6984e7.entry.js → p-7cbdf341.entry.js} +2 -2
- package/dist/mint-components/p-7d2d9ef9.system.js +1 -0
- package/dist/mint-components/{p-b5fed7c6.entry.js → p-7ea3f49c.entry.js} +1 -1
- package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-81bc6dca.system.entry.js} +1 -1
- package/dist/mint-components/{p-19293c16.entry.js → p-84495fb8.entry.js} +1 -1
- package/dist/mint-components/{p-691d34f1.system.entry.js → p-86d20b47.system.entry.js} +1 -1
- package/dist/mint-components/p-87f86492.js +1 -0
- package/dist/mint-components/{p-71561bb2.system.entry.js → p-8899ff38.system.entry.js} +1 -1
- package/dist/mint-components/p-8a6531d2.js +1 -0
- package/dist/mint-components/p-8ae8968c.js +1 -0
- package/dist/mint-components/p-8e148cb0.system.js +271 -0
- package/dist/mint-components/p-8f15bf17.entry.js +1 -0
- package/dist/mint-components/{p-1b0cbbae.entry.js → p-921eb024.entry.js} +1 -1
- package/dist/mint-components/{p-2f4d8ab8.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-b5c0bad5.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-9f48640d.js +1 -0
- package/dist/mint-components/p-a38eece5.system.entry.js +1 -0
- package/dist/mint-components/{p-df88dcaa.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/p-a49d9288.entry.js +1 -0
- package/dist/mint-components/{p-357040e6.system.entry.js → p-ab59c5eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-8474aa63.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-d355336b.system.js → p-b2ad3fca.system.js} +1 -1
- package/dist/mint-components/{p-5dc9e95b.entry.js → p-b3309d9b.entry.js} +1 -1
- package/dist/mint-components/{p-45e2a83a.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/p-b419f9ac.entry.js +299 -0
- package/dist/mint-components/{p-567a5ded.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-32d078a3.js → p-bb0b5e4b.js} +1 -1
- package/dist/mint-components/{p-608da224.entry.js → p-bcfdb510.entry.js} +1 -1
- package/dist/mint-components/p-be6a0dee.system.js +1 -0
- package/dist/mint-components/{p-a7f72a66.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/{p-092db51a.js → p-bf9ab2d3.js} +1 -1
- package/dist/mint-components/{p-3c555674.js → p-c0a85e22.js} +1 -1
- package/dist/mint-components/{p-fe944f94.system.entry.js → p-c0f8f977.system.entry.js} +1 -1
- package/dist/mint-components/p-c41d536d.entry.js +1 -0
- package/dist/mint-components/{p-77117f6c.system.js → p-c66e5217.system.js} +1 -1
- package/dist/mint-components/{p-50d959bd.js → p-c813ec64.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-8f9c1387.js → p-cfea215d.js} +1 -1
- package/dist/mint-components/p-d08408b3.entry.js +1 -0
- package/dist/mint-components/{p-a86ce218.system.js → p-d284ae70.system.js} +1 -1
- package/dist/mint-components/{p-998c989a.system.entry.js → p-d34564f8.system.entry.js} +1 -1
- package/dist/mint-components/{p-e1292288.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
- package/dist/mint-components/p-db6bf7cf.system.entry.js +1 -0
- package/dist/mint-components/{p-b451970a.system.entry.js → p-df897432.system.entry.js} +1 -1
- package/dist/mint-components/p-e30abc44.js +1 -0
- package/dist/mint-components/{p-3218bb1d.entry.js → p-e506bf7f.entry.js} +1 -1
- package/dist/mint-components/{p-e4dbca9a.system.js → p-e651593c.system.js} +1 -1
- package/dist/mint-components/{p-ecdbe09b.system.entry.js → p-e6de31a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-4723526d.js → p-e8e7af06.js} +1 -1
- package/dist/mint-components/{p-36395228.system.js → p-e920c95c.system.js} +1 -1
- package/dist/mint-components/{p-0d75a207.js → p-eae44b42.js} +1 -1
- package/dist/mint-components/p-ebc519bc.system.js +1 -0
- package/dist/mint-components/{p-886fb141.entry.js → p-ef32fa8f.entry.js} +1 -1
- package/dist/mint-components/p-f32050f6.system.js +1 -0
- package/dist/mint-components/{p-d5a1c979.system.entry.js → p-f6de2e5c.system.entry.js} +1 -1
- package/dist/mint-components/{p-7a08d288.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-checkbox-field/sqm-checkbox-field.d.ts +1 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +2 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +1 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +8 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
- package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +16 -0
- package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +18 -7
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
- package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +11 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +8 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +45 -0
- package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +3 -0
- package/dist/types/components/tax-and-cash/data.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +8 -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-tax-and-cash/sqm-tax-and-cash.d.ts +10 -0
- package/dist/types/components.d.ts +487 -6
- package/dist/types/saasquatch.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +122783 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/readme.md +60 -1
- package/dist/cjs/utils-a8e0bd9b.js +0 -93
- package/dist/esm/utils-8267d3d8.js +0 -85
- package/dist/esm-es5/ShadowViewAddon-78b791d2.js +0 -1
- package/dist/esm-es5/data-33c16dff.js +0 -1
- package/dist/esm-es5/global-39f55ec2.js +0 -285
- package/dist/esm-es5/index.module-cede12c6.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-b3c33bc3.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-e732dc4d.js +0 -1
- package/dist/esm-es5/usePayoutStatus-fa504d49.js +0 -6
- package/dist/esm-es5/utils-8267d3d8.js +0 -1
- package/dist/mint-components/p-0553e659.js +0 -463
- package/dist/mint-components/p-0b2a428f.system.entry.js +0 -1
- package/dist/mint-components/p-0fec43e8.system.js +0 -1
- package/dist/mint-components/p-16416781.system.entry.js +0 -1
- package/dist/mint-components/p-1c413a06.system.js +0 -1
- package/dist/mint-components/p-28fe7357.system.entry.js +0 -1
- package/dist/mint-components/p-3181e54a.entry.js +0 -1
- package/dist/mint-components/p-36b91873.entry.js +0 -11
- package/dist/mint-components/p-370e0d75.js +0 -1
- package/dist/mint-components/p-38dc2f60.entry.js +0 -1
- package/dist/mint-components/p-440d3788.entry.js +0 -133
- package/dist/mint-components/p-4c47beb0.system.js +0 -1
- package/dist/mint-components/p-55627a5c.entry.js +0 -1
- package/dist/mint-components/p-5e26014d.system.js +0 -1
- package/dist/mint-components/p-63c299f1.system.js +0 -1
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-6d15ce09.system.entry.js +0 -1
- package/dist/mint-components/p-70a90ad8.system.entry.js +0 -1
- package/dist/mint-components/p-70e34ae1.system.js +0 -6
- package/dist/mint-components/p-7a744cb2.entry.js +0 -9
- package/dist/mint-components/p-7e36a1ff.js +0 -1
- package/dist/mint-components/p-837c4cf8.js +0 -1
- package/dist/mint-components/p-86a70151.entry.js +0 -1
- package/dist/mint-components/p-8b258a3e.system.js +0 -1
- package/dist/mint-components/p-96e4e6a4.entry.js +0 -1
- package/dist/mint-components/p-987a54e2.system.js +0 -1
- package/dist/mint-components/p-996eb820.entry.js +0 -1
- package/dist/mint-components/p-a8891ebd.js +0 -1
- package/dist/mint-components/p-a8ecdc44.system.js +0 -1
- package/dist/mint-components/p-b1b8e629.system.js +0 -1
- package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
- package/dist/mint-components/p-b699f76e.system.js +0 -1
- package/dist/mint-components/p-b6a1e2ac.js +0 -1
- package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
- package/dist/mint-components/p-c84a2512.system.js +0 -1
- package/dist/mint-components/p-ce11858c.js +0 -1
- package/dist/mint-components/p-d01949f7.system.entry.js +0 -1
- package/dist/mint-components/p-d20188db.js +0 -1
- package/dist/mint-components/p-d43c728e.entry.js +0 -291
- package/dist/mint-components/p-d6714617.entry.js +0 -1
- package/dist/mint-components/p-dd5d8095.js +0 -1
- package/dist/mint-components/p-e95402dc.js +0 -49
- package/dist/mint-components/p-e9e05970.system.entry.js +0 -1
- package/dist/mint-components/p-ed3ae5ba.system.js +0 -1
- package/dist/mint-components/p-ee0f1cf1.system.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import { b as buildFontsCssUrl, i as intl } from './global-
|
|
2
|
+
import { b as buildFontsCssUrl, i as intl } from './global-75e96214.js';
|
|
3
3
|
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn,
|
|
4
|
+
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn, o as Ue, s as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn, p as En, X as Xe } from './index.module-02cb914c.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './useReferralCodes-
|
|
9
|
+
import './useReferralCodes-25f8b792.js';
|
|
10
10
|
import './mixins-f750863a.js';
|
|
11
11
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
12
|
-
import './sqm-text-span-view-
|
|
13
|
-
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-
|
|
14
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-
|
|
15
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
16
|
-
import { a as useRequestRerender } from './re-render-
|
|
17
|
-
import { u as useChildElements } from './useChildElements-
|
|
18
|
-
import './luxon-1be92a8e.js';
|
|
12
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
13
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-3a1f36a2.js';
|
|
14
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-aa44cfff.js';
|
|
15
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
16
|
+
import { a as useRequestRerender } from './re-render-bf46ba54.js';
|
|
17
|
+
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
18
|
+
import { l as luxon } from './luxon-1be92a8e.js';
|
|
19
19
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
20
20
|
import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
|
|
21
21
|
import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
|
|
22
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
23
|
-
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-
|
|
24
|
-
import { i as isEmpty } from './utilities-
|
|
22
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-69c9ffe0.js';
|
|
23
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-332b2796.js';
|
|
24
|
+
import { i as isEmpty } from './utilities-cbd8f2eb.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
26
|
-
import { u as useDemoBigStat,
|
|
27
|
-
import './sqm-portal-container-view-
|
|
28
|
-
import { g as getCountryObj, L as LoadingView } from './utils-
|
|
29
|
-
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-
|
|
30
|
-
import { S as SHOW_CODE_NAMESPACE, a as SHOW_PARTNER_MODAL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE
|
|
26
|
+
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-e115fa1c.js';
|
|
27
|
+
import './sqm-portal-container-view-200c9df8.js';
|
|
28
|
+
import { g as getCountryObj, L as LoadingView } from './utils-4f5cd04c.js';
|
|
29
|
+
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-8698cbc6.js';
|
|
30
|
+
import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, b as SHOW_PARTNER_MODAL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-1054056a.js';
|
|
31
31
|
import './eventKeys-f76b6a03.js';
|
|
32
|
-
import { u as usePayoutStatus } from './
|
|
32
|
+
import { u as usePayoutStatus, C as COMPLETE_PARTNER } from './useIndirectTaxForm-b2888ea5.js';
|
|
33
33
|
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -787,7 +787,7 @@ const CheckboxField = class {
|
|
|
787
787
|
*/
|
|
788
788
|
this.checkboxLabelLink = "https://example.com";
|
|
789
789
|
/**
|
|
790
|
-
* @uiName Checkbox label link
|
|
790
|
+
* @uiName Checkbox label link text
|
|
791
791
|
*/
|
|
792
792
|
this.checkboxLabelLinkText = "Terms and Conditions";
|
|
793
793
|
/**
|
|
@@ -4619,6 +4619,11 @@ const SqmReferralIframe = class {
|
|
|
4619
4619
|
* @uiName IFrame width
|
|
4620
4620
|
*/
|
|
4621
4621
|
this.iframeWidth = "100%";
|
|
4622
|
+
/**
|
|
4623
|
+
* Override the default parameter name used in the iframe
|
|
4624
|
+
* @uiName Referral code parameter name
|
|
4625
|
+
*/
|
|
4626
|
+
this.codeParam = "rsCode";
|
|
4622
4627
|
h(this);
|
|
4623
4628
|
}
|
|
4624
4629
|
disconnectedCallback() { }
|
|
@@ -6053,7 +6058,6 @@ function useDemoShareCode(props) {
|
|
|
6053
6058
|
borderRadius: props.borderRadius,
|
|
6054
6059
|
borderColor: props.borderColor,
|
|
6055
6060
|
buttonType: props.buttonType,
|
|
6056
|
-
rewardStatus: "AVAILABLE",
|
|
6057
6061
|
open,
|
|
6058
6062
|
onClick: () => {
|
|
6059
6063
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6113,6 +6117,199 @@ const ShareLink = class {
|
|
|
6113
6117
|
* @uiGroup Style
|
|
6114
6118
|
*/
|
|
6115
6119
|
this.buttonStyle = "icon";
|
|
6120
|
+
/**
|
|
6121
|
+
* Let advocates customize their share links up to 5 times.
|
|
6122
|
+
*
|
|
6123
|
+
* @uiName Allow customization
|
|
6124
|
+
* @uiType boolean
|
|
6125
|
+
* @uiGroup Customizable Vanity Link
|
|
6126
|
+
* @uiWidget CustomLinkSwitch
|
|
6127
|
+
* @requiredFlavor impact
|
|
6128
|
+
*/
|
|
6129
|
+
this.allowCustomization = false;
|
|
6130
|
+
/**
|
|
6131
|
+
* Text for the cancel button in editing mode
|
|
6132
|
+
*
|
|
6133
|
+
* @uiName Cancel button label
|
|
6134
|
+
* @uiType string
|
|
6135
|
+
* @uiGroup Customizable Vanity Link
|
|
6136
|
+
* @requiredFlavor impact
|
|
6137
|
+
*/
|
|
6138
|
+
this.cancelLabelText = "Cancel";
|
|
6139
|
+
/**
|
|
6140
|
+
* Tooltip text shown when link customization is disabled
|
|
6141
|
+
*
|
|
6142
|
+
* @uiName Customize disabled tooltip
|
|
6143
|
+
* @uiType string
|
|
6144
|
+
* @uiGroup Customizable Vanity Link
|
|
6145
|
+
* @requiredFlavor impact
|
|
6146
|
+
*/
|
|
6147
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6148
|
+
/**
|
|
6149
|
+
* Displayed below the share link.
|
|
6150
|
+
*
|
|
6151
|
+
* @uiName Customize link button label
|
|
6152
|
+
* @uiType string
|
|
6153
|
+
* @uiGroup Customizable Vanity Link
|
|
6154
|
+
* @requiredFlavor impact
|
|
6155
|
+
*/
|
|
6156
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6157
|
+
/**
|
|
6158
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6159
|
+
*
|
|
6160
|
+
* @uiName Edit limit reached text
|
|
6161
|
+
* @uiType string
|
|
6162
|
+
* @uiWidget textarea
|
|
6163
|
+
* @uiGroup Customizable Vanity Link
|
|
6164
|
+
* @requiredFlavor impact
|
|
6165
|
+
*/
|
|
6166
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6167
|
+
/**
|
|
6168
|
+
* Subtext shown while the user is customizing their URL.
|
|
6169
|
+
*
|
|
6170
|
+
* @uiName Edit limit text
|
|
6171
|
+
* @uiType string
|
|
6172
|
+
* @uiGroup Customizable Vanity Link
|
|
6173
|
+
* @requiredFlavor impact
|
|
6174
|
+
*/
|
|
6175
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6176
|
+
/**
|
|
6177
|
+
* Description text shown when the link contains invalid special characters.
|
|
6178
|
+
*
|
|
6179
|
+
* @uiName Invalid characters error description
|
|
6180
|
+
* @uiType string
|
|
6181
|
+
* @uiWidget textarea
|
|
6182
|
+
* @uiGroup Customizable Vanity Link
|
|
6183
|
+
* @requiredFlavor impact
|
|
6184
|
+
*/
|
|
6185
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6186
|
+
/**
|
|
6187
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6188
|
+
*
|
|
6189
|
+
* @uiName Invalid characters error title
|
|
6190
|
+
* @uiType string
|
|
6191
|
+
* @uiGroup Customizable Vanity Link
|
|
6192
|
+
* @requiredFlavor impact
|
|
6193
|
+
*/
|
|
6194
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6195
|
+
/**
|
|
6196
|
+
* Description text shown when the link has already been taken
|
|
6197
|
+
*
|
|
6198
|
+
* @uiName Link taken error message
|
|
6199
|
+
* @uiType string
|
|
6200
|
+
* @uiWidget textarea
|
|
6201
|
+
* @uiGroup Customizable Vanity Link
|
|
6202
|
+
* @requiredFlavor impact
|
|
6203
|
+
*/
|
|
6204
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6205
|
+
/**
|
|
6206
|
+
* Title of the error message shown when the link has already been taken
|
|
6207
|
+
*
|
|
6208
|
+
* @uiName Link taken error title
|
|
6209
|
+
* @uiType string
|
|
6210
|
+
* @uiGroup Customizable Vanity Link
|
|
6211
|
+
* @requiredFlavor impact
|
|
6212
|
+
*/
|
|
6213
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6214
|
+
/**
|
|
6215
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6216
|
+
*
|
|
6217
|
+
* @uiName Restricted words error description
|
|
6218
|
+
* @uiType string
|
|
6219
|
+
* @uiWidget textarea
|
|
6220
|
+
* @uiGroup Customizable Vanity Link
|
|
6221
|
+
* @requiredFlavor impact
|
|
6222
|
+
*/
|
|
6223
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6224
|
+
/**
|
|
6225
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6226
|
+
*
|
|
6227
|
+
* @uiName Restricted words error title
|
|
6228
|
+
* @uiType string
|
|
6229
|
+
* @uiGroup Customizable Vanity Link
|
|
6230
|
+
* @requiredFlavor impact
|
|
6231
|
+
*/
|
|
6232
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6233
|
+
/**
|
|
6234
|
+
* Text for the save button in editing mode
|
|
6235
|
+
*
|
|
6236
|
+
* @uiName Save button label
|
|
6237
|
+
* @uiType string
|
|
6238
|
+
* @uiGroup Customizable Vanity Link
|
|
6239
|
+
* @requiredFlavor impact
|
|
6240
|
+
*/
|
|
6241
|
+
this.saveLabelText = "Save";
|
|
6242
|
+
/**
|
|
6243
|
+
* Text for the save button while saving is in progress
|
|
6244
|
+
*
|
|
6245
|
+
* @uiName Saving button label
|
|
6246
|
+
* @uiType string
|
|
6247
|
+
* @uiGroup Customizable Vanity Link
|
|
6248
|
+
* @requiredFlavor impact
|
|
6249
|
+
*/
|
|
6250
|
+
this.savingLabelText = "Saving...";
|
|
6251
|
+
/**
|
|
6252
|
+
* Label shown above the link input while editing
|
|
6253
|
+
*
|
|
6254
|
+
* @uiName Edit input label
|
|
6255
|
+
* @uiType string
|
|
6256
|
+
* @uiGroup Customizable Vanity Link
|
|
6257
|
+
* @requiredFlavor impact
|
|
6258
|
+
*/
|
|
6259
|
+
this.editLabelText = "Enter your link";
|
|
6260
|
+
/**
|
|
6261
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
6262
|
+
*
|
|
6263
|
+
* @uiName Characters remaining text
|
|
6264
|
+
* @uiType string
|
|
6265
|
+
* @uiGroup Customizable Vanity Link
|
|
6266
|
+
* @requiredFlavor impact
|
|
6267
|
+
*/
|
|
6268
|
+
this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
|
|
6269
|
+
/**
|
|
6270
|
+
* Text shown while the link is being validated
|
|
6271
|
+
*
|
|
6272
|
+
* @uiName Validating label
|
|
6273
|
+
* @uiType string
|
|
6274
|
+
* @uiGroup Customizable Vanity Link
|
|
6275
|
+
* @requiredFlavor impact
|
|
6276
|
+
*/
|
|
6277
|
+
this.validatingLabelText = "Validating...";
|
|
6278
|
+
/**
|
|
6279
|
+
* @uiName Min characters text
|
|
6280
|
+
* @uiType string
|
|
6281
|
+
* @uiGroup Customizable Vanity Link
|
|
6282
|
+
* @requiredFlavor impact
|
|
6283
|
+
*/
|
|
6284
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6285
|
+
/**
|
|
6286
|
+
* Display text for the support link in the edit limit reached message
|
|
6287
|
+
*
|
|
6288
|
+
* @uiName Support link text
|
|
6289
|
+
* @uiType string
|
|
6290
|
+
* @uiGroup Customizable Vanity Link
|
|
6291
|
+
* @requiredFlavor impact
|
|
6292
|
+
*/
|
|
6293
|
+
this.supportLinkText = "Support";
|
|
6294
|
+
/**
|
|
6295
|
+
* Title shown when saving fails with an unknown error
|
|
6296
|
+
*
|
|
6297
|
+
* @uiName Save error title
|
|
6298
|
+
* @uiType string
|
|
6299
|
+
* @uiGroup Customizable Vanity Link
|
|
6300
|
+
* @requiredFlavor impact
|
|
6301
|
+
*/
|
|
6302
|
+
this.saveErrorTitle = "Error";
|
|
6303
|
+
/**
|
|
6304
|
+
* Description shown when saving fails with an unknown error
|
|
6305
|
+
*
|
|
6306
|
+
* @uiName Save error description
|
|
6307
|
+
* @uiType string
|
|
6308
|
+
* @uiWidget textarea
|
|
6309
|
+
* @uiGroup Customizable Vanity Link
|
|
6310
|
+
* @requiredFlavor impact
|
|
6311
|
+
*/
|
|
6312
|
+
this.saveErrorDescription = "Failed to save custom link. Please try again.";
|
|
6116
6313
|
h(this);
|
|
6117
6314
|
}
|
|
6118
6315
|
disconnectedCallback() { }
|
|
@@ -6121,33 +6318,79 @@ const ShareLink = class {
|
|
|
6121
6318
|
const props = isDemo()
|
|
6122
6319
|
? useDemoShareLink(thisProps)
|
|
6123
6320
|
: useShareLink(thisProps);
|
|
6124
|
-
return h$1(
|
|
6321
|
+
return h$1(ShareLinkView, Object.assign({}, props));
|
|
6125
6322
|
}
|
|
6126
6323
|
};
|
|
6127
6324
|
function useDemoShareLink(props) {
|
|
6325
|
+
var _a;
|
|
6128
6326
|
const [open, setOpen] = useState(false);
|
|
6327
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
6328
|
+
const [editValue, setEditValue] = useState("");
|
|
6129
6329
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6330
|
+
const domainPrefix = "https://www.example.com/";
|
|
6331
|
+
const baseProps = {
|
|
6332
|
+
copyTextViewProps: {
|
|
6333
|
+
copyString,
|
|
6334
|
+
tooltiptext: props.tooltiptext,
|
|
6335
|
+
textAlign: props.textAlign,
|
|
6336
|
+
buttonStyle: props.buttonStyle,
|
|
6337
|
+
backgroundColor: props.backgroundColor,
|
|
6338
|
+
textColor: props.textColor,
|
|
6339
|
+
borderRadius: props.borderRadius,
|
|
6340
|
+
buttonType: props.buttonType,
|
|
6341
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6342
|
+
borderColor: props.borderColor,
|
|
6343
|
+
open,
|
|
6344
|
+
onClick: () => {
|
|
6345
|
+
navigator.clipboard.writeText(copyString);
|
|
6346
|
+
setOpen(true);
|
|
6347
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6348
|
+
},
|
|
6149
6349
|
},
|
|
6150
|
-
|
|
6350
|
+
allowCustomization: props.allowCustomization,
|
|
6351
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6352
|
+
saveLabelText: props.saveLabelText,
|
|
6353
|
+
savingLabelText: props.savingLabelText,
|
|
6354
|
+
cancelLabelText: props.cancelLabelText,
|
|
6355
|
+
editLabelText: props.editLabelText,
|
|
6356
|
+
charactersRemainingText: props.charactersRemainingText,
|
|
6357
|
+
validatingLabelText: props.validatingLabelText,
|
|
6358
|
+
isEditing,
|
|
6359
|
+
editValue,
|
|
6360
|
+
domainPrefix,
|
|
6361
|
+
editsRemaining: 5,
|
|
6362
|
+
maxEdits: 5,
|
|
6363
|
+
limitReached: false,
|
|
6364
|
+
validationError: null,
|
|
6365
|
+
isValidating: false,
|
|
6366
|
+
isSaving: false,
|
|
6367
|
+
characterLimit: 15,
|
|
6368
|
+
minCharacters: 3,
|
|
6369
|
+
charactersRemaining: 15 - editValue.length,
|
|
6370
|
+
editLimitText: props.editLimitText,
|
|
6371
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6372
|
+
supportLinkText: props.supportLinkText,
|
|
6373
|
+
minCharactersText: props.minCharactersText,
|
|
6374
|
+
customizeDisabled: false,
|
|
6375
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6376
|
+
onCustomizeClick: () => {
|
|
6377
|
+
setIsEditing(true);
|
|
6378
|
+
setEditValue("");
|
|
6379
|
+
},
|
|
6380
|
+
onEditValueChange: (value) => {
|
|
6381
|
+
setEditValue(value);
|
|
6382
|
+
},
|
|
6383
|
+
onSave: () => {
|
|
6384
|
+
setIsEditing(false);
|
|
6385
|
+
},
|
|
6386
|
+
onCancel: () => {
|
|
6387
|
+
setIsEditing(false);
|
|
6388
|
+
setEditValue("");
|
|
6389
|
+
},
|
|
6390
|
+
};
|
|
6391
|
+
return cjs(baseProps, props.demoData || {}, {
|
|
6392
|
+
arrayMerge: (_, a) => a,
|
|
6393
|
+
});
|
|
6151
6394
|
}
|
|
6152
6395
|
|
|
6153
6396
|
const StatContainer = class {
|
|
@@ -6414,8 +6657,14 @@ function getCurrentStep(user) {
|
|
|
6414
6657
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6415
6658
|
return "/1";
|
|
6416
6659
|
}
|
|
6417
|
-
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6418
|
-
|
|
6660
|
+
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, billingAddress, billingCity, billingCountryCode, billingPostalCode, billingState, phoneNumber, phoneNumberCountryCode, } = user.impactConnection.publisher;
|
|
6661
|
+
const hasBillingInfo = billingAddress &&
|
|
6662
|
+
billingCity &&
|
|
6663
|
+
billingCountryCode &&
|
|
6664
|
+
billingPostalCode &&
|
|
6665
|
+
phoneNumberCountryCode &&
|
|
6666
|
+
phoneNumber;
|
|
6667
|
+
if (!hasBillingInfo) {
|
|
6419
6668
|
return "/1";
|
|
6420
6669
|
}
|
|
6421
6670
|
// If they do have a required document, look at current document
|
|
@@ -6435,6 +6684,7 @@ function useTaxAndCash() {
|
|
|
6435
6684
|
const host = _$1();
|
|
6436
6685
|
const user = J();
|
|
6437
6686
|
const locale = L();
|
|
6687
|
+
const [completeImpactPartner, { loading: completeLoading }] = $e(COMPLETE_PARTNER);
|
|
6438
6688
|
// State for current step of form
|
|
6439
6689
|
const [step, setStep] = In({
|
|
6440
6690
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
@@ -6542,16 +6792,54 @@ function useTaxAndCash() {
|
|
|
6542
6792
|
setCurrenciesContext(supportedCurrencies);
|
|
6543
6793
|
}, [supportedCurrencies]);
|
|
6544
6794
|
useEffect(() => {
|
|
6795
|
+
var _a;
|
|
6545
6796
|
if (errors) {
|
|
6546
6797
|
setStep("/error");
|
|
6547
6798
|
return;
|
|
6548
6799
|
}
|
|
6549
6800
|
if (!host || !user)
|
|
6550
6801
|
return;
|
|
6802
|
+
async function completeConnection(user) {
|
|
6803
|
+
var _a, _b, _c, _d, _e, _f;
|
|
6804
|
+
const publisher = (_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher;
|
|
6805
|
+
const hasBillingInfo = publisher.billingAddress &&
|
|
6806
|
+
publisher.billingCity &&
|
|
6807
|
+
publisher.billingCountryCode &&
|
|
6808
|
+
publisher.billingPostalCode &&
|
|
6809
|
+
publisher.phoneNumberCountryCode &&
|
|
6810
|
+
publisher.phoneNumber;
|
|
6811
|
+
if (hasBillingInfo &&
|
|
6812
|
+
((_b = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _b === void 0 ? void 0 : _b.connectionStatus) === "STARTED") {
|
|
6813
|
+
const vars = {
|
|
6814
|
+
user: {
|
|
6815
|
+
id: (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.id,
|
|
6816
|
+
accountId: (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.accountId,
|
|
6817
|
+
},
|
|
6818
|
+
firstName: (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.firstName,
|
|
6819
|
+
lastName: (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.lastName,
|
|
6820
|
+
countryCode: publisher.billingCountryCode,
|
|
6821
|
+
currency: publisher.currency,
|
|
6822
|
+
address: publisher.billingAddress,
|
|
6823
|
+
city: publisher.billingCity,
|
|
6824
|
+
state: publisher.billingState,
|
|
6825
|
+
postalCode: publisher.billingPostalCode,
|
|
6826
|
+
phoneNumber: publisher.phoneNumber,
|
|
6827
|
+
phoneNumberCountryCode: publisher.phoneNumberCountryCode,
|
|
6828
|
+
};
|
|
6829
|
+
await completeImpactPartner({
|
|
6830
|
+
vars,
|
|
6831
|
+
});
|
|
6832
|
+
}
|
|
6833
|
+
}
|
|
6551
6834
|
if (data) {
|
|
6552
6835
|
const user = data === null || data === void 0 ? void 0 : data.user;
|
|
6553
6836
|
if (!user || step !== "/loading")
|
|
6554
6837
|
return;
|
|
6838
|
+
if (((_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) &&
|
|
6839
|
+
(user === null || user === void 0 ? void 0 : user.impactConnection.connectionStatus) === "STARTED") {
|
|
6840
|
+
completeConnection(user);
|
|
6841
|
+
refetch();
|
|
6842
|
+
}
|
|
6555
6843
|
const currentStep = getCurrentStep(user);
|
|
6556
6844
|
setStep(currentStep);
|
|
6557
6845
|
}
|
|
@@ -6733,7 +7021,7 @@ const TaxAndCashMonolith = class {
|
|
|
6733
7021
|
* @uiName Indirect tax number field label
|
|
6734
7022
|
* @uiGroup Step 2 Properties
|
|
6735
7023
|
*/
|
|
6736
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
7024
|
+
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}";
|
|
6737
7025
|
/**
|
|
6738
7026
|
* @uiName Province field label
|
|
6739
7027
|
* @uiGroup Step 2 Properties
|
|
@@ -6743,7 +7031,7 @@ const TaxAndCashMonolith = class {
|
|
|
6743
7031
|
* @uiName Missing indirect tax number error message
|
|
6744
7032
|
* @uiGroup Step 2 Properties
|
|
6745
7033
|
*/
|
|
6746
|
-
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
|
|
7034
|
+
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}} is required";
|
|
6747
7035
|
/**
|
|
6748
7036
|
* Displayed to participants registered for QST.
|
|
6749
7037
|
* @uiName QST number field label
|
|
@@ -7056,12 +7344,22 @@ const TaxAndCashMonolith = class {
|
|
|
7056
7344
|
* @uiGroup Step 4 Properties
|
|
7057
7345
|
*/
|
|
7058
7346
|
this.step4_branchCodeLabel = "Branch code";
|
|
7347
|
+
/**
|
|
7348
|
+
* @uiName Branch name field label
|
|
7349
|
+
* @uiGroup Step 4 Properties
|
|
7350
|
+
*/
|
|
7351
|
+
this.step4_branchNameLabel = "Branch name";
|
|
7059
7352
|
/**
|
|
7060
7353
|
* Label text for the classification input field
|
|
7061
7354
|
* @uiName Classification field label
|
|
7062
7355
|
* @uiGroup Step 4 Properties
|
|
7063
7356
|
*/
|
|
7064
7357
|
this.step4_classificationLabel = "Classification";
|
|
7358
|
+
/**
|
|
7359
|
+
* @uiName Classification code field label
|
|
7360
|
+
* @uiGroup Step 4 Properties
|
|
7361
|
+
*/
|
|
7362
|
+
this.step4_classificationCodeLabel = "KBE code";
|
|
7065
7363
|
/**
|
|
7066
7364
|
* @uiName Taxpayer ID field label
|
|
7067
7365
|
* @uiGroup Step 4 Properties
|
|
@@ -7311,7 +7609,7 @@ const TaxAndCashMonolith = class {
|
|
|
7311
7609
|
* @uiName Payout status badge
|
|
7312
7610
|
* @uiGroup Dashboard Properties
|
|
7313
7611
|
*/
|
|
7314
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7612
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
7315
7613
|
/**
|
|
7316
7614
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7317
7615
|
* @uiName Payout schedule by threshold text
|
|
@@ -7887,6 +8185,77 @@ const TimelineReward = class {
|
|
|
7887
8185
|
}
|
|
7888
8186
|
};
|
|
7889
8187
|
|
|
8188
|
+
function UserAttributeView(props) {
|
|
8189
|
+
const style = {
|
|
8190
|
+
P: {
|
|
8191
|
+
margin: "0",
|
|
8192
|
+
padding: "0",
|
|
8193
|
+
fontSize: props.fontSize ? `${props.fontSize}px` : "inherit",
|
|
8194
|
+
fontWeight: props.fontWeight || "inherit",
|
|
8195
|
+
color: props.color || "var(--sqm-text)",
|
|
8196
|
+
},
|
|
8197
|
+
};
|
|
8198
|
+
const sheet = createStyleSheet(style);
|
|
8199
|
+
const styleString = sheet.toString();
|
|
8200
|
+
const loadingSkeleton = (h$1("sqm-skeleton", { width: "200px", height: "20px" }));
|
|
8201
|
+
return (h$1(Host, null,
|
|
8202
|
+
h$1("style", null, styleString),
|
|
8203
|
+
h$1("p", { class: sheet.classes.P, part: "sqm-base" }, props.loading ? loadingSkeleton : props.value)));
|
|
8204
|
+
}
|
|
8205
|
+
|
|
8206
|
+
const GET_CUSTOM_FIELDS = dist.gql `
|
|
8207
|
+
query getCustomFields {
|
|
8208
|
+
viewer {
|
|
8209
|
+
... on User {
|
|
8210
|
+
customFields
|
|
8211
|
+
}
|
|
8212
|
+
}
|
|
8213
|
+
}
|
|
8214
|
+
`;
|
|
8215
|
+
function useUserAttribute(props) {
|
|
8216
|
+
var _a, _b;
|
|
8217
|
+
const user = J();
|
|
8218
|
+
const res = wn(GET_CUSTOM_FIELDS, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
8219
|
+
const loading = res.loading;
|
|
8220
|
+
const customFields = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields;
|
|
8221
|
+
let value = customFields === null || customFields === void 0 ? void 0 : customFields[props.value];
|
|
8222
|
+
if (props.value === "lastSeenDate" && typeof value === "number") {
|
|
8223
|
+
value = luxon.DateTime.fromMillis(value).toLocaleString(luxon.DateTime.DATE_MED);
|
|
8224
|
+
}
|
|
8225
|
+
return {
|
|
8226
|
+
loading,
|
|
8227
|
+
value,
|
|
8228
|
+
fontSize: props.fontSize,
|
|
8229
|
+
color: props.color,
|
|
8230
|
+
fontWeight: props.fontWeight,
|
|
8231
|
+
};
|
|
8232
|
+
}
|
|
8233
|
+
|
|
8234
|
+
const UserAttribute = class {
|
|
8235
|
+
constructor(hostRef) {
|
|
8236
|
+
registerInstance(this, hostRef);
|
|
8237
|
+
this.ignored = true;
|
|
8238
|
+
h(this);
|
|
8239
|
+
}
|
|
8240
|
+
disconnectedCallback() { }
|
|
8241
|
+
render() {
|
|
8242
|
+
const props = isDemo() ? useCustomFieldsDemo(this) : useUserAttribute(this);
|
|
8243
|
+
if (props.value == null) {
|
|
8244
|
+
return h$1(Host, { style: { display: "none" } });
|
|
8245
|
+
}
|
|
8246
|
+
return h$1(UserAttributeView, Object.assign({}, props));
|
|
8247
|
+
}
|
|
8248
|
+
};
|
|
8249
|
+
function useCustomFieldsDemo(props) {
|
|
8250
|
+
return cjs({
|
|
8251
|
+
loading: false,
|
|
8252
|
+
value: "Custom Field Value",
|
|
8253
|
+
fontSize: props.fontSize,
|
|
8254
|
+
color: props.color,
|
|
8255
|
+
fontWeight: props.fontWeight,
|
|
8256
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
8257
|
+
}
|
|
8258
|
+
|
|
7890
8259
|
function UserNameView(props) {
|
|
7891
8260
|
return h$1(Host, null, props.loading ? props.loadingText : props.username);
|
|
7892
8261
|
}
|
|
@@ -7969,6 +8338,10 @@ function useWidgetVerification() {
|
|
|
7969
8338
|
namespace: SHOW_CODE_NAMESPACE,
|
|
7970
8339
|
initialValue: false,
|
|
7971
8340
|
});
|
|
8341
|
+
In({
|
|
8342
|
+
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
8343
|
+
initialValue: undefined,
|
|
8344
|
+
});
|
|
7972
8345
|
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
7973
8346
|
const [loading, setLoading] = useState(true);
|
|
7974
8347
|
const [showPartnerModal, setShowPartnerModal] = In({
|
|
@@ -8300,4 +8673,4 @@ function useDemoWidgetVerificationInternal(props) {
|
|
|
8300
8673
|
}, formatted || {}, { arrayMerge: (_, a) => a });
|
|
8301
8674
|
}
|
|
8302
8675
|
|
|
8303
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name, WidgetVerification as sqm_widget_verification };
|
|
8676
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserAttribute as sqm_user_attribute, UserName as sqm_user_name, WidgetVerification as sqm_widget_verification };
|
|
@@ -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 { g as getEnvironmentSDK } from './index.module-
|
|
3
|
+
import { g as getEnvironmentSDK } from './index.module-02cb914c.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
5
|
import './mixins-f750863a.js';
|
|
6
6
|
import { C as CloseButtonView } from './sqm-close-button-view-fd9012e7.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, 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 { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist,
|
|
4
|
+
import { d as dist, q as Pn, F as Fn, i as isDemo, p as En } 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
8
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
9
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
10
|
-
import {
|
|
11
|
-
import { u as useVerificationEmail } from './useVerificationEmail-
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
10
|
+
import { a as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-1054056a.js';
|
|
11
|
+
import { u as useVerificationEmail } from './useVerificationEmail-9f2c0bab.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
3
|
+
import { _ } from './index.module-02cb914c.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|