@saasquatch/mint-components 1.9.4 → 1.9.5
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-850c94e5.js → ShadowViewAddon-21aa34f8.js} +4 -4
- package/dist/cjs/{global-63fc1ac0.js → global-4a59a374.js} +1 -1
- package/dist/cjs/{index.module-1c1b1773.js → index.module-df530553.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-80fc0098.js → re-render-1976e05e.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +6 -6
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +8 -8
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-87cb5517.js → sqm-invoice-table-view-6669def3.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-ce511a66.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-a3d827f0.js → sqm-portal-email-verification-view-07161940.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-d1417903.js → sqm-portal-profile-view-07b99f80.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +9 -9
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-9df6a4d0.js → useChildElements-e0d44916.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-8d3bdcfd.js → useInstantAccessRegistration-bbe746d1.js} +2 -2
- package/dist/cjs/{useReferralTable-d7e272e6.js → useReferralTable-a76adb0d.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-e4aa53f4.js → useRegistrationFormState-876ed65d.js} +1 -1
- package/dist/cjs/{utilities-951a3f99.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +1 -1
- package/dist/esm/{ShadowViewAddon-a68441ec.js → ShadowViewAddon-90897c22.js} +4 -4
- package/dist/esm/{global-b789ef81.js → global-e7bb0343.js} +1 -1
- package/dist/esm/{index.module-de2fdcd8.js → index.module-def4aec5.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-c459984f.js → re-render-12fd274a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +6 -6
- package/dist/esm/sqm-big-stat_38.entry.js +8 -8
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- 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-invoice-table-view-46567eb3.js → sqm-invoice-table-view-0605d3e3.js} +1 -1
- 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-79a01b6c.js → sqm-navigation-sidebar-item-view-60ef06cc.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-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-d729b7ad.js → sqm-portal-email-verification-view-0b32261f.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-7abe0662.js → sqm-portal-profile-view-03026a5e.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-registration-form.entry.js +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- 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 +9 -9
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-807a9d59.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-9c15a277.js → useInstantAccessRegistration-46b89952.js} +2 -2
- package/dist/esm/{useReferralTable-0afc64c8.js → useReferralTable-f4de0650.js} +3 -3
- package/dist/esm/{useRegistrationFormState-c62cdeef.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm/{utilities-68e1c75f.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-a68441ec.js → ShadowViewAddon-90897c22.js} +1 -1
- package/dist/esm-es5/{global-b789ef81.js → global-e7bb0343.js} +1 -1
- package/dist/esm-es5/{index.module-de2fdcd8.js → index.module-def4aec5.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-c459984f.js → re-render-12fd274a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-invoice-table-view-46567eb3.js → sqm-invoice-table-view-0605d3e3.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-60ef06cc.js +1 -0
- 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-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-d729b7ad.js → sqm-portal-email-verification-view-0b32261f.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-7abe0662.js → sqm-portal-profile-view-03026a5e.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-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.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/{useChildElements-807a9d59.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-9c15a277.js → useInstantAccessRegistration-46b89952.js} +1 -1
- package/dist/esm-es5/{useReferralTable-0afc64c8.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-c62cdeef.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm-es5/{utilities-68e1c75f.js → utilities-3f5bba22.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-6f7362b8.entry.js → p-007383e1.entry.js} +2 -2
- package/dist/mint-components/{p-038ec88a.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/{p-abb13a96.js → p-05948592.js} +1 -1
- package/dist/mint-components/{p-6c8d2253.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-d77daf8a.js → p-0b9fa97f.js} +1 -1
- package/dist/mint-components/{p-5f4a6fb1.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/{p-2e741415.js → p-0e556260.js} +1 -1
- package/dist/mint-components/{p-899b20df.entry.js → p-10e89d0a.entry.js} +1 -1
- package/dist/mint-components/{p-83a0dbdc.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/{p-38ec36d6.entry.js → p-24c03a99.entry.js} +1 -1
- package/dist/mint-components/{p-6a9aeb31.js → p-2cbb6969.js} +1 -1
- package/dist/mint-components/{p-f89164ab.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-fee2e0c4.js → p-2ee2ebba.js} +1 -1
- package/dist/mint-components/{p-24329884.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-79ec2410.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-fe022ca4.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/p-41f15489.entry.js +1 -0
- package/dist/mint-components/{p-03e3ad0a.system.entry.js → p-445ffcfd.system.entry.js} +1 -1
- package/dist/mint-components/{p-b2a7b2c0.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-f060171e.entry.js → p-469dd2ad.entry.js} +1 -1
- package/dist/mint-components/{p-103853e7.system.entry.js → p-4864ed8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-ca4663f8.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/{p-5184a08a.js → p-51f517a2.js} +1 -1
- package/dist/mint-components/{p-fcbda8d2.system.entry.js → p-55a782cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-7da78815.system.js → p-573fab0f.system.js} +1 -1
- package/dist/mint-components/{p-eec1ca4c.entry.js → p-57e4ef5f.entry.js} +1 -1
- package/dist/mint-components/{p-2afe9d99.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-ee240760.entry.js → p-5956a47e.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-54ea0df0.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-973a4bfc.entry.js → p-5d485450.entry.js} +1 -1
- package/dist/mint-components/{p-bd4f768a.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-28f8d439.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-2ec39cff.system.entry.js → p-64491c96.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4018314.js → p-66172a05.js} +1 -1
- package/dist/mint-components/{p-d9c92d91.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-2c3d3992.system.entry.js → p-6988eca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-cb75134c.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-580190e2.system.entry.js → p-733825fa.system.entry.js} +1 -1
- package/dist/mint-components/p-770368bc.system.js +1 -0
- package/dist/mint-components/{p-7b1e561c.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/{p-b933b436.system.entry.js → p-782e7e75.system.entry.js} +1 -1
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/{p-153ba822.entry.js → p-7a572b34.entry.js} +2 -2
- package/dist/mint-components/p-86990110.entry.js +1 -0
- package/dist/mint-components/{p-88d49983.entry.js → p-8b5b78ca.entry.js} +1 -1
- package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
- package/dist/mint-components/{p-757998e2.system.entry.js → p-8fe21979.system.entry.js} +1 -1
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/{p-019f6251.entry.js → p-956ed10a.entry.js} +2 -2
- package/dist/mint-components/{p-796568da.system.js → p-97198e2c.system.js} +1 -1
- package/dist/mint-components/{p-e8992cef.system.entry.js → p-973f6501.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f369e92.js → p-9774fbc5.js} +1 -1
- package/dist/mint-components/{p-ef020533.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-eea56ba4.system.entry.js → p-a61e6394.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-a26bfa84.js → p-a8f7cb95.js} +1 -1
- package/dist/mint-components/{p-7b2c5a2a.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-051add6d.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/p-af062c8f.system.entry.js +1 -0
- package/dist/mint-components/{p-e8488df1.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-870545bb.system.entry.js → p-b12f7281.system.entry.js} +1 -1
- package/dist/mint-components/{p-bd89e709.system.js → p-b370fca8.system.js} +1 -1
- package/dist/mint-components/{p-4508a542.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ef71c21.system.entry.js → p-b8dbb809.system.entry.js} +1 -1
- package/dist/mint-components/{p-608f31a7.system.js → p-be38de26.system.js} +1 -1
- package/dist/mint-components/{p-7e96c34c.system.js → p-c7a3fd1b.system.js} +1 -1
- package/dist/mint-components/{p-231c8489.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-fc459925.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-f4f63aca.entry.js → p-cf158064.entry.js} +2 -2
- package/dist/mint-components/{p-d957004b.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/{p-90e4c635.system.entry.js → p-cfb48ad2.system.entry.js} +1 -1
- package/dist/mint-components/{p-17f1d627.entry.js → p-d51eb656.entry.js} +2 -2
- package/dist/mint-components/{p-82f697b6.system.js → p-d7df3dfd.system.js} +1 -1
- package/dist/mint-components/{p-a188109b.entry.js → p-dab544d9.entry.js} +1 -1
- package/dist/mint-components/{p-28b27f3a.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-66a4e521.system.js → p-e3710077.system.js} +1 -1
- package/dist/mint-components/{p-b8954277.entry.js → p-e5a0c50e.entry.js} +1 -1
- package/dist/mint-components/{p-3cfd2915.system.entry.js → p-e84a74fe.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe677824.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-7dbc8da3.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe5631aa.entry.js → p-ebcec043.entry.js} +1 -1
- package/dist/mint-components/{p-c50fb16b.system.entry.js → p-f8f6c99d.system.entry.js} +1 -1
- package/dist/mint-components/{p-bebc89ce.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/mint-components/{p-5674d07f.entry.js → p-fe5675b3.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +2 -2
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-79a01b6c.js +0 -1
- package/dist/mint-components/p-1ae99002.entry.js +0 -1
- package/dist/mint-components/p-3e2c07ed.entry.js +0 -1
- package/dist/mint-components/p-46578c56.system.js +0 -1
- package/dist/mint-components/p-62df0821.system.entry.js +0 -1
- package/dist/mint-components/p-6b5a25b0.entry.js +0 -1
- package/dist/mint-components/p-9c27c4ff.entry.js +0 -1
- package/dist/mint-components/p-a501463f.js +0 -1
- package/dist/mint-components/p-e4ac12d5.entry.js +0 -1
- package/dist/mint-components/p-f78940fb.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as r}from"./p-fd2c5407.js";import{c as o}from"./p-
|
|
1
|
+
import{k as r}from"./p-fd2c5407.js";import{c as o}from"./p-a8f7cb95.js";import{j as a}from"./p-e7e129ac.js";import{u as t}from"./p-a6a7dcaa.js";function i(i){const n=new URLSearchParams(window.location.search),s=null==n?void 0:n.get("_saasquatch"),{registrationFormState:l,setRegistrationFormState:e}=t(),[c,{loading:d}]=o(),[m,u]=r("");return{states:{loading:d,error:null==l?void 0:l.error,registrationFormState:l},callbacks:{submit:async r=>{var o;u("");let t=r.target.getFormControls(),n=r.detail.formData,d={};null==t||t.map((r=>{if(!r.name)return;const o=r.name,t=r.value;if(a.set(n,o,t),r.required&&!t&&a.set(d,o,i.requiredFieldErrorMessage),"function"==typeof r.validationError){const i=(0,r.validationError)({control:r,key:o,value:t});i&&a.set(d,o,i)}}));const m={firstName:n.firstName,lastName:n.lastName,email:n.email,...(null==i?void 0:i.includeCookies)&&s?{cookies:s}:{}};try{const r=await c(m);if(r instanceof Error)throw r;e({...l,loading:!1,error:"",validationErrors:{}})}catch(r){(null===(o=null==r?void 0:r.message)||void 0===o?void 0:o.includes("is not valid"))?e({...l,loading:!1,error:"",validationErrors:{email:i.invalidEmailErrorMessage}}):e("fraud_error"===(null==r?void 0:r.name)?{...l,loading:!1,error:"FRAUD"}:{...l,loading:!1,error:i.networkErrorMessage,validationErrors:{}})}}}}}export{i as u}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-2a414b2e.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-2a414b2e.system.js","./p-b370fca8.system.js","./p-b2295bc5.system.js","./p-02424350.system.js"],(function(r){"use strict";var e,t,n,a;return{setters:[function(r){e=r.k},function(r){t=r.c},function(r){n=r.j},function(r){a=r.u}],execute:function(){r("u",i);function i(r){var i=this;var o=new URLSearchParams(window.location.search);var s=o===null||o===void 0?void 0:o.get("_saasquatch");var l=a(),u=l.registrationFormState,c=l.setRegistrationFormState;var f=t(),v=f[0],d=f[1],_=d.loading,g=d.errors,h=d.data;var p=e(""),m=p[0],y=p[1];var b=function(e){return __awaiter(i,void 0,void 0,(function(){var t,a,i,o,l,f,d;return __generator(this,(function(_){switch(_.label){case 0:y("");a=e.target.getFormControls();i=e.detail.formData;o={};a===null||a===void 0?void 0:a.map((function(e){if(!e.name)return;var t=e.name;var a=e.value;n.set(i,t,a);if(e.required&&!a){n.set(o,t,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var s=e.validationError;var l=s({control:e,key:t,value:a});if(l)n.set(o,t,l)}}));l=__assign({firstName:i.firstName,lastName:i.lastName,email:i.email},(r===null||r===void 0?void 0:r.includeCookies)&&s?{cookies:s}:{});_.label=1;case 1:_.trys.push([1,3,,4]);return[4,v(l)];case 2:f=_.sent();if(f instanceof Error){throw f}c(__assign(__assign({},u),{loading:false,error:"",validationErrors:{}}));return[3,4];case 3:d=_.sent();if((t=d===null||d===void 0?void 0:d.message)===null||t===void 0?void 0:t.includes("is not valid")){c(__assign(__assign({},u),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else if((d===null||d===void 0?void 0:d.name)==="fraud_error"){c(__assign(__assign({},u),{loading:false,error:"FRAUD"}))}else{c(__assign(__assign({},u),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};return{states:{loading:_,error:u===null||u===void 0?void 0:u.error,registrationFormState:u},callbacks:{submit:b}}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-64c3217a.js";import{i as t}from"./p-
|
|
1
|
+
import{h as e}from"./p-64c3217a.js";import{i as t}from"./p-9774fbc5.js";import{A as o,a as s}from"./p-02be1a88.js";import{c as r}from"./p-cef45012.js";import{T as a}from"./p-5d0c9424.js";const i=r({Wrapper:o,Column:{...s},ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sl-color-gray-500)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}}),n=i.toString();function l(o){const{states:s,callbacks:r,content:{email:l,verifyMessage:c,emailVerificationHeader:p,resendEmailButtonText:m,verificationStatusMessage:f,verificationLoadingMessage:d,verificationResentMessage:u}}=o;return e("div",{class:i.classes.Wrapper},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",n),e(a,{type:"h3"},p),e("sl-form",{class:i.classes.Column,"onSl-submit":r.submit},o.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},o.states.error)),o.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},u)),e(a,{type:"p"},t.formatMessage({id:"verifyMessage",defaultMessage:c},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},l)})),e("p",{style:{color:"var(--sl-color-gray-500)",fontSize:"14px"}},t.formatMessage({id:"verificationStatus",defaultMessage:s.loadingVerification?d+" {countdown}":f},{countdown:s.loadingVerification?e("sl-spinner",null):s.countdown})),e("a",{class:s.loading?i.classes.ButtonLinkLoading:i.classes.ButtonLink,onClick:r.submit},m)))}export{l as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./p-64c3217a.js";import{n as t}from"./p-fd2c5407.js";import{b as a,$ as o,i as r}from"./p-
|
|
1
|
+
import{r as s}from"./p-64c3217a.js";import{n as t}from"./p-fd2c5407.js";import{b as a,$ as o,i as r}from"./p-a8f7cb95.js";const c=class{constructor(a){s(this,a),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){a(void 0),o.push({pathname:s,search:""})}(this)}};export{c as sqm_portal_logout}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o}from"./p-64c3217a.js";import{n as t}from"./p-fd2c5407.js";import{a as r}from"./p-
|
|
1
|
+
import{r as s,h as o}from"./p-64c3217a.js";import{n as t}from"./p-fd2c5407.js";import{a as r}from"./p-a8f7cb95.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{C as a}from"./p-fb93c962.js";const c=class{constructor(o){s(this,o),this.color="#000000",t(this)}disconnectedCallback(){}render(){var s;const t=r();return"SquatchJS2"!==t.type||"POPUP"!==(null===(s=t.widgetIdent)||void 0===s?void 0:s.engagementMedium)?o("div",{style:{display:"none"}}):o(a,{onClick:()=>{var s,o;"SquatchJS2"===t.type&&(null===(o=(s=t.api).close)||void 0===o||o.call(s))},color:this.color})}};export{c as sqm_close_button}
|