@saasquatch/mint-components 1.11.0-5 → 1.11.0-7
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-21aa34f8.js → ShadowViewAddon-ba87315e.js} +48 -47
- package/dist/cjs/{global-4a59a374.js → global-0e1b8019.js} +162 -11
- package/dist/cjs/index-56d1fa5b.js +2227 -0
- package/dist/cjs/{index.module-df530553.js → index.module-2d82a984.js} +1444 -244
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-3c470512.js} +1 -1
- package/dist/cjs/{re-render-1976e05e.js → re-render-7744b75a.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +470 -470
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +114 -113
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-7739a5b4.js → sqm-invoice-table-view-e75291d8.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +12 -11
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +10 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-34d8941e.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-07161940.js → sqm-portal-email-verification-view-a056e53e.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-07b99f80.js → sqm-portal-profile-view-c1753d1a.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -14
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +12 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +67 -66
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +50 -49
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-a5a04d8a.js} +1 -4
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-079a23aa.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-615a4dec.js} +4 -4
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-034e8eb1.js} +20 -19
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-cabaa291.js} +3 -3
- package/dist/cjs/{utilities-cec9dd36.js → utilities-a4072d5b.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +13 -14
- package/dist/esm/{ShadowViewAddon-90897c22.js → ShadowViewAddon-cebdd86a.js} +22 -21
- package/dist/esm/{global-e7bb0343.js → global-ce667547.js} +162 -11
- package/dist/esm/index-0c7b14c5.js +2225 -0
- package/dist/esm/{index.module-def4aec5.js → index.module-cfe48b0e.js} +1426 -223
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
- package/dist/esm/{re-render-12fd274a.js → re-render-9f58806b.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +78 -78
- package/dist/esm/sqm-big-stat_38.entry.js +63 -62
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +7 -6
- package/dist/esm/sqm-logout-current-user.entry.js +5 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +5 -5
- package/dist/esm/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
- package/dist/esm/sqm-portal-registration-form.entry.js +10 -9
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/sqm-referral-table_11.entry.js +9 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +14 -13
- package/dist/esm/sqm-stencilbook.entry.js +48 -47
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
- package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-55ba77b1.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-c8486b92.js} +4 -4
- package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-1671695f.js} +11 -10
- package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-554eed2c.js} +3 -3
- package/dist/esm/{utilities-3f5bba22.js → utilities-aa00400c.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-cebdd86a.js +1 -0
- package/dist/esm-es5/global-ce667547.js +285 -0
- package/dist/esm-es5/index-0c7b14c5.js +1 -0
- package/dist/esm-es5/index.module-cfe48b0e.js +53 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
- package/dist/esm-es5/{re-render-12fd274a.js → re-render-9f58806b.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-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.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-cell.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/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
- package/dist/esm-es5/useChildElements-55ba77b1.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-c8486b92.js +1 -0
- package/dist/esm-es5/useReferralTable-1671695f.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-554eed2c.js +1 -0
- package/dist/esm-es5/{utilities-3f5bba22.js → utilities-aa00400c.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-674a64fe.system.js → p-0034b33b.system.js} +1 -1
- package/dist/mint-components/{p-2a414b2e.system.js → p-0979f82e.system.js} +2 -2
- package/dist/mint-components/{p-cde759a7.entry.js → p-1128f16d.entry.js} +14 -14
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-14beec1b.system.entry.js} +1 -1
- package/dist/mint-components/{p-5956a47e.entry.js → p-155e5795.entry.js} +1 -1
- package/dist/mint-components/p-175cf117.system.entry.js +1 -0
- package/dist/mint-components/{p-fd2c5407.js → p-1b24bb52.js} +1 -1
- package/dist/mint-components/p-1bb39bf3.js +1 -0
- package/dist/mint-components/p-1c021084.system.js +1 -0
- package/dist/mint-components/p-1cb0c56c.js +1 -0
- package/dist/mint-components/p-22082cf5.entry.js +1 -0
- package/dist/mint-components/{p-4502ed11.system.entry.js → p-2669e88d.system.entry.js} +1 -1
- package/dist/mint-components/{p-0e556260.js → p-2a82e591.js} +1 -1
- package/dist/mint-components/p-2c1ec58d.system.entry.js +1 -0
- package/dist/mint-components/{p-573fab0f.system.js → p-2c8c2ae9.system.js} +22 -22
- package/dist/mint-components/p-2d713a4a.entry.js +1 -0
- package/dist/mint-components/{p-58ef25d3.system.entry.js → p-2f75d0c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-5cac90e8.system.entry.js → p-349315e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-64491c96.system.entry.js → p-37518555.system.entry.js} +1 -1
- package/dist/mint-components/{p-3223ba7b.entry.js → p-3912f9af.entry.js} +1 -1
- package/dist/mint-components/{p-f3053c61.js → p-48704504.js} +1 -1
- package/dist/mint-components/{p-ce5afa40.entry.js → p-4baf9ec9.entry.js} +1 -1
- package/dist/mint-components/p-4e5ff6d5.system.entry.js +1 -0
- package/dist/mint-components/p-4fd5cde2.entry.js +1 -0
- package/dist/mint-components/{p-e84a74fe.system.entry.js → p-5464dd3c.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd7ee007.system.js → p-553a92e2.system.js} +1 -1
- package/dist/mint-components/p-55ba5de4.js +42 -0
- package/dist/mint-components/p-569acf5d.entry.js +1 -0
- package/dist/mint-components/p-5a9e6c23.system.js +1 -0
- package/dist/mint-components/{p-dd0d79bf.entry.js → p-5c602e84.entry.js} +1 -1
- package/dist/mint-components/p-5e346208.system.entry.js +1 -0
- package/dist/mint-components/{p-a9050eb0.entry.js → p-5f4a0d5a.entry.js} +1 -1
- package/dist/mint-components/p-5f4cf5f4.system.js +53 -0
- package/dist/mint-components/p-6361cd09.system.entry.js +1 -0
- package/dist/mint-components/p-65976f70.system.entry.js +1 -0
- package/dist/mint-components/{p-3d4656bb.system.js → p-69ae3f41.system.js} +1 -1
- package/dist/mint-components/p-6fbfd683.js +1 -0
- package/dist/mint-components/{p-57e4ef5f.entry.js → p-709c0d6d.entry.js} +1 -1
- package/dist/mint-components/{p-86990110.entry.js → p-747e6ce6.entry.js} +1 -1
- package/dist/mint-components/{p-8fe21979.system.entry.js → p-74ba2bdd.system.entry.js} +1 -1
- package/dist/mint-components/p-77150ca3.entry.js +1 -0
- package/dist/mint-components/{p-fbdf0738.entry.js → p-79097c07.entry.js} +1 -1
- package/dist/mint-components/{p-ebcec043.entry.js → p-7a1e23b0.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-7ab14d4b.system.entry.js} +1 -1
- package/dist/mint-components/{p-9dc3f592.entry.js → p-7b0c819b.entry.js} +23 -24
- package/dist/mint-components/p-81ef4d8d.system.entry.js +1 -0
- package/dist/mint-components/{p-41a11a7f.js → p-83a759a6.js} +1 -1
- package/dist/mint-components/p-84a5feb6.js +1 -0
- package/dist/mint-components/p-858a87ce.entry.js +1 -0
- package/dist/mint-components/p-89669879.system.js +1 -0
- package/dist/mint-components/p-8a82d287.entry.js +1 -0
- package/dist/mint-components/{p-7a572b34.entry.js → p-8b37f9fa.entry.js} +3 -3
- package/dist/mint-components/{p-d7df3dfd.system.js → p-8c616b35.system.js} +1 -1
- package/dist/mint-components/p-8d0312ad.entry.js +13 -0
- package/dist/mint-components/{p-66172a05.js → p-8d2d99b5.js} +1 -1
- package/dist/mint-components/{p-251e7567.js → p-9223640e.js} +1 -1
- package/dist/mint-components/{p-eaada4da.js → p-92990ceb.js} +1 -1
- package/dist/mint-components/{p-51721f6b.system.js → p-93c4b92a.system.js} +1 -1
- package/dist/mint-components/p-93feb565.system.entry.js +1 -0
- package/dist/mint-components/{p-0d8c53ac.system.js → p-94b397d0.system.js} +1 -1
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-95af445c.system.entry.js} +1 -1
- package/dist/mint-components/p-97f9ea19.system.js +1 -0
- package/dist/mint-components/{p-4edde470.entry.js → p-9a02b093.entry.js} +1 -1
- package/dist/mint-components/{p-007383e1.entry.js → p-9c1011db.entry.js} +2 -2
- package/dist/mint-components/{p-137ea86e.entry.js → p-a05a21b8.entry.js} +1 -1
- package/dist/mint-components/p-a1dddd9c.entry.js +1 -0
- package/dist/mint-components/{p-07f675ab.system.entry.js → p-a2189daf.system.entry.js} +1 -1
- package/dist/mint-components/p-a230e0f7.entry.js +1 -0
- package/dist/mint-components/{p-2ee2ebba.js → p-a2fc8ec6.js} +4 -4
- package/dist/mint-components/{p-5f1c4160.system.entry.js → p-a56fbe1f.system.entry.js} +1 -1
- package/dist/mint-components/p-a63607fe.js +1 -0
- package/dist/mint-components/p-a6ad8082.system.js +1 -0
- package/dist/mint-components/{p-9774fbc5.js → p-a7e84030.js} +153 -153
- package/dist/mint-components/{p-28b6106f.js → p-aa1750ad.js} +1 -1
- package/dist/mint-components/{p-cf690d55.system.entry.js → p-ad218d0b.system.entry.js} +1 -1
- package/dist/mint-components/p-b9e629c4.entry.js +1 -0
- package/dist/mint-components/{p-cf158064.entry.js → p-ba9642a9.entry.js} +3 -3
- package/dist/mint-components/{p-4864ed8a.system.entry.js → p-bf161aff.system.entry.js} +1 -1
- package/dist/mint-components/p-cac64545.system.entry.js +1 -0
- package/dist/mint-components/{p-370a1a73.system.js → p-cb45d0a8.system.js} +1 -1
- package/dist/mint-components/{p-c7a3fd1b.system.js → p-cc24f7e0.system.js} +1 -1
- package/dist/mint-components/p-cc2a5934.entry.js +13 -0
- package/dist/mint-components/p-cca80c2e.system.entry.js +1 -0
- package/dist/mint-components/{p-178d2d2e.entry.js → p-cdd04337.entry.js} +1 -1
- package/dist/mint-components/{p-b12f7281.system.entry.js → p-ce23dbff.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe5675b3.entry.js → p-cf8ccbf5.entry.js} +1 -1
- package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-cfc4a126.system.entry.js} +1 -1
- package/dist/mint-components/p-d29db28c.system.entry.js +1 -0
- package/dist/mint-components/{p-05948592.js → p-d491eac5.js} +24 -24
- package/dist/mint-components/{p-671ee3fd.entry.js → p-d5e0b017.entry.js} +2 -2
- package/dist/mint-components/{p-6cef104b.entry.js → p-db7b9e12.entry.js} +1 -1
- package/dist/mint-components/p-dbb74fc2.system.entry.js +1 -0
- package/dist/mint-components/{p-8e907ac7.system.entry.js → p-de9b0bcf.system.entry.js} +1 -1
- package/dist/mint-components/p-e3ddb67b.system.entry.js +1 -0
- package/dist/mint-components/{p-ce9e7c98.system.js → p-e5299352.system.js} +1 -1
- package/dist/mint-components/p-eb8cb617.system.js +1 -0
- package/dist/mint-components/p-ef4336c4.system.entry.js +1 -0
- package/dist/mint-components/{p-afd366ae.system.entry.js → p-f0553edd.system.entry.js} +1 -1
- package/dist/mint-components/{p-7731f793.system.entry.js → p-fd8496a0.system.entry.js} +1 -1
- package/dist/mint-components/p-fec47694.entry.js +1 -0
- package/dist/mint-components/p-ff87ca9c.system.entry.js +1 -0
- package/dist/types/components.d.ts +0 -26
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-cash-payouts.cjs.entry.js +0 -19
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -89
- package/dist/collection/components/sqm-cash-payouts/sqm-cash-payouts.js +0 -16
- package/dist/collection/components/sqm-cash-payouts/sqm-widget-verification/sqm-widget-verification.js +0 -47
- package/dist/collection/components/sqm-cash-payouts/sqm-widget-verification/useWidgetVerification.js +0 -53
- package/dist/esm/sqm-cash-payouts.entry.js +0 -15
- package/dist/esm/sqm-widget-verification.entry.js +0 -85
- package/dist/esm-es5/ShadowViewAddon-90897c22.js +0 -1
- package/dist/esm-es5/global-e7bb0343.js +0 -285
- package/dist/esm-es5/index.module-def4aec5.js +0 -1
- package/dist/esm-es5/sqm-cash-payouts.entry.js +0 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
- package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
- package/dist/esm-es5/useReferralTable-f4de0650.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
- package/dist/mint-components/p-02424350.system.js +0 -1
- package/dist/mint-components/p-03494732.entry.js +0 -1
- package/dist/mint-components/p-0b9fa97f.js +0 -1
- package/dist/mint-components/p-10e89d0a.entry.js +0 -1
- package/dist/mint-components/p-1b485560.system.entry.js +0 -1
- package/dist/mint-components/p-217ad395.entry.js +0 -1
- package/dist/mint-components/p-2434470e.system.entry.js +0 -1
- package/dist/mint-components/p-2dd67762.entry.js +0 -1
- package/dist/mint-components/p-51f517a2.js +0 -1
- package/dist/mint-components/p-55a782cf.system.entry.js +0 -1
- package/dist/mint-components/p-5be235f9.entry.js +0 -1
- package/dist/mint-components/p-5c55dc92.system.entry.js +0 -1
- package/dist/mint-components/p-5d485450.entry.js +0 -1
- package/dist/mint-components/p-5db9aa17.system.entry.js +0 -1
- package/dist/mint-components/p-61eab172.js +0 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
- package/dist/mint-components/p-733825fa.system.entry.js +0 -1
- package/dist/mint-components/p-770368bc.system.js +0 -1
- package/dist/mint-components/p-79191f88.entry.js +0 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
- package/dist/mint-components/p-91669312.entry.js +0 -1
- package/dist/mint-components/p-956ed10a.entry.js +0 -13
- package/dist/mint-components/p-97198e2c.system.js +0 -1
- package/dist/mint-components/p-973f6501.system.entry.js +0 -1
- package/dist/mint-components/p-9c310991.system.entry.js +0 -1
- package/dist/mint-components/p-a61e6394.system.entry.js +0 -1
- package/dist/mint-components/p-a6a7dcaa.js +0 -1
- package/dist/mint-components/p-a8f7cb95.js +0 -1
- package/dist/mint-components/p-aad11a68.entry.js +0 -1
- package/dist/mint-components/p-af062c8f.system.entry.js +0 -1
- package/dist/mint-components/p-b370fca8.system.js +0 -1
- package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
- package/dist/mint-components/p-b5861974.system.entry.js +0 -1
- package/dist/mint-components/p-b8dbb809.system.entry.js +0 -1
- package/dist/mint-components/p-be38de26.system.js +0 -1
- package/dist/mint-components/p-c84659a3.system.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-dab544d9.entry.js +0 -1
- package/dist/mint-components/p-db6fbcf4.entry.js +0 -1
- package/dist/mint-components/p-dc63e429.system.entry.js +0 -1
- package/dist/mint-components/p-e5a0c50e.entry.js +0 -13
- package/dist/mint-components/p-eba44835.system.entry.js +0 -1
- package/dist/mint-components/p-f8f6c99d.system.entry.js +0 -1
- package/dist/types/components/sqm-cash-payouts/sqm-cash-payouts.d.ts +0 -8
- package/dist/types/components/sqm-cash-payouts/sqm-widget-verification/sqm-widget-verification.d.ts +0 -9
- package/dist/types/components/sqm-cash-payouts/sqm-widget-verification/useWidgetVerification.d.ts +0 -9
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host, g as getElement } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import {
|
|
5
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
2
|
+
import { e as useRef, f as useState, d as useEffect, j as h$1, u as useMemo, b as browser, h as useReducer } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as intl } from './global-ce667547.js';
|
|
4
|
+
import { Q, K, M as Mn, D as Dn, q as qn, b as xe, i as isDemo, S as Sn, a as useCallback, O as On, p as $n, T, F as Fn, A as An } from './index.module-cfe48b0e.js';
|
|
6
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
6
|
import './mixins-f60a614c.js';
|
|
8
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
10
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
13
|
-
import {
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-9f58806b.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-55ba77b1.js';
|
|
11
|
+
import { l as luxon } from './luxon-63e24900.js';
|
|
12
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
13
|
+
import { g as generateUserError } from './useReferralTable-1671695f.js';
|
|
14
14
|
import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
|
|
15
|
-
import {
|
|
15
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
16
|
+
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-bccf5bbc.js';
|
|
16
17
|
|
|
17
18
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
18
19
|
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
@@ -65,20 +66,19 @@ const GET_USER = dist.gql `
|
|
|
65
66
|
type
|
|
66
67
|
dateCreated
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
# }
|
|
69
|
+
withdrawalSettings {
|
|
70
|
+
paymentMethod
|
|
71
|
+
paypalEmailAddress
|
|
72
|
+
bankCountry
|
|
73
|
+
bankAccountNumber
|
|
74
|
+
paymentSchedulingType
|
|
75
|
+
paymentThreshold
|
|
76
|
+
paymentDay
|
|
77
|
+
}
|
|
78
|
+
payoutsAccount {
|
|
79
|
+
hold
|
|
80
|
+
balance
|
|
81
|
+
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -957,15 +957,15 @@ function parseImpactThreshold(threshold) {
|
|
|
957
957
|
}
|
|
958
958
|
function useBankingInfoForm(props) {
|
|
959
959
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
960
|
-
const locale =
|
|
961
|
-
const user =
|
|
962
|
-
const [step, setStep] =
|
|
963
|
-
const context =
|
|
964
|
-
const countries =
|
|
960
|
+
const locale = Q();
|
|
961
|
+
const user = K();
|
|
962
|
+
const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
|
|
963
|
+
const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
964
|
+
const countries = Dn(SORTED_COUNTRIES_NAMESPACE);
|
|
965
965
|
const formRef = useRef(null);
|
|
966
|
-
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } =
|
|
967
|
-
const { data: userData, refetch, errors: userError, } =
|
|
968
|
-
const [saveWithdrawalSettings] =
|
|
966
|
+
const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = qn(FINANCE_NETWORK_SETTINGS_NAMESPACE);
|
|
967
|
+
const { data: userData, refetch, errors: userError, } = qn(USER_QUERY_NAMESPACE);
|
|
968
|
+
const [saveWithdrawalSettings] = xe(SAVE_WITHDRAWAL_SETTINGS);
|
|
969
969
|
const [formState, setFormState] = useState({});
|
|
970
970
|
const [currentPaymentOption, setCurrentPaymentOption] = useState(null);
|
|
971
971
|
const [loading, setLoading] = useState(false);
|
|
@@ -1533,7 +1533,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1533
1533
|
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;
|
|
1534
1534
|
const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
|
|
1535
1535
|
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;
|
|
1536
|
-
const setStep =
|
|
1536
|
+
const setStep = Sn(TAX_CONTEXT_NAMESPACE);
|
|
1537
1537
|
const [paymentMethodChecked, setPaymentMethodChecked] = useState(undefined);
|
|
1538
1538
|
const [paymentScheduleChecked, setPaymentScheduleChecked] = useState(undefined);
|
|
1539
1539
|
const [currency, setCurrency] = useState(defaultCurrency);
|
|
@@ -1651,13 +1651,13 @@ const DOCUSIGN_ERROR_STATES = [
|
|
|
1651
1651
|
const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
|
|
1652
1652
|
function useDocusignForm(props) {
|
|
1653
1653
|
var _a, _b, _c;
|
|
1654
|
-
const user =
|
|
1655
|
-
const context =
|
|
1656
|
-
const [step, setStep] =
|
|
1657
|
-
const { data, loading: userLoading, refetch, } =
|
|
1654
|
+
const user = K();
|
|
1655
|
+
const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
1656
|
+
const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
|
|
1657
|
+
const { data, loading: userLoading, refetch, } = qn(USER_QUERY_NAMESPACE);
|
|
1658
1658
|
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;
|
|
1659
|
-
const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] =
|
|
1660
|
-
const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] =
|
|
1659
|
+
const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = xe(GET_TAX_DOCUMENT);
|
|
1660
|
+
const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = xe(COMPLETE_TAX_DOCUMENT);
|
|
1661
1661
|
const [docusignStatus, setDocusignStatus] = useState(undefined);
|
|
1662
1662
|
const [participantType, setParticipantType] = useState(undefined);
|
|
1663
1663
|
const [errors, setErrors] = useState({});
|
|
@@ -2187,7 +2187,7 @@ const DocusignForm = class {
|
|
|
2187
2187
|
get el() { return getElement(this); }
|
|
2188
2188
|
};
|
|
2189
2189
|
function useDocusignFormDemo(props) {
|
|
2190
|
-
const setStep =
|
|
2190
|
+
const setStep = Sn(TAX_CONTEXT_NAMESPACE);
|
|
2191
2191
|
return cjs({
|
|
2192
2192
|
text: props.getTextProps(),
|
|
2193
2193
|
states: {
|
|
@@ -2460,15 +2460,15 @@ function getOption(countries, countryCode) {
|
|
|
2460
2460
|
}
|
|
2461
2461
|
function useIndirectTaxForm(props) {
|
|
2462
2462
|
var _a, _b, _c, _d, _e;
|
|
2463
|
-
const user =
|
|
2464
|
-
const locale =
|
|
2463
|
+
const user = K();
|
|
2464
|
+
const locale = Q();
|
|
2465
2465
|
const formRef = useRef(null);
|
|
2466
|
-
const context =
|
|
2467
|
-
const [step, setStep] =
|
|
2468
|
-
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] =
|
|
2469
|
-
const userForm =
|
|
2470
|
-
const { data: userData, refetch, errors: userError, } =
|
|
2471
|
-
const { data: _countriesRes, loading: countriesLoading } =
|
|
2466
|
+
const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
2467
|
+
const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
|
|
2468
|
+
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = xe(CONNECT_PARTNER);
|
|
2469
|
+
const userForm = Dn(USER_FORM_CONTEXT_NAMESPACE);
|
|
2470
|
+
const { data: userData, refetch, errors: userError, } = qn(USER_QUERY_NAMESPACE);
|
|
2471
|
+
const { data: _countriesRes, loading: countriesLoading } = qn(COUNTRIES_QUERY_NAMESPACE);
|
|
2472
2472
|
const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
|
|
2473
2473
|
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]);
|
|
2474
2474
|
const [loading, setLoading] = useState(false);
|
|
@@ -2857,7 +2857,7 @@ const IndirectTaxForm = class {
|
|
|
2857
2857
|
}
|
|
2858
2858
|
};
|
|
2859
2859
|
function useDemoIndirectTaxForm(props) {
|
|
2860
|
-
const setStep =
|
|
2860
|
+
const setStep = Sn(TAX_CONTEXT_NAMESPACE);
|
|
2861
2861
|
const [option, setOption] = useState(null);
|
|
2862
2862
|
const [demoFormState, setDemoFormState] = useState({});
|
|
2863
2863
|
return cjs({
|
|
@@ -2967,8 +2967,8 @@ const GET_INVOICES = dist.gql `
|
|
|
2967
2967
|
`;
|
|
2968
2968
|
function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
2969
2969
|
var _a;
|
|
2970
|
-
const user =
|
|
2971
|
-
const locale =
|
|
2970
|
+
const user = K();
|
|
2971
|
+
const locale = Q();
|
|
2972
2972
|
const [content, setContent] = useReducer((state, next) => ({
|
|
2973
2973
|
...state,
|
|
2974
2974
|
...next,
|
|
@@ -2978,7 +2978,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
|
|
|
2978
2978
|
loading: false,
|
|
2979
2979
|
page: 0,
|
|
2980
2980
|
});
|
|
2981
|
-
const { envelope: invoicesData, states, callbacks, } =
|
|
2981
|
+
const { envelope: invoicesData, states, callbacks, } = On(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; }, {
|
|
2982
2982
|
limit: props.perPage,
|
|
2983
2983
|
offset: 0,
|
|
2984
2984
|
}, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
@@ -3544,7 +3544,7 @@ function PayoutDetailsCardView(props) {
|
|
|
3544
3544
|
|
|
3545
3545
|
function usePayoutDetailsCard(props) {
|
|
3546
3546
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
3547
|
-
const { data, loading } =
|
|
3547
|
+
const { data, loading } = qn(USER_QUERY_NAMESPACE);
|
|
3548
3548
|
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;
|
|
3549
3549
|
function getPayoutDetailedStatusText(paymentDay) {
|
|
3550
3550
|
var _a;
|
|
@@ -3733,21 +3733,21 @@ function getCurrentStep(user) {
|
|
|
3733
3733
|
}
|
|
3734
3734
|
function useTaxAndCash() {
|
|
3735
3735
|
var _a, _b, _c, _d, _e;
|
|
3736
|
-
const host =
|
|
3737
|
-
const user =
|
|
3738
|
-
const locale =
|
|
3736
|
+
const host = T();
|
|
3737
|
+
const user = K();
|
|
3738
|
+
const locale = Q();
|
|
3739
3739
|
// State for current step of form
|
|
3740
|
-
const [step, setStep] =
|
|
3740
|
+
const [step, setStep] = Fn({
|
|
3741
3741
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
3742
3742
|
initialValue: "/loading",
|
|
3743
3743
|
});
|
|
3744
3744
|
// State for when to hide steps, or override certain actions
|
|
3745
|
-
const [context, _setContext] =
|
|
3745
|
+
const [context, _setContext] = Fn({
|
|
3746
3746
|
namespace: TAX_FORM_CONTEXT_NAMESPACE,
|
|
3747
3747
|
initialValue: {},
|
|
3748
3748
|
});
|
|
3749
3749
|
// State to carry user form information into step 2
|
|
3750
|
-
const [userFormContext, _setUserFormContext] =
|
|
3750
|
+
const [userFormContext, _setUserFormContext] = Fn({
|
|
3751
3751
|
namespace: USER_FORM_CONTEXT_NAMESPACE,
|
|
3752
3752
|
initialValue: {
|
|
3753
3753
|
firstName: undefined,
|
|
@@ -3757,19 +3757,19 @@ function useTaxAndCash() {
|
|
|
3757
3757
|
currency: undefined,
|
|
3758
3758
|
},
|
|
3759
3759
|
});
|
|
3760
|
-
const [_currenciesContext, setCurrenciesContext] =
|
|
3760
|
+
const [_currenciesContext, setCurrenciesContext] = Fn({
|
|
3761
3761
|
namespace: CURRENCIES_NAMESPACE,
|
|
3762
3762
|
initialValue: [],
|
|
3763
3763
|
});
|
|
3764
|
-
const [_countriesContext, _setCountriesContext] =
|
|
3764
|
+
const [_countriesContext, _setCountriesContext] = Fn({
|
|
3765
3765
|
namespace: COUNTRIES_NAMESPACE,
|
|
3766
3766
|
initialValue: [],
|
|
3767
3767
|
});
|
|
3768
|
-
const [_sortedCountriesContext, setSortedCountriesContext] =
|
|
3768
|
+
const [_sortedCountriesContext, setSortedCountriesContext] = Fn({
|
|
3769
3769
|
namespace: SORTED_COUNTRIES_NAMESPACE,
|
|
3770
3770
|
initialValue: [],
|
|
3771
3771
|
});
|
|
3772
|
-
const { data, errors } =
|
|
3772
|
+
const { data, errors } = An({
|
|
3773
3773
|
namespace: USER_QUERY_NAMESPACE,
|
|
3774
3774
|
query: GET_USER,
|
|
3775
3775
|
skip: !user,
|
|
@@ -3779,12 +3779,12 @@ function useTaxAndCash() {
|
|
|
3779
3779
|
});
|
|
3780
3780
|
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) ||
|
|
3781
3781
|
userFormContext.countryCode;
|
|
3782
|
-
|
|
3782
|
+
An({
|
|
3783
3783
|
namespace: COUNTRIES_QUERY_NAMESPACE,
|
|
3784
3784
|
query: GET_COUNTRIES,
|
|
3785
3785
|
skip: !user,
|
|
3786
3786
|
});
|
|
3787
|
-
const { data: financeNetworkData, refetch } =
|
|
3787
|
+
const { data: financeNetworkData, refetch } = An({
|
|
3788
3788
|
namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
|
|
3789
3789
|
query: GET_FINANCE_NETWORK_SETTINGS,
|
|
3790
3790
|
skip: !user,
|
|
@@ -3792,7 +3792,7 @@ function useTaxAndCash() {
|
|
|
3792
3792
|
filter: getFinanceNetworkFilter(),
|
|
3793
3793
|
},
|
|
3794
3794
|
});
|
|
3795
|
-
const { data: currenciesData } =
|
|
3795
|
+
const { data: currenciesData } = An({
|
|
3796
3796
|
namespace: CURRENCIES_QUERY_NAMESPACE,
|
|
3797
3797
|
query: GET_CURRENCIES,
|
|
3798
3798
|
skip: !user,
|
|
@@ -3873,7 +3873,7 @@ function useTaxAndCash() {
|
|
|
3873
3873
|
step,
|
|
3874
3874
|
setStep,
|
|
3875
3875
|
context,
|
|
3876
|
-
namespace:
|
|
3876
|
+
namespace: $n(TAX_CONTEXT_NAMESPACE),
|
|
3877
3877
|
loading: step === "/loading",
|
|
3878
3878
|
};
|
|
3879
3879
|
}
|
|
@@ -4814,7 +4814,7 @@ const TaxAndCashMonolith = class {
|
|
|
4814
4814
|
}
|
|
4815
4815
|
};
|
|
4816
4816
|
function useDemoTaxAndCash(props) {
|
|
4817
|
-
const [step, setStep] =
|
|
4817
|
+
const [step, setStep] = Fn({
|
|
4818
4818
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
4819
4819
|
initialValue: "/1",
|
|
4820
4820
|
});
|
|
@@ -5176,15 +5176,15 @@ function getIndirectTaxType(taxInformation) {
|
|
|
5176
5176
|
}
|
|
5177
5177
|
const useTaxAndCashDashboard = (props) => {
|
|
5178
5178
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
5179
|
-
const setStep =
|
|
5180
|
-
const setContext =
|
|
5179
|
+
const setStep = Sn(TAX_CONTEXT_NAMESPACE);
|
|
5180
|
+
const setContext = Sn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
5181
5181
|
const [showDialog, setShowDialog] = useState(false);
|
|
5182
|
-
const locale =
|
|
5182
|
+
const locale = Q();
|
|
5183
5183
|
useEffect(() => {
|
|
5184
5184
|
// Clear override context once on submitted
|
|
5185
5185
|
setContext({});
|
|
5186
5186
|
}, []);
|
|
5187
|
-
const { data, loading, errors: userError, } =
|
|
5187
|
+
const { data, loading, errors: userError, } = qn(USER_QUERY_NAMESPACE);
|
|
5188
5188
|
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;
|
|
5189
5189
|
const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
|
|
5190
5190
|
const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
|
|
@@ -6798,12 +6798,12 @@ function useUserInfoForm(props) {
|
|
|
6798
6798
|
const currencyRef = useRef(undefined);
|
|
6799
6799
|
const phoneCountryRef = useRef(undefined);
|
|
6800
6800
|
const formRef = useRef(null);
|
|
6801
|
-
const context =
|
|
6802
|
-
const countries =
|
|
6803
|
-
const [step, setStep] =
|
|
6804
|
-
const [userFormContext, setUserFormContext] =
|
|
6805
|
-
const { data, loading, errors: userError, } =
|
|
6806
|
-
const _currencies =
|
|
6801
|
+
const context = Dn(TAX_FORM_CONTEXT_NAMESPACE);
|
|
6802
|
+
const countries = Dn(SORTED_COUNTRIES_NAMESPACE);
|
|
6803
|
+
const [step, setStep] = Mn(TAX_CONTEXT_NAMESPACE);
|
|
6804
|
+
const [userFormContext, setUserFormContext] = Mn(USER_FORM_CONTEXT_NAMESPACE);
|
|
6805
|
+
const { data, loading, errors: userError, } = qn(USER_QUERY_NAMESPACE);
|
|
6806
|
+
const _currencies = Dn(CURRENCIES_NAMESPACE);
|
|
6807
6807
|
const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
|
|
6808
6808
|
const [countrySearch, setCountrySearch] = useState("");
|
|
6809
6809
|
const [phoneCountrySearch, setPhoneCountrySearch] = useState("");
|
|
@@ -7164,7 +7164,7 @@ const TaxForm = class {
|
|
|
7164
7164
|
}
|
|
7165
7165
|
};
|
|
7166
7166
|
function useDemoUserInfoForm(props) {
|
|
7167
|
-
const setStep =
|
|
7167
|
+
const setStep = Sn(TAX_CONTEXT_NAMESPACE);
|
|
7168
7168
|
return cjs({
|
|
7169
7169
|
setStep,
|
|
7170
7170
|
onSubmit: () => {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo,
|
|
5
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
2
|
+
import { j as h, d as useEffect, f as useState, k as d, u as useMemo, e as useRef, b as browser, h as useReducer } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as intl } from './global-ce667547.js';
|
|
4
|
+
import { i as isDemo, T, K, z, b as xe, E as En, n as ne, Q, w as wn, x as xn, m as ze, W as We, U as Ue, a as useCallback, o as Ye, j as jn } from './index.module-cfe48b0e.js';
|
|
6
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
6
|
import './mixins-f60a614c.js';
|
|
8
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import './luxon-
|
|
8
|
+
import { a as useRequestRerender } from './re-render-9f58806b.js';
|
|
9
|
+
import { u as useChildElements } from './useChildElements-55ba77b1.js';
|
|
10
|
+
import './luxon-63e24900.js';
|
|
11
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
12
12
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
13
13
|
import './sqm-text-span-view-8d140661.js';
|
|
14
14
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-554eed2c.js';
|
|
17
|
+
import { i as isEmpty } from './utilities-aa00400c.js';
|
|
17
18
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W 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, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
19
|
+
import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W 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, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-cebdd86a.js';
|
|
19
20
|
import './sqm-portal-container-view-ab89c6cc.js';
|
|
20
21
|
|
|
21
22
|
const BigStat = class {
|
|
@@ -35,7 +36,7 @@ const BigStat = class {
|
|
|
35
36
|
render() {
|
|
36
37
|
var _a;
|
|
37
38
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
38
|
-
const host =
|
|
39
|
+
const host = T();
|
|
39
40
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
40
41
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
41
42
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
@@ -156,7 +157,7 @@ const styleString = sheet.toString();
|
|
|
156
157
|
function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
|
|
157
158
|
if (!missingProps)
|
|
158
159
|
return false;
|
|
159
|
-
const host =
|
|
160
|
+
const host = T();
|
|
160
161
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
161
162
|
return (h$1("sl-alert", { type: "danger", open: true },
|
|
162
163
|
h$1("style", { type: "text/css" }, styleString),
|
|
@@ -298,11 +299,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
298
299
|
`;
|
|
299
300
|
function useCouponCode(props) {
|
|
300
301
|
var _a, _b, _c;
|
|
301
|
-
const user =
|
|
302
|
-
const programId =
|
|
303
|
-
const engagementMedium =
|
|
304
|
-
const [sendLoadEvent] =
|
|
305
|
-
const { data, loading, refetch, errors } =
|
|
302
|
+
const user = K();
|
|
303
|
+
const programId = z();
|
|
304
|
+
const engagementMedium = ne();
|
|
305
|
+
const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT);
|
|
306
|
+
const { data, loading, refetch, errors } = En(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
306
307
|
const getStatus = (reward) => {
|
|
307
308
|
if (!reward || !reward.statuses)
|
|
308
309
|
return "ERROR";
|
|
@@ -692,13 +693,13 @@ const defaultFormState = {
|
|
|
692
693
|
error: "",
|
|
693
694
|
};
|
|
694
695
|
function useEditProfile(props) {
|
|
695
|
-
const userIdent =
|
|
696
|
+
const userIdent = K();
|
|
696
697
|
const [showEdit, setShowEdit] = useState(false);
|
|
697
698
|
const [error, setError] = useState("");
|
|
698
699
|
const [userData, setUserData] = useState(undefined);
|
|
699
700
|
const [formState, setFormState] = useState(defaultFormState);
|
|
700
|
-
const userDataResponse =
|
|
701
|
-
const [upsertUser, upsertUserResponse] =
|
|
701
|
+
const userDataResponse = En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
702
|
+
const [upsertUser, upsertUserResponse] = xe(UPSERT_USER);
|
|
702
703
|
useEffect(() => {
|
|
703
704
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
704
705
|
return;
|
|
@@ -1299,11 +1300,11 @@ const GET_RANK = dist.gql `
|
|
|
1299
1300
|
`;
|
|
1300
1301
|
function useLeaderboard(props) {
|
|
1301
1302
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1302
|
-
const programIdContext =
|
|
1303
|
+
const programIdContext = z();
|
|
1303
1304
|
// Default to context, overriden by props
|
|
1304
1305
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1305
|
-
const user =
|
|
1306
|
-
const locale =
|
|
1306
|
+
const user = K();
|
|
1307
|
+
const locale = Q();
|
|
1307
1308
|
const variables = programId
|
|
1308
1309
|
? {
|
|
1309
1310
|
type: props.leaderboardType,
|
|
@@ -1322,8 +1323,8 @@ function useLeaderboard(props) {
|
|
|
1322
1323
|
if (props.maxRows > 0) {
|
|
1323
1324
|
variables["limit"] = props.maxRows;
|
|
1324
1325
|
}
|
|
1325
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1326
|
-
const { data: rankData } =
|
|
1326
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = En(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1327
|
+
const { data: rankData } = En(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1327
1328
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1328
1329
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1329
1330
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1618,12 +1619,12 @@ function NavigationMenuView(props) {
|
|
|
1618
1619
|
}
|
|
1619
1620
|
|
|
1620
1621
|
function handleMenu(e) {
|
|
1621
|
-
|
|
1622
|
+
xn.push(e.detail.item.value);
|
|
1622
1623
|
}
|
|
1623
1624
|
function useNavigationMenu(props) {
|
|
1624
1625
|
const ref = useRef();
|
|
1625
|
-
const [, rerender] =
|
|
1626
|
-
const user =
|
|
1626
|
+
const [, rerender] = wn();
|
|
1627
|
+
const user = K();
|
|
1627
1628
|
useEffect(() => {
|
|
1628
1629
|
var _a;
|
|
1629
1630
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1677,11 +1678,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1677
1678
|
|
|
1678
1679
|
function usePortalChangePassword(props) {
|
|
1679
1680
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1680
|
-
const [request, { loading, errors, data }] =
|
|
1681
|
+
const [request, { loading, errors, data }] = ze();
|
|
1681
1682
|
const [open, setOpen] = useState(false);
|
|
1682
1683
|
const [error, setError] = useState("");
|
|
1683
1684
|
const [success, setSuccess] = useState(false);
|
|
1684
|
-
const user =
|
|
1685
|
+
const user = K();
|
|
1685
1686
|
const submit = async (event) => {
|
|
1686
1687
|
var _a, _b;
|
|
1687
1688
|
setSuccess(false);
|
|
@@ -1923,7 +1924,7 @@ const PortalFooter = class {
|
|
|
1923
1924
|
};
|
|
1924
1925
|
|
|
1925
1926
|
function usePortalFrame(footerContent, headerContent) {
|
|
1926
|
-
const [, rerender] =
|
|
1927
|
+
const [, rerender] = wn();
|
|
1927
1928
|
return {
|
|
1928
1929
|
data: {
|
|
1929
1930
|
footer: footerContent,
|
|
@@ -1973,9 +1974,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1973
1974
|
|
|
1974
1975
|
function usePortalLogin(props) {
|
|
1975
1976
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1976
|
-
const [request, { loading, errors, data }] =
|
|
1977
|
+
const [request, { loading, errors, data }] = We();
|
|
1977
1978
|
const [error, setError] = useState("");
|
|
1978
|
-
const urlParams = new URLSearchParams(
|
|
1979
|
+
const urlParams = new URLSearchParams(xn.location.search);
|
|
1979
1980
|
const nextPageOverride = urlParams.get("nextPage");
|
|
1980
1981
|
const submit = async (event) => {
|
|
1981
1982
|
var _a, _b;
|
|
@@ -1994,7 +1995,7 @@ function usePortalLogin(props) {
|
|
|
1994
1995
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
1995
1996
|
urlParams.delete("nextPage");
|
|
1996
1997
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
1997
|
-
|
|
1998
|
+
xn.push(url.href);
|
|
1998
1999
|
}
|
|
1999
2000
|
};
|
|
2000
2001
|
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) ||
|
|
@@ -2073,8 +2074,8 @@ const PortalLogin = class {
|
|
|
2073
2074
|
? useLoginDemo(this)
|
|
2074
2075
|
: usePortalLogin(this);
|
|
2075
2076
|
const content = {
|
|
2076
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2077
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2077
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => xn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2078
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.registerPath) }, this.registerLabel))),
|
|
2078
2079
|
emailLabel: this.emailLabel,
|
|
2079
2080
|
passwordLabel: this.passwordLabel,
|
|
2080
2081
|
submitLabel: this.submitLabel,
|
|
@@ -2103,7 +2104,7 @@ function usePortalRegister(props) {
|
|
|
2103
2104
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2104
2105
|
const formRef = useRef(null);
|
|
2105
2106
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2106
|
-
const [request, { loading, errors, data }] =
|
|
2107
|
+
const [request, { loading, errors, data }] = Ue();
|
|
2107
2108
|
useEffect(() => {
|
|
2108
2109
|
if (!formRef.current)
|
|
2109
2110
|
return;
|
|
@@ -2176,7 +2177,7 @@ function usePortalRegister(props) {
|
|
|
2176
2177
|
validationErrors: {},
|
|
2177
2178
|
});
|
|
2178
2179
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2179
|
-
|
|
2180
|
+
xn.push(props.nextPage);
|
|
2180
2181
|
}
|
|
2181
2182
|
}
|
|
2182
2183
|
catch (error) {
|
|
@@ -2350,7 +2351,7 @@ const PortalRegister = class {
|
|
|
2350
2351
|
: usePortalRegister(this);
|
|
2351
2352
|
const content = {
|
|
2352
2353
|
formData: h$1("slot", { name: "formData" }),
|
|
2353
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2354
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginLabel))),
|
|
2354
2355
|
terms: h$1("slot", { name: "terms" }),
|
|
2355
2356
|
emailLabel: this.emailLabel,
|
|
2356
2357
|
passwordLabel: this.passwordLabel,
|
|
@@ -2521,11 +2522,11 @@ const ProgramExplainerStep = class {
|
|
|
2521
2522
|
const debug = browser("sq:useProgramMenu");
|
|
2522
2523
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
2523
2524
|
function useProgramMenu(props) {
|
|
2524
|
-
const programId =
|
|
2525
|
-
const host =
|
|
2525
|
+
const programId = z();
|
|
2526
|
+
const host = T();
|
|
2526
2527
|
debug({ programId, props });
|
|
2527
2528
|
const ref = useRef();
|
|
2528
|
-
const [, rerender] =
|
|
2529
|
+
const [, rerender] = wn();
|
|
2529
2530
|
useEffect(() => {
|
|
2530
2531
|
var _a;
|
|
2531
2532
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2703,9 +2704,9 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
2703
2704
|
`;
|
|
2704
2705
|
function useReferralIframe(props) {
|
|
2705
2706
|
var _a;
|
|
2706
|
-
const programId =
|
|
2707
|
-
const user =
|
|
2708
|
-
const { data } =
|
|
2707
|
+
const programId = z();
|
|
2708
|
+
const user = K();
|
|
2709
|
+
const { data } = En(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2709
2710
|
return {
|
|
2710
2711
|
states: {
|
|
2711
2712
|
content: props,
|
|
@@ -3430,9 +3431,9 @@ function useRewardExchangeList(props) {
|
|
|
3430
3431
|
});
|
|
3431
3432
|
const [open, setOpen] = useState(false);
|
|
3432
3433
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3433
|
-
const user =
|
|
3434
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] =
|
|
3435
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
3434
|
+
const user = K();
|
|
3435
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = xe(EXCHANGE);
|
|
3436
|
+
const { data, loading, refetch, errors: queryError, } = En(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3436
3437
|
useEffect(() => {
|
|
3437
3438
|
var _a, _b;
|
|
3438
3439
|
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) {
|
|
@@ -3451,7 +3452,7 @@ function useRewardExchangeList(props) {
|
|
|
3451
3452
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3452
3453
|
canvas.confetti();
|
|
3453
3454
|
}, [canvasRef.current]);
|
|
3454
|
-
const { refresh } =
|
|
3455
|
+
const { refresh } = Ye();
|
|
3455
3456
|
async function exchangeReward() {
|
|
3456
3457
|
if (!selectedItem)
|
|
3457
3458
|
return;
|
|
@@ -3759,8 +3760,8 @@ function matchPath(pattern, page) {
|
|
|
3759
3760
|
return regexp.exec(page);
|
|
3760
3761
|
}
|
|
3761
3762
|
function useRouter() {
|
|
3762
|
-
const location =
|
|
3763
|
-
const host =
|
|
3763
|
+
const location = jn();
|
|
3764
|
+
const host = T();
|
|
3764
3765
|
const [slot, setSlot] = useState(undefined);
|
|
3765
3766
|
const [container, setContainer] = useState(undefined);
|
|
3766
3767
|
const page = location.pathname;
|
|
@@ -4021,11 +4022,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4021
4022
|
`;
|
|
4022
4023
|
function useShareCode(props) {
|
|
4023
4024
|
var _a, _b;
|
|
4024
|
-
const { programId =
|
|
4025
|
-
const user =
|
|
4026
|
-
const engagementMedium =
|
|
4027
|
-
const { data } =
|
|
4028
|
-
const [sendLoadEvent] =
|
|
4025
|
+
const { programId = z() } = props;
|
|
4026
|
+
const user = K();
|
|
4027
|
+
const engagementMedium = ne();
|
|
4028
|
+
const { data } = En(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4029
|
+
const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4029
4030
|
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 :
|
|
4030
4031
|
// Shown during loading
|
|
4031
4032
|
"...";
|
|
@@ -4224,10 +4225,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4224
4225
|
}
|
|
4225
4226
|
`;
|
|
4226
4227
|
function useTaskCard(props) {
|
|
4227
|
-
const user =
|
|
4228
|
-
const locale =
|
|
4229
|
-
const [sendUserEvent, { data, loading: loadingEvent }] =
|
|
4230
|
-
const { refresh } =
|
|
4228
|
+
const user = K();
|
|
4229
|
+
const locale = Q();
|
|
4230
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = xe(SEND_EVENT);
|
|
4231
|
+
const { refresh } = Ye();
|
|
4231
4232
|
useEffect(() => {
|
|
4232
4233
|
if (data) {
|
|
4233
4234
|
refresh();
|
|
@@ -4548,8 +4549,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4548
4549
|
`;
|
|
4549
4550
|
function useUserName(props) {
|
|
4550
4551
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4551
|
-
const user =
|
|
4552
|
-
const res =
|
|
4552
|
+
const user = K();
|
|
4553
|
+
const res = En(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4553
4554
|
const loading = res.loading;
|
|
4554
4555
|
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)
|
|
4555
4556
|
? `${(_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-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { g as getEnvironmentSDK } from './index.module-cfe48b0e.js';
|
|
4
4
|
import './mixins-f60a614c.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
|