@saasquatch/mint-components 1.12.1-17 → 1.12.1-18
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-e7d97410.js → ShadowViewAddon-9aee7df5.js} +12 -12
- package/dist/cjs/{global-02e50f09.js → global-41c0a650.js} +1 -1
- package/dist/cjs/{index.module-df530553.js → index.module-d8342710.js} +12 -10
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-1976e05e.js → re-render-dd8d65bf.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +51 -51
- package/dist/cjs/sqm-big-stat_40.cjs.entry.js +42 -43
- 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 +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-41a0b707.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-5f7886d6.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- 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-292b5bf4.js → sqm-portal-email-verification-view-56fabc90.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c9c60a6.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- 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 +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +44 -44
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-57e11069.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-14ccf9d4.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-ef36b29e.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js} +1 -1
- package/dist/cjs/{utilities-cec9dd36.js → utilities-7df0fdad.js} +1 -1
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +0 -1
- package/dist/esm/{ShadowViewAddon-149b4015.js → ShadowViewAddon-cadd38e4.js} +12 -12
- package/dist/esm/{global-04c7d3b5.js → global-c1e70cb2.js} +1 -1
- package/dist/esm/{index.module-def4aec5.js → index.module-3344e7dc.js} +4 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-12fd274a.js → re-render-29151677.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +51 -51
- package/dist/esm/sqm-big-stat_40.entry.js +42 -43
- 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 +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-08e47843.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- 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-4307c992.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- 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 +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +44 -44
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-e95685e5.js} +3 -3
- package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-f1ffc72e.js} +7 -7
- package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm/{utilities-3f5bba22.js → utilities-4d60af2c.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-149b4015.js → ShadowViewAddon-cadd38e4.js} +1 -1
- package/dist/esm-es5/{global-04c7d3b5.js → global-c1e70cb2.js} +1 -1
- package/dist/esm-es5/index.module-3344e7dc.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-12fd274a.js → re-render-29151677.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_40.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-6e13a323.js → sqm-invoice-table-view-eb4b3f63.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-08e47843.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-4307c992.js → sqm-portal-email-verification-view-52a45f66.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-ffe955c8.js → sqm-portal-profile-view-4810da8a.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-32e1bda1.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-e95685e5.js +1 -0
- package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-f1ffc72e.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm-es5/{utilities-3f5bba22.js → utilities-4d60af2c.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-711ba77e.system.entry.js → p-00aa314d.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ee2ebba.js → p-051dd2a0.js} +2 -2
- package/dist/mint-components/{p-6f6a6518.entry.js → p-063f4458.entry.js} +8 -8
- package/dist/mint-components/p-06ab1968.js +1 -0
- package/dist/mint-components/{p-ace06b9b.system.js → p-0afb7d5d.system.js} +1 -1
- package/dist/mint-components/{p-8679ed9f.system.entry.js → p-0c06a6f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-02424350.system.js → p-0f65c86c.system.js} +1 -1
- package/dist/mint-components/{p-2dd67762.entry.js → p-1064099e.entry.js} +1 -1
- package/dist/mint-components/{p-9f0629ba.system.entry.js → p-17c59360.system.entry.js} +1 -1
- package/dist/mint-components/{p-ed17e637.system.js → p-186542b8.system.js} +1 -1
- package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-19c94256.system.entry.js} +1 -1
- package/dist/mint-components/p-1ba5157e.js +1 -0
- package/dist/mint-components/{p-5cac90e8.system.entry.js → p-1ca1ca86.system.entry.js} +1 -1
- package/dist/mint-components/p-2037fbd3.js +1 -0
- package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-284cc389.system.entry.js} +1 -1
- package/dist/mint-components/{p-3223ba7b.entry.js → p-29a80f6e.entry.js} +1 -1
- package/dist/mint-components/p-2b85b9d2.entry.js +1 -0
- package/dist/mint-components/p-30909368.entry.js +1 -0
- package/dist/mint-components/{p-021a735d.entry.js → p-36332fc7.entry.js} +1 -1
- package/dist/mint-components/p-3d6eac77.js +1 -0
- package/dist/mint-components/p-3e87d803.entry.js +1 -0
- package/dist/mint-components/{p-5b333fa8.system.entry.js → p-3edd4ea8.system.entry.js} +1 -1
- package/dist/mint-components/{p-5f1c4160.system.entry.js → p-40ad6540.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec41d6a4.entry.js → p-42baa318.entry.js} +1 -1
- package/dist/mint-components/{p-0d8c53ac.system.js → p-45b1b2be.system.js} +1 -1
- package/dist/mint-components/p-46af0bf6.system.js +1 -0
- package/dist/mint-components/{p-6cef104b.entry.js → p-4893f186.entry.js} +1 -1
- package/dist/mint-components/{p-56f14840.entry.js → p-4c6c314b.entry.js} +1 -1
- package/dist/mint-components/{p-ce5afa40.entry.js → p-4e582dd8.entry.js} +1 -1
- package/dist/mint-components/p-50135af6.entry.js +1 -0
- package/dist/mint-components/{p-4502ed11.system.entry.js → p-5bdf586c.system.entry.js} +1 -1
- package/dist/mint-components/p-5d86d0b4.entry.js +1 -0
- package/dist/mint-components/{p-01cfff8a.system.entry.js → p-63b5126d.system.entry.js} +1 -1
- package/dist/mint-components/{p-d51053b0.system.entry.js → p-658d5964.system.entry.js} +1 -1
- package/dist/mint-components/{p-770368bc.system.js → p-67a8b7ae.system.js} +1 -1
- package/dist/mint-components/{p-b4c52c5a.entry.js → p-69a0a791.entry.js} +2 -2
- package/dist/mint-components/{p-35d84041.system.entry.js → p-6a4b1ec0.system.entry.js} +1 -1
- package/dist/mint-components/{p-4edde470.entry.js → p-6c9eb87a.entry.js} +1 -1
- package/dist/mint-components/{p-afd366ae.system.entry.js → p-6e50122b.system.entry.js} +1 -1
- package/dist/mint-components/p-6fdf020e.entry.js +1 -0
- package/dist/mint-components/{p-32d1d162.entry.js → p-7a33cd80.entry.js} +1 -1
- package/dist/mint-components/p-7c49ebfa.entry.js +1 -0
- package/dist/mint-components/{p-e3735866.entry.js → p-85f3c5d5.entry.js} +2 -2
- package/dist/mint-components/{p-3d4656bb.system.js → p-8833552d.system.js} +1 -1
- package/dist/mint-components/{p-d8d2de11.entry.js → p-91c1a54d.entry.js} +1 -1
- package/dist/mint-components/{p-41a11a7f.js → p-920641bf.js} +1 -1
- package/dist/mint-components/{p-f3dd15c5.entry.js → p-924384b2.entry.js} +2 -2
- package/dist/mint-components/{p-ce621bcc.js → p-9276151f.js} +1 -1
- package/dist/mint-components/{p-b5861974.system.entry.js → p-98072a24.system.entry.js} +1 -1
- package/dist/mint-components/{p-674a64fe.system.js → p-99b2ff9c.system.js} +1 -1
- package/dist/mint-components/{p-1bfc8eb0.system.entry.js → p-9e62ac1f.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd7ee007.system.js → p-a1b5a82c.system.js} +1 -1
- package/dist/mint-components/{p-ed095674.system.js → p-a2bce8d7.system.js} +1 -1
- package/dist/mint-components/{p-bb00db59.js → p-a7161d9f.js} +1 -1
- package/dist/mint-components/{p-4df8f1d2.system.js → p-a8ebb87a.system.js} +1 -1
- package/dist/mint-components/{p-be4b748a.system.entry.js → p-a8ec5664.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9050eb0.entry.js → p-ac1fb0c4.entry.js} +1 -1
- package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-ad8dbab8.system.entry.js} +1 -1
- package/dist/mint-components/{p-ece6db95.entry.js → p-ae72631b.entry.js} +2 -2
- package/dist/mint-components/{p-b6fc1227.system.entry.js → p-b6557eff.system.entry.js} +1 -1
- package/dist/mint-components/{p-7c6c96e2.system.entry.js → p-b758d962.system.entry.js} +1 -1
- package/dist/mint-components/{p-44787d6e.system.js → p-b8fff589.system.js} +1 -1
- package/dist/mint-components/{p-58ef25d3.system.entry.js → p-b9cab58d.system.entry.js} +1 -1
- package/dist/mint-components/{p-137ea86e.entry.js → p-bb873ddd.entry.js} +1 -1
- package/dist/mint-components/{p-59fe4ad1.system.js → p-c588e9c1.system.js} +1 -1
- package/dist/mint-components/{p-61eab172.js → p-c810bcfc.js} +1 -1
- package/dist/mint-components/{p-7049e9b0.entry.js → p-cb029418.entry.js} +1 -1
- package/dist/mint-components/{p-eaada4da.js → p-cbfc4b47.js} +1 -1
- package/dist/mint-components/{p-9c310991.system.entry.js → p-cd326a35.system.entry.js} +1 -1
- package/dist/mint-components/p-d1ebd4c9.system.entry.js +1 -0
- package/dist/mint-components/{p-aad11a68.entry.js → p-d2389ef4.entry.js} +1 -1
- package/dist/mint-components/{p-eba44835.system.entry.js → p-d5b327ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-af062c8f.system.entry.js → p-db0d4d3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4d233cd4.js → p-e10b0628.js} +1 -1
- package/dist/mint-components/{p-cf690d55.system.entry.js → p-e4d14213.system.entry.js} +1 -1
- package/dist/mint-components/p-ea2075fd.entry.js +33 -0
- package/dist/mint-components/{p-ba0dfda9.js → p-ea46d642.js} +1 -1
- package/dist/mint-components/{p-8704937c.js → p-eb64a65f.js} +1 -1
- package/dist/mint-components/{p-7731f793.system.entry.js → p-ebab1714.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ea58025.system.entry.js → p-f093ed85.system.entry.js} +1 -1
- package/dist/mint-components/{p-07f675ab.system.entry.js → p-f58c7201.system.entry.js} +1 -1
- package/dist/mint-components/{p-c84659a3.system.js → p-f8d2c679.system.js} +1 -1
- package/dist/mint-components/{p-3ec16698.entry.js → p-fa160846.entry.js} +2 -2
- package/dist/mint-components/{p-86990110.entry.js → p-fcf7f4c1.entry.js} +1 -1
- package/dist/mint-components/{p-1dd69917.system.entry.js → p-fe163a23.system.entry.js} +1 -1
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +0 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/index.module-def4aec5.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
- package/dist/mint-components/p-03494732.entry.js +0 -1
- package/dist/mint-components/p-0b9fa97f.js +0 -1
- package/dist/mint-components/p-10e89d0a.entry.js +0 -1
- package/dist/mint-components/p-1c857edb.entry.js +0 -33
- package/dist/mint-components/p-51f517a2.js +0 -1
- package/dist/mint-components/p-5be235f9.entry.js +0 -1
- package/dist/mint-components/p-79191f88.entry.js +0 -1
- package/dist/mint-components/p-7f088154.entry.js +0 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
- package/dist/mint-components/p-8e907ac7.system.entry.js +0 -1
- package/dist/mint-components/p-91669312.entry.js +0 -1
- package/dist/mint-components/p-a6a7dcaa.js +0 -1
- package/dist/mint-components/p-a8f7cb95.js +0 -1
- package/dist/mint-components/p-b370fca8.system.js +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo, _, d as dist,
|
|
3
|
+
import { i as intl } from './global-c1e70cb2.js';
|
|
4
|
+
import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn, h as Ue, o as je, V as Ve, u as useCallback, p as Qe, k as kn } from './index.module-3344e7dc.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
+
import { a as useRequestRerender } from './re-render-29151677.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-cc98d6c4.js';
|
|
11
11
|
import './luxon-7600be8d.js';
|
|
12
12
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
13
13
|
import './sqm-text-span-view-8d140661.js';
|
|
14
14
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
15
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
16
|
-
import { i as isEmpty } from './utilities-
|
|
15
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-4151cec4.js';
|
|
16
|
+
import { i as isEmpty } from './utilities-4d60af2c.js';
|
|
17
17
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, M as CardFeedView, k as CheckboxFieldView, O as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, g as ChangeMarktingView, d as PortalChangePasswordView, j as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, l as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
18
|
+
import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, M as CardFeedView, k as CheckboxFieldView, O as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, g as ChangeMarktingView, d as PortalChangePasswordView, j as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, l as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-cadd38e4.js';
|
|
19
19
|
import './sqm-portal-container-view-6c582684.js';
|
|
20
20
|
|
|
21
21
|
const BigStat = class {
|
|
@@ -298,11 +298,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
298
298
|
`;
|
|
299
299
|
function useCouponCode(props) {
|
|
300
300
|
var _a, _b, _c;
|
|
301
|
-
const user =
|
|
301
|
+
const user = J();
|
|
302
302
|
const programId = H();
|
|
303
303
|
const engagementMedium = B();
|
|
304
304
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
305
|
-
const { data, loading, refetch, errors } =
|
|
305
|
+
const { data, loading, refetch, errors } = wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
306
306
|
const getStatus = (reward) => {
|
|
307
307
|
if (!reward || !reward.statuses)
|
|
308
308
|
return "ERROR";
|
|
@@ -692,12 +692,12 @@ const defaultFormState = {
|
|
|
692
692
|
error: "",
|
|
693
693
|
};
|
|
694
694
|
function useEditProfile(props) {
|
|
695
|
-
const userIdent =
|
|
695
|
+
const userIdent = J();
|
|
696
696
|
const [showEdit, setShowEdit] = useState(false);
|
|
697
697
|
const [error, setError] = useState("");
|
|
698
698
|
const [userData, setUserData] = useState(undefined);
|
|
699
699
|
const [formState, setFormState] = useState(defaultFormState);
|
|
700
|
-
const userDataResponse =
|
|
700
|
+
const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
701
701
|
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
|
|
702
702
|
useEffect(() => {
|
|
703
703
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
@@ -1340,7 +1340,7 @@ function useLeaderboard(props) {
|
|
|
1340
1340
|
const programIdContext = H();
|
|
1341
1341
|
// Default to context, overriden by props
|
|
1342
1342
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1343
|
-
const user =
|
|
1343
|
+
const user = J();
|
|
1344
1344
|
const locale = L();
|
|
1345
1345
|
const variables = programId
|
|
1346
1346
|
? {
|
|
@@ -1360,8 +1360,8 @@ function useLeaderboard(props) {
|
|
|
1360
1360
|
if (props.maxRows > 0) {
|
|
1361
1361
|
variables["limit"] = props.maxRows;
|
|
1362
1362
|
}
|
|
1363
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1364
|
-
const { data: rankData } =
|
|
1363
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = wn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1364
|
+
const { data: rankData } = wn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1365
1365
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1366
1366
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1367
1367
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1697,12 +1697,12 @@ function NavigationMenuView(props) {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
|
|
1699
1699
|
function handleMenu(e) {
|
|
1700
|
-
|
|
1700
|
+
jn.push(e.detail.item.value);
|
|
1701
1701
|
}
|
|
1702
1702
|
function useNavigationMenu(props) {
|
|
1703
1703
|
const ref = useRef();
|
|
1704
|
-
const [, rerender] =
|
|
1705
|
-
const user =
|
|
1704
|
+
const [, rerender] = yn();
|
|
1705
|
+
const user = J();
|
|
1706
1706
|
useEffect(() => {
|
|
1707
1707
|
var _a;
|
|
1708
1708
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1780,11 +1780,11 @@ const defaultFormState$1 = {
|
|
|
1780
1780
|
error: "",
|
|
1781
1781
|
};
|
|
1782
1782
|
function usePortalProfile(props) {
|
|
1783
|
-
const userIdent =
|
|
1783
|
+
const userIdent = J();
|
|
1784
1784
|
const [success, setSuccess] = useState(false);
|
|
1785
1785
|
const [userData, setUserData] = useState(undefined);
|
|
1786
1786
|
const [formState, setFormState] = useState(defaultFormState$1);
|
|
1787
|
-
const userDataResponse =
|
|
1787
|
+
const userDataResponse = wn(GET_USER$1, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
1788
1788
|
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER$1);
|
|
1789
1789
|
useEffect(() => {
|
|
1790
1790
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
@@ -1886,7 +1886,6 @@ const PortalChangeMarketing = class {
|
|
|
1886
1886
|
* Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
1887
1887
|
*
|
|
1888
1888
|
* @uiName Network request error message
|
|
1889
|
-
*
|
|
1890
1889
|
*/
|
|
1891
1890
|
this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
1892
1891
|
/**
|
|
@@ -1939,7 +1938,7 @@ function usePortalChangePassword(props) {
|
|
|
1939
1938
|
const [open, setOpen] = useState(false);
|
|
1940
1939
|
const [error, setError] = useState("");
|
|
1941
1940
|
const [success, setSuccess] = useState(false);
|
|
1942
|
-
const user =
|
|
1941
|
+
const user = J();
|
|
1943
1942
|
const submit = async (event) => {
|
|
1944
1943
|
var _a, _b;
|
|
1945
1944
|
setSuccess(false);
|
|
@@ -2181,7 +2180,7 @@ const PortalFooter = class {
|
|
|
2181
2180
|
};
|
|
2182
2181
|
|
|
2183
2182
|
function usePortalFrame(footerContent, headerContent) {
|
|
2184
|
-
const [, rerender] =
|
|
2183
|
+
const [, rerender] = yn();
|
|
2185
2184
|
return {
|
|
2186
2185
|
data: {
|
|
2187
2186
|
footer: footerContent,
|
|
@@ -2231,9 +2230,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2231
2230
|
|
|
2232
2231
|
function usePortalLogin(props) {
|
|
2233
2232
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2234
|
-
const [request, { loading, errors, data }] =
|
|
2233
|
+
const [request, { loading, errors, data }] = je();
|
|
2235
2234
|
const [error, setError] = useState("");
|
|
2236
|
-
const urlParams = new URLSearchParams(
|
|
2235
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
2237
2236
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2238
2237
|
const submit = async (event) => {
|
|
2239
2238
|
var _a, _b;
|
|
@@ -2252,7 +2251,7 @@ function usePortalLogin(props) {
|
|
|
2252
2251
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2253
2252
|
urlParams.delete("nextPage");
|
|
2254
2253
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2255
|
-
|
|
2254
|
+
jn.push(url.href);
|
|
2256
2255
|
}
|
|
2257
2256
|
};
|
|
2258
2257
|
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
@@ -2331,8 +2330,8 @@ const PortalLogin = class {
|
|
|
2331
2330
|
? useLoginDemo(this)
|
|
2332
2331
|
: usePortalLogin(this);
|
|
2333
2332
|
const content = {
|
|
2334
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2335
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2333
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2334
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
2336
2335
|
emailLabel: this.emailLabel,
|
|
2337
2336
|
passwordLabel: this.passwordLabel,
|
|
2338
2337
|
submitLabel: this.submitLabel,
|
|
@@ -2361,7 +2360,7 @@ function usePortalRegister(props) {
|
|
|
2361
2360
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2362
2361
|
const formRef = useRef(null);
|
|
2363
2362
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2364
|
-
const [request, { loading, errors, data }] =
|
|
2363
|
+
const [request, { loading, errors, data }] = Ve();
|
|
2365
2364
|
useEffect(() => {
|
|
2366
2365
|
if (!formRef.current)
|
|
2367
2366
|
return;
|
|
@@ -2434,7 +2433,7 @@ function usePortalRegister(props) {
|
|
|
2434
2433
|
validationErrors: {},
|
|
2435
2434
|
});
|
|
2436
2435
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2437
|
-
|
|
2436
|
+
jn.push(props.nextPage);
|
|
2438
2437
|
}
|
|
2439
2438
|
}
|
|
2440
2439
|
catch (error) {
|
|
@@ -2608,7 +2607,7 @@ const PortalRegister = class {
|
|
|
2608
2607
|
: usePortalRegister(this);
|
|
2609
2608
|
const content = {
|
|
2610
2609
|
formData: h$1("slot", { name: "formData" }),
|
|
2611
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2610
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
|
|
2612
2611
|
terms: h$1("slot", { name: "terms" }),
|
|
2613
2612
|
emailLabel: this.emailLabel,
|
|
2614
2613
|
passwordLabel: this.passwordLabel,
|
|
@@ -2783,7 +2782,7 @@ function useProgramMenu(props) {
|
|
|
2783
2782
|
const host = _();
|
|
2784
2783
|
debug({ programId, props });
|
|
2785
2784
|
const ref = useRef();
|
|
2786
|
-
const [, rerender] =
|
|
2785
|
+
const [, rerender] = yn();
|
|
2787
2786
|
useEffect(() => {
|
|
2788
2787
|
var _a;
|
|
2789
2788
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2962,8 +2961,8 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
2962
2961
|
function useReferralIframe(props) {
|
|
2963
2962
|
var _a;
|
|
2964
2963
|
const programId = H();
|
|
2965
|
-
const user =
|
|
2966
|
-
const { data } =
|
|
2964
|
+
const user = J();
|
|
2965
|
+
const { data } = wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2967
2966
|
return {
|
|
2968
2967
|
states: {
|
|
2969
2968
|
content: props,
|
|
@@ -3688,9 +3687,9 @@ function useRewardExchangeList(props) {
|
|
|
3688
3687
|
});
|
|
3689
3688
|
const [open, setOpen] = useState(false);
|
|
3690
3689
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3691
|
-
const user =
|
|
3690
|
+
const user = J();
|
|
3692
3691
|
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
|
|
3693
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
3692
|
+
const { data, loading, refetch, errors: queryError, } = wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3694
3693
|
useEffect(() => {
|
|
3695
3694
|
var _a, _b;
|
|
3696
3695
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -3709,7 +3708,7 @@ function useRewardExchangeList(props) {
|
|
|
3709
3708
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3710
3709
|
canvas.confetti();
|
|
3711
3710
|
}, [canvasRef.current]);
|
|
3712
|
-
const { refresh } =
|
|
3711
|
+
const { refresh } = Qe();
|
|
3713
3712
|
async function exchangeReward() {
|
|
3714
3713
|
if (!selectedItem)
|
|
3715
3714
|
return;
|
|
@@ -4017,7 +4016,7 @@ function matchPath(pattern, page) {
|
|
|
4017
4016
|
return regexp.exec(page);
|
|
4018
4017
|
}
|
|
4019
4018
|
function useRouter() {
|
|
4020
|
-
const location =
|
|
4019
|
+
const location = kn();
|
|
4021
4020
|
const host = _();
|
|
4022
4021
|
const [slot, setSlot] = useState(undefined);
|
|
4023
4022
|
const [container, setContainer] = useState(undefined);
|
|
@@ -4280,9 +4279,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4280
4279
|
function useShareCode(props) {
|
|
4281
4280
|
var _a, _b;
|
|
4282
4281
|
const { programId = H() } = props;
|
|
4283
|
-
const user =
|
|
4282
|
+
const user = J();
|
|
4284
4283
|
const engagementMedium = B();
|
|
4285
|
-
const { data } =
|
|
4284
|
+
const { data } = wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4286
4285
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4287
4286
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
4288
4287
|
// Shown during loading
|
|
@@ -4482,10 +4481,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4482
4481
|
}
|
|
4483
4482
|
`;
|
|
4484
4483
|
function useTaskCard(props) {
|
|
4485
|
-
const user =
|
|
4484
|
+
const user = J();
|
|
4486
4485
|
const locale = L();
|
|
4487
4486
|
const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
|
|
4488
|
-
const { refresh } =
|
|
4487
|
+
const { refresh } = Qe();
|
|
4489
4488
|
useEffect(() => {
|
|
4490
4489
|
if (data) {
|
|
4491
4490
|
refresh();
|
|
@@ -4806,8 +4805,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4806
4805
|
`;
|
|
4807
4806
|
function useUserName(props) {
|
|
4808
4807
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4809
|
-
const user =
|
|
4810
|
-
const res =
|
|
4808
|
+
const user = J();
|
|
4809
|
+
const res = wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4811
4810
|
const loading = res.loading;
|
|
4812
4811
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
4813
4812
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as getEnvironmentSDK } from './index.module-3344e7dc.js';
|
|
4
4
|
import './mixins-f60a614c.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
3
|
+
import { _ } from './index.module-3344e7dc.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './index.module-
|
|
3
|
+
import { i as intl } from './global-c1e70cb2.js';
|
|
4
|
+
import './index.module-3344e7dc.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { o as m, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { G, E as Ee, Q, P as Pe } from './index.module-3344e7dc.js';
|
|
4
4
|
|
|
5
5
|
async function useGraphQLClientProvider({ domain }) {
|
|
6
|
-
const token =
|
|
6
|
+
const token = G();
|
|
7
7
|
const appDomain = domain;
|
|
8
|
-
const tenantAlias =
|
|
8
|
+
const tenantAlias = Q();
|
|
9
9
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
10
10
|
const managedIdentityClient = Ee(appDomain, tenantAlias, token);
|
|
11
11
|
const [, setGraphQLClient] = m(Pe, managedIdentityClient);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as isDemo,
|
|
3
|
+
import { i as isDemo, a as setUserIdentity } from './index.module-3344e7dc.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-4151cec4.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-e95685e5.js';
|
|
11
11
|
|
|
12
12
|
const InstantAccessRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, H,
|
|
3
|
+
import { i as intl } from './global-c1e70cb2.js';
|
|
4
|
+
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-3344e7dc.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
7
7
|
|
|
@@ -23,7 +23,7 @@ function useLeaderboardRank(props) {
|
|
|
23
23
|
const programIdContext = H();
|
|
24
24
|
// Default to context, overriden by props
|
|
25
25
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
26
|
-
const user =
|
|
26
|
+
const user = J();
|
|
27
27
|
const rankVariables = programId
|
|
28
28
|
? {
|
|
29
29
|
type: props.leaderboardType,
|
|
@@ -36,7 +36,7 @@ function useLeaderboardRank(props) {
|
|
|
36
36
|
if (props.interval) {
|
|
37
37
|
rankVariables.filter["interval"] = props.interval;
|
|
38
38
|
}
|
|
39
|
-
const { data: rankData } =
|
|
39
|
+
const { data: rankData } = wn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
40
40
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
41
41
|
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],
|
|
42
42
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { d as dist,
|
|
3
|
+
import { d as dist, J, w as wn, a as setUserIdentity, i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -19,8 +19,8 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
19
19
|
`;
|
|
20
20
|
function useLogoutCurrentUser(props) {
|
|
21
21
|
var _a, _b;
|
|
22
|
-
const user =
|
|
23
|
-
const { loading, data } =
|
|
22
|
+
const user = J();
|
|
23
|
+
const { loading, data } = wn(GET_USER_DETAILS, {}, !user);
|
|
24
24
|
const onSwitchClick = () => {
|
|
25
25
|
setUserIdentity(undefined);
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as jn } from './index.module-3344e7dc.js';
|
|
3
3
|
import { g as gap } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
|
|
|
33
33
|
const styleString = sheet.toString();
|
|
34
34
|
return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
35
35
|
e.preventDefault();
|
|
36
|
-
|
|
36
|
+
jn.push(data.path);
|
|
37
37
|
}, class: sheet.classes.ItemContainer },
|
|
38
38
|
h("style", { type: "text/css" }, styleString),
|
|
39
39
|
h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { k as kn, i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-08e47843.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
|
-
const currentPage =
|
|
11
|
+
const currentPage = kn();
|
|
12
12
|
return {
|
|
13
13
|
states: {
|
|
14
14
|
active: currentPage.pathname === props.path,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { k as kn, H } from './index.module-3344e7dc.js';
|
|
4
4
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
5
5
|
|
|
6
6
|
const NavigationSidebar = class {
|
|
@@ -16,7 +16,7 @@ const NavigationSidebar = class {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
function useNavigationSidebar() {
|
|
19
|
-
const location =
|
|
19
|
+
const location = kn();
|
|
20
20
|
const programId = H();
|
|
21
21
|
const [checked, setChecked] = useState(false);
|
|
22
22
|
// Close hamburger menu after navigation
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-4151cec4.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { B } from './index.module-
|
|
3
|
+
import { B } from './index.module-3344e7dc.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-c1e70cb2.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import { l as ln, n as nn,
|
|
3
|
+
import './global-c1e70cb2.js';
|
|
4
|
+
import { l as ln, n as nn, J, j as jn, u as useCallback, i as isDemo } from './index.module-3344e7dc.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-52a45f66.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
13
13
|
const [request, { loading, data, errors }] = ln();
|
|
14
14
|
const [getVerificationStatus, { data: user, loading: loadingVerification }] = nn();
|
|
15
|
-
const userIdent =
|
|
15
|
+
const userIdent = J();
|
|
16
16
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
17
|
-
const urlParams = new URLSearchParams(
|
|
17
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
18
18
|
const nextPage = urlParams.get("nextPage");
|
|
19
19
|
const [success, setSuccess] = useState(false);
|
|
20
20
|
const [error, setError] = useState("");
|
|
@@ -44,7 +44,7 @@ function usePortalEmailVerification(props) {
|
|
|
44
44
|
const data = (await getVerificationStatus());
|
|
45
45
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
46
46
|
clearInterval(timerRef.current);
|
|
47
|
-
return
|
|
47
|
+
return jn.push({
|
|
48
48
|
pathname: props.redirectPath,
|
|
49
49
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
50
50
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { b as un, j as jn, i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
@@ -13,7 +13,7 @@ function usePortalForgotPassword(props) {
|
|
|
13
13
|
const [success, setSuccess] = useState(false);
|
|
14
14
|
const [error, setError] = useState("");
|
|
15
15
|
const [request, { loading, data, errors }] = un();
|
|
16
|
-
const urlParams = new URLSearchParams(
|
|
16
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
17
17
|
const nextPage = urlParams.get("nextPage");
|
|
18
18
|
const submit = async (event) => {
|
|
19
19
|
var _a;
|
|
@@ -102,7 +102,7 @@ const PortalForgotPassword = class {
|
|
|
102
102
|
? usePortalForgotPasswordDemo(this)
|
|
103
103
|
: usePortalForgotPassword(this);
|
|
104
104
|
const content = {
|
|
105
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
105
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginText))),
|
|
106
106
|
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
107
107
|
emailLabel: this.emailLabel,
|
|
108
108
|
submitLabel: this.submitLabel,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a as setUserIdentity, j as jn, i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
|
|
5
5
|
function usePortalLogout({ nextPage }) {
|
|
6
6
|
setUserIdentity(undefined);
|
|
7
|
-
|
|
7
|
+
jn.push({ pathname: nextPage, search: "" });
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
const PortalLogout = class {
|
package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-4810da8a.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-c1e70cb2.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import './global-c1e70cb2.js';
|
|
4
|
+
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-3344e7dc.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
10
|
-
import { i as isEmpty } from './utilities-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-4810da8a.js';
|
|
10
|
+
import { i as isEmpty } from './utilities-4d60af2c.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
13
13
|
query {
|
|
@@ -53,11 +53,11 @@ const defaultFormState = {
|
|
|
53
53
|
error: "",
|
|
54
54
|
};
|
|
55
55
|
function usePortalProfile(props) {
|
|
56
|
-
const userIdent =
|
|
56
|
+
const userIdent = J();
|
|
57
57
|
const [success, setSuccess] = useState(false);
|
|
58
58
|
const [userData, setUserData] = useState(undefined);
|
|
59
59
|
const [formState, setFormState] = useState(defaultFormState);
|
|
60
|
-
const userDataResponse =
|
|
60
|
+
const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
61
61
|
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
|
|
62
62
|
useEffect(() => {
|
|
63
63
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { J, k as kn, j as jn, i as isDemo } from './index.module-3344e7dc.js';
|
|
4
4
|
|
|
5
5
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
6
6
|
var _a;
|
|
7
|
-
const userIdent =
|
|
7
|
+
const userIdent = J();
|
|
8
8
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
9
9
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
10
|
-
const { pathname, search } =
|
|
10
|
+
const { pathname, search } = kn();
|
|
11
11
|
const nextPageParam = new URLSearchParams();
|
|
12
12
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
13
13
|
useEffect(() => {
|
|
14
14
|
if (!authenticated) {
|
|
15
|
-
return
|
|
15
|
+
return jn.push({
|
|
16
16
|
pathname: redirectTo,
|
|
17
17
|
search: "?" + nextPageParam.toString(),
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
if (requireEmailVerification && !emailVerified) {
|
|
21
|
-
return
|
|
21
|
+
return jn.push({
|
|
22
22
|
pathname: redirectToUnverified || redirectTo,
|
|
23
23
|
search: "?" + nextPageParam.toString(),
|
|
24
24
|
});
|