@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
|
@@ -10,9 +10,9 @@ const JSS = require('./JSS-8503a151.js');
|
|
|
10
10
|
const useReferralCodes = require('./useReferralCodes-03024ff4.js');
|
|
11
11
|
const mixins = require('./mixins-4761d472.js');
|
|
12
12
|
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
13
|
+
const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
|
|
13
14
|
const useChildElements = require('./useChildElements-84b623d1.js');
|
|
14
15
|
const luxon = require('./luxon-c1ad356a.js');
|
|
15
|
-
const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
|
|
16
16
|
const index$1 = require('./index-8c6255f5.js');
|
|
17
17
|
const utilities = require('./utilities-3577b60d.js');
|
|
18
18
|
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
@@ -2148,79 +2148,6 @@ function TaskCardView(props) {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
|
|
2150
2150
|
const style$3 = {
|
|
2151
|
-
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
2152
|
-
Column: mixins.AuthColumn,
|
|
2153
|
-
HostBlock: mixins.HostBlock,
|
|
2154
|
-
":host": {
|
|
2155
|
-
margin: "0 auto",
|
|
2156
|
-
width: "100%",
|
|
2157
|
-
},
|
|
2158
|
-
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
2159
|
-
ErrorStyle: mixins.ErrorStyles,
|
|
2160
|
-
};
|
|
2161
|
-
const vanillaStyle = `
|
|
2162
|
-
sqm-portal-register {
|
|
2163
|
-
margin: 0 auto;
|
|
2164
|
-
width: 100%;
|
|
2165
|
-
display: block;
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
:host{
|
|
2169
|
-
display: block;
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
|
-
:host([hidden]) {
|
|
2173
|
-
display: none;
|
|
2174
|
-
}
|
|
2175
|
-
`;
|
|
2176
|
-
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
2177
|
-
const styleString$3 = sheet$3.toString();
|
|
2178
|
-
function PortalRegisterView(props) {
|
|
2179
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2180
|
-
const { states, refs, callbacks, content } = props;
|
|
2181
|
-
if (states.error) {
|
|
2182
|
-
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
2183
|
-
}
|
|
2184
|
-
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
2185
|
-
index.h("style", { type: "text/css" },
|
|
2186
|
-
vanillaStyle,
|
|
2187
|
-
styleString$3),
|
|
2188
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
2189
|
-
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2190
|
-
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
2191
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
2192
|
-
content.formData,
|
|
2193
|
-
!states.hideInputs && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
2194
|
-
if (!value) {
|
|
2195
|
-
return content.requiredFieldErrorMessage;
|
|
2196
|
-
}
|
|
2197
|
-
// this matches shoelace validation, but could be better
|
|
2198
|
-
if (!value.includes("@")) {
|
|
2199
|
-
return content.invalidEmailErrorMessage;
|
|
2200
|
-
}
|
|
2201
|
-
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
2202
|
-
class: sheet$3.classes.ErrorStyle,
|
|
2203
|
-
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
2204
|
-
content.requiredFieldErrorMessage,
|
|
2205
|
-
}
|
|
2206
|
-
: [])))),
|
|
2207
|
-
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
2208
|
-
content.passwordField,
|
|
2209
|
-
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.disabled), required: true }, (((_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.confirmPassword) ? {
|
|
2210
|
-
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
2211
|
-
}
|
|
2212
|
-
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
2213
|
-
class: sheet$3.classes.ErrorStyle,
|
|
2214
|
-
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
2215
|
-
}
|
|
2216
|
-
: [])))),
|
|
2217
|
-
content.terms,
|
|
2218
|
-
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
2219
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
2220
|
-
content.secondaryButton))));
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
const style$4 = {
|
|
2224
2151
|
ErrorStyle: {
|
|
2225
2152
|
"&::part(control)": {
|
|
2226
2153
|
borderColor: "var(--sl-color-danger-500)",
|
|
@@ -2242,7 +2169,7 @@ const style$4 = {
|
|
|
2242
2169
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2243
2170
|
},
|
|
2244
2171
|
};
|
|
2245
|
-
const vanillaStyle
|
|
2172
|
+
const vanillaStyle = `
|
|
2246
2173
|
:host {
|
|
2247
2174
|
margin: 0 auto;
|
|
2248
2175
|
width: 100%;
|
|
@@ -2265,16 +2192,16 @@ sl-checkbox[checked]::part(checked-icon){
|
|
|
2265
2192
|
}
|
|
2266
2193
|
`;
|
|
2267
2194
|
JSS.jss.setup(JSS.create());
|
|
2268
|
-
const sheet$
|
|
2269
|
-
const styleString$
|
|
2195
|
+
const sheet$3 = JSS.jss.createStyleSheet(style$3);
|
|
2196
|
+
const styleString$3 = sheet$3.toString();
|
|
2270
2197
|
function CheckboxFieldView(props) {
|
|
2271
2198
|
var _a, _b, _c, _d, _e;
|
|
2272
2199
|
const { states, content, callbacks } = props;
|
|
2273
2200
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2274
|
-
return (index.h("div", { class: sheet$
|
|
2201
|
+
return (index.h("div", { class: sheet$3.classes.FieldContainer, part: "sqm-base" },
|
|
2275
2202
|
index.h("style", { type: "text/css" },
|
|
2276
|
-
vanillaStyle
|
|
2277
|
-
styleString$
|
|
2203
|
+
vanillaStyle,
|
|
2204
|
+
styleString$3),
|
|
2278
2205
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2279
2206
|
e.target.value = e.target.checked;
|
|
2280
2207
|
callbacks.setChecked(e.target.value);
|
|
@@ -2283,7 +2210,7 @@ function CheckboxFieldView(props) {
|
|
|
2283
2210
|
return content.errorMessage;
|
|
2284
2211
|
}
|
|
2285
2212
|
} }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName]) ? {
|
|
2286
|
-
class: sheet$
|
|
2213
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2287
2214
|
}
|
|
2288
2215
|
: [])), global.intl.formatMessage({
|
|
2289
2216
|
id: content.checkboxName + "-message",
|
|
@@ -2291,7 +2218,7 @@ function CheckboxFieldView(props) {
|
|
|
2291
2218
|
}, {
|
|
2292
2219
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2293
2220
|
})),
|
|
2294
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2221
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$3.classes.ErrorMessageStyle }, content.errorMessage))));
|
|
2295
2222
|
}
|
|
2296
2223
|
|
|
2297
2224
|
function CouponCodeView(props) {
|
|
@@ -2321,7 +2248,7 @@ function CouponCodeView(props) {
|
|
|
2321
2248
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
|
|
2322
2249
|
}
|
|
2323
2250
|
|
|
2324
|
-
const style$
|
|
2251
|
+
const style$4 = {
|
|
2325
2252
|
ErrorStyle: {
|
|
2326
2253
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2327
2254
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2337,7 +2264,7 @@ const style$5 = {
|
|
|
2337
2264
|
"margin-bottom": "var(--sl-spacing-medium)",
|
|
2338
2265
|
},
|
|
2339
2266
|
};
|
|
2340
|
-
const vanillaStyle$
|
|
2267
|
+
const vanillaStyle$1 = `
|
|
2341
2268
|
:host {
|
|
2342
2269
|
margin: 0 auto;
|
|
2343
2270
|
width: 100%;
|
|
@@ -2349,24 +2276,24 @@ sl-select::part(label){
|
|
|
2349
2276
|
}
|
|
2350
2277
|
`;
|
|
2351
2278
|
JSS.jss.setup(JSS.create());
|
|
2352
|
-
const sheet$
|
|
2353
|
-
const styleString$
|
|
2279
|
+
const sheet$4 = JSS.jss.createStyleSheet(style$4);
|
|
2280
|
+
const styleString$4 = sheet$4.toString();
|
|
2354
2281
|
function DropdownFieldView(props) {
|
|
2355
2282
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2356
2283
|
const { states, content } = props;
|
|
2357
2284
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2358
|
-
return (index.h("div", { class: sheet$
|
|
2285
|
+
return (index.h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
|
|
2359
2286
|
index.h("style", { type: "text/css" },
|
|
2360
|
-
vanillaStyle$
|
|
2361
|
-
styleString$
|
|
2287
|
+
vanillaStyle$1,
|
|
2288
|
+
styleString$4),
|
|
2362
2289
|
index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2363
2290
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2364
2291
|
}
|
|
2365
2292
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2366
|
-
class: sheet$
|
|
2293
|
+
class: sheet$4.classes.ErrorStyle,
|
|
2367
2294
|
}
|
|
2368
2295
|
: [])), content.selectOptions),
|
|
2369
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2296
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$4.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2370
2297
|
id: `errorMessage-${content.dropdownName}`,
|
|
2371
2298
|
defaultMessage: content.errorMessage,
|
|
2372
2299
|
})))));
|
|
@@ -2696,13 +2623,13 @@ function HeroView(props) {
|
|
|
2696
2623
|
: ""}` }, content.secondaryColumn))) : (index.h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
2697
2624
|
}
|
|
2698
2625
|
|
|
2699
|
-
const style$
|
|
2626
|
+
const style$5 = {
|
|
2700
2627
|
ErrorStyle: mixins.ErrorStyles,
|
|
2701
2628
|
FieldContainer: {
|
|
2702
2629
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2703
2630
|
},
|
|
2704
2631
|
};
|
|
2705
|
-
const vanillaStyle$
|
|
2632
|
+
const vanillaStyle$2 = `
|
|
2706
2633
|
:host {
|
|
2707
2634
|
margin: 0 auto;
|
|
2708
2635
|
width: 100%;
|
|
@@ -2710,21 +2637,21 @@ const vanillaStyle$3 = `
|
|
|
2710
2637
|
}
|
|
2711
2638
|
`;
|
|
2712
2639
|
JSS.jss.setup(JSS.create());
|
|
2713
|
-
const sheet$
|
|
2714
|
-
const styleString$
|
|
2640
|
+
const sheet$5 = JSS.jss.createStyleSheet(style$5);
|
|
2641
|
+
const styleString$5 = sheet$5.toString();
|
|
2715
2642
|
function InputFieldView(props) {
|
|
2716
2643
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2717
2644
|
const { states, content } = props;
|
|
2718
2645
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2719
|
-
return (index.h("div", { class: sheet$
|
|
2646
|
+
return (index.h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
|
|
2720
2647
|
index.h("style", { type: "text/css" },
|
|
2721
|
-
vanillaStyle$
|
|
2722
|
-
styleString$
|
|
2648
|
+
vanillaStyle$2,
|
|
2649
|
+
styleString$5),
|
|
2723
2650
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2724
2651
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2725
2652
|
}
|
|
2726
2653
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2727
|
-
class: sheet$
|
|
2654
|
+
class: sheet$5.classes.ErrorStyle,
|
|
2728
2655
|
helpText: global.intl.formatMessage({
|
|
2729
2656
|
id: `errorMessage-${content.fieldName}`,
|
|
2730
2657
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2733,7 +2660,7 @@ function InputFieldView(props) {
|
|
|
2733
2660
|
: [])))));
|
|
2734
2661
|
}
|
|
2735
2662
|
|
|
2736
|
-
const style$
|
|
2663
|
+
const style$6 = {
|
|
2737
2664
|
ErrorStyle: mixins.ErrorStyles,
|
|
2738
2665
|
FieldsContainer: {
|
|
2739
2666
|
"& sl-input": {
|
|
@@ -2741,7 +2668,7 @@ const style$7 = {
|
|
|
2741
2668
|
},
|
|
2742
2669
|
},
|
|
2743
2670
|
};
|
|
2744
|
-
const vanillaStyle$
|
|
2671
|
+
const vanillaStyle$3 = `
|
|
2745
2672
|
:host {
|
|
2746
2673
|
margin: 0 auto;
|
|
2747
2674
|
width: 100%;
|
|
@@ -2778,21 +2705,21 @@ sl-input {
|
|
|
2778
2705
|
}
|
|
2779
2706
|
|
|
2780
2707
|
`;
|
|
2781
|
-
const sheet$
|
|
2782
|
-
const styleString$
|
|
2708
|
+
const sheet$6 = JSS.createStyleSheet(style$6);
|
|
2709
|
+
const styleString$6 = sheet$6.toString();
|
|
2783
2710
|
function NameFieldsView(props) {
|
|
2784
2711
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2785
2712
|
const { states } = props;
|
|
2786
2713
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2787
|
-
return (index.h("div", { class: sheet$
|
|
2714
|
+
return (index.h("div", { class: sheet$6.classes.FieldsContainer },
|
|
2788
2715
|
index.h("style", { type: "text/css" },
|
|
2789
|
-
vanillaStyle$
|
|
2790
|
-
styleString$
|
|
2716
|
+
vanillaStyle$3,
|
|
2717
|
+
styleString$6),
|
|
2791
2718
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: !states.optional, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2792
2719
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2793
2720
|
}
|
|
2794
2721
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2795
|
-
class: sheet$
|
|
2722
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2796
2723
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2797
2724
|
}
|
|
2798
2725
|
: []))),
|
|
@@ -2800,7 +2727,7 @@ function NameFieldsView(props) {
|
|
|
2800
2727
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2801
2728
|
}
|
|
2802
2729
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2803
|
-
class: sheet$
|
|
2730
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2804
2731
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2805
2732
|
}
|
|
2806
2733
|
: [])))));
|
|
@@ -2850,7 +2777,7 @@ function ChangeMarktingView(props) {
|
|
|
2850
2777
|
index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
2851
2778
|
}
|
|
2852
2779
|
|
|
2853
|
-
const vanillaStyle$
|
|
2780
|
+
const vanillaStyle$4 = `
|
|
2854
2781
|
:host{
|
|
2855
2782
|
margin: 0 auto;
|
|
2856
2783
|
width: 100%;
|
|
@@ -2906,7 +2833,7 @@ function PortalFooterView(props) {
|
|
|
2906
2833
|
const styleString = sheet.toString();
|
|
2907
2834
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2908
2835
|
index.h("style", { type: "text/css" },
|
|
2909
|
-
vanillaStyle$
|
|
2836
|
+
vanillaStyle$4,
|
|
2910
2837
|
styleString),
|
|
2911
2838
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2912
2839
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2922,50 +2849,6 @@ function PortalFooterView(props) {
|
|
|
2922
2849
|
index.h(PoweredByImg, { color: "currentColor" })))));
|
|
2923
2850
|
}
|
|
2924
2851
|
|
|
2925
|
-
const vanillaStyle$6 = `
|
|
2926
|
-
:host {
|
|
2927
|
-
display: block;
|
|
2928
|
-
}
|
|
2929
|
-
:host([hidden]): {
|
|
2930
|
-
display: none;
|
|
2931
|
-
}
|
|
2932
|
-
`;
|
|
2933
|
-
function PortalForgotPasswordView(props) {
|
|
2934
|
-
const { states, callbacks, content } = props;
|
|
2935
|
-
const style = {
|
|
2936
|
-
FormWrapper: {
|
|
2937
|
-
...mixins.AuthWrapper,
|
|
2938
|
-
background: content.backgroundColor || "var(--sqm-portal-background)",
|
|
2939
|
-
borderRadius: content.borderRadius || "var(--sqm-border-radius-normal)",
|
|
2940
|
-
border: content.border ||
|
|
2941
|
-
"var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
2942
|
-
},
|
|
2943
|
-
Column: { ...mixins.AuthColumn },
|
|
2944
|
-
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
2945
|
-
SecondaryButton: {
|
|
2946
|
-
margin: "auto",
|
|
2947
|
-
display: "block",
|
|
2948
|
-
cursor: "pointer",
|
|
2949
|
-
},
|
|
2950
|
-
};
|
|
2951
|
-
const sheet = JSS.createStyleSheet(style);
|
|
2952
|
-
const styleString = sheet.toString();
|
|
2953
|
-
return (index.h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
|
|
2954
|
-
index.h("style", { type: "text/css" },
|
|
2955
|
-
vanillaStyle$6,
|
|
2956
|
-
styleString),
|
|
2957
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.messageSlot),
|
|
2958
|
-
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
2959
|
-
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
2960
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
2961
|
-
props.states.success && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
2962
|
-
index.h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
2963
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
2964
|
-
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
2965
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
2966
|
-
index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", class: sheet.classes.SecondaryButton, disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, content.loginText)))));
|
|
2967
|
-
}
|
|
2968
|
-
|
|
2969
2852
|
function PortalFrameView(props, children) {
|
|
2970
2853
|
const { data, notFullScreen, border } = props;
|
|
2971
2854
|
const style = {
|
|
@@ -3132,7 +3015,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3132
3015
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3133
3016
|
}
|
|
3134
3017
|
|
|
3135
|
-
const style$
|
|
3018
|
+
const style$7 = {
|
|
3136
3019
|
HostBlock: mixins.HostBlock,
|
|
3137
3020
|
Container: {
|
|
3138
3021
|
minWidth: "300px",
|
|
@@ -3482,8 +3365,8 @@ const style$8 = {
|
|
|
3482
3365
|
},
|
|
3483
3366
|
};
|
|
3484
3367
|
// JSS config
|
|
3485
|
-
const sheet$
|
|
3486
|
-
const styleString$
|
|
3368
|
+
const sheet$7 = JSS.createStyleSheet(style$7);
|
|
3369
|
+
const styleString$7 = sheet$7.toString();
|
|
3487
3370
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3488
3371
|
function RewardExchangeView(props) {
|
|
3489
3372
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3506,7 +3389,7 @@ function RewardExchangeView(props) {
|
|
|
3506
3389
|
sourceUnit: item.sourceUnit,
|
|
3507
3390
|
})));
|
|
3508
3391
|
}
|
|
3509
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3392
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$7.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3510
3393
|
var _a, _b, _c, _d, _e;
|
|
3511
3394
|
return callbacks.setExchangeState({
|
|
3512
3395
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3514,7 +3397,7 @@ function RewardExchangeView(props) {
|
|
|
3514
3397
|
});
|
|
3515
3398
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3516
3399
|
var _a, _b;
|
|
3517
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3400
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$7.classes.SelectItem },
|
|
3518
3401
|
step.prettyDestinationValue,
|
|
3519
3402
|
index.h("br", null),
|
|
3520
3403
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3533,8 +3416,8 @@ function RewardExchangeView(props) {
|
|
|
3533
3416
|
var _a;
|
|
3534
3417
|
return [
|
|
3535
3418
|
index.h("div", { part: "choose-reward-container" },
|
|
3536
|
-
index.h("div", { class: sheet$
|
|
3537
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3419
|
+
index.h("div", { class: sheet$7.classes.Title }, states.content.text.rewardTitle),
|
|
3420
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$7.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3538
3421
|
var _a, _b, _c, _d, _e;
|
|
3539
3422
|
const style = {
|
|
3540
3423
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3544,7 +3427,7 @@ function RewardExchangeView(props) {
|
|
|
3544
3427
|
borderColor: "none",
|
|
3545
3428
|
};
|
|
3546
3429
|
return (index.h("div", { key: item.key, style: style },
|
|
3547
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3430
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$7.classes.Card, style: {
|
|
3548
3431
|
cursor: item.unavailableReasonCode
|
|
3549
3432
|
? "not-allowed"
|
|
3550
3433
|
: "pointer",
|
|
@@ -3561,14 +3444,14 @@ function RewardExchangeView(props) {
|
|
|
3561
3444
|
? "rgba(0, 0, 0, 0.05)"
|
|
3562
3445
|
: "rgba(0, 0, 0, 0)",
|
|
3563
3446
|
} },
|
|
3564
|
-
index.h("div", { class: sheet$
|
|
3447
|
+
index.h("div", { class: sheet$7.classes.Image, style: {
|
|
3565
3448
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3566
3449
|
} },
|
|
3567
3450
|
index.h("img", { class: item.unavailableReasonCode
|
|
3568
3451
|
? "image subdued"
|
|
3569
3452
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3570
3453
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3571
|
-
index.h("div", { class: sheet$
|
|
3454
|
+
index.h("div", { class: sheet$7.classes.TextArea, style: {
|
|
3572
3455
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3573
3456
|
} },
|
|
3574
3457
|
index.h("div", { class: "title", style: {
|
|
@@ -3601,7 +3484,7 @@ function RewardExchangeView(props) {
|
|
|
3601
3484
|
item.prettySourceMinValue,
|
|
3602
3485
|
}))))))));
|
|
3603
3486
|
}))),
|
|
3604
|
-
index.h("div", { class: sheet$
|
|
3487
|
+
index.h("div", { class: sheet$7.classes.Button },
|
|
3605
3488
|
index.h("sl-button", { exportparts: "base: primarybutton-base", type: "primary", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3606
3489
|
];
|
|
3607
3490
|
}
|
|
@@ -3612,7 +3495,7 @@ function RewardExchangeView(props) {
|
|
|
3612
3495
|
? false
|
|
3613
3496
|
: input && !states.amount;
|
|
3614
3497
|
return (index.h("div", null,
|
|
3615
|
-
index.h("div", { class: sheet$
|
|
3498
|
+
index.h("div", { class: sheet$7.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3616
3499
|
index.h("div", { class: "wrapper" },
|
|
3617
3500
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3618
3501
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3621,7 +3504,7 @@ function RewardExchangeView(props) {
|
|
|
3621
3504
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3622
3505
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3623
3506
|
index.h("div", { class: "space" }))),
|
|
3624
|
-
index.h("div", { class: sheet$
|
|
3507
|
+
index.h("div", { class: sheet$7.classes.Button },
|
|
3625
3508
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3626
3509
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3627
3510
|
}
|
|
@@ -3629,8 +3512,8 @@ function RewardExchangeView(props) {
|
|
|
3629
3512
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
|
|
3630
3513
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3631
3514
|
return (index.h("div", null,
|
|
3632
|
-
index.h("div", { class: sheet$
|
|
3633
|
-
index.h("div", { class: sheet$
|
|
3515
|
+
index.h("div", { class: sheet$7.classes.Confirmation, part: "confirmation-container" },
|
|
3516
|
+
index.h("div", { class: sheet$7.classes.Title }, states.content.text.redeemTitle),
|
|
3634
3517
|
index.h("div", { class: "wrapper" },
|
|
3635
3518
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3636
3519
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3645,13 +3528,13 @@ function RewardExchangeView(props) {
|
|
|
3645
3528
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3646
3529
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3647
3530
|
index.h("div", { class: "value" }, cost)),
|
|
3648
|
-
index.h("div", { class: sheet$
|
|
3531
|
+
index.h("div", { class: sheet$7.classes.Button },
|
|
3649
3532
|
index.h("sl-button", { class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3650
3533
|
index.h("sl-button", { class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3651
3534
|
}
|
|
3652
3535
|
function success() {
|
|
3653
3536
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3654
|
-
return (index.h("div", { class: sheet$
|
|
3537
|
+
return (index.h("div", { class: sheet$7.classes.Success, part: "success-container" },
|
|
3655
3538
|
index.h(Gift$1, null),
|
|
3656
3539
|
index.h(Confetti, null),
|
|
3657
3540
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3665,7 +3548,7 @@ function RewardExchangeView(props) {
|
|
|
3665
3548
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3666
3549
|
states.content.text.promoCode,
|
|
3667
3550
|
index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_h = states === null || states === void 0 ? void 0 : states.content) === null || _h === void 0 ? void 0 : _h.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3668
|
-
index.h("div", { class: sheet$
|
|
3551
|
+
index.h("div", { class: sheet$7.classes.Button },
|
|
3669
3552
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3670
3553
|
}
|
|
3671
3554
|
const stages = {
|
|
@@ -3677,7 +3560,7 @@ function RewardExchangeView(props) {
|
|
|
3677
3560
|
const currentStage = stages[states.redeemStage];
|
|
3678
3561
|
function stageMap() {
|
|
3679
3562
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3680
|
-
return (index.h("div", { class: sheet$
|
|
3563
|
+
return (index.h("div", { class: sheet$7.classes.ProgressBar },
|
|
3681
3564
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3682
3565
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3683
3566
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3689,10 +3572,10 @@ function RewardExchangeView(props) {
|
|
|
3689
3572
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3690
3573
|
}
|
|
3691
3574
|
function loading() {
|
|
3692
|
-
return (index.h("div", { class: sheet$
|
|
3575
|
+
return (index.h("div", { class: sheet$7.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3693
3576
|
return (index.h("div", null,
|
|
3694
|
-
index.h("sl-card", { class: sheet$
|
|
3695
|
-
index.h("div", { class: sheet$
|
|
3577
|
+
index.h("sl-card", { class: sheet$7.classes.Card },
|
|
3578
|
+
index.h("div", { class: sheet$7.classes.CardLayout },
|
|
3696
3579
|
index.h("div", null,
|
|
3697
3580
|
index.h("sl-skeleton", { style: {
|
|
3698
3581
|
width: "100px",
|
|
@@ -3724,12 +3607,12 @@ function RewardExchangeView(props) {
|
|
|
3724
3607
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3725
3608
|
return;
|
|
3726
3609
|
refs.canvasRef.current = canvas;
|
|
3727
|
-
}, id: "my-canvas", class: sheet$
|
|
3610
|
+
}, id: "my-canvas", class: sheet$7.classes.Confetti }));
|
|
3728
3611
|
}
|
|
3729
3612
|
if (states.noExchangeOptions)
|
|
3730
3613
|
return states.content.text.empty;
|
|
3731
|
-
return (index.h("div", { class: sheet$
|
|
3732
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3614
|
+
return (index.h("div", { class: sheet$7.classes.Container, part: "sqm-base" },
|
|
3615
|
+
index.h("style", { type: "text/css" }, styleString$7),
|
|
3733
3616
|
index.h("div", null,
|
|
3734
3617
|
stageMap(),
|
|
3735
3618
|
states.exchangeError && errorMessage(),
|
|
@@ -4305,7 +4188,7 @@ function useShareLink(props) {
|
|
|
4305
4188
|
return { ...props, onClick, open, copyString: copyString };
|
|
4306
4189
|
}
|
|
4307
4190
|
|
|
4308
|
-
const style$
|
|
4191
|
+
const style$8 = {
|
|
4309
4192
|
Wrapper: {
|
|
4310
4193
|
...mixins.AuthWrapper,
|
|
4311
4194
|
"max-width": "600px",
|
|
@@ -4343,7 +4226,7 @@ const style$9 = {
|
|
|
4343
4226
|
},
|
|
4344
4227
|
ErrorStyle: mixins.ErrorStyles,
|
|
4345
4228
|
};
|
|
4346
|
-
const vanillaStyle$
|
|
4229
|
+
const vanillaStyle$5 = `
|
|
4347
4230
|
sqm-portal-register {
|
|
4348
4231
|
margin: 0 auto;
|
|
4349
4232
|
width: 100%;
|
|
@@ -4358,8 +4241,8 @@ sqm-portal-register {
|
|
|
4358
4241
|
display: none;
|
|
4359
4242
|
}
|
|
4360
4243
|
`;
|
|
4361
|
-
const sheet$
|
|
4362
|
-
const styleString$
|
|
4244
|
+
const sheet$8 = JSS.createStyleSheet(style$8);
|
|
4245
|
+
const styleString$8 = sheet$8.toString();
|
|
4363
4246
|
function LeadFormView(props) {
|
|
4364
4247
|
var _a, _b, _c, _d;
|
|
4365
4248
|
const { states, refs, callbacks, content } = props;
|
|
@@ -4373,23 +4256,23 @@ function LeadFormView(props) {
|
|
|
4373
4256
|
fieldLabel,
|
|
4374
4257
|
});
|
|
4375
4258
|
return (index.h(index.Fragment, null,
|
|
4376
|
-
states.success && (index.h("div", { class: sheet$
|
|
4259
|
+
states.success && (index.h("div", { class: sheet$8.classes.Wrapper, part: "sqm-base" },
|
|
4377
4260
|
index.h("style", { type: "text/css" },
|
|
4378
|
-
vanillaStyle$
|
|
4379
|
-
styleString$
|
|
4261
|
+
vanillaStyle$5,
|
|
4262
|
+
styleString$8),
|
|
4380
4263
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4381
4264
|
index.h("sqm-form-message", { exportparts: "success-icon" },
|
|
4382
4265
|
index.h("b", null, content.submitSuccessHeader),
|
|
4383
4266
|
index.h("br", null),
|
|
4384
4267
|
index.h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
|
|
4385
|
-
index.h("sl-button", { class: sheet$
|
|
4386
|
-
index.h("div", { class: sheet$
|
|
4268
|
+
index.h("sl-button", { class: sheet$8.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
|
|
4269
|
+
index.h("div", { class: sheet$8.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
|
|
4387
4270
|
index.h("style", { type: "text/css" },
|
|
4388
|
-
vanillaStyle$
|
|
4389
|
-
styleString$
|
|
4271
|
+
vanillaStyle$5,
|
|
4272
|
+
styleString$8),
|
|
4390
4273
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4391
|
-
index.h("sl-form", { class: sheet$
|
|
4392
|
-
states.error && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$
|
|
4274
|
+
index.h("sl-form", { class: sheet$8.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
4275
|
+
states.error && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$8.classes.ErrorAlertContainer, open: true },
|
|
4393
4276
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
4394
4277
|
index.h("b", null, content.submitErrorHeader),
|
|
4395
4278
|
index.h("br", null),
|
|
@@ -4399,9 +4282,9 @@ function LeadFormView(props) {
|
|
|
4399
4282
|
}, {
|
|
4400
4283
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
|
|
4401
4284
|
}))),
|
|
4402
|
-
index.h("div", { class: sheet$
|
|
4403
|
-
index.h("sqm-lead-input-field", { class: sheet$
|
|
4404
|
-
index.h("sqm-lead-input-field", { class: sheet$
|
|
4285
|
+
index.h("div", { class: sheet$8.classes.NameFieldWrapper },
|
|
4286
|
+
index.h("sqm-lead-input-field", { class: sheet$8.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
|
|
4287
|
+
index.h("sqm-lead-input-field", { class: sheet$8.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
|
|
4405
4288
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
4406
4289
|
if (!value) {
|
|
4407
4290
|
return getRequiredFieldErrorMessage({
|
|
@@ -4413,18 +4296,18 @@ function LeadFormView(props) {
|
|
|
4413
4296
|
return content.invalidEmailErrorMessage;
|
|
4414
4297
|
}
|
|
4415
4298
|
} }, (((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
4416
|
-
class: sheet$
|
|
4299
|
+
class: sheet$8.classes.ErrorStyle,
|
|
4417
4300
|
helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
4418
4301
|
content.requiredFieldErrorMessage,
|
|
4419
4302
|
}
|
|
4420
4303
|
: []))),
|
|
4421
4304
|
index.h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
|
|
4422
4305
|
content.formData,
|
|
4423
|
-
index.h("div", { class: sheet$
|
|
4306
|
+
index.h("div", { class: sheet$8.classes.ButtonsContainer },
|
|
4424
4307
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
|
|
4425
4308
|
}
|
|
4426
4309
|
|
|
4427
|
-
const style$
|
|
4310
|
+
const style$9 = {
|
|
4428
4311
|
ErrorStyle: {
|
|
4429
4312
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
4430
4313
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -4440,7 +4323,7 @@ const style$a = {
|
|
|
4440
4323
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
4441
4324
|
},
|
|
4442
4325
|
};
|
|
4443
|
-
const vanillaStyle$
|
|
4326
|
+
const vanillaStyle$6 = `
|
|
4444
4327
|
:host {
|
|
4445
4328
|
margin: 0 auto;
|
|
4446
4329
|
width: 100%;
|
|
@@ -4455,8 +4338,8 @@ sl-select::part(menu){
|
|
|
4455
4338
|
}
|
|
4456
4339
|
`;
|
|
4457
4340
|
JSS.jss.setup(JSS.create());
|
|
4458
|
-
const sheet$
|
|
4459
|
-
const styleString$
|
|
4341
|
+
const sheet$9 = JSS.jss.createStyleSheet(style$9);
|
|
4342
|
+
const styleString$9 = sheet$9.toString();
|
|
4460
4343
|
function LeadDropdownFieldView(props) {
|
|
4461
4344
|
var _a, _b, _c, _d, _e;
|
|
4462
4345
|
const { states, content } = props;
|
|
@@ -4467,10 +4350,10 @@ function LeadDropdownFieldView(props) {
|
|
|
4467
4350
|
}, {
|
|
4468
4351
|
dropdownLabel,
|
|
4469
4352
|
});
|
|
4470
|
-
return (index.h("div", { class: sheet$
|
|
4353
|
+
return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
4471
4354
|
index.h("style", { type: "text/css" },
|
|
4472
|
-
vanillaStyle$
|
|
4473
|
-
styleString$
|
|
4355
|
+
vanillaStyle$6,
|
|
4356
|
+
styleString$9),
|
|
4474
4357
|
index.h("sl-select", Object.assign({ style: { maxHeight: "100px" }, exportparts: "label: input-label, base: input-base", label: `${content.dropdownLabel}${content.dropdownOptional ? ` ${content.optionalLabel}` : ""}`, name: `/${content.dropdownName}`, multiple: content.multiple }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
|
|
4475
4358
|
if (!value && !content.dropdownOptional) {
|
|
4476
4359
|
return getRequiredFieldErrorMessage({
|
|
@@ -4478,10 +4361,10 @@ function LeadDropdownFieldView(props) {
|
|
|
4478
4361
|
});
|
|
4479
4362
|
}
|
|
4480
4363
|
} }, (((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
4481
|
-
class: sheet$
|
|
4364
|
+
class: sheet$9.classes.ErrorStyle,
|
|
4482
4365
|
}
|
|
4483
4366
|
: [])), content.selectOptions),
|
|
4484
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
4367
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
|
|
4485
4368
|
dropdownLabel: content.dropdownLabel,
|
|
4486
4369
|
})))));
|
|
4487
4370
|
}
|
|
@@ -4535,9 +4418,7 @@ exports.LeaderboardView = LeaderboardView;
|
|
|
4535
4418
|
exports.NameFieldsView = NameFieldsView;
|
|
4536
4419
|
exports.PortalChangePasswordView = PortalChangePasswordView;
|
|
4537
4420
|
exports.PortalFooterView = PortalFooterView;
|
|
4538
|
-
exports.PortalForgotPasswordView = PortalForgotPasswordView;
|
|
4539
4421
|
exports.PortalFrameView = PortalFrameView;
|
|
4540
|
-
exports.PortalRegisterView = PortalRegisterView;
|
|
4541
4422
|
exports.PoweredByImg = PoweredByImg;
|
|
4542
4423
|
exports.ProgressBar = ProgressBar;
|
|
4543
4424
|
exports.ProgressBarView = ProgressBarView;
|