@saasquatch/mint-components 1.12.1-2 → 1.12.1-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-88821c64.js → ShadowViewAddon-fa205e28.js} +26 -36
- package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +61 -67
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- 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 +10 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +46 -46
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +11 -41
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
- package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-170728a6.js} +26 -36
- package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
- package/dist/esm/sqm-big-stat_39.entry.js +61 -67
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -11
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
- 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 +10 -10
- package/dist/esm/sqm-stencilbook.entry.js +46 -46
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-170728a6.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm-es5/index.module-def4aec5.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.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_39.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-71915a5e.js → sqm-invoice-table-view-6e13a323.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-c6ac5430.js → sqm-portal-email-verification-view-4307c992.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-15ddbec8.js → sqm-portal-profile-view-ffe955c8.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-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-443732be.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-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
- package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-b651706a.js → p-04e666dc.js} +2 -2
- package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/p-1c857edb.entry.js +33 -0
- package/dist/mint-components/{p-acd77a6e.entry.js → p-1ce3afa6.entry.js} +11 -11
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-3cb18382.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3e97f8a.system.entry.js → p-5b761128.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-a02afa72.system.js → p-62221541.system.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
- package/dist/mint-components/p-770368bc.system.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/p-7c6c96e2.system.entry.js +1 -0
- package/dist/mint-components/p-7f088154.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/{p-17f56865.entry.js → p-8b617d7e.entry.js} +2 -2
- package/dist/mint-components/p-8baf6566.system.entry.js +1 -0
- package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/p-a8f7cb95.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/p-b370fca8.system.js +1 -0
- package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/{p-5cd917db.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
- package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8233366.entry.js → p-ec41d6a4.entry.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/{p-ca809fdd.system.js → p-ed17e637.system.js} +1 -1
- package/dist/mint-components/p-f3dd15c5.entry.js +13 -0
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +2 -8
- package/dist/types/components.d.ts +2 -14
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
- package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
- package/dist/mint-components/p-15a64357.entry.js +0 -13
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-6792c8d8.system.entry.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
require('./index.module-
|
|
7
|
+
const global = require('./global-02e50f09.js');
|
|
8
|
+
require('./index.module-df530553.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
|
|
9
9
|
async function useGraphQLClientProvider({ domain }) {
|
|
10
|
-
const token = index_module.
|
|
10
|
+
const token = index_module.J();
|
|
11
11
|
const appDomain = domain;
|
|
12
|
-
const tenantAlias = index_module.
|
|
12
|
+
const tenantAlias = index_module.z();
|
|
13
13
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
14
|
-
const managedIdentityClient = index_module.
|
|
15
|
-
const [, setGraphQLClient] = stencilHooks_module.m(index_module
|
|
14
|
+
const managedIdentityClient = index_module.Ee(appDomain, tenantAlias, token);
|
|
15
|
+
const [, setGraphQLClient] = stencilHooks_module.m(index_module.Pe, managedIdentityClient);
|
|
16
16
|
stencilHooks_module.useEffect(() => {
|
|
17
17
|
setGraphQLClient(managedIdentityClient);
|
|
18
18
|
}, [managedIdentityClient]);
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-876ed65d.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-bbe746d1.js');
|
|
15
15
|
|
|
16
16
|
const InstantAccessRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
11
11
|
|
|
@@ -24,10 +24,10 @@ const GET_RANK = index_module.dist.gql `
|
|
|
24
24
|
`;
|
|
25
25
|
function useLeaderboardRank(props) {
|
|
26
26
|
var _a, _b, _c, _d;
|
|
27
|
-
const programIdContext = index_module.
|
|
27
|
+
const programIdContext = index_module.H();
|
|
28
28
|
// Default to context, overriden by props
|
|
29
29
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
30
|
-
const user = index_module.
|
|
30
|
+
const user = index_module.Q();
|
|
31
31
|
const rankVariables = programId
|
|
32
32
|
? {
|
|
33
33
|
type: props.leaderboardType,
|
|
@@ -40,7 +40,7 @@ function useLeaderboardRank(props) {
|
|
|
40
40
|
if (props.interval) {
|
|
41
41
|
rankVariables.filter["interval"] = props.interval;
|
|
42
42
|
}
|
|
43
|
-
const { data: rankData } = index_module.
|
|
43
|
+
const { data: rankData } = index_module.yn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
44
44
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? global.intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
45
45
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
46
46
|
})
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -23,8 +23,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
23
23
|
`;
|
|
24
24
|
function useLogoutCurrentUser(props) {
|
|
25
25
|
var _a, _b;
|
|
26
|
-
const user = index_module.
|
|
27
|
-
const { loading, data } = index_module.
|
|
26
|
+
const user = index_module.Q();
|
|
27
|
+
const { loading, data } = index_module.yn(GET_USER_DETAILS, {}, !user);
|
|
28
28
|
const onSwitchClick = () => {
|
|
29
29
|
index_module.setUserIdentity(undefined);
|
|
30
30
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.$n.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
12
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a125ec5f.js');
|
|
13
13
|
|
|
14
14
|
function useNavigationSidebarItem(props) {
|
|
15
|
-
const currentPage = index_module.
|
|
15
|
+
const currentPage = index_module.Sn();
|
|
16
16
|
return {
|
|
17
17
|
states: {
|
|
18
18
|
active: currentPage.pathname === props.path,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
9
9
|
|
|
10
10
|
const NavigationSidebar = class {
|
|
@@ -20,8 +20,8 @@ const NavigationSidebar = class {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
function useNavigationSidebar() {
|
|
23
|
-
const location = index_module.
|
|
24
|
-
const programId = index_module.
|
|
23
|
+
const location = index_module.Sn();
|
|
24
|
+
const programId = index_module.H();
|
|
25
25
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
26
26
|
// Close hamburger menu after navigation
|
|
27
27
|
stencilHooks_module.useEffect(() => {
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
const mixins = require('./mixins-fe9d4112.js');
|
|
10
10
|
const JSS = require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
12
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
13
13
|
|
|
14
14
|
var constants = {
|
|
15
15
|
error: {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
|
|
10
10
|
const PopupContainerView = (props) => {
|
|
@@ -18,10 +18,10 @@ const PopupContainerView = (props) => {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
function usePopupContainer(props) {
|
|
21
|
-
const engagementMedium = index_module.
|
|
21
|
+
const engagementMedium = index_module.B();
|
|
22
22
|
function closePopup() {
|
|
23
23
|
var _a;
|
|
24
|
-
if (index_module.
|
|
24
|
+
if (index_module.B() === "POPUP") {
|
|
25
25
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -35,7 +35,7 @@ function usePopupContainer(props) {
|
|
|
35
35
|
? "0"
|
|
36
36
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
37
37
|
: "0";
|
|
38
|
-
const padding = index_module.
|
|
38
|
+
const padding = index_module.B() === "POPUP" ? popupPadding : embedPadding;
|
|
39
39
|
return {
|
|
40
40
|
states: {
|
|
41
41
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-02e50f09.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -4,21 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
17
|
-
const [request, { loading, data, errors }] = index_module.
|
|
18
|
-
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.
|
|
19
|
-
const userIdent = index_module.
|
|
17
|
+
const [request, { loading, data, errors }] = index_module.ln();
|
|
18
|
+
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.nn();
|
|
19
|
+
const userIdent = index_module.Q();
|
|
20
20
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
21
|
-
const urlParams = new URLSearchParams(index_module.
|
|
21
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
22
22
|
const nextPage = urlParams.get("nextPage");
|
|
23
23
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
24
24
|
const [error, setError] = stencilHooks_module.useState("");
|
|
@@ -48,7 +48,7 @@ function usePortalEmailVerification(props) {
|
|
|
48
48
|
const data = (await getVerificationStatus());
|
|
49
49
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
50
50
|
clearInterval(timerRef.current);
|
|
51
|
-
return index_module.
|
|
51
|
+
return index_module.$n.push({
|
|
52
52
|
pathname: props.redirectPath,
|
|
53
53
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
54
54
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -16,8 +16,8 @@ function usePortalForgotPassword(props) {
|
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
17
17
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
18
18
|
const [error, setError] = stencilHooks_module.useState("");
|
|
19
|
-
const [request, { loading, data, errors }] = index_module.
|
|
20
|
-
const urlParams = new URLSearchParams(index_module.
|
|
19
|
+
const [request, { loading, data, errors }] = index_module.un();
|
|
20
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
21
21
|
const nextPage = urlParams.get("nextPage");
|
|
22
22
|
const submit = async (event) => {
|
|
23
23
|
var _a;
|
|
@@ -106,7 +106,7 @@ const PortalForgotPassword = class {
|
|
|
106
106
|
? usePortalForgotPasswordDemo(this)
|
|
107
107
|
: usePortalForgotPassword(this);
|
|
108
108
|
const content = {
|
|
109
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
109
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginText))),
|
|
110
110
|
messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
|
|
111
111
|
emailLabel: this.emailLabel,
|
|
112
112
|
submitLabel: this.submitLabel,
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
|
|
9
9
|
function usePortalLogout({ nextPage }) {
|
|
10
10
|
index_module.setUserIdentity(undefined);
|
|
11
|
-
index_module.
|
|
11
|
+
index_module.$n.push({ pathname: nextPage, search: "" });
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const PortalLogout = class {
|
package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-02e50f09.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
7
7
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
14
|
-
const utilities = require('./utilities-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
|
|
14
|
+
const utilities = require('./utilities-cec9dd36.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
17
17
|
query {
|
|
@@ -57,12 +57,12 @@ const defaultFormState = {
|
|
|
57
57
|
error: "",
|
|
58
58
|
};
|
|
59
59
|
function usePortalProfile(props) {
|
|
60
|
-
const userIdent = index_module.
|
|
60
|
+
const userIdent = index_module.Q();
|
|
61
61
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
62
62
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
63
63
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
64
|
-
const userDataResponse = index_module.
|
|
65
|
-
const [upsertUser, upsertUserResponse] = index_module
|
|
64
|
+
const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
65
|
+
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
66
66
|
stencilHooks_module.useEffect(() => {
|
|
67
67
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
68
68
|
return;
|
|
@@ -4,25 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
|
|
9
9
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
10
10
|
var _a;
|
|
11
|
-
const userIdent = index_module.
|
|
11
|
+
const userIdent = index_module.Q();
|
|
12
12
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
13
13
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
14
|
-
const { pathname, search } = index_module.
|
|
14
|
+
const { pathname, search } = index_module.Sn();
|
|
15
15
|
const nextPageParam = new URLSearchParams();
|
|
16
16
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
17
17
|
stencilHooks_module.useEffect(() => {
|
|
18
18
|
if (!authenticated) {
|
|
19
|
-
return index_module.
|
|
19
|
+
return index_module.$n.push({
|
|
20
20
|
pathname: redirectTo,
|
|
21
21
|
search: "?" + nextPageParam.toString(),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
if (requireEmailVerification && !emailVerified) {
|
|
25
|
-
return index_module.
|
|
25
|
+
return index_module.$n.push({
|
|
26
26
|
pathname: redirectToUnverified || redirectTo,
|
|
27
27
|
search: "?" + nextPageParam.toString(),
|
|
28
28
|
});
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
14
14
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
15
15
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
16
16
|
|
|
@@ -30,10 +30,10 @@ const RegistrationFormQuery = index_module.dist.gql `
|
|
|
30
30
|
function usePortalRegistrationForm(props) {
|
|
31
31
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
32
32
|
const formRef = stencilHooks_module.useRef(null);
|
|
33
|
-
const locale = index_module.
|
|
33
|
+
const locale = index_module.L();
|
|
34
34
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
35
|
-
const [request, { loading, errors, data, formError }] = index_module.
|
|
36
|
-
const queryResponse = index_module.
|
|
35
|
+
const [request, { loading, errors, data, formError }] = index_module.We();
|
|
36
|
+
const queryResponse = index_module.yn(RegistrationFormQuery, { key: props.formKey });
|
|
37
37
|
const formLoading = loading || queryResponse.loading;
|
|
38
38
|
stencilHooks_module.useEffect(() => {
|
|
39
39
|
var _a, _b, _c;
|
|
@@ -112,9 +112,6 @@ function usePortalRegistrationForm(props) {
|
|
|
112
112
|
delete formData.password;
|
|
113
113
|
delete formData.confirmPassword;
|
|
114
114
|
const redirectPath = props.redirectPath;
|
|
115
|
-
const marketingEmailOptInDate = formData.marketingEmails
|
|
116
|
-
? Date.now()
|
|
117
|
-
: null;
|
|
118
115
|
const variables = {
|
|
119
116
|
key: props.formKey,
|
|
120
117
|
formData: {
|
|
@@ -122,7 +119,6 @@ function usePortalRegistrationForm(props) {
|
|
|
122
119
|
email,
|
|
123
120
|
password,
|
|
124
121
|
redirectPath,
|
|
125
|
-
...(formData.marketingEmails && { marketingEmailOptInDate }),
|
|
126
122
|
...formData,
|
|
127
123
|
},
|
|
128
124
|
};
|
|
@@ -142,7 +138,7 @@ function usePortalRegistrationForm(props) {
|
|
|
142
138
|
managedIdentityResponse.result.results.length &&
|
|
143
139
|
managedIdentityResponse.result.results[0].success &&
|
|
144
140
|
managedIdentityResponse.result.results[0].data.token) {
|
|
145
|
-
index_module.
|
|
141
|
+
index_module.$n.push(props.nextPage);
|
|
146
142
|
}
|
|
147
143
|
else if (
|
|
148
144
|
// check for blocked email error response
|
|
@@ -355,7 +351,7 @@ const PortalRegistrationForm = class {
|
|
|
355
351
|
: usePortalRegistrationForm(this);
|
|
356
352
|
const content = {
|
|
357
353
|
formData: index.h("slot", { name: "formData" }),
|
|
358
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
354
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginLabel))),
|
|
359
355
|
terms: index.h("slot", { name: "terms" }),
|
|
360
356
|
emailOptIn: index.h("slot", { name: "emailOptIn" }),
|
|
361
357
|
emailLabel: this.emailLabel,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -17,9 +17,9 @@ function usePortalResetPassword(props) {
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
19
19
|
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
21
|
-
const [resetPassword, resetPasswordState] = index_module.
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
20
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.Qe();
|
|
21
|
+
const [resetPassword, resetPasswordState] = index_module.Te();
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
urlParams.delete("oobCode");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -57,10 +57,10 @@ function usePortalResetPassword(props) {
|
|
|
57
57
|
const gotoNextPage = () => {
|
|
58
58
|
urlParams.delete("nextPage");
|
|
59
59
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
60
|
-
index_module.
|
|
60
|
+
index_module.$n.push(url.href);
|
|
61
61
|
};
|
|
62
62
|
const failed = () => {
|
|
63
|
-
index_module.
|
|
63
|
+
index_module.$n.push({
|
|
64
64
|
pathname: props.failedPage,
|
|
65
65
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
66
66
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
@@ -17,9 +17,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [completed, setCompleted] = stencilHooks_module.useState(false);
|
|
19
19
|
const [successful, setSuccessful] = stencilHooks_module.useState(false);
|
|
20
|
-
const userIdent = index_module.
|
|
21
|
-
const [request, { loading, data, errors }] = index_module.
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
20
|
+
const userIdent = index_module.Q();
|
|
21
|
+
const [request, { loading, data, errors }] = index_module.an();
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
const oobEmail = urlParams.get("email");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -30,7 +30,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
30
30
|
successful);
|
|
31
31
|
const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
|
|
32
32
|
const failed = () => {
|
|
33
|
-
return index_module.
|
|
33
|
+
return index_module.$n.push({
|
|
34
34
|
pathname: failedPage,
|
|
35
35
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
36
36
|
});
|
|
@@ -38,7 +38,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
38
38
|
const gotoNextPage = () => {
|
|
39
39
|
urlParams.delete("nextPage");
|
|
40
40
|
const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
|
|
41
|
-
index_module.
|
|
41
|
+
index_module.$n.push(url.href);
|
|
42
42
|
};
|
|
43
43
|
const logout = () => {
|
|
44
44
|
setTimeout(() => {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
15
15
|
const luxon = require('./luxon-05098e19.js');
|
|
16
16
|
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-a76adb0d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
20
20
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-876ed65d.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-bbe746d1.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|