@saasquatch/mint-components 2.1.11-0 → 2.1.11
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-c97e80de.js} +428 -25
- package/dist/cjs/{data-6b5095f8.js → data-8c8a08f6.js} +91 -2
- package/dist/cjs/extractProps-e9c55ba8.js +35 -0
- 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 +99 -484
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +291 -427
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +8 -7
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
- 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-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 +6 -6
- 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 +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +219 -291
- 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-53306f6e.js} +40 -33
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
- package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -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/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
- 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/collection/collection-manifest.json +0 -1
- 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/TaxAndCashReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +1 -13
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +1 -12
- 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 +0 -4
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +11 -510
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
- package/dist/collection/components/tax-and-cash/data.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +37 -75
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +13 -688
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
- 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 +11 -49
- 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 +6 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +0 -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/sqm-user-info-form-view.js +17 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -34
- package/dist/esm/{ShadowViewAddon-78b791d2.js → ShadowViewAddon-33f1a8f7.js} +429 -27
- package/dist/esm/{data-33c16dff.js → data-12e6aae1.js} +85 -3
- package/dist/esm/extractProps-54064fb0.js +32 -0
- package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
- package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.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-f30aeb6b.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +89 -474
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +286 -421
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +9 -8
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +414 -0
- 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-7928db07.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-d1b91650.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-b3beac5a.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-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-04528277.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-b5ea620f.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-c61536b7.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +6 -6
- 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 +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +185 -257
- 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-19d81a2b.js} +19 -12
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +210 -0
- package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
- package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
- package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
- package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
- package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
- package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
- package/dist/esm-es5/data-12e6aae1.js +1 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/global-96c14d63.js +271 -0
- package/dist/esm-es5/index.module-b23fdad8.js +1 -0
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.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-f30aeb6b.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.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.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.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-d1b91650.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-b3beac5a.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-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-04528277.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-b5ea620f.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-c61536b7.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-19d81a2b.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-d01949f7.system.entry.js → p-00b235c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
- package/dist/mint-components/p-02499e08.entry.js +1 -0
- package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
- package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
- package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
- package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/p-08930b83.js +499 -0
- package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
- package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
- package/dist/mint-components/p-0b1e90fe.system.js +1 -0
- package/dist/mint-components/{p-8ecc8875.js → p-0c0d4065.js} +5 -6
- package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
- package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
- package/dist/mint-components/{p-2d3a12f2.entry.js → p-13292317.entry.js} +2 -2
- package/dist/mint-components/{p-731c4d33.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
- package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
- package/dist/mint-components/{p-1d49dddc.entry.js → p-1d92c169.entry.js} +1 -1
- package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-4723526d.js → p-2668335b.js} +1 -1
- package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
- package/dist/mint-components/p-30c1ef36.system.js +1 -0
- package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
- package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-3adbfd0b.system.js +6 -0
- package/dist/mint-components/p-3af3e2c1.entry.js +25 -0
- package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
- package/dist/mint-components/{p-9d6984e7.entry.js → p-40bad95a.entry.js} +2 -2
- package/dist/mint-components/{p-00463c83.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
- package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
- package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
- package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
- package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
- package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
- package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
- package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
- package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
- package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-f368f04a.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/p-6c4ad51a.js +1 -0
- package/dist/mint-components/p-7265bbcb.system.js +271 -0
- package/dist/mint-components/p-738dce27.system.entry.js +1 -0
- package/dist/mint-components/{p-379cb9f1.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/p-76271ec4.entry.js +9 -0
- package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
- package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
- package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
- package/dist/mint-components/p-78b40f71.system.js +1 -0
- package/dist/mint-components/{p-55627a5c.entry.js → p-7939e4af.entry.js} +1 -1
- package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
- package/dist/mint-components/p-7efb8782.system.js +1 -0
- package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-370e0d75.js → p-832aea99.js} +1 -1
- package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
- package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
- package/dist/mint-components/p-8784539d.entry.js +273 -0
- package/dist/mint-components/{p-71561bb2.system.entry.js → p-8899ff38.system.entry.js} +1 -1
- package/dist/mint-components/p-892797eb.system.entry.js +1 -0
- package/dist/mint-components/{p-567a5ded.js → p-8962e023.js} +1 -1
- package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
- package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
- package/dist/mint-components/p-91a96e98.entry.js +1 -0
- package/dist/mint-components/{p-7a08d288.system.entry.js → p-9390586b.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
- package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
- package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
- package/dist/mint-components/{p-df88dcaa.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
- package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
- package/dist/mint-components/{p-886fb141.entry.js → p-af407cce.entry.js} +1 -1
- package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
- package/dist/mint-components/p-b395470f.entry.js +16 -0
- package/dist/mint-components/{p-45e2a83a.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-691d34f1.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
- package/dist/mint-components/p-bba16a46.system.entry.js +1 -0
- package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/{p-a7f72a66.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
- package/dist/mint-components/p-c3c8d4ee.system.entry.js +1 -0
- package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/{p-50d959bd.js → p-c813ec64.js} +1 -1
- package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
- package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -0
- package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
- package/dist/mint-components/p-d0993bb9.js +1 -0
- package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
- package/dist/mint-components/{p-e1292288.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
- package/dist/mint-components/p-d4f332a7.entry.js +106 -0
- package/dist/mint-components/{p-6b1a6b0c.system.js → p-d55c50af.system.js} +1 -1
- package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
- package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/p-dd12c32a.system.entry.js +1 -0
- package/dist/mint-components/p-de0d6fd7.js +49 -0
- package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
- package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.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-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
- package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
- package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
- package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-e9485160.system.entry.js} +1 -1
- package/dist/mint-components/p-ea03e50e.system.js +1 -0
- package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
- package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
- package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
- package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
- package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
- package/dist/mint-components/{p-19293c16.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-247cfbdc.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/{p-0fec43e8.system.js → p-f8026ed6.system.js} +1 -1
- package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
- package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
- package/dist/mint-components/p-fe70e20c.entry.js +1 -0
- package/dist/mint-components/p-ff118a19.system.js +1 -0
- 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 +1 -2
- package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +1 -2
- 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-widget-verification/sqm-widget-verification.d.ts +0 -78
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
- package/dist/types/components/tax-and-cash/data.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -165
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -7
- package/dist/types/components.d.ts +359 -616
- package/dist/types/saasquatch.d.ts +0 -1
- 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/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -892
- package/dist/cjs/sqm-partner-info-modal-view-464c52c9.js +0 -135
- package/dist/cjs/utils-a8e0bd9b.js +0 -93
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -150
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -129
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -670
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -284
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-email-verification_2.entry.js +0 -887
- package/dist/esm/sqm-partner-info-modal-view-a6324934.js +0 -132
- 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/eventKeys-f76b6a03.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/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-a6324934.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/utils-8267d3d8.js +0 -1
- package/dist/mint-components/p-037c1a4f.system.entry.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-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-1c413a06.system.js +0 -1
- package/dist/mint-components/p-1e35f151.system.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-28fe7357.system.entry.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-52eca331.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-647933ac.entry.js +0 -122
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-6562cbec.system.entry.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- 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-8b258a3e.system.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-a1e1c42a.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-aa319fbe.entry.js +0 -9
- 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-b451970a.system.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-d20188db.js +0 -1
- package/dist/mint-components/p-d6714617.entry.js +0 -1
- package/dist/mint-components/p-e95402dc.js +0 -49
- package/dist/mint-components/p-ee0f1cf1.system.js +0 -1
- package/dist/mint-components/p-f9671d6a.system.entry.js +0 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -12
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -51
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -122
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -1,36 +1,33 @@
|
|
|
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-96c14d63.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, p as Ue, s as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-b23fdad8.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-52ca720f.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-
|
|
12
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
13
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-62de6fb1.js';
|
|
14
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-2c090c38.js';
|
|
15
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
16
|
+
import { a as useRequestRerender } from './re-render-f30aeb6b.js';
|
|
17
|
+
import { u as useChildElements } from './useChildElements-9bccfb72.js';
|
|
18
18
|
import './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-69fefed0.js';
|
|
23
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-dd4e8b08.js';
|
|
24
|
+
import { i as isEmpty } from './utilities-77b1e0cc.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 './
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import './eventKeys-f76b6a03.js';
|
|
32
|
-
import { u as usePayoutStatus } from './usePayoutStatus-fa504d49.js';
|
|
33
|
-
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
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-33f1a8f7.js';
|
|
27
|
+
import './sqm-portal-container-view-200c9df8.js';
|
|
28
|
+
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, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-12e6aae1.js';
|
|
29
|
+
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
30
|
+
import { u as usePayoutStatus } from './usePayoutStatus-46c0c289.js';
|
|
34
31
|
|
|
35
32
|
/**
|
|
36
33
|
*
|
|
@@ -4619,6 +4616,11 @@ const SqmReferralIframe = class {
|
|
|
4619
4616
|
* @uiName IFrame width
|
|
4620
4617
|
*/
|
|
4621
4618
|
this.iframeWidth = "100%";
|
|
4619
|
+
/**
|
|
4620
|
+
* Override the default parameter name used in the iframe
|
|
4621
|
+
* @uiName Referral code parameter name
|
|
4622
|
+
*/
|
|
4623
|
+
this.codeParam = "rsCode";
|
|
4622
4624
|
h(this);
|
|
4623
4625
|
}
|
|
4624
4626
|
disconnectedCallback() { }
|
|
@@ -6053,7 +6055,6 @@ function useDemoShareCode(props) {
|
|
|
6053
6055
|
borderRadius: props.borderRadius,
|
|
6054
6056
|
borderColor: props.borderColor,
|
|
6055
6057
|
buttonType: props.buttonType,
|
|
6056
|
-
rewardStatus: "AVAILABLE",
|
|
6057
6058
|
open,
|
|
6058
6059
|
onClick: () => {
|
|
6059
6060
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6113,6 +6114,199 @@ const ShareLink = class {
|
|
|
6113
6114
|
* @uiGroup Style
|
|
6114
6115
|
*/
|
|
6115
6116
|
this.buttonStyle = "icon";
|
|
6117
|
+
/**
|
|
6118
|
+
* Let advocates customize their share links up to 5 times.
|
|
6119
|
+
*
|
|
6120
|
+
* @uiName Allow customization
|
|
6121
|
+
* @uiType boolean
|
|
6122
|
+
* @uiGroup Customizable Vanity Link
|
|
6123
|
+
* @uiWidget CustomLinkSwitch
|
|
6124
|
+
* @requiredFlavor impact
|
|
6125
|
+
*/
|
|
6126
|
+
this.allowCustomization = false;
|
|
6127
|
+
/**
|
|
6128
|
+
* Text for the cancel button in editing mode
|
|
6129
|
+
*
|
|
6130
|
+
* @uiName Cancel button label
|
|
6131
|
+
* @uiType string
|
|
6132
|
+
* @uiGroup Customizable Vanity Link
|
|
6133
|
+
* @requiredFlavor impact
|
|
6134
|
+
*/
|
|
6135
|
+
this.cancelLabelText = "Cancel";
|
|
6136
|
+
/**
|
|
6137
|
+
* Tooltip text shown when link customization is disabled
|
|
6138
|
+
*
|
|
6139
|
+
* @uiName Customize disabled tooltip
|
|
6140
|
+
* @uiType string
|
|
6141
|
+
* @uiGroup Customizable Vanity Link
|
|
6142
|
+
* @requiredFlavor impact
|
|
6143
|
+
*/
|
|
6144
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6145
|
+
/**
|
|
6146
|
+
* Displayed below the share link.
|
|
6147
|
+
*
|
|
6148
|
+
* @uiName Customize link button label
|
|
6149
|
+
* @uiType string
|
|
6150
|
+
* @uiGroup Customizable Vanity Link
|
|
6151
|
+
* @requiredFlavor impact
|
|
6152
|
+
*/
|
|
6153
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6154
|
+
/**
|
|
6155
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6156
|
+
*
|
|
6157
|
+
* @uiName Edit limit reached text
|
|
6158
|
+
* @uiType string
|
|
6159
|
+
* @uiWidget textarea
|
|
6160
|
+
* @uiGroup Customizable Vanity Link
|
|
6161
|
+
* @requiredFlavor impact
|
|
6162
|
+
*/
|
|
6163
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6164
|
+
/**
|
|
6165
|
+
* Subtext shown while the user is customizing their URL.
|
|
6166
|
+
*
|
|
6167
|
+
* @uiName Edit limit text
|
|
6168
|
+
* @uiType string
|
|
6169
|
+
* @uiGroup Customizable Vanity Link
|
|
6170
|
+
* @requiredFlavor impact
|
|
6171
|
+
*/
|
|
6172
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6173
|
+
/**
|
|
6174
|
+
* Description text shown when the link contains invalid special characters.
|
|
6175
|
+
*
|
|
6176
|
+
* @uiName Invalid characters error description
|
|
6177
|
+
* @uiType string
|
|
6178
|
+
* @uiWidget textarea
|
|
6179
|
+
* @uiGroup Customizable Vanity Link
|
|
6180
|
+
* @requiredFlavor impact
|
|
6181
|
+
*/
|
|
6182
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6183
|
+
/**
|
|
6184
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6185
|
+
*
|
|
6186
|
+
* @uiName Invalid characters error title
|
|
6187
|
+
* @uiType string
|
|
6188
|
+
* @uiGroup Customizable Vanity Link
|
|
6189
|
+
* @requiredFlavor impact
|
|
6190
|
+
*/
|
|
6191
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6192
|
+
/**
|
|
6193
|
+
* Description text shown when the link has already been taken
|
|
6194
|
+
*
|
|
6195
|
+
* @uiName Link taken error message
|
|
6196
|
+
* @uiType string
|
|
6197
|
+
* @uiWidget textarea
|
|
6198
|
+
* @uiGroup Customizable Vanity Link
|
|
6199
|
+
* @requiredFlavor impact
|
|
6200
|
+
*/
|
|
6201
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6202
|
+
/**
|
|
6203
|
+
* Title of the error message shown when the link has already been taken
|
|
6204
|
+
*
|
|
6205
|
+
* @uiName Link taken error title
|
|
6206
|
+
* @uiType string
|
|
6207
|
+
* @uiGroup Customizable Vanity Link
|
|
6208
|
+
* @requiredFlavor impact
|
|
6209
|
+
*/
|
|
6210
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6211
|
+
/**
|
|
6212
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6213
|
+
*
|
|
6214
|
+
* @uiName Restricted words error description
|
|
6215
|
+
* @uiType string
|
|
6216
|
+
* @uiWidget textarea
|
|
6217
|
+
* @uiGroup Customizable Vanity Link
|
|
6218
|
+
* @requiredFlavor impact
|
|
6219
|
+
*/
|
|
6220
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6221
|
+
/**
|
|
6222
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6223
|
+
*
|
|
6224
|
+
* @uiName Restricted words error title
|
|
6225
|
+
* @uiType string
|
|
6226
|
+
* @uiGroup Customizable Vanity Link
|
|
6227
|
+
* @requiredFlavor impact
|
|
6228
|
+
*/
|
|
6229
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6230
|
+
/**
|
|
6231
|
+
* Text for the save button in editing mode
|
|
6232
|
+
*
|
|
6233
|
+
* @uiName Save button label
|
|
6234
|
+
* @uiType string
|
|
6235
|
+
* @uiGroup Customizable Vanity Link
|
|
6236
|
+
* @requiredFlavor impact
|
|
6237
|
+
*/
|
|
6238
|
+
this.saveLabelText = "Save";
|
|
6239
|
+
/**
|
|
6240
|
+
* Text for the save button while saving is in progress
|
|
6241
|
+
*
|
|
6242
|
+
* @uiName Saving button label
|
|
6243
|
+
* @uiType string
|
|
6244
|
+
* @uiGroup Customizable Vanity Link
|
|
6245
|
+
* @requiredFlavor impact
|
|
6246
|
+
*/
|
|
6247
|
+
this.savingLabelText = "Saving...";
|
|
6248
|
+
/**
|
|
6249
|
+
* Label shown above the link input while editing
|
|
6250
|
+
*
|
|
6251
|
+
* @uiName Edit input label
|
|
6252
|
+
* @uiType string
|
|
6253
|
+
* @uiGroup Customizable Vanity Link
|
|
6254
|
+
* @requiredFlavor impact
|
|
6255
|
+
*/
|
|
6256
|
+
this.editLabelText = "Enter your link";
|
|
6257
|
+
/**
|
|
6258
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
6259
|
+
*
|
|
6260
|
+
* @uiName Characters remaining text
|
|
6261
|
+
* @uiType string
|
|
6262
|
+
* @uiGroup Customizable Vanity Link
|
|
6263
|
+
* @requiredFlavor impact
|
|
6264
|
+
*/
|
|
6265
|
+
this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
|
|
6266
|
+
/**
|
|
6267
|
+
* Text shown while the link is being validated
|
|
6268
|
+
*
|
|
6269
|
+
* @uiName Validating label
|
|
6270
|
+
* @uiType string
|
|
6271
|
+
* @uiGroup Customizable Vanity Link
|
|
6272
|
+
* @requiredFlavor impact
|
|
6273
|
+
*/
|
|
6274
|
+
this.validatingLabelText = "Validating...";
|
|
6275
|
+
/**
|
|
6276
|
+
* @uiName Min characters text
|
|
6277
|
+
* @uiType string
|
|
6278
|
+
* @uiGroup Customizable Vanity Link
|
|
6279
|
+
* @requiredFlavor impact
|
|
6280
|
+
*/
|
|
6281
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6282
|
+
/**
|
|
6283
|
+
* Display text for the support link in the edit limit reached message
|
|
6284
|
+
*
|
|
6285
|
+
* @uiName Support link text
|
|
6286
|
+
* @uiType string
|
|
6287
|
+
* @uiGroup Customizable Vanity Link
|
|
6288
|
+
* @requiredFlavor impact
|
|
6289
|
+
*/
|
|
6290
|
+
this.supportLinkText = "Support";
|
|
6291
|
+
/**
|
|
6292
|
+
* Title shown when saving fails with an unknown error
|
|
6293
|
+
*
|
|
6294
|
+
* @uiName Save error title
|
|
6295
|
+
* @uiType string
|
|
6296
|
+
* @uiGroup Customizable Vanity Link
|
|
6297
|
+
* @requiredFlavor impact
|
|
6298
|
+
*/
|
|
6299
|
+
this.saveErrorTitle = "Error";
|
|
6300
|
+
/**
|
|
6301
|
+
* Description shown when saving fails with an unknown error
|
|
6302
|
+
*
|
|
6303
|
+
* @uiName Save error description
|
|
6304
|
+
* @uiType string
|
|
6305
|
+
* @uiWidget textarea
|
|
6306
|
+
* @uiGroup Customizable Vanity Link
|
|
6307
|
+
* @requiredFlavor impact
|
|
6308
|
+
*/
|
|
6309
|
+
this.saveErrorDescription = "Failed to save custom link. Please try again.";
|
|
6116
6310
|
h(this);
|
|
6117
6311
|
}
|
|
6118
6312
|
disconnectedCallback() { }
|
|
@@ -6121,33 +6315,79 @@ const ShareLink = class {
|
|
|
6121
6315
|
const props = isDemo()
|
|
6122
6316
|
? useDemoShareLink(thisProps)
|
|
6123
6317
|
: useShareLink(thisProps);
|
|
6124
|
-
return h$1(
|
|
6318
|
+
return h$1(ShareLinkView, Object.assign({}, props));
|
|
6125
6319
|
}
|
|
6126
6320
|
};
|
|
6127
6321
|
function useDemoShareLink(props) {
|
|
6322
|
+
var _a;
|
|
6128
6323
|
const [open, setOpen] = useState(false);
|
|
6324
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
6325
|
+
const [editValue, setEditValue] = useState("");
|
|
6129
6326
|
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
|
-
|
|
6327
|
+
const domainPrefix = "https://www.example.com/";
|
|
6328
|
+
const baseProps = {
|
|
6329
|
+
copyTextViewProps: {
|
|
6330
|
+
copyString,
|
|
6331
|
+
tooltiptext: props.tooltiptext,
|
|
6332
|
+
textAlign: props.textAlign,
|
|
6333
|
+
buttonStyle: props.buttonStyle,
|
|
6334
|
+
backgroundColor: props.backgroundColor,
|
|
6335
|
+
textColor: props.textColor,
|
|
6336
|
+
borderRadius: props.borderRadius,
|
|
6337
|
+
buttonType: props.buttonType,
|
|
6338
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6339
|
+
borderColor: props.borderColor,
|
|
6340
|
+
open,
|
|
6341
|
+
onClick: () => {
|
|
6342
|
+
navigator.clipboard.writeText(copyString);
|
|
6343
|
+
setOpen(true);
|
|
6344
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6345
|
+
},
|
|
6149
6346
|
},
|
|
6150
|
-
|
|
6347
|
+
allowCustomization: props.allowCustomization,
|
|
6348
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6349
|
+
saveLabelText: props.saveLabelText,
|
|
6350
|
+
savingLabelText: props.savingLabelText,
|
|
6351
|
+
cancelLabelText: props.cancelLabelText,
|
|
6352
|
+
editLabelText: props.editLabelText,
|
|
6353
|
+
charactersRemainingText: props.charactersRemainingText,
|
|
6354
|
+
validatingLabelText: props.validatingLabelText,
|
|
6355
|
+
isEditing,
|
|
6356
|
+
editValue,
|
|
6357
|
+
domainPrefix,
|
|
6358
|
+
editsRemaining: 5,
|
|
6359
|
+
maxEdits: 5,
|
|
6360
|
+
limitReached: false,
|
|
6361
|
+
validationError: null,
|
|
6362
|
+
isValidating: false,
|
|
6363
|
+
isSaving: false,
|
|
6364
|
+
characterLimit: 15,
|
|
6365
|
+
minCharacters: 3,
|
|
6366
|
+
charactersRemaining: 15 - editValue.length,
|
|
6367
|
+
editLimitText: props.editLimitText,
|
|
6368
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6369
|
+
supportLinkText: props.supportLinkText,
|
|
6370
|
+
minCharactersText: props.minCharactersText,
|
|
6371
|
+
customizeDisabled: false,
|
|
6372
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6373
|
+
onCustomizeClick: () => {
|
|
6374
|
+
setIsEditing(true);
|
|
6375
|
+
setEditValue("");
|
|
6376
|
+
},
|
|
6377
|
+
onEditValueChange: (value) => {
|
|
6378
|
+
setEditValue(value);
|
|
6379
|
+
},
|
|
6380
|
+
onSave: () => {
|
|
6381
|
+
setIsEditing(false);
|
|
6382
|
+
},
|
|
6383
|
+
onCancel: () => {
|
|
6384
|
+
setIsEditing(false);
|
|
6385
|
+
setEditValue("");
|
|
6386
|
+
},
|
|
6387
|
+
};
|
|
6388
|
+
return cjs(baseProps, props.demoData || {}, {
|
|
6389
|
+
arrayMerge: (_, a) => a,
|
|
6390
|
+
});
|
|
6151
6391
|
}
|
|
6152
6392
|
|
|
6153
6393
|
const StatContainer = class {
|
|
@@ -6391,34 +6631,12 @@ function useTaskCardDemo(props) {
|
|
|
6391
6631
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6392
6632
|
}
|
|
6393
6633
|
|
|
6394
|
-
/**
|
|
6395
|
-
* Util function for getting just the props with a certain prefix.
|
|
6396
|
-
* @param props Text props on stencil component
|
|
6397
|
-
* @param prefix Prefix denoting which group the text prop belongs to
|
|
6398
|
-
* @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
|
|
6399
|
-
*/
|
|
6400
|
-
function extractProps(props, prefix) {
|
|
6401
|
-
const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
|
|
6402
|
-
const formattedProps = keys.reduce((prev, k) => {
|
|
6403
|
-
const key = k.replace(prefix, "");
|
|
6404
|
-
return {
|
|
6405
|
-
...prev,
|
|
6406
|
-
[key]: props[k],
|
|
6407
|
-
};
|
|
6408
|
-
}, {});
|
|
6409
|
-
return formattedProps;
|
|
6410
|
-
}
|
|
6411
|
-
|
|
6412
6634
|
function getCurrentStep(user) {
|
|
6413
6635
|
var _a, _b;
|
|
6414
6636
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6415
6637
|
return "/1";
|
|
6416
6638
|
}
|
|
6417
6639
|
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6418
|
-
console.log(user.impactConnection, "publisher data in useTaxAndCash to determine step new new");
|
|
6419
|
-
if (user.impactConnection.connectionStatus === "STARTED") {
|
|
6420
|
-
return "/1";
|
|
6421
|
-
}
|
|
6422
6640
|
// If they do have a required document, look at current document
|
|
6423
6641
|
if (requiredTaxDocumentType && !currentTaxDocument) {
|
|
6424
6642
|
// Specific to custom CASH setting,
|
|
@@ -6739,7 +6957,7 @@ const TaxAndCashMonolith = class {
|
|
|
6739
6957
|
* @uiName Indirect tax number field label
|
|
6740
6958
|
* @uiGroup Step 2 Properties
|
|
6741
6959
|
*/
|
|
6742
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
6960
|
+
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}}";
|
|
6743
6961
|
/**
|
|
6744
6962
|
* @uiName Province field label
|
|
6745
6963
|
* @uiGroup Step 2 Properties
|
|
@@ -6749,7 +6967,7 @@ const TaxAndCashMonolith = class {
|
|
|
6749
6967
|
* @uiName Missing indirect tax number error message
|
|
6750
6968
|
* @uiGroup Step 2 Properties
|
|
6751
6969
|
*/
|
|
6752
|
-
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";
|
|
6970
|
+
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";
|
|
6753
6971
|
/**
|
|
6754
6972
|
* Displayed to participants registered for QST.
|
|
6755
6973
|
* @uiName QST number field label
|
|
@@ -7317,7 +7535,7 @@ const TaxAndCashMonolith = class {
|
|
|
7317
7535
|
* @uiName Payout status badge
|
|
7318
7536
|
* @uiGroup Dashboard Properties
|
|
7319
7537
|
*/
|
|
7320
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7538
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
7321
7539
|
/**
|
|
7322
7540
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7323
7541
|
* @uiName Payout schedule by threshold text
|
|
@@ -7951,357 +8169,4 @@ function useUserNameDemo(props) {
|
|
|
7951
8169
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7952
8170
|
}
|
|
7953
8171
|
|
|
7954
|
-
|
|
7955
|
-
query checkUserVerification {
|
|
7956
|
-
viewer {
|
|
7957
|
-
... on User {
|
|
7958
|
-
id
|
|
7959
|
-
accountId
|
|
7960
|
-
email
|
|
7961
|
-
emailVerified
|
|
7962
|
-
managedIdentity {
|
|
7963
|
-
email
|
|
7964
|
-
emailVerified
|
|
7965
|
-
}
|
|
7966
|
-
impactConnection {
|
|
7967
|
-
connected
|
|
7968
|
-
}
|
|
7969
|
-
}
|
|
7970
|
-
}
|
|
7971
|
-
}
|
|
7972
|
-
`;
|
|
7973
|
-
function useWidgetVerification() {
|
|
7974
|
-
const userIdentity = J();
|
|
7975
|
-
const [showCode, setShowCode] = In({
|
|
7976
|
-
namespace: SHOW_CODE_NAMESPACE,
|
|
7977
|
-
initialValue: false,
|
|
7978
|
-
});
|
|
7979
|
-
const [email, setEmail] = In({
|
|
7980
|
-
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
7981
|
-
initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
|
|
7982
|
-
});
|
|
7983
|
-
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
7984
|
-
const [loading, setLoading] = useState(true);
|
|
7985
|
-
const [showPartnerModal, setShowPartnerModal] = useState(false);
|
|
7986
|
-
const [fetch] = Xe(USER_LOOKUP);
|
|
7987
|
-
useEffect(() => {
|
|
7988
|
-
const checkUser = async () => {
|
|
7989
|
-
var _a, _b, _c, _d, _e;
|
|
7990
|
-
try {
|
|
7991
|
-
const res = await fetch({});
|
|
7992
|
-
if (!res || res instanceof Error)
|
|
7993
|
-
throw new Error();
|
|
7994
|
-
// Flow changed to send email -> verify code -> show early partner creation modal
|
|
7995
|
-
const emailVerified = ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified);
|
|
7996
|
-
const isConnected = (_e = (_d = res === null || res === void 0 ? void 0 : res.viewer) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.connected;
|
|
7997
|
-
if (isConnected) {
|
|
7998
|
-
// Partner already created, show widget content
|
|
7999
|
-
setContext(true);
|
|
8000
|
-
}
|
|
8001
|
-
else if (emailVerified) {
|
|
8002
|
-
// Email verified but no partner yet, show partner modal
|
|
8003
|
-
setShowPartnerModal(true);
|
|
8004
|
-
}
|
|
8005
|
-
}
|
|
8006
|
-
catch (e) {
|
|
8007
|
-
console.error("Could not fetch user information:", e);
|
|
8008
|
-
}
|
|
8009
|
-
finally {
|
|
8010
|
-
setLoading(false);
|
|
8011
|
-
}
|
|
8012
|
-
};
|
|
8013
|
-
checkUser();
|
|
8014
|
-
}, []);
|
|
8015
|
-
const onVerification = () => {
|
|
8016
|
-
setShowPartnerModal(true);
|
|
8017
|
-
};
|
|
8018
|
-
const onPartnerModalComplete = () => {
|
|
8019
|
-
setShowPartnerModal(false);
|
|
8020
|
-
setContext(true);
|
|
8021
|
-
};
|
|
8022
|
-
return { showCode, showPartnerModal, onVerification, onPartnerModalComplete, loading };
|
|
8023
|
-
}
|
|
8024
|
-
|
|
8025
|
-
const style$3 = {
|
|
8026
|
-
Dialog: {
|
|
8027
|
-
"&::part(panel)": {
|
|
8028
|
-
maxWidth: "480px",
|
|
8029
|
-
},
|
|
8030
|
-
"&::part(body)": {
|
|
8031
|
-
padding: "0 var(--sl-spacing-x-large)",
|
|
8032
|
-
fontSize: "var(--sl-font-size-small)",
|
|
8033
|
-
overflow: "visible",
|
|
8034
|
-
},
|
|
8035
|
-
"&::part(footer)": {
|
|
8036
|
-
display: "flex",
|
|
8037
|
-
flexDirection: "column",
|
|
8038
|
-
gap: "var(--sl-spacing-small)",
|
|
8039
|
-
},
|
|
8040
|
-
"&::part(overlay)": {
|
|
8041
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
8042
|
-
},
|
|
8043
|
-
},
|
|
8044
|
-
DialogTitle: {
|
|
8045
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
8046
|
-
fontWeight: "600",
|
|
8047
|
-
padding: "var(--sl-spacing-x-large) 0 0 0",
|
|
8048
|
-
margin: "0",
|
|
8049
|
-
},
|
|
8050
|
-
};
|
|
8051
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
8052
|
-
const styleString$3 = sheet$3.toString();
|
|
8053
|
-
const WidgetVerification = class {
|
|
8054
|
-
constructor(hostRef) {
|
|
8055
|
-
registerInstance(this, hostRef);
|
|
8056
|
-
// ! Any updated must be reflected in sqm-widget-verification-internal AND sqm-email-verification AND sqm-code-verification AND sqm-partner-info-modal
|
|
8057
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8058
|
-
GENERAL PROPS
|
|
8059
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8060
|
-
/**
|
|
8061
|
-
* @uiName General widget header text with partner creation
|
|
8062
|
-
* @uiGroup General Text
|
|
8063
|
-
*/
|
|
8064
|
-
this.general_widgetHeaderWithPartnerCreation = "Let's get you ready for rewards";
|
|
8065
|
-
/**
|
|
8066
|
-
* @uiName General verify widget header text
|
|
8067
|
-
* @uiGroup General Text
|
|
8068
|
-
*/
|
|
8069
|
-
this.general_verifyEmailHeader = "Verify your email";
|
|
8070
|
-
/**
|
|
8071
|
-
* @uiName General verify widget description text
|
|
8072
|
-
* @uiGroup General Text
|
|
8073
|
-
*/
|
|
8074
|
-
this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
|
|
8075
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8076
|
-
EMAIL STEP PROPS
|
|
8077
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8078
|
-
/**
|
|
8079
|
-
* @uiName Verify email widget header text
|
|
8080
|
-
* @uiGroup Email Verification Step
|
|
8081
|
-
*/
|
|
8082
|
-
this.emailStep_verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
|
|
8083
|
-
/**
|
|
8084
|
-
* @uiName Send code to email alert header
|
|
8085
|
-
* @uiGroup Email Verification Step
|
|
8086
|
-
*/
|
|
8087
|
-
this.emailStep_sendCodeErrorHeader = "There was an error sending your code.";
|
|
8088
|
-
/**
|
|
8089
|
-
* @uiName Send code to email alert description
|
|
8090
|
-
* @uiGroup Email Verification Step
|
|
8091
|
-
*/
|
|
8092
|
-
this.emailStep_sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
|
|
8093
|
-
/**
|
|
8094
|
-
* @uiName Email input label
|
|
8095
|
-
* @uiGroup Email Verification Step
|
|
8096
|
-
*/
|
|
8097
|
-
this.emailStep_emailLabel = "Email";
|
|
8098
|
-
/**
|
|
8099
|
-
* @uiName Send code button text
|
|
8100
|
-
* @uiGroup Email Verification Step
|
|
8101
|
-
*/
|
|
8102
|
-
this.emailStep_sendCodeText = "Send code";
|
|
8103
|
-
/**
|
|
8104
|
-
* @uiName Send code button text
|
|
8105
|
-
* @uiGroup Email Verification Step
|
|
8106
|
-
*/
|
|
8107
|
-
this.emailStep_emailValidationErrorText = "Please enter a valid email";
|
|
8108
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8109
|
-
CODE STEP PROPS
|
|
8110
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8111
|
-
/**
|
|
8112
|
-
* @uiName Verify code widget header text
|
|
8113
|
-
* @uiGroup Code Verification Step
|
|
8114
|
-
*/
|
|
8115
|
-
this.codeStep_verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8116
|
-
/**
|
|
8117
|
-
* @uiName Reverify code widget header text
|
|
8118
|
-
* @uiGroup Code Verification Step
|
|
8119
|
-
*/
|
|
8120
|
-
this.codeStep_reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8121
|
-
/**
|
|
8122
|
-
* Text displayed under verify button
|
|
8123
|
-
* @uiName Resend code text
|
|
8124
|
-
* @uiGroup Code Verification Step
|
|
8125
|
-
*/
|
|
8126
|
-
this.codeStep_resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
8127
|
-
/**
|
|
8128
|
-
* The link that appears in the resend code link
|
|
8129
|
-
* @uiName Resend code label
|
|
8130
|
-
* @uiGroup Code Verification Step
|
|
8131
|
-
*/
|
|
8132
|
-
this.codeStep_resendCodeLabel = "Resend code";
|
|
8133
|
-
/**
|
|
8134
|
-
* Link text displayed under verify button
|
|
8135
|
-
* @uiName Resend code text
|
|
8136
|
-
* @uiGroup Code Verification Step
|
|
8137
|
-
*/
|
|
8138
|
-
this.codeStep_codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
8139
|
-
/**
|
|
8140
|
-
* Error text displayed under verification input
|
|
8141
|
-
* @uiName Invalid code text
|
|
8142
|
-
* @uiGroup Code Verification Step
|
|
8143
|
-
*/
|
|
8144
|
-
this.codeStep_invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
8145
|
-
/**
|
|
8146
|
-
* @uiName Verify code button text
|
|
8147
|
-
* @uiGroup Code Verification Step
|
|
8148
|
-
*/
|
|
8149
|
-
this.codeStep_verifyText = "Verify";
|
|
8150
|
-
/**
|
|
8151
|
-
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
8152
|
-
* @uiName Network error message
|
|
8153
|
-
* @uiGroup Code Verification Step
|
|
8154
|
-
*/
|
|
8155
|
-
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
8156
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8157
|
-
PARTNER CREATION STEP PROPS
|
|
8158
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8159
|
-
/**
|
|
8160
|
-
* @uiName New partner header
|
|
8161
|
-
* @uiGroup Partner Creation Step
|
|
8162
|
-
* @uiWidget textArea
|
|
8163
|
-
*/
|
|
8164
|
-
this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
|
|
8165
|
-
/**
|
|
8166
|
-
* @uiName Existing partner header
|
|
8167
|
-
* @uiGroup Partner Creation Step
|
|
8168
|
-
* @uiWidget textArea
|
|
8169
|
-
*/
|
|
8170
|
-
this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
|
|
8171
|
-
/**
|
|
8172
|
-
* @uiName New partner description
|
|
8173
|
-
* @uiGroup Partner Creation Step
|
|
8174
|
-
* @uiWidget textArea
|
|
8175
|
-
*/
|
|
8176
|
-
this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
|
|
8177
|
-
/**
|
|
8178
|
-
* @uiName Existing partner description
|
|
8179
|
-
* @uiGroup Partner Creation Step
|
|
8180
|
-
* @uiWidget textArea
|
|
8181
|
-
*/
|
|
8182
|
-
this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
|
|
8183
|
-
/**
|
|
8184
|
-
* @uiName Existing partner support description
|
|
8185
|
-
* @uiGroup Partner Creation Step
|
|
8186
|
-
* @uiWidget textArea
|
|
8187
|
-
*/
|
|
8188
|
-
this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
|
|
8189
|
-
/**
|
|
8190
|
-
* @uiName Country label
|
|
8191
|
-
* @uiGroup Partner Creation Step
|
|
8192
|
-
*/
|
|
8193
|
-
this.createPartnerStep_countryLabel = "Country";
|
|
8194
|
-
/**
|
|
8195
|
-
* @uiName Currency label
|
|
8196
|
-
* @uiGroup Partner Creation Step
|
|
8197
|
-
*/
|
|
8198
|
-
this.createPartnerStep_currencyLabel = "Currency";
|
|
8199
|
-
/**
|
|
8200
|
-
* @uiName Submit button label
|
|
8201
|
-
* @uiGroup Partner Creation Step
|
|
8202
|
-
*/
|
|
8203
|
-
this.createPartnerStep_submitButtonLabel = "Submit";
|
|
8204
|
-
/**
|
|
8205
|
-
* @uiName Confirm button label
|
|
8206
|
-
* @uiGroup Partner Creation Step
|
|
8207
|
-
*/
|
|
8208
|
-
this.createPartnerStep_confirmButtonLabel = "Confirm";
|
|
8209
|
-
/**
|
|
8210
|
-
* @uiName Search country placeholder
|
|
8211
|
-
* @uiGroup Partner Creation Step
|
|
8212
|
-
*/
|
|
8213
|
-
this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
|
|
8214
|
-
/**
|
|
8215
|
-
* @uiName Search currency placeholder
|
|
8216
|
-
* @uiGroup Partner Creation Step
|
|
8217
|
-
*/
|
|
8218
|
-
this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
|
|
8219
|
-
/**
|
|
8220
|
-
* @uiName Network error text
|
|
8221
|
-
* @uiGroup Partner Creation Step
|
|
8222
|
-
* @uiWidget textArea
|
|
8223
|
-
*/
|
|
8224
|
-
this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
|
|
8225
|
-
/**
|
|
8226
|
-
* @uiName Missing fields error text
|
|
8227
|
-
* @uiGroup Partner Creation Step
|
|
8228
|
-
* @uiWidget textArea
|
|
8229
|
-
*/
|
|
8230
|
-
this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
|
|
8231
|
-
/**
|
|
8232
|
-
* @undocumented
|
|
8233
|
-
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
8234
|
-
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
8235
|
-
* @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
|
|
8236
|
-
*/
|
|
8237
|
-
this.stateController = "{}";
|
|
8238
|
-
h(this);
|
|
8239
|
-
}
|
|
8240
|
-
disconnectedCallback() { }
|
|
8241
|
-
getStepTextProps(prefix) {
|
|
8242
|
-
const props = getProps(this);
|
|
8243
|
-
return extractProps(props, prefix);
|
|
8244
|
-
}
|
|
8245
|
-
render() {
|
|
8246
|
-
var _a;
|
|
8247
|
-
const props = isDemo()
|
|
8248
|
-
? useDemoWidgetVerificationInternal(this)
|
|
8249
|
-
: useWidgetVerification();
|
|
8250
|
-
if (props.loading)
|
|
8251
|
-
return h$1("sl-spinner", null);
|
|
8252
|
-
// for handling state previews in content editor
|
|
8253
|
-
const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
|
|
8254
|
-
? parseStates(props["sqm-partner-info-modal_stateController"])
|
|
8255
|
-
: props["sqm-partner-info-modal_stateController"];
|
|
8256
|
-
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8257
|
-
return h$1("div", null);
|
|
8258
|
-
}
|
|
8259
|
-
// const generalText = this.getStepTextProps("general_");
|
|
8260
|
-
const partnerText = this.getStepTextProps("createPartnerStep_");
|
|
8261
|
-
const dialogLabel = this.general_widgetHeaderWithPartnerCreation;
|
|
8262
|
-
const renderStepContent = () => {
|
|
8263
|
-
if (props.showPartnerModal) {
|
|
8264
|
-
return (h$1("sqm-partner-info-modal", Object.assign({ inModal: true }, partnerText, { stateController: props["sqm-partner-info-modal_stateController"] || "{}" })));
|
|
8265
|
-
}
|
|
8266
|
-
if (props.showCode) {
|
|
8267
|
-
return (h$1("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps(props, "sqm-code-verification_"))));
|
|
8268
|
-
}
|
|
8269
|
-
return (h$1("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps(props, "sqm-email-verification_"))));
|
|
8270
|
-
};
|
|
8271
|
-
return (h$1("div", null, h$1("style", { type: "text/css" }, styleString$3), h$1("sl-dialog", { class: sheet$3.classes.Dialog, noHeader: true, open: true, label: dialogLabel, "onSl-request-close": (e) => {
|
|
8272
|
-
e.preventDefault();
|
|
8273
|
-
}, "onSl-hide": (e) => {
|
|
8274
|
-
var _a;
|
|
8275
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
8276
|
-
e.preventDefault();
|
|
8277
|
-
}
|
|
8278
|
-
} }, h$1("h2", { class: sheet$3.classes.DialogTitle }, dialogLabel), renderStepContent())));
|
|
8279
|
-
}
|
|
8280
|
-
};
|
|
8281
|
-
function useDemoWidgetVerificationInternal(props) {
|
|
8282
|
-
const [showCode, setShowCode] = In({
|
|
8283
|
-
namespace: SHOW_CODE_NAMESPACE,
|
|
8284
|
-
initialValue: false,
|
|
8285
|
-
});
|
|
8286
|
-
const [email, setEmail] = In({
|
|
8287
|
-
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
8288
|
-
initialValue: undefined,
|
|
8289
|
-
});
|
|
8290
|
-
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
8291
|
-
const states = parseStates(props.stateController);
|
|
8292
|
-
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
8293
|
-
? { ...prev, ...states[key] }
|
|
8294
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
8295
|
-
const onVerification = () => {
|
|
8296
|
-
setContext(true);
|
|
8297
|
-
};
|
|
8298
|
-
return cjs({
|
|
8299
|
-
showCode,
|
|
8300
|
-
showPartnerModal: false,
|
|
8301
|
-
onVerification,
|
|
8302
|
-
onPartnerModalComplete: () => { },
|
|
8303
|
-
loading: false,
|
|
8304
|
-
}, formatted || {}, { arrayMerge: (_, a) => a });
|
|
8305
|
-
}
|
|
8306
|
-
|
|
8307
|
-
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 };
|
|
8172
|
+
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 };
|