@saasquatch/mint-components 2.1.9-8 → 2.1.9
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-d679ec76.js → ShadowViewAddon-1798acd3.js} +410 -24
- package/dist/cjs/{data-e83f8a41.js → data-8c8a08f6.js} +2 -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 +68 -401
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +229 -421
- 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 +2 -2
- 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-email-verification-view-2b4b92da.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-bfdbb98d.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-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.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-90cd89e3.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 +174 -220
- 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-f274fdf2.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-923ff8d9.js → sqm-user-info-form-view-53306f6e.js} +12 -9
- 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-password-field/sqm-password-field.js +1 -0
- 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-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +132 -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 +685 -27
- package/dist/collection/components/sqm-share-link/useShareLink.js +210 -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 +4 -473
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
- 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-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 +1 -10
- 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 +10 -7
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -7
- package/dist/esm/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-44c263e0.js} +411 -26
- package/dist/esm/{data-2b0feb3f.js → data-12e6aae1.js} +2 -2
- 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 +65 -398
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +226 -417
- 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 +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-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-email-verification-view-80736644.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-a6be8558.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-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.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-92297506.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 +174 -220
- 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-738acfb3.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-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +12 -9
- 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-44c263e0.js +1 -0
- package/dist/esm-es5/{data-2b0feb3f.js → data-12e6aae1.js} +1 -1
- 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-email-verification-view-80736644.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-a6be8558.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-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.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-92297506.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-738acfb3.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-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +1 -1
- 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-66c0100c.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-886fb141.entry.js → p-058aefe1.entry.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-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-a5912b2f.js → p-0c0d4065.js} +3 -3
- 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-e5ee6cf5.entry.js → p-13292317.entry.js} +2 -2
- package/dist/mint-components/{p-d65991d0.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-ba953c21.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-a7ee6531.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-40bad95a.entry.js +33 -0
- package/dist/mint-components/{p-31dde9fc.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/p-4900c740.system.entry.js +1 -0
- 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-dac20392.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
- 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-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
- 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-93c5c8ec.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-f18a6658.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-b9f57e84.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-b5f57914.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-b297016f.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-a171767a.system.entry.js +1 -0
- package/dist/mint-components/{p-3c46b4dd.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-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
- package/dist/mint-components/p-b04289d6.entry.js +9 -0
- 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-56ca7e3c.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-71545bfd.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-669d52c4.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-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/{p-cabf6326.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-d2e8359a.entry.js +273 -0
- package/dist/mint-components/{p-18133026.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-be63f29b.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-de0d6fd7.js +49 -0
- package/dist/mint-components/p-df073770.system.js +1 -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-fb5c9802.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-eaf5d0af.system.js → p-ea03e50e.system.js} +1 -1
- package/dist/mint-components/p-eab25269.js +499 -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-8139fdec.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-15a703c7.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/{p-d798004f.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-54bf015a.system.js → p-ff118a19.system.js} +1 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
- package/dist/types/components/sqm-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 +37 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +140 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +27 -4
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -73
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
- 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.d.ts +261 -564
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- 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 -810
- package/dist/cjs/sqm-partner-info-modal-view-cd758f12.js +0 -107
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -145
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -102
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -553
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -232
- 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 -805
- package/dist/esm/sqm-partner-info-modal-view-dbedda28.js +0 -105
- package/dist/esm-es5/ShadowViewAddon-657d18f0.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-dbedda28.js +0 -1
- package/dist/mint-components/p-098d134a.system.entry.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-160764bc.system.entry.js +0 -1
- package/dist/mint-components/p-1b2fcd7f.entry.js +0 -108
- package/dist/mint-components/p-1c413a06.system.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-59f69bdc.system.entry.js +0 -1
- package/dist/mint-components/p-63c299f1.system.js +0 -1
- package/dist/mint-components/p-64b56141.system.entry.js +0 -1
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-6638c7c6.system.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-7144ac40.js +0 -1
- package/dist/mint-components/p-74aac245.system.js +0 -1
- package/dist/mint-components/p-7a5814ef.system.entry.js +0 -1
- package/dist/mint-components/p-896390f9.js +0 -463
- package/dist/mint-components/p-996eb820.entry.js +0 -1
- package/dist/mint-components/p-a8ecdc44.system.js +0 -1
- package/dist/mint-components/p-a9bf9d3c.entry.js +0 -291
- package/dist/mint-components/p-adcc37f3.entry.js +0 -105
- 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-bba694e4.entry.js +0 -1
- package/dist/mint-components/p-bfbfde38.entry.js +0 -33
- 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-d2927531.entry.js +0 -9
- package/dist/mint-components/p-d6714617.entry.js +0 -1
- package/dist/mint-components/p-dac1f2cb.system.entry.js +0 -1
- package/dist/mint-components/p-e95402dc.js +0 -49
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -43
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -101
- 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,35 +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,
|
|
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-44c263e0.js';
|
|
27
27
|
import './sqm-portal-container-view-a8c708cd.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-
|
|
29
|
-
import {
|
|
30
|
-
import './
|
|
31
|
-
import { u as usePayoutStatus } from './usePayoutStatus-fa504d49.js';
|
|
32
|
-
import { p as parseStates } from './parseStates-ed75e224.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';
|
|
33
31
|
|
|
34
32
|
/**
|
|
35
33
|
*
|
|
@@ -4618,6 +4616,11 @@ const SqmReferralIframe = class {
|
|
|
4618
4616
|
* @uiName IFrame width
|
|
4619
4617
|
*/
|
|
4620
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";
|
|
4621
4624
|
h(this);
|
|
4622
4625
|
}
|
|
4623
4626
|
disconnectedCallback() { }
|
|
@@ -6052,7 +6055,6 @@ function useDemoShareCode(props) {
|
|
|
6052
6055
|
borderRadius: props.borderRadius,
|
|
6053
6056
|
borderColor: props.borderColor,
|
|
6054
6057
|
buttonType: props.buttonType,
|
|
6055
|
-
rewardStatus: "AVAILABLE",
|
|
6056
6058
|
open,
|
|
6057
6059
|
onClick: () => {
|
|
6058
6060
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6112,6 +6114,143 @@ const ShareLink = class {
|
|
|
6112
6114
|
* @uiGroup Style
|
|
6113
6115
|
*/
|
|
6114
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
|
+
* @requiredFlavor impact
|
|
6124
|
+
*/
|
|
6125
|
+
this.allowCustomization = false;
|
|
6126
|
+
/**
|
|
6127
|
+
* Text for the cancel button in editing mode
|
|
6128
|
+
*
|
|
6129
|
+
* @uiName Cancel button label
|
|
6130
|
+
* @uiType string
|
|
6131
|
+
* @uiGroup Customizable Vanity Link
|
|
6132
|
+
* @requiredFlavor impact
|
|
6133
|
+
*/
|
|
6134
|
+
this.cancelLabelText = "Cancel";
|
|
6135
|
+
/**
|
|
6136
|
+
* Tooltip text shown when link customization is disabled
|
|
6137
|
+
*
|
|
6138
|
+
* @uiName Customize disabled tooltip
|
|
6139
|
+
* @uiType string
|
|
6140
|
+
* @uiGroup Customizable Vanity Link
|
|
6141
|
+
* @requiredFlavor impact
|
|
6142
|
+
*/
|
|
6143
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6144
|
+
/**
|
|
6145
|
+
* Displayed below the share link.
|
|
6146
|
+
*
|
|
6147
|
+
* @uiName Customize link button label
|
|
6148
|
+
* @uiType string
|
|
6149
|
+
* @uiGroup Customizable Vanity Link
|
|
6150
|
+
* @requiredFlavor impact
|
|
6151
|
+
*/
|
|
6152
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6153
|
+
/**
|
|
6154
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6155
|
+
*
|
|
6156
|
+
* @uiName Edit limit reached text
|
|
6157
|
+
* @uiType string
|
|
6158
|
+
* @uiWidget textarea
|
|
6159
|
+
* @uiGroup Customizable Vanity Link
|
|
6160
|
+
* @requiredFlavor impact
|
|
6161
|
+
*/
|
|
6162
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6163
|
+
/**
|
|
6164
|
+
* Subtext shown while the user is customizing their URL.
|
|
6165
|
+
*
|
|
6166
|
+
* @uiName Edit limit text
|
|
6167
|
+
* @uiType string
|
|
6168
|
+
* @uiGroup Customizable Vanity Link
|
|
6169
|
+
* @requiredFlavor impact
|
|
6170
|
+
*/
|
|
6171
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6172
|
+
/**
|
|
6173
|
+
* Description text shown when the link contains invalid special characters.
|
|
6174
|
+
*
|
|
6175
|
+
* @uiName Invalid characters error description
|
|
6176
|
+
* @uiType string
|
|
6177
|
+
* @uiWidget textarea
|
|
6178
|
+
* @uiGroup Customizable Vanity Link
|
|
6179
|
+
* @requiredFlavor impact
|
|
6180
|
+
*/
|
|
6181
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6182
|
+
/**
|
|
6183
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6184
|
+
*
|
|
6185
|
+
* @uiName Invalid characters error title
|
|
6186
|
+
* @uiType string
|
|
6187
|
+
* @uiGroup Customizable Vanity Link
|
|
6188
|
+
* @requiredFlavor impact
|
|
6189
|
+
*/
|
|
6190
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6191
|
+
/**
|
|
6192
|
+
* Description text shown when the link has already been taken
|
|
6193
|
+
*
|
|
6194
|
+
* @uiName Link taken error message
|
|
6195
|
+
* @uiType string
|
|
6196
|
+
* @uiWidget textarea
|
|
6197
|
+
* @uiGroup Customizable Vanity Link
|
|
6198
|
+
* @requiredFlavor impact
|
|
6199
|
+
*/
|
|
6200
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6201
|
+
/**
|
|
6202
|
+
* Title of the error message shown when the link has already been taken
|
|
6203
|
+
*
|
|
6204
|
+
* @uiName Link taken error title
|
|
6205
|
+
* @uiType string
|
|
6206
|
+
* @uiGroup Customizable Vanity Link
|
|
6207
|
+
* @requiredFlavor impact
|
|
6208
|
+
*/
|
|
6209
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6210
|
+
/**
|
|
6211
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6212
|
+
*
|
|
6213
|
+
* @uiName Restricted words error description
|
|
6214
|
+
* @uiType string
|
|
6215
|
+
* @uiWidget textarea
|
|
6216
|
+
* @uiGroup Customizable Vanity Link
|
|
6217
|
+
* @requiredFlavor impact
|
|
6218
|
+
*/
|
|
6219
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6220
|
+
/**
|
|
6221
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6222
|
+
*
|
|
6223
|
+
* @uiName Restricted words error title
|
|
6224
|
+
* @uiType string
|
|
6225
|
+
* @uiGroup Customizable Vanity Link
|
|
6226
|
+
* @requiredFlavor impact
|
|
6227
|
+
*/
|
|
6228
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6229
|
+
/**
|
|
6230
|
+
* Text for the save button in editing mode
|
|
6231
|
+
*
|
|
6232
|
+
* @uiName Save button label
|
|
6233
|
+
* @uiType string
|
|
6234
|
+
* @uiGroup Customizable Vanity Link
|
|
6235
|
+
* @requiredFlavor impact
|
|
6236
|
+
*/
|
|
6237
|
+
this.saveLabelText = "Save";
|
|
6238
|
+
/**
|
|
6239
|
+
* @uiName Min characters text
|
|
6240
|
+
* @uiType string
|
|
6241
|
+
* @uiGroup Customizable Vanity Link
|
|
6242
|
+
* @requiredFlavor impact
|
|
6243
|
+
*/
|
|
6244
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6245
|
+
/**
|
|
6246
|
+
* Display text for the support link in the edit limit reached message
|
|
6247
|
+
*
|
|
6248
|
+
* @uiName Support link text
|
|
6249
|
+
* @uiType string
|
|
6250
|
+
* @uiGroup Customizable Vanity Link
|
|
6251
|
+
* @requiredFlavor impact
|
|
6252
|
+
*/
|
|
6253
|
+
this.supportLinkText = "Support";
|
|
6115
6254
|
h(this);
|
|
6116
6255
|
}
|
|
6117
6256
|
disconnectedCallback() { }
|
|
@@ -6120,33 +6259,75 @@ const ShareLink = class {
|
|
|
6120
6259
|
const props = isDemo()
|
|
6121
6260
|
? useDemoShareLink(thisProps)
|
|
6122
6261
|
: useShareLink(thisProps);
|
|
6123
|
-
return h$1(
|
|
6262
|
+
return h$1(ShareLinkView, Object.assign({}, props));
|
|
6124
6263
|
}
|
|
6125
6264
|
};
|
|
6126
6265
|
function useDemoShareLink(props) {
|
|
6266
|
+
var _a;
|
|
6127
6267
|
const [open, setOpen] = useState(false);
|
|
6268
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
6269
|
+
const [editValue, setEditValue] = useState("");
|
|
6128
6270
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6271
|
+
const domainPrefix = "https://www.example.com/";
|
|
6272
|
+
const baseProps = {
|
|
6273
|
+
copyTextViewProps: {
|
|
6274
|
+
copyString,
|
|
6275
|
+
tooltiptext: props.tooltiptext,
|
|
6276
|
+
textAlign: props.textAlign,
|
|
6277
|
+
buttonStyle: props.buttonStyle,
|
|
6278
|
+
backgroundColor: props.backgroundColor,
|
|
6279
|
+
textColor: props.textColor,
|
|
6280
|
+
borderRadius: props.borderRadius,
|
|
6281
|
+
buttonType: props.buttonType,
|
|
6282
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6283
|
+
borderColor: props.borderColor,
|
|
6284
|
+
open,
|
|
6285
|
+
onClick: () => {
|
|
6286
|
+
navigator.clipboard.writeText(copyString);
|
|
6287
|
+
setOpen(true);
|
|
6288
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6289
|
+
},
|
|
6148
6290
|
},
|
|
6149
|
-
|
|
6291
|
+
allowCustomization: props.allowCustomization,
|
|
6292
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6293
|
+
saveLabelText: props.saveLabelText,
|
|
6294
|
+
cancelLabelText: props.cancelLabelText,
|
|
6295
|
+
isEditing,
|
|
6296
|
+
editValue,
|
|
6297
|
+
domainPrefix,
|
|
6298
|
+
editsRemaining: 5,
|
|
6299
|
+
maxEdits: 5,
|
|
6300
|
+
limitReached: false,
|
|
6301
|
+
validationError: null,
|
|
6302
|
+
isValidating: false,
|
|
6303
|
+
isSaving: false,
|
|
6304
|
+
characterLimit: 15,
|
|
6305
|
+
minCharacters: 3,
|
|
6306
|
+
charactersRemaining: 15 - editValue.length,
|
|
6307
|
+
editLimitText: props.editLimitText,
|
|
6308
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6309
|
+
supportLinkText: props.supportLinkText,
|
|
6310
|
+
minCharactersText: props.minCharactersText,
|
|
6311
|
+
customizeDisabled: false,
|
|
6312
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6313
|
+
onCustomizeClick: () => {
|
|
6314
|
+
setIsEditing(true);
|
|
6315
|
+
setEditValue("");
|
|
6316
|
+
},
|
|
6317
|
+
onEditValueChange: (value) => {
|
|
6318
|
+
setEditValue(value);
|
|
6319
|
+
},
|
|
6320
|
+
onSave: () => {
|
|
6321
|
+
setIsEditing(false);
|
|
6322
|
+
},
|
|
6323
|
+
onCancel: () => {
|
|
6324
|
+
setIsEditing(false);
|
|
6325
|
+
setEditValue("");
|
|
6326
|
+
},
|
|
6327
|
+
};
|
|
6328
|
+
return cjs(baseProps, props.demoData || {}, {
|
|
6329
|
+
arrayMerge: (_, a) => a,
|
|
6330
|
+
});
|
|
6150
6331
|
}
|
|
6151
6332
|
|
|
6152
6333
|
const StatContainer = class {
|
|
@@ -6390,39 +6571,12 @@ function useTaskCardDemo(props) {
|
|
|
6390
6571
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6391
6572
|
}
|
|
6392
6573
|
|
|
6393
|
-
/**
|
|
6394
|
-
* Util function for getting just the props with a certain prefix.
|
|
6395
|
-
* @param props Text props on stencil component
|
|
6396
|
-
* @param prefix Prefix denoting which group the text prop belongs to
|
|
6397
|
-
* @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
|
|
6398
|
-
*/
|
|
6399
|
-
function extractProps(props, prefix) {
|
|
6400
|
-
const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
|
|
6401
|
-
const formattedProps = keys.reduce((prev, k) => {
|
|
6402
|
-
const key = k.replace(prefix, "");
|
|
6403
|
-
return {
|
|
6404
|
-
...prev,
|
|
6405
|
-
[key]: props[k],
|
|
6406
|
-
};
|
|
6407
|
-
}, {});
|
|
6408
|
-
return formattedProps;
|
|
6409
|
-
}
|
|
6410
|
-
|
|
6411
6574
|
function getCurrentStep(user) {
|
|
6412
6575
|
var _a, _b;
|
|
6413
6576
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6414
6577
|
return "/1";
|
|
6415
6578
|
}
|
|
6416
|
-
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount,
|
|
6417
|
-
console.log(phoneNumber, "phone number in getCurrentStep");
|
|
6418
|
-
// Early partner creation does not collect these fields
|
|
6419
|
-
if (!billingAddress ||
|
|
6420
|
-
!billingCity ||
|
|
6421
|
-
!billingPostalCode ||
|
|
6422
|
-
!billingState ||
|
|
6423
|
-
!phoneNumber) {
|
|
6424
|
-
return "/1";
|
|
6425
|
-
}
|
|
6579
|
+
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6426
6580
|
// If they do have a required document, look at current document
|
|
6427
6581
|
if (requiredTaxDocumentType && !currentTaxDocument) {
|
|
6428
6582
|
// Specific to custom CASH setting,
|
|
@@ -6743,7 +6897,7 @@ const TaxAndCashMonolith = class {
|
|
|
6743
6897
|
* @uiName Indirect tax number field label
|
|
6744
6898
|
* @uiGroup Step 2 Properties
|
|
6745
6899
|
*/
|
|
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}}";
|
|
6900
|
+
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
6901
|
/**
|
|
6748
6902
|
* @uiName Province field label
|
|
6749
6903
|
* @uiGroup Step 2 Properties
|
|
@@ -6753,7 +6907,7 @@ const TaxAndCashMonolith = class {
|
|
|
6753
6907
|
* @uiName Missing indirect tax number error message
|
|
6754
6908
|
* @uiGroup Step 2 Properties
|
|
6755
6909
|
*/
|
|
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";
|
|
6910
|
+
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
6911
|
/**
|
|
6758
6912
|
* Displayed to participants registered for QST.
|
|
6759
6913
|
* @uiName QST number field label
|
|
@@ -7321,7 +7475,7 @@ const TaxAndCashMonolith = class {
|
|
|
7321
7475
|
* @uiName Payout status badge
|
|
7322
7476
|
* @uiGroup Dashboard Properties
|
|
7323
7477
|
*/
|
|
7324
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7478
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
7325
7479
|
/**
|
|
7326
7480
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7327
7481
|
* @uiName Payout schedule by threshold text
|
|
@@ -7955,349 +8109,4 @@ function useUserNameDemo(props) {
|
|
|
7955
8109
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7956
8110
|
}
|
|
7957
8111
|
|
|
7958
|
-
|
|
7959
|
-
query checkUserVerification {
|
|
7960
|
-
viewer {
|
|
7961
|
-
... on User {
|
|
7962
|
-
id
|
|
7963
|
-
accountId
|
|
7964
|
-
email
|
|
7965
|
-
emailVerified
|
|
7966
|
-
managedIdentity {
|
|
7967
|
-
email
|
|
7968
|
-
emailVerified
|
|
7969
|
-
}
|
|
7970
|
-
impactConnection {
|
|
7971
|
-
connected
|
|
7972
|
-
}
|
|
7973
|
-
}
|
|
7974
|
-
}
|
|
7975
|
-
}
|
|
7976
|
-
`;
|
|
7977
|
-
function useWidgetVerification() {
|
|
7978
|
-
const userIdentity = J();
|
|
7979
|
-
const [showCode, setShowCode] = In({
|
|
7980
|
-
namespace: SHOW_CODE_NAMESPACE,
|
|
7981
|
-
initialValue: false,
|
|
7982
|
-
});
|
|
7983
|
-
const [email, setEmail] = In({
|
|
7984
|
-
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
7985
|
-
initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
|
|
7986
|
-
});
|
|
7987
|
-
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
7988
|
-
const [loading, setLoading] = useState(true);
|
|
7989
|
-
const [showPartnerModal, setShowPartnerModal] = useState(false);
|
|
7990
|
-
const [fetch] = Xe(USER_LOOKUP);
|
|
7991
|
-
useEffect(() => {
|
|
7992
|
-
const checkUser = async () => {
|
|
7993
|
-
var _a, _b, _c, _d, _e;
|
|
7994
|
-
try {
|
|
7995
|
-
const res = await fetch({});
|
|
7996
|
-
if (!res || res instanceof Error)
|
|
7997
|
-
throw new Error();
|
|
7998
|
-
// Flow changed to send email -> verify code -> show early partner creation modal
|
|
7999
|
-
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);
|
|
8000
|
-
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;
|
|
8001
|
-
if (isConnected) {
|
|
8002
|
-
// Partner already created, show widget content
|
|
8003
|
-
setContext(true);
|
|
8004
|
-
}
|
|
8005
|
-
else if (emailVerified) {
|
|
8006
|
-
// Email verified but no partner yet, show partner modal
|
|
8007
|
-
setShowPartnerModal(true);
|
|
8008
|
-
}
|
|
8009
|
-
}
|
|
8010
|
-
catch (e) {
|
|
8011
|
-
console.error("Could not fetch user information:", e);
|
|
8012
|
-
}
|
|
8013
|
-
finally {
|
|
8014
|
-
setLoading(false);
|
|
8015
|
-
}
|
|
8016
|
-
};
|
|
8017
|
-
checkUser();
|
|
8018
|
-
}, []);
|
|
8019
|
-
const onVerification = () => {
|
|
8020
|
-
setShowPartnerModal(true);
|
|
8021
|
-
};
|
|
8022
|
-
const onPartnerModalComplete = () => {
|
|
8023
|
-
setShowPartnerModal(false);
|
|
8024
|
-
setContext(true);
|
|
8025
|
-
};
|
|
8026
|
-
return { showCode, showPartnerModal, onVerification, onPartnerModalComplete, loading };
|
|
8027
|
-
}
|
|
8028
|
-
|
|
8029
|
-
const WidgetVerification = class {
|
|
8030
|
-
constructor(hostRef) {
|
|
8031
|
-
registerInstance(this, hostRef);
|
|
8032
|
-
// ! Any updated must be reflected in sqm-widget-verification-internal AND sqm-email-verification AND sqm-code-verification AND sqm-partner-info-modal
|
|
8033
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8034
|
-
GENERAL PROPS
|
|
8035
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8036
|
-
/**
|
|
8037
|
-
* @uiName General verify widget header text
|
|
8038
|
-
* @uiGroup General Text
|
|
8039
|
-
*/
|
|
8040
|
-
this.general_verifyEmailHeader = "Verify your email";
|
|
8041
|
-
/**
|
|
8042
|
-
* @uiName General verify widget description text
|
|
8043
|
-
* @uiGroup General Text
|
|
8044
|
-
*/
|
|
8045
|
-
this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
|
|
8046
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8047
|
-
EMAIL STEP PROPS
|
|
8048
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8049
|
-
/**
|
|
8050
|
-
* @uiName Verify email widget header text
|
|
8051
|
-
* @uiGroup Email Verification Step
|
|
8052
|
-
*/
|
|
8053
|
-
this.emailStep_verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
|
|
8054
|
-
/**
|
|
8055
|
-
* @uiName Send code to email alert header
|
|
8056
|
-
* @uiGroup Email Verification Step
|
|
8057
|
-
*/
|
|
8058
|
-
this.emailStep_sendCodeErrorHeader = "There was an error sending your code.";
|
|
8059
|
-
/**
|
|
8060
|
-
* @uiName Send code to email alert description
|
|
8061
|
-
* @uiGroup Email Verification Step
|
|
8062
|
-
*/
|
|
8063
|
-
this.emailStep_sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
|
|
8064
|
-
/**
|
|
8065
|
-
* @uiName Email input label
|
|
8066
|
-
* @uiGroup Email Verification Step
|
|
8067
|
-
*/
|
|
8068
|
-
this.emailStep_emailLabel = "Email";
|
|
8069
|
-
/**
|
|
8070
|
-
* @uiName Send code button text
|
|
8071
|
-
* @uiGroup Email Verification Step
|
|
8072
|
-
*/
|
|
8073
|
-
this.emailStep_sendCodeText = "Send code";
|
|
8074
|
-
/**
|
|
8075
|
-
* @uiName Send code button text
|
|
8076
|
-
* @uiGroup Email Verification Step
|
|
8077
|
-
*/
|
|
8078
|
-
this.emailStep_emailValidationErrorText = "Please enter a valid email";
|
|
8079
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8080
|
-
CODE STEP PROPS
|
|
8081
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8082
|
-
/**
|
|
8083
|
-
* @uiName Verify code widget header text
|
|
8084
|
-
* @uiGroup Code Verification Step
|
|
8085
|
-
*/
|
|
8086
|
-
this.codeStep_verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8087
|
-
/**
|
|
8088
|
-
* @uiName Reverify code widget header text
|
|
8089
|
-
* @uiGroup Code Verification Step
|
|
8090
|
-
*/
|
|
8091
|
-
this.codeStep_reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8092
|
-
/**
|
|
8093
|
-
* Text displayed under verify button
|
|
8094
|
-
* @uiName Resend code text
|
|
8095
|
-
* @uiGroup Code Verification Step
|
|
8096
|
-
*/
|
|
8097
|
-
this.codeStep_resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
8098
|
-
/**
|
|
8099
|
-
* The link that appears in the resend code link
|
|
8100
|
-
* @uiName Resend code label
|
|
8101
|
-
* @uiGroup Code Verification Step
|
|
8102
|
-
*/
|
|
8103
|
-
this.codeStep_resendCodeLabel = "Resend code";
|
|
8104
|
-
/**
|
|
8105
|
-
* Link text displayed under verify button
|
|
8106
|
-
* @uiName Resend code text
|
|
8107
|
-
* @uiGroup Code Verification Step
|
|
8108
|
-
*/
|
|
8109
|
-
this.codeStep_codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
8110
|
-
/**
|
|
8111
|
-
* Error text displayed under verification input
|
|
8112
|
-
* @uiName Invalid code text
|
|
8113
|
-
* @uiGroup Code Verification Step
|
|
8114
|
-
*/
|
|
8115
|
-
this.codeStep_invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
8116
|
-
/**
|
|
8117
|
-
* @uiName Verify code button text
|
|
8118
|
-
* @uiGroup Code Verification Step
|
|
8119
|
-
*/
|
|
8120
|
-
this.codeStep_verifyText = "Verify";
|
|
8121
|
-
/**
|
|
8122
|
-
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
8123
|
-
* @uiName Network error message
|
|
8124
|
-
* @uiGroup Code Verification Step
|
|
8125
|
-
*/
|
|
8126
|
-
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
8127
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8128
|
-
PARTNER CREATION STEP PROPS
|
|
8129
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8130
|
-
/**
|
|
8131
|
-
* @uiName New partner header
|
|
8132
|
-
* @uiGroup Partner Creation Step
|
|
8133
|
-
* @uiWidget textArea
|
|
8134
|
-
*/
|
|
8135
|
-
this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
|
|
8136
|
-
/**
|
|
8137
|
-
* @uiName Existing partner header
|
|
8138
|
-
* @uiGroup Partner Creation Step
|
|
8139
|
-
* @uiWidget textArea
|
|
8140
|
-
*/
|
|
8141
|
-
this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
|
|
8142
|
-
/**
|
|
8143
|
-
* @uiName New partner description
|
|
8144
|
-
* @uiGroup Partner Creation Step
|
|
8145
|
-
* @uiWidget textArea
|
|
8146
|
-
*/
|
|
8147
|
-
this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
|
|
8148
|
-
/**
|
|
8149
|
-
* @uiName Existing partner description
|
|
8150
|
-
* @uiGroup Partner Creation Step
|
|
8151
|
-
* @uiWidget textArea
|
|
8152
|
-
*/
|
|
8153
|
-
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.";
|
|
8154
|
-
/**
|
|
8155
|
-
* @uiName Existing partner support description
|
|
8156
|
-
* @uiGroup Partner Creation Step
|
|
8157
|
-
* @uiWidget textArea
|
|
8158
|
-
*/
|
|
8159
|
-
this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
|
|
8160
|
-
/**
|
|
8161
|
-
* @uiName Country label
|
|
8162
|
-
* @uiGroup Partner Creation Step
|
|
8163
|
-
*/
|
|
8164
|
-
this.createPartnerStep_countryLabel = "Country";
|
|
8165
|
-
/**
|
|
8166
|
-
* @uiName Currency label
|
|
8167
|
-
* @uiGroup Partner Creation Step
|
|
8168
|
-
*/
|
|
8169
|
-
this.createPartnerStep_currencyLabel = "Currency";
|
|
8170
|
-
/**
|
|
8171
|
-
* @uiName Submit button label
|
|
8172
|
-
* @uiGroup Partner Creation Step
|
|
8173
|
-
*/
|
|
8174
|
-
this.createPartnerStep_submitButtonLabel = "Submit";
|
|
8175
|
-
/**
|
|
8176
|
-
* @uiName Confirm button label
|
|
8177
|
-
* @uiGroup Partner Creation Step
|
|
8178
|
-
*/
|
|
8179
|
-
this.createPartnerStep_confirmButtonLabel = "Confirm";
|
|
8180
|
-
/**
|
|
8181
|
-
* @uiName Search country placeholder
|
|
8182
|
-
* @uiGroup Partner Creation Step
|
|
8183
|
-
*/
|
|
8184
|
-
this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
|
|
8185
|
-
/**
|
|
8186
|
-
* @uiName Search currency placeholder
|
|
8187
|
-
* @uiGroup Partner Creation Step
|
|
8188
|
-
*/
|
|
8189
|
-
this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
|
|
8190
|
-
/**
|
|
8191
|
-
* @uiName Network error text
|
|
8192
|
-
* @uiGroup Partner Creation Step
|
|
8193
|
-
* @uiWidget textArea
|
|
8194
|
-
*/
|
|
8195
|
-
this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
|
|
8196
|
-
/**
|
|
8197
|
-
* @uiName Missing fields error text
|
|
8198
|
-
* @uiGroup Partner Creation Step
|
|
8199
|
-
* @uiWidget textArea
|
|
8200
|
-
*/
|
|
8201
|
-
this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
|
|
8202
|
-
/**
|
|
8203
|
-
* @undocumented
|
|
8204
|
-
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
8205
|
-
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
8206
|
-
* @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
|
|
8207
|
-
*/
|
|
8208
|
-
this.stateController = "{}";
|
|
8209
|
-
h(this);
|
|
8210
|
-
}
|
|
8211
|
-
disconnectedCallback() { }
|
|
8212
|
-
getStepTextProps(prefix) {
|
|
8213
|
-
const props = getProps(this);
|
|
8214
|
-
return extractProps(props, prefix);
|
|
8215
|
-
}
|
|
8216
|
-
render() {
|
|
8217
|
-
const props = isDemo()
|
|
8218
|
-
? useDemoWidgetVerificationInternal(this)
|
|
8219
|
-
: useWidgetVerification();
|
|
8220
|
-
if (props.loading)
|
|
8221
|
-
return h$1("sl-spinner", null);
|
|
8222
|
-
if (props.showPartnerModal) {
|
|
8223
|
-
return (h$1("sqm-partner-info-modal", Object.assign({}, this.getStepTextProps("createPartnerStep_"))));
|
|
8224
|
-
}
|
|
8225
|
-
const style = {
|
|
8226
|
-
Dialog: {
|
|
8227
|
-
"&::part(panel)": {
|
|
8228
|
-
maxWidth: "480px",
|
|
8229
|
-
},
|
|
8230
|
-
"&::part(title)": {
|
|
8231
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
8232
|
-
fontWeight: "600",
|
|
8233
|
-
padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
|
|
8234
|
-
},
|
|
8235
|
-
"&::part(body)": {
|
|
8236
|
-
padding: "0 var(--sl-spacing-x-large)",
|
|
8237
|
-
fontSize: "var(--sl-font-size-small)",
|
|
8238
|
-
overflow: "visible",
|
|
8239
|
-
},
|
|
8240
|
-
"&::part(footer)": {
|
|
8241
|
-
display: "flex",
|
|
8242
|
-
flexDirection: "column",
|
|
8243
|
-
gap: "var(--sl-spacing-small)",
|
|
8244
|
-
},
|
|
8245
|
-
"&::part(overlay)": {
|
|
8246
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
8247
|
-
},
|
|
8248
|
-
"&::part(close-button)": {
|
|
8249
|
-
display: "none",
|
|
8250
|
-
},
|
|
8251
|
-
},
|
|
8252
|
-
};
|
|
8253
|
-
const sheet = createStyleSheet(style);
|
|
8254
|
-
const styleString = sheet.toString();
|
|
8255
|
-
const generalText = this.getStepTextProps("general_");
|
|
8256
|
-
return (h$1("div", null, h$1("style", { type: "text/css" }, styleString), h$1("h3", { style: { fontSize: "24px", margin: "0" } }, generalText.verifyEmailHeader), h$1("p", { style: {
|
|
8257
|
-
color: "var(--sl-color-neutral-500)",
|
|
8258
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
8259
|
-
margin: "0",
|
|
8260
|
-
} }, generalText.verifyEmailDescription), props.showCode ? (h$1("sl-dialog", { class: sheet.classes.Dialog, noHeader: false, open: props.showCode, label: "Let's get your started for rewards", "onSl-request-close": (e) => {
|
|
8261
|
-
e.preventDefault();
|
|
8262
|
-
}, "onSl-hide": (e) => {
|
|
8263
|
-
var _a;
|
|
8264
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
8265
|
-
e.preventDefault();
|
|
8266
|
-
}
|
|
8267
|
-
} }, h$1("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps(props, "sqm-code-verification_"))))) : (h$1("sl-dialog", { class: sheet.classes.Dialog, noHeader: false, open: props.showCode, label: "Let's get your started for rewards", "onSl-request-close": (e) => {
|
|
8268
|
-
e.preventDefault();
|
|
8269
|
-
}, "onSl-hide": (e) => {
|
|
8270
|
-
var _a;
|
|
8271
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
8272
|
-
e.preventDefault();
|
|
8273
|
-
}
|
|
8274
|
-
} }, h$1("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps(props, "sqm-email-verification_")))))));
|
|
8275
|
-
}
|
|
8276
|
-
};
|
|
8277
|
-
function useDemoWidgetVerificationInternal(props) {
|
|
8278
|
-
const [showCode, setShowCode] = In({
|
|
8279
|
-
namespace: SHOW_CODE_NAMESPACE,
|
|
8280
|
-
initialValue: false,
|
|
8281
|
-
});
|
|
8282
|
-
const [email, setEmail] = In({
|
|
8283
|
-
namespace: VERIFICATION_EMAIL_NAMESPACE,
|
|
8284
|
-
initialValue: undefined,
|
|
8285
|
-
});
|
|
8286
|
-
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
8287
|
-
const states = parseStates(props.stateController);
|
|
8288
|
-
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
8289
|
-
? { ...prev, ...states[key] }
|
|
8290
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
8291
|
-
const onVerification = () => {
|
|
8292
|
-
setContext(true);
|
|
8293
|
-
};
|
|
8294
|
-
return cjs({
|
|
8295
|
-
showCode,
|
|
8296
|
-
showPartnerModal: false,
|
|
8297
|
-
onVerification,
|
|
8298
|
-
onPartnerModalComplete: () => { },
|
|
8299
|
-
loading: false,
|
|
8300
|
-
}, formatted || {}, { arrayMerge: (_, a) => a });
|
|
8301
|
-
}
|
|
8302
|
-
|
|
8303
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name, WidgetVerification as sqm_widget_verification };
|
|
8112
|
+
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 };
|