@saasquatch/mint-components 2.1.10-56 → 2.1.11-0
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-a26deae6.js → ShadowViewAddon-2b3f51be.js} +7 -7
- package/dist/cjs/{data-8c8a08f6.js → data-6b5095f8.js} +2 -91
- package/dist/cjs/eventKeys-7af4df4d.js +5 -0
- package/dist/cjs/{global-b7b1b8fe.js → global-0f8b1267.js} +3177 -3126
- package/dist/cjs/{index.module-f8c8495f.js → index.module-42d413d9.js} +154 -149
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/{re-render-72a0ef45.js → re-render-69bde9ee.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +484 -99
- package/dist/cjs/sqm-big-stat_46.cjs.entry.js +404 -93
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +7 -8
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +892 -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-0af2a157.js → sqm-lead-checkbox-field-view-d90f8941.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-0cd7ebdb.js → sqm-lead-input-field-view-818d9e9a.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-49b152dd.js → sqm-navigation-sidebar-item-view-20693e59.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-partner-info-modal-view-464c52c9.js +135 -0
- 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-c81fe7f1.js → sqm-portal-email-verification-view-60f8e0a7.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 +6 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-2bfd7afd.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-fd48f1d3.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-d90d77f9.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-b31638f8.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 +265 -84
- 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-8a32dd8c.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-01bf2f41.js} +33 -40
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{useChildElements-041127d7.js → useChildElements-89bc50a9.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-2398df36.js → useInstantAccessRegistration-651aa95b.js} +2 -2
- package/dist/cjs/{useLeadFormState-b4c2ab5b.js → useLeadFormState-76d3b511.js} +2 -2
- package/dist/cjs/{usePayoutStatus-0192fccd.js → usePayoutStatus-cf050a03.js} +4 -6
- package/dist/cjs/{usePortalRegistrationForm-23ee2d62.js → usePortalRegistrationForm-31822dc4.js} +2 -2
- package/dist/cjs/{useReferralCodes-0f7948af.js → useReferralCodes-89c2b972.js} +1 -1
- package/dist/cjs/{useReferralTable-6e9de0d5.js → useReferralTable-d3ddfd05.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-4fe5b770.js → useRegistrationFormState-a223f597.js} +1 -1
- package/dist/cjs/{useVerificationEmail-5d19aa99.js → useVerificationEmail-994bc32f.js} +1 -1
- package/dist/cjs/{utilities-fcdb9504.js → utilities-096934ea.js} +1 -1
- package/dist/cjs/utils-a8e0bd9b.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +150 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +129 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +670 -0
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +284 -0
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +0 -1
- 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 +1 -27
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +13 -1
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +12 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +510 -11
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +20 -5
- package/dist/collection/components/tax-and-cash/data.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +75 -37
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +688 -13
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +95 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +49 -11
- 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 +4 -0
- 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 +9 -17
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +34 -16
- package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-78b791d2.js} +7 -7
- package/dist/{mint-components/p-0c0d4065.js → esm/data-33c16dff.js} +24 -5
- package/dist/esm/eventKeys-f76b6a03.js +3 -0
- package/dist/esm/{global-96c14d63.js → global-39f55ec2.js} +3177 -3126
- package/dist/esm/{index.module-b23fdad8.js → index.module-cede12c6.js} +153 -150
- package/dist/esm/{keys-406491dc.js → keys-db1897ae.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/{re-render-f30aeb6b.js → re-render-7a0c7976.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +474 -89
- package/dist/esm/sqm-big-stat_46.entry.js +398 -87
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +8 -9
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +887 -0
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-partner-info-modal-view-a6324934.js +132 -0
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-33f5c108.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-88fd6a93.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-9bf30b56.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f8d1689c.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-0b70c1b1.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 +231 -50
- 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-4db9e33f.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-365cef98.js} +12 -19
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-c26d7347.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-e2392f42.js} +2 -2
- package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-9099c8d4.js} +2 -2
- package/dist/esm/{usePayoutStatus-46c0c289.js → usePayoutStatus-fa504d49.js} +3 -4
- package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-5844032a.js} +2 -2
- package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-3cde72d4.js} +1 -1
- package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-35e6d4c1.js} +3 -3
- package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-1813bdef.js} +1 -1
- package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-cb3d51e3.js} +1 -1
- package/dist/esm/{utilities-77b1e0cc.js → utilities-c9e730ed.js} +1 -1
- package/dist/esm/utils-8267d3d8.js +85 -0
- package/dist/esm-es5/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-78b791d2.js} +1 -1
- package/dist/esm-es5/data-33c16dff.js +1 -0
- package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
- package/dist/esm-es5/global-39f55ec2.js +285 -0
- package/dist/esm-es5/index.module-cede12c6.js +1 -0
- package/dist/esm-es5/{keys-406491dc.js → keys-db1897ae.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-7a0c7976.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-a6324934.js +1 -0
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-33f5c108.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-f015fd6a.js → sqm-portal-profile-view-88fd6a93.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-9bf30b56.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f8d1689c.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-0b70c1b1.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-4db9e33f.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-365cef98.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-c26d7347.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-e2392f42.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-9099c8d4.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-46c0c289.js → usePayoutStatus-fa504d49.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-5844032a.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-3cde72d4.js} +1 -1
- package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-35e6d4c1.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-1813bdef.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-cb3d51e3.js} +1 -1
- package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-c9e730ed.js} +1 -1
- package/dist/esm-es5/utils-8267d3d8.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-f35d856a.system.js → p-00463c83.system.js} +1 -1
- package/dist/mint-components/p-037c1a4f.system.entry.js +1 -0
- package/dist/mint-components/p-038d0b8f.entry.js +133 -0
- package/dist/mint-components/{p-217dedde.js → p-0553e659.js} +2 -2
- package/dist/mint-components/{p-642f2c89.js → p-092db51a.js} +1 -1
- package/dist/mint-components/{p-a4f8abad.js → p-095b7128.js} +1 -1
- package/dist/mint-components/{p-95510f27.entry.js → p-0c43b6ff.entry.js} +1 -1
- package/dist/mint-components/{p-3366b81e.js → p-0d75a207.js} +2 -2
- package/dist/mint-components/{p-e4f17c21.system.js → p-0fec43e8.system.js} +1 -1
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/{p-f55ecf35.system.js → p-140e6a15.system.js} +1 -1
- package/dist/mint-components/{p-3bc62ca6.entry.js → p-160828b4.entry.js} +1 -1
- package/dist/mint-components/{p-c30d0049.system.entry.js → p-16deb1a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0baeed0.entry.js → p-19293c16.entry.js} +1 -1
- package/dist/mint-components/{p-b66f45d1.entry.js → p-1b0cbbae.entry.js} +1 -1
- package/dist/mint-components/p-1c413a06.system.js +1 -0
- package/dist/mint-components/{p-d4570314.entry.js → p-1d49dddc.entry.js} +1 -1
- package/dist/mint-components/p-1e35f151.system.js +1 -0
- package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-21e7079a.system.entry.js} +1 -1
- package/dist/mint-components/{p-5141769d.system.entry.js → p-247cfbdc.system.entry.js} +1 -1
- package/dist/mint-components/{p-8583ce0c.system.js → p-28e0062c.system.js} +1 -1
- package/dist/mint-components/p-28ed2ae9.js +1 -0
- package/dist/mint-components/{p-e3497e0e.system.entry.js → p-28fe7357.system.entry.js} +1 -1
- package/dist/mint-components/{p-25558a33.entry.js → p-2d3a12f2.entry.js} +2 -2
- package/dist/mint-components/{p-f1374258.system.entry.js → p-2f4d8ab8.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec0b649a.entry.js → p-3181e54a.entry.js} +1 -1
- package/dist/mint-components/{p-fb5c9802.entry.js → p-3218bb1d.entry.js} +1 -1
- package/dist/mint-components/{p-035d9b65.js → p-32d078a3.js} +1 -1
- package/dist/mint-components/{p-8f2d03c7.entry.js → p-3461a8cb.entry.js} +1 -1
- package/dist/mint-components/{p-90833864.system.entry.js → p-357040e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-85721089.system.js → p-36395228.system.js} +1 -1
- package/dist/mint-components/{p-e6ace3ab.js → p-370e0d75.js} +1 -1
- package/dist/mint-components/{p-fc284f91.system.entry.js → p-3756d0d1.system.entry.js} +1 -1
- package/dist/mint-components/{p-db0a2afd.entry.js → p-37658fec.entry.js} +1 -1
- package/dist/mint-components/{p-7b909aa5.system.js → p-379cb9f1.system.js} +1 -1
- package/dist/mint-components/{p-55676213.entry.js → p-38dc2f60.entry.js} +1 -1
- package/dist/mint-components/p-39840341.js +1 -0
- package/dist/mint-components/{p-f581aac7.js → p-3c333076.js} +1 -1
- package/dist/mint-components/{p-bc386a7b.js → p-3c555674.js} +1 -1
- package/dist/mint-components/{p-bab4929e.js → p-3c88d2ed.js} +2 -2
- package/dist/mint-components/{p-f8a09b0f.js → p-438f6702.js} +152 -152
- package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-45475cf9.system.entry.js} +1 -1
- package/dist/mint-components/{p-56ca7e3c.js → p-45e2a83a.js} +1 -1
- package/dist/mint-components/{p-7161e1a6.js → p-4723526d.js} +1 -1
- package/dist/mint-components/{p-cabf6326.js → p-50d959bd.js} +1 -1
- package/dist/mint-components/{p-626b31cb.system.entry.js → p-52748a87.system.entry.js} +1 -1
- package/dist/mint-components/p-52eca331.js +1 -0
- package/dist/mint-components/{p-cb0a5990.entry.js → p-55627a5c.entry.js} +1 -1
- package/dist/mint-components/{p-d997001a.js → p-567a5ded.js} +1 -1
- package/dist/mint-components/{p-5b871e38.system.entry.js → p-5c9d030a.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8a8d231.entry.js → p-5dc9e95b.entry.js} +2 -2
- package/dist/mint-components/p-5e26014d.system.js +1 -0
- package/dist/mint-components/{p-80e116ec.system.entry.js → p-60085f20.system.entry.js} +1 -1
- package/dist/mint-components/{p-52674798.entry.js → p-608da224.entry.js} +1 -1
- package/dist/mint-components/{p-f39cf252.system.entry.js → p-6194855b.system.entry.js} +1 -1
- package/dist/mint-components/{p-013564b3.entry.js → p-62212b9a.entry.js} +1 -1
- package/dist/mint-components/{p-c45a929a.system.entry.js → p-62e1c8b2.system.entry.js} +1 -1
- package/dist/mint-components/p-63c299f1.system.js +1 -0
- package/dist/mint-components/p-64041ee1.entry.js +291 -0
- package/dist/mint-components/p-647933ac.entry.js +122 -0
- package/dist/mint-components/p-64f56cc9.system.js +285 -0
- package/dist/mint-components/p-6562cbec.system.entry.js +1 -0
- package/dist/mint-components/{p-70570e4d.system.entry.js → p-691d34f1.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-6a4496b3.system.entry.js} +1 -1
- package/dist/mint-components/{p-692e14c5.system.js → p-6b1a6b0c.system.js} +1 -1
- package/dist/mint-components/p-6f8dde97.system.js +1 -0
- package/dist/mint-components/p-70e34ae1.system.js +6 -0
- package/dist/mint-components/{p-b9f57e84.system.entry.js → p-71561bb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-d65991d0.entry.js → p-731c4d33.entry.js} +1 -1
- package/dist/mint-components/{p-77b9cde8.system.js → p-7547180f.system.js} +1 -1
- package/dist/mint-components/{p-a0c5631b.system.js → p-77117f6c.system.js} +1 -1
- package/dist/mint-components/{p-dd368927.system.entry.js → p-7a08d288.system.entry.js} +1 -1
- package/dist/mint-components/p-7d5956ec.system.entry.js +1 -0
- package/dist/mint-components/{p-d18dedd4.js → p-7e36a1ff.js} +1 -1
- package/dist/mint-components/{p-e6240c72.js → p-8474aa63.js} +1 -1
- package/dist/mint-components/{p-e84b874c.js → p-857a2d77.js} +1 -1
- package/dist/mint-components/{p-205cfdcd.system.js → p-86381dc7.system.js} +1 -1
- package/dist/mint-components/{p-b2b85238.entry.js → p-86a70151.entry.js} +1 -1
- package/dist/mint-components/{p-058aefe1.entry.js → p-886fb141.entry.js} +1 -1
- package/dist/mint-components/{p-6668f9f0.entry.js → p-88c9cc1b.entry.js} +1 -1
- package/dist/mint-components/{p-ce050888.system.js → p-8b258a3e.system.js} +1 -1
- package/dist/mint-components/p-8ecc8875.js +116 -0
- package/dist/mint-components/{p-0d83907e.js → p-8f9c1387.js} +1 -1
- package/dist/mint-components/{p-d005df28.system.entry.js → p-95aaf35a.system.entry.js} +1 -1
- package/dist/mint-components/{p-77fa2383.entry.js → p-96e4e6a4.entry.js} +1 -1
- package/dist/mint-components/{p-09f7aacd.entry.js → p-991f60fc.entry.js} +2 -2
- package/dist/mint-components/p-996eb820.entry.js +1 -0
- package/dist/mint-components/{p-027fc3be.system.entry.js → p-998c989a.system.entry.js} +1 -1
- package/dist/mint-components/{p-7b59e13c.system.js → p-9b33e2a7.system.js} +1 -1
- package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-9bd53e4d.system.entry.js} +1 -1
- package/dist/mint-components/{p-61897e72.entry.js → p-9c1b0c8b.entry.js} +1 -1
- package/dist/mint-components/{p-5ff7b000.entry.js → p-9d6984e7.entry.js} +2 -2
- package/dist/mint-components/{p-982d1f6f.entry.js → p-9e43f1eb.entry.js} +2 -2
- package/dist/mint-components/p-a0986077.system.entry.js +1 -0
- package/dist/mint-components/p-a1e1c42a.js +1 -0
- package/dist/mint-components/p-a2db4345.system.js +1 -0
- package/dist/mint-components/{p-669d52c4.js → p-a7f72a66.js} +1 -1
- package/dist/mint-components/{p-172675ca.system.js → p-a86ce218.system.js} +1 -1
- package/dist/mint-components/p-a8891ebd.js +1 -0
- package/dist/mint-components/p-a8ecdc44.system.js +1 -0
- package/dist/mint-components/p-aa319fbe.entry.js +9 -0
- package/dist/mint-components/{p-d6193876.system.js → p-b1b8e629.system.js} +1 -1
- package/dist/mint-components/p-b2a99637.system.js +1 -0
- package/dist/mint-components/p-b2bde2f5.entry.js +1 -0
- package/dist/mint-components/p-b451970a.system.entry.js +1 -0
- package/dist/mint-components/{p-e12754f5.system.entry.js → p-b5c0bad5.system.entry.js} +1 -1
- package/dist/mint-components/{p-5c4ba8a0.entry.js → p-b5fed7c6.entry.js} +1 -1
- package/dist/mint-components/{p-3286ef38.js → p-bcadd021.js} +1 -1
- package/dist/mint-components/p-c7535e70.system.entry.js +1 -0
- package/dist/mint-components/{p-5b1d2866.system.js → p-c84a2512.system.js} +1 -1
- package/dist/mint-components/{p-f4e36adf.system.entry.js → p-c8e45671.system.entry.js} +1 -1
- package/dist/mint-components/{p-e00ec007.js → p-ce11858c.js} +1 -1
- package/dist/mint-components/{p-ab0ea688.system.entry.js → p-d01949f7.system.entry.js} +1 -1
- package/dist/mint-components/p-d20188db.js +1 -0
- package/dist/mint-components/{p-19c441b2.system.js → p-d355336b.system.js} +1 -1
- package/dist/mint-components/{p-782af7ae.system.entry.js → p-d5a1c979.system.entry.js} +1 -1
- package/dist/mint-components/p-d6714617.entry.js +1 -0
- package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-dbdb2a46.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c46b4dd.system.js → p-df88dcaa.system.js} +1 -1
- package/dist/mint-components/{p-18133026.system.entry.js → p-e1292288.system.entry.js} +1 -1
- package/dist/mint-components/{p-036a2617.system.js → p-e4dbca9a.system.js} +1 -1
- package/dist/mint-components/p-e95402dc.js +49 -0
- package/dist/mint-components/{p-2d5c2bd4.system.entry.js → p-e9e05970.system.entry.js} +1 -1
- package/dist/mint-components/p-ee0f1cf1.system.js +1 -0
- package/dist/mint-components/{p-09348341.entry.js → p-f11d29fd.entry.js} +1 -1
- package/dist/mint-components/{p-dac20392.system.js → p-f368f04a.system.js} +1 -1
- package/dist/mint-components/{p-653db72e.entry.js → p-f4a57aed.entry.js} +1 -1
- package/dist/mint-components/p-f9671d6a.system.entry.js +1 -0
- package/dist/mint-components/{p-e5ea43b1.entry.js → p-f972e5c9.entry.js} +2 -2
- package/dist/mint-components/{p-5ce78407.system.entry.js → p-fb4ab5ba.system.entry.js} +1 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +12 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +51 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +122 -0
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +17 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +0 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +0 -5
- package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +2 -1
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +78 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +2 -0
- package/dist/types/components/tax-and-cash/data.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +165 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +7 -0
- package/dist/types/components.d.ts +614 -82
- package/dist/types/saasquatch.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/shoelace/assets/icons/twitter-x.svg +4 -0
- package/dist/cjs/extractProps-e9c55ba8.js +0 -35
- package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -418
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -214
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +0 -25
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +0 -19
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +0 -163
- package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +0 -26
- package/dist/esm/data-12e6aae1.js +0 -216
- package/dist/esm/extractProps-54064fb0.js +0 -32
- package/dist/esm/sqm-email-verification.entry.js +0 -414
- package/dist/esm/sqm-widget-verification.entry.js +0 -210
- package/dist/esm-es5/data-12e6aae1.js +0 -1
- package/dist/esm-es5/extractProps-54064fb0.js +0 -1
- package/dist/esm-es5/global-96c14d63.js +0 -271
- package/dist/esm-es5/index.module-b23fdad8.js +0 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +0 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
- package/dist/mint-components/p-02499e08.entry.js +0 -1
- package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
- package/dist/mint-components/p-0797a946.js +0 -1
- package/dist/mint-components/p-0a3d4374.system.entry.js +0 -1
- package/dist/mint-components/p-2cce6e14.entry.js +0 -9
- package/dist/mint-components/p-30c1ef36.system.js +0 -1
- package/dist/mint-components/p-38c7775a.js +0 -1
- package/dist/mint-components/p-3adbfd0b.system.js +0 -6
- package/dist/mint-components/p-4da5a3fe.system.entry.js +0 -1
- package/dist/mint-components/p-5492dd51.system.entry.js +0 -1
- package/dist/mint-components/p-57dd28bd.system.js +0 -1
- package/dist/mint-components/p-6c4ad51a.js +0 -1
- package/dist/mint-components/p-6e512063.entry.js +0 -25
- package/dist/mint-components/p-7265bbcb.system.js +0 -271
- package/dist/mint-components/p-738dce27.system.entry.js +0 -1
- package/dist/mint-components/p-7efb8782.system.js +0 -1
- package/dist/mint-components/p-8fb1708b.system.entry.js +0 -1
- package/dist/mint-components/p-91a96e98.entry.js +0 -1
- package/dist/mint-components/p-a7f52290.entry.js +0 -281
- package/dist/mint-components/p-b395470f.entry.js +0 -16
- package/dist/mint-components/p-c67f8558.system.entry.js +0 -1
- package/dist/mint-components/p-ca098be1.system.js +0 -1
- package/dist/mint-components/p-d0993bb9.js +0 -1
- package/dist/mint-components/p-d4f332a7.entry.js +0 -106
- package/dist/mint-components/p-de0d6fd7.js +0 -49
- package/dist/mint-components/p-e55aafe9.system.js +0 -1
- package/dist/mint-components/p-ea03e50e.system.js +0 -1
- package/dist/mint-components/p-fbe00c97.system.entry.js +0 -1
- package/dist/mint-components/p-fe70e20c.entry.js +0 -1
- package/dist/mint-components/p-ff118a19.system.js +0 -1
- package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +0 -7
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +0 -8
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +0 -42
- package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +0 -3
|
@@ -1,33 +1,36 @@
|
|
|
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-39f55ec2.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, q as Ue, e as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn, r as En, X as Xe } from './index.module-cede12c6.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-3cde72d4.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-4db9e33f.js';
|
|
13
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-5844032a.js';
|
|
14
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-1813bdef.js';
|
|
15
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-9bf30b56.js';
|
|
16
|
+
import { a as useRequestRerender } from './re-render-7a0c7976.js';
|
|
17
|
+
import { u as useChildElements } from './useChildElements-c26d7347.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-e2392f42.js';
|
|
23
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-9099c8d4.js';
|
|
24
|
+
import { i as isEmpty } from './utilities-c9e730ed.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
26
|
-
import { u as useDemoBigStat, V 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, Q as LeadDropdownFieldView, O as LeadFormView, W 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, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
26
|
+
import { u as useDemoBigStat, V 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, Q as LeadDropdownFieldView, O as LeadFormView, W 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, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-78b791d2.js';
|
|
27
27
|
import './sqm-portal-container-view-a8c708cd.js';
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
28
|
+
import { g as getCountryObj, L as LoadingView } from './utils-8267d3d8.js';
|
|
29
|
+
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, g as GET_FINANCE_NETWORK_SETTINGS, h as CURRENCIES_QUERY_NAMESPACE, i as GET_CURRENCIES } from './data-33c16dff.js';
|
|
30
|
+
import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
|
|
31
|
+
import './eventKeys-f76b6a03.js';
|
|
32
|
+
import { u as usePayoutStatus } from './usePayoutStatus-fa504d49.js';
|
|
33
|
+
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
36
|
*
|
|
@@ -4616,11 +4619,6 @@ const SqmReferralIframe = class {
|
|
|
4616
4619
|
* @uiName IFrame width
|
|
4617
4620
|
*/
|
|
4618
4621
|
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";
|
|
4624
4622
|
h(this);
|
|
4625
4623
|
}
|
|
4626
4624
|
disconnectedCallback() { }
|
|
@@ -6393,12 +6391,34 @@ function useTaskCardDemo(props) {
|
|
|
6393
6391
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6394
6392
|
}
|
|
6395
6393
|
|
|
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
|
+
|
|
6396
6412
|
function getCurrentStep(user) {
|
|
6397
6413
|
var _a, _b;
|
|
6398
6414
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6399
6415
|
return "/1";
|
|
6400
6416
|
}
|
|
6401
6417
|
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
|
+
}
|
|
6402
6422
|
// If they do have a required document, look at current document
|
|
6403
6423
|
if (requiredTaxDocumentType && !currentTaxDocument) {
|
|
6404
6424
|
// Specific to custom CASH setting,
|
|
@@ -6719,7 +6739,7 @@ const TaxAndCashMonolith = class {
|
|
|
6719
6739
|
* @uiName Indirect tax number field label
|
|
6720
6740
|
* @uiGroup Step 2 Properties
|
|
6721
6741
|
*/
|
|
6722
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}
|
|
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}}";
|
|
6723
6743
|
/**
|
|
6724
6744
|
* @uiName Province field label
|
|
6725
6745
|
* @uiGroup Step 2 Properties
|
|
@@ -6729,7 +6749,7 @@ const TaxAndCashMonolith = class {
|
|
|
6729
6749
|
* @uiName Missing indirect tax number error message
|
|
6730
6750
|
* @uiGroup Step 2 Properties
|
|
6731
6751
|
*/
|
|
6732
|
-
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}
|
|
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";
|
|
6733
6753
|
/**
|
|
6734
6754
|
* Displayed to participants registered for QST.
|
|
6735
6755
|
* @uiName QST number field label
|
|
@@ -7297,7 +7317,7 @@ const TaxAndCashMonolith = class {
|
|
|
7297
7317
|
* @uiName Payout status badge
|
|
7298
7318
|
* @uiGroup Dashboard Properties
|
|
7299
7319
|
*/
|
|
7300
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout}
|
|
7320
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7301
7321
|
/**
|
|
7302
7322
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7303
7323
|
* @uiName Payout schedule by threshold text
|
|
@@ -7873,68 +7893,6 @@ const TimelineReward = class {
|
|
|
7873
7893
|
}
|
|
7874
7894
|
};
|
|
7875
7895
|
|
|
7876
|
-
function UserAttributeView(props) {
|
|
7877
|
-
const style = {
|
|
7878
|
-
P: {
|
|
7879
|
-
margin: "0",
|
|
7880
|
-
padding: "0",
|
|
7881
|
-
fontSize: props.fontsize || "inherit",
|
|
7882
|
-
fontWeight: props.fontweight || "inherit",
|
|
7883
|
-
color: props.color || "var(--sqm-text)",
|
|
7884
|
-
},
|
|
7885
|
-
};
|
|
7886
|
-
const sheet = createStyleSheet(style);
|
|
7887
|
-
const styleString = sheet.toString();
|
|
7888
|
-
const loadingSkeleton = (h$1("sqm-skeleton", { width: "200px", height: "20px" }));
|
|
7889
|
-
return (props.value && (h$1(Host, null,
|
|
7890
|
-
h$1("style", null, styleString),
|
|
7891
|
-
h$1("p", { class: sheet.classes.P, part: "sqm-base" }, props.loading ? loadingSkeleton : props.value))));
|
|
7892
|
-
}
|
|
7893
|
-
|
|
7894
|
-
const GET_CUSTOM_FIELDS = dist.gql `
|
|
7895
|
-
query getCustomFields {
|
|
7896
|
-
viewer {
|
|
7897
|
-
... on User {
|
|
7898
|
-
customFields
|
|
7899
|
-
}
|
|
7900
|
-
}
|
|
7901
|
-
}
|
|
7902
|
-
`;
|
|
7903
|
-
function useUserAttribute(props) {
|
|
7904
|
-
var _a, _b;
|
|
7905
|
-
const user = J();
|
|
7906
|
-
const res = wn(GET_CUSTOM_FIELDS, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
7907
|
-
const loading = res.loading;
|
|
7908
|
-
const customFields = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields;
|
|
7909
|
-
const value = customFields === null || customFields === void 0 ? void 0 : customFields[props.value];
|
|
7910
|
-
return {
|
|
7911
|
-
loading,
|
|
7912
|
-
value,
|
|
7913
|
-
fontsize: props.fontsize,
|
|
7914
|
-
color: props.color,
|
|
7915
|
-
fontweight: props.fontweight,
|
|
7916
|
-
};
|
|
7917
|
-
}
|
|
7918
|
-
|
|
7919
|
-
const UserAttribute = class {
|
|
7920
|
-
constructor(hostRef) {
|
|
7921
|
-
registerInstance(this, hostRef);
|
|
7922
|
-
this.ignored = true;
|
|
7923
|
-
h(this);
|
|
7924
|
-
}
|
|
7925
|
-
disconnectedCallback() { }
|
|
7926
|
-
render() {
|
|
7927
|
-
const props = isDemo() ? useCustomFieldsDemo(this) : useUserAttribute(this);
|
|
7928
|
-
return h$1(UserAttributeView, Object.assign({}, props));
|
|
7929
|
-
}
|
|
7930
|
-
};
|
|
7931
|
-
function useCustomFieldsDemo(props) {
|
|
7932
|
-
return cjs({
|
|
7933
|
-
loading: false,
|
|
7934
|
-
value: "Custom Field Value",
|
|
7935
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7936
|
-
}
|
|
7937
|
-
|
|
7938
7896
|
function UserNameView(props) {
|
|
7939
7897
|
return h$1(Host, null, props.loading ? props.loadingText : props.username);
|
|
7940
7898
|
}
|
|
@@ -7993,4 +7951,357 @@ function useUserNameDemo(props) {
|
|
|
7993
7951
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7994
7952
|
}
|
|
7995
7953
|
|
|
7996
|
-
|
|
7954
|
+
const USER_LOOKUP = dist.gql `
|
|
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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { g as getEnvironmentSDK } from './index.module-
|
|
3
|
+
import { g as getEnvironmentSDK } from './index.module-cede12c6.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
5
|
import './mixins-f750863a.js';
|
|
6
6
|
import { C as CloseButtonView } from './sqm-close-button-view-fd9012e7.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-39f55ec2.js';
|
|
3
3
|
import { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist,
|
|
4
|
+
import { d as dist, t as Pn, F as Fn, i as isDemo, r as En } from './index.module-cede12c6.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
9
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
10
|
-
import {
|
|
11
|
-
import { u as useVerificationEmail } from './useVerificationEmail-
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-4db9e33f.js';
|
|
10
|
+
import { a as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
|
|
11
|
+
import { u as useVerificationEmail } from './useVerificationEmail-cb3d51e3.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: {
|
|
@@ -61,7 +61,6 @@ const style = {
|
|
|
61
61
|
},
|
|
62
62
|
ContinueButton: {
|
|
63
63
|
width: "100%",
|
|
64
|
-
maxWidth: "100px",
|
|
65
64
|
},
|
|
66
65
|
FooterContainer: {
|
|
67
66
|
display: "flex",
|
|
@@ -139,9 +138,9 @@ function WidgetCodeVerificationView(props) {
|
|
|
139
138
|
h("sl-input", { class: inputClass, name: "code" }),
|
|
140
139
|
h("sl-input", { class: inputClass, name: "code" })),
|
|
141
140
|
states.verifyFailed && (h("p", { class: sheet.classes.ErrorText }, text.invalidCodeText)),
|
|
142
|
-
h("
|
|
143
|
-
|
|
144
|
-
h(
|
|
141
|
+
h("div", { class: sheet.classes.FooterContainer },
|
|
142
|
+
h(TextSpanView, { type: "p" }, resendCodeText)),
|
|
143
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)))));
|
|
145
144
|
}
|
|
146
145
|
|
|
147
146
|
const VerifyEmailWithCodeMutation = dist.gql `
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
3
|
+
import { _ } from './index.module-cede12c6.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|