@saasquatch/mint-components 2.0.5-1 → 2.0.5-2
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-00e7bf6d.js → ShadowViewAddon-5a9d4a55.js} +89 -208
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-big-stat_47.cjs.entry.js → sqm-big-stat_44.cjs.entry.js} +4 -551
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +1078 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-verify-email-view-6fcde0e7.js +220 -0
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +19 -20
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/esm/{IndirectTaxDetailsView-62f67557.js → IndirectTaxDetailsView-4cf9514a.js} +2 -2
- package/dist/esm/{ShadowViewAddon-a470afbc.js → ShadowViewAddon-2b061a3a.js} +96 -213
- package/dist/esm/{data-4e42ca0f.js → data-4390ef62.js} +1 -1
- package/dist/esm/{global-31893424.js → global-fc653a2a.js} +1 -1
- package/dist/esm/{index.module-0bef7c88.js → index.module-849b7d56.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-90d2cf01.js → re-render-2a5345de.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +8 -8
- package/dist/esm/{sqm-big-stat_47.entry.js → sqm-big-stat_44.entry.js} +15 -559
- 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.entry.js +3 -3
- 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-184561a6.js → sqm-lead-checkbox-field-view-3d012143.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-66f9c1c5.js → sqm-lead-input-field-view-0199ee1e.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-55385bda.js → sqm-navigation-sidebar-item-view-5283300c.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-5dc1cbf3.js → sqm-portal-email-verification-view-03707cd9.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +1069 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +5 -5
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-8022ff18.js → sqm-portal-profile-view-cbef4855.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-e02a49b1.js +215 -0
- 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-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +16 -17
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/sqm-widget-verification.entry.js +1 -1
- package/dist/esm/{useChildElements-3721fb0b.js → useChildElements-14eb2cd7.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-f12801ad.js → useInstantAccessRegistration-6685ce53.js} +2 -2
- package/dist/esm/{useLeadFormState-259e4b23.js → useLeadFormState-0d1c899e.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-b448c386.js → usePortalRegistrationForm-65765105.js} +2 -2
- package/dist/esm/{useReferralCodes-9287638d.js → useReferralCodes-f87eea47.js} +1 -1
- package/dist/esm/{useReferralTable-9db5a0ff.js → useReferralTable-bcf191be.js} +3 -3
- package/dist/esm/{useRegistrationFormState-90b6af96.js → useRegistrationFormState-f149c3ba.js} +1 -1
- package/dist/esm/{useVerificationEmail-5ce6400d.js → useVerificationEmail-ca464d15.js} +1 -1
- package/dist/esm/{utilities-add80719.js → utilities-8dba1079.js} +1 -1
- package/dist/esm/{utils-635fa4ea.js → utils-3c8913e6.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-62f67557.js → IndirectTaxDetailsView-4cf9514a.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-2b061a3a.js +1 -0
- package/dist/esm-es5/{data-4e42ca0f.js → data-4390ef62.js} +1 -1
- package/dist/esm-es5/{global-31893424.js → global-fc653a2a.js} +1 -1
- package/dist/esm-es5/{index.module-0bef7c88.js → index.module-849b7d56.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-90d2cf01.js → re-render-2a5345de.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_44.entry.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-184561a6.js → sqm-lead-checkbox-field-view-3d012143.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-66f9c1c5.js → sqm-lead-input-field-view-0199ee1e.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-55385bda.js → sqm-navigation-sidebar-item-view-5283300c.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-5dc1cbf3.js → sqm-portal-email-verification-view-03707cd9.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 -0
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-8022ff18.js → sqm-portal-profile-view-cbef4855.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-e02a49b1.js +1 -0
- 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-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-3721fb0b.js → useChildElements-14eb2cd7.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-f12801ad.js → useInstantAccessRegistration-6685ce53.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-259e4b23.js → useLeadFormState-0d1c899e.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-b448c386.js → usePortalRegistrationForm-65765105.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-9287638d.js → useReferralCodes-f87eea47.js} +1 -1
- package/dist/esm-es5/{useReferralTable-9db5a0ff.js → useReferralTable-bcf191be.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-90b6af96.js → useRegistrationFormState-f149c3ba.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-5ce6400d.js → useVerificationEmail-ca464d15.js} +1 -1
- package/dist/esm-es5/{utilities-add80719.js → utilities-8dba1079.js} +1 -1
- package/dist/esm-es5/{utils-635fa4ea.js → utils-3c8913e6.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-01eab918.js +1 -0
- package/dist/mint-components/p-051908cf.js +1 -0
- package/dist/mint-components/{p-af6e09cb.entry.js → p-071b49c1.entry.js} +1 -1
- package/dist/mint-components/{p-985324ac.system.entry.js → p-07f47f18.system.entry.js} +1 -1
- package/dist/mint-components/p-080fdd32.entry.js +1 -0
- package/dist/mint-components/{p-456ee337.entry.js → p-0bdf0a4b.entry.js} +1 -1
- package/dist/mint-components/{p-289fb8c3.system.entry.js → p-0fe8d9fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-beff34a1.system.entry.js → p-118e4a22.system.entry.js} +1 -1
- package/dist/mint-components/{p-cc926179.entry.js → p-128dad3d.entry.js} +1 -1
- package/dist/mint-components/p-191fc062.entry.js +273 -0
- package/dist/mint-components/{p-2fd02806.entry.js → p-1aebfc0e.entry.js} +2 -2
- package/dist/mint-components/p-1b50850b.entry.js +13 -0
- package/dist/mint-components/{p-0cb43649.system.js → p-2076f887.system.js} +1 -1
- package/dist/mint-components/{p-fb3e9155.system.entry.js → p-23eb911d.system.entry.js} +1 -1
- package/dist/mint-components/{p-1b3e8ebe.entry.js → p-256763e8.entry.js} +1 -1
- package/dist/mint-components/{p-d2f0816a.system.entry.js → p-266e25fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf0d2ca3.system.js → p-2851c89b.system.js} +1 -1
- package/dist/mint-components/{p-17b90cc9.entry.js → p-287a9c63.entry.js} +1 -1
- package/dist/mint-components/{p-ff102740.system.entry.js → p-2c70a817.system.entry.js} +1 -1
- package/dist/mint-components/p-2c9dc1ff.js +1 -0
- package/dist/mint-components/p-2fa1f10f.entry.js +9 -0
- package/dist/mint-components/{p-0ecdf3b3.js → p-301b5e90.js} +1 -1
- package/dist/mint-components/{p-26950b0a.system.entry.js → p-3710c2e1.system.entry.js} +1 -1
- package/dist/mint-components/{p-0728b5d5.entry.js → p-382aa99f.entry.js} +1 -1
- package/dist/mint-components/{p-bd317183.entry.js → p-39599251.entry.js} +1 -1
- package/dist/mint-components/{p-a69d6920.js → p-39ad8f1b.js} +2 -2
- package/dist/mint-components/p-3c25bdb4.system.entry.js +1 -0
- package/dist/mint-components/p-3c27540c.js +1 -0
- package/dist/mint-components/{p-8ad15caa.entry.js → p-3f00929b.entry.js} +1 -1
- package/dist/mint-components/{p-6eb15b8b.system.entry.js → p-4308b18f.system.entry.js} +1 -1
- package/dist/mint-components/{p-df1f3dcb.system.entry.js → p-4320e2dc.system.entry.js} +1 -1
- package/dist/mint-components/{p-3bf17416.system.js → p-479202a9.system.js} +1 -1
- package/dist/mint-components/{p-60e6b691.system.js → p-494497c2.system.js} +1 -1
- package/dist/mint-components/{p-c2cd0657.system.entry.js → p-4d3c4cc5.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf5f2a1a.entry.js → p-505f91d6.entry.js} +2 -2
- package/dist/mint-components/{p-ade6644e.system.js → p-51428d05.system.js} +1 -1
- package/dist/mint-components/{p-b7e1513f.js → p-5708d347.js} +1 -1
- package/dist/mint-components/p-5b542964.entry.js +1 -0
- package/dist/mint-components/p-5c3bb317.system.js +1 -0
- package/dist/mint-components/p-6306b75e.system.entry.js +1 -0
- package/dist/mint-components/{p-adc687d2.system.js → p-670b2ab4.system.js} +1 -1
- package/dist/mint-components/{p-89ca6721.entry.js → p-6890a3b2.entry.js} +1 -1
- package/dist/mint-components/p-7295c99c.entry.js +1 -0
- package/dist/mint-components/{p-186834ee.system.entry.js → p-73eaa31b.system.entry.js} +1 -1
- package/dist/mint-components/{p-8ae21c99.system.js → p-74141e43.system.js} +1 -1
- package/dist/mint-components/p-7646a6a4.entry.js +1 -0
- package/dist/mint-components/{p-eadf3ea0.system.entry.js → p-7a5cabc8.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0fcab7a.system.js → p-7c74ad5c.system.js} +1 -1
- package/dist/mint-components/{p-d7ca8c6c.entry.js → p-7e04b813.entry.js} +1 -1
- package/dist/mint-components/p-80569727.system.js +1 -0
- package/dist/mint-components/{p-5bff2e59.js → p-831af05f.js} +4 -4
- package/dist/mint-components/{p-220bf9bc.system.js → p-832579bf.system.js} +1 -1
- package/dist/mint-components/{p-ad04c7ea.entry.js → p-8766952b.entry.js} +1 -1
- package/dist/mint-components/{p-bf45741a.system.js → p-8a11659b.system.js} +1 -1
- package/dist/mint-components/{p-165052a3.entry.js → p-8a85f8f5.entry.js} +1 -1
- package/dist/mint-components/{p-4d2a0a42.system.entry.js → p-8b9f6e1e.system.entry.js} +1 -1
- package/dist/mint-components/p-8d25a7f7.js +448 -0
- package/dist/mint-components/{p-e00c413e.entry.js → p-9046552e.entry.js} +1 -1
- package/dist/mint-components/{p-703ec717.system.entry.js → p-9191b949.system.entry.js} +1 -1
- package/dist/mint-components/{p-a070c828.entry.js → p-941776f2.entry.js} +1 -1
- package/dist/mint-components/p-95fe044b.js +1 -0
- package/dist/mint-components/{p-b6215a34.system.entry.js → p-9652e637.system.entry.js} +1 -1
- package/dist/mint-components/{p-3b4cfc7a.entry.js → p-9ba932a9.entry.js} +1 -1
- package/dist/mint-components/p-9bea2329.system.js +1 -0
- package/dist/mint-components/{p-747b0bc0.js → p-9d31def7.js} +1 -1
- package/dist/mint-components/{p-0ab1b421.js → p-9f44a4bd.js} +1 -1
- package/dist/mint-components/{p-8b1f7092.system.entry.js → p-a13d7d73.system.entry.js} +1 -1
- package/dist/mint-components/{p-84a467be.entry.js → p-a4290ba4.entry.js} +1 -1
- package/dist/mint-components/{p-d1b371d7.system.js → p-a81690ae.system.js} +1 -1
- package/dist/mint-components/{p-bcbede0f.system.entry.js → p-a9f72689.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9cc3f05.system.js → p-aaa0ed28.system.js} +1 -1
- package/dist/mint-components/{p-1debe96f.entry.js → p-aaf290ce.entry.js} +1 -1
- package/dist/mint-components/{p-d7a77305.system.entry.js → p-ab927359.system.entry.js} +1 -1
- package/dist/mint-components/{p-d0de7b62.js → p-ae867ea6.js} +1 -1
- package/dist/mint-components/{p-77d24a8e.entry.js → p-aeb00548.entry.js} +1 -1
- package/dist/mint-components/{p-fc3bc313.system.js → p-b131b384.system.js} +1 -1
- package/dist/mint-components/{p-6cd2e9ac.system.js → p-b35a43d1.system.js} +1 -1
- package/dist/mint-components/{p-c65b0189.js → p-b4a8a34b.js} +1 -1
- package/dist/mint-components/p-b54da510.system.entry.js +1 -0
- package/dist/mint-components/{p-5de5f74c.system.entry.js → p-bbdbefce.system.entry.js} +1 -1
- package/dist/mint-components/{p-70d4936d.js → p-bf3e7bc8.js} +1 -1
- package/dist/mint-components/{p-0f47f904.entry.js → p-c23f5630.entry.js} +1 -1
- package/dist/mint-components/{p-4e47568a.system.entry.js → p-c4151e26.system.entry.js} +1 -1
- package/dist/mint-components/{p-5423baa1.js → p-c5e6c28e.js} +1 -1
- package/dist/mint-components/{p-2478d23c.system.entry.js → p-c7b4e749.system.entry.js} +1 -1
- package/dist/mint-components/{p-1fcbfc5c.system.entry.js → p-c857676d.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6ac6625.js → p-ca3dbd51.js} +1 -1
- package/dist/mint-components/{p-079cf9d7.js → p-ca3f598c.js} +2 -2
- package/dist/mint-components/{p-11e16fe2.system.entry.js → p-ca71dfff.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2899c78.system.entry.js → p-cb225348.system.entry.js} +1 -1
- package/dist/mint-components/{p-110360b9.system.js → p-ce4a36b2.system.js} +1 -1
- package/dist/mint-components/{p-d3449429.entry.js → p-d57bdb68.entry.js} +1 -1
- package/dist/mint-components/p-d9a88615.system.js +1 -0
- package/dist/mint-components/{p-a91ff3f7.system.js → p-dd28cd8c.system.js} +1 -1
- package/dist/mint-components/{p-9df20b9f.system.entry.js → p-de293f9f.system.entry.js} +1 -1
- package/dist/mint-components/p-e21dad58.entry.js +1 -0
- package/dist/mint-components/{p-f7a09923.js → p-e230562f.js} +2 -2
- package/dist/mint-components/{p-8055a9c7.entry.js → p-e6c7c09c.entry.js} +1 -1
- package/dist/mint-components/{p-369021f9.system.entry.js → p-e82ffaee.system.entry.js} +1 -1
- package/dist/mint-components/{p-1111eb94.js → p-e9b0160b.js} +1 -1
- package/dist/mint-components/{p-f38483aa.system.entry.js → p-eb123e88.system.entry.js} +1 -1
- package/dist/mint-components/{p-a6ef5e76.js → p-ebfaa71d.js} +2 -2
- package/dist/mint-components/{p-6c451c54.system.entry.js → p-ed74b25a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bc9f0e5.system.entry.js → p-f1cf660f.system.entry.js} +1 -1
- package/dist/mint-components/p-f207070d.entry.js +1 -0
- package/dist/mint-components/p-f32d8d19.entry.js +1 -0
- package/dist/mint-components/{p-59a8c3b1.system.entry.js → p-f59cf0a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-78beaa20.system.js → p-f62aa495.system.js} +1 -1
- package/dist/mint-components/{p-68141f06.js → p-f72cf379.js} +1 -1
- package/dist/mint-components/{p-168d59d6.system.entry.js → p-f998a53a.system.entry.js} +1 -1
- package/dist/mint-components/{p-abf70313.system.entry.js → p-fb0ea0df.system.entry.js} +1 -1
- package/dist/mint-components/{p-644df4e5.entry.js → p-fbcd2ae2.entry.js} +1 -1
- package/dist/mint-components/p-fc66ec16.system.js +1 -0
- package/dist/mint-components/{p-bd74bc30.system.js → p-fc850132.system.js} +1 -1
- package/dist/mint-components/{p-253c0ba6.entry.js → p-ff38a567.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +0 -130
- package/dist/cjs/sqm-portal-login-view-298425ad.js +0 -58
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +0 -194
- package/dist/cjs/sqm-portal-verify-email-view-eb487415.js +0 -49
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +0 -171
- package/dist/cjs/usePortalLogin-95e7c3a0.js +0 -74
- package/dist/esm/sqm-portal-google-login.entry.js +0 -126
- package/dist/esm/sqm-portal-login-view-40f4f6f1.js +0 -56
- package/dist/esm/sqm-portal-registration-form.entry.js +0 -190
- package/dist/esm/sqm-portal-verify-email-view-547bdbef.js +0 -47
- package/dist/esm/sqm-portal-verify-email.entry.js +0 -167
- package/dist/esm/usePortalLogin-9f9ea240.js +0 -72
- package/dist/esm-es5/ShadowViewAddon-a470afbc.js +0 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-40f4f6f1.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-547bdbef.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +0 -1
- package/dist/esm-es5/usePortalLogin-9f9ea240.js +0 -1
- package/dist/mint-components/p-02232e0c.entry.js +0 -1
- package/dist/mint-components/p-0ffd3316.entry.js +0 -1
- package/dist/mint-components/p-1f21cb92.entry.js +0 -9
- package/dist/mint-components/p-23e2c5f4.js +0 -1
- package/dist/mint-components/p-30a281ee.entry.js +0 -1
- package/dist/mint-components/p-348d9e18.system.js +0 -1
- package/dist/mint-components/p-46172119.entry.js +0 -1
- package/dist/mint-components/p-47143651.system.js +0 -1
- package/dist/mint-components/p-4ea55134.js +0 -1
- package/dist/mint-components/p-5ff17d5c.system.js +0 -1
- package/dist/mint-components/p-60f8b8ff.js +0 -1
- package/dist/mint-components/p-69604a2c.entry.js +0 -1
- package/dist/mint-components/p-69c93d10.system.js +0 -1
- package/dist/mint-components/p-85dcd4a6.system.entry.js +0 -1
- package/dist/mint-components/p-8b202cbd.system.entry.js +0 -1
- package/dist/mint-components/p-8d33addb.js +0 -1
- package/dist/mint-components/p-95cc1859.js +0 -1
- package/dist/mint-components/p-9d88b86e.entry.js +0 -1
- package/dist/mint-components/p-a52c0604.entry.js +0 -1
- package/dist/mint-components/p-a625b75f.js +0 -1
- package/dist/mint-components/p-af4bf3fc.system.entry.js +0 -1
- package/dist/mint-components/p-b7a46b96.system.entry.js +0 -1
- package/dist/mint-components/p-b7daf892.system.js +0 -1
- package/dist/mint-components/p-c2f3b2f4.system.js +0 -1
- package/dist/mint-components/p-cfcae11a.js +0 -448
- package/dist/mint-components/p-da2183c2.js +0 -1
- package/dist/mint-components/p-eb640601.entry.js +0 -13
- package/dist/mint-components/p-eb644fb7.system.entry.js +0 -1
- package/dist/mint-components/p-f0c8d3aa.entry.js +0 -273
- package/dist/mint-components/p-f21e0be3.entry.js +0 -1
- package/dist/mint-components/p-f41af37d.entry.js +0 -1
- package/dist/mint-components/p-f80b1849.system.js +0 -1
- package/dist/cjs/{usePortalRegistrationForm-cdf6cb76.js → usePortalRegistrationForm-a0a45299.js} +1 -1
|
@@ -1,33 +1,31 @@
|
|
|
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-fc653a2a.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,
|
|
4
|
+
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn, p as Ue, s as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-849b7d56.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-f87eea47.js';
|
|
10
10
|
import './mixins-f750863a.js';
|
|
11
11
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
12
|
-
import { a as useRequestRerender } from './re-render-90d2cf01.js';
|
|
13
|
-
import { u as useChildElements } from './useChildElements-3721fb0b.js';
|
|
14
|
-
import './luxon-1be92a8e.js';
|
|
15
12
|
import './sqm-text-span-view-738acfb3.js';
|
|
13
|
+
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
14
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-f149c3ba.js';
|
|
15
|
+
import { a as useRequestRerender } from './re-render-2a5345de.js';
|
|
16
|
+
import { u as useChildElements } from './useChildElements-14eb2cd7.js';
|
|
17
|
+
import './luxon-1be92a8e.js';
|
|
16
18
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
19
|
import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import {
|
|
21
|
-
import { P as PortalLoginView } from './sqm-portal-login-view-40f4f6f1.js';
|
|
22
|
-
import { u as usePortalLogin } from './usePortalLogin-9f9ea240.js';
|
|
23
|
-
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
24
|
-
import { i as isEmpty } from './utilities-add80719.js';
|
|
20
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-6685ce53.js';
|
|
21
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-0d1c899e.js';
|
|
22
|
+
import { i as isEmpty } from './utilities-8dba1079.js';
|
|
25
23
|
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
26
|
-
import { u as useDemoBigStat,
|
|
24
|
+
import { u as useDemoBigStat, U as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, d as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, O as LeadDropdownFieldView, M as LeadFormView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, e as ChangeMarktingView, P as PortalChangePasswordView, f as PortalFooterView, g as PortalFrameView, R as ReferralIframeView, h as RewardExchangeView, W as demoRewardExchange, F as useShareButton, a as ShareButtonView, G as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-2b061a3a.js';
|
|
27
25
|
import './sqm-portal-container-view-a8c708cd.js';
|
|
28
|
-
import { g as getCountryObj, L as LoadingView } from './utils-
|
|
26
|
+
import { g as getCountryObj, L as LoadingView } from './utils-3c8913e6.js';
|
|
29
27
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
30
|
-
import { u as usePayoutStatus, 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, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-
|
|
28
|
+
import { u as usePayoutStatus, 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, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-4390ef62.js';
|
|
31
29
|
|
|
32
30
|
/**
|
|
33
31
|
*
|
|
@@ -3656,147 +3654,6 @@ const PortalFooter = class {
|
|
|
3656
3654
|
static get assetsDirs() { return ["../../assets"]; }
|
|
3657
3655
|
};
|
|
3658
3656
|
|
|
3659
|
-
function usePortalForgotPassword(props) {
|
|
3660
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
3661
|
-
const [success, setSuccess] = useState(false);
|
|
3662
|
-
const [error, setError] = useState("");
|
|
3663
|
-
const [request, { loading, data, errors }] = un();
|
|
3664
|
-
const urlParams = new URLSearchParams(jn.location.search);
|
|
3665
|
-
const nextPage = urlParams.get("nextPage");
|
|
3666
|
-
const submit = async (event) => {
|
|
3667
|
-
var _a;
|
|
3668
|
-
setError("");
|
|
3669
|
-
setSuccess(false);
|
|
3670
|
-
let formData = event.detail.formData;
|
|
3671
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3672
|
-
jsonpointer.set(formData, key, value);
|
|
3673
|
-
});
|
|
3674
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
3675
|
-
const redirectPath = props.redirectPath;
|
|
3676
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3677
|
-
const result = await request(variables);
|
|
3678
|
-
if (result instanceof Error) {
|
|
3679
|
-
if (result.message)
|
|
3680
|
-
setError(props.networkErrorMessage);
|
|
3681
|
-
return;
|
|
3682
|
-
}
|
|
3683
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3684
|
-
setSuccess(true);
|
|
3685
|
-
}
|
|
3686
|
-
};
|
|
3687
|
-
return {
|
|
3688
|
-
states: {
|
|
3689
|
-
loading,
|
|
3690
|
-
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
3691
|
-
error,
|
|
3692
|
-
success,
|
|
3693
|
-
loginPath: props.loginPath,
|
|
3694
|
-
headerText: props.headerText,
|
|
3695
|
-
loginText: props.loginText,
|
|
3696
|
-
},
|
|
3697
|
-
callbacks: {
|
|
3698
|
-
submit,
|
|
3699
|
-
},
|
|
3700
|
-
};
|
|
3701
|
-
}
|
|
3702
|
-
|
|
3703
|
-
const PortalForgotPassword = class {
|
|
3704
|
-
constructor(hostRef) {
|
|
3705
|
-
registerInstance(this, hostRef);
|
|
3706
|
-
this.ignored = true;
|
|
3707
|
-
/**
|
|
3708
|
-
* Redirect participants to this page after they verify their email.
|
|
3709
|
-
*
|
|
3710
|
-
* @uiName Email redirect
|
|
3711
|
-
* @uiWidget pageSelect
|
|
3712
|
-
*/
|
|
3713
|
-
this.redirectPath = "/resetPassword";
|
|
3714
|
-
/**
|
|
3715
|
-
* @uiName Email field label
|
|
3716
|
-
*/
|
|
3717
|
-
this.emailLabel = "Email";
|
|
3718
|
-
/**
|
|
3719
|
-
* @uiName Password reset button text
|
|
3720
|
-
*/
|
|
3721
|
-
this.submitLabel = "Request Password Reset";
|
|
3722
|
-
/**
|
|
3723
|
-
* @uiName Login redirect path
|
|
3724
|
-
* @uiWidget pageSelect
|
|
3725
|
-
*/
|
|
3726
|
-
this.loginPath = "/login";
|
|
3727
|
-
/**
|
|
3728
|
-
* @uiName Header text
|
|
3729
|
-
* @uiWidget textArea
|
|
3730
|
-
*/
|
|
3731
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3732
|
-
/**
|
|
3733
|
-
* @uiName Sign in link text
|
|
3734
|
-
*/
|
|
3735
|
-
this.loginText = "Sign In";
|
|
3736
|
-
/**
|
|
3737
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3738
|
-
* @uiName Network error message
|
|
3739
|
-
*/
|
|
3740
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3741
|
-
/**
|
|
3742
|
-
* @uiName Email verification sent text
|
|
3743
|
-
*/
|
|
3744
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3745
|
-
/**
|
|
3746
|
-
* @uiName Background color
|
|
3747
|
-
* @uiWidget color
|
|
3748
|
-
*/
|
|
3749
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3750
|
-
/**
|
|
3751
|
-
* @uiName Border radius
|
|
3752
|
-
* @uiWidget number
|
|
3753
|
-
*/
|
|
3754
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3755
|
-
/**
|
|
3756
|
-
* @uiName Border style
|
|
3757
|
-
* @uiWidget textArea
|
|
3758
|
-
*/
|
|
3759
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3760
|
-
h(this);
|
|
3761
|
-
}
|
|
3762
|
-
disconnectedCallback() { }
|
|
3763
|
-
render() {
|
|
3764
|
-
const { states, callbacks } = isDemo()
|
|
3765
|
-
? usePortalForgotPasswordDemo(this)
|
|
3766
|
-
: usePortalForgotPassword(this);
|
|
3767
|
-
const content = {
|
|
3768
|
-
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
3769
|
-
emailLabel: this.emailLabel,
|
|
3770
|
-
submitLabel: this.submitLabel,
|
|
3771
|
-
successAlertText: this.successAlertText,
|
|
3772
|
-
loginText: this.loginText,
|
|
3773
|
-
backgroundColor: this.backgroundColor,
|
|
3774
|
-
borderRadius: this.borderRadius,
|
|
3775
|
-
border: this.border,
|
|
3776
|
-
};
|
|
3777
|
-
return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3778
|
-
}
|
|
3779
|
-
};
|
|
3780
|
-
function usePortalForgotPasswordDemo(props) {
|
|
3781
|
-
return cjs({
|
|
3782
|
-
states: { error: "", loading: false, success: false },
|
|
3783
|
-
callbacks: {
|
|
3784
|
-
submit: async (_event) => { },
|
|
3785
|
-
},
|
|
3786
|
-
content: {
|
|
3787
|
-
secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
|
|
3788
|
-
messageSlot: h$1("span", null, props.headerText),
|
|
3789
|
-
emailLabel: props.emailLabel,
|
|
3790
|
-
submitLabel: props.submitLabel,
|
|
3791
|
-
successAlertText: props.successAlertText,
|
|
3792
|
-
loginText: props.loginText,
|
|
3793
|
-
backgroundColor: props.backgroundColor,
|
|
3794
|
-
borderRadius: props.borderRadius,
|
|
3795
|
-
border: props.border,
|
|
3796
|
-
},
|
|
3797
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3798
|
-
}
|
|
3799
|
-
|
|
3800
3657
|
function usePortalFrame(footerContent, headerContent, props) {
|
|
3801
3658
|
const [, rerender] = yn();
|
|
3802
3659
|
return {
|
|
@@ -3871,407 +3728,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
3871
3728
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3872
3729
|
}
|
|
3873
3730
|
|
|
3874
|
-
const PortalLogin = class {
|
|
3875
|
-
constructor(hostRef) {
|
|
3876
|
-
registerInstance(this, hostRef);
|
|
3877
|
-
this.ignored = true;
|
|
3878
|
-
/**
|
|
3879
|
-
* Redirect participants to this page after they successfully login.
|
|
3880
|
-
*
|
|
3881
|
-
* @uiName Login redirect
|
|
3882
|
-
* @uiWidget pageSelect
|
|
3883
|
-
*/
|
|
3884
|
-
this.nextPage = "/";
|
|
3885
|
-
/**
|
|
3886
|
-
* @uiName Email field label
|
|
3887
|
-
*/
|
|
3888
|
-
this.emailLabel = "Email";
|
|
3889
|
-
/**
|
|
3890
|
-
* @uiName Password field label
|
|
3891
|
-
*/
|
|
3892
|
-
this.passwordLabel = "Password";
|
|
3893
|
-
/**
|
|
3894
|
-
* @uiName Submit button text
|
|
3895
|
-
*/
|
|
3896
|
-
this.submitLabel = "Sign In";
|
|
3897
|
-
/**
|
|
3898
|
-
* Redirect participants to this page to reset their password
|
|
3899
|
-
* @uiName Forgot password redirect
|
|
3900
|
-
* @uiWidget pageSelect
|
|
3901
|
-
*/
|
|
3902
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
3903
|
-
/**
|
|
3904
|
-
* @uiName Forgot password text
|
|
3905
|
-
*/
|
|
3906
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
3907
|
-
/**
|
|
3908
|
-
* @uiName Register button text
|
|
3909
|
-
*/
|
|
3910
|
-
this.registerLabel = "Register";
|
|
3911
|
-
/**
|
|
3912
|
-
* Redirect participants to this page to start registration.
|
|
3913
|
-
* @uiName Register button redirect
|
|
3914
|
-
* @uiWidget pageSelect
|
|
3915
|
-
*/
|
|
3916
|
-
this.registerPath = "/register";
|
|
3917
|
-
/**
|
|
3918
|
-
* @uiName Heading label
|
|
3919
|
-
* @uiWidget textArea
|
|
3920
|
-
*/
|
|
3921
|
-
this.pageLabel = "Sign in to your account";
|
|
3922
|
-
/**
|
|
3923
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
3924
|
-
* @uiName Network error message
|
|
3925
|
-
*/
|
|
3926
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
3927
|
-
/**
|
|
3928
|
-
* @uiName Register CTA
|
|
3929
|
-
*/
|
|
3930
|
-
this.registerCTA = "Don't have an account?";
|
|
3931
|
-
h(this);
|
|
3932
|
-
}
|
|
3933
|
-
disconnectedCallback() { }
|
|
3934
|
-
render() {
|
|
3935
|
-
const { states, callbacks } = isDemo()
|
|
3936
|
-
? useLoginDemo(this)
|
|
3937
|
-
: usePortalLogin(this);
|
|
3938
|
-
const styles = {
|
|
3939
|
-
RegisterButton: {
|
|
3940
|
-
"&::part(label)": {
|
|
3941
|
-
padding: "0",
|
|
3942
|
-
},
|
|
3943
|
-
},
|
|
3944
|
-
};
|
|
3945
|
-
const sheet = createStyleSheet(styles);
|
|
3946
|
-
const styleString = sheet.toString();
|
|
3947
|
-
const content = {
|
|
3948
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
3949
|
-
googleButton: null,
|
|
3950
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
3951
|
-
emailLabel: this.emailLabel,
|
|
3952
|
-
passwordLabel: this.passwordLabel,
|
|
3953
|
-
submitLabel: this.submitLabel,
|
|
3954
|
-
pageLabel: this.pageLabel,
|
|
3955
|
-
};
|
|
3956
|
-
return (h$1(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
3957
|
-
}
|
|
3958
|
-
};
|
|
3959
|
-
function useLoginDemo(props) {
|
|
3960
|
-
return cjs({
|
|
3961
|
-
states: {
|
|
3962
|
-
error: "",
|
|
3963
|
-
loading: false,
|
|
3964
|
-
forgotPasswordPath: "/forgotPassword",
|
|
3965
|
-
registerPath: "/register",
|
|
3966
|
-
showLoginForm: "manual",
|
|
3967
|
-
},
|
|
3968
|
-
callbacks: {
|
|
3969
|
-
googleSubmit: async () => {
|
|
3970
|
-
console.log("google submit");
|
|
3971
|
-
},
|
|
3972
|
-
submit: async (_event) => {
|
|
3973
|
-
console.log("submit");
|
|
3974
|
-
},
|
|
3975
|
-
},
|
|
3976
|
-
content: {
|
|
3977
|
-
googleButton: null,
|
|
3978
|
-
},
|
|
3979
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3980
|
-
}
|
|
3981
|
-
|
|
3982
|
-
function usePortalRegister(props) {
|
|
3983
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3984
|
-
const formRef = useRef(null);
|
|
3985
|
-
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
3986
|
-
const [request, { loading, errors, data }] = Ve();
|
|
3987
|
-
useEffect(() => {
|
|
3988
|
-
if (!formRef.current)
|
|
3989
|
-
return;
|
|
3990
|
-
const form = formRef.current;
|
|
3991
|
-
form.addEventListener("sl-input", inputFunction);
|
|
3992
|
-
return () => {
|
|
3993
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
3994
|
-
};
|
|
3995
|
-
}, [formRef.current]);
|
|
3996
|
-
const submit = async (event) => {
|
|
3997
|
-
var _a;
|
|
3998
|
-
let formControls = event.target.getFormControls();
|
|
3999
|
-
let formData = {};
|
|
4000
|
-
let validationErrors = {};
|
|
4001
|
-
formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
|
|
4002
|
-
if (!control.name)
|
|
4003
|
-
return;
|
|
4004
|
-
const key = control.name;
|
|
4005
|
-
const value = control.value;
|
|
4006
|
-
jsonpointer.set(formData, key, value);
|
|
4007
|
-
// required validation
|
|
4008
|
-
if (control.required && !value) {
|
|
4009
|
-
jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
|
|
4010
|
-
}
|
|
4011
|
-
// custom validation
|
|
4012
|
-
if (typeof control.validationError === "function") {
|
|
4013
|
-
const validate = control.validationError;
|
|
4014
|
-
const validationError = validate({ control, key, value });
|
|
4015
|
-
if (validationError)
|
|
4016
|
-
jsonpointer.set(validationErrors, key, validationError);
|
|
4017
|
-
}
|
|
4018
|
-
});
|
|
4019
|
-
if ((props.confirmPassword || formData.confirmPassword) &&
|
|
4020
|
-
formData.password !== formData.confirmPassword) {
|
|
4021
|
-
validationErrors = {
|
|
4022
|
-
...validationErrors,
|
|
4023
|
-
confirmPassword: props.passwordMismatchErrorMessage,
|
|
4024
|
-
};
|
|
4025
|
-
}
|
|
4026
|
-
if (Object.keys(validationErrors).length) {
|
|
4027
|
-
setRegistrationFormState({ loading: false, error: "", validationErrors });
|
|
4028
|
-
// early return for validation errors
|
|
4029
|
-
return;
|
|
4030
|
-
}
|
|
4031
|
-
setRegistrationFormState({
|
|
4032
|
-
loading: true,
|
|
4033
|
-
error: "",
|
|
4034
|
-
validationErrors: {},
|
|
4035
|
-
});
|
|
4036
|
-
const { email, password } = formData;
|
|
4037
|
-
delete formData.email;
|
|
4038
|
-
delete formData.password;
|
|
4039
|
-
delete formData.confirmPassword;
|
|
4040
|
-
formData = { ...formData };
|
|
4041
|
-
const redirectPath = props.redirectPath;
|
|
4042
|
-
const variables = {
|
|
4043
|
-
email,
|
|
4044
|
-
password,
|
|
4045
|
-
formData,
|
|
4046
|
-
redirectPath,
|
|
4047
|
-
};
|
|
4048
|
-
try {
|
|
4049
|
-
const result = await request(variables);
|
|
4050
|
-
if (result instanceof Error) {
|
|
4051
|
-
throw result;
|
|
4052
|
-
}
|
|
4053
|
-
setRegistrationFormState({
|
|
4054
|
-
loading: false,
|
|
4055
|
-
error: "",
|
|
4056
|
-
validationErrors: {},
|
|
4057
|
-
});
|
|
4058
|
-
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
4059
|
-
jn.push(props.nextPage);
|
|
4060
|
-
}
|
|
4061
|
-
}
|
|
4062
|
-
catch (error) {
|
|
4063
|
-
setRegistrationFormState({
|
|
4064
|
-
loading: false,
|
|
4065
|
-
error: props.networkErrorMessage,
|
|
4066
|
-
validationErrors: {},
|
|
4067
|
-
});
|
|
4068
|
-
}
|
|
4069
|
-
};
|
|
4070
|
-
const inputFunction = useCallback((e) => {
|
|
4071
|
-
var _a, _b;
|
|
4072
|
-
const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
|
|
4073
|
-
if (name !== "tel")
|
|
4074
|
-
return;
|
|
4075
|
-
const asYouType = new AsYouType("US");
|
|
4076
|
-
e.target.value = asYouType.input(e.target.value);
|
|
4077
|
-
}, []);
|
|
4078
|
-
let errorMessage = "";
|
|
4079
|
-
if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
|
|
4080
|
-
errorMessage = props.networkErrorMessage;
|
|
4081
|
-
}
|
|
4082
|
-
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
|
|
4083
|
-
errorMessage = props.networkErrorMessage;
|
|
4084
|
-
}
|
|
4085
|
-
else {
|
|
4086
|
-
errorMessage =
|
|
4087
|
-
((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
|
|
4088
|
-
}
|
|
4089
|
-
return {
|
|
4090
|
-
states: {
|
|
4091
|
-
loading,
|
|
4092
|
-
error: errorMessage,
|
|
4093
|
-
registrationFormState,
|
|
4094
|
-
confirmPassword: props.confirmPassword,
|
|
4095
|
-
hideInputs: props.hideInputs,
|
|
4096
|
-
loginPath: props.loginPath,
|
|
4097
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4098
|
-
},
|
|
4099
|
-
callbacks: {
|
|
4100
|
-
submit,
|
|
4101
|
-
inputFunction,
|
|
4102
|
-
},
|
|
4103
|
-
refs: {
|
|
4104
|
-
formRef,
|
|
4105
|
-
},
|
|
4106
|
-
};
|
|
4107
|
-
}
|
|
4108
|
-
|
|
4109
|
-
const PortalRegister = class {
|
|
4110
|
-
constructor(hostRef) {
|
|
4111
|
-
registerInstance(this, hostRef);
|
|
4112
|
-
this.ignored = false;
|
|
4113
|
-
/**
|
|
4114
|
-
* Redirect participants to this page from their verification email
|
|
4115
|
-
*
|
|
4116
|
-
* @uiName Registration redirect
|
|
4117
|
-
* @uiWidget pageSelect
|
|
4118
|
-
*/
|
|
4119
|
-
this.nextPage = "/";
|
|
4120
|
-
/**
|
|
4121
|
-
* The page that participants are redirected to from the verification email.
|
|
4122
|
-
*
|
|
4123
|
-
* @uiName Email verification redirect
|
|
4124
|
-
* @uiWidget pageSelect
|
|
4125
|
-
*/
|
|
4126
|
-
this.redirectPath = "/verifyEmail";
|
|
4127
|
-
/**
|
|
4128
|
-
* @uiName Email field label
|
|
4129
|
-
*/
|
|
4130
|
-
this.emailLabel = "Email";
|
|
4131
|
-
/**
|
|
4132
|
-
* @uiName Password field label
|
|
4133
|
-
*/
|
|
4134
|
-
this.passwordLabel = "Password";
|
|
4135
|
-
/**
|
|
4136
|
-
* @uiName Submit button text
|
|
4137
|
-
*/
|
|
4138
|
-
this.submitLabel = "Register";
|
|
4139
|
-
/**
|
|
4140
|
-
* @uiName Login button text
|
|
4141
|
-
*/
|
|
4142
|
-
this.loginLabel = "Sign in";
|
|
4143
|
-
/**
|
|
4144
|
-
* @uiName Confirm password field label
|
|
4145
|
-
*/
|
|
4146
|
-
this.confirmPasswordLabel = "Confirm Password";
|
|
4147
|
-
/**
|
|
4148
|
-
* @uiName Show confirm password field
|
|
4149
|
-
*/
|
|
4150
|
-
this.confirmPassword = false;
|
|
4151
|
-
/**
|
|
4152
|
-
* @uiName Disable password validation
|
|
4153
|
-
*/
|
|
4154
|
-
this.disablePasswordValidation = false;
|
|
4155
|
-
/**
|
|
4156
|
-
* Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
|
|
4157
|
-
*
|
|
4158
|
-
* @uiName Hide default fields
|
|
4159
|
-
*/
|
|
4160
|
-
this.hideInputs = false;
|
|
4161
|
-
/**
|
|
4162
|
-
* @uiName Header text
|
|
4163
|
-
*/
|
|
4164
|
-
this.pageLabel = "Register";
|
|
4165
|
-
/**
|
|
4166
|
-
* Redirect participants to this page after clicking the login button.
|
|
4167
|
-
*
|
|
4168
|
-
* @uiName Login redirect
|
|
4169
|
-
* @uiWidget pageSelect
|
|
4170
|
-
*/
|
|
4171
|
-
this.loginPath = "/login";
|
|
4172
|
-
/**
|
|
4173
|
-
* The message to be displayed when a required field is not filled.
|
|
4174
|
-
*
|
|
4175
|
-
* @uiName Required field message
|
|
4176
|
-
* @uiWidget textArea
|
|
4177
|
-
*/
|
|
4178
|
-
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4179
|
-
/**
|
|
4180
|
-
* The message to be displayed when a the form submission fails unexpectedly.
|
|
4181
|
-
*
|
|
4182
|
-
* @uiName Network error message
|
|
4183
|
-
* @uiWidget textArea
|
|
4184
|
-
*/
|
|
4185
|
-
this.networkErrorMessage = "Network request failed.";
|
|
4186
|
-
/**
|
|
4187
|
-
* The message to be displayed when password inputs do not match.
|
|
4188
|
-
*
|
|
4189
|
-
* @uiName Password mismatch message
|
|
4190
|
-
* @uiWidget textArea
|
|
4191
|
-
*/
|
|
4192
|
-
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
4193
|
-
/**
|
|
4194
|
-
* The message to be displayed when the email used is invalid or blocked.
|
|
4195
|
-
*
|
|
4196
|
-
* @uiName Invalid email message
|
|
4197
|
-
* @uiWidget textArea
|
|
4198
|
-
*/
|
|
4199
|
-
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
4200
|
-
/**
|
|
4201
|
-
* @uiName Password requirement met
|
|
4202
|
-
*/
|
|
4203
|
-
this.meetsRequirementsText = "Password has met all requirements";
|
|
4204
|
-
/**
|
|
4205
|
-
* @uiName Password requirement failed
|
|
4206
|
-
*/
|
|
4207
|
-
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
4208
|
-
/**
|
|
4209
|
-
* @uiName Minimum length text
|
|
4210
|
-
*/
|
|
4211
|
-
this.minErrorText = "be a minimum of 8 characters";
|
|
4212
|
-
/**
|
|
4213
|
-
* @uiName Missing uppercase text
|
|
4214
|
-
*/
|
|
4215
|
-
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
4216
|
-
/**
|
|
4217
|
-
* @uiName Missing lowercase text
|
|
4218
|
-
*/
|
|
4219
|
-
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
4220
|
-
/**
|
|
4221
|
-
* @uiName Missing number or symbol text
|
|
4222
|
-
*/
|
|
4223
|
-
this.hasErrorText = "contain at least 1 number or symbol";
|
|
4224
|
-
h(this);
|
|
4225
|
-
}
|
|
4226
|
-
disconnectedCallback() { }
|
|
4227
|
-
render() {
|
|
4228
|
-
const { states, callbacks, refs } = isDemo()
|
|
4229
|
-
? useRegisterDemo$1(this)
|
|
4230
|
-
: usePortalRegister(this);
|
|
4231
|
-
const content = {
|
|
4232
|
-
formData: h$1("slot", { name: "formData" }),
|
|
4233
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
|
|
4234
|
-
terms: h$1("slot", { name: "terms" }),
|
|
4235
|
-
emailLabel: this.emailLabel,
|
|
4236
|
-
passwordLabel: this.passwordLabel,
|
|
4237
|
-
submitLabel: this.submitLabel,
|
|
4238
|
-
pageLabel: this.pageLabel,
|
|
4239
|
-
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
4240
|
-
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4241
|
-
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4242
|
-
meetsRequirementsText: this.meetsRequirementsText,
|
|
4243
|
-
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
4244
|
-
minErrorText: this.minErrorText,
|
|
4245
|
-
uppercaseErrorText: this.uppercaseErrorText,
|
|
4246
|
-
lowercaseErrorText: this.lowercaseErrorText,
|
|
4247
|
-
hasErrorText: this.hasErrorText,
|
|
4248
|
-
};
|
|
4249
|
-
return (h$1(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
4250
|
-
}
|
|
4251
|
-
};
|
|
4252
|
-
function useRegisterDemo$1(props) {
|
|
4253
|
-
return cjs({
|
|
4254
|
-
states: {
|
|
4255
|
-
error: "",
|
|
4256
|
-
loading: false,
|
|
4257
|
-
confirmPassword: props.confirmPassword,
|
|
4258
|
-
hideInputs: props.hideInputs || false,
|
|
4259
|
-
customPasswordField: false,
|
|
4260
|
-
loginPath: props.loginPath,
|
|
4261
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4262
|
-
},
|
|
4263
|
-
callbacks: {
|
|
4264
|
-
submit: async (_event) => {
|
|
4265
|
-
console.log("submit");
|
|
4266
|
-
},
|
|
4267
|
-
inputFunction: () => { },
|
|
4268
|
-
},
|
|
4269
|
-
refs: {
|
|
4270
|
-
formRef: {},
|
|
4271
|
-
},
|
|
4272
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4273
|
-
}
|
|
4274
|
-
|
|
4275
3731
|
function ProgramExplainerView(props, children) {
|
|
4276
3732
|
const style = {
|
|
4277
3733
|
Container: {
|
|
@@ -7877,4 +7333,4 @@ function useUserNameDemo(props) {
|
|
|
7877
7333
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7878
7334
|
}
|
|
7879
7335
|
|
|
7880
|
-
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,
|
|
7336
|
+
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, 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 };
|
|
@@ -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-849b7d56.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-fc653a2a.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, q as Pn, F as Fn, i as isDemo,
|
|
4
|
+
import { d as dist, q as Pn, F as Fn, i as isDemo, o as En } from './index.module-849b7d56.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
9
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
10
10
|
import { V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
11
|
-
import { u as useVerificationEmail } from './useVerificationEmail-
|
|
11
|
+
import { u as useVerificationEmail } from './useVerificationEmail-ca464d15.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: {
|
|
@@ -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-849b7d56.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
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-fc653a2a.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { d as dist, q as Pn, w as wn, J, $ as $e, i as isDemo,
|
|
4
|
+
import { d as dist, q as Pn, w as wn, J, $ as $e, i as isDemo, o as En } from './index.module-849b7d56.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 { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
9
9
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE } from './keys-406491dc.js';
|
|
10
|
-
import { u as useVerificationEmail } from './useVerificationEmail-
|
|
10
|
+
import { u as useVerificationEmail } from './useVerificationEmail-ca464d15.js';
|
|
11
11
|
|
|
12
12
|
const UpsertUserEmailMutation = dist.gql `
|
|
13
13
|
mutation upsertUser($userInput: UserInput!) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-fc653a2a.js';
|
|
3
3
|
import { n as h$1 } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import './index.module-
|
|
4
|
+
import './index.module-849b7d56.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-a8c708cd.js';
|