@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
|
@@ -4,25 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
|
|
9
9
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
10
10
|
var _a;
|
|
11
|
-
const userIdent = index_module.
|
|
11
|
+
const userIdent = index_module.J();
|
|
12
12
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
13
13
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
14
|
-
const { pathname, search } = index_module.
|
|
14
|
+
const { pathname, search } = index_module.kn();
|
|
15
15
|
const nextPageParam = new URLSearchParams();
|
|
16
16
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
17
17
|
stencilHooks_module.useEffect(() => {
|
|
18
18
|
if (!authenticated) {
|
|
19
|
-
return index_module
|
|
19
|
+
return index_module.jn.push({
|
|
20
20
|
pathname: redirectTo,
|
|
21
21
|
search: "?" + nextPageParam.toString(),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
if (requireEmailVerification && !emailVerified) {
|
|
25
|
-
return index_module
|
|
25
|
+
return index_module.jn.push({
|
|
26
26
|
pathname: redirectToUnverified || redirectTo,
|
|
27
27
|
search: "?" + nextPageParam.toString(),
|
|
28
28
|
});
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7d608337.js');
|
|
14
14
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
15
15
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
16
16
|
|
|
@@ -32,8 +32,8 @@ function usePortalRegistrationForm(props) {
|
|
|
32
32
|
const formRef = stencilHooks_module.useRef(null);
|
|
33
33
|
const locale = index_module.L();
|
|
34
34
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
35
|
-
const [request, { loading, errors, data, formError }] = index_module.
|
|
36
|
-
const queryResponse = index_module.
|
|
35
|
+
const [request, { loading, errors, data, formError }] = index_module.Oe();
|
|
36
|
+
const queryResponse = index_module.wn(RegistrationFormQuery, { key: props.formKey });
|
|
37
37
|
const formLoading = loading || queryResponse.loading;
|
|
38
38
|
stencilHooks_module.useEffect(() => {
|
|
39
39
|
var _a, _b, _c;
|
|
@@ -138,7 +138,7 @@ function usePortalRegistrationForm(props) {
|
|
|
138
138
|
managedIdentityResponse.result.results.length &&
|
|
139
139
|
managedIdentityResponse.result.results[0].success &&
|
|
140
140
|
managedIdentityResponse.result.results[0].data.token) {
|
|
141
|
-
index_module
|
|
141
|
+
index_module.jn.push(props.nextPage);
|
|
142
142
|
}
|
|
143
143
|
else if (
|
|
144
144
|
// check for blocked email error response
|
|
@@ -351,7 +351,7 @@ const PortalRegistrationForm = class {
|
|
|
351
351
|
: usePortalRegistrationForm(this);
|
|
352
352
|
const content = {
|
|
353
353
|
formData: index.h("slot", { name: "formData" }),
|
|
354
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module
|
|
354
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
355
355
|
terms: index.h("slot", { name: "terms" }),
|
|
356
356
|
emailOptIn: index.h("slot", { name: "emailOptIn" }),
|
|
357
357
|
emailLabel: this.emailLabel,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -17,9 +17,9 @@ function usePortalResetPassword(props) {
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
19
19
|
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
20
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.Je();
|
|
21
21
|
const [resetPassword, resetPasswordState] = index_module.Te();
|
|
22
|
-
const urlParams = new URLSearchParams(index_module
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
urlParams.delete("oobCode");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -57,10 +57,10 @@ function usePortalResetPassword(props) {
|
|
|
57
57
|
const gotoNextPage = () => {
|
|
58
58
|
urlParams.delete("nextPage");
|
|
59
59
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
60
|
-
index_module
|
|
60
|
+
index_module.jn.push(url.href);
|
|
61
61
|
};
|
|
62
62
|
const failed = () => {
|
|
63
|
-
index_module
|
|
63
|
+
index_module.jn.push({
|
|
64
64
|
pathname: props.failedPage,
|
|
65
65
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
66
66
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
@@ -17,9 +17,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [completed, setCompleted] = stencilHooks_module.useState(false);
|
|
19
19
|
const [successful, setSuccessful] = stencilHooks_module.useState(false);
|
|
20
|
-
const userIdent = index_module.
|
|
20
|
+
const userIdent = index_module.J();
|
|
21
21
|
const [request, { loading, data, errors }] = index_module.an();
|
|
22
|
-
const urlParams = new URLSearchParams(index_module
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
const oobEmail = urlParams.get("email");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -30,7 +30,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
30
30
|
successful);
|
|
31
31
|
const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
|
|
32
32
|
const failed = () => {
|
|
33
|
-
return index_module
|
|
33
|
+
return index_module.jn.push({
|
|
34
34
|
pathname: failedPage,
|
|
35
35
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
36
36
|
});
|
|
@@ -38,7 +38,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
38
38
|
const gotoNextPage = () => {
|
|
39
39
|
urlParams.delete("nextPage");
|
|
40
40
|
const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
|
|
41
|
-
index_module
|
|
41
|
+
index_module.jn.push(url.href);
|
|
42
42
|
};
|
|
43
43
|
const logout = () => {
|
|
44
44
|
setTimeout(() => {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
15
15
|
const luxon = require('./luxon-05098e19.js');
|
|
16
16
|
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-ef36b29e.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
20
20
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.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-7d608337.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-14ccf9d4.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-d8342710.js');
|
|
8
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
15
15
|
const luxon = require('./luxon-05098e19.js');
|
|
16
16
|
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-ef36b29e.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
|
|
20
20
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -166,7 +166,7 @@ const GET_IMPACT_TAX = index_module.dist.gql `
|
|
|
166
166
|
`;
|
|
167
167
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
168
168
|
var _a, _b, _c;
|
|
169
|
-
const user = index_module.
|
|
169
|
+
const user = index_module.J();
|
|
170
170
|
const programIdContext = index_module.H();
|
|
171
171
|
const locale = index_module.L();
|
|
172
172
|
// Default to context, overriden by props
|
|
@@ -190,8 +190,8 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
190
190
|
loading: false,
|
|
191
191
|
page: 0,
|
|
192
192
|
});
|
|
193
|
-
const { data: impactTaxData, loading: taxLoading } = index_module.
|
|
194
|
-
const { envelope: rewardsData, states, callbacks, } = index_module.
|
|
193
|
+
const { data: impactTaxData, loading: taxLoading } = index_module.wn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
194
|
+
const { envelope: rewardsData, states, callbacks, } = index_module.Rn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
195
195
|
limit: props.perPage,
|
|
196
196
|
offset: 0,
|
|
197
197
|
}, {
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
require('./useChildElements-
|
|
13
|
+
require('./useChildElements-57e11069.js');
|
|
14
14
|
const luxon = require('./luxon-05098e19.js');
|
|
15
15
|
require('./utils-6847bc06.js');
|
|
16
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -21,17 +21,17 @@ const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
|
21
21
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
22
22
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
|
|
23
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
24
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
25
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
24
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-5f7886d6.js');
|
|
25
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-56fabc90.js');
|
|
26
26
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
|
|
27
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
28
|
-
require('./utilities-
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-7c9c60a6.js');
|
|
28
|
+
require('./utilities-7df0fdad.js');
|
|
29
29
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
30
30
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
|
|
31
31
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
32
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
32
|
+
const ShadowViewAddon = require('./ShadowViewAddon-9aee7df5.js');
|
|
33
33
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
34
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
34
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-41a0b707.js');
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2540,36 +2540,36 @@ const routes = `
|
|
|
2540
2540
|
`;
|
|
2541
2541
|
const TemplateNavigation = createHookStory(() => {
|
|
2542
2542
|
return (index.h("div", null,
|
|
2543
|
-
index.h("button", { onClick: () => index_module
|
|
2544
|
-
index.h("button", { onClick: () => index_module
|
|
2545
|
-
index.h("button", { onClick: () => index_module
|
|
2546
|
-
index.h("button", { onClick: () => index_module
|
|
2547
|
-
index.h("button", { onClick: () => index_module
|
|
2548
|
-
index.h("button", { onClick: () => index_module
|
|
2549
|
-
index.h("button", { onClick: () => index_module
|
|
2550
|
-
index.h("button", { onClick: () => index_module
|
|
2551
|
-
index.h("button", { onClick: () => index_module
|
|
2543
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2544
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2545
|
+
index.h("button", { onClick: () => index_module.jn.push("/bar") }, "/bar"),
|
|
2546
|
+
index.h("button", { onClick: () => index_module.jn.push("/baz/bang") }, "/baz/bang"),
|
|
2547
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer") }, "/refer"),
|
|
2548
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/1") }, "/refer/1"),
|
|
2549
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/2") }, "/refer/2"),
|
|
2550
|
+
index.h("button", { onClick: () => index_module.jn.back() }, "Back"),
|
|
2551
|
+
index.h("button", { onClick: () => index_module.jn.forward() }, "Forward"),
|
|
2552
2552
|
index.h("hr", null),
|
|
2553
2553
|
index.h("sqm-router", { innerHTML: templates })));
|
|
2554
2554
|
});
|
|
2555
2555
|
const RouteNavigation = createHookStory(() => {
|
|
2556
2556
|
return (index.h("div", null,
|
|
2557
|
-
index.h("button", { onClick: () => index_module
|
|
2558
|
-
index.h("button", { onClick: () => index_module
|
|
2559
|
-
index.h("button", { onClick: () => index_module
|
|
2560
|
-
index.h("button", { onClick: () => index_module
|
|
2561
|
-
index.h("button", { onClick: () => index_module
|
|
2562
|
-
index.h("button", { onClick: () => index_module
|
|
2563
|
-
index.h("button", { onClick: () => index_module
|
|
2564
|
-
index.h("button", { onClick: () => index_module
|
|
2565
|
-
index.h("button", { onClick: () => index_module
|
|
2557
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2558
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2559
|
+
index.h("button", { onClick: () => index_module.jn.push("/bar") }, "/bar"),
|
|
2560
|
+
index.h("button", { onClick: () => index_module.jn.push("/baz/bang") }, "/baz/bang"),
|
|
2561
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer") }, "/refer"),
|
|
2562
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/1") }, "/refer/1"),
|
|
2563
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/2") }, "/refer/2"),
|
|
2564
|
+
index.h("button", { onClick: () => index_module.jn.back() }, "Back"),
|
|
2565
|
+
index.h("button", { onClick: () => index_module.jn.forward() }, "Forward"),
|
|
2566
2566
|
index.h("hr", null),
|
|
2567
2567
|
index.h("sqm-router", { innerHTML: routes })));
|
|
2568
2568
|
});
|
|
2569
2569
|
const Styling = createHookStory(() => {
|
|
2570
2570
|
return (index.h("div", null,
|
|
2571
|
-
index.h("button", { onClick: () => index_module
|
|
2572
|
-
index.h("button", { onClick: () => index_module
|
|
2571
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2572
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2573
2573
|
index.h("hr", null),
|
|
2574
2574
|
index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2575
2575
|
index.h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2583,7 +2583,7 @@ function useTemplate(templateString) {
|
|
|
2583
2583
|
const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
|
|
2584
2584
|
function setPath(e) {
|
|
2585
2585
|
//@ts-ignore
|
|
2586
|
-
index_module
|
|
2586
|
+
index_module.jn.push(e.target.value);
|
|
2587
2587
|
}
|
|
2588
2588
|
return {
|
|
2589
2589
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2747,8 +2747,8 @@ const FullStackFrame = () => {
|
|
|
2747
2747
|
"Current path:",
|
|
2748
2748
|
" ",
|
|
2749
2749
|
index.h("code", null,
|
|
2750
|
-
index.h("strong", null, (_a = index_module.
|
|
2751
|
-
index.h("button", { onClick: index_module
|
|
2750
|
+
index.h("strong", null, (_a = index_module.kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2751
|
+
index.h("button", { onClick: index_module.jn.back }, "Go Back")));
|
|
2752
2752
|
};
|
|
2753
2753
|
const FullStackFrameLoggedOut = () => {
|
|
2754
2754
|
var _a;
|
|
@@ -2772,8 +2772,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2772
2772
|
"Current path:",
|
|
2773
2773
|
" ",
|
|
2774
2774
|
index.h("code", null,
|
|
2775
|
-
index.h("strong", null, (_a = index_module.
|
|
2776
|
-
index.h("button", { onClick: index_module
|
|
2775
|
+
index.h("strong", null, (_a = index_module.kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2776
|
+
index.h("button", { onClick: index_module.jn.back }, "Go Back")));
|
|
2777
2777
|
};
|
|
2778
2778
|
|
|
2779
2779
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -4101,16 +4101,16 @@ function DefaultTemplateView(props) {
|
|
|
4101
4101
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4102
4102
|
gridGap: "10px",
|
|
4103
4103
|
} },
|
|
4104
|
-
index.h("button", { onClick: () => index_module
|
|
4105
|
-
props.leadSubmit && (index.h("button", { onClick: () => index_module
|
|
4106
|
-
index.h("button", { onClick: () => index_module
|
|
4107
|
-
index.h("button", { onClick: () => index_module
|
|
4108
|
-
index.h("button", { onClick: () => index_module
|
|
4109
|
-
index.h("button", { onClick: () => index_module
|
|
4110
|
-
index.h("button", { onClick: () => index_module
|
|
4111
|
-
index.h("button", { onClick: () => index_module
|
|
4112
|
-
index.h("button", { onClick: () => index_module
|
|
4113
|
-
index.h("button", { onClick: () => index_module
|
|
4104
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "Dashboard"),
|
|
4105
|
+
props.leadSubmit && (index.h("button", { onClick: () => index_module.jn.push("/refer") }, "Submit a Referral")),
|
|
4106
|
+
index.h("button", { onClick: () => index_module.jn.push("/activity") }, "Activity"),
|
|
4107
|
+
index.h("button", { onClick: () => index_module.jn.push("/editProfile") }, "Edit Profile"),
|
|
4108
|
+
index.h("button", { onClick: () => index_module.jn.push("/login") }, "Login"),
|
|
4109
|
+
index.h("button", { onClick: () => index_module.jn.push("/register") }, "Register"),
|
|
4110
|
+
index.h("button", { onClick: () => index_module.jn.push("/emailVerification") }, "Email Verification"),
|
|
4111
|
+
index.h("button", { onClick: () => index_module.jn.push("/verifyEmail") }, "Verify Email"),
|
|
4112
|
+
index.h("button", { onClick: () => index_module.jn.push("/forgotPassword") }, "Forgot Password"),
|
|
4113
|
+
index.h("button", { onClick: () => index_module.jn.push("/resetPassword") }, "Reset Password")),
|
|
4114
4114
|
index.h("br", null),
|
|
4115
4115
|
index.h("div", { innerHTML: states.previewTemplate })));
|
|
4116
4116
|
}
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-d8342710.js');
|
|
8
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -4,9 +4,9 @@ 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-
|
|
8
|
-
const reRender = require('./re-render-
|
|
9
|
-
const useChildElements = require('./useChildElements-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
9
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-d8342710.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
7
|
const host = index_module._();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-d8342710.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7d608337.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
10
10
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
11
11
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState();
|
|
12
|
-
const [request, { loading, errors, data }] = index_module.
|
|
12
|
+
const [request, { loading, errors, data }] = index_module.vn();
|
|
13
13
|
const [error, setError] = stencilHooks_module.useState("");
|
|
14
14
|
const submit = async (event) => {
|
|
15
15
|
var _a;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
5
|
+
const index_module = require('./index.module-d8342710.js');
|
|
6
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
8
8
|
|
|
9
9
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
10
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
@@ -245,7 +245,7 @@ const GET_IMPACT_TAX = index_module.dist.gql `
|
|
|
245
245
|
`;
|
|
246
246
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
247
247
|
var _a, _b, _c, _d;
|
|
248
|
-
const user = index_module.
|
|
248
|
+
const user = index_module.J();
|
|
249
249
|
const programIdContext = index_module.H();
|
|
250
250
|
// Default to context, overriden by props
|
|
251
251
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
@@ -269,16 +269,16 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
269
269
|
page: 0,
|
|
270
270
|
});
|
|
271
271
|
const locale = index_module.L();
|
|
272
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } = index_module.
|
|
272
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = index_module.wn(GET_REFERRER_DATA, {
|
|
273
273
|
programId: programId === "classic" ? null : programId,
|
|
274
274
|
rewardFilter,
|
|
275
275
|
locale,
|
|
276
276
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
277
277
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
278
278
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
279
|
-
const { data: taxResponse, loading: taxLoading } = index_module.
|
|
279
|
+
const { data: taxResponse, loading: taxLoading } = index_module.wn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
280
280
|
const taxConnection = (_c = taxResponse === null || taxResponse === void 0 ? void 0 : taxResponse.viewer) === null || _c === void 0 ? void 0 : _c.impactConnection;
|
|
281
|
-
const { envelope: referralData, states, callbacks, } = index_module.
|
|
281
|
+
const { envelope: referralData, states, callbacks, } = index_module.Rn(GET_REFERRAL_DATA, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referrals; }, {
|
|
282
282
|
limit: props.perPage,
|
|
283
283
|
offset: 0,
|
|
284
284
|
}, {
|
package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-d8342710.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-d8342710.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js
CHANGED
|
@@ -30,7 +30,6 @@ export class PortalChangeMarketing {
|
|
|
30
30
|
* Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
31
31
|
*
|
|
32
32
|
* @uiName Network request error message
|
|
33
|
-
*
|
|
34
33
|
*/
|
|
35
34
|
this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
36
35
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } 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, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-3344e7dc.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-cc98d6c4.js';
|
|
9
9
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
12
12
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
13
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
13
|
+
import { a as isValidColor, b as isMobile } from './utilities-4d60af2c.js';
|
|
14
14
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-6c582684.js';
|
|
15
15
|
|
|
16
16
|
const medium = {
|
|
@@ -447,9 +447,9 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
447
447
|
function useShareLink(props) {
|
|
448
448
|
var _a, _b;
|
|
449
449
|
const { programId = H() } = props;
|
|
450
|
-
const user =
|
|
450
|
+
const user = J();
|
|
451
451
|
const engagementMedium = B();
|
|
452
|
-
const { data } =
|
|
452
|
+
const { data } = wn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
453
453
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
454
454
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
455
455
|
// Shown during loading
|
|
@@ -536,14 +536,14 @@ function useShareButton(props) {
|
|
|
536
536
|
var _a, _b;
|
|
537
537
|
const { sharetitle, sharetext, medium } = props;
|
|
538
538
|
const programId = props.programId ? props.programId : H();
|
|
539
|
-
const user =
|
|
539
|
+
const user = J();
|
|
540
540
|
const variables = {
|
|
541
541
|
engagementMedium: B(),
|
|
542
542
|
programId: programId,
|
|
543
543
|
shareMedium: medium.toUpperCase(),
|
|
544
544
|
};
|
|
545
545
|
// only queries if a programId is available
|
|
546
|
-
const res =
|
|
546
|
+
const res = wn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
547
547
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
548
548
|
const environment = getEnvironmentSDK();
|
|
549
549
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -567,7 +567,7 @@ function useShareButton(props) {
|
|
|
567
567
|
const debug = browser("sq:useBigStat");
|
|
568
568
|
const LOADING = "...";
|
|
569
569
|
const debugQuery = (query, variables, getStat) => {
|
|
570
|
-
const res =
|
|
570
|
+
const res = wn(query, variables);
|
|
571
571
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
572
572
|
console.error("issue getting stat:", res);
|
|
573
573
|
}
|
|
@@ -978,7 +978,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
978
978
|
locale: $locale
|
|
979
979
|
formatType: UNIT_FORMATTED
|
|
980
980
|
)}`;
|
|
981
|
-
const result =
|
|
981
|
+
const result = wn(query, {
|
|
982
982
|
value: redeemedTotal,
|
|
983
983
|
unit,
|
|
984
984
|
locale,
|
|
@@ -1037,7 +1037,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1037
1037
|
locale: $locale
|
|
1038
1038
|
formatType: UNIT_FORMATTED
|
|
1039
1039
|
)}`;
|
|
1040
|
-
const result =
|
|
1040
|
+
const result = wn(query, {
|
|
1041
1041
|
value: redeemedTotal,
|
|
1042
1042
|
unit,
|
|
1043
1043
|
locale,
|
|
@@ -1437,7 +1437,7 @@ function useBigStat(props) {
|
|
|
1437
1437
|
// triggers a re-render if the label is manually changed
|
|
1438
1438
|
useChildElements();
|
|
1439
1439
|
const locale = L();
|
|
1440
|
-
const userIdent =
|
|
1440
|
+
const userIdent = J();
|
|
1441
1441
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1442
1442
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1443
1443
|
return {
|