@saasquatch/mint-components 2.1.8 → 2.1.9-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-d679ec76.js} +6 -6
- package/dist/cjs/{data-8c8a08f6.js → data-e83f8a41.js} +2 -2
- 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/{re-render-72a0ef45.js → re-render-69bde9ee.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +401 -68
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +27 -22
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +802 -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-e3faede9.js +108 -0
- package/dist/cjs/sqm-partner-info-modal.cjs.entry.js +396 -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-2b4b92da.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-bfdbb98d.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-90cd89e3.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- 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 -15
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-efa08934.js} +7 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +20 -3
- 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/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +145 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +103 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +512 -0
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +232 -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-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +4 -1
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +15 -1
- 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-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 +10 -1
- 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 +5 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +7 -2
- package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-d382a63e.js} +6 -6
- package/dist/esm/{data-12e6aae1.js → data-a6752028.js} +2 -2
- package/dist/esm/eventKeys-f76b6a03.js +3 -0
- package/dist/esm/{global-96c14d63.js → global-b2ee3a12.js} +3177 -3126
- package/dist/esm/{index.module-b23fdad8.js → index.module-e266b4d7.js} +153 -150
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-f30aeb6b.js → re-render-4f4bd4da.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +397 -64
- package/dist/esm/sqm-big-stat_45.entry.js +27 -22
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +797 -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-00d76ba1.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-d8f76a9d.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-7f966119.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-77c231af.js +106 -0
- package/dist/esm/sqm-partner-info-modal.entry.js +392 -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-13e25037.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-a172bdcc.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c1a72c4f.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- 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 -15
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-b2dd8aa1.js} +7 -2
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/sqm-widget-verification.entry.js +20 -3
- package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-31ba3daf.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-1388dace.js} +2 -2
- package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-cec544ea.js} +2 -2
- package/dist/esm/{usePayoutStatus-46c0c289.js → usePayoutStatus-24145412.js} +3 -4
- package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-6d562bf8.js} +2 -2
- package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-1ca1fda0.js} +1 -1
- package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-456931fd.js} +3 -3
- package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-0cee2d21.js} +1 -1
- package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-5c6cd733.js} +1 -1
- package/dist/esm/{utilities-77b1e0cc.js → utilities-f05633da.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-d382a63e.js} +1 -1
- package/dist/esm-es5/{data-12e6aae1.js → data-a6752028.js} +1 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
- package/dist/esm-es5/global-b2ee3a12.js +285 -0
- package/dist/esm-es5/index.module-e266b4d7.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-4f4bd4da.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 -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-00d76ba1.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-d8f76a9d.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-7f966119.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-77c231af.js +1 -0
- package/dist/esm-es5/sqm-partner-info-modal.entry.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-13e25037.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-a172bdcc.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c1a72c4f.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-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-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-b2dd8aa1.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 -1
- package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-31ba3daf.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-1388dace.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-cec544ea.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-46c0c289.js → usePayoutStatus-24145412.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-6d562bf8.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-1ca1fda0.js} +1 -1
- package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-456931fd.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-0cee2d21.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-5c6cd733.js} +1 -1
- package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-f05633da.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/mint-components.system.js +1 -0
- package/dist/mint-components/{p-653db72e.entry.js → p-06ca4346.entry.js} +1 -1
- package/dist/mint-components/{p-738dce27.system.entry.js → p-07da0ddd.system.entry.js} +1 -1
- package/dist/mint-components/{p-982d1f6f.entry.js → p-07f3b868.entry.js} +2 -2
- package/dist/mint-components/{p-2d5c2bd4.system.entry.js → p-0a900fb1.system.entry.js} +1 -1
- package/dist/mint-components/{p-b66f45d1.entry.js → p-1435edd4.entry.js} +1 -1
- package/dist/mint-components/p-1775cb0c.system.js +6 -0
- package/dist/mint-components/p-1b0d7020.js +1 -0
- package/dist/mint-components/{p-c8a8d231.entry.js → p-1b7b65ef.entry.js} +2 -2
- package/dist/mint-components/p-1b9705fd.system.js +285 -0
- package/dist/mint-components/p-1d450b85.js +1 -0
- package/dist/mint-components/{p-70570e4d.system.entry.js → p-20280398.system.entry.js} +1 -1
- package/dist/mint-components/p-2085bb01.system.entry.js +1 -0
- package/dist/mint-components/{p-bab4929e.js → p-21851092.js} +1 -1
- package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-2774c704.system.entry.js} +1 -1
- package/dist/mint-components/p-28ed2ae9.js +1 -0
- package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-2ad9470d.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ff7b000.entry.js → p-2c0bb139.entry.js} +1 -1
- package/dist/mint-components/{p-e5ea43b1.entry.js → p-2e2c5ec4.entry.js} +2 -2
- package/dist/mint-components/{p-642f2c89.js → p-30967f75.js} +1 -1
- package/dist/mint-components/{p-e6240c72.js → p-320b306b.js} +1 -1
- package/dist/mint-components/{p-e84b874c.js → p-33a6ab09.js} +1 -1
- package/dist/mint-components/{p-91a96e98.entry.js → p-353ab6db.entry.js} +1 -1
- package/dist/mint-components/p-35724e1c.entry.js +1 -0
- package/dist/mint-components/p-3b2ae7b9.entry.js +105 -0
- package/dist/mint-components/{p-ea03e50e.system.js → p-3dc1e209.system.js} +1 -1
- package/dist/mint-components/{p-cb0a5990.entry.js → p-44afc747.entry.js} +1 -1
- package/dist/mint-components/{p-85721089.system.js → p-452f644f.system.js} +1 -1
- package/dist/mint-components/{p-f55ecf35.system.js → p-473562fc.system.js} +1 -1
- package/dist/mint-components/{p-55676213.entry.js → p-47f594c3.entry.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -0
- package/dist/mint-components/{p-e12754f5.system.entry.js → p-4da8028d.system.entry.js} +1 -1
- package/dist/mint-components/{p-95510f27.entry.js → p-504ed1f2.entry.js} +1 -1
- package/dist/mint-components/{p-f581aac7.js → p-5126508b.js} +1 -1
- package/dist/mint-components/{p-fc284f91.system.entry.js → p-5245e4ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0baeed0.entry.js → p-5450693e.entry.js} +1 -1
- package/dist/mint-components/{p-f4e36adf.system.entry.js → p-55b1be64.system.entry.js} +1 -1
- package/dist/mint-components/{p-782af7ae.system.entry.js → p-5822a43f.system.entry.js} +1 -1
- package/dist/mint-components/{p-f39cf252.system.entry.js → p-5825aee6.system.entry.js} +1 -1
- package/dist/mint-components/{p-77b9cde8.system.js → p-59644ef8.system.js} +1 -1
- package/dist/mint-components/{p-f35d856a.system.js → p-5d79c8a0.system.js} +1 -1
- package/dist/mint-components/{p-e4f17c21.system.js → p-5e106c95.system.js} +1 -1
- package/dist/mint-components/{p-db0a2afd.entry.js → p-5f6d617a.entry.js} +1 -1
- package/dist/mint-components/{p-ff118a19.system.js → p-614630a8.system.js} +1 -1
- package/dist/mint-components/p-6596f0de.entry.js +9 -0
- package/dist/mint-components/{p-bc386a7b.js → p-6684e9ad.js} +1 -1
- package/dist/mint-components/{p-8583ce0c.system.js → p-695ec086.system.js} +1 -1
- package/dist/mint-components/{p-ce050888.system.js → p-6d444f3f.system.js} +1 -1
- package/dist/mint-components/{p-90833864.system.entry.js → p-6e816a17.system.entry.js} +1 -1
- package/dist/mint-components/p-6f8dde97.system.js +1 -0
- package/dist/mint-components/p-71c585b7.entry.js +1 -0
- package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-7333d103.system.entry.js} +1 -1
- package/dist/mint-components/{p-8f2d03c7.entry.js → p-7528770e.entry.js} +1 -1
- package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-7767314d.system.entry.js} +1 -1
- package/dist/mint-components/p-78909fc0.system.js +1 -0
- package/dist/mint-components/{p-692e14c5.system.js → p-79854479.system.js} +1 -1
- package/dist/mint-components/{p-7161e1a6.js → p-7a7ebf08.js} +1 -1
- package/dist/mint-components/{p-25558a33.entry.js → p-7c0255ad.entry.js} +1 -1
- package/dist/mint-components/{p-5c4ba8a0.entry.js → p-80174c14.entry.js} +1 -1
- package/dist/mint-components/{p-7b59e13c.system.js → p-82905fda.system.js} +1 -1
- package/dist/mint-components/{p-80e116ec.system.entry.js → p-82be3d10.system.entry.js} +1 -1
- package/dist/mint-components/{p-172675ca.system.js → p-83277c69.system.js} +1 -1
- package/dist/mint-components/{p-09348341.entry.js → p-84866680.entry.js} +1 -1
- package/dist/mint-components/{p-c30d0049.system.entry.js → p-878bb2cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-61897e72.entry.js → p-89f8ab67.entry.js} +1 -1
- package/dist/mint-components/p-8f5b316e.js +49 -0
- package/dist/mint-components/{p-5ce78407.system.entry.js → p-91c4b8d5.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd368927.system.entry.js → p-93cb9438.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b871e38.system.entry.js → p-96cbca52.system.entry.js} +1 -1
- package/dist/mint-components/{p-217dedde.js → p-97b8c481.js} +2 -2
- package/dist/mint-components/p-9be145c6.system.entry.js +1 -0
- package/dist/mint-components/{p-d005df28.system.entry.js → p-9c381424.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c4ad51a.js → p-9f21ea69.js} +1 -1
- package/dist/mint-components/{p-0c0d4065.js → p-9fa6606e.js} +3 -3
- package/dist/mint-components/{p-d18dedd4.js → p-a03189bd.js} +1 -1
- package/dist/mint-components/p-a0667674.system.entry.js +1 -0
- package/dist/mint-components/{p-058aefe1.entry.js → p-a30f0ffd.entry.js} +1 -1
- package/dist/mint-components/p-a9855b29.system.entry.js +1 -0
- package/dist/mint-components/p-aa0b0cd6.entry.js +108 -0
- package/dist/mint-components/{p-3366b81e.js → p-ab678644.js} +2 -2
- package/dist/mint-components/{p-d997001a.js → p-ad017a39.js} +1 -1
- package/dist/mint-components/{p-205cfdcd.system.js → p-b179621d.system.js} +1 -1
- package/dist/mint-components/{p-6668f9f0.entry.js → p-b6fc53c9.entry.js} +1 -1
- package/dist/mint-components/{p-027fc3be.system.entry.js → p-b8288385.system.entry.js} +1 -1
- package/dist/mint-components/{p-013564b3.entry.js → p-b8766db9.entry.js} +1 -1
- package/dist/mint-components/{p-3bc62ca6.entry.js → p-b9652150.entry.js} +1 -1
- package/dist/mint-components/{p-e3497e0e.system.entry.js → p-bae7d6b5.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4f8abad.js → p-bd804f4c.js} +1 -1
- package/dist/mint-components/{p-d4570314.entry.js → p-c2c01ab5.entry.js} +1 -1
- package/dist/mint-components/{p-036a2617.system.js → p-c756bc32.system.js} +1 -1
- package/dist/mint-components/{p-f1374258.system.entry.js → p-c8060ef5.system.entry.js} +1 -1
- package/dist/mint-components/{p-52674798.entry.js → p-cc0fe4a3.entry.js} +1 -1
- package/dist/mint-components/{p-4da5a3fe.system.entry.js → p-d2448c85.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b1d2866.system.js → p-d42aba0e.system.js} +1 -1
- package/dist/mint-components/{p-3286ef38.js → p-d5375baf.js} +1 -1
- package/dist/mint-components/p-d6c1e876.system.js +1 -0
- package/dist/mint-components/{p-035d9b65.js → p-d863acaa.js} +1 -1
- package/dist/mint-components/{p-e6ace3ab.js → p-dece706f.js} +1 -1
- package/dist/mint-components/{p-ec0b649a.entry.js → p-dfb50245.entry.js} +1 -1
- package/dist/mint-components/{p-7efb8782.system.js → p-e44c816e.system.js} +1 -1
- package/dist/mint-components/{p-19c441b2.system.js → p-e4d3b7a9.system.js} +1 -1
- package/dist/mint-components/{p-b2b85238.entry.js → p-e502fd80.entry.js} +1 -1
- package/dist/mint-components/{p-e00ec007.js → p-e5e8e13e.js} +1 -1
- package/dist/mint-components/{p-7ee8f2ed.entry.js → p-e6924adb.entry.js} +3 -3
- package/dist/mint-components/{p-f8a09b0f.js → p-e7a9ce16.js} +152 -152
- package/dist/mint-components/{p-c67f8558.system.entry.js → p-e9a596d6.system.entry.js} +1 -1
- package/dist/mint-components/{p-09f7aacd.entry.js → p-ed17e1b8.entry.js} +2 -2
- package/dist/mint-components/p-ef64e6f0.entry.js +16 -0
- package/dist/mint-components/{p-d6193876.system.js → p-f3b21df2.system.js} +1 -1
- package/dist/mint-components/{p-c45a929a.system.entry.js → p-f3ddbe2f.system.entry.js} +1 -1
- package/dist/mint-components/{p-77fa2383.entry.js → p-f6fc7569.entry.js} +1 -1
- package/dist/mint-components/{p-626b31cb.system.entry.js → p-f7948b16.system.entry.js} +1 -1
- package/dist/mint-components/{p-a0c5631b.system.js → p-f84605ec.system.js} +1 -1
- package/dist/mint-components/{p-ab0ea688.system.entry.js → p-f95952a0.system.entry.js} +1 -1
- package/dist/mint-components/{p-5141769d.system.entry.js → p-fa32d8eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d83907e.js → p-fca34d77.js} +1 -1
- package/dist/mint-components/p-fd214860.system.entry.js +1 -0
- package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-fe0eceba.system.entry.js} +1 -1
- package/dist/mint-components/sqm-partner-info-modal.entry.js +392 -0
- package/dist/mint-components/sqm-partner-info-modal.system.entry.js +1 -0
- package/dist/mint-components/sqm-widget-verification.entry.js +228 -0
- package/dist/mint-components/sqm-widget-verification.system.entry.js +1 -0
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +13 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +43 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +94 -0
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +16 -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-widget-verification/useWidgetVerification.d.ts +2 -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.d.ts +402 -10
- 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/sqm-email-verification.cjs.entry.js +0 -418
- package/dist/esm/sqm-email-verification.entry.js +0 -414
- 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/mint-components/p-02499e08.entry.js +0 -1
- package/dist/mint-components/p-0614dcbc.entry.js +0 -9
- package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
- package/dist/mint-components/p-30c1ef36.system.js +0 -1
- package/dist/mint-components/p-3adbfd0b.system.js +0 -6
- package/dist/mint-components/p-5492dd51.system.entry.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-b395470f.entry.js +0 -16
- package/dist/mint-components/p-bf545082.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-de343dd0.system.entry.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/docs/stats.json +0 -122783
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { i as d, k as useState, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-0cee2d21.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { B } from './index.module-
|
|
3
|
+
import { B } from './index.module-e266b4d7.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-b2ee3a12.js';
|
|
3
3
|
import { k as useState, m as useRef, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { l as ln, n as nn, J, j as jn, b as useCallback, i as isDemo } from './index.module-
|
|
4
|
+
import { l as ln, n as nn, J, j as jn, b as useCallback, i as isDemo } from './index.module-e266b4d7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-738acfb3.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-13e25037.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, n as h, m as useRef, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { u as un, j as jn, i as isDemo, a as je, h as hn, V as Ve, b as useCallback, J, c as an,
|
|
3
|
+
import { u as un, j as jn, i as isDemo, a as je, h as hn, V as Ve, b as useCallback, J, c as an, e as setUserIdentity } from './index.module-e266b4d7.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import './sqm-text-span-view-738acfb3.js';
|
|
10
|
-
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
11
|
-
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-
|
|
12
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
10
|
+
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c1a72c4f.js';
|
|
11
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-6d562bf8.js';
|
|
12
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-0cee2d21.js';
|
|
13
13
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
|
|
14
14
|
|
|
15
15
|
function usePortalForgotPassword(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import {
|
|
3
|
+
import { e as setUserIdentity, j as jn, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
|
|
5
5
|
function usePortalLogout({ nextPage }) {
|
|
6
6
|
setUserIdentity(undefined);
|
package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-a172bdcc.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-b2ee3a12.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-
|
|
4
|
+
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-e266b4d7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-738acfb3.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
10
|
-
import { i as isEmpty } from './utilities-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-a172bdcc.js';
|
|
10
|
+
import { i as isEmpty } from './utilities-f05633da.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
13
13
|
query {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { J, k as kn, j as jn, i as isDemo } from './index.module-
|
|
3
|
+
import { J, k as kn, j as jn, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
|
|
5
5
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
6
6
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import {
|
|
3
|
+
import { o as Je, T as Te, j as jn, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { j as jn } from './index.module-
|
|
2
|
+
import { j as jn } from './index.module-e266b4d7.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, H as HostBlock, E as ErrorStyles } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { d as dist, H, J, B, F as Fn, w as wn, $ as $e, i as isDemo } from './index.module-
|
|
3
|
+
import { d as dist, H, J, B, F as Fn, w as wn, $ as $e, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-
|
|
7
|
+
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-1ca1fda0.js';
|
|
8
8
|
import './ErrorView-74cb3af8.js';
|
|
9
9
|
import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
|
|
10
10
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
4
|
+
import { i as isDemo } from './index.module-e266b4d7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
11
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-4f4bd4da.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-31ba3daf.js';
|
|
13
13
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
14
14
|
import { g as getPaypalMeta } from './mockRewardData-9b27d6f1.js';
|
|
15
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
15
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-456931fd.js';
|
|
16
16
|
|
|
17
17
|
const mockReferralData = (count = 4) => {
|
|
18
18
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-e266b4d7.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-4f4bd4da.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-
|
|
4
|
+
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-e266b4d7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
10
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
10
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-4f4bd4da.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-31ba3daf.js';
|
|
12
12
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
13
13
|
import { m as mockRewardData } from './mockRewardData-9b27d6f1.js';
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-456931fd.js';
|
|
15
15
|
|
|
16
16
|
const debug = browser("sq:useRewardsTable");
|
|
17
17
|
const CSS_NAMESPACE = "sqm-rewards-table";
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-38ad4957.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-b2ee3a12.js';
|
|
3
3
|
import { a as commonjsGlobal, u as useMemo, k as useState, c as createCommonjsModule, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { j as jn,
|
|
4
|
+
import { j as jn, e as setUserIdentity, p as setProgramId, k as kn, d as dist, X as Xe } from './index.module-e266b4d7.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import './useReferralCodes-
|
|
8
|
+
import './useReferralCodes-1ca1fda0.js';
|
|
9
9
|
import './mixins-f750863a.js';
|
|
10
10
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
11
11
|
import './sqm-text-span-view-738acfb3.js';
|
|
12
|
-
import { b as PortalRegisterView, P as PortalForgotPasswordView, a as PortalLoginView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
12
|
+
import { b as PortalRegisterView, P as PortalForgotPasswordView, a as PortalLoginView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c1a72c4f.js';
|
|
13
13
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
|
|
14
14
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
15
|
-
import './useChildElements-
|
|
15
|
+
import './useChildElements-31ba3daf.js';
|
|
16
16
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
17
17
|
import { C as CloseButtonView } from './sqm-close-button-view-fd9012e7.js';
|
|
18
18
|
import './index-ffa26b43.js';
|
|
19
19
|
import './imageUrl-4775f17b.js';
|
|
20
20
|
import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
|
|
21
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
21
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-00d76ba1.js';
|
|
22
22
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-7a682cc3.js';
|
|
23
23
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-376c1bf6.js';
|
|
24
24
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-2b66457a.js';
|
|
25
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
26
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
27
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
28
|
-
import './utilities-
|
|
25
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-7f966119.js';
|
|
26
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-13e25037.js';
|
|
27
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-a172bdcc.js';
|
|
28
|
+
import './utilities-f05633da.js';
|
|
29
29
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-cfbc0eb0.js';
|
|
30
30
|
import './ErrorView-74cb3af8.js';
|
|
31
31
|
import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
|
|
32
|
-
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as useShareLink, K as ProgressBarView, M as ProgressBar$2, O as LeadFormView, Q as LeadDropdownFieldView, U as ShadowViewAddon } from './ShadowViewAddon-
|
|
32
|
+
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as useShareLink, K as ProgressBarView, M as ProgressBar$2, O as LeadFormView, Q as LeadDropdownFieldView, U as ShadowViewAddon } from './ShadowViewAddon-d382a63e.js';
|
|
33
33
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-a8c708cd.js';
|
|
34
|
-
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-
|
|
35
|
-
import { t as taxTypeToName, L as LoadingView } from './data-
|
|
36
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
34
|
+
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-b2dd8aa1.js';
|
|
35
|
+
import { t as taxTypeToName, L as LoadingView } from './data-a6752028.js';
|
|
36
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d8f76a9d.js';
|
|
37
|
+
import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-77c231af.js';
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
40
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -10700,7 +10701,6 @@ const props$1 = {
|
|
|
10700
10701
|
iframeSrc: "https://example.com",
|
|
10701
10702
|
iframeHeight: "100%",
|
|
10702
10703
|
iframeWidth: "100%",
|
|
10703
|
-
codeParam: "rsCode",
|
|
10704
10704
|
},
|
|
10705
10705
|
},
|
|
10706
10706
|
};
|
|
@@ -18697,6 +18697,164 @@ const UserInfoFormView = /*#__PURE__*/Object.freeze({
|
|
|
18697
18697
|
DisabledForm: DisabledForm
|
|
18698
18698
|
});
|
|
18699
18699
|
|
|
18700
|
+
const PartnerInfoModal_stories = {
|
|
18701
|
+
title: "Components/Partner Info Modal",
|
|
18702
|
+
};
|
|
18703
|
+
const demoCountries = [
|
|
18704
|
+
{ countryCode: "US", displayName: "United States" },
|
|
18705
|
+
{ countryCode: "CA", displayName: "Canada" },
|
|
18706
|
+
{ countryCode: "GB", displayName: "United Kingdom" },
|
|
18707
|
+
{ countryCode: "AU", displayName: "Australia" },
|
|
18708
|
+
{ countryCode: "DE", displayName: "Germany" },
|
|
18709
|
+
{ countryCode: "FR", displayName: "France" },
|
|
18710
|
+
{ countryCode: "JP", displayName: "Japan" },
|
|
18711
|
+
];
|
|
18712
|
+
const demoCurrencies = [
|
|
18713
|
+
{ currencyCode: "USD", displayName: "US Dollar" },
|
|
18714
|
+
{ currencyCode: "CAD", displayName: "Canadian Dollar" },
|
|
18715
|
+
{ currencyCode: "GBP", displayName: "British Pound" },
|
|
18716
|
+
{ currencyCode: "EUR", displayName: "Euro" },
|
|
18717
|
+
{ currencyCode: "AUD", displayName: "Australian Dollar" },
|
|
18718
|
+
];
|
|
18719
|
+
const noopCallbacks = {
|
|
18720
|
+
onCountryChange: (e) => console.log("Country changed:", e),
|
|
18721
|
+
onCurrencyChange: (e) => console.log("Currency changed:", e),
|
|
18722
|
+
setCountrySearch: (v) => console.log("Country search:", v),
|
|
18723
|
+
setCurrencySearch: (v) => console.log("Currency search:", v),
|
|
18724
|
+
onSubmit: () => console.log("Submit"),
|
|
18725
|
+
onClose: () => console.log("Close"),
|
|
18726
|
+
};
|
|
18727
|
+
const defaultText$1 = {
|
|
18728
|
+
modalHeader: "Let's get you ready for rewards",
|
|
18729
|
+
modalHeaderExistingPartner: "We found an existing account",
|
|
18730
|
+
descriptionNewPartner: "Confirm your country and currency now to get your future rewards faster.",
|
|
18731
|
+
descriptionExistingPartner: "We noticed you are already an Impact.com partner, please confirm your information.",
|
|
18732
|
+
supportDescriptionExistingPartner: "If this is a mistake, please contact Support or sign up for this referral program with a different email.",
|
|
18733
|
+
countryLabel: "Country",
|
|
18734
|
+
currencyLabel: "Currency",
|
|
18735
|
+
submitButtonLabel: "Submit",
|
|
18736
|
+
confirmButtonLabel: "Confirm",
|
|
18737
|
+
searchCountryPlaceholder: "Search for a country",
|
|
18738
|
+
searchCurrencyPlaceholder: "Search for a currency",
|
|
18739
|
+
};
|
|
18740
|
+
const defaultProps$y = {
|
|
18741
|
+
states: {
|
|
18742
|
+
open: true,
|
|
18743
|
+
loading: false,
|
|
18744
|
+
submitting: false,
|
|
18745
|
+
isExistingPartner: false,
|
|
18746
|
+
countryCode: "",
|
|
18747
|
+
currency: "",
|
|
18748
|
+
error: "",
|
|
18749
|
+
success: false,
|
|
18750
|
+
brandName: "Test Brand",
|
|
18751
|
+
filteredCountries: demoCountries,
|
|
18752
|
+
filteredCurrencies: demoCurrencies,
|
|
18753
|
+
},
|
|
18754
|
+
callbacks: noopCallbacks,
|
|
18755
|
+
text: defaultText$1,
|
|
18756
|
+
};
|
|
18757
|
+
const NewPartnerEmpty = () => {
|
|
18758
|
+
return h(PartnerInfoModalView, Object.assign({}, defaultProps$y));
|
|
18759
|
+
};
|
|
18760
|
+
const NewPartnerPrefilled = () => {
|
|
18761
|
+
const props = {
|
|
18762
|
+
...defaultProps$y,
|
|
18763
|
+
states: {
|
|
18764
|
+
...defaultProps$y.states,
|
|
18765
|
+
countryCode: "US",
|
|
18766
|
+
currency: "",
|
|
18767
|
+
},
|
|
18768
|
+
};
|
|
18769
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18770
|
+
};
|
|
18771
|
+
const NewPartnerFullySelected = () => {
|
|
18772
|
+
const props = {
|
|
18773
|
+
...defaultProps$y,
|
|
18774
|
+
states: {
|
|
18775
|
+
...defaultProps$y.states,
|
|
18776
|
+
countryCode: "US",
|
|
18777
|
+
currency: "USD",
|
|
18778
|
+
},
|
|
18779
|
+
};
|
|
18780
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18781
|
+
};
|
|
18782
|
+
const ExistingPartnerConfirm = () => {
|
|
18783
|
+
const props = {
|
|
18784
|
+
...defaultProps$y,
|
|
18785
|
+
states: {
|
|
18786
|
+
...defaultProps$y.states,
|
|
18787
|
+
isExistingPartner: true,
|
|
18788
|
+
countryCode: "CA",
|
|
18789
|
+
currency: "CAD",
|
|
18790
|
+
},
|
|
18791
|
+
};
|
|
18792
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18793
|
+
};
|
|
18794
|
+
const Submitting = () => {
|
|
18795
|
+
const props = {
|
|
18796
|
+
...defaultProps$y,
|
|
18797
|
+
states: {
|
|
18798
|
+
...defaultProps$y.states,
|
|
18799
|
+
countryCode: "GB",
|
|
18800
|
+
currency: "GBP",
|
|
18801
|
+
submitting: true,
|
|
18802
|
+
},
|
|
18803
|
+
};
|
|
18804
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18805
|
+
};
|
|
18806
|
+
const WithError$3 = () => {
|
|
18807
|
+
const props = {
|
|
18808
|
+
...defaultProps$y,
|
|
18809
|
+
states: {
|
|
18810
|
+
...defaultProps$y.states,
|
|
18811
|
+
countryCode: "US",
|
|
18812
|
+
currency: "USD",
|
|
18813
|
+
error: "An error occurred while creating your partner account. Please try again.",
|
|
18814
|
+
},
|
|
18815
|
+
};
|
|
18816
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18817
|
+
};
|
|
18818
|
+
const ValidationError$1 = () => {
|
|
18819
|
+
const props = {
|
|
18820
|
+
...defaultProps$y,
|
|
18821
|
+
states: {
|
|
18822
|
+
...defaultProps$y.states,
|
|
18823
|
+
countryCode: "",
|
|
18824
|
+
currency: "",
|
|
18825
|
+
error: "Please select both a country and currency.",
|
|
18826
|
+
},
|
|
18827
|
+
};
|
|
18828
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18829
|
+
};
|
|
18830
|
+
const Closed = () => {
|
|
18831
|
+
const props = {
|
|
18832
|
+
...defaultProps$y,
|
|
18833
|
+
states: {
|
|
18834
|
+
...defaultProps$y.states,
|
|
18835
|
+
open: false,
|
|
18836
|
+
},
|
|
18837
|
+
};
|
|
18838
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
18839
|
+
};
|
|
18840
|
+
const FullStackDemo = () => {
|
|
18841
|
+
return (h("sqm-partner-info-modal", { "brand-name": "Acme", "header-new-partner": "Welcome to {brandName} Program!", "description-new-partner": "We just need a bit more information about you before you start earning cash!", "submit-button-label": "Submit" }));
|
|
18842
|
+
};
|
|
18843
|
+
|
|
18844
|
+
const PartnerInfoModal = /*#__PURE__*/Object.freeze({
|
|
18845
|
+
__proto__: null,
|
|
18846
|
+
'default': PartnerInfoModal_stories,
|
|
18847
|
+
NewPartnerEmpty: NewPartnerEmpty,
|
|
18848
|
+
NewPartnerPrefilled: NewPartnerPrefilled,
|
|
18849
|
+
NewPartnerFullySelected: NewPartnerFullySelected,
|
|
18850
|
+
ExistingPartnerConfirm: ExistingPartnerConfirm,
|
|
18851
|
+
Submitting: Submitting,
|
|
18852
|
+
WithError: WithError$3,
|
|
18853
|
+
ValidationError: ValidationError$1,
|
|
18854
|
+
Closed: Closed,
|
|
18855
|
+
FullStackDemo: FullStackDemo
|
|
18856
|
+
});
|
|
18857
|
+
|
|
18700
18858
|
function deepFreeze(obj) {
|
|
18701
18859
|
if (obj instanceof Map) {
|
|
18702
18860
|
obj.clear = obj.delete = obj.set = function () {
|
|
@@ -21390,6 +21548,7 @@ const stories = [
|
|
|
21390
21548
|
TaxAndCashRewardsTable,
|
|
21391
21549
|
TaxAndCashReferralTableRewardsCell,
|
|
21392
21550
|
TaxAndCashReferralTable$1,
|
|
21551
|
+
PartnerInfoModal,
|
|
21393
21552
|
];
|
|
21394
21553
|
const StencilStorybook = class {
|
|
21395
21554
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-e266b4d7.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-4f4bd4da.js';
|
|
5
5
|
|
|
6
6
|
const TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-38ad4957.js';
|
|
2
2
|
import { u as useMemo, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
3
|
+
import { _ } from './index.module-e266b4d7.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
|
-
import { u as useRerenderListener } from './re-render-
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
5
|
+
import { u as useRerenderListener } from './re-render-4f4bd4da.js';
|
|
6
|
+
import { u as useChildElements } from './useChildElements-31ba3daf.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, textColor = "var(--sqm-text)", }) => {
|
|
9
9
|
// Vertical padding for top & bottom placement, horizontal for left & right.
|
package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-b2dd8aa1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { f as formatErrorMessage, L as LoadingView, F as FORM_STEPS, v as validateBillingField } from './data-
|
|
4
|
+
import { f as formatErrorMessage, L as LoadingView, F as FORM_STEPS, v as validateBillingField } from './data-a6752028.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Description: {
|
|
@@ -1903,8 +1903,13 @@ const UserInfoFormView = (props) => {
|
|
|
1903
1903
|
default:
|
|
1904
1904
|
regionLabel = text.state;
|
|
1905
1905
|
}
|
|
1906
|
+
// when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "000000" and the phoneNumberCountryCode to "DZ"
|
|
1906
1907
|
function isDisabledPartnerInput(field) {
|
|
1907
1908
|
var _a;
|
|
1909
|
+
if (data.partnerData.phoneNumber === "0000000" &&
|
|
1910
|
+
(field === "phoneNumber" || field === "phoneNumberCountryCode")) {
|
|
1911
|
+
return false;
|
|
1912
|
+
}
|
|
1908
1913
|
return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
1909
1914
|
}
|
|
1910
1915
|
function isDisabledUserInput(field) {
|
|
@@ -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, n as h, k as useState, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { I as In, b as useCallback, i as isDemo } from './index.module-
|
|
3
|
+
import { I as In, b as useCallback, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
import { a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
5
5
|
|
|
6
6
|
const debug = browser("sq:widget-verification");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
|
-
import { d as dist, J, I as In,
|
|
3
|
+
import { d as dist, J, I as In, q as En, X as Xe, i as isDemo } from './index.module-e266b4d7.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import { e as extractProps, p as parseStates } from './extractProps-54064fb0.js';
|
|
7
7
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
8
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
|
|
8
9
|
|
|
9
10
|
const USER_LOOKUP = dist.gql `
|
|
10
11
|
query checkUserVerification {
|
|
@@ -34,6 +35,7 @@ function useWidgetVerification() {
|
|
|
34
35
|
});
|
|
35
36
|
const setContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
36
37
|
const [loading, setLoading] = useState(true);
|
|
38
|
+
const [showPartnerModal, setShowPartnerModal] = useState(false);
|
|
37
39
|
const [fetch] = Xe(USER_LOOKUP);
|
|
38
40
|
useEffect(() => {
|
|
39
41
|
const checkUser = async () => {
|
|
@@ -57,9 +59,21 @@ function useWidgetVerification() {
|
|
|
57
59
|
checkUser();
|
|
58
60
|
}, []);
|
|
59
61
|
const onVerification = () => {
|
|
62
|
+
setShowPartnerModal(true);
|
|
63
|
+
};
|
|
64
|
+
const onPartnerModalComplete = () => {
|
|
65
|
+
setShowPartnerModal(false);
|
|
60
66
|
setContext(true);
|
|
61
67
|
};
|
|
62
|
-
|
|
68
|
+
// Listen for partner modal completion (fires on successful createImpactConnection or confirm)
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
if (!showPartnerModal)
|
|
71
|
+
return;
|
|
72
|
+
const handler = () => onPartnerModalComplete();
|
|
73
|
+
window.addEventListener(TAX_FORM_UPDATED_EVENT_KEY, handler);
|
|
74
|
+
return () => window.removeEventListener(TAX_FORM_UPDATED_EVENT_KEY, handler);
|
|
75
|
+
}, [showPartnerModal]);
|
|
76
|
+
return { showCode, showPartnerModal, onVerification, onPartnerModalComplete, loading };
|
|
63
77
|
}
|
|
64
78
|
|
|
65
79
|
const WidgetVerification = class {
|
|
@@ -179,6 +193,9 @@ const WidgetVerification = class {
|
|
|
179
193
|
: useWidgetVerification();
|
|
180
194
|
if (props.loading)
|
|
181
195
|
return h$1("sl-spinner", null);
|
|
196
|
+
if (props.showPartnerModal) {
|
|
197
|
+
return h$1("sqm-partner-info-modal", null);
|
|
198
|
+
}
|
|
182
199
|
const generalText = this.getStepTextProps("general_");
|
|
183
200
|
return (h$1("div", null, h$1("h3", { style: { fontSize: "24px", margin: "0" } }, generalText.verifyEmailHeader), h$1("p", { style: {
|
|
184
201
|
color: "var(--sl-color-neutral-500)",
|
|
@@ -204,7 +221,7 @@ function useDemoWidgetVerificationInternal(props) {
|
|
|
204
221
|
const onVerification = () => {
|
|
205
222
|
setContext(true);
|
|
206
223
|
};
|
|
207
|
-
return cjs({ showCode, onVerification, loading: false }, formatted || {}, { arrayMerge: (_, a) => a });
|
|
224
|
+
return cjs({ showCode, showPartnerModal: false, onVerification, onPartnerModalComplete: () => { }, loading: false }, formatted || {}, { arrayMerge: (_, a) => a });
|
|
208
225
|
}
|
|
209
226
|
|
|
210
227
|
export { WidgetVerification as sqm_widget_verification };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { k as useState } from './dom-context-hooks.module-50442785.js';
|
|
2
|
-
import { L, v as vn } from './index.module-
|
|
2
|
+
import { L, v as vn } from './index.module-e266b4d7.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-0cee2d21.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const locale = L();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-b2ee3a12.js';
|
|
3
3
|
import { k as useState, y } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { _ } from './index.module-
|
|
4
|
+
import { _ } from './index.module-e266b4d7.js';
|
|
5
5
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { k as useState, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
2
|
-
import { d as dist, J, $ as $e, g as getEnvironmentSDK, w as wn } from './index.module-
|
|
3
|
-
|
|
4
|
-
const TAX_FORM_UPDATED_EVENT_KEY = "sqm:tax-form-updated";
|
|
2
|
+
import { d as dist, J, $ as $e, g as getEnvironmentSDK, w as wn } from './index.module-e266b4d7.js';
|
|
3
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
|
|
5
4
|
|
|
6
5
|
var toArray = function toArray(a) {
|
|
7
6
|
var ret = Array(a.length);
|
|
@@ -1107,4 +1106,4 @@ function usePayoutStatus(props) {
|
|
|
1107
1106
|
};
|
|
1108
1107
|
}
|
|
1109
1108
|
|
|
1110
|
-
export {
|
|
1109
|
+
export { VERIFF_COMPLETE_EVENT_KEY as V, useVeriffApp as a, getStatus as g, usePayoutStatus as u };
|
package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-6d562bf8.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as useRef, f as useEffect } from './dom-context-hooks.module-50442785.js';
|
|
2
|
-
import { d as dist, L, O as Oe, w as wn, j as jn, b as useCallback } from './index.module-
|
|
2
|
+
import { d as dist, L, O as Oe, w as wn, j as jn, b as useCallback } from './index.module-e266b4d7.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-0cee2d21.js';
|
|
5
5
|
|
|
6
6
|
// This file is a workaround for a bug in web browsers' "native"
|
|
7
7
|
// ES6 importing system which is uncapable of importing "*.json" files.
|