@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 +1 @@
|
|
|
1
|
-
import{i as t,y as r}from"./p-a7fc1e02.js";import{_ as s}from"./p-
|
|
1
|
+
import{i as t,y as r}from"./p-a7fc1e02.js";import{_ as s}from"./p-9d31def7.js";const o="sq:registration-form-state";function i(){const r=t("sq:registration-form-state-internal"),s=t("sq:registration-form-state");return r?[s,r[1]]:[void 0,void 0]}function a(t){const o=s(),[i,a]=r(o,"sq:registration-form-state",t);return r(o,"sq:registration-form-state-internal",[i,a]),{registrationFormState:i,setRegistrationFormState:a}}export{o as R,i as a,a as u}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-f62aa495.system.js","./p-4bd679a7.system.js","./p-f89c6a57.system.js"],(function(t){"use strict";var n,e,o,r,i,s,u,c,a,f;return{setters:[function(t){n=t.r;e=t.h},function(t){o=t.n;r=t.k;i=t.f},function(t){s=t.i;u=t.k;c=t.H},function(t){a=t.c},function(t){f=t.N}],execute:function(){var l=t("sqm_navigation_sidebar",function(){function t(t){n(this,t);this.ignored=true;this.mobileMenuColor="var(--sqm-text, #444445)";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=s()?b(this):m(this);return e(f,Object.assign({},t),e("slot",null))};return t}());function m(t){var n=u();var e=c();var o=r(false),s=o[0],a=o[1];i((function(){a(false)}),[n.pathname,e]);function f(t){a(t.target.checked)}return{mobileMenuColor:t.mobileMenuColor,checked:s,onClick:f}}function b(t){return a({mobileMenuColor:t.mobileMenuColor},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(s.next(e))}catch(e){a(e)}}function i(e){try{d(s["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return d([e,t])}}function d(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(s.next(e))}catch(e){a(e)}}function i(e){try{d(s["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return d([e,t])}}function d(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-f62aa495.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b909aa5.system.js","./p-3c46b4dd.system.js"],(function(e){"use strict";var t,r,s,o,a,n,i,d,c,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;a=e.n},function(e){n=e.f;i=e.T;d=e.j;c=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,a,c,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=n(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(d.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(a){switch(a.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=a.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);d.push(t.href)};var I=function(){d.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(c=(a=(r=C.errors)===null||r===void 0?void 0:r.response)===null||a===void 0?void 0:a.errors)===null||c===void 0?void 0:c[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,h as t}from"./p-083180bf.js";import{n as r}from"./p-a7fc1e02.js";import{d as e,J as o,w as s,s as a,i as n}from"./p-
|
|
1
|
+
import{r as i,h as t}from"./p-083180bf.js";import{n as r}from"./p-a7fc1e02.js";import{d as e,J as o,w as s,s as a,i as n}from"./p-9d31def7.js";import{c}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{L as m}from"./p-1a3a57c0.js";const d=e.gql`
|
|
2
2
|
query getUserDetails {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,s=1,t=arguments.length;s<t;s++){r=arguments[s];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))e[a]=r[a]}return e};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-f62aa495.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b909aa5.system.js"],(function(e){"use strict";var r,s,t,a,o,n,i,l,d;return{setters:[function(e){r=e.h},function(e){s=e.j},function(e){t=e.c},function(e){a=e.A;o=e.a;n=e.b;i=e.H;l=e.E},function(e){d=e.T}],execute:function(){e({P:p,a:g,b:q,c:S});var u="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";function p(e){var i=e.states,l=e.callbacks,p=e.content;var c={FormWrapper:__assign(__assign({},a),{background:p.backgroundColor||"var(--sqm-portal-background)",borderRadius:p.borderRadius||"var(--sqm-border-radius-normal)",border:p.border||"var(--sqm-border-thickness) solid var(--sqm-border-color)"}),Column:__assign({},o),ButtonsContainer:n,SecondaryButton:{margin:"auto",display:"block",cursor:"pointer"}};var m=t(c);var b=m.toString();return r("div",{class:m.classes.FormWrapper,part:"sqm-base"},r("style",{type:"text/css"},u,b),r(d,{type:"h3"},p.messageSlot),r("sl-form",{class:m.classes.Column,"onSl-submit":l.submit},e.states.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},e.states.error)),e.states.success&&r("sqm-form-message",{type:"success",exportparts:"successalert-icon"},r("div",{part:"successalert-text"},p.successAlertText)),r("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:p.emailLabel||"Email",disabled:i.loading,required:true}),r("div",{class:m.classes.ButtonsContainer},r("sl-button",{submit:true,loading:i.loading,exportparts:"base: primarybutton-base",type:"primary"},p.submitLabel||"Reset Password"),r("sl-button",{type:"secondary",exportparts:"base: secondarybutton-base",class:m.classes.SecondaryButton,disabled:i.loading,onClick:function(){return s.push(i.loginPath)}},p.loginText))))}var c={Wrapper:a,Column:o,ForgotButtonContainer:{display:"inline",cursor:"pointer","font-size":"13px","font-weight":"600",color:"var(--sqm-text-subdued)",margin:"0"},ButtonsContainer:__assign(__assign({},n),{gap:"var(--sl-spacing-medium)","& > *":{margin:"0 !important"}})};var m="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var b=t(c);var v=b.toString();function g(e){var s=e.states,t=e.callbacks,a=e.content;return r("div",{class:b.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},m,v),r(d,{type:"h3"},a.pageLabel),r("sl-form",{class:b.classes.Column,"onSl-submit":t.submit},e.states.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},e.states.error)),r("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:a.emailLabel||"Email",disabled:s.loading,required:true}),r("div",null,r("sl-input",{exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:a.passwordLabel||"Password",disabled:s.loading,required:true}),r("div",{class:b.classes.ForgotButtonContainer},a.forgotPasswordButton)),r("div",{class:b.classes.ButtonsContainer},r("sl-button",{submit:true,loading:s.loading,exportparts:"base: primarybutton-base",type:"primary"},a.submitLabel||"Login"),a.googleButton&&r("sl-menu-divider",null),a.googleButton,a.secondaryButton)))}var y={Wrapper:__assign(__assign({},a),{"max-width":"600px"}),Column:o,HostBlock:i,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:n,ErrorStyle:l};var f="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var x=t(y);var h=x.toString();function q(e){var s,t,a,o,n,i,l,u,p,c,m,b,v;var g=e.states,y=e.refs,q=e.callbacks,w=e.content;if(g.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return r("div",{class:x.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},f,h),r(d,{type:"h3"},w.pageLabel),r("sl-form",{class:x.classes.Column,"onSl-submit":q.submit,ref:function(e){return y.formRef.current=e},novalidate:true},g.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},e.states.error)),w.formData,!g.hideInputs&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:w.emailLabel||"Email",disabled:g.loading,required:true,validationError:function(e){var r=e.value;if(!r){return w.requiredFieldErrorMessage}if(!r.includes("@")){return w.invalidEmailErrorMessage}}},((t=(s=g.registrationFormState)===null||s===void 0?void 0:s.validationErrors)===null||t===void 0?void 0:t.email)?{class:x.classes.ErrorStyle,helpText:((o=(a=g.registrationFormState)===null||a===void 0?void 0:a.validationErrors)===null||o===void 0?void 0:o.email)||w.requiredFieldErrorMessage}:[])),!g.hideInputs&&r("sqm-password-field",{fieldLabel:w.passwordLabel,"disable-validation":g.disablePasswordValidation,meetsRequirementsText:w.meetsRequirementsText,doesNotMeetRequirementsText:w.doesNotMeetRequirementsText,minErrorText:w.minErrorText,uppercaseErrorText:w.uppercaseErrorText,lowercaseErrorText:w.lowercaseErrorText,hasErrorText:w.hasErrorText}),w.passwordField,!g.hideInputs&&g.confirmPassword&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:w.confirmPasswordLabel,disabled:g.loading||((n=g.registrationFormState)===null||n===void 0?void 0:n.disabled),required:true},((l=(i=g.registrationFormState)===null||i===void 0?void 0:i.initialData)===null||l===void 0?void 0:l.confirmPassword)?{value:(p=(u=g.registrationFormState)===null||u===void 0?void 0:u.initialData)===null||p===void 0?void 0:p.confirmPassword}:{},((m=(c=g.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||m===void 0?void 0:m.confirmPassword)?{class:x.classes.ErrorStyle,helpText:((v=(b=g.registrationFormState)===null||b===void 0?void 0:b.validationErrors)===null||v===void 0?void 0:v.confirmPassword)||w.requiredFieldErrorMessage}:[])),w.terms,r("div",{class:x.classes.ButtonsContainer},r("sl-button",{submit:true,loading:g.loading,exportparts:"base: primarybutton-base",type:"primary"},w.submitLabel||"Register"),w.secondaryButton)))}var w={Wrapper:a,Column:o,ContinueButton:{width:"100%"}};var E="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var T=t(w);var C=T.toString();function S(e){var s=e.states,t=e.data,a=e.callbacks,o=e.content;if(s.loading)return;if(s.success){return r("div",{class:T.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},E,C),r(d,{type:"h3"},o.verifyEmailText),r("sqm-form-message",{exportparts:"success-icon"},r("div",{part:"successalert-text"},o.verifySuccessText)),r("sl-button",{class:T.classes.ContinueButton,onClick:a.gotoNextPage,loading:s.loading,exportparts:"base: primarybutton-base",type:"primary"},o.continueText))}if(s.error||!t.oobCode){return r("div",{class:T.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},C),r(d,{type:"h3"},o.verifyEmailText),r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},o.verifyInvalidText)),r("sl-button",{class:T.classes.ContinueButton,onClick:a.failed,disabled:s.loading,exportparts:"base: primarybutton-base",type:"primary"},o.continueText))}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-51428d05.system.js","./p-b6504987.system.js","./p-f62aa495.system.js","./p-1a673057.system.js"],(function(e){"use strict";var s,t,a,i,n,r;return{setters:[function(e){s=e.h},function(e){t=e.i},function(e){a=e.k;i=e.y},function(e){n=e._},function(e){r=e.c}],execute:function(){e({R:d,u:g});var l={IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}};var o=r(l);var c=o.toString();function d(e,i){var r=e.missingProps,l=e.heading,d=l===void 0?"There was a problem loading this section":l,u=e.subheading,f=u===void 0?"There was a technical problem that prevented this section from loading. Please contact us with the link to this page.":u,g=e.description,m=g===void 0?"Error occured while loading <{tagName}>. Values for the following attributes are missing:":g;if(!r)return false;var p=n();var v=a(false),h=v[0],y=v[1];return s("sl-alert",{type:"danger",open:true},s("style",{type:"text/css"},c),s("div",{slot:"icon",class:o.classes.IconStyle},s("sl-icon",{name:"exclamation-octagon"})),s("div",{class:o.classes.DivStyle},s("h2",{class:o.classes.Heading},t.formatMessage({id:"error-heading",defaultMessage:d})),s("p",null,t.formatMessage({id:"error-subheading",defaultMessage:f}))),s("details",{class:o.classes.Details},s("summary",{onClick:function(){return y(!h)}},h?"Less":"More"," details"),s("p",null,t.formatMessage({id:"error-description",defaultMessage:m},{tagName:p.tagName.toLowerCase()})),s("ul",null,r.map((function(e){return s("li",null,s("strong",null,e.attribute))})))),s("div",{class:o.classes.Children},i))}var u=e("L","sq:lead-form-state");var f="sq:lead-form-state-internal";function g(e){var s=n();var t=i(s,u,e),a=t[0],r=t[1];i(s,f,[a,r]);return{leadFormState:a,setLeadFormState:r}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-083180bf.js";import"./p-
|
|
1
|
+
import{r as e,h as i}from"./p-083180bf.js";import"./p-b4a8a34b.js";import{k as a,m as t,f as s,n}from"./p-a7fc1e02.js";import{l as r,n as o,J as l,j as c,b as d,i as v}from"./p-9d31def7.js";import{c as u}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-49b20dae.js";import"./p-cabf6326.js";import{P as m}from"./p-bf3e7bc8.js";const f=class{constructor(i){e(this,i),this.ignored=!0,this.redirectPath="/verifyEmail",this.emailVerificationHeader="Verify your email",this.resendEmailButtonText="Re-send Email",this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.",this.verificationStatusMessage="Checking verification status in {countdown}",this.verificationLoadingMessage="Checking verification status",this.verificationResentMessage="Your verification email has been resent successfully",this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.",n(this)}disconnectedCallback(){}render(){const{states:e,callbacks:n,content:f}=v()?u({states:{error:"",loading:!1,success:!1,countdown:10},callbacks:{submit:async()=>{}},content:{email:"test@example.com",verifyMessage:(h=this).verifyMessage,emailVerificationHeader:h.emailVerificationHeader,resendEmailButtonText:h.resendEmailButtonText,verificationLoadingMessage:h.verificationLoadingMessage,verificationStatusMessage:h.verificationStatusMessage,verificationResentMessage:h.verificationResentMessage,networkErrorMessage:h.networkErrorMessage}},h.demoData||{},{arrayMerge:(e,i)=>i}):function(e){var i,n,v,u,m,f,h,g,p;const[b,{loading:y,errors:w}]=r(),[M,{data:j,loading:k}]=o(),I=l(),P=null===(i=null==I?void 0:I.managedIdentity)||void 0===i?void 0:i.email,E=new URLSearchParams(c.location.search),x=E.get("nextPage"),[R,V]=a(!1),[C,L]=a(""),[S,_]=a(10),A=t(void 0),B=t(void 0);async function H(){var i;const a=await M();if(null===(i=null==a?void 0:a.managedIdentitySession)||void 0===i?void 0:i.emailVerified)return clearInterval(A.current),c.push({pathname:e.redirectPath,search:E.toString()&&"?"+E.toString()});U(10)}const T=(e=1e4)=>setInterval(H,e),q=e=>setInterval((()=>_(e)),1e3);function U(e){if(clearInterval(B.current),clearInterval(A.current),"hidden"===document.visibilityState)return;e&&_(e);let i=S||10;B.current=q(e-1||i-1),A.current=T(1e3*e||1e3*i)}const Y=d((()=>U()),[S]);return s((()=>(A.current||(H(),A.current=T()),()=>{clearInterval(A.current)})),[]),s((()=>(S>0&&(clearInterval(B.current),B.current=q(S-1)),document.addEventListener("visibilitychange",Y),()=>{clearInterval(B.current),document.removeEventListener("visibilitychange",Y)})),[S]),{states:{loading:y,error:(null===(m=null===(u=null===(v=null===(n=null==w?void 0:w.response)||void 0===n?void 0:n.errors)||void 0===v?void 0:v[0])||void 0===u?void 0:u.extensions)||void 0===m?void 0:m.message)||(null===(g=null===(h=null===(f=null==w?void 0:w.response)||void 0===f?void 0:f.errors)||void 0===h?void 0:h[0])||void 0===g?void 0:g.message)||C,success:R,loadingVerification:k,isVerified:!!(null===(p=null==j?void 0:j.managedIdentitySession)||void 0===p?void 0:p.emailVerified),countdown:S},callbacks:{submit:async()=>{var i;if(!P)return;L(""),V(!1);const a={email:P,urlParams:x?{nextPage:x}:null,redirectPath:e.redirectPath},t=await b(a);t instanceof Error?t.message&&L(e.networkErrorMessage):(null===(i=t.requestManagedIdentityVerificationEmail)||void 0===i?void 0:i.success)&&V(!0)}},content:{email:P,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}(this);var h;return i(m,{states:e,callbacks:n,content:f})}};export{f as sqm_portal_email_verification}
|
package/docs/docs.docx
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/mint-components",
|
|
3
3
|
"title": "Mint Components",
|
|
4
|
-
"version": "2.0.5-
|
|
4
|
+
"version": "2.0.5-2",
|
|
5
5
|
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
|
|
6
6
|
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
|
|
7
7
|
"raisins": "docs/raisins.json",
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-8277cbb3.js');
|
|
6
|
-
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
7
|
-
const index_module = require('./index.module-f267fad6.js');
|
|
8
|
-
require('./jsonpointer-11327262.js');
|
|
9
|
-
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
require('./utils-6847bc06.js');
|
|
11
|
-
const JSS = require('./JSS-8503a151.js');
|
|
12
|
-
require('./mixins-4761d472.js');
|
|
13
|
-
require('./sqm-text-span-view-f274fdf2.js');
|
|
14
|
-
const sqmPortalLoginView = require('./sqm-portal-login-view-298425ad.js');
|
|
15
|
-
const usePortalLogin = require('./usePortalLogin-95e7c3a0.js');
|
|
16
|
-
|
|
17
|
-
const PortalGoogleLogin = class {
|
|
18
|
-
constructor(hostRef) {
|
|
19
|
-
index.registerInstance(this, hostRef);
|
|
20
|
-
this.ignored = true;
|
|
21
|
-
/**
|
|
22
|
-
* Redirect participants to this page after they successfully login.
|
|
23
|
-
*
|
|
24
|
-
* @uiName Login redirect
|
|
25
|
-
* @uiWidget pageSelect
|
|
26
|
-
*/
|
|
27
|
-
this.nextPage = "/";
|
|
28
|
-
/**
|
|
29
|
-
* @uiName Email field label
|
|
30
|
-
*/
|
|
31
|
-
this.emailLabel = "Email";
|
|
32
|
-
/**
|
|
33
|
-
* @uiName Password field label
|
|
34
|
-
*/
|
|
35
|
-
this.passwordLabel = "Password";
|
|
36
|
-
/**
|
|
37
|
-
* @uiName Submit button text
|
|
38
|
-
*/
|
|
39
|
-
this.submitLabel = "Sign In";
|
|
40
|
-
/**
|
|
41
|
-
* Redirect participants to this page to reset their password
|
|
42
|
-
* @uiName Forgot password redirect
|
|
43
|
-
* @uiWidget pageSelect
|
|
44
|
-
*/
|
|
45
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
46
|
-
/**
|
|
47
|
-
* @uiName Forgot password text
|
|
48
|
-
*/
|
|
49
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
50
|
-
/**
|
|
51
|
-
* @uiName Register button text
|
|
52
|
-
*/
|
|
53
|
-
this.registerLabel = "Register";
|
|
54
|
-
/**
|
|
55
|
-
* Redirect participants to this page to start registration.
|
|
56
|
-
* @uiName Register button redirect
|
|
57
|
-
* @uiWidget pageSelect
|
|
58
|
-
*/
|
|
59
|
-
this.registerPath = "/register";
|
|
60
|
-
/**
|
|
61
|
-
* @uiName Heading label
|
|
62
|
-
* @uiWidget textArea
|
|
63
|
-
*/
|
|
64
|
-
this.pageLabel = "Sign in to your account";
|
|
65
|
-
/**
|
|
66
|
-
* @uiName Network error message
|
|
67
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
68
|
-
*/
|
|
69
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
70
|
-
/**
|
|
71
|
-
* @uiName Google account error message
|
|
72
|
-
* Displayed when user tries to sign in with Google account but has not registered.
|
|
73
|
-
*/
|
|
74
|
-
this.googleUserNotRegisteredError = "Your Google account has not registered on our platform. Please complete the registration process with your Google account.";
|
|
75
|
-
/**
|
|
76
|
-
* @uiName Register CTA
|
|
77
|
-
*/
|
|
78
|
-
this.registerCTA = "Don't have an account?";
|
|
79
|
-
domContextHooks_module.h$1(this);
|
|
80
|
-
}
|
|
81
|
-
disconnectedCallback() { }
|
|
82
|
-
render() {
|
|
83
|
-
const { states, callbacks } = index_module.isDemo()
|
|
84
|
-
? useLoginDemo(this)
|
|
85
|
-
: usePortalLogin.usePortalLogin(this);
|
|
86
|
-
const styles = {
|
|
87
|
-
RegisterButton: {
|
|
88
|
-
"&::part(label)": {
|
|
89
|
-
padding: "0",
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
};
|
|
93
|
-
const sheet = JSS.createStyleSheet(styles);
|
|
94
|
-
const styleString = sheet.toString();
|
|
95
|
-
const content = {
|
|
96
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
97
|
-
googleButton: (index.h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
|
|
98
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
|
|
99
|
-
emailLabel: this.emailLabel,
|
|
100
|
-
passwordLabel: this.passwordLabel,
|
|
101
|
-
submitLabel: this.submitLabel,
|
|
102
|
-
pageLabel: this.pageLabel,
|
|
103
|
-
};
|
|
104
|
-
return (index.h(sqmPortalLoginView.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
function useLoginDemo(props) {
|
|
108
|
-
return cjs.cjs({
|
|
109
|
-
states: {
|
|
110
|
-
error: "",
|
|
111
|
-
loading: false,
|
|
112
|
-
forgotPasswordPath: "/forgotPassword",
|
|
113
|
-
registerPath: "/register",
|
|
114
|
-
showLoginForm: "manual",
|
|
115
|
-
},
|
|
116
|
-
callbacks: {
|
|
117
|
-
googleSubmit: async () => {
|
|
118
|
-
console.log("google submit");
|
|
119
|
-
},
|
|
120
|
-
submit: async (_event) => {
|
|
121
|
-
console.log("submit");
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
content: {
|
|
125
|
-
googleButton: null,
|
|
126
|
-
},
|
|
127
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
exports.sqm_portal_google_login = PortalGoogleLogin;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-8277cbb3.js');
|
|
4
|
-
const JSS = require('./JSS-8503a151.js');
|
|
5
|
-
const mixins = require('./mixins-4761d472.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
|
|
7
|
-
|
|
8
|
-
const style = {
|
|
9
|
-
Wrapper: mixins.AuthWrapper,
|
|
10
|
-
Column: mixins.AuthColumn,
|
|
11
|
-
ForgotButtonContainer: {
|
|
12
|
-
display: "inline",
|
|
13
|
-
cursor: "pointer",
|
|
14
|
-
"font-size": "13px",
|
|
15
|
-
"font-weight": "600",
|
|
16
|
-
color: "var(--sqm-text-subdued)",
|
|
17
|
-
margin: "0",
|
|
18
|
-
},
|
|
19
|
-
ButtonsContainer: {
|
|
20
|
-
...mixins.AuthButtonsContainer,
|
|
21
|
-
gap: "var(--sl-spacing-medium)",
|
|
22
|
-
"& > *": {
|
|
23
|
-
margin: "0 !important",
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
const vanillaStyle = `
|
|
28
|
-
:host {
|
|
29
|
-
display: block;
|
|
30
|
-
}
|
|
31
|
-
:host([hidden]): {
|
|
32
|
-
display: none;
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
const sheet = JSS.createStyleSheet(style);
|
|
36
|
-
const styleString = sheet.toString();
|
|
37
|
-
function PortalLoginView(props) {
|
|
38
|
-
const { states, callbacks, content } = props;
|
|
39
|
-
return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
40
|
-
index.h("style", { type: "text/css" },
|
|
41
|
-
vanillaStyle,
|
|
42
|
-
styleString),
|
|
43
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
44
|
-
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
45
|
-
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
46
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
47
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
48
|
-
index.h("div", null,
|
|
49
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
50
|
-
index.h("div", { class: sheet.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
51
|
-
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
52
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
53
|
-
content.googleButton && index.h("sl-menu-divider", null),
|
|
54
|
-
content.googleButton,
|
|
55
|
-
content.secondaryButton))));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
exports.PortalLoginView = PortalLoginView;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-8277cbb3.js');
|
|
6
|
-
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
7
|
-
const index_module = require('./index.module-f267fad6.js');
|
|
8
|
-
require('./jsonpointer-11327262.js');
|
|
9
|
-
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
require('./JSS-8503a151.js');
|
|
11
|
-
require('./mixins-4761d472.js');
|
|
12
|
-
require('./sqm-text-span-view-f274fdf2.js');
|
|
13
|
-
require('./useRegistrationFormState-0f85c946.js');
|
|
14
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
|
|
15
|
-
require('./AsYouType-6788393a.js');
|
|
16
|
-
const usePortalRegistrationForm = require('./usePortalRegistrationForm-cdf6cb76.js');
|
|
17
|
-
|
|
18
|
-
const PortalRegistrationForm = class {
|
|
19
|
-
constructor(hostRef) {
|
|
20
|
-
index.registerInstance(this, hostRef);
|
|
21
|
-
this.ignored = true;
|
|
22
|
-
/**
|
|
23
|
-
* Redirect participants to this page after they successfully register.
|
|
24
|
-
*
|
|
25
|
-
* @uiName Registration redirect
|
|
26
|
-
* @uiWidget pageSelect
|
|
27
|
-
*/
|
|
28
|
-
this.nextPage = "/";
|
|
29
|
-
/**
|
|
30
|
-
* Redirect participants to this page from their verification email
|
|
31
|
-
*
|
|
32
|
-
* @uiName Email verification redirect
|
|
33
|
-
* @uiWidget pageSelect
|
|
34
|
-
*/
|
|
35
|
-
this.redirectPath = "/verifyEmail";
|
|
36
|
-
/**
|
|
37
|
-
* @uiName Email field label
|
|
38
|
-
*/
|
|
39
|
-
this.emailLabel = "Email";
|
|
40
|
-
/**
|
|
41
|
-
* @uiName Password field label
|
|
42
|
-
*/
|
|
43
|
-
this.passwordLabel = "Password";
|
|
44
|
-
/**
|
|
45
|
-
* @uiName Submit button text
|
|
46
|
-
*/
|
|
47
|
-
this.submitLabel = "Register";
|
|
48
|
-
/**
|
|
49
|
-
* @uiName Login button text
|
|
50
|
-
*/
|
|
51
|
-
this.loginLabel = "Sign in";
|
|
52
|
-
/**
|
|
53
|
-
* @uiName Confirm password field label
|
|
54
|
-
*/
|
|
55
|
-
this.confirmPasswordLabel = "Confirm Password";
|
|
56
|
-
/**
|
|
57
|
-
* @uiName Show confirm password field
|
|
58
|
-
*/
|
|
59
|
-
this.confirmPassword = false;
|
|
60
|
-
/**
|
|
61
|
-
* @uiName Disable password validation
|
|
62
|
-
*/
|
|
63
|
-
this.disablePasswordValidation = false;
|
|
64
|
-
/**
|
|
65
|
-
* 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.
|
|
66
|
-
*
|
|
67
|
-
* @uiName Hide default fields
|
|
68
|
-
*/
|
|
69
|
-
this.hideInputs = false;
|
|
70
|
-
/**
|
|
71
|
-
* @uiName Header text
|
|
72
|
-
*/
|
|
73
|
-
this.pageLabel = "Register";
|
|
74
|
-
/**
|
|
75
|
-
* Redirect participants to this page after clicking the login button.
|
|
76
|
-
*
|
|
77
|
-
* @uiName Login redirect
|
|
78
|
-
* @uiWidget pageSelect
|
|
79
|
-
*/
|
|
80
|
-
this.loginPath = "/login";
|
|
81
|
-
/**
|
|
82
|
-
* The message to be displayed when a required field is not filled.
|
|
83
|
-
*
|
|
84
|
-
* @uiName Required field message
|
|
85
|
-
* @uiWidget textArea
|
|
86
|
-
*/
|
|
87
|
-
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
88
|
-
/**
|
|
89
|
-
* The message to be displayed when a the form submission fails unexpectedly.
|
|
90
|
-
*
|
|
91
|
-
* @uiName Network error message
|
|
92
|
-
* @uiWidget textArea
|
|
93
|
-
*/
|
|
94
|
-
this.networkErrorMessage = "Network request failed.";
|
|
95
|
-
/**
|
|
96
|
-
* The message to be displayed when password inputs do not match.
|
|
97
|
-
*
|
|
98
|
-
* @uiName Password mismatch message
|
|
99
|
-
* @uiWidget textArea
|
|
100
|
-
*/
|
|
101
|
-
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
102
|
-
/**
|
|
103
|
-
* The message to be displayed when the email used is invalid or blocked.
|
|
104
|
-
*
|
|
105
|
-
* @uiName Invalid email message
|
|
106
|
-
* @uiWidget textArea
|
|
107
|
-
*/
|
|
108
|
-
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
109
|
-
/**
|
|
110
|
-
* The message to be displayed when the registration form is disabled.
|
|
111
|
-
*
|
|
112
|
-
* @uiName Form disabled message
|
|
113
|
-
* @uiWidget textArea
|
|
114
|
-
*/
|
|
115
|
-
this.formDisabledErrorMessage = "The registration form is currently disabled.";
|
|
116
|
-
/**
|
|
117
|
-
* @uiName Password requirement met
|
|
118
|
-
*/
|
|
119
|
-
this.meetsRequirementsText = "Password has met all requirements";
|
|
120
|
-
/**
|
|
121
|
-
* @uiName Password requirement failed
|
|
122
|
-
*/
|
|
123
|
-
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
124
|
-
/**
|
|
125
|
-
* @uiName Minimum length text
|
|
126
|
-
*/
|
|
127
|
-
this.minErrorText = "be a minimum of 8 characters";
|
|
128
|
-
/**
|
|
129
|
-
* @uiName Missing uppercase text
|
|
130
|
-
*/
|
|
131
|
-
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
132
|
-
/**
|
|
133
|
-
* @uiName Missing lowercase text
|
|
134
|
-
*/
|
|
135
|
-
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
136
|
-
/**
|
|
137
|
-
* @uiName Missing number or symbol text
|
|
138
|
-
*/
|
|
139
|
-
this.hasErrorText = "contain at least 1 number or symbol";
|
|
140
|
-
domContextHooks_module.h$1(this);
|
|
141
|
-
}
|
|
142
|
-
disconnectedCallback() { }
|
|
143
|
-
render() {
|
|
144
|
-
const { states, callbacks, refs } = index_module.isDemo()
|
|
145
|
-
? useRegisterDemo(this)
|
|
146
|
-
: usePortalRegistrationForm.usePortalRegistrationForm(this);
|
|
147
|
-
const content = {
|
|
148
|
-
formData: index.h("slot", { name: "formData" }),
|
|
149
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
150
|
-
terms: index.h("slot", { name: "terms" }),
|
|
151
|
-
emailOptIn: index.h("slot", { name: "emailOptIn" }),
|
|
152
|
-
emailLabel: this.emailLabel,
|
|
153
|
-
passwordLabel: this.passwordLabel,
|
|
154
|
-
submitLabel: this.submitLabel,
|
|
155
|
-
pageLabel: this.pageLabel,
|
|
156
|
-
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
157
|
-
networkErrorMessage: this.networkErrorMessage,
|
|
158
|
-
passwordMismatchErrorMessage: this.passwordMismatchErrorMessage,
|
|
159
|
-
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
160
|
-
formDisabledErrorMessage: this.formDisabledErrorMessage,
|
|
161
|
-
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
162
|
-
meetsRequirementsText: this.meetsRequirementsText,
|
|
163
|
-
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
164
|
-
minErrorText: this.minErrorText,
|
|
165
|
-
uppercaseErrorText: this.uppercaseErrorText,
|
|
166
|
-
lowercaseErrorText: this.lowercaseErrorText,
|
|
167
|
-
hasErrorText: this.hasErrorText,
|
|
168
|
-
};
|
|
169
|
-
return (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
function useRegisterDemo(props) {
|
|
173
|
-
return cjs.cjs({
|
|
174
|
-
states: {
|
|
175
|
-
error: "",
|
|
176
|
-
loading: false,
|
|
177
|
-
confirmPassword: props.confirmPassword,
|
|
178
|
-
hideInputs: props.hideInputs || false,
|
|
179
|
-
customPasswordField: false,
|
|
180
|
-
loginPath: "/login",
|
|
181
|
-
},
|
|
182
|
-
callbacks: {
|
|
183
|
-
submit: async (_event) => {
|
|
184
|
-
console.log("submit");
|
|
185
|
-
},
|
|
186
|
-
inputFunction: () => { },
|
|
187
|
-
},
|
|
188
|
-
refs: {
|
|
189
|
-
formRef: {},
|
|
190
|
-
},
|
|
191
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
exports.sqm_portal_registration_form = PortalRegistrationForm;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-8277cbb3.js');
|
|
4
|
-
const JSS = require('./JSS-8503a151.js');
|
|
5
|
-
const mixins = require('./mixins-4761d472.js');
|
|
6
|
-
const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
|
|
7
|
-
|
|
8
|
-
const style = {
|
|
9
|
-
Wrapper: mixins.AuthWrapper,
|
|
10
|
-
Column: mixins.AuthColumn,
|
|
11
|
-
ContinueButton: {
|
|
12
|
-
width: "100%",
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
const vanillaStyle = `
|
|
16
|
-
:host {
|
|
17
|
-
display: block;
|
|
18
|
-
}
|
|
19
|
-
:host([hidden]): {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
const sheet = JSS.createStyleSheet(style);
|
|
24
|
-
const styleString = sheet.toString();
|
|
25
|
-
function PortalVerifyEmailView(props) {
|
|
26
|
-
const { states, data, callbacks, content } = props;
|
|
27
|
-
if (states.loading)
|
|
28
|
-
return;
|
|
29
|
-
if (states.success) {
|
|
30
|
-
return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
31
|
-
index.h("style", { type: "text/css" },
|
|
32
|
-
vanillaStyle,
|
|
33
|
-
styleString),
|
|
34
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
35
|
-
index.h("sqm-form-message", { exportparts: "success-icon" },
|
|
36
|
-
index.h("div", { part: "successalert-text" }, content.verifySuccessText)),
|
|
37
|
-
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
38
|
-
}
|
|
39
|
-
if (states.error || !data.oobCode) {
|
|
40
|
-
return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
41
|
-
index.h("style", { type: "text/css" }, styleString),
|
|
42
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
43
|
-
index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
44
|
-
index.h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
|
|
45
|
-
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, disabled: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
exports.PortalVerifyEmailView = PortalVerifyEmailView;
|