@saasquatch/mint-components 1.13.0-1 → 1.13.0-11
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 +19 -3
- 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 +15 -2
- package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +5 -0
- 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 +19 -3
- 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-6487e6bf.entry.js → p-0323586f.entry.js} +16 -16
- package/dist/mint-components/p-045d1d49.entry.js +1 -0
- 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-78f3e403.entry.js → p-8975c2be.entry.js} +2 -2
- package/dist/mint-components/p-8af0db5a.entry.js +1 -0
- package/dist/mint-components/{p-67269167.js → p-8d77feee.js} +1 -1
- package/dist/mint-components/p-8da47802.system.entry.js +1 -0
- 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-d4af00c3.system.entry.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-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-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-c2f1fb15.system.entry.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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host, g as getElement } from './index-91e7729f.js';
|
|
2
2
|
import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, L,
|
|
3
|
+
import { i as intl } from './global-bedc4329.js';
|
|
4
|
+
import { d as dist, L, J, r as Pn, F as Fn, t as $n, $ as $e, i as isDemo, x as En, u as useCallback, R as Rn, M as Mn, _, I as In, S as Sn } from './index.module-a2989d3c.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import './mixins-83f90fa1.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-7b9087af.js';
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-268bb9c8.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-38c11321.js';
|
|
13
13
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
15
|
-
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-d77b11f5.js';
|
|
15
|
+
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-8e2bb54a.js';
|
|
16
16
|
|
|
17
17
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
18
18
|
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
@@ -957,13 +957,13 @@ function parseImpactThreshold(threshold) {
|
|
|
957
957
|
function useBankingInfoForm(props) {
|
|
958
958
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
959
959
|
const locale = L();
|
|
960
|
-
const user =
|
|
961
|
-
const [step, setStep] =
|
|
962
|
-
const context =
|
|
963
|
-
const countries =
|
|
960
|
+
const user = J();
|
|
961
|
+
const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
|
|
962
|
+
const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
963
|
+
const countries = Fn(SORTED_COUNTRIES_NAMESPACE);
|
|
964
964
|
const formRef = useRef(null);
|
|
965
|
-
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } =
|
|
966
|
-
const { data: userData, refetch, errors: userError, } =
|
|
965
|
+
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = $n(FINANCE_NETWORK_SETTINGS_NAMESPACE);
|
|
966
|
+
const { data: userData, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
|
|
967
967
|
const [saveWithdrawalSettings] = $e(SAVE_WITHDRAWAL_SETTINGS);
|
|
968
968
|
const [formState, setFormState] = useState({});
|
|
969
969
|
const [currentPaymentOption, setCurrentPaymentOption] = useState(null);
|
|
@@ -1532,7 +1532,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1532
1532
|
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;
|
|
1533
1533
|
const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
|
|
1534
1534
|
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;
|
|
1535
|
-
const setStep =
|
|
1535
|
+
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
1536
1536
|
const [paymentMethodChecked, setPaymentMethodChecked] = useState(undefined);
|
|
1537
1537
|
const [paymentScheduleChecked, setPaymentScheduleChecked] = useState(undefined);
|
|
1538
1538
|
const [currency, setCurrency] = useState(defaultCurrency);
|
|
@@ -1650,10 +1650,10 @@ const DOCUSIGN_ERROR_STATES = [
|
|
|
1650
1650
|
const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
|
|
1651
1651
|
function useDocusignForm(props) {
|
|
1652
1652
|
var _a, _b, _c;
|
|
1653
|
-
const user =
|
|
1654
|
-
const context =
|
|
1655
|
-
const [step, setStep] =
|
|
1656
|
-
const { data, loading: userLoading, refetch, } =
|
|
1653
|
+
const user = J();
|
|
1654
|
+
const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
1655
|
+
const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
|
|
1656
|
+
const { data, loading: userLoading, refetch, } = $n(USER_QUERY_NAMESPACE);
|
|
1657
1657
|
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;
|
|
1658
1658
|
const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = $e(GET_TAX_DOCUMENT);
|
|
1659
1659
|
const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = $e(COMPLETE_TAX_DOCUMENT);
|
|
@@ -2191,7 +2191,7 @@ const DocusignForm = class {
|
|
|
2191
2191
|
get el() { return getElement(this); }
|
|
2192
2192
|
};
|
|
2193
2193
|
function useDocusignFormDemo(props) {
|
|
2194
|
-
const setStep =
|
|
2194
|
+
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
2195
2195
|
return cjs({
|
|
2196
2196
|
text: props.getTextProps(),
|
|
2197
2197
|
states: {
|
|
@@ -2461,15 +2461,15 @@ function getOption(countries, countryCode) {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
function useIndirectTaxForm(props) {
|
|
2463
2463
|
var _a, _b, _c, _d, _e;
|
|
2464
|
-
const user =
|
|
2464
|
+
const user = J();
|
|
2465
2465
|
const locale = L();
|
|
2466
2466
|
const formRef = useRef(null);
|
|
2467
|
-
const context =
|
|
2468
|
-
const [step, setStep] =
|
|
2467
|
+
const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
2468
|
+
const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
|
|
2469
2469
|
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = $e(CONNECT_PARTNER);
|
|
2470
|
-
const userForm =
|
|
2471
|
-
const { data: userData, refetch, errors: userError, } =
|
|
2472
|
-
const { data: _countriesRes, loading: countriesLoading } =
|
|
2470
|
+
const userForm = Fn(USER_FORM_CONTEXT_NAMESPACE);
|
|
2471
|
+
const { data: userData, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
|
|
2472
|
+
const { data: _countriesRes, loading: countriesLoading } = $n(COUNTRIES_QUERY_NAMESPACE);
|
|
2473
2473
|
const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
|
|
2474
2474
|
const _countries = 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) => getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
|
|
2475
2475
|
const [loading, setLoading] = useState(false);
|
|
@@ -2858,7 +2858,7 @@ const IndirectTaxForm = class {
|
|
|
2858
2858
|
}
|
|
2859
2859
|
};
|
|
2860
2860
|
function useDemoIndirectTaxForm(props) {
|
|
2861
|
-
const setStep =
|
|
2861
|
+
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
2862
2862
|
const [option, setOption] = useState(null);
|
|
2863
2863
|
const [demoFormState, setDemoFormState] = useState({});
|
|
2864
2864
|
return cjs({
|
|
@@ -2968,7 +2968,7 @@ const GET_INVOICES = dist.gql `
|
|
|
2968
2968
|
`;
|
|
2969
2969
|
function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
2970
2970
|
var _a;
|
|
2971
|
-
const user =
|
|
2971
|
+
const user = J();
|
|
2972
2972
|
const locale = L();
|
|
2973
2973
|
const [content, setContent] = useReducer((state, next) => ({
|
|
2974
2974
|
...state,
|
|
@@ -2979,7 +2979,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
|
2979
2979
|
loading: false,
|
|
2980
2980
|
page: 0,
|
|
2981
2981
|
});
|
|
2982
|
-
const { envelope: invoicesData, states, callbacks, } =
|
|
2982
|
+
const { envelope: invoicesData, states, callbacks, } = 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; }, {
|
|
2983
2983
|
limit: props.perPage,
|
|
2984
2984
|
offset: 0,
|
|
2985
2985
|
}, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
@@ -3545,7 +3545,7 @@ function PayoutDetailsCardView(props) {
|
|
|
3545
3545
|
|
|
3546
3546
|
function usePayoutDetailsCard(props) {
|
|
3547
3547
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
3548
|
-
const { data, loading } =
|
|
3548
|
+
const { data, loading } = $n(USER_QUERY_NAMESPACE);
|
|
3549
3549
|
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;
|
|
3550
3550
|
function getPayoutDetailedStatusText(paymentDay) {
|
|
3551
3551
|
var _a;
|
|
@@ -3735,20 +3735,20 @@ function getCurrentStep(user) {
|
|
|
3735
3735
|
function useTaxAndCash() {
|
|
3736
3736
|
var _a, _b, _c, _d, _e;
|
|
3737
3737
|
const host = _();
|
|
3738
|
-
const user =
|
|
3738
|
+
const user = J();
|
|
3739
3739
|
const locale = L();
|
|
3740
3740
|
// State for current step of form
|
|
3741
|
-
const [step, setStep] =
|
|
3741
|
+
const [step, setStep] = In({
|
|
3742
3742
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
3743
3743
|
initialValue: "/loading",
|
|
3744
3744
|
});
|
|
3745
3745
|
// State for when to hide steps, or override certain actions
|
|
3746
|
-
const [context, _setContext] =
|
|
3746
|
+
const [context, _setContext] = In({
|
|
3747
3747
|
namespace: TAX_FORM_CONTEXT_NAMESPACE,
|
|
3748
3748
|
initialValue: {},
|
|
3749
3749
|
});
|
|
3750
3750
|
// State to carry user form information into step 2
|
|
3751
|
-
const [userFormContext, _setUserFormContext] =
|
|
3751
|
+
const [userFormContext, _setUserFormContext] = In({
|
|
3752
3752
|
namespace: USER_FORM_CONTEXT_NAMESPACE,
|
|
3753
3753
|
initialValue: {
|
|
3754
3754
|
firstName: undefined,
|
|
@@ -3758,19 +3758,19 @@ function useTaxAndCash() {
|
|
|
3758
3758
|
currency: undefined,
|
|
3759
3759
|
},
|
|
3760
3760
|
});
|
|
3761
|
-
const [_currenciesContext, setCurrenciesContext] =
|
|
3761
|
+
const [_currenciesContext, setCurrenciesContext] = In({
|
|
3762
3762
|
namespace: CURRENCIES_NAMESPACE,
|
|
3763
3763
|
initialValue: [],
|
|
3764
3764
|
});
|
|
3765
|
-
const [_countriesContext, _setCountriesContext] =
|
|
3765
|
+
const [_countriesContext, _setCountriesContext] = In({
|
|
3766
3766
|
namespace: COUNTRIES_NAMESPACE,
|
|
3767
3767
|
initialValue: [],
|
|
3768
3768
|
});
|
|
3769
|
-
const [_sortedCountriesContext, setSortedCountriesContext] =
|
|
3769
|
+
const [_sortedCountriesContext, setSortedCountriesContext] = In({
|
|
3770
3770
|
namespace: SORTED_COUNTRIES_NAMESPACE,
|
|
3771
3771
|
initialValue: [],
|
|
3772
3772
|
});
|
|
3773
|
-
const { data, errors } =
|
|
3773
|
+
const { data, errors } = Sn({
|
|
3774
3774
|
namespace: USER_QUERY_NAMESPACE,
|
|
3775
3775
|
query: GET_USER,
|
|
3776
3776
|
skip: !user,
|
|
@@ -3780,12 +3780,12 @@ function useTaxAndCash() {
|
|
|
3780
3780
|
});
|
|
3781
3781
|
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) ||
|
|
3782
3782
|
userFormContext.countryCode;
|
|
3783
|
-
|
|
3783
|
+
Sn({
|
|
3784
3784
|
namespace: COUNTRIES_QUERY_NAMESPACE,
|
|
3785
3785
|
query: GET_COUNTRIES,
|
|
3786
3786
|
skip: !user,
|
|
3787
3787
|
});
|
|
3788
|
-
const { data: financeNetworkData, refetch } =
|
|
3788
|
+
const { data: financeNetworkData, refetch } = Sn({
|
|
3789
3789
|
namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
|
|
3790
3790
|
query: GET_FINANCE_NETWORK_SETTINGS,
|
|
3791
3791
|
skip: !user,
|
|
@@ -3793,7 +3793,7 @@ function useTaxAndCash() {
|
|
|
3793
3793
|
filter: getFinanceNetworkFilter(),
|
|
3794
3794
|
},
|
|
3795
3795
|
});
|
|
3796
|
-
const { data: currenciesData } =
|
|
3796
|
+
const { data: currenciesData } = Sn({
|
|
3797
3797
|
namespace: CURRENCIES_QUERY_NAMESPACE,
|
|
3798
3798
|
query: GET_CURRENCIES,
|
|
3799
3799
|
skip: !user,
|
|
@@ -3874,7 +3874,7 @@ function useTaxAndCash() {
|
|
|
3874
3874
|
step,
|
|
3875
3875
|
setStep,
|
|
3876
3876
|
context,
|
|
3877
|
-
namespace:
|
|
3877
|
+
namespace: Mn(TAX_CONTEXT_NAMESPACE),
|
|
3878
3878
|
loading: step === "/loading",
|
|
3879
3879
|
};
|
|
3880
3880
|
}
|
|
@@ -4820,7 +4820,7 @@ const TaxAndCashMonolith = class {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
};
|
|
4822
4822
|
function useDemoTaxAndCash(props) {
|
|
4823
|
-
const [step, setStep] =
|
|
4823
|
+
const [step, setStep] = In({
|
|
4824
4824
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
4825
4825
|
initialValue: "/1",
|
|
4826
4826
|
});
|
|
@@ -5182,15 +5182,15 @@ function getIndirectTaxType(taxInformation) {
|
|
|
5182
5182
|
}
|
|
5183
5183
|
const useTaxAndCashDashboard = (props) => {
|
|
5184
5184
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5185
|
-
const setStep =
|
|
5186
|
-
const setContext =
|
|
5185
|
+
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
5186
|
+
const setContext = En(TAX_FORM_CONTEXT_NAMESPACE);
|
|
5187
5187
|
const [showDialog, setShowDialog] = useState(false);
|
|
5188
5188
|
const locale = L();
|
|
5189
5189
|
useEffect(() => {
|
|
5190
5190
|
// Clear override context once on submitted
|
|
5191
5191
|
setContext({});
|
|
5192
5192
|
}, []);
|
|
5193
|
-
const { data, loading, errors: userError, } =
|
|
5193
|
+
const { data, loading, errors: userError, } = $n(USER_QUERY_NAMESPACE);
|
|
5194
5194
|
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;
|
|
5195
5195
|
const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
|
|
5196
5196
|
const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
|
|
@@ -6827,12 +6827,12 @@ function useUserInfoForm(props) {
|
|
|
6827
6827
|
const currencyRef = useRef(undefined);
|
|
6828
6828
|
const phoneCountryRef = useRef(undefined);
|
|
6829
6829
|
const formRef = useRef(null);
|
|
6830
|
-
const context =
|
|
6831
|
-
const countries =
|
|
6832
|
-
const [step, setStep] =
|
|
6833
|
-
const [userFormContext, setUserFormContext] =
|
|
6834
|
-
const { data, loading, errors: userError, } =
|
|
6835
|
-
const _currencies =
|
|
6830
|
+
const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
6831
|
+
const countries = Fn(SORTED_COUNTRIES_NAMESPACE);
|
|
6832
|
+
const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
|
|
6833
|
+
const [userFormContext, setUserFormContext] = Pn(USER_FORM_CONTEXT_NAMESPACE);
|
|
6834
|
+
const { data, loading, errors: userError, } = $n(USER_QUERY_NAMESPACE);
|
|
6835
|
+
const _currencies = Fn(CURRENCIES_NAMESPACE);
|
|
6836
6836
|
const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
|
|
6837
6837
|
const [countrySearch, setCountrySearch] = useState("");
|
|
6838
6838
|
const [phoneCountrySearch, setPhoneCountrySearch] = useState("");
|
|
@@ -7193,7 +7193,7 @@ const TaxForm = class {
|
|
|
7193
7193
|
}
|
|
7194
7194
|
};
|
|
7195
7195
|
function useDemoUserInfoForm(props) {
|
|
7196
|
-
const setStep =
|
|
7196
|
+
const setStep = En(TAX_CONTEXT_NAMESPACE);
|
|
7197
7197
|
return cjs({
|
|
7198
7198
|
setStep,
|
|
7199
7199
|
onSubmit: () => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo, _, d as dist,
|
|
3
|
+
import { i as intl } from './global-bedc4329.js';
|
|
4
|
+
import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn, o as Ue, p as je, q as hn, V as Ve, u as useCallback, Q as Qe, k as kn } from './index.module-a2989d3c.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
9
|
+
import { C as CopyTextView } from './copy-text-view-b060162f.js';
|
|
10
10
|
import './mixins-83f90fa1.js';
|
|
11
|
-
import { a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { a as useRequestRerender } from './re-render-268bb9c8.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-38c11321.js';
|
|
13
13
|
import './luxon-8d51c92b.js';
|
|
14
14
|
import './sqm-text-span-view-ca32495e.js';
|
|
15
15
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
16
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-01cdd8c7.js';
|
|
17
17
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { i as isEmpty } from './utilities-
|
|
19
|
-
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
18
|
+
import { i as isEmpty } from './utilities-863d06d1.js';
|
|
19
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-eba44767.js';
|
|
20
20
|
import './sqm-portal-container-view-1683ae32.js';
|
|
21
21
|
|
|
22
22
|
const BigStat = class {
|
|
@@ -299,11 +299,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
299
299
|
`;
|
|
300
300
|
function useCouponCode(props) {
|
|
301
301
|
var _a, _b, _c;
|
|
302
|
-
const user =
|
|
302
|
+
const user = J();
|
|
303
303
|
const programId = H();
|
|
304
304
|
const engagementMedium = B();
|
|
305
305
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
306
|
-
const { data, loading, refetch, errors } =
|
|
306
|
+
const { data, loading, refetch, errors } = wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
307
307
|
const getStatus = (reward) => {
|
|
308
308
|
if (!reward || !reward.statuses)
|
|
309
309
|
return "ERROR";
|
|
@@ -693,12 +693,12 @@ const defaultFormState = {
|
|
|
693
693
|
error: "",
|
|
694
694
|
};
|
|
695
695
|
function useEditProfile(props) {
|
|
696
|
-
const userIdent =
|
|
696
|
+
const userIdent = J();
|
|
697
697
|
const [showEdit, setShowEdit] = useState(false);
|
|
698
698
|
const [error, setError] = useState("");
|
|
699
699
|
const [userData, setUserData] = useState(undefined);
|
|
700
700
|
const [formState, setFormState] = useState(defaultFormState);
|
|
701
|
-
const userDataResponse =
|
|
701
|
+
const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
702
702
|
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
|
|
703
703
|
useEffect(() => {
|
|
704
704
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
@@ -1341,7 +1341,7 @@ function useLeaderboard(props) {
|
|
|
1341
1341
|
const programIdContext = H();
|
|
1342
1342
|
// Default to context, overriden by props
|
|
1343
1343
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1344
|
-
const user =
|
|
1344
|
+
const user = J();
|
|
1345
1345
|
const locale = L();
|
|
1346
1346
|
const variables = programId
|
|
1347
1347
|
? {
|
|
@@ -1361,8 +1361,8 @@ function useLeaderboard(props) {
|
|
|
1361
1361
|
if (props.maxRows > 0) {
|
|
1362
1362
|
variables["limit"] = props.maxRows;
|
|
1363
1363
|
}
|
|
1364
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1365
|
-
const { data: rankData } =
|
|
1364
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = wn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1365
|
+
const { data: rankData } = wn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1366
1366
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1367
1367
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1368
1368
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1660,12 +1660,12 @@ function NavigationMenuView(props) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
|
|
1662
1662
|
function handleMenu(e) {
|
|
1663
|
-
|
|
1663
|
+
jn.push(e.detail.item.value);
|
|
1664
1664
|
}
|
|
1665
1665
|
function useNavigationMenu(props) {
|
|
1666
1666
|
const ref = useRef();
|
|
1667
|
-
const [, rerender] =
|
|
1668
|
-
const user =
|
|
1667
|
+
const [, rerender] = yn();
|
|
1668
|
+
const user = J();
|
|
1669
1669
|
useEffect(() => {
|
|
1670
1670
|
var _a;
|
|
1671
1671
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1723,7 +1723,7 @@ function usePortalChangePassword(props) {
|
|
|
1723
1723
|
const [open, setOpen] = useState(false);
|
|
1724
1724
|
const [error, setError] = useState("");
|
|
1725
1725
|
const [success, setSuccess] = useState(false);
|
|
1726
|
-
const user =
|
|
1726
|
+
const user = J();
|
|
1727
1727
|
const submit = async (event) => {
|
|
1728
1728
|
var _a, _b;
|
|
1729
1729
|
setSuccess(false);
|
|
@@ -1965,7 +1965,7 @@ const PortalFooter = class {
|
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
1967
1967
|
function usePortalFrame(footerContent, headerContent) {
|
|
1968
|
-
const [, rerender] =
|
|
1968
|
+
const [, rerender] = yn();
|
|
1969
1969
|
return {
|
|
1970
1970
|
data: {
|
|
1971
1971
|
footer: footerContent,
|
|
@@ -2014,11 +2014,28 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2014
2014
|
}
|
|
2015
2015
|
|
|
2016
2016
|
function usePortalLogin(props) {
|
|
2017
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
2018
|
-
const [request, { loading, errors, data }] =
|
|
2017
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
2018
|
+
const [request, { loading, errors, data }] = je();
|
|
2019
|
+
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = hn();
|
|
2019
2020
|
const [error, setError] = useState("");
|
|
2020
|
-
const urlParams = new URLSearchParams(
|
|
2021
|
+
const urlParams = new URLSearchParams(jn.location.search);
|
|
2021
2022
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2023
|
+
const googleSubmit = async (e) => {
|
|
2024
|
+
var _a, _b, _c;
|
|
2025
|
+
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
2026
|
+
return;
|
|
2027
|
+
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
2028
|
+
if (result instanceof Error) {
|
|
2029
|
+
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"]))
|
|
2030
|
+
setError(props.networkErrorMessage);
|
|
2031
|
+
return;
|
|
2032
|
+
}
|
|
2033
|
+
if ((_c = result.authenticateManagedIdentityWithGoogle) === null || _c === void 0 ? void 0 : _c.token) {
|
|
2034
|
+
urlParams.delete("nextPage");
|
|
2035
|
+
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2036
|
+
jn.push(url.href);
|
|
2037
|
+
}
|
|
2038
|
+
};
|
|
2022
2039
|
const submit = async (event) => {
|
|
2023
2040
|
var _a, _b;
|
|
2024
2041
|
setError("");
|
|
@@ -2036,19 +2053,22 @@ function usePortalLogin(props) {
|
|
|
2036
2053
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2037
2054
|
urlParams.delete("nextPage");
|
|
2038
2055
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2039
|
-
|
|
2056
|
+
jn.push(url.href);
|
|
2040
2057
|
}
|
|
2041
2058
|
};
|
|
2042
2059
|
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) ||
|
|
2043
2060
|
error;
|
|
2061
|
+
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) ||
|
|
2062
|
+
error;
|
|
2044
2063
|
return {
|
|
2045
2064
|
states: {
|
|
2046
|
-
loading,
|
|
2047
|
-
error: errorMessage,
|
|
2065
|
+
loading: loading || gLoading,
|
|
2066
|
+
error: errorMessage || googleErrorMessage,
|
|
2048
2067
|
registerPath: props.registerPath,
|
|
2049
2068
|
forgotPasswordPath: props.forgotPasswordPath,
|
|
2050
2069
|
},
|
|
2051
2070
|
callbacks: {
|
|
2071
|
+
googleSubmit,
|
|
2052
2072
|
submit,
|
|
2053
2073
|
},
|
|
2054
2074
|
};
|
|
@@ -2132,12 +2152,9 @@ const PortalLogin = class {
|
|
|
2132
2152
|
const sheet = createStyleSheet(styles);
|
|
2133
2153
|
const styleString = sheet.toString();
|
|
2134
2154
|
const content = {
|
|
2135
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2136
|
-
googleButton: this.showGoogleLogin ? (h$1("sqm-google-sign-in", {
|
|
2137
|
-
|
|
2138
|
-
onInitComplete: (res) => console.log(res)
|
|
2139
|
-
})) : null,
|
|
2140
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), this.showGoogleLogin ? (h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel))) : (h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel)))),
|
|
2155
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2156
|
+
googleButton: this.showGoogleLogin ? (h$1("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })) : null,
|
|
2157
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), this.showGoogleLogin ? (h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel))) : (h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel)))),
|
|
2141
2158
|
emailLabel: this.emailLabel,
|
|
2142
2159
|
passwordLabel: this.passwordLabel,
|
|
2143
2160
|
submitLabel: this.submitLabel,
|
|
@@ -2156,6 +2173,9 @@ function useLoginDemo(props) {
|
|
|
2156
2173
|
showLoginForm: "manual",
|
|
2157
2174
|
},
|
|
2158
2175
|
callbacks: {
|
|
2176
|
+
googleSubmit: async () => {
|
|
2177
|
+
console.log("google submit");
|
|
2178
|
+
},
|
|
2159
2179
|
submit: async (_event) => {
|
|
2160
2180
|
console.log("submit");
|
|
2161
2181
|
},
|
|
@@ -2170,7 +2190,7 @@ function usePortalRegister(props) {
|
|
|
2170
2190
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2171
2191
|
const formRef = useRef(null);
|
|
2172
2192
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2173
|
-
const [request, { loading, errors, data }] =
|
|
2193
|
+
const [request, { loading, errors, data }] = Ve();
|
|
2174
2194
|
useEffect(() => {
|
|
2175
2195
|
if (!formRef.current)
|
|
2176
2196
|
return;
|
|
@@ -2243,7 +2263,7 @@ function usePortalRegister(props) {
|
|
|
2243
2263
|
validationErrors: {},
|
|
2244
2264
|
});
|
|
2245
2265
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2246
|
-
|
|
2266
|
+
jn.push(props.nextPage);
|
|
2247
2267
|
}
|
|
2248
2268
|
}
|
|
2249
2269
|
catch (error) {
|
|
@@ -2417,7 +2437,7 @@ const PortalRegister = class {
|
|
|
2417
2437
|
: usePortalRegister(this);
|
|
2418
2438
|
const content = {
|
|
2419
2439
|
formData: h$1("slot", { name: "formData" }),
|
|
2420
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2440
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
|
|
2421
2441
|
terms: h$1("slot", { name: "terms" }),
|
|
2422
2442
|
emailLabel: this.emailLabel,
|
|
2423
2443
|
passwordLabel: this.passwordLabel,
|
|
@@ -2592,7 +2612,7 @@ function useProgramMenu(props) {
|
|
|
2592
2612
|
const host = _();
|
|
2593
2613
|
debug({ programId, props });
|
|
2594
2614
|
const ref = useRef();
|
|
2595
|
-
const [, rerender] =
|
|
2615
|
+
const [, rerender] = yn();
|
|
2596
2616
|
useEffect(() => {
|
|
2597
2617
|
var _a;
|
|
2598
2618
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2771,8 +2791,8 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
2771
2791
|
function useReferralIframe(props) {
|
|
2772
2792
|
var _a;
|
|
2773
2793
|
const programId = H();
|
|
2774
|
-
const user =
|
|
2775
|
-
const { data } =
|
|
2794
|
+
const user = J();
|
|
2795
|
+
const { data } = wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2776
2796
|
return {
|
|
2777
2797
|
states: {
|
|
2778
2798
|
content: props,
|
|
@@ -3497,9 +3517,9 @@ function useRewardExchangeList(props) {
|
|
|
3497
3517
|
});
|
|
3498
3518
|
const [open, setOpen] = useState(false);
|
|
3499
3519
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3500
|
-
const user =
|
|
3520
|
+
const user = J();
|
|
3501
3521
|
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
|
|
3502
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
3522
|
+
const { data, loading, refetch, errors: queryError, } = wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3503
3523
|
useEffect(() => {
|
|
3504
3524
|
var _a, _b;
|
|
3505
3525
|
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) {
|
|
@@ -3518,7 +3538,7 @@ function useRewardExchangeList(props) {
|
|
|
3518
3538
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3519
3539
|
canvas.confetti();
|
|
3520
3540
|
}, [canvasRef.current]);
|
|
3521
|
-
const { refresh } =
|
|
3541
|
+
const { refresh } = Qe();
|
|
3522
3542
|
async function exchangeReward() {
|
|
3523
3543
|
if (!selectedItem)
|
|
3524
3544
|
return;
|
|
@@ -3826,7 +3846,7 @@ function matchPath(pattern, page) {
|
|
|
3826
3846
|
return regexp.exec(page);
|
|
3827
3847
|
}
|
|
3828
3848
|
function useRouter() {
|
|
3829
|
-
const location =
|
|
3849
|
+
const location = kn();
|
|
3830
3850
|
const host = _();
|
|
3831
3851
|
const [slot, setSlot] = useState(undefined);
|
|
3832
3852
|
const [container, setContainer] = useState(undefined);
|
|
@@ -4089,9 +4109,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4089
4109
|
function useShareCode(props) {
|
|
4090
4110
|
var _a, _b;
|
|
4091
4111
|
const { programId = H() } = props;
|
|
4092
|
-
const user =
|
|
4112
|
+
const user = J();
|
|
4093
4113
|
const engagementMedium = B();
|
|
4094
|
-
const { data } =
|
|
4114
|
+
const { data } = wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4095
4115
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4096
4116
|
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 :
|
|
4097
4117
|
// Shown during loading
|
|
@@ -4291,10 +4311,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4291
4311
|
}
|
|
4292
4312
|
`;
|
|
4293
4313
|
function useTaskCard(props) {
|
|
4294
|
-
const user =
|
|
4314
|
+
const user = J();
|
|
4295
4315
|
const locale = L();
|
|
4296
4316
|
const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
|
|
4297
|
-
const { refresh } =
|
|
4317
|
+
const { refresh } = Qe();
|
|
4298
4318
|
useEffect(() => {
|
|
4299
4319
|
if (data) {
|
|
4300
4320
|
refresh();
|
|
@@ -4615,8 +4635,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4615
4635
|
`;
|
|
4616
4636
|
function useUserName(props) {
|
|
4617
4637
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4618
|
-
const user =
|
|
4619
|
-
const res =
|
|
4638
|
+
const user = J();
|
|
4639
|
+
const res = wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4620
4640
|
const loading = res.loading;
|
|
4621
4641
|
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)
|
|
4622
4642
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as getEnvironmentSDK } from './index.module-a2989d3c.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
5
|
import './mixins-83f90fa1.js';
|
|
6
6
|
import { C as CloseButtonView } from './sqm-close-button-view-f9819751.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { _ } from './index.module-
|
|
3
|
+
import { _ } from './index.module-a2989d3c.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './index.module-
|
|
3
|
+
import { i as intl } from './global-bedc4329.js';
|
|
4
|
+
import './index.module-a2989d3c.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
|