@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,18 +1,18 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-38ad4957.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-fc653a2a.js';
|
|
3
3
|
import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-50442785.js';
|
|
4
|
-
import { H, L, J, d as dist, w as wn,
|
|
4
|
+
import { H, L, J, d as dist, w as wn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-849b7d56.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-
|
|
9
|
-
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-f87eea47.js';
|
|
9
|
+
import { H as HostBlock, E as ErrorStyles, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f750863a.js';
|
|
10
10
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
11
|
-
import { u as useChildElements } from './useChildElements-3721fb0b.js';
|
|
12
|
-
import { l as luxon } from './luxon-1be92a8e.js';
|
|
13
11
|
import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-14eb2cd7.js';
|
|
13
|
+
import { l as luxon } from './luxon-1be92a8e.js';
|
|
14
14
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
15
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
15
|
+
import { a as isValidColor, b as isMobile } from './utilities-8dba1079.js';
|
|
16
16
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-a8c708cd.js';
|
|
17
17
|
|
|
18
18
|
function BigStatView(props) {
|
|
@@ -2146,79 +2146,6 @@ function TaskCardView(props) {
|
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
2148
|
const style$3 = {
|
|
2149
|
-
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
2150
|
-
Column: AuthColumn,
|
|
2151
|
-
HostBlock: HostBlock,
|
|
2152
|
-
":host": {
|
|
2153
|
-
margin: "0 auto",
|
|
2154
|
-
width: "100%",
|
|
2155
|
-
},
|
|
2156
|
-
ButtonsContainer: AuthButtonsContainer,
|
|
2157
|
-
ErrorStyle: ErrorStyles,
|
|
2158
|
-
};
|
|
2159
|
-
const vanillaStyle = `
|
|
2160
|
-
sqm-portal-register {
|
|
2161
|
-
margin: 0 auto;
|
|
2162
|
-
width: 100%;
|
|
2163
|
-
display: block;
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
:host{
|
|
2167
|
-
display: block;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
:host([hidden]) {
|
|
2171
|
-
display: none;
|
|
2172
|
-
}
|
|
2173
|
-
`;
|
|
2174
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
2175
|
-
const styleString$3 = sheet$3.toString();
|
|
2176
|
-
function PortalRegisterView(props) {
|
|
2177
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2178
|
-
const { states, refs, callbacks, content } = props;
|
|
2179
|
-
if (states.error) {
|
|
2180
|
-
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
2181
|
-
}
|
|
2182
|
-
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
2183
|
-
h("style", { type: "text/css" },
|
|
2184
|
-
vanillaStyle,
|
|
2185
|
-
styleString$3),
|
|
2186
|
-
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
2187
|
-
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2188
|
-
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
2189
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
2190
|
-
content.formData,
|
|
2191
|
-
!states.hideInputs && (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 }) => {
|
|
2192
|
-
if (!value) {
|
|
2193
|
-
return content.requiredFieldErrorMessage;
|
|
2194
|
-
}
|
|
2195
|
-
// this matches shoelace validation, but could be better
|
|
2196
|
-
if (!value.includes("@")) {
|
|
2197
|
-
return content.invalidEmailErrorMessage;
|
|
2198
|
-
}
|
|
2199
|
-
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
2200
|
-
class: sheet$3.classes.ErrorStyle,
|
|
2201
|
-
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
2202
|
-
content.requiredFieldErrorMessage,
|
|
2203
|
-
}
|
|
2204
|
-
: [])))),
|
|
2205
|
-
!states.hideInputs && (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 })),
|
|
2206
|
-
content.passwordField,
|
|
2207
|
-
!states.hideInputs && states.confirmPassword && (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) ? {
|
|
2208
|
-
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
2209
|
-
}
|
|
2210
|
-
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
2211
|
-
class: sheet$3.classes.ErrorStyle,
|
|
2212
|
-
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
2213
|
-
}
|
|
2214
|
-
: [])))),
|
|
2215
|
-
content.terms,
|
|
2216
|
-
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
2217
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
2218
|
-
content.secondaryButton))));
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
|
-
const style$4 = {
|
|
2222
2149
|
ErrorStyle: {
|
|
2223
2150
|
"&::part(control)": {
|
|
2224
2151
|
borderColor: "var(--sl-color-danger-500)",
|
|
@@ -2240,7 +2167,7 @@ const style$4 = {
|
|
|
2240
2167
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2241
2168
|
},
|
|
2242
2169
|
};
|
|
2243
|
-
const vanillaStyle
|
|
2170
|
+
const vanillaStyle = `
|
|
2244
2171
|
:host {
|
|
2245
2172
|
margin: 0 auto;
|
|
2246
2173
|
width: 100%;
|
|
@@ -2263,16 +2190,16 @@ sl-checkbox[checked]::part(checked-icon){
|
|
|
2263
2190
|
}
|
|
2264
2191
|
`;
|
|
2265
2192
|
jss.setup(create());
|
|
2266
|
-
const sheet$
|
|
2267
|
-
const styleString$
|
|
2193
|
+
const sheet$3 = jss.createStyleSheet(style$3);
|
|
2194
|
+
const styleString$3 = sheet$3.toString();
|
|
2268
2195
|
function CheckboxFieldView(props) {
|
|
2269
2196
|
var _a, _b, _c, _d, _e;
|
|
2270
2197
|
const { states, content, callbacks } = props;
|
|
2271
2198
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2272
|
-
return (h("div", { class: sheet$
|
|
2199
|
+
return (h("div", { class: sheet$3.classes.FieldContainer, part: "sqm-base" },
|
|
2273
2200
|
h("style", { type: "text/css" },
|
|
2274
|
-
vanillaStyle
|
|
2275
|
-
styleString$
|
|
2201
|
+
vanillaStyle,
|
|
2202
|
+
styleString$3),
|
|
2276
2203
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2277
2204
|
e.target.value = e.target.checked;
|
|
2278
2205
|
callbacks.setChecked(e.target.value);
|
|
@@ -2281,7 +2208,7 @@ function CheckboxFieldView(props) {
|
|
|
2281
2208
|
return content.errorMessage;
|
|
2282
2209
|
}
|
|
2283
2210
|
} }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName]) ? {
|
|
2284
|
-
class: sheet$
|
|
2211
|
+
class: sheet$3.classes.ErrorStyle,
|
|
2285
2212
|
}
|
|
2286
2213
|
: [])), intl.formatMessage({
|
|
2287
2214
|
id: content.checkboxName + "-message",
|
|
@@ -2289,7 +2216,7 @@ function CheckboxFieldView(props) {
|
|
|
2289
2216
|
}, {
|
|
2290
2217
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2291
2218
|
})),
|
|
2292
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2219
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$3.classes.ErrorMessageStyle }, content.errorMessage))));
|
|
2293
2220
|
}
|
|
2294
2221
|
|
|
2295
2222
|
function CouponCodeView(props) {
|
|
@@ -2319,7 +2246,7 @@ function CouponCodeView(props) {
|
|
|
2319
2246
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
2320
2247
|
}
|
|
2321
2248
|
|
|
2322
|
-
const style$
|
|
2249
|
+
const style$4 = {
|
|
2323
2250
|
ErrorStyle: {
|
|
2324
2251
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2325
2252
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2335,7 +2262,7 @@ const style$5 = {
|
|
|
2335
2262
|
"margin-bottom": "var(--sl-spacing-medium)",
|
|
2336
2263
|
},
|
|
2337
2264
|
};
|
|
2338
|
-
const vanillaStyle$
|
|
2265
|
+
const vanillaStyle$1 = `
|
|
2339
2266
|
:host {
|
|
2340
2267
|
margin: 0 auto;
|
|
2341
2268
|
width: 100%;
|
|
@@ -2347,24 +2274,24 @@ sl-select::part(label){
|
|
|
2347
2274
|
}
|
|
2348
2275
|
`;
|
|
2349
2276
|
jss.setup(create());
|
|
2350
|
-
const sheet$
|
|
2351
|
-
const styleString$
|
|
2277
|
+
const sheet$4 = jss.createStyleSheet(style$4);
|
|
2278
|
+
const styleString$4 = sheet$4.toString();
|
|
2352
2279
|
function DropdownFieldView(props) {
|
|
2353
2280
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2354
2281
|
const { states, content } = props;
|
|
2355
2282
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2356
|
-
return (h("div", { class: sheet$
|
|
2283
|
+
return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
|
|
2357
2284
|
h("style", { type: "text/css" },
|
|
2358
|
-
vanillaStyle$
|
|
2359
|
-
styleString$
|
|
2285
|
+
vanillaStyle$1,
|
|
2286
|
+
styleString$4),
|
|
2360
2287
|
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]) ? {
|
|
2361
2288
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2362
2289
|
}
|
|
2363
2290
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2364
|
-
class: sheet$
|
|
2291
|
+
class: sheet$4.classes.ErrorStyle,
|
|
2365
2292
|
}
|
|
2366
2293
|
: [])), content.selectOptions),
|
|
2367
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2294
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$4.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2368
2295
|
id: `errorMessage-${content.dropdownName}`,
|
|
2369
2296
|
defaultMessage: content.errorMessage,
|
|
2370
2297
|
})))));
|
|
@@ -2694,13 +2621,13 @@ function HeroView(props) {
|
|
|
2694
2621
|
: ""}` }, content.secondaryColumn))) : (h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
2695
2622
|
}
|
|
2696
2623
|
|
|
2697
|
-
const style$
|
|
2624
|
+
const style$5 = {
|
|
2698
2625
|
ErrorStyle: ErrorStyles,
|
|
2699
2626
|
FieldContainer: {
|
|
2700
2627
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2701
2628
|
},
|
|
2702
2629
|
};
|
|
2703
|
-
const vanillaStyle$
|
|
2630
|
+
const vanillaStyle$2 = `
|
|
2704
2631
|
:host {
|
|
2705
2632
|
margin: 0 auto;
|
|
2706
2633
|
width: 100%;
|
|
@@ -2708,21 +2635,21 @@ const vanillaStyle$3 = `
|
|
|
2708
2635
|
}
|
|
2709
2636
|
`;
|
|
2710
2637
|
jss.setup(create());
|
|
2711
|
-
const sheet$
|
|
2712
|
-
const styleString$
|
|
2638
|
+
const sheet$5 = jss.createStyleSheet(style$5);
|
|
2639
|
+
const styleString$5 = sheet$5.toString();
|
|
2713
2640
|
function InputFieldView(props) {
|
|
2714
2641
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2715
2642
|
const { states, content } = props;
|
|
2716
2643
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2717
|
-
return (h("div", { class: sheet$
|
|
2644
|
+
return (h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
|
|
2718
2645
|
h("style", { type: "text/css" },
|
|
2719
|
-
vanillaStyle$
|
|
2720
|
-
styleString$
|
|
2646
|
+
vanillaStyle$2,
|
|
2647
|
+
styleString$5),
|
|
2721
2648
|
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]) ? {
|
|
2722
2649
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2723
2650
|
}
|
|
2724
2651
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2725
|
-
class: sheet$
|
|
2652
|
+
class: sheet$5.classes.ErrorStyle,
|
|
2726
2653
|
helpText: intl.formatMessage({
|
|
2727
2654
|
id: `errorMessage-${content.fieldName}`,
|
|
2728
2655
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2731,7 +2658,7 @@ function InputFieldView(props) {
|
|
|
2731
2658
|
: [])))));
|
|
2732
2659
|
}
|
|
2733
2660
|
|
|
2734
|
-
const style$
|
|
2661
|
+
const style$6 = {
|
|
2735
2662
|
ErrorStyle: ErrorStyles,
|
|
2736
2663
|
FieldsContainer: {
|
|
2737
2664
|
"& sl-input": {
|
|
@@ -2739,7 +2666,7 @@ const style$7 = {
|
|
|
2739
2666
|
},
|
|
2740
2667
|
},
|
|
2741
2668
|
};
|
|
2742
|
-
const vanillaStyle$
|
|
2669
|
+
const vanillaStyle$3 = `
|
|
2743
2670
|
:host {
|
|
2744
2671
|
margin: 0 auto;
|
|
2745
2672
|
width: 100%;
|
|
@@ -2776,21 +2703,21 @@ sl-input {
|
|
|
2776
2703
|
}
|
|
2777
2704
|
|
|
2778
2705
|
`;
|
|
2779
|
-
const sheet$
|
|
2780
|
-
const styleString$
|
|
2706
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
2707
|
+
const styleString$6 = sheet$6.toString();
|
|
2781
2708
|
function NameFieldsView(props) {
|
|
2782
2709
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2783
2710
|
const { states } = props;
|
|
2784
2711
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2785
|
-
return (h("div", { class: sheet$
|
|
2712
|
+
return (h("div", { class: sheet$6.classes.FieldsContainer },
|
|
2786
2713
|
h("style", { type: "text/css" },
|
|
2787
|
-
vanillaStyle$
|
|
2788
|
-
styleString$
|
|
2714
|
+
vanillaStyle$3,
|
|
2715
|
+
styleString$6),
|
|
2789
2716
|
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) ? {
|
|
2790
2717
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2791
2718
|
}
|
|
2792
2719
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2793
|
-
class: sheet$
|
|
2720
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2794
2721
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2795
2722
|
}
|
|
2796
2723
|
: []))),
|
|
@@ -2798,7 +2725,7 @@ function NameFieldsView(props) {
|
|
|
2798
2725
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2799
2726
|
}
|
|
2800
2727
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2801
|
-
class: sheet$
|
|
2728
|
+
class: sheet$6.classes.ErrorStyle,
|
|
2802
2729
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2803
2730
|
}
|
|
2804
2731
|
: [])))));
|
|
@@ -2848,7 +2775,7 @@ function ChangeMarktingView(props) {
|
|
|
2848
2775
|
h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
2849
2776
|
}
|
|
2850
2777
|
|
|
2851
|
-
const vanillaStyle$
|
|
2778
|
+
const vanillaStyle$4 = `
|
|
2852
2779
|
:host{
|
|
2853
2780
|
margin: 0 auto;
|
|
2854
2781
|
width: 100%;
|
|
@@ -2904,7 +2831,7 @@ function PortalFooterView(props) {
|
|
|
2904
2831
|
const styleString = sheet.toString();
|
|
2905
2832
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2906
2833
|
h("style", { type: "text/css" },
|
|
2907
|
-
vanillaStyle$
|
|
2834
|
+
vanillaStyle$4,
|
|
2908
2835
|
styleString),
|
|
2909
2836
|
h("div", { class: sheet.classes.RowContainer },
|
|
2910
2837
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2920,50 +2847,6 @@ function PortalFooterView(props) {
|
|
|
2920
2847
|
h(PoweredByImg, { color: "currentColor" })))));
|
|
2921
2848
|
}
|
|
2922
2849
|
|
|
2923
|
-
const vanillaStyle$6 = `
|
|
2924
|
-
:host {
|
|
2925
|
-
display: block;
|
|
2926
|
-
}
|
|
2927
|
-
:host([hidden]): {
|
|
2928
|
-
display: none;
|
|
2929
|
-
}
|
|
2930
|
-
`;
|
|
2931
|
-
function PortalForgotPasswordView(props) {
|
|
2932
|
-
const { states, callbacks, content } = props;
|
|
2933
|
-
const style = {
|
|
2934
|
-
FormWrapper: {
|
|
2935
|
-
...AuthWrapper,
|
|
2936
|
-
background: content.backgroundColor || "var(--sqm-portal-background)",
|
|
2937
|
-
borderRadius: content.borderRadius || "var(--sqm-border-radius-normal)",
|
|
2938
|
-
border: content.border ||
|
|
2939
|
-
"var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
2940
|
-
},
|
|
2941
|
-
Column: { ...AuthColumn },
|
|
2942
|
-
ButtonsContainer: AuthButtonsContainer,
|
|
2943
|
-
SecondaryButton: {
|
|
2944
|
-
margin: "auto",
|
|
2945
|
-
display: "block",
|
|
2946
|
-
cursor: "pointer",
|
|
2947
|
-
},
|
|
2948
|
-
};
|
|
2949
|
-
const sheet = createStyleSheet(style);
|
|
2950
|
-
const styleString = sheet.toString();
|
|
2951
|
-
return (h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
|
|
2952
|
-
h("style", { type: "text/css" },
|
|
2953
|
-
vanillaStyle$6,
|
|
2954
|
-
styleString),
|
|
2955
|
-
h(TextSpanView, { type: "h3" }, content.messageSlot),
|
|
2956
|
-
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
2957
|
-
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
2958
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
2959
|
-
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
2960
|
-
h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
2961
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
2962
|
-
h("div", { class: sheet.classes.ButtonsContainer },
|
|
2963
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
2964
|
-
h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", class: sheet.classes.SecondaryButton, disabled: states.loading, onClick: () => jn.push(states.loginPath) }, content.loginText)))));
|
|
2965
|
-
}
|
|
2966
|
-
|
|
2967
2850
|
function PortalFrameView(props, children) {
|
|
2968
2851
|
const { data, notFullScreen, border } = props;
|
|
2969
2852
|
const style = {
|
|
@@ -3130,7 +3013,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3130
3013
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3131
3014
|
}
|
|
3132
3015
|
|
|
3133
|
-
const style$
|
|
3016
|
+
const style$7 = {
|
|
3134
3017
|
HostBlock: HostBlock,
|
|
3135
3018
|
Container: {
|
|
3136
3019
|
minWidth: "300px",
|
|
@@ -3480,8 +3363,8 @@ const style$8 = {
|
|
|
3480
3363
|
},
|
|
3481
3364
|
};
|
|
3482
3365
|
// JSS config
|
|
3483
|
-
const sheet$
|
|
3484
|
-
const styleString$
|
|
3366
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
3367
|
+
const styleString$7 = sheet$7.toString();
|
|
3485
3368
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3486
3369
|
function RewardExchangeView(props) {
|
|
3487
3370
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3504,7 +3387,7 @@ function RewardExchangeView(props) {
|
|
|
3504
3387
|
sourceUnit: item.sourceUnit,
|
|
3505
3388
|
})));
|
|
3506
3389
|
}
|
|
3507
|
-
return (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$
|
|
3390
|
+
return (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) => {
|
|
3508
3391
|
var _a, _b, _c, _d, _e;
|
|
3509
3392
|
return callbacks.setExchangeState({
|
|
3510
3393
|
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,
|
|
@@ -3512,7 +3395,7 @@ function RewardExchangeView(props) {
|
|
|
3512
3395
|
});
|
|
3513
3396
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3514
3397
|
var _a, _b;
|
|
3515
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3398
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$7.classes.SelectItem },
|
|
3516
3399
|
step.prettyDestinationValue,
|
|
3517
3400
|
h("br", null),
|
|
3518
3401
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3531,8 +3414,8 @@ function RewardExchangeView(props) {
|
|
|
3531
3414
|
var _a;
|
|
3532
3415
|
return [
|
|
3533
3416
|
h("div", { part: "choose-reward-container" },
|
|
3534
|
-
h("div", { class: sheet$
|
|
3535
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3417
|
+
h("div", { class: sheet$7.classes.Title }, states.content.text.rewardTitle),
|
|
3418
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$7.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3536
3419
|
var _a, _b, _c, _d, _e;
|
|
3537
3420
|
const style = {
|
|
3538
3421
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3542,7 +3425,7 @@ function RewardExchangeView(props) {
|
|
|
3542
3425
|
borderColor: "none",
|
|
3543
3426
|
};
|
|
3544
3427
|
return (h("div", { key: item.key, style: style },
|
|
3545
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3428
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$7.classes.Card, style: {
|
|
3546
3429
|
cursor: item.unavailableReasonCode
|
|
3547
3430
|
? "not-allowed"
|
|
3548
3431
|
: "pointer",
|
|
@@ -3559,14 +3442,14 @@ function RewardExchangeView(props) {
|
|
|
3559
3442
|
? "rgba(0, 0, 0, 0.05)"
|
|
3560
3443
|
: "rgba(0, 0, 0, 0)",
|
|
3561
3444
|
} },
|
|
3562
|
-
h("div", { class: sheet$
|
|
3445
|
+
h("div", { class: sheet$7.classes.Image, style: {
|
|
3563
3446
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3564
3447
|
} },
|
|
3565
3448
|
h("img", { class: item.unavailableReasonCode
|
|
3566
3449
|
? "image subdued"
|
|
3567
3450
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3568
3451
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3569
|
-
h("div", { class: sheet$
|
|
3452
|
+
h("div", { class: sheet$7.classes.TextArea, style: {
|
|
3570
3453
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3571
3454
|
} },
|
|
3572
3455
|
h("div", { class: "title", style: {
|
|
@@ -3599,7 +3482,7 @@ function RewardExchangeView(props) {
|
|
|
3599
3482
|
item.prettySourceMinValue,
|
|
3600
3483
|
}))))))));
|
|
3601
3484
|
}))),
|
|
3602
|
-
h("div", { class: sheet$
|
|
3485
|
+
h("div", { class: sheet$7.classes.Button },
|
|
3603
3486
|
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))),
|
|
3604
3487
|
];
|
|
3605
3488
|
}
|
|
@@ -3610,7 +3493,7 @@ function RewardExchangeView(props) {
|
|
|
3610
3493
|
? false
|
|
3611
3494
|
: input && !states.amount;
|
|
3612
3495
|
return (h("div", null,
|
|
3613
|
-
h("div", { class: sheet$
|
|
3496
|
+
h("div", { class: sheet$7.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3614
3497
|
h("div", { class: "wrapper" },
|
|
3615
3498
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3616
3499
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3619,7 +3502,7 @@ function RewardExchangeView(props) {
|
|
|
3619
3502
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3620
3503
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3621
3504
|
h("div", { class: "space" }))),
|
|
3622
|
-
h("div", { class: sheet$
|
|
3505
|
+
h("div", { class: sheet$7.classes.Button },
|
|
3623
3506
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3624
3507
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3625
3508
|
}
|
|
@@ -3627,8 +3510,8 @@ function RewardExchangeView(props) {
|
|
|
3627
3510
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
|
|
3628
3511
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3629
3512
|
return (h("div", null,
|
|
3630
|
-
h("div", { class: sheet$
|
|
3631
|
-
h("div", { class: sheet$
|
|
3513
|
+
h("div", { class: sheet$7.classes.Confirmation, part: "confirmation-container" },
|
|
3514
|
+
h("div", { class: sheet$7.classes.Title }, states.content.text.redeemTitle),
|
|
3632
3515
|
h("div", { class: "wrapper" },
|
|
3633
3516
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3634
3517
|
h("div", { class: "reward-item-container" },
|
|
@@ -3643,13 +3526,13 @@ function RewardExchangeView(props) {
|
|
|
3643
3526
|
h("div", { class: "wrapper top-border padding" },
|
|
3644
3527
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3645
3528
|
h("div", { class: "value" }, cost)),
|
|
3646
|
-
h("div", { class: sheet$
|
|
3529
|
+
h("div", { class: sheet$7.classes.Button },
|
|
3647
3530
|
h("sl-button", { class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3648
3531
|
h("sl-button", { class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3649
3532
|
}
|
|
3650
3533
|
function success() {
|
|
3651
3534
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3652
|
-
return (h("div", { class: sheet$
|
|
3535
|
+
return (h("div", { class: sheet$7.classes.Success, part: "success-container" },
|
|
3653
3536
|
h(Gift$1, null),
|
|
3654
3537
|
h(Confetti, null),
|
|
3655
3538
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3663,7 +3546,7 @@ function RewardExchangeView(props) {
|
|
|
3663
3546
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3664
3547
|
states.content.text.promoCode,
|
|
3665
3548
|
h(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 }))),
|
|
3666
|
-
h("div", { class: sheet$
|
|
3549
|
+
h("div", { class: sheet$7.classes.Button },
|
|
3667
3550
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3668
3551
|
}
|
|
3669
3552
|
const stages = {
|
|
@@ -3675,7 +3558,7 @@ function RewardExchangeView(props) {
|
|
|
3675
3558
|
const currentStage = stages[states.redeemStage];
|
|
3676
3559
|
function stageMap() {
|
|
3677
3560
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3678
|
-
return (h("div", { class: sheet$
|
|
3561
|
+
return (h("div", { class: sheet$7.classes.ProgressBar },
|
|
3679
3562
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3680
3563
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3681
3564
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3687,10 +3570,10 @@ function RewardExchangeView(props) {
|
|
|
3687
3570
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3688
3571
|
}
|
|
3689
3572
|
function loading() {
|
|
3690
|
-
return (h("div", { class: sheet$
|
|
3573
|
+
return (h("div", { class: sheet$7.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3691
3574
|
return (h("div", null,
|
|
3692
|
-
h("sl-card", { class: sheet$
|
|
3693
|
-
h("div", { class: sheet$
|
|
3575
|
+
h("sl-card", { class: sheet$7.classes.Card },
|
|
3576
|
+
h("div", { class: sheet$7.classes.CardLayout },
|
|
3694
3577
|
h("div", null,
|
|
3695
3578
|
h("sl-skeleton", { style: {
|
|
3696
3579
|
width: "100px",
|
|
@@ -3722,12 +3605,12 @@ function RewardExchangeView(props) {
|
|
|
3722
3605
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3723
3606
|
return;
|
|
3724
3607
|
refs.canvasRef.current = canvas;
|
|
3725
|
-
}, id: "my-canvas", class: sheet$
|
|
3608
|
+
}, id: "my-canvas", class: sheet$7.classes.Confetti }));
|
|
3726
3609
|
}
|
|
3727
3610
|
if (states.noExchangeOptions)
|
|
3728
3611
|
return states.content.text.empty;
|
|
3729
|
-
return (h("div", { class: sheet$
|
|
3730
|
-
h("style", { type: "text/css" }, styleString$
|
|
3612
|
+
return (h("div", { class: sheet$7.classes.Container, part: "sqm-base" },
|
|
3613
|
+
h("style", { type: "text/css" }, styleString$7),
|
|
3731
3614
|
h("div", null,
|
|
3732
3615
|
stageMap(),
|
|
3733
3616
|
states.exchangeError && errorMessage(),
|
|
@@ -4303,7 +4186,7 @@ function useShareLink(props) {
|
|
|
4303
4186
|
return { ...props, onClick, open, copyString: copyString };
|
|
4304
4187
|
}
|
|
4305
4188
|
|
|
4306
|
-
const style$
|
|
4189
|
+
const style$8 = {
|
|
4307
4190
|
Wrapper: {
|
|
4308
4191
|
...AuthWrapper,
|
|
4309
4192
|
"max-width": "600px",
|
|
@@ -4341,7 +4224,7 @@ const style$9 = {
|
|
|
4341
4224
|
},
|
|
4342
4225
|
ErrorStyle: ErrorStyles,
|
|
4343
4226
|
};
|
|
4344
|
-
const vanillaStyle$
|
|
4227
|
+
const vanillaStyle$5 = `
|
|
4345
4228
|
sqm-portal-register {
|
|
4346
4229
|
margin: 0 auto;
|
|
4347
4230
|
width: 100%;
|
|
@@ -4356,8 +4239,8 @@ sqm-portal-register {
|
|
|
4356
4239
|
display: none;
|
|
4357
4240
|
}
|
|
4358
4241
|
`;
|
|
4359
|
-
const sheet$
|
|
4360
|
-
const styleString$
|
|
4242
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
4243
|
+
const styleString$8 = sheet$8.toString();
|
|
4361
4244
|
function LeadFormView(props) {
|
|
4362
4245
|
var _a, _b, _c, _d;
|
|
4363
4246
|
const { states, refs, callbacks, content } = props;
|
|
@@ -4371,23 +4254,23 @@ function LeadFormView(props) {
|
|
|
4371
4254
|
fieldLabel,
|
|
4372
4255
|
});
|
|
4373
4256
|
return (h(Fragment, null,
|
|
4374
|
-
states.success && (h("div", { class: sheet$
|
|
4257
|
+
states.success && (h("div", { class: sheet$8.classes.Wrapper, part: "sqm-base" },
|
|
4375
4258
|
h("style", { type: "text/css" },
|
|
4376
|
-
vanillaStyle$
|
|
4377
|
-
styleString$
|
|
4259
|
+
vanillaStyle$5,
|
|
4260
|
+
styleString$8),
|
|
4378
4261
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4379
4262
|
h("sqm-form-message", { exportparts: "success-icon" },
|
|
4380
4263
|
h("b", null, content.submitSuccessHeader),
|
|
4381
4264
|
h("br", null),
|
|
4382
4265
|
h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
|
|
4383
|
-
h("sl-button", { class: sheet$
|
|
4384
|
-
h("div", { class: sheet$
|
|
4266
|
+
h("sl-button", { class: sheet$8.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
|
|
4267
|
+
h("div", { class: sheet$8.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
|
|
4385
4268
|
h("style", { type: "text/css" },
|
|
4386
|
-
vanillaStyle$
|
|
4387
|
-
styleString$
|
|
4269
|
+
vanillaStyle$5,
|
|
4270
|
+
styleString$8),
|
|
4388
4271
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
4389
|
-
h("sl-form", { class: sheet$
|
|
4390
|
-
states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$
|
|
4272
|
+
h("sl-form", { class: sheet$8.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
4273
|
+
states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$8.classes.ErrorAlertContainer, open: true },
|
|
4391
4274
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
4392
4275
|
h("b", null, content.submitErrorHeader),
|
|
4393
4276
|
h("br", null),
|
|
@@ -4397,9 +4280,9 @@ function LeadFormView(props) {
|
|
|
4397
4280
|
}, {
|
|
4398
4281
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
|
|
4399
4282
|
}))),
|
|
4400
|
-
h("div", { class: sheet$
|
|
4401
|
-
h("sqm-lead-input-field", { class: sheet$
|
|
4402
|
-
h("sqm-lead-input-field", { class: sheet$
|
|
4283
|
+
h("div", { class: sheet$8.classes.NameFieldWrapper },
|
|
4284
|
+
h("sqm-lead-input-field", { class: sheet$8.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
|
|
4285
|
+
h("sqm-lead-input-field", { class: sheet$8.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
|
|
4403
4286
|
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 }) => {
|
|
4404
4287
|
if (!value) {
|
|
4405
4288
|
return getRequiredFieldErrorMessage({
|
|
@@ -4411,18 +4294,18 @@ function LeadFormView(props) {
|
|
|
4411
4294
|
return content.invalidEmailErrorMessage;
|
|
4412
4295
|
}
|
|
4413
4296
|
} }, (((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
4414
|
-
class: sheet$
|
|
4297
|
+
class: sheet$8.classes.ErrorStyle,
|
|
4415
4298
|
helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
4416
4299
|
content.requiredFieldErrorMessage,
|
|
4417
4300
|
}
|
|
4418
4301
|
: []))),
|
|
4419
4302
|
h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
|
|
4420
4303
|
content.formData,
|
|
4421
|
-
h("div", { class: sheet$
|
|
4304
|
+
h("div", { class: sheet$8.classes.ButtonsContainer },
|
|
4422
4305
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
|
|
4423
4306
|
}
|
|
4424
4307
|
|
|
4425
|
-
const style$
|
|
4308
|
+
const style$9 = {
|
|
4426
4309
|
ErrorStyle: {
|
|
4427
4310
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
4428
4311
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -4438,7 +4321,7 @@ const style$a = {
|
|
|
4438
4321
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
4439
4322
|
},
|
|
4440
4323
|
};
|
|
4441
|
-
const vanillaStyle$
|
|
4324
|
+
const vanillaStyle$6 = `
|
|
4442
4325
|
:host {
|
|
4443
4326
|
margin: 0 auto;
|
|
4444
4327
|
width: 100%;
|
|
@@ -4453,8 +4336,8 @@ sl-select::part(menu){
|
|
|
4453
4336
|
}
|
|
4454
4337
|
`;
|
|
4455
4338
|
jss.setup(create());
|
|
4456
|
-
const sheet$
|
|
4457
|
-
const styleString$
|
|
4339
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
4340
|
+
const styleString$9 = sheet$9.toString();
|
|
4458
4341
|
function LeadDropdownFieldView(props) {
|
|
4459
4342
|
var _a, _b, _c, _d, _e;
|
|
4460
4343
|
const { states, content } = props;
|
|
@@ -4465,10 +4348,10 @@ function LeadDropdownFieldView(props) {
|
|
|
4465
4348
|
}, {
|
|
4466
4349
|
dropdownLabel,
|
|
4467
4350
|
});
|
|
4468
|
-
return (h("div", { class: sheet$
|
|
4351
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
4469
4352
|
h("style", { type: "text/css" },
|
|
4470
|
-
vanillaStyle$
|
|
4471
|
-
styleString$
|
|
4353
|
+
vanillaStyle$6,
|
|
4354
|
+
styleString$9),
|
|
4472
4355
|
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 }) => {
|
|
4473
4356
|
if (!value && !content.dropdownOptional) {
|
|
4474
4357
|
return getRequiredFieldErrorMessage({
|
|
@@ -4476,10 +4359,10 @@ function LeadDropdownFieldView(props) {
|
|
|
4476
4359
|
});
|
|
4477
4360
|
}
|
|
4478
4361
|
} }, (((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
4479
|
-
class: sheet$
|
|
4362
|
+
class: sheet$9.classes.ErrorStyle,
|
|
4480
4363
|
}
|
|
4481
4364
|
: [])), content.selectOptions),
|
|
4482
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
4365
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
|
|
4483
4366
|
dropdownLabel: content.dropdownLabel,
|
|
4484
4367
|
})))));
|
|
4485
4368
|
}
|
|
@@ -4518,4 +4401,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4518
4401
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4519
4402
|
};
|
|
4520
4403
|
|
|
4521
|
-
export {
|
|
4404
|
+
export { rewardExchange as A, BigStatView as B, CardFeedView as C, DropdownFieldView as D, EditProfileView as E, useShareButton as F, useShareLink as G, HeroView as H, InputFieldView as I, ProgressBarView as J, ProgressBar as K, LeaderboardView as L, LeadFormView as M, NameFieldsView as N, LeadDropdownFieldView as O, PortalChangePasswordView as P, ShadowViewAddon as Q, ReferralIframeView as R, StatContainerView as S, TaskCardView as T, useBigStat as U, withShadowView as V, demoRewardExchange as W, ShareButtonView as a, PoweredByImg as b, CheckboxFieldView as c, CouponCodeView as d, ChangeMarktingView as e, PortalFooterView as f, PortalFrameView as g, RewardExchangeView as h, rewardExchangeLongText as i, rewardExchangeSelected as j, chooseAmountFixed as k, chooseAmountFixedNoDescription as l, chooseAmountVariable as m, chooseAmountVariableNoDescription as n, chooseAmountVariableDisabled as o, chooseAmountVariableUnavailable as p, confirmFixed as q, rewardExchangeCustomErrorMsg as r, confirmVariable as s, redemptionError as t, useDemoBigStat as u, queryError as v, success as w, successVariable as x, loading as y, empty as z };
|