@saasquatch/mint-components 1.12.1-19 → 1.12.1-20
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-9aee7df5.js → ShadowViewAddon-e7d97410.js} +12 -12
- package/dist/cjs/{global-41c0a650.js → global-02e50f09.js} +1 -1
- package/dist/cjs/{index.module-d8342710.js → index.module-df530553.js} +10 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-dd8d65bf.js → re-render-1976e05e.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 -42
- 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-41a0b707.js → sqm-invoice-table-view-e3b03a00.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-5f7886d6.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 +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-56fabc90.js → sqm-portal-email-verification-view-292b5bf4.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-7c9c60a6.js → sqm-portal-profile-view-fde54e35.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 +49 -49
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-57e11069.js → useChildElements-e0d44916.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-14ccf9d4.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-ef36b29e.js → useReferralTable-a76adb0d.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-7d608337.js → useRegistrationFormState-876ed65d.js} +1 -1
- package/dist/cjs/{utilities-7df0fdad.js → utilities-cec9dd36.js} +1 -1
- package/dist/esm/{ShadowViewAddon-cadd38e4.js → ShadowViewAddon-149b4015.js} +12 -12
- package/dist/esm/{global-c1e70cb2.js → global-04c7d3b5.js} +1 -1
- package/dist/esm/{index.module-3344e7dc.js → index.module-def4aec5.js} +2 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-29151677.js → re-render-12fd274a.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 -42
- 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-eb4b3f63.js → sqm-invoice-table-view-6e13a323.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-08e47843.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 +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-52a45f66.js → sqm-portal-email-verification-view-4307c992.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-4810da8a.js → sqm-portal-profile-view-ffe955c8.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 +49 -49
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-cc98d6c4.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-e95685e5.js → useInstantAccessRegistration-46b89952.js} +3 -3
- package/dist/esm/{useReferralTable-f1ffc72e.js → useReferralTable-f4de0650.js} +7 -7
- package/dist/esm/{useRegistrationFormState-4151cec4.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm/{utilities-4d60af2c.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-cadd38e4.js → ShadowViewAddon-149b4015.js} +1 -1
- package/dist/esm-es5/{global-c1e70cb2.js → global-04c7d3b5.js} +1 -1
- 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-29151677.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_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-eb4b3f63.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-52a45f66.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-4810da8a.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-cc98d6c4.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
- package/dist/esm-es5/{useReferralTable-f1ffc72e.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-4151cec4.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm-es5/{utilities-4d60af2c.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-63b5126d.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-36332fc7.entry.js → p-021a735d.entry.js} +1 -1
- package/dist/mint-components/{p-0f65c86c.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-f58c7201.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/p-0b9fa97f.js +1 -0
- package/dist/mint-components/{p-45b1b2be.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-bb873ddd.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/{p-9e62ac1f.system.entry.js → p-1bfc8eb0.system.entry.js} +1 -1
- package/dist/mint-components/p-1c857edb.entry.js +33 -0
- package/dist/mint-components/{p-fe163a23.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/{p-1064099e.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-051dd2a0.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-29a80f6e.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-7a33cd80.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-6a4b1ec0.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-8833552d.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-fa160846.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-920641bf.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-b8fff589.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-5bdf586c.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e10b0628.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-a8ebb87a.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-f093ed85.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c9eb87a.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-4c6c314b.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-b9cab58d.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-c588e9c1.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-3edd4ea8.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-1ca1ca86.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-40ad6540.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-c810bcfc.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-99b2ff9c.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-4893f186.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-063f4458.entry.js → p-6f6a6518.entry.js} +8 -8
- package/dist/mint-components/{p-cb029418.entry.js → p-7049e9b0.entry.js} +1 -1
- package/dist/mint-components/{p-00aa314d.system.entry.js → p-711ba77e.system.entry.js} +1 -1
- package/dist/mint-components/{p-67a8b7ae.system.js → p-770368bc.system.js} +1 -1
- package/dist/mint-components/{p-ebab1714.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/{p-ae72631b.entry.js → p-79186b05.entry.js} +2 -2
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/{p-b758d962.system.entry.js → p-7c6c96e2.system.entry.js} +1 -1
- package/dist/mint-components/p-7f088154.entry.js +1 -0
- package/dist/mint-components/{p-0c06a6f5.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-fcf7f4c1.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-eb64a65f.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.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-cd326a35.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-17c59360.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-19c94256.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-ad8dbab8.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/p-a8f7cb95.js +1 -0
- package/dist/mint-components/{p-ac1fb0c4.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-d2389ef4.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/{p-0afb7d5d.system.js → p-ace06b9b.system.js} +1 -1
- package/dist/mint-components/{p-db0d4d3a.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-6e50122b.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-69a0a791.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-98072a24.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-b6557eff.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea46d642.js → p-ba0dfda9.js} +1 -1
- package/dist/mint-components/{p-a7161d9f.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-a8ec5664.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f8d2c679.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-4e582dd8.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-9276151f.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-e4d14213.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/{p-658d5964.system.entry.js → p-d0ea10c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-91c1a54d.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/{p-a1b5a82c.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-85f3c5d5.entry.js → p-e3735866.entry.js} +2 -2
- package/dist/mint-components/{p-cbfc4b47.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-d5b327ec.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-42baa318.entry.js → p-ec41d6a4.entry.js} +1 -1
- package/dist/mint-components/{p-a2bce8d7.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/{p-186542b8.system.js → p-ed17e637.system.js} +1 -1
- package/dist/mint-components/{p-924384b2.entry.js → p-f3dd15c5.entry.js} +2 -2
- package/dist/mint-components/{p-284cc389.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/index.module-3344e7dc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-08e47843.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-e95685e5.js +0 -1
- package/dist/mint-components/p-06ab1968.js +0 -1
- package/dist/mint-components/p-1ba5157e.js +0 -1
- package/dist/mint-components/p-2037fbd3.js +0 -1
- package/dist/mint-components/p-2b85b9d2.entry.js +0 -1
- package/dist/mint-components/p-30909368.entry.js +0 -1
- package/dist/mint-components/p-3d6eac77.js +0 -1
- package/dist/mint-components/p-3e87d803.entry.js +0 -1
- package/dist/mint-components/p-46af0bf6.system.js +0 -1
- package/dist/mint-components/p-50135af6.entry.js +0 -1
- package/dist/mint-components/p-5d86d0b4.entry.js +0 -1
- package/dist/mint-components/p-6fdf020e.entry.js +0 -1
- package/dist/mint-components/p-7c49ebfa.entry.js +0 -1
- package/dist/mint-components/p-d1ebd4c9.system.entry.js +0 -1
- package/dist/mint-components/p-ea2075fd.entry.js +0 -33
|
@@ -4,22 +4,22 @@ 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 jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.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
|
require('./luxon-05098e19.js');
|
|
16
16
|
const utils = require('./utils-6847bc06.js');
|
|
17
17
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
18
18
|
const index$1 = require('./index-8c6255f5.js');
|
|
19
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
20
|
-
const utilities = require('./utilities-
|
|
19
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
20
|
+
const utilities = require('./utilities-cec9dd36.js');
|
|
21
21
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
22
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
22
|
+
const ShadowViewAddon = require('./ShadowViewAddon-e7d97410.js');
|
|
23
23
|
require('./sqm-portal-container-view-990a85a3.js');
|
|
24
24
|
|
|
25
25
|
const BigStat = class {
|
|
@@ -302,11 +302,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
302
302
|
`;
|
|
303
303
|
function useCouponCode(props) {
|
|
304
304
|
var _a, _b, _c;
|
|
305
|
-
const user = index_module.
|
|
305
|
+
const user = index_module.Q();
|
|
306
306
|
const programId = index_module.H();
|
|
307
307
|
const engagementMedium = index_module.B();
|
|
308
308
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
309
|
-
const { data, loading, refetch, errors } = index_module.
|
|
309
|
+
const { data, loading, refetch, errors } = index_module.yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
310
310
|
const getStatus = (reward) => {
|
|
311
311
|
if (!reward || !reward.statuses)
|
|
312
312
|
return "ERROR";
|
|
@@ -696,12 +696,12 @@ const defaultFormState = {
|
|
|
696
696
|
error: "",
|
|
697
697
|
};
|
|
698
698
|
function useEditProfile(props) {
|
|
699
|
-
const userIdent = index_module.
|
|
699
|
+
const userIdent = index_module.Q();
|
|
700
700
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
701
701
|
const [error, setError] = stencilHooks_module.useState("");
|
|
702
702
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
703
703
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
704
|
-
const userDataResponse = index_module.
|
|
704
|
+
const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
705
705
|
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
706
706
|
stencilHooks_module.useEffect(() => {
|
|
707
707
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
@@ -1344,7 +1344,7 @@ function useLeaderboard(props) {
|
|
|
1344
1344
|
const programIdContext = index_module.H();
|
|
1345
1345
|
// Default to context, overriden by props
|
|
1346
1346
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1347
|
-
const user = index_module.
|
|
1347
|
+
const user = index_module.Q();
|
|
1348
1348
|
const locale = index_module.L();
|
|
1349
1349
|
const variables = programId
|
|
1350
1350
|
? {
|
|
@@ -1364,8 +1364,8 @@ function useLeaderboard(props) {
|
|
|
1364
1364
|
if (props.maxRows > 0) {
|
|
1365
1365
|
variables["limit"] = props.maxRows;
|
|
1366
1366
|
}
|
|
1367
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.
|
|
1368
|
-
const { data: rankData } = index_module.
|
|
1367
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1368
|
+
const { data: rankData } = index_module.yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1369
1369
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1370
1370
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1371
1371
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1701,12 +1701,12 @@ function NavigationMenuView(props) {
|
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
1703
|
function handleMenu(e) {
|
|
1704
|
-
index_module.
|
|
1704
|
+
index_module.$n.push(e.detail.item.value);
|
|
1705
1705
|
}
|
|
1706
1706
|
function useNavigationMenu(props) {
|
|
1707
1707
|
const ref = stencilHooks_module.useRef();
|
|
1708
|
-
const [, rerender] = index_module.
|
|
1709
|
-
const user = index_module.
|
|
1708
|
+
const [, rerender] = index_module.gn();
|
|
1709
|
+
const user = index_module.Q();
|
|
1710
1710
|
stencilHooks_module.useEffect(() => {
|
|
1711
1711
|
var _a;
|
|
1712
1712
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1784,11 +1784,11 @@ const defaultFormState$1 = {
|
|
|
1784
1784
|
error: "",
|
|
1785
1785
|
};
|
|
1786
1786
|
function usePortalProfile(props) {
|
|
1787
|
-
const userIdent = index_module.
|
|
1787
|
+
const userIdent = index_module.Q();
|
|
1788
1788
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1789
1789
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
1790
1790
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState$1);
|
|
1791
|
-
const userDataResponse = index_module.
|
|
1791
|
+
const userDataResponse = index_module.yn(GET_USER$1, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
1792
1792
|
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER$1);
|
|
1793
1793
|
stencilHooks_module.useEffect(() => {
|
|
1794
1794
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
@@ -1942,7 +1942,7 @@ function usePortalChangePassword(props) {
|
|
|
1942
1942
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
1943
1943
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1944
1944
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1945
|
-
const user = index_module.
|
|
1945
|
+
const user = index_module.Q();
|
|
1946
1946
|
const submit = async (event) => {
|
|
1947
1947
|
var _a, _b;
|
|
1948
1948
|
setSuccess(false);
|
|
@@ -2184,7 +2184,7 @@ const PortalFooter = class {
|
|
|
2184
2184
|
};
|
|
2185
2185
|
|
|
2186
2186
|
function usePortalFrame(footerContent, headerContent) {
|
|
2187
|
-
const [, rerender] = index_module.
|
|
2187
|
+
const [, rerender] = index_module.gn();
|
|
2188
2188
|
return {
|
|
2189
2189
|
data: {
|
|
2190
2190
|
footer: footerContent,
|
|
@@ -2234,9 +2234,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2234
2234
|
|
|
2235
2235
|
function usePortalLogin(props) {
|
|
2236
2236
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2237
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2237
|
+
const [request, { loading, errors, data }] = index_module.qe();
|
|
2238
2238
|
const [error, setError] = stencilHooks_module.useState("");
|
|
2239
|
-
const urlParams = new URLSearchParams(index_module.
|
|
2239
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
2240
2240
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2241
2241
|
const submit = async (event) => {
|
|
2242
2242
|
var _a, _b;
|
|
@@ -2255,7 +2255,7 @@ function usePortalLogin(props) {
|
|
|
2255
2255
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2256
2256
|
urlParams.delete("nextPage");
|
|
2257
2257
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2258
|
-
index_module.
|
|
2258
|
+
index_module.$n.push(url.href);
|
|
2259
2259
|
}
|
|
2260
2260
|
};
|
|
2261
2261
|
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) ||
|
|
@@ -2334,8 +2334,8 @@ const PortalLogin = class {
|
|
|
2334
2334
|
? useLoginDemo(this)
|
|
2335
2335
|
: usePortalLogin(this);
|
|
2336
2336
|
const content = {
|
|
2337
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.
|
|
2338
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
2337
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.$n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2338
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.registerPath) }, this.registerLabel))),
|
|
2339
2339
|
emailLabel: this.emailLabel,
|
|
2340
2340
|
passwordLabel: this.passwordLabel,
|
|
2341
2341
|
submitLabel: this.submitLabel,
|
|
@@ -2364,7 +2364,7 @@ function usePortalRegister(props) {
|
|
|
2364
2364
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2365
2365
|
const formRef = stencilHooks_module.useRef(null);
|
|
2366
2366
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
2367
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2367
|
+
const [request, { loading, errors, data }] = index_module.xe();
|
|
2368
2368
|
stencilHooks_module.useEffect(() => {
|
|
2369
2369
|
if (!formRef.current)
|
|
2370
2370
|
return;
|
|
@@ -2437,7 +2437,7 @@ function usePortalRegister(props) {
|
|
|
2437
2437
|
validationErrors: {},
|
|
2438
2438
|
});
|
|
2439
2439
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2440
|
-
index_module.
|
|
2440
|
+
index_module.$n.push(props.nextPage);
|
|
2441
2441
|
}
|
|
2442
2442
|
}
|
|
2443
2443
|
catch (error) {
|
|
@@ -2611,7 +2611,7 @@ const PortalRegister = class {
|
|
|
2611
2611
|
: usePortalRegister(this);
|
|
2612
2612
|
const content = {
|
|
2613
2613
|
formData: index.h("slot", { name: "formData" }),
|
|
2614
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
2614
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginLabel))),
|
|
2615
2615
|
terms: index.h("slot", { name: "terms" }),
|
|
2616
2616
|
emailLabel: this.emailLabel,
|
|
2617
2617
|
passwordLabel: this.passwordLabel,
|
|
@@ -2786,7 +2786,7 @@ function useProgramMenu(props) {
|
|
|
2786
2786
|
const host = index_module._();
|
|
2787
2787
|
debug({ programId, props });
|
|
2788
2788
|
const ref = stencilHooks_module.useRef();
|
|
2789
|
-
const [, rerender] = index_module.
|
|
2789
|
+
const [, rerender] = index_module.gn();
|
|
2790
2790
|
stencilHooks_module.useEffect(() => {
|
|
2791
2791
|
var _a;
|
|
2792
2792
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2965,8 +2965,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
2965
2965
|
function useReferralIframe(props) {
|
|
2966
2966
|
var _a;
|
|
2967
2967
|
const programId = index_module.H();
|
|
2968
|
-
const user = index_module.
|
|
2969
|
-
const { data } = index_module.
|
|
2968
|
+
const user = index_module.Q();
|
|
2969
|
+
const { data } = index_module.yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2970
2970
|
return {
|
|
2971
2971
|
states: {
|
|
2972
2972
|
content: props,
|
|
@@ -3691,9 +3691,9 @@ function useRewardExchangeList(props) {
|
|
|
3691
3691
|
});
|
|
3692
3692
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
3693
3693
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3694
|
-
const user = index_module.
|
|
3694
|
+
const user = index_module.Q();
|
|
3695
3695
|
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.$e(EXCHANGE);
|
|
3696
|
-
const { data, loading, refetch, errors: queryError, } = index_module.
|
|
3696
|
+
const { data, loading, refetch, errors: queryError, } = index_module.yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3697
3697
|
stencilHooks_module.useEffect(() => {
|
|
3698
3698
|
var _a, _b;
|
|
3699
3699
|
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) {
|
|
@@ -3712,7 +3712,7 @@ function useRewardExchangeList(props) {
|
|
|
3712
3712
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3713
3713
|
canvas.confetti();
|
|
3714
3714
|
}, [canvasRef.current]);
|
|
3715
|
-
const { refresh } = index_module.
|
|
3715
|
+
const { refresh } = index_module.ze();
|
|
3716
3716
|
async function exchangeReward() {
|
|
3717
3717
|
if (!selectedItem)
|
|
3718
3718
|
return;
|
|
@@ -4020,7 +4020,7 @@ function matchPath(pattern, page) {
|
|
|
4020
4020
|
return regexp.exec(page);
|
|
4021
4021
|
}
|
|
4022
4022
|
function useRouter() {
|
|
4023
|
-
const location = index_module.
|
|
4023
|
+
const location = index_module.Sn();
|
|
4024
4024
|
const host = index_module._();
|
|
4025
4025
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
4026
4026
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
@@ -4283,9 +4283,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = index_module.dist.gql `
|
|
|
4283
4283
|
function useShareCode(props) {
|
|
4284
4284
|
var _a, _b;
|
|
4285
4285
|
const { programId = index_module.H() } = props;
|
|
4286
|
-
const user = index_module.
|
|
4286
|
+
const user = index_module.Q();
|
|
4287
4287
|
const engagementMedium = index_module.B();
|
|
4288
|
-
const { data } = index_module.
|
|
4288
|
+
const { data } = index_module.yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4289
4289
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4290
4290
|
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 :
|
|
4291
4291
|
// Shown during loading
|
|
@@ -4485,10 +4485,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
4485
4485
|
}
|
|
4486
4486
|
`;
|
|
4487
4487
|
function useTaskCard(props) {
|
|
4488
|
-
const user = index_module.
|
|
4488
|
+
const user = index_module.Q();
|
|
4489
4489
|
const locale = index_module.L();
|
|
4490
4490
|
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.$e(SEND_EVENT);
|
|
4491
|
-
const { refresh } = index_module.
|
|
4491
|
+
const { refresh } = index_module.ze();
|
|
4492
4492
|
stencilHooks_module.useEffect(() => {
|
|
4493
4493
|
if (data) {
|
|
4494
4494
|
refresh();
|
|
@@ -4809,8 +4809,8 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
4809
4809
|
`;
|
|
4810
4810
|
function useUserName(props) {
|
|
4811
4811
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4812
|
-
const user = index_module.
|
|
4813
|
-
const res = index_module.
|
|
4812
|
+
const user = index_module.Q();
|
|
4813
|
+
const res = index_module.yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4814
4814
|
const loading = res.loading;
|
|
4815
4815
|
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)
|
|
4816
4816
|
? `${(_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}`
|
|
@@ -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
|
require('./mixins-fe9d4112.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index$1 = 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
|
const index = require('./index-8c6255f5.js');
|
|
10
10
|
|
|
@@ -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,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
|
|
|
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
14
|
const managedIdentityClient = index_module.Ee(appDomain, tenantAlias, token);
|
|
15
15
|
const [, setGraphQLClient] = stencilHooks_module.m(index_module.Pe, 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
|
|
|
@@ -27,7 +27,7 @@ function useLeaderboardRank(props) {
|
|
|
27
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,7 +20,7 @@ const NavigationSidebar = class {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
function useNavigationSidebar() {
|
|
23
|
-
const location = index_module.
|
|
23
|
+
const location = index_module.Sn();
|
|
24
24
|
const programId = index_module.H();
|
|
25
25
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
26
26
|
// Close hamburger menu after navigation
|
|
@@ -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) => {
|
|
@@ -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
17
|
const [request, { loading, data, errors }] = index_module.ln();
|
|
18
18
|
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.nn();
|
|
19
|
-
const userIdent = index_module.
|
|
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');
|
|
@@ -17,7 +17,7 @@ function usePortalForgotPassword(props) {
|
|
|
17
17
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
18
18
|
const [error, setError] = stencilHooks_module.useState("");
|
|
19
19
|
const [request, { loading, data, errors }] = index_module.un();
|
|
20
|
-
const urlParams = new URLSearchParams(index_module.
|
|
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-7c9c60a6.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,11 +57,11 @@ 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.
|
|
64
|
+
const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
65
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)
|