@saasquatch/mint-components 1.12.1-16 → 1.12.1-17
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 +45 -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-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 +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-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/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +6 -3
- 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 +45 -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-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 +44 -44
- 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-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-d51053b0.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-ae72631b.entry.js → p-ece6db95.entry.js} +2 -2
- 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/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +4 -1
- package/dist/types/components.d.ts +4 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { d as dist, L,
|
|
3
|
+
import { d as dist, L, W as We, y as yn, $ as $n, u as useCallback, i as isDemo } from './index.module-def4aec5.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
9
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-9fc1ac80.js';
|
|
10
10
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-1d3066e1.js';
|
|
11
11
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
12
12
|
|
|
@@ -28,8 +28,8 @@ function usePortalRegistrationForm(props) {
|
|
|
28
28
|
const formRef = useRef(null);
|
|
29
29
|
const locale = L();
|
|
30
30
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
31
|
-
const [request, { loading, errors, data, formError }] =
|
|
32
|
-
const queryResponse =
|
|
31
|
+
const [request, { loading, errors, data, formError }] = We();
|
|
32
|
+
const queryResponse = yn(RegistrationFormQuery, { key: props.formKey });
|
|
33
33
|
const formLoading = loading || queryResponse.loading;
|
|
34
34
|
useEffect(() => {
|
|
35
35
|
var _a, _b, _c;
|
|
@@ -134,7 +134,7 @@ function usePortalRegistrationForm(props) {
|
|
|
134
134
|
managedIdentityResponse.result.results.length &&
|
|
135
135
|
managedIdentityResponse.result.results[0].success &&
|
|
136
136
|
managedIdentityResponse.result.results[0].data.token) {
|
|
137
|
-
|
|
137
|
+
$n.push(props.nextPage);
|
|
138
138
|
}
|
|
139
139
|
else if (
|
|
140
140
|
// check for blocked email error response
|
|
@@ -347,7 +347,7 @@ const PortalRegistrationForm = class {
|
|
|
347
347
|
: usePortalRegistrationForm(this);
|
|
348
348
|
const content = {
|
|
349
349
|
formData: h$1("slot", { name: "formData" }),
|
|
350
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
350
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
|
|
351
351
|
terms: h$1("slot", { name: "terms" }),
|
|
352
352
|
emailOptIn: h$1("slot", { name: "emailOptIn" }),
|
|
353
353
|
emailLabel: this.emailLabel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { h as Qe, T as Te, $ as $n, i as isDemo } from './index.module-def4aec5.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
@@ -13,9 +13,9 @@ function usePortalResetPassword(props) {
|
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
14
|
const [reset, setReset] = useState(false);
|
|
15
15
|
const [error, setError] = useState("");
|
|
16
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
16
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Qe();
|
|
17
17
|
const [resetPassword, resetPasswordState] = Te();
|
|
18
|
-
const urlParams = new URLSearchParams(
|
|
18
|
+
const urlParams = new URLSearchParams($n.location.search);
|
|
19
19
|
const oobCode = urlParams.get("oobCode");
|
|
20
20
|
urlParams.delete("oobCode");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -53,10 +53,10 @@ function usePortalResetPassword(props) {
|
|
|
53
53
|
const gotoNextPage = () => {
|
|
54
54
|
urlParams.delete("nextPage");
|
|
55
55
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
56
|
-
|
|
56
|
+
$n.push(url.href);
|
|
57
57
|
};
|
|
58
58
|
const failed = () => {
|
|
59
|
-
|
|
59
|
+
$n.push({
|
|
60
60
|
pathname: props.failedPage,
|
|
61
61
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
62
62
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Q, j as an, $ as $n, b as setUserIdentity, i as isDemo } from './index.module-def4aec5.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
@@ -13,9 +13,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
14
|
const [completed, setCompleted] = useState(false);
|
|
15
15
|
const [successful, setSuccessful] = useState(false);
|
|
16
|
-
const userIdent =
|
|
16
|
+
const userIdent = Q();
|
|
17
17
|
const [request, { loading, data, errors }] = an();
|
|
18
|
-
const urlParams = new URLSearchParams(
|
|
18
|
+
const urlParams = new URLSearchParams($n.location.search);
|
|
19
19
|
const oobCode = urlParams.get("oobCode");
|
|
20
20
|
const oobEmail = urlParams.get("email");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -26,7 +26,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
26
26
|
successful);
|
|
27
27
|
const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
|
|
28
28
|
const failed = () => {
|
|
29
|
-
return
|
|
29
|
+
return $n.push({
|
|
30
30
|
pathname: failedPage,
|
|
31
31
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
32
32
|
});
|
|
@@ -34,7 +34,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
34
34
|
const gotoNextPage = () => {
|
|
35
35
|
urlParams.delete("nextPage");
|
|
36
36
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
37
|
-
|
|
37
|
+
$n.push(url.href);
|
|
38
38
|
};
|
|
39
39
|
const logout = () => {
|
|
40
40
|
setTimeout(() => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as intl } from './global-04c7d3b5.js';
|
|
4
|
+
import { i as isDemo } from './index.module-def4aec5.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-12fd274a.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
11
11
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
12
12
|
import { g as getPaypalMeta } from './mockRewardData-0eb6e778.js';
|
|
13
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
13
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-f4de0650.js';
|
|
14
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
15
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
16
16
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as isDemo,
|
|
3
|
+
import { i as isDemo, b as setUserIdentity } from './index.module-def4aec5.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-9fc1ac80.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-46b89952.js';
|
|
11
11
|
|
|
12
12
|
const ReferredRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-def4aec5.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-12fd274a.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import { i as intl } from './global-04c7d3b5.js';
|
|
4
|
+
import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-def4aec5.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-12fd274a.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
11
11
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
12
12
|
import { m as mockRewardData } from './mockRewardData-0eb6e778.js';
|
|
13
|
-
import { g as generateUserError } from './useReferralTable-
|
|
13
|
+
import { g as generateUserError } from './useReferralTable-f4de0650.js';
|
|
14
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
15
|
|
|
16
16
|
const debug = browser("sq:useRewardsTable");
|
|
@@ -162,7 +162,7 @@ const GET_IMPACT_TAX = dist.gql `
|
|
|
162
162
|
`;
|
|
163
163
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
164
164
|
var _a, _b, _c;
|
|
165
|
-
const user =
|
|
165
|
+
const user = Q();
|
|
166
166
|
const programIdContext = H();
|
|
167
167
|
const locale = L();
|
|
168
168
|
// Default to context, overriden by props
|
|
@@ -186,8 +186,8 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
186
186
|
loading: false,
|
|
187
187
|
page: 0,
|
|
188
188
|
});
|
|
189
|
-
const { data: impactTaxData, loading: taxLoading } =
|
|
190
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
189
|
+
const { data: impactTaxData, loading: taxLoading } = yn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
190
|
+
const { envelope: rewardsData, states, callbacks, } = kn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
191
191
|
limit: props.perPage,
|
|
192
192
|
offset: 0,
|
|
193
193
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import {
|
|
3
|
+
import './global-04c7d3b5.js';
|
|
4
|
+
import { $ as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-def4aec5.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import './useChildElements-
|
|
9
|
+
import './useChildElements-32e1bda1.js';
|
|
10
10
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
11
11
|
import './utils-334c1e34.js';
|
|
12
12
|
import './sqm-text-span-view-8d140661.js';
|
|
@@ -17,17 +17,17 @@ import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.j
|
|
|
17
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
18
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
19
19
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-60ef06cc.js';
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4307c992.js';
|
|
22
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
-
import './utilities-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-ffe955c8.js';
|
|
24
|
+
import './utilities-3f5bba22.js';
|
|
25
25
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-1d3066e1.js';
|
|
26
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
27
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
28
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, g as ChangeMarktingView, T as TaskCardView, h as ProgressBarView, i as PoweredByImg$1, j as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, k as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, l as RewardExchangeView, r as rewardExchangeCustomErrorMsg, m as rewardExchangeLongText, n as rewardExchangeSelected, o as chooseAmountFixed, p as chooseAmountFixedNoDescription, q as chooseAmountVariable, s as chooseAmountVariableNoDescription, t as chooseAmountVariableDisabled, v as chooseAmountVariableUnavailable, w as confirmFixed, x as confirmVariable, y as redemptionError, z as queryError, A as success, F as successVariable, G as loading, J as empty$1, K as rewardExchange, M as CardFeedView, O as CouponCodeView, Q as ProgressBar$2, U as autoColorScaleCss, V as ShadowViewAddon } from './ShadowViewAddon-
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, g as ChangeMarktingView, T as TaskCardView, h as ProgressBarView, i as PoweredByImg$1, j as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, k as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, l as RewardExchangeView, r as rewardExchangeCustomErrorMsg, m as rewardExchangeLongText, n as rewardExchangeSelected, o as chooseAmountFixed, p as chooseAmountFixedNoDescription, q as chooseAmountVariable, s as chooseAmountVariableNoDescription, t as chooseAmountVariableDisabled, v as chooseAmountVariableUnavailable, w as confirmFixed, x as confirmVariable, y as redemptionError, z as queryError, A as success, F as successVariable, G as loading, J as empty$1, K as rewardExchange, M as CardFeedView, O as CouponCodeView, Q as ProgressBar$2, U as autoColorScaleCss, V as ShadowViewAddon } from './ShadowViewAddon-149b4015.js';
|
|
29
29
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
30
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
30
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-6e13a323.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2536,36 +2536,36 @@ const routes = `
|
|
|
2536
2536
|
`;
|
|
2537
2537
|
const TemplateNavigation = createHookStory(() => {
|
|
2538
2538
|
return (h("div", null,
|
|
2539
|
-
h("button", { onClick: () =>
|
|
2540
|
-
h("button", { onClick: () =>
|
|
2541
|
-
h("button", { onClick: () =>
|
|
2542
|
-
h("button", { onClick: () =>
|
|
2543
|
-
h("button", { onClick: () =>
|
|
2544
|
-
h("button", { onClick: () =>
|
|
2545
|
-
h("button", { onClick: () =>
|
|
2546
|
-
h("button", { onClick: () =>
|
|
2547
|
-
h("button", { onClick: () =>
|
|
2539
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2540
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2541
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2542
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2543
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2544
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2545
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2546
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2547
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2548
2548
|
h("hr", null),
|
|
2549
2549
|
h("sqm-router", { innerHTML: templates })));
|
|
2550
2550
|
});
|
|
2551
2551
|
const RouteNavigation = createHookStory(() => {
|
|
2552
2552
|
return (h("div", null,
|
|
2553
|
-
h("button", { onClick: () =>
|
|
2554
|
-
h("button", { onClick: () =>
|
|
2555
|
-
h("button", { onClick: () =>
|
|
2556
|
-
h("button", { onClick: () =>
|
|
2557
|
-
h("button", { onClick: () =>
|
|
2558
|
-
h("button", { onClick: () =>
|
|
2559
|
-
h("button", { onClick: () =>
|
|
2560
|
-
h("button", { onClick: () =>
|
|
2561
|
-
h("button", { onClick: () =>
|
|
2553
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2554
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2555
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2556
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2557
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2558
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2559
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2560
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2561
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2562
2562
|
h("hr", null),
|
|
2563
2563
|
h("sqm-router", { innerHTML: routes })));
|
|
2564
2564
|
});
|
|
2565
2565
|
const Styling = createHookStory(() => {
|
|
2566
2566
|
return (h("div", null,
|
|
2567
|
-
h("button", { onClick: () =>
|
|
2568
|
-
h("button", { onClick: () =>
|
|
2567
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2568
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2569
2569
|
h("hr", null),
|
|
2570
2570
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2571
2571
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2579,7 +2579,7 @@ function useTemplate(templateString) {
|
|
|
2579
2579
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2580
2580
|
function setPath(e) {
|
|
2581
2581
|
//@ts-ignore
|
|
2582
|
-
|
|
2582
|
+
$n.push(e.target.value);
|
|
2583
2583
|
}
|
|
2584
2584
|
return {
|
|
2585
2585
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2743,8 +2743,8 @@ const FullStackFrame = () => {
|
|
|
2743
2743
|
"Current path:",
|
|
2744
2744
|
" ",
|
|
2745
2745
|
h("code", null,
|
|
2746
|
-
h("strong", null, (_a =
|
|
2747
|
-
h("button", { onClick:
|
|
2746
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2747
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2748
2748
|
};
|
|
2749
2749
|
const FullStackFrameLoggedOut = () => {
|
|
2750
2750
|
var _a;
|
|
@@ -2768,8 +2768,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2768
2768
|
"Current path:",
|
|
2769
2769
|
" ",
|
|
2770
2770
|
h("code", null,
|
|
2771
|
-
h("strong", null, (_a =
|
|
2772
|
-
h("button", { onClick:
|
|
2771
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2772
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2773
2773
|
};
|
|
2774
2774
|
|
|
2775
2775
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -4097,16 +4097,16 @@ function DefaultTemplateView(props) {
|
|
|
4097
4097
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4098
4098
|
gridGap: "10px",
|
|
4099
4099
|
} },
|
|
4100
|
-
h("button", { onClick: () =>
|
|
4101
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
4102
|
-
h("button", { onClick: () =>
|
|
4103
|
-
h("button", { onClick: () =>
|
|
4104
|
-
h("button", { onClick: () =>
|
|
4105
|
-
h("button", { onClick: () =>
|
|
4106
|
-
h("button", { onClick: () =>
|
|
4107
|
-
h("button", { onClick: () =>
|
|
4108
|
-
h("button", { onClick: () =>
|
|
4109
|
-
h("button", { onClick: () =>
|
|
4100
|
+
h("button", { onClick: () => $n.push("/") }, "Dashboard"),
|
|
4101
|
+
props.leadSubmit && (h("button", { onClick: () => $n.push("/refer") }, "Submit a Referral")),
|
|
4102
|
+
h("button", { onClick: () => $n.push("/activity") }, "Activity"),
|
|
4103
|
+
h("button", { onClick: () => $n.push("/editProfile") }, "Edit Profile"),
|
|
4104
|
+
h("button", { onClick: () => $n.push("/login") }, "Login"),
|
|
4105
|
+
h("button", { onClick: () => $n.push("/register") }, "Register"),
|
|
4106
|
+
h("button", { onClick: () => $n.push("/emailVerification") }, "Email Verification"),
|
|
4107
|
+
h("button", { onClick: () => $n.push("/verifyEmail") }, "Verify Email"),
|
|
4108
|
+
h("button", { onClick: () => $n.push("/forgotPassword") }, "Forgot Password"),
|
|
4109
|
+
h("button", { onClick: () => $n.push("/resetPassword") }, "Reset Password")),
|
|
4110
4110
|
h("br", null),
|
|
4111
4111
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4112
4112
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-def4aec5.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-12fd274a.js';
|
|
5
5
|
|
|
6
6
|
const TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { _ } from './index.module-def4aec5.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-12fd274a.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as useState } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
-
import {
|
|
2
|
+
import { c as mn } from './index.module-def4aec5.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-9fc1ac80.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const cookie = new URLSearchParams(window.location.search);
|
|
8
8
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
9
9
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState();
|
|
10
|
-
const [request, { loading, errors, data }] =
|
|
10
|
+
const [request, { loading, errors, data }] = mn();
|
|
11
11
|
const [error, setError] = useState("");
|
|
12
12
|
const submit = async (event) => {
|
|
13
13
|
var _a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { d as dist,
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { d as dist, Q, H, L, y as yn, k as kn } from './index.module-def4aec5.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-12fd274a.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useReferralTable");
|
|
8
8
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
@@ -243,7 +243,7 @@ const GET_IMPACT_TAX = dist.gql `
|
|
|
243
243
|
`;
|
|
244
244
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
245
245
|
var _a, _b, _c, _d;
|
|
246
|
-
const user =
|
|
246
|
+
const user = Q();
|
|
247
247
|
const programIdContext = H();
|
|
248
248
|
// Default to context, overriden by props
|
|
249
249
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
@@ -267,16 +267,16 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
267
267
|
page: 0,
|
|
268
268
|
});
|
|
269
269
|
const locale = L();
|
|
270
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } =
|
|
270
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = yn(GET_REFERRER_DATA, {
|
|
271
271
|
programId: programId === "classic" ? null : programId,
|
|
272
272
|
rewardFilter,
|
|
273
273
|
locale,
|
|
274
274
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
275
275
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
276
276
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
277
|
-
const { data: taxResponse, loading: taxLoading } =
|
|
277
|
+
const { data: taxResponse, loading: taxLoading } = yn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
278
278
|
const taxConnection = (_c = taxResponse === null || taxResponse === void 0 ? void 0 : taxResponse.viewer) === null || _c === void 0 ? void 0 : _c.impactConnection;
|
|
279
|
-
const { envelope: referralData, states, callbacks, } =
|
|
279
|
+
const { envelope: referralData, states, callbacks, } = kn(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; }, {
|
|
280
280
|
limit: props.perPage,
|
|
281
281
|
offset: 0,
|
|
282
282
|
}, {
|
package/dist/esm/{useRegistrationFormState-4151cec4.js → useRegistrationFormState-9fc1ac80.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
-
import { _ } from './index.module-
|
|
2
|
+
import { _ } from './index.module-def4aec5.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
function useRegistrationFormState(formState) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
-
import { u as useCallback } from './index.module-
|
|
2
|
+
import { u as useCallback } from './index.module-def4aec5.js';
|
|
3
3
|
|
|
4
4
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
5
5
|
function isMobile(breakPoint) {
|