@saasquatch/mint-components 1.13.0-1 → 1.13.0-3
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-c195102f.js → ShadowViewAddon-44cb1a98.js} +15 -15
- package/dist/cjs/{copy-text-view-f7a88b15.js → copy-text-view-9b950efe.js} +6 -6
- package/dist/cjs/{global-0cb2907a.js → global-19fc8a7a.js} +1 -1
- package/dist/cjs/{index.module-3ae0c462.js → index.module-57703088.js} +13 -11
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bfdb0d3.js → re-render-35b016ed.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_38.cjs.entry.js +68 -48
- 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-google-sign-in.cjs.entry.js +7 -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-1c270db0.js → sqm-invoice-table-view-9dfa2a16.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-9691839f.js → sqm-navigation-sidebar-item-view-9bba5f7e.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-pagination_3.cjs.entry.js +7 -7
- 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-758f11cb.js → sqm-portal-email-verification-view-98d84549.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-google-registration-form.cjs.entry.js +73 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-b944ddba.js → sqm-portal-profile-view-bae28ea0.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 +4 -4
- 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 +48 -45
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-4e04d4a0.js → useChildElements-854cd1e5.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-b732990f.js → useInstantAccessRegistration-daff8290.js} +3 -3
- package/dist/cjs/{usePortalRegistrationForm-99ec3cc2.js → usePortalRegistrationForm-a89d736e.js} +5 -5
- package/dist/cjs/{useReferralTable-56d6576f.js → useReferralTable-283d2316.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-2a738647.js → useRegistrationFormState-986b5ea1.js} +1 -1
- package/dist/cjs/{utilities-7da4d59a.js → utilities-c135f16f.js} +1 -1
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +7 -1
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +28 -1
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +5 -2
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +3 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +5 -12
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +24 -4
- package/dist/esm/{ShadowViewAddon-fb9d29e1.js → ShadowViewAddon-eba44767.js} +15 -15
- package/dist/esm/{copy-text-view-d79ce112.js → copy-text-view-b060162f.js} +6 -6
- package/dist/esm/{global-29e5c68b.js → global-bedc4329.js} +1 -1
- package/dist/esm/{index.module-bc8dd3be.js → index.module-a2989d3c.js} +4 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-2a185c6d.js → re-render-268bb9c8.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_38.entry.js +68 -48
- 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-google-sign-in.entry.js +7 -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-79fd00be.js → sqm-invoice-table-view-8e2bb54a.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-700e2c99.js → sqm-navigation-sidebar-item-view-56da6bca.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-pagination_3.entry.js +7 -7
- 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-e2f6cd82.js → sqm-portal-email-verification-view-44c8970f.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-google-registration-form.entry.js +73 -6
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-a52abf17.js → sqm-portal-profile-view-39039274.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 +4 -4
- 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 +48 -45
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-9d6edd4a.js → useChildElements-38c11321.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-031d4454.js → useInstantAccessRegistration-7255b0ca.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-475d3959.js → usePortalRegistrationForm-5715c7a5.js} +5 -5
- package/dist/esm/{useReferralTable-ccbc4934.js → useReferralTable-d77b11f5.js} +7 -7
- package/dist/esm/{useRegistrationFormState-34651ee4.js → useRegistrationFormState-01cdd8c7.js} +1 -1
- package/dist/esm/{utilities-fe487ceb.js → utilities-863d06d1.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-fb9d29e1.js → ShadowViewAddon-eba44767.js} +1 -1
- package/dist/esm-es5/{copy-text-view-d79ce112.js → copy-text-view-b060162f.js} +1 -1
- package/dist/esm-es5/{global-29e5c68b.js → global-bedc4329.js} +1 -1
- package/dist/esm-es5/index.module-a2989d3c.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-2a185c6d.js → re-render-268bb9c8.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_38.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-google-sign-in.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-79fd00be.js → sqm-invoice-table-view-8e2bb54a.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-56da6bca.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-pagination_3.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-e2f6cd82.js → sqm-portal-email-verification-view-44c8970f.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-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-a52abf17.js → sqm-portal-profile-view-39039274.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-38c11321.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-031d4454.js → useInstantAccessRegistration-7255b0ca.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-475d3959.js → usePortalRegistrationForm-5715c7a5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-ccbc4934.js → useReferralTable-d77b11f5.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-34651ee4.js → useRegistrationFormState-01cdd8c7.js} +1 -1
- package/dist/esm-es5/{utilities-fe487ceb.js → utilities-863d06d1.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-0173828a.entry.js +1 -0
- package/dist/mint-components/{p-6487e6bf.entry.js → p-0323586f.entry.js} +16 -16
- package/dist/mint-components/{p-0ae73dd2.system.js → p-046f4631.system.js} +1 -1
- package/dist/mint-components/{p-28353152.entry.js → p-0873eaa8.entry.js} +1 -1
- package/dist/mint-components/{p-a8d088cd.system.js → p-09c5e3ee.system.js} +1 -1
- package/dist/mint-components/{p-a3b972e6.entry.js → p-0aa62b64.entry.js} +1 -1
- package/dist/mint-components/p-0e53c59e.system.js +1 -0
- package/dist/mint-components/{p-e2639e1f.js → p-16c7bfda.js} +1 -1
- package/dist/mint-components/{p-a12351b8.js → p-1833c4f5.js} +1 -1
- package/dist/mint-components/{p-55885404.system.entry.js → p-1b0c58bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-13c1fe04.js → p-1c5cffae.js} +1 -1
- package/dist/mint-components/{p-3aa09019.js → p-1ef299d7.js} +2 -2
- package/dist/mint-components/{p-482729cf.entry.js → p-2126e1e6.entry.js} +1 -1
- package/dist/mint-components/{p-37bb8a23.system.entry.js → p-24c4e0b8.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec4dff25.entry.js → p-28042d23.entry.js} +1 -1
- package/dist/mint-components/{p-859954f7.js → p-2ab3b8d6.js} +1 -1
- package/dist/mint-components/{p-d419afab.entry.js → p-2dc5e60a.entry.js} +1 -1
- package/dist/mint-components/{p-a1b09b0d.js → p-30108c0e.js} +1 -1
- package/dist/mint-components/p-31a691af.js +1 -0
- package/dist/mint-components/{p-84add09b.system.js → p-35698aaa.system.js} +1 -1
- package/dist/mint-components/p-3972037c.system.entry.js +1 -0
- package/dist/mint-components/p-39b1a7fe.js +1 -0
- package/dist/mint-components/p-3bdd338c.system.js +1 -0
- package/dist/mint-components/{p-84d54a69.entry.js → p-3e1b7fb4.entry.js} +1 -1
- package/dist/mint-components/p-3ec660e9.js +1 -0
- package/dist/mint-components/{p-2564c732.js → p-40e99b24.js} +1 -1
- package/dist/mint-components/p-4448febd.entry.js +1 -0
- package/dist/mint-components/{p-b54f56c0.entry.js → p-45436d5a.entry.js} +1 -1
- package/dist/mint-components/{p-e44a0794.system.js → p-46ab5f80.system.js} +1 -1
- package/dist/mint-components/{p-f8d3bb77.js → p-492fdaf9.js} +1 -1
- package/dist/mint-components/{p-f34449e7.entry.js → p-4ae54b04.entry.js} +1 -1
- package/dist/mint-components/{p-1544a0f1.system.entry.js → p-4bcb04aa.system.entry.js} +1 -1
- package/dist/mint-components/p-4daa3f8a.system.entry.js +1 -0
- package/dist/mint-components/{p-6f78f2f4.system.js → p-4f45be94.system.js} +1 -1
- package/dist/mint-components/{p-2e4a0990.js → p-506679e9.js} +1 -1
- package/dist/mint-components/p-53aaa0a4.entry.js +1 -0
- package/dist/mint-components/{p-660ac5ad.js → p-550ef977.js} +2 -2
- package/dist/mint-components/{p-c60f1c6d.entry.js → p-571c451e.entry.js} +1 -1
- package/dist/mint-components/{p-2c01a479.entry.js → p-618e1342.entry.js} +1 -1
- package/dist/mint-components/{p-f9881658.system.entry.js → p-635aaf11.system.entry.js} +1 -1
- package/dist/mint-components/{p-18fdfaff.js → p-6de85677.js} +1 -1
- package/dist/mint-components/{p-edafa368.system.js → p-7166caa6.system.js} +1 -1
- package/dist/mint-components/{p-6e209200.system.entry.js → p-731aa5c6.system.entry.js} +1 -1
- package/dist/mint-components/p-749c7c9c.system.js +1 -0
- package/dist/mint-components/{p-57bb1a14.entry.js → p-75f50e5a.entry.js} +1 -1
- package/dist/mint-components/{p-f07ce541.system.entry.js → p-7989a098.system.entry.js} +1 -1
- package/dist/mint-components/{p-b39f7ba2.system.entry.js → p-79ea1597.system.entry.js} +1 -1
- package/dist/mint-components/{p-120495ed.system.entry.js → p-7bcf4467.system.entry.js} +1 -1
- package/dist/mint-components/{p-d3aa845e.system.entry.js → p-7cb919d4.system.entry.js} +1 -1
- package/dist/mint-components/{p-502f1135.system.entry.js → p-8056fd5b.system.entry.js} +1 -1
- package/dist/mint-components/p-80fc549b.entry.js +1 -0
- package/dist/mint-components/{p-cabcb677.system.entry.js → p-81665df6.system.entry.js} +1 -1
- package/dist/mint-components/{p-3d5530b7.system.entry.js → p-857947fa.system.entry.js} +1 -1
- package/dist/mint-components/p-868f176e.entry.js +1 -0
- package/dist/mint-components/p-8852182d.system.entry.js +1 -0
- package/dist/mint-components/{p-78f3e403.entry.js → p-8975c2be.entry.js} +2 -2
- package/dist/mint-components/{p-67269167.js → p-8d77feee.js} +1 -1
- package/dist/mint-components/{p-1d3d2a7b.system.entry.js → p-92a25556.system.entry.js} +1 -1
- package/dist/mint-components/p-95c64cfd.system.js +1 -0
- package/dist/mint-components/{p-8280da48.system.entry.js → p-988ea164.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce72ea82.system.entry.js → p-9a0c3ed9.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b90dae2.system.entry.js → p-9a16a3d8.system.entry.js} +1 -1
- package/dist/mint-components/{p-d1a32dab.entry.js → p-9b779add.entry.js} +1 -1
- package/dist/mint-components/{p-3f35e499.entry.js → p-9e49479a.entry.js} +1 -1
- package/dist/mint-components/{p-625141de.system.entry.js → p-9f231a48.system.entry.js} +1 -1
- package/dist/mint-components/p-a1f40614.system.entry.js +1 -0
- package/dist/mint-components/{p-dc383779.system.entry.js → p-a21d1a30.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2d931b4.system.entry.js → p-a4a5beb5.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea58b97c.system.js → p-a8524459.system.js} +1 -1
- package/dist/mint-components/{p-7dec07a0.system.entry.js → p-aaeaff1a.system.entry.js} +1 -1
- package/dist/mint-components/p-ac2b7eb8.system.js +1 -0
- package/dist/mint-components/{p-269c7fcf.entry.js → p-b114e746.entry.js} +1 -1
- package/dist/mint-components/{p-bcbaf408.entry.js → p-b611eefd.entry.js} +1 -1
- package/dist/mint-components/{p-ebf8b913.entry.js → p-b9d17fa1.entry.js} +2 -2
- package/dist/mint-components/{p-c43b22fc.system.entry.js → p-bd4810c7.system.entry.js} +1 -1
- package/dist/mint-components/{p-102ecd33.entry.js → p-c470caf6.entry.js} +2 -2
- package/dist/mint-components/p-c4b21562.system.entry.js +1 -0
- package/dist/mint-components/{p-74d2611a.entry.js → p-ca04737a.entry.js} +1 -1
- package/dist/mint-components/{p-7503adda.system.entry.js → p-ca740238.system.entry.js} +1 -1
- package/dist/mint-components/{p-0feca7a7.entry.js → p-cd480e3f.entry.js} +1 -1
- package/dist/mint-components/p-cf505e92.system.js +1 -0
- package/dist/mint-components/p-d671e44e.system.js +1 -0
- package/dist/mint-components/{p-b2fe992e.system.entry.js → p-de9afac2.system.entry.js} +1 -1
- package/dist/mint-components/{p-3f1d9ec1.entry.js → p-e0b344fb.entry.js} +1 -1
- package/dist/mint-components/{p-51f712d3.entry.js → p-e544bb9a.entry.js} +1 -1
- package/dist/mint-components/p-e7b621e0.entry.js +1 -0
- package/dist/mint-components/p-ea9fd654.entry.js +9 -0
- package/dist/mint-components/p-ebdcea27.system.entry.js +1 -0
- package/dist/mint-components/p-f0c23e81.system.entry.js +1 -0
- package/dist/mint-components/{p-076ef8f4.system.js → p-f2fd1910.system.js} +1 -1
- package/dist/mint-components/{p-e7460ad7.entry.js → p-f32c8cb5.entry.js} +1 -1
- package/dist/mint-components/{p-f110c14d.entry.js → p-f4a1dc19.entry.js} +1 -1
- package/dist/mint-components/{p-4e138f8c.system.js → p-f9de8a59.system.js} +1 -1
- package/dist/mint-components/{p-c2f1fb15.system.entry.js → p-fad902ef.system.entry.js} +1 -1
- package/dist/mint-components/{p-1713fcc2.system.entry.js → p-fe4a9dfe.system.entry.js} +1 -1
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +1 -0
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +6 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +1 -0
- package/dist/types/components.d.ts +10 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/esm-es5/index.module-bc8dd3be.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-700e2c99.js +0 -1
- package/dist/esm-es5/useChildElements-9d6edd4a.js +0 -1
- package/dist/mint-components/p-053746b0.entry.js +0 -1
- package/dist/mint-components/p-05f952b4.js +0 -1
- package/dist/mint-components/p-08bd17ec.system.js +0 -1
- package/dist/mint-components/p-1a99fc5a.entry.js +0 -1
- package/dist/mint-components/p-1f0c1adb.entry.js +0 -1
- package/dist/mint-components/p-376eeb6c.system.entry.js +0 -1
- package/dist/mint-components/p-3dc91b3e.system.js +0 -1
- package/dist/mint-components/p-3f633736.entry.js +0 -1
- package/dist/mint-components/p-533ccb5b.entry.js +0 -1
- package/dist/mint-components/p-548df223.system.js +0 -1
- package/dist/mint-components/p-5b2b106c.system.entry.js +0 -1
- package/dist/mint-components/p-5cdd1ac8.system.js +0 -1
- package/dist/mint-components/p-7bdac1cb.system.entry.js +0 -1
- package/dist/mint-components/p-7c83f973.system.entry.js +0 -1
- package/dist/mint-components/p-82b4d2c5.entry.js +0 -9
- package/dist/mint-components/p-a37bc542.system.entry.js +0 -1
- package/dist/mint-components/p-a496f781.system.js +0 -1
- package/dist/mint-components/p-af6cc283.system.entry.js +0 -1
- package/dist/mint-components/p-b0b220a2.js +0 -1
- package/dist/mint-components/p-b2b447dc.system.js +0 -1
- package/dist/mint-components/p-cb008ff3.js +0 -1
- package/dist/mint-components/p-e5996773.entry.js +0 -1
- package/dist/mint-components/p-eaa75e41.system.entry.js +0 -1
- package/dist/mint-components/p-fee4859d.system.js +0 -1
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-19fc8a7a.js');
|
|
8
|
+
const index_module = require('./index.module-57703088.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
require('./mixins-f7e0377a.js');
|
|
14
14
|
const GenericTableView = require('./GenericTableView-a9f4ba75.js');
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
+
const reRender = require('./re-render-35b016ed.js');
|
|
16
|
+
const useChildElements = require('./useChildElements-854cd1e5.js');
|
|
17
17
|
const luxon = require('./luxon-2926d85f.js');
|
|
18
|
-
const useReferralTable = require('./useReferralTable-
|
|
19
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
18
|
+
const useReferralTable = require('./useReferralTable-283d2316.js');
|
|
19
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-9dfa2a16.js');
|
|
20
20
|
|
|
21
21
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
22
22
|
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
@@ -961,13 +961,13 @@ function parseImpactThreshold(threshold) {
|
|
|
961
961
|
function useBankingInfoForm(props) {
|
|
962
962
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
963
963
|
const locale = index_module.L();
|
|
964
|
-
const user = index_module.
|
|
965
|
-
const [step, setStep] = index_module.
|
|
966
|
-
const context = index_module.
|
|
967
|
-
const countries = index_module.
|
|
964
|
+
const user = index_module.J();
|
|
965
|
+
const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
|
|
966
|
+
const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
967
|
+
const countries = index_module.Fn(SORTED_COUNTRIES_NAMESPACE);
|
|
968
968
|
const formRef = stencilHooks_module.useRef(null);
|
|
969
|
-
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module
|
|
970
|
-
const { data: userData, refetch, errors: userError, } = index_module
|
|
969
|
+
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.$n(FINANCE_NETWORK_SETTINGS_NAMESPACE);
|
|
970
|
+
const { data: userData, refetch, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
971
971
|
const [saveWithdrawalSettings] = index_module.$e(SAVE_WITHDRAWAL_SETTINGS);
|
|
972
972
|
const [formState, setFormState] = stencilHooks_module.useState({});
|
|
973
973
|
const [currentPaymentOption, setCurrentPaymentOption] = stencilHooks_module.useState(null);
|
|
@@ -1536,7 +1536,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1536
1536
|
const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
|
|
1537
1537
|
const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
|
|
1538
1538
|
const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
|
|
1539
|
-
const setStep = index_module.
|
|
1539
|
+
const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
|
|
1540
1540
|
const [paymentMethodChecked, setPaymentMethodChecked] = stencilHooks_module.useState(undefined);
|
|
1541
1541
|
const [paymentScheduleChecked, setPaymentScheduleChecked] = stencilHooks_module.useState(undefined);
|
|
1542
1542
|
const [currency, setCurrency] = stencilHooks_module.useState(defaultCurrency);
|
|
@@ -1654,10 +1654,10 @@ const DOCUSIGN_ERROR_STATES = [
|
|
|
1654
1654
|
const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
|
|
1655
1655
|
function useDocusignForm(props) {
|
|
1656
1656
|
var _a, _b, _c;
|
|
1657
|
-
const user = index_module.
|
|
1658
|
-
const context = index_module.
|
|
1659
|
-
const [step, setStep] = index_module.
|
|
1660
|
-
const { data, loading: userLoading, refetch, } = index_module
|
|
1657
|
+
const user = index_module.J();
|
|
1658
|
+
const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
1659
|
+
const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
|
|
1660
|
+
const { data, loading: userLoading, refetch, } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
1661
1661
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
|
1662
1662
|
const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index_module.$e(GET_TAX_DOCUMENT);
|
|
1663
1663
|
const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index_module.$e(COMPLETE_TAX_DOCUMENT);
|
|
@@ -2195,7 +2195,7 @@ const DocusignForm = class {
|
|
|
2195
2195
|
get el() { return index.getElement(this); }
|
|
2196
2196
|
};
|
|
2197
2197
|
function useDocusignFormDemo(props) {
|
|
2198
|
-
const setStep = index_module.
|
|
2198
|
+
const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
|
|
2199
2199
|
return cjs.cjs({
|
|
2200
2200
|
text: props.getTextProps(),
|
|
2201
2201
|
states: {
|
|
@@ -2465,15 +2465,15 @@ function getOption(countries, countryCode) {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
function useIndirectTaxForm(props) {
|
|
2467
2467
|
var _a, _b, _c, _d, _e;
|
|
2468
|
-
const user = index_module.
|
|
2468
|
+
const user = index_module.J();
|
|
2469
2469
|
const locale = index_module.L();
|
|
2470
2470
|
const formRef = stencilHooks_module.useRef(null);
|
|
2471
|
-
const context = index_module.
|
|
2472
|
-
const [step, setStep] = index_module.
|
|
2471
|
+
const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
2472
|
+
const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
|
|
2473
2473
|
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = index_module.$e(CONNECT_PARTNER);
|
|
2474
|
-
const userForm = index_module.
|
|
2475
|
-
const { data: userData, refetch, errors: userError, } = index_module
|
|
2476
|
-
const { data: _countriesRes, loading: countriesLoading } = index_module
|
|
2474
|
+
const userForm = index_module.Fn(USER_FORM_CONTEXT_NAMESPACE);
|
|
2475
|
+
const { data: userData, refetch, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
2476
|
+
const { data: _countriesRes, loading: countriesLoading } = index_module.$n(COUNTRIES_QUERY_NAMESPACE);
|
|
2477
2477
|
const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
|
|
2478
2478
|
const _countries = stencilHooks_module.useMemo(() => { var _a, _b; return (_b = (_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((country) => sqmInvoiceTableView.getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
|
|
2479
2479
|
const [loading, setLoading] = stencilHooks_module.useState(false);
|
|
@@ -2862,7 +2862,7 @@ const IndirectTaxForm = class {
|
|
|
2862
2862
|
}
|
|
2863
2863
|
};
|
|
2864
2864
|
function useDemoIndirectTaxForm(props) {
|
|
2865
|
-
const setStep = index_module.
|
|
2865
|
+
const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
|
|
2866
2866
|
const [option, setOption] = stencilHooks_module.useState(null);
|
|
2867
2867
|
const [demoFormState, setDemoFormState] = stencilHooks_module.useState({});
|
|
2868
2868
|
return cjs.cjs({
|
|
@@ -2972,7 +2972,7 @@ const GET_INVOICES = index_module.dist.gql `
|
|
|
2972
2972
|
`;
|
|
2973
2973
|
function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
2974
2974
|
var _a;
|
|
2975
|
-
const user = index_module.
|
|
2975
|
+
const user = index_module.J();
|
|
2976
2976
|
const locale = index_module.L();
|
|
2977
2977
|
const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
|
|
2978
2978
|
...state,
|
|
@@ -2983,7 +2983,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
|
2983
2983
|
loading: false,
|
|
2984
2984
|
page: 0,
|
|
2985
2985
|
});
|
|
2986
|
-
const { envelope: invoicesData, states, callbacks, } = index_module.
|
|
2986
|
+
const { envelope: invoicesData, states, callbacks, } = index_module.Rn(GET_INVOICES, (data) => { var _a, _b, _c; return (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.invoices; }, {
|
|
2987
2987
|
limit: props.perPage,
|
|
2988
2988
|
offset: 0,
|
|
2989
2989
|
}, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
@@ -3549,7 +3549,7 @@ function PayoutDetailsCardView(props) {
|
|
|
3549
3549
|
|
|
3550
3550
|
function usePayoutDetailsCard(props) {
|
|
3551
3551
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
3552
|
-
const { data, loading } = index_module
|
|
3552
|
+
const { data, loading } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
3553
3553
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
|
3554
3554
|
function getPayoutDetailedStatusText(paymentDay) {
|
|
3555
3555
|
var _a;
|
|
@@ -3739,20 +3739,20 @@ function getCurrentStep(user) {
|
|
|
3739
3739
|
function useTaxAndCash() {
|
|
3740
3740
|
var _a, _b, _c, _d, _e;
|
|
3741
3741
|
const host = index_module._();
|
|
3742
|
-
const user = index_module.
|
|
3742
|
+
const user = index_module.J();
|
|
3743
3743
|
const locale = index_module.L();
|
|
3744
3744
|
// State for current step of form
|
|
3745
|
-
const [step, setStep] = index_module.
|
|
3745
|
+
const [step, setStep] = index_module.In({
|
|
3746
3746
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
3747
3747
|
initialValue: "/loading",
|
|
3748
3748
|
});
|
|
3749
3749
|
// State for when to hide steps, or override certain actions
|
|
3750
|
-
const [context, _setContext] = index_module.
|
|
3750
|
+
const [context, _setContext] = index_module.In({
|
|
3751
3751
|
namespace: TAX_FORM_CONTEXT_NAMESPACE,
|
|
3752
3752
|
initialValue: {},
|
|
3753
3753
|
});
|
|
3754
3754
|
// State to carry user form information into step 2
|
|
3755
|
-
const [userFormContext, _setUserFormContext] = index_module.
|
|
3755
|
+
const [userFormContext, _setUserFormContext] = index_module.In({
|
|
3756
3756
|
namespace: USER_FORM_CONTEXT_NAMESPACE,
|
|
3757
3757
|
initialValue: {
|
|
3758
3758
|
firstName: undefined,
|
|
@@ -3762,19 +3762,19 @@ function useTaxAndCash() {
|
|
|
3762
3762
|
currency: undefined,
|
|
3763
3763
|
},
|
|
3764
3764
|
});
|
|
3765
|
-
const [_currenciesContext, setCurrenciesContext] = index_module.
|
|
3765
|
+
const [_currenciesContext, setCurrenciesContext] = index_module.In({
|
|
3766
3766
|
namespace: CURRENCIES_NAMESPACE,
|
|
3767
3767
|
initialValue: [],
|
|
3768
3768
|
});
|
|
3769
|
-
const [_countriesContext, _setCountriesContext] = index_module.
|
|
3769
|
+
const [_countriesContext, _setCountriesContext] = index_module.In({
|
|
3770
3770
|
namespace: COUNTRIES_NAMESPACE,
|
|
3771
3771
|
initialValue: [],
|
|
3772
3772
|
});
|
|
3773
|
-
const [_sortedCountriesContext, setSortedCountriesContext] = index_module.
|
|
3773
|
+
const [_sortedCountriesContext, setSortedCountriesContext] = index_module.In({
|
|
3774
3774
|
namespace: SORTED_COUNTRIES_NAMESPACE,
|
|
3775
3775
|
initialValue: [],
|
|
3776
3776
|
});
|
|
3777
|
-
const { data, errors } = index_module.
|
|
3777
|
+
const { data, errors } = index_module.Sn({
|
|
3778
3778
|
namespace: USER_QUERY_NAMESPACE,
|
|
3779
3779
|
query: GET_USER,
|
|
3780
3780
|
skip: !user,
|
|
@@ -3784,12 +3784,12 @@ function useTaxAndCash() {
|
|
|
3784
3784
|
});
|
|
3785
3785
|
const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
|
|
3786
3786
|
userFormContext.countryCode;
|
|
3787
|
-
index_module.
|
|
3787
|
+
index_module.Sn({
|
|
3788
3788
|
namespace: COUNTRIES_QUERY_NAMESPACE,
|
|
3789
3789
|
query: GET_COUNTRIES,
|
|
3790
3790
|
skip: !user,
|
|
3791
3791
|
});
|
|
3792
|
-
const { data: financeNetworkData, refetch } = index_module.
|
|
3792
|
+
const { data: financeNetworkData, refetch } = index_module.Sn({
|
|
3793
3793
|
namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
|
|
3794
3794
|
query: GET_FINANCE_NETWORK_SETTINGS,
|
|
3795
3795
|
skip: !user,
|
|
@@ -3797,7 +3797,7 @@ function useTaxAndCash() {
|
|
|
3797
3797
|
filter: getFinanceNetworkFilter(),
|
|
3798
3798
|
},
|
|
3799
3799
|
});
|
|
3800
|
-
const { data: currenciesData } = index_module.
|
|
3800
|
+
const { data: currenciesData } = index_module.Sn({
|
|
3801
3801
|
namespace: CURRENCIES_QUERY_NAMESPACE,
|
|
3802
3802
|
query: GET_CURRENCIES,
|
|
3803
3803
|
skip: !user,
|
|
@@ -3878,7 +3878,7 @@ function useTaxAndCash() {
|
|
|
3878
3878
|
step,
|
|
3879
3879
|
setStep,
|
|
3880
3880
|
context,
|
|
3881
|
-
namespace: index_module.
|
|
3881
|
+
namespace: index_module.Mn(TAX_CONTEXT_NAMESPACE),
|
|
3882
3882
|
loading: step === "/loading",
|
|
3883
3883
|
};
|
|
3884
3884
|
}
|
|
@@ -4824,7 +4824,7 @@ const TaxAndCashMonolith = class {
|
|
|
4824
4824
|
}
|
|
4825
4825
|
};
|
|
4826
4826
|
function useDemoTaxAndCash(props) {
|
|
4827
|
-
const [step, setStep] = index_module.
|
|
4827
|
+
const [step, setStep] = index_module.In({
|
|
4828
4828
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
4829
4829
|
initialValue: "/1",
|
|
4830
4830
|
});
|
|
@@ -5186,15 +5186,15 @@ function getIndirectTaxType(taxInformation) {
|
|
|
5186
5186
|
}
|
|
5187
5187
|
const useTaxAndCashDashboard = (props) => {
|
|
5188
5188
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5189
|
-
const setStep = index_module.
|
|
5190
|
-
const setContext = index_module.
|
|
5189
|
+
const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
|
|
5190
|
+
const setContext = index_module.En(TAX_FORM_CONTEXT_NAMESPACE);
|
|
5191
5191
|
const [showDialog, setShowDialog] = stencilHooks_module.useState(false);
|
|
5192
5192
|
const locale = index_module.L();
|
|
5193
5193
|
stencilHooks_module.useEffect(() => {
|
|
5194
5194
|
// Clear override context once on submitted
|
|
5195
5195
|
setContext({});
|
|
5196
5196
|
}, []);
|
|
5197
|
-
const { data, loading, errors: userError, } = index_module
|
|
5197
|
+
const { data, loading, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
5198
5198
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
|
5199
5199
|
const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
|
|
5200
5200
|
const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
|
|
@@ -6831,12 +6831,12 @@ function useUserInfoForm(props) {
|
|
|
6831
6831
|
const currencyRef = stencilHooks_module.useRef(undefined);
|
|
6832
6832
|
const phoneCountryRef = stencilHooks_module.useRef(undefined);
|
|
6833
6833
|
const formRef = stencilHooks_module.useRef(null);
|
|
6834
|
-
const context = index_module.
|
|
6835
|
-
const countries = index_module.
|
|
6836
|
-
const [step, setStep] = index_module.
|
|
6837
|
-
const [userFormContext, setUserFormContext] = index_module.
|
|
6838
|
-
const { data, loading, errors: userError, } = index_module
|
|
6839
|
-
const _currencies = index_module.
|
|
6834
|
+
const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
6835
|
+
const countries = index_module.Fn(SORTED_COUNTRIES_NAMESPACE);
|
|
6836
|
+
const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
|
|
6837
|
+
const [userFormContext, setUserFormContext] = index_module.Pn(USER_FORM_CONTEXT_NAMESPACE);
|
|
6838
|
+
const { data, loading, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
|
|
6839
|
+
const _currencies = index_module.Fn(CURRENCIES_NAMESPACE);
|
|
6840
6840
|
const currencies = stencilHooks_module.useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
|
|
6841
6841
|
const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
|
|
6842
6842
|
const [phoneCountrySearch, setPhoneCountrySearch] = stencilHooks_module.useState("");
|
|
@@ -7197,7 +7197,7 @@ const TaxForm = class {
|
|
|
7197
7197
|
}
|
|
7198
7198
|
};
|
|
7199
7199
|
function useDemoUserInfoForm(props) {
|
|
7200
|
-
const setStep = index_module.
|
|
7200
|
+
const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
|
|
7201
7201
|
return cjs.cjs({
|
|
7202
7202
|
setStep,
|
|
7203
7203
|
onSubmit: () => {
|
|
@@ -4,23 +4,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-19fc8a7a.js');
|
|
8
|
+
const index_module = require('./index.module-57703088.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
const copyTextView = require('./copy-text-view-
|
|
13
|
+
const copyTextView = require('./copy-text-view-9b950efe.js');
|
|
14
14
|
require('./mixins-f7e0377a.js');
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
+
const reRender = require('./re-render-35b016ed.js');
|
|
16
|
+
const useChildElements = require('./useChildElements-854cd1e5.js');
|
|
17
17
|
require('./luxon-2926d85f.js');
|
|
18
18
|
require('./sqm-text-span-view-0aa82125.js');
|
|
19
19
|
const index$1 = require('./index-8c6255f5.js');
|
|
20
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
20
|
+
const useRegistrationFormState = require('./useRegistrationFormState-986b5ea1.js');
|
|
21
21
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
22
|
-
const utilities = require('./utilities-
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
22
|
+
const utilities = require('./utilities-c135f16f.js');
|
|
23
|
+
const ShadowViewAddon = require('./ShadowViewAddon-44cb1a98.js');
|
|
24
24
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
25
25
|
|
|
26
26
|
const BigStat = class {
|
|
@@ -303,11 +303,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
303
303
|
`;
|
|
304
304
|
function useCouponCode(props) {
|
|
305
305
|
var _a, _b, _c;
|
|
306
|
-
const user = index_module.
|
|
306
|
+
const user = index_module.J();
|
|
307
307
|
const programId = index_module.H();
|
|
308
308
|
const engagementMedium = index_module.B();
|
|
309
309
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
310
|
-
const { data, loading, refetch, errors } = index_module.
|
|
310
|
+
const { data, loading, refetch, errors } = index_module.wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
311
311
|
const getStatus = (reward) => {
|
|
312
312
|
if (!reward || !reward.statuses)
|
|
313
313
|
return "ERROR";
|
|
@@ -697,12 +697,12 @@ const defaultFormState = {
|
|
|
697
697
|
error: "",
|
|
698
698
|
};
|
|
699
699
|
function useEditProfile(props) {
|
|
700
|
-
const userIdent = index_module.
|
|
700
|
+
const userIdent = index_module.J();
|
|
701
701
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
702
702
|
const [error, setError] = stencilHooks_module.useState("");
|
|
703
703
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
704
704
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
705
|
-
const userDataResponse = index_module.
|
|
705
|
+
const userDataResponse = index_module.wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
706
706
|
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
707
707
|
stencilHooks_module.useEffect(() => {
|
|
708
708
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
@@ -1345,7 +1345,7 @@ function useLeaderboard(props) {
|
|
|
1345
1345
|
const programIdContext = index_module.H();
|
|
1346
1346
|
// Default to context, overriden by props
|
|
1347
1347
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1348
|
-
const user = index_module.
|
|
1348
|
+
const user = index_module.J();
|
|
1349
1349
|
const locale = index_module.L();
|
|
1350
1350
|
const variables = programId
|
|
1351
1351
|
? {
|
|
@@ -1365,8 +1365,8 @@ function useLeaderboard(props) {
|
|
|
1365
1365
|
if (props.maxRows > 0) {
|
|
1366
1366
|
variables["limit"] = props.maxRows;
|
|
1367
1367
|
}
|
|
1368
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.
|
|
1369
|
-
const { data: rankData } = index_module.
|
|
1368
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.wn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1369
|
+
const { data: rankData } = index_module.wn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1370
1370
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1371
1371
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1372
1372
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1664,12 +1664,12 @@ function NavigationMenuView(props) {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
|
|
1666
1666
|
function handleMenu(e) {
|
|
1667
|
-
index_module
|
|
1667
|
+
index_module.jn.push(e.detail.item.value);
|
|
1668
1668
|
}
|
|
1669
1669
|
function useNavigationMenu(props) {
|
|
1670
1670
|
const ref = stencilHooks_module.useRef();
|
|
1671
|
-
const [, rerender] = index_module.
|
|
1672
|
-
const user = index_module.
|
|
1671
|
+
const [, rerender] = index_module.yn();
|
|
1672
|
+
const user = index_module.J();
|
|
1673
1673
|
stencilHooks_module.useEffect(() => {
|
|
1674
1674
|
var _a;
|
|
1675
1675
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1727,7 +1727,7 @@ function usePortalChangePassword(props) {
|
|
|
1727
1727
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
1728
1728
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1729
1729
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1730
|
-
const user = index_module.
|
|
1730
|
+
const user = index_module.J();
|
|
1731
1731
|
const submit = async (event) => {
|
|
1732
1732
|
var _a, _b;
|
|
1733
1733
|
setSuccess(false);
|
|
@@ -1969,7 +1969,7 @@ const PortalFooter = class {
|
|
|
1969
1969
|
};
|
|
1970
1970
|
|
|
1971
1971
|
function usePortalFrame(footerContent, headerContent) {
|
|
1972
|
-
const [, rerender] = index_module.
|
|
1972
|
+
const [, rerender] = index_module.yn();
|
|
1973
1973
|
return {
|
|
1974
1974
|
data: {
|
|
1975
1975
|
footer: footerContent,
|
|
@@ -2018,11 +2018,28 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
2020
2020
|
function usePortalLogin(props) {
|
|
2021
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
2022
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2021
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
2022
|
+
const [request, { loading, errors, data }] = index_module.je();
|
|
2023
|
+
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = index_module.hn();
|
|
2023
2024
|
const [error, setError] = stencilHooks_module.useState("");
|
|
2024
|
-
const urlParams = new URLSearchParams(index_module
|
|
2025
|
+
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
2025
2026
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2027
|
+
const googleSubmit = async (e) => {
|
|
2028
|
+
var _a, _b, _c;
|
|
2029
|
+
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
2030
|
+
return;
|
|
2031
|
+
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
2032
|
+
if (result instanceof Error) {
|
|
2033
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_b = result === null || result === void 0 ? void 0 : result["response"]) === null || _b === void 0 ? void 0 : _b["error"]))
|
|
2034
|
+
setError(props.networkErrorMessage);
|
|
2035
|
+
return;
|
|
2036
|
+
}
|
|
2037
|
+
if ((_c = result.authenticateManagedIdentityWithGoogle) === null || _c === void 0 ? void 0 : _c.token) {
|
|
2038
|
+
urlParams.delete("nextPage");
|
|
2039
|
+
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2040
|
+
index_module.jn.push(url.href);
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2026
2043
|
const submit = async (event) => {
|
|
2027
2044
|
var _a, _b;
|
|
2028
2045
|
setError("");
|
|
@@ -2040,19 +2057,22 @@ function usePortalLogin(props) {
|
|
|
2040
2057
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2041
2058
|
urlParams.delete("nextPage");
|
|
2042
2059
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2043
|
-
index_module
|
|
2060
|
+
index_module.jn.push(url.href);
|
|
2044
2061
|
}
|
|
2045
2062
|
};
|
|
2046
2063
|
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
2047
2064
|
error;
|
|
2065
|
+
const googleErrorMessage = ((_l = (_k = (_j = (_h = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.extensions) === null || _l === void 0 ? void 0 : _l.message) || ((_p = (_o = (_m = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _m === void 0 ? void 0 : _m.errors) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.message) ||
|
|
2066
|
+
error;
|
|
2048
2067
|
return {
|
|
2049
2068
|
states: {
|
|
2050
|
-
loading,
|
|
2051
|
-
error: errorMessage,
|
|
2069
|
+
loading: loading || gLoading,
|
|
2070
|
+
error: errorMessage || googleErrorMessage,
|
|
2052
2071
|
registerPath: props.registerPath,
|
|
2053
2072
|
forgotPasswordPath: props.forgotPasswordPath,
|
|
2054
2073
|
},
|
|
2055
2074
|
callbacks: {
|
|
2075
|
+
googleSubmit,
|
|
2056
2076
|
submit,
|
|
2057
2077
|
},
|
|
2058
2078
|
};
|
|
@@ -2136,12 +2156,9 @@ const PortalLogin = class {
|
|
|
2136
2156
|
const sheet = JSS.createStyleSheet(styles);
|
|
2137
2157
|
const styleString = sheet.toString();
|
|
2138
2158
|
const content = {
|
|
2139
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module
|
|
2140
|
-
googleButton: this.showGoogleLogin ? (index.h("sqm-google-sign-in", {
|
|
2141
|
-
|
|
2142
|
-
onInitComplete: (res) => console.log(res)
|
|
2143
|
-
})) : null,
|
|
2144
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), this.showGoogleLogin ? (index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel))) : (index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.registerPath) }, this.registerLabel)))),
|
|
2159
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2160
|
+
googleButton: this.showGoogleLogin ? (index.h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })) : null,
|
|
2161
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), this.showGoogleLogin ? (index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel))) : (index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel)))),
|
|
2145
2162
|
emailLabel: this.emailLabel,
|
|
2146
2163
|
passwordLabel: this.passwordLabel,
|
|
2147
2164
|
submitLabel: this.submitLabel,
|
|
@@ -2160,6 +2177,9 @@ function useLoginDemo(props) {
|
|
|
2160
2177
|
showLoginForm: "manual",
|
|
2161
2178
|
},
|
|
2162
2179
|
callbacks: {
|
|
2180
|
+
googleSubmit: async () => {
|
|
2181
|
+
console.log("google submit");
|
|
2182
|
+
},
|
|
2163
2183
|
submit: async (_event) => {
|
|
2164
2184
|
console.log("submit");
|
|
2165
2185
|
},
|
|
@@ -2174,7 +2194,7 @@ function usePortalRegister(props) {
|
|
|
2174
2194
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2175
2195
|
const formRef = stencilHooks_module.useRef(null);
|
|
2176
2196
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
2177
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2197
|
+
const [request, { loading, errors, data }] = index_module.Ve();
|
|
2178
2198
|
stencilHooks_module.useEffect(() => {
|
|
2179
2199
|
if (!formRef.current)
|
|
2180
2200
|
return;
|
|
@@ -2247,7 +2267,7 @@ function usePortalRegister(props) {
|
|
|
2247
2267
|
validationErrors: {},
|
|
2248
2268
|
});
|
|
2249
2269
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2250
|
-
index_module
|
|
2270
|
+
index_module.jn.push(props.nextPage);
|
|
2251
2271
|
}
|
|
2252
2272
|
}
|
|
2253
2273
|
catch (error) {
|
|
@@ -2421,7 +2441,7 @@ const PortalRegister = class {
|
|
|
2421
2441
|
: usePortalRegister(this);
|
|
2422
2442
|
const content = {
|
|
2423
2443
|
formData: index.h("slot", { name: "formData" }),
|
|
2424
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module
|
|
2444
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
2425
2445
|
terms: index.h("slot", { name: "terms" }),
|
|
2426
2446
|
emailLabel: this.emailLabel,
|
|
2427
2447
|
passwordLabel: this.passwordLabel,
|
|
@@ -2596,7 +2616,7 @@ function useProgramMenu(props) {
|
|
|
2596
2616
|
const host = index_module._();
|
|
2597
2617
|
debug({ programId, props });
|
|
2598
2618
|
const ref = stencilHooks_module.useRef();
|
|
2599
|
-
const [, rerender] = index_module.
|
|
2619
|
+
const [, rerender] = index_module.yn();
|
|
2600
2620
|
stencilHooks_module.useEffect(() => {
|
|
2601
2621
|
var _a;
|
|
2602
2622
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2775,8 +2795,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
2775
2795
|
function useReferralIframe(props) {
|
|
2776
2796
|
var _a;
|
|
2777
2797
|
const programId = index_module.H();
|
|
2778
|
-
const user = index_module.
|
|
2779
|
-
const { data } = index_module.
|
|
2798
|
+
const user = index_module.J();
|
|
2799
|
+
const { data } = index_module.wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2780
2800
|
return {
|
|
2781
2801
|
states: {
|
|
2782
2802
|
content: props,
|
|
@@ -3501,9 +3521,9 @@ function useRewardExchangeList(props) {
|
|
|
3501
3521
|
});
|
|
3502
3522
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
3503
3523
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3504
|
-
const user = index_module.
|
|
3524
|
+
const user = index_module.J();
|
|
3505
3525
|
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.$e(EXCHANGE);
|
|
3506
|
-
const { data, loading, refetch, errors: queryError, } = index_module.
|
|
3526
|
+
const { data, loading, refetch, errors: queryError, } = index_module.wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3507
3527
|
stencilHooks_module.useEffect(() => {
|
|
3508
3528
|
var _a, _b;
|
|
3509
3529
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -3522,7 +3542,7 @@ function useRewardExchangeList(props) {
|
|
|
3522
3542
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3523
3543
|
canvas.confetti();
|
|
3524
3544
|
}, [canvasRef.current]);
|
|
3525
|
-
const { refresh } = index_module.
|
|
3545
|
+
const { refresh } = index_module.Qe();
|
|
3526
3546
|
async function exchangeReward() {
|
|
3527
3547
|
if (!selectedItem)
|
|
3528
3548
|
return;
|
|
@@ -3830,7 +3850,7 @@ function matchPath(pattern, page) {
|
|
|
3830
3850
|
return regexp.exec(page);
|
|
3831
3851
|
}
|
|
3832
3852
|
function useRouter() {
|
|
3833
|
-
const location = index_module.
|
|
3853
|
+
const location = index_module.kn();
|
|
3834
3854
|
const host = index_module._();
|
|
3835
3855
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
3836
3856
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
@@ -4093,9 +4113,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = index_module.dist.gql `
|
|
|
4093
4113
|
function useShareCode(props) {
|
|
4094
4114
|
var _a, _b;
|
|
4095
4115
|
const { programId = index_module.H() } = props;
|
|
4096
|
-
const user = index_module.
|
|
4116
|
+
const user = index_module.J();
|
|
4097
4117
|
const engagementMedium = index_module.B();
|
|
4098
|
-
const { data } = index_module.
|
|
4118
|
+
const { data } = index_module.wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4099
4119
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4100
4120
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
4101
4121
|
// Shown during loading
|
|
@@ -4295,10 +4315,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
4295
4315
|
}
|
|
4296
4316
|
`;
|
|
4297
4317
|
function useTaskCard(props) {
|
|
4298
|
-
const user = index_module.
|
|
4318
|
+
const user = index_module.J();
|
|
4299
4319
|
const locale = index_module.L();
|
|
4300
4320
|
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.$e(SEND_EVENT);
|
|
4301
|
-
const { refresh } = index_module.
|
|
4321
|
+
const { refresh } = index_module.Qe();
|
|
4302
4322
|
stencilHooks_module.useEffect(() => {
|
|
4303
4323
|
if (data) {
|
|
4304
4324
|
refresh();
|
|
@@ -4619,8 +4639,8 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
4619
4639
|
`;
|
|
4620
4640
|
function useUserName(props) {
|
|
4621
4641
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4622
|
-
const user = index_module.
|
|
4623
|
-
const res = index_module.
|
|
4642
|
+
const user = index_module.J();
|
|
4643
|
+
const res = index_module.wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4624
4644
|
const loading = res.loading;
|
|
4625
4645
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
4626
4646
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-57703088.js');
|
|
8
8
|
require('./JSS-8503a151.js');
|
|
9
9
|
require('./mixins-f7e0377a.js');
|
|
10
10
|
const sqmCloseButtonView = require('./sqm-close-button-view-ea3fa23b.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index$1 = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-57703088.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const index = require('./index-8c6255f5.js');
|
|
10
10
|
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
require('./index.module-
|
|
7
|
+
const global = require('./global-19fc8a7a.js');
|
|
8
|
+
require('./index.module-57703088.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-57703088.js');
|
|
8
8
|
|
|
9
9
|
function useGoogleSignIn(props) {
|
|
10
10
|
const [loaded, setLoaded] = stencilHooks_module.useState(false);
|
|
@@ -90,8 +90,13 @@ function useDemoGoogleSignIn(props) {
|
|
|
90
90
|
if (!googleButtonDiv || !loaded)
|
|
91
91
|
return;
|
|
92
92
|
const cb = () => {
|
|
93
|
-
props.initComplete.emit({ credential:
|
|
93
|
+
props.initComplete.emit({ credential: null });
|
|
94
94
|
};
|
|
95
|
+
// @ts-expect-error
|
|
96
|
+
google.accounts.id.initialize({
|
|
97
|
+
client_id: "PLACEHOLDER",
|
|
98
|
+
cb: () => { },
|
|
99
|
+
});
|
|
95
100
|
//@ts-expect-error
|
|
96
101
|
google.accounts.id.renderButton(googleButtonDiv, {
|
|
97
102
|
theme: "outline",
|