@saasquatch/mint-components 2.2.0-0 → 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/{keys-cff24974.js → keys-5a2c9ed2.js} +4 -0
- 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 +57 -320
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +441 -71
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +5 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +68 -67
- 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-540886b4.js → sqm-partner-info-modal-view-f6faecf5.js} +23 -12
- 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 +738 -350
- 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-01bf2f41.js → sqm-user-info-form-view-0e1ddbe4.js} +6 -391
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +2 -2
- 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 +25 -4
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +22 -11
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +40 -40
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +32 -40
- 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/keys.js +2 -0
- 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 +0 -59
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +25 -8
- 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-indirect-tax-form/useIndirectTaxForm.js +5 -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 -36
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +49 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -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 +2 -2
- 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 +5 -6
- 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-1054056a.js +8 -0
- 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 +47 -310
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +440 -71
- 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 +68 -67
- 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-eec8606e.js → sqm-partner-info-modal-view-d6f3a215.js} +23 -12
- 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 +736 -348
- 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-365cef98.js → sqm-user-info-form-view-e1ba6009.js} +6 -388
- 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-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/{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-88c9cc1b.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-55d4caaa.entry.js → p-3596e241.entry.js} +7 -13
- 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-4f9dc974.js +1 -0
- 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-037c1a4f.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-6194855b.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 +3 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +1 -2
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +8 -7
- 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/sqm-widget-verification/keys.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -10
- 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 -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 +487 -54
- 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/keys-db1897ae.js +0 -6
- 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/keys-db1897ae.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-eec8606e.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-365cef98.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-038d0b8f.entry.js +0 -133
- package/dist/mint-components/p-0553e659.js +0 -463
- package/dist/mint-components/p-0fec43e8.system.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-2d3a12f2.entry.js +0 -11
- package/dist/mint-components/p-3181e54a.entry.js +0 -1
- package/dist/mint-components/p-370e0d75.js +0 -1
- package/dist/mint-components/p-38dc2f60.entry.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-4d009702.system.entry.js +0 -1
- package/dist/mint-components/p-52eca331.js +0 -1
- package/dist/mint-components/p-55627a5c.entry.js +0 -1
- package/dist/mint-components/p-574a4089.system.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-64041ee1.entry.js +0 -291
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-70e34ae1.system.js +0 -6
- package/dist/mint-components/p-7d5956ec.system.entry.js +0 -1
- package/dist/mint-components/p-7e36a1ff.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-91369a5f.js +0 -1
- package/dist/mint-components/p-96e4e6a4.entry.js +0 -1
- package/dist/mint-components/p-996eb820.entry.js +0 -1
- package/dist/mint-components/p-a0986077.system.entry.js +0 -1
- package/dist/mint-components/p-a2db4345.system.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-b2a99637.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-d273eb05.entry.js +0 -9
- package/dist/mint-components/p-d6714617.entry.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-ea5eec69.system.entry.js +0 -1
- package/dist/mint-components/p-ee0f1cf1.system.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -3,37 +3,37 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-8277cbb3.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-b7b1b8fe.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f8c8495f.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
require('./useReferralCodes-
|
|
13
|
+
require('./useReferralCodes-0f7948af.js');
|
|
14
14
|
require('./mixins-4761d472.js');
|
|
15
15
|
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
16
|
-
require('./sqm-text-span-view-
|
|
17
|
-
const usePortalRegistrationForm = require('./usePortalRegistrationForm-
|
|
18
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
19
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-
|
|
20
|
-
const reRender = require('./re-render-
|
|
21
|
-
const useChildElements = require('./useChildElements-
|
|
22
|
-
require('./luxon-c1ad356a.js');
|
|
16
|
+
require('./sqm-text-span-view-b9e10f5d.js');
|
|
17
|
+
const usePortalRegistrationForm = require('./usePortalRegistrationForm-23ee2d62.js');
|
|
18
|
+
const useRegistrationFormState = require('./useRegistrationFormState-4fe5b770.js');
|
|
19
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-a45f7a52.js');
|
|
20
|
+
const reRender = require('./re-render-72a0ef45.js');
|
|
21
|
+
const useChildElements = require('./useChildElements-041127d7.js');
|
|
22
|
+
const luxon = require('./luxon-c1ad356a.js');
|
|
23
23
|
const index$1 = require('./index-8c6255f5.js');
|
|
24
24
|
const imageUrl = require('./imageUrl-a7880cab.js');
|
|
25
25
|
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
26
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
27
|
-
const useLeadFormState = require('./useLeadFormState-
|
|
28
|
-
const utilities = require('./utilities-
|
|
26
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-2398df36.js');
|
|
27
|
+
const useLeadFormState = require('./useLeadFormState-b4c2ab5b.js');
|
|
28
|
+
const utilities = require('./utilities-fcdb9504.js');
|
|
29
29
|
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
31
|
-
require('./sqm-portal-container-view-
|
|
32
|
-
const utils$1 = require('./utils-
|
|
33
|
-
const data = require('./data-
|
|
34
|
-
const keys = require('./keys-
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-3b477e58.js');
|
|
31
|
+
require('./sqm-portal-container-view-757f921b.js');
|
|
32
|
+
const utils$1 = require('./utils-a3b3d05b.js');
|
|
33
|
+
const data = require('./data-89ac73dd.js');
|
|
34
|
+
const keys = require('./keys-5a2c9ed2.js');
|
|
35
35
|
require('./eventKeys-7af4df4d.js');
|
|
36
|
-
const
|
|
36
|
+
const useIndirectTaxForm = require('./useIndirectTaxForm-c3c1ec56.js');
|
|
37
37
|
const parseStates = require('./parseStates-d1effc19.js');
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -791,7 +791,7 @@ const CheckboxField = class {
|
|
|
791
791
|
*/
|
|
792
792
|
this.checkboxLabelLink = "https://example.com";
|
|
793
793
|
/**
|
|
794
|
-
* @uiName Checkbox label link
|
|
794
|
+
* @uiName Checkbox label link text
|
|
795
795
|
*/
|
|
796
796
|
this.checkboxLabelLinkText = "Terms and Conditions";
|
|
797
797
|
/**
|
|
@@ -3389,7 +3389,7 @@ const PayoutStatusAlert = class {
|
|
|
3389
3389
|
render() {
|
|
3390
3390
|
const props = index_module.isDemo()
|
|
3391
3391
|
? useDemoPayoutStatusAlert(this)
|
|
3392
|
-
:
|
|
3392
|
+
: useIndirectTaxForm.usePayoutStatus(this);
|
|
3393
3393
|
return index.h(PayoutStatusAlertView, Object.assign({}, props));
|
|
3394
3394
|
}
|
|
3395
3395
|
};
|
|
@@ -4623,6 +4623,11 @@ const SqmReferralIframe = class {
|
|
|
4623
4623
|
* @uiName IFrame width
|
|
4624
4624
|
*/
|
|
4625
4625
|
this.iframeWidth = "100%";
|
|
4626
|
+
/**
|
|
4627
|
+
* Override the default parameter name used in the iframe
|
|
4628
|
+
* @uiName Referral code parameter name
|
|
4629
|
+
*/
|
|
4630
|
+
this.codeParam = "rsCode";
|
|
4626
4631
|
domContextHooks_module.h$1(this);
|
|
4627
4632
|
}
|
|
4628
4633
|
disconnectedCallback() { }
|
|
@@ -6057,7 +6062,6 @@ function useDemoShareCode(props) {
|
|
|
6057
6062
|
borderRadius: props.borderRadius,
|
|
6058
6063
|
borderColor: props.borderColor,
|
|
6059
6064
|
buttonType: props.buttonType,
|
|
6060
|
-
rewardStatus: "AVAILABLE",
|
|
6061
6065
|
open,
|
|
6062
6066
|
onClick: () => {
|
|
6063
6067
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6117,6 +6121,199 @@ const ShareLink = class {
|
|
|
6117
6121
|
* @uiGroup Style
|
|
6118
6122
|
*/
|
|
6119
6123
|
this.buttonStyle = "icon";
|
|
6124
|
+
/**
|
|
6125
|
+
* Let advocates customize their share links up to 5 times.
|
|
6126
|
+
*
|
|
6127
|
+
* @uiName Allow customization
|
|
6128
|
+
* @uiType boolean
|
|
6129
|
+
* @uiGroup Customizable Vanity Link
|
|
6130
|
+
* @uiWidget CustomLinkSwitch
|
|
6131
|
+
* @requiredFlavor impact
|
|
6132
|
+
*/
|
|
6133
|
+
this.allowCustomization = false;
|
|
6134
|
+
/**
|
|
6135
|
+
* Text for the cancel button in editing mode
|
|
6136
|
+
*
|
|
6137
|
+
* @uiName Cancel button label
|
|
6138
|
+
* @uiType string
|
|
6139
|
+
* @uiGroup Customizable Vanity Link
|
|
6140
|
+
* @requiredFlavor impact
|
|
6141
|
+
*/
|
|
6142
|
+
this.cancelLabelText = "Cancel";
|
|
6143
|
+
/**
|
|
6144
|
+
* Tooltip text shown when link customization is disabled
|
|
6145
|
+
*
|
|
6146
|
+
* @uiName Customize disabled tooltip
|
|
6147
|
+
* @uiType string
|
|
6148
|
+
* @uiGroup Customizable Vanity Link
|
|
6149
|
+
* @requiredFlavor impact
|
|
6150
|
+
*/
|
|
6151
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6152
|
+
/**
|
|
6153
|
+
* Displayed below the share link.
|
|
6154
|
+
*
|
|
6155
|
+
* @uiName Customize link button label
|
|
6156
|
+
* @uiType string
|
|
6157
|
+
* @uiGroup Customizable Vanity Link
|
|
6158
|
+
* @requiredFlavor impact
|
|
6159
|
+
*/
|
|
6160
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6161
|
+
/**
|
|
6162
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6163
|
+
*
|
|
6164
|
+
* @uiName Edit limit reached text
|
|
6165
|
+
* @uiType string
|
|
6166
|
+
* @uiWidget textarea
|
|
6167
|
+
* @uiGroup Customizable Vanity Link
|
|
6168
|
+
* @requiredFlavor impact
|
|
6169
|
+
*/
|
|
6170
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6171
|
+
/**
|
|
6172
|
+
* Subtext shown while the user is customizing their URL.
|
|
6173
|
+
*
|
|
6174
|
+
* @uiName Edit limit text
|
|
6175
|
+
* @uiType string
|
|
6176
|
+
* @uiGroup Customizable Vanity Link
|
|
6177
|
+
* @requiredFlavor impact
|
|
6178
|
+
*/
|
|
6179
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6180
|
+
/**
|
|
6181
|
+
* Description text shown when the link contains invalid special characters.
|
|
6182
|
+
*
|
|
6183
|
+
* @uiName Invalid characters error description
|
|
6184
|
+
* @uiType string
|
|
6185
|
+
* @uiWidget textarea
|
|
6186
|
+
* @uiGroup Customizable Vanity Link
|
|
6187
|
+
* @requiredFlavor impact
|
|
6188
|
+
*/
|
|
6189
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6190
|
+
/**
|
|
6191
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6192
|
+
*
|
|
6193
|
+
* @uiName Invalid characters error title
|
|
6194
|
+
* @uiType string
|
|
6195
|
+
* @uiGroup Customizable Vanity Link
|
|
6196
|
+
* @requiredFlavor impact
|
|
6197
|
+
*/
|
|
6198
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6199
|
+
/**
|
|
6200
|
+
* Description text shown when the link has already been taken
|
|
6201
|
+
*
|
|
6202
|
+
* @uiName Link taken error message
|
|
6203
|
+
* @uiType string
|
|
6204
|
+
* @uiWidget textarea
|
|
6205
|
+
* @uiGroup Customizable Vanity Link
|
|
6206
|
+
* @requiredFlavor impact
|
|
6207
|
+
*/
|
|
6208
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6209
|
+
/**
|
|
6210
|
+
* Title of the error message shown when the link has already been taken
|
|
6211
|
+
*
|
|
6212
|
+
* @uiName Link taken error title
|
|
6213
|
+
* @uiType string
|
|
6214
|
+
* @uiGroup Customizable Vanity Link
|
|
6215
|
+
* @requiredFlavor impact
|
|
6216
|
+
*/
|
|
6217
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6218
|
+
/**
|
|
6219
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6220
|
+
*
|
|
6221
|
+
* @uiName Restricted words error description
|
|
6222
|
+
* @uiType string
|
|
6223
|
+
* @uiWidget textarea
|
|
6224
|
+
* @uiGroup Customizable Vanity Link
|
|
6225
|
+
* @requiredFlavor impact
|
|
6226
|
+
*/
|
|
6227
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6228
|
+
/**
|
|
6229
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6230
|
+
*
|
|
6231
|
+
* @uiName Restricted words error title
|
|
6232
|
+
* @uiType string
|
|
6233
|
+
* @uiGroup Customizable Vanity Link
|
|
6234
|
+
* @requiredFlavor impact
|
|
6235
|
+
*/
|
|
6236
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6237
|
+
/**
|
|
6238
|
+
* Text for the save button in editing mode
|
|
6239
|
+
*
|
|
6240
|
+
* @uiName Save button label
|
|
6241
|
+
* @uiType string
|
|
6242
|
+
* @uiGroup Customizable Vanity Link
|
|
6243
|
+
* @requiredFlavor impact
|
|
6244
|
+
*/
|
|
6245
|
+
this.saveLabelText = "Save";
|
|
6246
|
+
/**
|
|
6247
|
+
* Text for the save button while saving is in progress
|
|
6248
|
+
*
|
|
6249
|
+
* @uiName Saving button label
|
|
6250
|
+
* @uiType string
|
|
6251
|
+
* @uiGroup Customizable Vanity Link
|
|
6252
|
+
* @requiredFlavor impact
|
|
6253
|
+
*/
|
|
6254
|
+
this.savingLabelText = "Saving...";
|
|
6255
|
+
/**
|
|
6256
|
+
* Label shown above the link input while editing
|
|
6257
|
+
*
|
|
6258
|
+
* @uiName Edit input label
|
|
6259
|
+
* @uiType string
|
|
6260
|
+
* @uiGroup Customizable Vanity Link
|
|
6261
|
+
* @requiredFlavor impact
|
|
6262
|
+
*/
|
|
6263
|
+
this.editLabelText = "Enter your link";
|
|
6264
|
+
/**
|
|
6265
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
6266
|
+
*
|
|
6267
|
+
* @uiName Characters remaining text
|
|
6268
|
+
* @uiType string
|
|
6269
|
+
* @uiGroup Customizable Vanity Link
|
|
6270
|
+
* @requiredFlavor impact
|
|
6271
|
+
*/
|
|
6272
|
+
this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
|
|
6273
|
+
/**
|
|
6274
|
+
* Text shown while the link is being validated
|
|
6275
|
+
*
|
|
6276
|
+
* @uiName Validating label
|
|
6277
|
+
* @uiType string
|
|
6278
|
+
* @uiGroup Customizable Vanity Link
|
|
6279
|
+
* @requiredFlavor impact
|
|
6280
|
+
*/
|
|
6281
|
+
this.validatingLabelText = "Validating...";
|
|
6282
|
+
/**
|
|
6283
|
+
* @uiName Min characters text
|
|
6284
|
+
* @uiType string
|
|
6285
|
+
* @uiGroup Customizable Vanity Link
|
|
6286
|
+
* @requiredFlavor impact
|
|
6287
|
+
*/
|
|
6288
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6289
|
+
/**
|
|
6290
|
+
* Display text for the support link in the edit limit reached message
|
|
6291
|
+
*
|
|
6292
|
+
* @uiName Support link text
|
|
6293
|
+
* @uiType string
|
|
6294
|
+
* @uiGroup Customizable Vanity Link
|
|
6295
|
+
* @requiredFlavor impact
|
|
6296
|
+
*/
|
|
6297
|
+
this.supportLinkText = "Support";
|
|
6298
|
+
/**
|
|
6299
|
+
* Title shown when saving fails with an unknown error
|
|
6300
|
+
*
|
|
6301
|
+
* @uiName Save error title
|
|
6302
|
+
* @uiType string
|
|
6303
|
+
* @uiGroup Customizable Vanity Link
|
|
6304
|
+
* @requiredFlavor impact
|
|
6305
|
+
*/
|
|
6306
|
+
this.saveErrorTitle = "Error";
|
|
6307
|
+
/**
|
|
6308
|
+
* Description shown when saving fails with an unknown error
|
|
6309
|
+
*
|
|
6310
|
+
* @uiName Save error description
|
|
6311
|
+
* @uiType string
|
|
6312
|
+
* @uiWidget textarea
|
|
6313
|
+
* @uiGroup Customizable Vanity Link
|
|
6314
|
+
* @requiredFlavor impact
|
|
6315
|
+
*/
|
|
6316
|
+
this.saveErrorDescription = "Failed to save custom link. Please try again.";
|
|
6120
6317
|
domContextHooks_module.h$1(this);
|
|
6121
6318
|
}
|
|
6122
6319
|
disconnectedCallback() { }
|
|
@@ -6125,33 +6322,79 @@ const ShareLink = class {
|
|
|
6125
6322
|
const props = index_module.isDemo()
|
|
6126
6323
|
? useDemoShareLink(thisProps)
|
|
6127
6324
|
: ShadowViewAddon.useShareLink(thisProps);
|
|
6128
|
-
return index.h(
|
|
6325
|
+
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
6129
6326
|
}
|
|
6130
6327
|
};
|
|
6131
6328
|
function useDemoShareLink(props) {
|
|
6329
|
+
var _a;
|
|
6132
6330
|
const [open, setOpen] = domContextHooks_module.useState(false);
|
|
6331
|
+
const [isEditing, setIsEditing] = domContextHooks_module.useState(false);
|
|
6332
|
+
const [editValue, setEditValue] = domContextHooks_module.useState("");
|
|
6133
6333
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6334
|
+
const domainPrefix = "https://www.example.com/";
|
|
6335
|
+
const baseProps = {
|
|
6336
|
+
copyTextViewProps: {
|
|
6337
|
+
copyString,
|
|
6338
|
+
tooltiptext: props.tooltiptext,
|
|
6339
|
+
textAlign: props.textAlign,
|
|
6340
|
+
buttonStyle: props.buttonStyle,
|
|
6341
|
+
backgroundColor: props.backgroundColor,
|
|
6342
|
+
textColor: props.textColor,
|
|
6343
|
+
borderRadius: props.borderRadius,
|
|
6344
|
+
buttonType: props.buttonType,
|
|
6345
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6346
|
+
borderColor: props.borderColor,
|
|
6347
|
+
open,
|
|
6348
|
+
onClick: () => {
|
|
6349
|
+
navigator.clipboard.writeText(copyString);
|
|
6350
|
+
setOpen(true);
|
|
6351
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6352
|
+
},
|
|
6153
6353
|
},
|
|
6154
|
-
|
|
6354
|
+
allowCustomization: props.allowCustomization,
|
|
6355
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6356
|
+
saveLabelText: props.saveLabelText,
|
|
6357
|
+
savingLabelText: props.savingLabelText,
|
|
6358
|
+
cancelLabelText: props.cancelLabelText,
|
|
6359
|
+
editLabelText: props.editLabelText,
|
|
6360
|
+
charactersRemainingText: props.charactersRemainingText,
|
|
6361
|
+
validatingLabelText: props.validatingLabelText,
|
|
6362
|
+
isEditing,
|
|
6363
|
+
editValue,
|
|
6364
|
+
domainPrefix,
|
|
6365
|
+
editsRemaining: 5,
|
|
6366
|
+
maxEdits: 5,
|
|
6367
|
+
limitReached: false,
|
|
6368
|
+
validationError: null,
|
|
6369
|
+
isValidating: false,
|
|
6370
|
+
isSaving: false,
|
|
6371
|
+
characterLimit: 15,
|
|
6372
|
+
minCharacters: 3,
|
|
6373
|
+
charactersRemaining: 15 - editValue.length,
|
|
6374
|
+
editLimitText: props.editLimitText,
|
|
6375
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6376
|
+
supportLinkText: props.supportLinkText,
|
|
6377
|
+
minCharactersText: props.minCharactersText,
|
|
6378
|
+
customizeDisabled: false,
|
|
6379
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6380
|
+
onCustomizeClick: () => {
|
|
6381
|
+
setIsEditing(true);
|
|
6382
|
+
setEditValue("");
|
|
6383
|
+
},
|
|
6384
|
+
onEditValueChange: (value) => {
|
|
6385
|
+
setEditValue(value);
|
|
6386
|
+
},
|
|
6387
|
+
onSave: () => {
|
|
6388
|
+
setIsEditing(false);
|
|
6389
|
+
},
|
|
6390
|
+
onCancel: () => {
|
|
6391
|
+
setIsEditing(false);
|
|
6392
|
+
setEditValue("");
|
|
6393
|
+
},
|
|
6394
|
+
};
|
|
6395
|
+
return cjs.cjs(baseProps, props.demoData || {}, {
|
|
6396
|
+
arrayMerge: (_, a) => a,
|
|
6397
|
+
});
|
|
6155
6398
|
}
|
|
6156
6399
|
|
|
6157
6400
|
const StatContainer = class {
|
|
@@ -6418,9 +6661,14 @@ function getCurrentStep(user) {
|
|
|
6418
6661
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6419
6662
|
return "/1";
|
|
6420
6663
|
}
|
|
6421
|
-
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6422
|
-
|
|
6423
|
-
|
|
6664
|
+
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, billingAddress, billingCity, billingCountryCode, billingPostalCode, billingState, phoneNumber, phoneNumberCountryCode, } = user.impactConnection.publisher;
|
|
6665
|
+
const hasBillingInfo = billingAddress &&
|
|
6666
|
+
billingCity &&
|
|
6667
|
+
billingCountryCode &&
|
|
6668
|
+
billingPostalCode &&
|
|
6669
|
+
phoneNumberCountryCode &&
|
|
6670
|
+
phoneNumber;
|
|
6671
|
+
if (!hasBillingInfo) {
|
|
6424
6672
|
return "/1";
|
|
6425
6673
|
}
|
|
6426
6674
|
// If they do have a required document, look at current document
|
|
@@ -6440,6 +6688,7 @@ function useTaxAndCash() {
|
|
|
6440
6688
|
const host = index_module._();
|
|
6441
6689
|
const user = index_module.J();
|
|
6442
6690
|
const locale = index_module.L();
|
|
6691
|
+
const [completeImpactPartner, { loading: completeLoading }] = index_module.$e(useIndirectTaxForm.COMPLETE_PARTNER);
|
|
6443
6692
|
// State for current step of form
|
|
6444
6693
|
const [step, setStep] = index_module.In({
|
|
6445
6694
|
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
@@ -6547,16 +6796,54 @@ function useTaxAndCash() {
|
|
|
6547
6796
|
setCurrenciesContext(supportedCurrencies);
|
|
6548
6797
|
}, [supportedCurrencies]);
|
|
6549
6798
|
domContextHooks_module.useEffect(() => {
|
|
6799
|
+
var _a;
|
|
6550
6800
|
if (errors) {
|
|
6551
6801
|
setStep("/error");
|
|
6552
6802
|
return;
|
|
6553
6803
|
}
|
|
6554
6804
|
if (!host || !user)
|
|
6555
6805
|
return;
|
|
6806
|
+
async function completeConnection(user) {
|
|
6807
|
+
var _a, _b, _c, _d, _e, _f;
|
|
6808
|
+
const publisher = (_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher;
|
|
6809
|
+
const hasBillingInfo = publisher.billingAddress &&
|
|
6810
|
+
publisher.billingCity &&
|
|
6811
|
+
publisher.billingCountryCode &&
|
|
6812
|
+
publisher.billingPostalCode &&
|
|
6813
|
+
publisher.phoneNumberCountryCode &&
|
|
6814
|
+
publisher.phoneNumber;
|
|
6815
|
+
if (hasBillingInfo &&
|
|
6816
|
+
((_b = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _b === void 0 ? void 0 : _b.connectionStatus) === "STARTED") {
|
|
6817
|
+
const vars = {
|
|
6818
|
+
user: {
|
|
6819
|
+
id: (_c = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _c === void 0 ? void 0 : _c.id,
|
|
6820
|
+
accountId: (_d = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _d === void 0 ? void 0 : _d.accountId,
|
|
6821
|
+
},
|
|
6822
|
+
firstName: (_e = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _e === void 0 ? void 0 : _e.firstName,
|
|
6823
|
+
lastName: (_f = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _f === void 0 ? void 0 : _f.lastName,
|
|
6824
|
+
countryCode: publisher.billingCountryCode,
|
|
6825
|
+
currency: publisher.currency,
|
|
6826
|
+
address: publisher.billingAddress,
|
|
6827
|
+
city: publisher.billingCity,
|
|
6828
|
+
state: publisher.billingState,
|
|
6829
|
+
postalCode: publisher.billingPostalCode,
|
|
6830
|
+
phoneNumber: publisher.phoneNumber,
|
|
6831
|
+
phoneNumberCountryCode: publisher.phoneNumberCountryCode,
|
|
6832
|
+
};
|
|
6833
|
+
await completeImpactPartner({
|
|
6834
|
+
vars,
|
|
6835
|
+
});
|
|
6836
|
+
}
|
|
6837
|
+
}
|
|
6556
6838
|
if (data$1) {
|
|
6557
6839
|
const user = data$1 === null || data$1 === void 0 ? void 0 : data$1.user;
|
|
6558
6840
|
if (!user || step !== "/loading")
|
|
6559
6841
|
return;
|
|
6842
|
+
if (((_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) &&
|
|
6843
|
+
(user === null || user === void 0 ? void 0 : user.impactConnection.connectionStatus) === "STARTED") {
|
|
6844
|
+
completeConnection(user);
|
|
6845
|
+
refetch();
|
|
6846
|
+
}
|
|
6560
6847
|
const currentStep = getCurrentStep(user);
|
|
6561
6848
|
setStep(currentStep);
|
|
6562
6849
|
}
|
|
@@ -6651,11 +6938,6 @@ const TaxAndCashMonolith = class {
|
|
|
6651
6938
|
* @uiGroup Step 1 Properties
|
|
6652
6939
|
*/
|
|
6653
6940
|
this.step1_currency = "Currency";
|
|
6654
|
-
/**
|
|
6655
|
-
* @uiName Currency field help text
|
|
6656
|
-
* @uiGroup Step 1 Properties
|
|
6657
|
-
*/
|
|
6658
|
-
this.step1_currencyHelpText = "Choose your preferred payout currency";
|
|
6659
6941
|
/**
|
|
6660
6942
|
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
6661
6943
|
* @uiName Terms and conditions checkbox
|
|
@@ -6743,7 +7025,7 @@ const TaxAndCashMonolith = class {
|
|
|
6743
7025
|
* @uiName Indirect tax number field label
|
|
6744
7026
|
* @uiGroup Step 2 Properties
|
|
6745
7027
|
*/
|
|
6746
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
7028
|
+
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}}";
|
|
6747
7029
|
/**
|
|
6748
7030
|
* @uiName Province field label
|
|
6749
7031
|
* @uiGroup Step 2 Properties
|
|
@@ -6753,7 +7035,7 @@ const TaxAndCashMonolith = class {
|
|
|
6753
7035
|
* @uiName Missing indirect tax number error message
|
|
6754
7036
|
* @uiGroup Step 2 Properties
|
|
6755
7037
|
*/
|
|
6756
|
-
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";
|
|
7038
|
+
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";
|
|
6757
7039
|
/**
|
|
6758
7040
|
* Displayed to participants registered for QST.
|
|
6759
7041
|
* @uiName QST number field label
|
|
@@ -7066,12 +7348,22 @@ const TaxAndCashMonolith = class {
|
|
|
7066
7348
|
* @uiGroup Step 4 Properties
|
|
7067
7349
|
*/
|
|
7068
7350
|
this.step4_branchCodeLabel = "Branch code";
|
|
7351
|
+
/**
|
|
7352
|
+
* @uiName Branch name field label
|
|
7353
|
+
* @uiGroup Step 4 Properties
|
|
7354
|
+
*/
|
|
7355
|
+
this.step4_branchNameLabel = "Branch name";
|
|
7069
7356
|
/**
|
|
7070
7357
|
* Label text for the classification input field
|
|
7071
7358
|
* @uiName Classification field label
|
|
7072
7359
|
* @uiGroup Step 4 Properties
|
|
7073
7360
|
*/
|
|
7074
7361
|
this.step4_classificationLabel = "Classification";
|
|
7362
|
+
/**
|
|
7363
|
+
* @uiName Classification code field label
|
|
7364
|
+
* @uiGroup Step 4 Properties
|
|
7365
|
+
*/
|
|
7366
|
+
this.step4_classificationCodeLabel = "KBE code";
|
|
7075
7367
|
/**
|
|
7076
7368
|
* @uiName Taxpayer ID field label
|
|
7077
7369
|
* @uiGroup Step 4 Properties
|
|
@@ -7321,7 +7613,7 @@ const TaxAndCashMonolith = class {
|
|
|
7321
7613
|
* @uiName Payout status badge
|
|
7322
7614
|
* @uiGroup Dashboard Properties
|
|
7323
7615
|
*/
|
|
7324
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7616
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
7325
7617
|
/**
|
|
7326
7618
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7327
7619
|
* @uiName Payout schedule by threshold text
|
|
@@ -7897,6 +8189,77 @@ const TimelineReward = class {
|
|
|
7897
8189
|
}
|
|
7898
8190
|
};
|
|
7899
8191
|
|
|
8192
|
+
function UserAttributeView(props) {
|
|
8193
|
+
const style = {
|
|
8194
|
+
P: {
|
|
8195
|
+
margin: "0",
|
|
8196
|
+
padding: "0",
|
|
8197
|
+
fontSize: props.fontSize ? `${props.fontSize}px` : "inherit",
|
|
8198
|
+
fontWeight: props.fontWeight || "inherit",
|
|
8199
|
+
color: props.color || "var(--sqm-text)",
|
|
8200
|
+
},
|
|
8201
|
+
};
|
|
8202
|
+
const sheet = JSS.createStyleSheet(style);
|
|
8203
|
+
const styleString = sheet.toString();
|
|
8204
|
+
const loadingSkeleton = (index.h("sqm-skeleton", { width: "200px", height: "20px" }));
|
|
8205
|
+
return (index.h(index.Host, null,
|
|
8206
|
+
index.h("style", null, styleString),
|
|
8207
|
+
index.h("p", { class: sheet.classes.P, part: "sqm-base" }, props.loading ? loadingSkeleton : props.value)));
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
const GET_CUSTOM_FIELDS = index_module.dist.gql `
|
|
8211
|
+
query getCustomFields {
|
|
8212
|
+
viewer {
|
|
8213
|
+
... on User {
|
|
8214
|
+
customFields
|
|
8215
|
+
}
|
|
8216
|
+
}
|
|
8217
|
+
}
|
|
8218
|
+
`;
|
|
8219
|
+
function useUserAttribute(props) {
|
|
8220
|
+
var _a, _b;
|
|
8221
|
+
const user = index_module.J();
|
|
8222
|
+
const res = index_module.wn(GET_CUSTOM_FIELDS, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
8223
|
+
const loading = res.loading;
|
|
8224
|
+
const customFields = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields;
|
|
8225
|
+
let value = customFields === null || customFields === void 0 ? void 0 : customFields[props.value];
|
|
8226
|
+
if (props.value === "lastSeenDate" && typeof value === "number") {
|
|
8227
|
+
value = luxon.luxon.DateTime.fromMillis(value).toLocaleString(luxon.luxon.DateTime.DATE_MED);
|
|
8228
|
+
}
|
|
8229
|
+
return {
|
|
8230
|
+
loading,
|
|
8231
|
+
value,
|
|
8232
|
+
fontSize: props.fontSize,
|
|
8233
|
+
color: props.color,
|
|
8234
|
+
fontWeight: props.fontWeight,
|
|
8235
|
+
};
|
|
8236
|
+
}
|
|
8237
|
+
|
|
8238
|
+
const UserAttribute = class {
|
|
8239
|
+
constructor(hostRef) {
|
|
8240
|
+
index.registerInstance(this, hostRef);
|
|
8241
|
+
this.ignored = true;
|
|
8242
|
+
domContextHooks_module.h$1(this);
|
|
8243
|
+
}
|
|
8244
|
+
disconnectedCallback() { }
|
|
8245
|
+
render() {
|
|
8246
|
+
const props = index_module.isDemo() ? useCustomFieldsDemo(this) : useUserAttribute(this);
|
|
8247
|
+
if (props.value == null) {
|
|
8248
|
+
return index.h(index.Host, { style: { display: "none" } });
|
|
8249
|
+
}
|
|
8250
|
+
return index.h(UserAttributeView, Object.assign({}, props));
|
|
8251
|
+
}
|
|
8252
|
+
};
|
|
8253
|
+
function useCustomFieldsDemo(props) {
|
|
8254
|
+
return cjs.cjs({
|
|
8255
|
+
loading: false,
|
|
8256
|
+
value: "Custom Field Value",
|
|
8257
|
+
fontSize: props.fontSize,
|
|
8258
|
+
color: props.color,
|
|
8259
|
+
fontWeight: props.fontWeight,
|
|
8260
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
8261
|
+
}
|
|
8262
|
+
|
|
7900
8263
|
function UserNameView(props) {
|
|
7901
8264
|
return index.h(index.Host, null, props.loading ? props.loadingText : props.username);
|
|
7902
8265
|
}
|
|
@@ -7975,18 +8338,24 @@ const USER_LOOKUP = index_module.dist.gql `
|
|
|
7975
8338
|
}
|
|
7976
8339
|
`;
|
|
7977
8340
|
function useWidgetVerification() {
|
|
7978
|
-
const
|
|
7979
|
-
const [showCode, setShowCode] = index_module.In({
|
|
8341
|
+
const [showCode] = index_module.In({
|
|
7980
8342
|
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
7981
8343
|
initialValue: false,
|
|
7982
8344
|
});
|
|
7983
|
-
|
|
8345
|
+
index_module.In({
|
|
7984
8346
|
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
7985
|
-
initialValue:
|
|
8347
|
+
initialValue: undefined,
|
|
7986
8348
|
});
|
|
7987
8349
|
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
7988
8350
|
const [loading, setLoading] = domContextHooks_module.useState(true);
|
|
7989
|
-
const [showPartnerModal, setShowPartnerModal] =
|
|
8351
|
+
const [showPartnerModal, setShowPartnerModal] = index_module.In({
|
|
8352
|
+
namespace: keys.SHOW_PARTNER_MODAL_NAMESPACE,
|
|
8353
|
+
initialValue: false,
|
|
8354
|
+
});
|
|
8355
|
+
const [partnerCreated, setPartnerCreated] = index_module.In({
|
|
8356
|
+
namespace: keys.PARTNER_CREATED_NAMESPACE,
|
|
8357
|
+
initialValue: false,
|
|
8358
|
+
});
|
|
7990
8359
|
const [fetch] = index_module.Xe(USER_LOOKUP);
|
|
7991
8360
|
domContextHooks_module.useEffect(() => {
|
|
7992
8361
|
const checkUser = async () => {
|
|
@@ -8021,9 +8390,20 @@ function useWidgetVerification() {
|
|
|
8021
8390
|
};
|
|
8022
8391
|
const onPartnerModalComplete = () => {
|
|
8023
8392
|
setShowPartnerModal(false);
|
|
8393
|
+
setPartnerCreated(false);
|
|
8024
8394
|
setContext(true);
|
|
8025
8395
|
};
|
|
8026
|
-
|
|
8396
|
+
domContextHooks_module.useEffect(() => {
|
|
8397
|
+
if (partnerCreated)
|
|
8398
|
+
onPartnerModalComplete();
|
|
8399
|
+
}, [partnerCreated]);
|
|
8400
|
+
return {
|
|
8401
|
+
showCode,
|
|
8402
|
+
showPartnerModal,
|
|
8403
|
+
onVerification,
|
|
8404
|
+
onPartnerModalComplete,
|
|
8405
|
+
loading,
|
|
8406
|
+
};
|
|
8027
8407
|
}
|
|
8028
8408
|
|
|
8029
8409
|
const style$3 = {
|
|
@@ -8066,16 +8446,6 @@ const WidgetVerification = class {
|
|
|
8066
8446
|
* @uiGroup General Text
|
|
8067
8447
|
*/
|
|
8068
8448
|
this.general_widgetHeaderWithPartnerCreation = "Let's get you ready for rewards";
|
|
8069
|
-
/**
|
|
8070
|
-
* @uiName General verify widget header text
|
|
8071
|
-
* @uiGroup General Text
|
|
8072
|
-
*/
|
|
8073
|
-
this.general_verifyEmailHeader = "Verify your email";
|
|
8074
|
-
/**
|
|
8075
|
-
* @uiName General verify widget description text
|
|
8076
|
-
* @uiGroup General Text
|
|
8077
|
-
*/
|
|
8078
|
-
this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
|
|
8079
8449
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8080
8450
|
EMAIL STEP PROPS
|
|
8081
8451
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
@@ -8260,7 +8630,6 @@ const WidgetVerification = class {
|
|
|
8260
8630
|
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8261
8631
|
return index.h("div", null);
|
|
8262
8632
|
}
|
|
8263
|
-
// const generalText = this.getStepTextProps("general_");
|
|
8264
8633
|
const partnerText = this.getStepTextProps("createPartnerStep_");
|
|
8265
8634
|
const dialogLabel = this.general_widgetHeaderWithPartnerCreation;
|
|
8266
8635
|
const renderStepContent = () => {
|
|
@@ -8352,5 +8721,6 @@ exports.sqm_task_card = TaskCard;
|
|
|
8352
8721
|
exports.sqm_tax_and_cash = TaxAndCashMonolith;
|
|
8353
8722
|
exports.sqm_timeline = Timeline;
|
|
8354
8723
|
exports.sqm_timeline_entry = TimelineReward;
|
|
8724
|
+
exports.sqm_user_attribute = UserAttribute;
|
|
8355
8725
|
exports.sqm_user_name = UserName;
|
|
8356
8726
|
exports.sqm_widget_verification = WidgetVerification;
|