@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
|
@@ -13,21 +13,19 @@ const JSS = require('./JSS-8503a151.js');
|
|
|
13
13
|
require('./useReferralCodes-03024ff4.js');
|
|
14
14
|
require('./mixins-4761d472.js');
|
|
15
15
|
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
16
|
+
require('./sqm-text-span-view-f274fdf2.js');
|
|
17
|
+
const AsYouType = require('./AsYouType-6788393a.js');
|
|
18
|
+
const useRegistrationFormState = require('./useRegistrationFormState-0f85c946.js');
|
|
16
19
|
const reRender = require('./re-render-f59ad8a9.js');
|
|
17
20
|
const useChildElements = require('./useChildElements-84b623d1.js');
|
|
18
21
|
require('./luxon-c1ad356a.js');
|
|
19
|
-
require('./sqm-text-span-view-f274fdf2.js');
|
|
20
22
|
const index$1 = require('./index-8c6255f5.js');
|
|
21
23
|
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
22
|
-
const useRegistrationFormState = require('./useRegistrationFormState-0f85c946.js');
|
|
23
24
|
const useInstantAccessRegistration = require('./useInstantAccessRegistration-dbe420fb.js');
|
|
24
25
|
const useLeadFormState = require('./useLeadFormState-1895ef0d.js');
|
|
25
|
-
const sqmPortalLoginView = require('./sqm-portal-login-view-298425ad.js');
|
|
26
|
-
const usePortalLogin = require('./usePortalLogin-95e7c3a0.js');
|
|
27
|
-
const AsYouType = require('./AsYouType-6788393a.js');
|
|
28
26
|
const utilities = require('./utilities-3577b60d.js');
|
|
29
27
|
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
28
|
+
const ShadowViewAddon = require('./ShadowViewAddon-5a9d4a55.js');
|
|
31
29
|
require('./sqm-portal-container-view-70a47420.js');
|
|
32
30
|
const utils$1 = require('./utils-064a7c83.js');
|
|
33
31
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
@@ -3660,147 +3658,6 @@ const PortalFooter = class {
|
|
|
3660
3658
|
static get assetsDirs() { return ["../../assets"]; }
|
|
3661
3659
|
};
|
|
3662
3660
|
|
|
3663
|
-
function usePortalForgotPassword(props) {
|
|
3664
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
3665
|
-
const [success, setSuccess] = domContextHooks_module.useState(false);
|
|
3666
|
-
const [error, setError] = domContextHooks_module.useState("");
|
|
3667
|
-
const [request, { loading, data, errors }] = index_module.un();
|
|
3668
|
-
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
3669
|
-
const nextPage = urlParams.get("nextPage");
|
|
3670
|
-
const submit = async (event) => {
|
|
3671
|
-
var _a;
|
|
3672
|
-
setError("");
|
|
3673
|
-
setSuccess(false);
|
|
3674
|
-
let formData = event.detail.formData;
|
|
3675
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3676
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
3677
|
-
});
|
|
3678
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
3679
|
-
const redirectPath = props.redirectPath;
|
|
3680
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3681
|
-
const result = await request(variables);
|
|
3682
|
-
if (result instanceof Error) {
|
|
3683
|
-
if (result.message)
|
|
3684
|
-
setError(props.networkErrorMessage);
|
|
3685
|
-
return;
|
|
3686
|
-
}
|
|
3687
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3688
|
-
setSuccess(true);
|
|
3689
|
-
}
|
|
3690
|
-
};
|
|
3691
|
-
return {
|
|
3692
|
-
states: {
|
|
3693
|
-
loading,
|
|
3694
|
-
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) ||
|
|
3695
|
-
error,
|
|
3696
|
-
success,
|
|
3697
|
-
loginPath: props.loginPath,
|
|
3698
|
-
headerText: props.headerText,
|
|
3699
|
-
loginText: props.loginText,
|
|
3700
|
-
},
|
|
3701
|
-
callbacks: {
|
|
3702
|
-
submit,
|
|
3703
|
-
},
|
|
3704
|
-
};
|
|
3705
|
-
}
|
|
3706
|
-
|
|
3707
|
-
const PortalForgotPassword = class {
|
|
3708
|
-
constructor(hostRef) {
|
|
3709
|
-
index.registerInstance(this, hostRef);
|
|
3710
|
-
this.ignored = true;
|
|
3711
|
-
/**
|
|
3712
|
-
* Redirect participants to this page after they verify their email.
|
|
3713
|
-
*
|
|
3714
|
-
* @uiName Email redirect
|
|
3715
|
-
* @uiWidget pageSelect
|
|
3716
|
-
*/
|
|
3717
|
-
this.redirectPath = "/resetPassword";
|
|
3718
|
-
/**
|
|
3719
|
-
* @uiName Email field label
|
|
3720
|
-
*/
|
|
3721
|
-
this.emailLabel = "Email";
|
|
3722
|
-
/**
|
|
3723
|
-
* @uiName Password reset button text
|
|
3724
|
-
*/
|
|
3725
|
-
this.submitLabel = "Request Password Reset";
|
|
3726
|
-
/**
|
|
3727
|
-
* @uiName Login redirect path
|
|
3728
|
-
* @uiWidget pageSelect
|
|
3729
|
-
*/
|
|
3730
|
-
this.loginPath = "/login";
|
|
3731
|
-
/**
|
|
3732
|
-
* @uiName Header text
|
|
3733
|
-
* @uiWidget textArea
|
|
3734
|
-
*/
|
|
3735
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3736
|
-
/**
|
|
3737
|
-
* @uiName Sign in link text
|
|
3738
|
-
*/
|
|
3739
|
-
this.loginText = "Sign In";
|
|
3740
|
-
/**
|
|
3741
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3742
|
-
* @uiName Network error message
|
|
3743
|
-
*/
|
|
3744
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3745
|
-
/**
|
|
3746
|
-
* @uiName Email verification sent text
|
|
3747
|
-
*/
|
|
3748
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3749
|
-
/**
|
|
3750
|
-
* @uiName Background color
|
|
3751
|
-
* @uiWidget color
|
|
3752
|
-
*/
|
|
3753
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3754
|
-
/**
|
|
3755
|
-
* @uiName Border radius
|
|
3756
|
-
* @uiWidget number
|
|
3757
|
-
*/
|
|
3758
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3759
|
-
/**
|
|
3760
|
-
* @uiName Border style
|
|
3761
|
-
* @uiWidget textArea
|
|
3762
|
-
*/
|
|
3763
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3764
|
-
domContextHooks_module.h$1(this);
|
|
3765
|
-
}
|
|
3766
|
-
disconnectedCallback() { }
|
|
3767
|
-
render() {
|
|
3768
|
-
const { states, callbacks } = index_module.isDemo()
|
|
3769
|
-
? usePortalForgotPasswordDemo(this)
|
|
3770
|
-
: usePortalForgotPassword(this);
|
|
3771
|
-
const content = {
|
|
3772
|
-
messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
|
|
3773
|
-
emailLabel: this.emailLabel,
|
|
3774
|
-
submitLabel: this.submitLabel,
|
|
3775
|
-
successAlertText: this.successAlertText,
|
|
3776
|
-
loginText: this.loginText,
|
|
3777
|
-
backgroundColor: this.backgroundColor,
|
|
3778
|
-
borderRadius: this.borderRadius,
|
|
3779
|
-
border: this.border,
|
|
3780
|
-
};
|
|
3781
|
-
return (index.h(ShadowViewAddon.PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3782
|
-
}
|
|
3783
|
-
};
|
|
3784
|
-
function usePortalForgotPasswordDemo(props) {
|
|
3785
|
-
return cjs.cjs({
|
|
3786
|
-
states: { error: "", loading: false, success: false },
|
|
3787
|
-
callbacks: {
|
|
3788
|
-
submit: async (_event) => { },
|
|
3789
|
-
},
|
|
3790
|
-
content: {
|
|
3791
|
-
secondaryButton: (index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => index_module.jn.push(props.loginPath) }, props.loginText)),
|
|
3792
|
-
messageSlot: index.h("span", null, props.headerText),
|
|
3793
|
-
emailLabel: props.emailLabel,
|
|
3794
|
-
submitLabel: props.submitLabel,
|
|
3795
|
-
successAlertText: props.successAlertText,
|
|
3796
|
-
loginText: props.loginText,
|
|
3797
|
-
backgroundColor: props.backgroundColor,
|
|
3798
|
-
borderRadius: props.borderRadius,
|
|
3799
|
-
border: props.border,
|
|
3800
|
-
},
|
|
3801
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3802
|
-
}
|
|
3803
|
-
|
|
3804
3661
|
function usePortalFrame(footerContent, headerContent, props) {
|
|
3805
3662
|
const [, rerender] = index_module.yn();
|
|
3806
3663
|
return {
|
|
@@ -3875,407 +3732,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
3875
3732
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3876
3733
|
}
|
|
3877
3734
|
|
|
3878
|
-
const PortalLogin = class {
|
|
3879
|
-
constructor(hostRef) {
|
|
3880
|
-
index.registerInstance(this, hostRef);
|
|
3881
|
-
this.ignored = true;
|
|
3882
|
-
/**
|
|
3883
|
-
* Redirect participants to this page after they successfully login.
|
|
3884
|
-
*
|
|
3885
|
-
* @uiName Login redirect
|
|
3886
|
-
* @uiWidget pageSelect
|
|
3887
|
-
*/
|
|
3888
|
-
this.nextPage = "/";
|
|
3889
|
-
/**
|
|
3890
|
-
* @uiName Email field label
|
|
3891
|
-
*/
|
|
3892
|
-
this.emailLabel = "Email";
|
|
3893
|
-
/**
|
|
3894
|
-
* @uiName Password field label
|
|
3895
|
-
*/
|
|
3896
|
-
this.passwordLabel = "Password";
|
|
3897
|
-
/**
|
|
3898
|
-
* @uiName Submit button text
|
|
3899
|
-
*/
|
|
3900
|
-
this.submitLabel = "Sign In";
|
|
3901
|
-
/**
|
|
3902
|
-
* Redirect participants to this page to reset their password
|
|
3903
|
-
* @uiName Forgot password redirect
|
|
3904
|
-
* @uiWidget pageSelect
|
|
3905
|
-
*/
|
|
3906
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
3907
|
-
/**
|
|
3908
|
-
* @uiName Forgot password text
|
|
3909
|
-
*/
|
|
3910
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
3911
|
-
/**
|
|
3912
|
-
* @uiName Register button text
|
|
3913
|
-
*/
|
|
3914
|
-
this.registerLabel = "Register";
|
|
3915
|
-
/**
|
|
3916
|
-
* Redirect participants to this page to start registration.
|
|
3917
|
-
* @uiName Register button redirect
|
|
3918
|
-
* @uiWidget pageSelect
|
|
3919
|
-
*/
|
|
3920
|
-
this.registerPath = "/register";
|
|
3921
|
-
/**
|
|
3922
|
-
* @uiName Heading label
|
|
3923
|
-
* @uiWidget textArea
|
|
3924
|
-
*/
|
|
3925
|
-
this.pageLabel = "Sign in to your account";
|
|
3926
|
-
/**
|
|
3927
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
3928
|
-
* @uiName Network error message
|
|
3929
|
-
*/
|
|
3930
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
3931
|
-
/**
|
|
3932
|
-
* @uiName Register CTA
|
|
3933
|
-
*/
|
|
3934
|
-
this.registerCTA = "Don't have an account?";
|
|
3935
|
-
domContextHooks_module.h$1(this);
|
|
3936
|
-
}
|
|
3937
|
-
disconnectedCallback() { }
|
|
3938
|
-
render() {
|
|
3939
|
-
const { states, callbacks } = index_module.isDemo()
|
|
3940
|
-
? useLoginDemo(this)
|
|
3941
|
-
: usePortalLogin.usePortalLogin(this);
|
|
3942
|
-
const styles = {
|
|
3943
|
-
RegisterButton: {
|
|
3944
|
-
"&::part(label)": {
|
|
3945
|
-
padding: "0",
|
|
3946
|
-
},
|
|
3947
|
-
},
|
|
3948
|
-
};
|
|
3949
|
-
const sheet = JSS.createStyleSheet(styles);
|
|
3950
|
-
const styleString = sheet.toString();
|
|
3951
|
-
const content = {
|
|
3952
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
3953
|
-
googleButton: null,
|
|
3954
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel))),
|
|
3955
|
-
emailLabel: this.emailLabel,
|
|
3956
|
-
passwordLabel: this.passwordLabel,
|
|
3957
|
-
submitLabel: this.submitLabel,
|
|
3958
|
-
pageLabel: this.pageLabel,
|
|
3959
|
-
};
|
|
3960
|
-
return (index.h(sqmPortalLoginView.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
3961
|
-
}
|
|
3962
|
-
};
|
|
3963
|
-
function useLoginDemo(props) {
|
|
3964
|
-
return cjs.cjs({
|
|
3965
|
-
states: {
|
|
3966
|
-
error: "",
|
|
3967
|
-
loading: false,
|
|
3968
|
-
forgotPasswordPath: "/forgotPassword",
|
|
3969
|
-
registerPath: "/register",
|
|
3970
|
-
showLoginForm: "manual",
|
|
3971
|
-
},
|
|
3972
|
-
callbacks: {
|
|
3973
|
-
googleSubmit: async () => {
|
|
3974
|
-
console.log("google submit");
|
|
3975
|
-
},
|
|
3976
|
-
submit: async (_event) => {
|
|
3977
|
-
console.log("submit");
|
|
3978
|
-
},
|
|
3979
|
-
},
|
|
3980
|
-
content: {
|
|
3981
|
-
googleButton: null,
|
|
3982
|
-
},
|
|
3983
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3984
|
-
}
|
|
3985
|
-
|
|
3986
|
-
function usePortalRegister(props) {
|
|
3987
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3988
|
-
const formRef = domContextHooks_module.useRef(null);
|
|
3989
|
-
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
3990
|
-
const [request, { loading, errors, data }] = index_module.Ve();
|
|
3991
|
-
domContextHooks_module.useEffect(() => {
|
|
3992
|
-
if (!formRef.current)
|
|
3993
|
-
return;
|
|
3994
|
-
const form = formRef.current;
|
|
3995
|
-
form.addEventListener("sl-input", inputFunction);
|
|
3996
|
-
return () => {
|
|
3997
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
3998
|
-
};
|
|
3999
|
-
}, [formRef.current]);
|
|
4000
|
-
const submit = async (event) => {
|
|
4001
|
-
var _a;
|
|
4002
|
-
let formControls = event.target.getFormControls();
|
|
4003
|
-
let formData = {};
|
|
4004
|
-
let validationErrors = {};
|
|
4005
|
-
formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
|
|
4006
|
-
if (!control.name)
|
|
4007
|
-
return;
|
|
4008
|
-
const key = control.name;
|
|
4009
|
-
const value = control.value;
|
|
4010
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
4011
|
-
// required validation
|
|
4012
|
-
if (control.required && !value) {
|
|
4013
|
-
jsonpointer.jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
|
|
4014
|
-
}
|
|
4015
|
-
// custom validation
|
|
4016
|
-
if (typeof control.validationError === "function") {
|
|
4017
|
-
const validate = control.validationError;
|
|
4018
|
-
const validationError = validate({ control, key, value });
|
|
4019
|
-
if (validationError)
|
|
4020
|
-
jsonpointer.jsonpointer.set(validationErrors, key, validationError);
|
|
4021
|
-
}
|
|
4022
|
-
});
|
|
4023
|
-
if ((props.confirmPassword || formData.confirmPassword) &&
|
|
4024
|
-
formData.password !== formData.confirmPassword) {
|
|
4025
|
-
validationErrors = {
|
|
4026
|
-
...validationErrors,
|
|
4027
|
-
confirmPassword: props.passwordMismatchErrorMessage,
|
|
4028
|
-
};
|
|
4029
|
-
}
|
|
4030
|
-
if (Object.keys(validationErrors).length) {
|
|
4031
|
-
setRegistrationFormState({ loading: false, error: "", validationErrors });
|
|
4032
|
-
// early return for validation errors
|
|
4033
|
-
return;
|
|
4034
|
-
}
|
|
4035
|
-
setRegistrationFormState({
|
|
4036
|
-
loading: true,
|
|
4037
|
-
error: "",
|
|
4038
|
-
validationErrors: {},
|
|
4039
|
-
});
|
|
4040
|
-
const { email, password } = formData;
|
|
4041
|
-
delete formData.email;
|
|
4042
|
-
delete formData.password;
|
|
4043
|
-
delete formData.confirmPassword;
|
|
4044
|
-
formData = { ...formData };
|
|
4045
|
-
const redirectPath = props.redirectPath;
|
|
4046
|
-
const variables = {
|
|
4047
|
-
email,
|
|
4048
|
-
password,
|
|
4049
|
-
formData,
|
|
4050
|
-
redirectPath,
|
|
4051
|
-
};
|
|
4052
|
-
try {
|
|
4053
|
-
const result = await request(variables);
|
|
4054
|
-
if (result instanceof Error) {
|
|
4055
|
-
throw result;
|
|
4056
|
-
}
|
|
4057
|
-
setRegistrationFormState({
|
|
4058
|
-
loading: false,
|
|
4059
|
-
error: "",
|
|
4060
|
-
validationErrors: {},
|
|
4061
|
-
});
|
|
4062
|
-
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
4063
|
-
index_module.jn.push(props.nextPage);
|
|
4064
|
-
}
|
|
4065
|
-
}
|
|
4066
|
-
catch (error) {
|
|
4067
|
-
setRegistrationFormState({
|
|
4068
|
-
loading: false,
|
|
4069
|
-
error: props.networkErrorMessage,
|
|
4070
|
-
validationErrors: {},
|
|
4071
|
-
});
|
|
4072
|
-
}
|
|
4073
|
-
};
|
|
4074
|
-
const inputFunction = index_module.useCallback((e) => {
|
|
4075
|
-
var _a, _b;
|
|
4076
|
-
const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
|
|
4077
|
-
if (name !== "tel")
|
|
4078
|
-
return;
|
|
4079
|
-
const asYouType = new AsYouType.AsYouType("US");
|
|
4080
|
-
e.target.value = asYouType.input(e.target.value);
|
|
4081
|
-
}, []);
|
|
4082
|
-
let errorMessage = "";
|
|
4083
|
-
if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
|
|
4084
|
-
errorMessage = props.networkErrorMessage;
|
|
4085
|
-
}
|
|
4086
|
-
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)) {
|
|
4087
|
-
errorMessage = props.networkErrorMessage;
|
|
4088
|
-
}
|
|
4089
|
-
else {
|
|
4090
|
-
errorMessage =
|
|
4091
|
-
((_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);
|
|
4092
|
-
}
|
|
4093
|
-
return {
|
|
4094
|
-
states: {
|
|
4095
|
-
loading,
|
|
4096
|
-
error: errorMessage,
|
|
4097
|
-
registrationFormState,
|
|
4098
|
-
confirmPassword: props.confirmPassword,
|
|
4099
|
-
hideInputs: props.hideInputs,
|
|
4100
|
-
loginPath: props.loginPath,
|
|
4101
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4102
|
-
},
|
|
4103
|
-
callbacks: {
|
|
4104
|
-
submit,
|
|
4105
|
-
inputFunction,
|
|
4106
|
-
},
|
|
4107
|
-
refs: {
|
|
4108
|
-
formRef,
|
|
4109
|
-
},
|
|
4110
|
-
};
|
|
4111
|
-
}
|
|
4112
|
-
|
|
4113
|
-
const PortalRegister = class {
|
|
4114
|
-
constructor(hostRef) {
|
|
4115
|
-
index.registerInstance(this, hostRef);
|
|
4116
|
-
this.ignored = false;
|
|
4117
|
-
/**
|
|
4118
|
-
* Redirect participants to this page from their verification email
|
|
4119
|
-
*
|
|
4120
|
-
* @uiName Registration redirect
|
|
4121
|
-
* @uiWidget pageSelect
|
|
4122
|
-
*/
|
|
4123
|
-
this.nextPage = "/";
|
|
4124
|
-
/**
|
|
4125
|
-
* The page that participants are redirected to from the verification email.
|
|
4126
|
-
*
|
|
4127
|
-
* @uiName Email verification redirect
|
|
4128
|
-
* @uiWidget pageSelect
|
|
4129
|
-
*/
|
|
4130
|
-
this.redirectPath = "/verifyEmail";
|
|
4131
|
-
/**
|
|
4132
|
-
* @uiName Email field label
|
|
4133
|
-
*/
|
|
4134
|
-
this.emailLabel = "Email";
|
|
4135
|
-
/**
|
|
4136
|
-
* @uiName Password field label
|
|
4137
|
-
*/
|
|
4138
|
-
this.passwordLabel = "Password";
|
|
4139
|
-
/**
|
|
4140
|
-
* @uiName Submit button text
|
|
4141
|
-
*/
|
|
4142
|
-
this.submitLabel = "Register";
|
|
4143
|
-
/**
|
|
4144
|
-
* @uiName Login button text
|
|
4145
|
-
*/
|
|
4146
|
-
this.loginLabel = "Sign in";
|
|
4147
|
-
/**
|
|
4148
|
-
* @uiName Confirm password field label
|
|
4149
|
-
*/
|
|
4150
|
-
this.confirmPasswordLabel = "Confirm Password";
|
|
4151
|
-
/**
|
|
4152
|
-
* @uiName Show confirm password field
|
|
4153
|
-
*/
|
|
4154
|
-
this.confirmPassword = false;
|
|
4155
|
-
/**
|
|
4156
|
-
* @uiName Disable password validation
|
|
4157
|
-
*/
|
|
4158
|
-
this.disablePasswordValidation = false;
|
|
4159
|
-
/**
|
|
4160
|
-
* 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.
|
|
4161
|
-
*
|
|
4162
|
-
* @uiName Hide default fields
|
|
4163
|
-
*/
|
|
4164
|
-
this.hideInputs = false;
|
|
4165
|
-
/**
|
|
4166
|
-
* @uiName Header text
|
|
4167
|
-
*/
|
|
4168
|
-
this.pageLabel = "Register";
|
|
4169
|
-
/**
|
|
4170
|
-
* Redirect participants to this page after clicking the login button.
|
|
4171
|
-
*
|
|
4172
|
-
* @uiName Login redirect
|
|
4173
|
-
* @uiWidget pageSelect
|
|
4174
|
-
*/
|
|
4175
|
-
this.loginPath = "/login";
|
|
4176
|
-
/**
|
|
4177
|
-
* The message to be displayed when a required field is not filled.
|
|
4178
|
-
*
|
|
4179
|
-
* @uiName Required field message
|
|
4180
|
-
* @uiWidget textArea
|
|
4181
|
-
*/
|
|
4182
|
-
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4183
|
-
/**
|
|
4184
|
-
* The message to be displayed when a the form submission fails unexpectedly.
|
|
4185
|
-
*
|
|
4186
|
-
* @uiName Network error message
|
|
4187
|
-
* @uiWidget textArea
|
|
4188
|
-
*/
|
|
4189
|
-
this.networkErrorMessage = "Network request failed.";
|
|
4190
|
-
/**
|
|
4191
|
-
* The message to be displayed when password inputs do not match.
|
|
4192
|
-
*
|
|
4193
|
-
* @uiName Password mismatch message
|
|
4194
|
-
* @uiWidget textArea
|
|
4195
|
-
*/
|
|
4196
|
-
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
4197
|
-
/**
|
|
4198
|
-
* The message to be displayed when the email used is invalid or blocked.
|
|
4199
|
-
*
|
|
4200
|
-
* @uiName Invalid email message
|
|
4201
|
-
* @uiWidget textArea
|
|
4202
|
-
*/
|
|
4203
|
-
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
4204
|
-
/**
|
|
4205
|
-
* @uiName Password requirement met
|
|
4206
|
-
*/
|
|
4207
|
-
this.meetsRequirementsText = "Password has met all requirements";
|
|
4208
|
-
/**
|
|
4209
|
-
* @uiName Password requirement failed
|
|
4210
|
-
*/
|
|
4211
|
-
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
4212
|
-
/**
|
|
4213
|
-
* @uiName Minimum length text
|
|
4214
|
-
*/
|
|
4215
|
-
this.minErrorText = "be a minimum of 8 characters";
|
|
4216
|
-
/**
|
|
4217
|
-
* @uiName Missing uppercase text
|
|
4218
|
-
*/
|
|
4219
|
-
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
4220
|
-
/**
|
|
4221
|
-
* @uiName Missing lowercase text
|
|
4222
|
-
*/
|
|
4223
|
-
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
4224
|
-
/**
|
|
4225
|
-
* @uiName Missing number or symbol text
|
|
4226
|
-
*/
|
|
4227
|
-
this.hasErrorText = "contain at least 1 number or symbol";
|
|
4228
|
-
domContextHooks_module.h$1(this);
|
|
4229
|
-
}
|
|
4230
|
-
disconnectedCallback() { }
|
|
4231
|
-
render() {
|
|
4232
|
-
const { states, callbacks, refs } = index_module.isDemo()
|
|
4233
|
-
? useRegisterDemo$1(this)
|
|
4234
|
-
: usePortalRegister(this);
|
|
4235
|
-
const content = {
|
|
4236
|
-
formData: index.h("slot", { name: "formData" }),
|
|
4237
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
4238
|
-
terms: index.h("slot", { name: "terms" }),
|
|
4239
|
-
emailLabel: this.emailLabel,
|
|
4240
|
-
passwordLabel: this.passwordLabel,
|
|
4241
|
-
submitLabel: this.submitLabel,
|
|
4242
|
-
pageLabel: this.pageLabel,
|
|
4243
|
-
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
4244
|
-
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4245
|
-
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4246
|
-
meetsRequirementsText: this.meetsRequirementsText,
|
|
4247
|
-
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
4248
|
-
minErrorText: this.minErrorText,
|
|
4249
|
-
uppercaseErrorText: this.uppercaseErrorText,
|
|
4250
|
-
lowercaseErrorText: this.lowercaseErrorText,
|
|
4251
|
-
hasErrorText: this.hasErrorText,
|
|
4252
|
-
};
|
|
4253
|
-
return (index.h(ShadowViewAddon.PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
4254
|
-
}
|
|
4255
|
-
};
|
|
4256
|
-
function useRegisterDemo$1(props) {
|
|
4257
|
-
return cjs.cjs({
|
|
4258
|
-
states: {
|
|
4259
|
-
error: "",
|
|
4260
|
-
loading: false,
|
|
4261
|
-
confirmPassword: props.confirmPassword,
|
|
4262
|
-
hideInputs: props.hideInputs || false,
|
|
4263
|
-
customPasswordField: false,
|
|
4264
|
-
loginPath: props.loginPath,
|
|
4265
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4266
|
-
},
|
|
4267
|
-
callbacks: {
|
|
4268
|
-
submit: async (_event) => {
|
|
4269
|
-
console.log("submit");
|
|
4270
|
-
},
|
|
4271
|
-
inputFunction: () => { },
|
|
4272
|
-
},
|
|
4273
|
-
refs: {
|
|
4274
|
-
formRef: {},
|
|
4275
|
-
},
|
|
4276
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4277
|
-
}
|
|
4278
|
-
|
|
4279
3735
|
function ProgramExplainerView(props, children) {
|
|
4280
3736
|
const style = {
|
|
4281
3737
|
Container: {
|
|
@@ -7907,10 +7363,7 @@ exports.sqm_payout_status_alert = PayoutStatusAlert;
|
|
|
7907
7363
|
exports.sqm_portal_change_marketing = PortalChangeMarketing;
|
|
7908
7364
|
exports.sqm_portal_change_password = PortalChangePassword;
|
|
7909
7365
|
exports.sqm_portal_footer = PortalFooter;
|
|
7910
|
-
exports.sqm_portal_forgot_password = PortalForgotPassword;
|
|
7911
7366
|
exports.sqm_portal_frame = PortalFrame;
|
|
7912
|
-
exports.sqm_portal_login = PortalLogin;
|
|
7913
|
-
exports.sqm_portal_register = PortalRegister;
|
|
7914
7367
|
exports.sqm_program_explainer = ProgramExplainer;
|
|
7915
7368
|
exports.sqm_program_explainer_step = ProgramExplainerStep;
|
|
7916
7369
|
exports.sqm_program_menu = ProgramMenu;
|
|
@@ -9,8 +9,8 @@ require('./jsonpointer-11327262.js');
|
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
|
-
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
13
12
|
require('./useRegistrationFormState-0f85c946.js');
|
|
13
|
+
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
14
14
|
const useInstantAccessRegistration = require('./useInstantAccessRegistration-dbe420fb.js');
|
|
15
15
|
|
|
16
16
|
const InstantAccessRegistration = class {
|