@saasquatch/mint-components 1.11.0-3 → 1.11.0-6
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 +3 -3
- package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +3 -3
- 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 +457 -456
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +120 -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-view-c7fb69d4.js → sqm-navigation-sidebar-view-921704fb.js} +0 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- 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 +51 -50
- 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/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +0 -6
- 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 +3 -3
- package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
- package/dist/esm/mint-components.js +3 -3
- 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 +65 -64
- package/dist/esm/sqm-big-stat_38.entry.js +69 -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-view-4e8a6a8c.js → sqm-navigation-sidebar-view-0312e073.js} +0 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
- 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 +49 -48
- 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-view-0312e073.js +1 -0
- 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-d51eb656.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-58151230.system.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-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-97198e2c.system.js → p-a6ad8082.system.js} +1 -1
- 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-ac1bf045.js +1 -0
- 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-05948592.js → p-d491eac5.js} +24 -24
- package/dist/mint-components/{p-d1d16808.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-e546347e.system.js +1 -0
- package/dist/mint-components/p-eb8cb617.system.js +1 -0
- package/dist/mint-components/{p-9dc3f592.entry.js → p-ec2390ee.entry.js} +10 -10
- 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/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- 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-navigation-sidebar-view-4e8a6a8c.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-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-1f344065.entry.js +0 -1
- package/dist/mint-components/p-2dd67762.entry.js +0 -1
- package/dist/mint-components/p-445ffcfd.system.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-5d485450.entry.js +0 -1
- package/dist/mint-components/p-61eab172.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-973f6501.system.entry.js +0 -1
- package/dist/mint-components/p-9873d3c6.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-bcccc284.system.js +0 -1
- package/dist/mint-components/p-be38de26.system.js +0 -1
- package/dist/mint-components/p-c0de49e7.system.entry.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-e044bbf1.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
|
@@ -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";
|
|
@@ -557,6 +558,12 @@ function DividedLayoutView(props, children) {
|
|
|
557
558
|
:host{
|
|
558
559
|
${hostStyle}
|
|
559
560
|
}
|
|
561
|
+
@media screen and (max-width: 570px) {
|
|
562
|
+
:host {
|
|
563
|
+
display: flex;
|
|
564
|
+
flex-direction: column;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
560
567
|
sqm-divided-layout {
|
|
561
568
|
${hostStyle}
|
|
562
569
|
}
|
|
@@ -686,13 +693,13 @@ const defaultFormState = {
|
|
|
686
693
|
error: "",
|
|
687
694
|
};
|
|
688
695
|
function useEditProfile(props) {
|
|
689
|
-
const userIdent =
|
|
696
|
+
const userIdent = K();
|
|
690
697
|
const [showEdit, setShowEdit] = useState(false);
|
|
691
698
|
const [error, setError] = useState("");
|
|
692
699
|
const [userData, setUserData] = useState(undefined);
|
|
693
700
|
const [formState, setFormState] = useState(defaultFormState);
|
|
694
|
-
const userDataResponse =
|
|
695
|
-
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);
|
|
696
703
|
useEffect(() => {
|
|
697
704
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
698
705
|
return;
|
|
@@ -1293,11 +1300,11 @@ const GET_RANK = dist.gql `
|
|
|
1293
1300
|
`;
|
|
1294
1301
|
function useLeaderboard(props) {
|
|
1295
1302
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1296
|
-
const programIdContext =
|
|
1303
|
+
const programIdContext = z();
|
|
1297
1304
|
// Default to context, overriden by props
|
|
1298
1305
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1299
|
-
const user =
|
|
1300
|
-
const locale =
|
|
1306
|
+
const user = K();
|
|
1307
|
+
const locale = Q();
|
|
1301
1308
|
const variables = programId
|
|
1302
1309
|
? {
|
|
1303
1310
|
type: props.leaderboardType,
|
|
@@ -1316,8 +1323,8 @@ function useLeaderboard(props) {
|
|
|
1316
1323
|
if (props.maxRows > 0) {
|
|
1317
1324
|
variables["limit"] = props.maxRows;
|
|
1318
1325
|
}
|
|
1319
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1320
|
-
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));
|
|
1321
1328
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1322
1329
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1323
1330
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1612,12 +1619,12 @@ function NavigationMenuView(props) {
|
|
|
1612
1619
|
}
|
|
1613
1620
|
|
|
1614
1621
|
function handleMenu(e) {
|
|
1615
|
-
|
|
1622
|
+
xn.push(e.detail.item.value);
|
|
1616
1623
|
}
|
|
1617
1624
|
function useNavigationMenu(props) {
|
|
1618
1625
|
const ref = useRef();
|
|
1619
|
-
const [, rerender] =
|
|
1620
|
-
const user =
|
|
1626
|
+
const [, rerender] = wn();
|
|
1627
|
+
const user = K();
|
|
1621
1628
|
useEffect(() => {
|
|
1622
1629
|
var _a;
|
|
1623
1630
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1671,11 +1678,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1671
1678
|
|
|
1672
1679
|
function usePortalChangePassword(props) {
|
|
1673
1680
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1674
|
-
const [request, { loading, errors, data }] =
|
|
1681
|
+
const [request, { loading, errors, data }] = ze();
|
|
1675
1682
|
const [open, setOpen] = useState(false);
|
|
1676
1683
|
const [error, setError] = useState("");
|
|
1677
1684
|
const [success, setSuccess] = useState(false);
|
|
1678
|
-
const user =
|
|
1685
|
+
const user = K();
|
|
1679
1686
|
const submit = async (event) => {
|
|
1680
1687
|
var _a, _b;
|
|
1681
1688
|
setSuccess(false);
|
|
@@ -1917,7 +1924,7 @@ const PortalFooter = class {
|
|
|
1917
1924
|
};
|
|
1918
1925
|
|
|
1919
1926
|
function usePortalFrame(footerContent, headerContent) {
|
|
1920
|
-
const [, rerender] =
|
|
1927
|
+
const [, rerender] = wn();
|
|
1921
1928
|
return {
|
|
1922
1929
|
data: {
|
|
1923
1930
|
footer: footerContent,
|
|
@@ -1967,9 +1974,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1967
1974
|
|
|
1968
1975
|
function usePortalLogin(props) {
|
|
1969
1976
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1970
|
-
const [request, { loading, errors, data }] =
|
|
1977
|
+
const [request, { loading, errors, data }] = We();
|
|
1971
1978
|
const [error, setError] = useState("");
|
|
1972
|
-
const urlParams = new URLSearchParams(
|
|
1979
|
+
const urlParams = new URLSearchParams(xn.location.search);
|
|
1973
1980
|
const nextPageOverride = urlParams.get("nextPage");
|
|
1974
1981
|
const submit = async (event) => {
|
|
1975
1982
|
var _a, _b;
|
|
@@ -1988,7 +1995,7 @@ function usePortalLogin(props) {
|
|
|
1988
1995
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
1989
1996
|
urlParams.delete("nextPage");
|
|
1990
1997
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
1991
|
-
|
|
1998
|
+
xn.push(url.href);
|
|
1992
1999
|
}
|
|
1993
2000
|
};
|
|
1994
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) ||
|
|
@@ -2067,8 +2074,8 @@ const PortalLogin = class {
|
|
|
2067
2074
|
? useLoginDemo(this)
|
|
2068
2075
|
: usePortalLogin(this);
|
|
2069
2076
|
const content = {
|
|
2070
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2071
|
-
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))),
|
|
2072
2079
|
emailLabel: this.emailLabel,
|
|
2073
2080
|
passwordLabel: this.passwordLabel,
|
|
2074
2081
|
submitLabel: this.submitLabel,
|
|
@@ -2097,7 +2104,7 @@ function usePortalRegister(props) {
|
|
|
2097
2104
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2098
2105
|
const formRef = useRef(null);
|
|
2099
2106
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2100
|
-
const [request, { loading, errors, data }] =
|
|
2107
|
+
const [request, { loading, errors, data }] = Ue();
|
|
2101
2108
|
useEffect(() => {
|
|
2102
2109
|
if (!formRef.current)
|
|
2103
2110
|
return;
|
|
@@ -2170,7 +2177,7 @@ function usePortalRegister(props) {
|
|
|
2170
2177
|
validationErrors: {},
|
|
2171
2178
|
});
|
|
2172
2179
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2173
|
-
|
|
2180
|
+
xn.push(props.nextPage);
|
|
2174
2181
|
}
|
|
2175
2182
|
}
|
|
2176
2183
|
catch (error) {
|
|
@@ -2344,7 +2351,7 @@ const PortalRegister = class {
|
|
|
2344
2351
|
: usePortalRegister(this);
|
|
2345
2352
|
const content = {
|
|
2346
2353
|
formData: h$1("slot", { name: "formData" }),
|
|
2347
|
-
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))),
|
|
2348
2355
|
terms: h$1("slot", { name: "terms" }),
|
|
2349
2356
|
emailLabel: this.emailLabel,
|
|
2350
2357
|
passwordLabel: this.passwordLabel,
|
|
@@ -2515,11 +2522,11 @@ const ProgramExplainerStep = class {
|
|
|
2515
2522
|
const debug = browser("sq:useProgramMenu");
|
|
2516
2523
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
2517
2524
|
function useProgramMenu(props) {
|
|
2518
|
-
const programId =
|
|
2519
|
-
const host =
|
|
2525
|
+
const programId = z();
|
|
2526
|
+
const host = T();
|
|
2520
2527
|
debug({ programId, props });
|
|
2521
2528
|
const ref = useRef();
|
|
2522
|
-
const [, rerender] =
|
|
2529
|
+
const [, rerender] = wn();
|
|
2523
2530
|
useEffect(() => {
|
|
2524
2531
|
var _a;
|
|
2525
2532
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2697,9 +2704,9 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
2697
2704
|
`;
|
|
2698
2705
|
function useReferralIframe(props) {
|
|
2699
2706
|
var _a;
|
|
2700
|
-
const programId =
|
|
2701
|
-
const user =
|
|
2702
|
-
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);
|
|
2703
2710
|
return {
|
|
2704
2711
|
states: {
|
|
2705
2712
|
content: props,
|
|
@@ -3424,9 +3431,9 @@ function useRewardExchangeList(props) {
|
|
|
3424
3431
|
});
|
|
3425
3432
|
const [open, setOpen] = useState(false);
|
|
3426
3433
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3427
|
-
const user =
|
|
3428
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] =
|
|
3429
|
-
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));
|
|
3430
3437
|
useEffect(() => {
|
|
3431
3438
|
var _a, _b;
|
|
3432
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) {
|
|
@@ -3445,7 +3452,7 @@ function useRewardExchangeList(props) {
|
|
|
3445
3452
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3446
3453
|
canvas.confetti();
|
|
3447
3454
|
}, [canvasRef.current]);
|
|
3448
|
-
const { refresh } =
|
|
3455
|
+
const { refresh } = Ye();
|
|
3449
3456
|
async function exchangeReward() {
|
|
3450
3457
|
if (!selectedItem)
|
|
3451
3458
|
return;
|
|
@@ -3753,8 +3760,8 @@ function matchPath(pattern, page) {
|
|
|
3753
3760
|
return regexp.exec(page);
|
|
3754
3761
|
}
|
|
3755
3762
|
function useRouter() {
|
|
3756
|
-
const location =
|
|
3757
|
-
const host =
|
|
3763
|
+
const location = jn();
|
|
3764
|
+
const host = T();
|
|
3758
3765
|
const [slot, setSlot] = useState(undefined);
|
|
3759
3766
|
const [container, setContainer] = useState(undefined);
|
|
3760
3767
|
const page = location.pathname;
|
|
@@ -4015,11 +4022,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4015
4022
|
`;
|
|
4016
4023
|
function useShareCode(props) {
|
|
4017
4024
|
var _a, _b;
|
|
4018
|
-
const { programId =
|
|
4019
|
-
const user =
|
|
4020
|
-
const engagementMedium =
|
|
4021
|
-
const { data } =
|
|
4022
|
-
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);
|
|
4023
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 :
|
|
4024
4031
|
// Shown during loading
|
|
4025
4032
|
"...";
|
|
@@ -4218,10 +4225,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4218
4225
|
}
|
|
4219
4226
|
`;
|
|
4220
4227
|
function useTaskCard(props) {
|
|
4221
|
-
const user =
|
|
4222
|
-
const locale =
|
|
4223
|
-
const [sendUserEvent, { data, loading: loadingEvent }] =
|
|
4224
|
-
const { refresh } =
|
|
4228
|
+
const user = K();
|
|
4229
|
+
const locale = Q();
|
|
4230
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = xe(SEND_EVENT);
|
|
4231
|
+
const { refresh } = Ye();
|
|
4225
4232
|
useEffect(() => {
|
|
4226
4233
|
if (data) {
|
|
4227
4234
|
refresh();
|
|
@@ -4542,8 +4549,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4542
4549
|
`;
|
|
4543
4550
|
function useUserName(props) {
|
|
4544
4551
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4545
|
-
const user =
|
|
4546
|
-
const res =
|
|
4552
|
+
const user = K();
|
|
4553
|
+
const res = En(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4547
4554
|
const loading = res.loading;
|
|
4548
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)
|
|
4549
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import {
|
|
2
|
+
import { b as browser, f as useState, k as d, d as useEffect, j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { T } from './index.module-cfe48b0e.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ function matchPath(pattern, page) {
|
|
|
12
12
|
return regexp.exec(page);
|
|
13
13
|
}
|
|
14
14
|
function useContextRouter(props) {
|
|
15
|
-
const host =
|
|
15
|
+
const host = T();
|
|
16
16
|
const [slot, setSlot] = useState(undefined);
|
|
17
17
|
const [container, setContainer] = useState(undefined);
|
|
18
18
|
const context = props.contextName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './index.module-
|
|
2
|
+
import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as intl } from './global-ce667547.js';
|
|
4
|
+
import './index.module-cfe48b0e.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
3
|
|
|
4
4
|
const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Warning::part(base){background-color:var(--sl-color-warning-100);border-color:var(--sl-color-warning-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
|
|
5
5
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { m, d as useEffect, j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { B, k as ke, Y, $ as $e } from './index.module-cfe48b0e.js';
|
|
4
4
|
|
|
5
5
|
async function useGraphQLClientProvider({ domain }) {
|
|
6
|
-
const token =
|
|
6
|
+
const token = B();
|
|
7
7
|
const appDomain = domain;
|
|
8
|
-
const tenantAlias =
|
|
8
|
+
const tenantAlias = Y();
|
|
9
9
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
10
|
-
const managedIdentityClient =
|
|
11
|
-
const [, setGraphQLClient] = m(
|
|
10
|
+
const managedIdentityClient = ke(appDomain, tenantAlias, token);
|
|
11
|
+
const [, setGraphQLClient] = m($e, managedIdentityClient);
|
|
12
12
|
useEffect(() => {
|
|
13
13
|
setGraphQLClient(managedIdentityClient);
|
|
14
14
|
}, [managedIdentityClient]);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as isDemo,
|
|
4
|
-
import './jsonpointer-388a7082.js';
|
|
2
|
+
import { j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as isDemo, s as setUserIdentity } from './index.module-cfe48b0e.js';
|
|
5
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
5
|
import './mixins-f60a614c.js';
|
|
7
6
|
import './JSS-67b5cff8.js';
|
|
8
7
|
import { E as EmailRegistrationView } from './email-registration-view-07d80492.js';
|
|
9
|
-
import './
|
|
10
|
-
import
|
|
8
|
+
import './jsonpointer-388a7082.js';
|
|
9
|
+
import './useRegistrationFormState-554eed2c.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-c8486b92.js';
|
|
11
11
|
|
|
12
12
|
const InstantAccessRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as intl } from './global-ce667547.js';
|
|
4
|
+
import { z, K, E as En, i as isDemo } from './index.module-cfe48b0e.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
6
7
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
7
8
|
|
|
8
9
|
const GET_RANK = dist.gql `
|
|
@@ -20,10 +21,10 @@ const GET_RANK = dist.gql `
|
|
|
20
21
|
`;
|
|
21
22
|
function useLeaderboardRank(props) {
|
|
22
23
|
var _a, _b, _c, _d;
|
|
23
|
-
const programIdContext =
|
|
24
|
+
const programIdContext = z();
|
|
24
25
|
// Default to context, overriden by props
|
|
25
26
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
26
|
-
const user =
|
|
27
|
+
const user = K();
|
|
27
28
|
const rankVariables = programId
|
|
28
29
|
? {
|
|
29
30
|
type: props.leaderboardType,
|
|
@@ -36,7 +37,7 @@ function useLeaderboardRank(props) {
|
|
|
36
37
|
if (props.interval) {
|
|
37
38
|
rankVariables.filter["interval"] = props.interval;
|
|
38
39
|
}
|
|
39
|
-
const { data: rankData } =
|
|
40
|
+
const { data: rankData } = En(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
40
41
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
41
42
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
42
43
|
})
|
|
@@ -1,8 +1,9 @@
|
|
|
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 { K, E as En, s as setUserIdentity, i as isDemo } from './index.module-cfe48b0e.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
6
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
8
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
8
9
|
|
|
@@ -17,8 +18,8 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
17
18
|
`;
|
|
18
19
|
function useLogoutCurrentUser(props) {
|
|
19
20
|
var _a, _b;
|
|
20
|
-
const user =
|
|
21
|
-
const { loading, data } =
|
|
21
|
+
const user = K();
|
|
22
|
+
const { loading, data } = En(GET_USER_DETAILS, {
|
|
22
23
|
id: user === null || user === void 0 ? void 0 : user.id,
|
|
23
24
|
accountId: user === null || user === void 0 ? void 0 : user.accountId,
|
|
24
25
|
}, !user);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { x as xn } from './index.module-cfe48b0e.js';
|
|
3
3
|
import { g as gap } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
|
|
|
33
33
|
const styleString = sheet.toString();
|
|
34
34
|
return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
35
35
|
e.preventDefault();
|
|
36
|
-
|
|
36
|
+
xn.push(data.path);
|
|
37
37
|
}, class: sheet.classes.ItemContainer },
|
|
38
38
|
h("style", { type: "text/css" }, styleString),
|
|
39
39
|
h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { j as jn, i as isDemo } from './index.module-cfe48b0e.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-407d8d6a.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
|
-
const currentPage =
|
|
11
|
+
const currentPage = jn();
|
|
12
12
|
return {
|
|
13
13
|
states: {
|
|
14
14
|
active: currentPage.pathname === props.path,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
2
|
+
import { j as h, f as useState, d as useEffect } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { j as jn, z } from './index.module-cfe48b0e.js';
|
|
4
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
5
5
|
|
|
6
6
|
const NavigationSidebar = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -16,8 +16,8 @@ const NavigationSidebar = class {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
function useNavigationSidebar() {
|
|
19
|
-
const location =
|
|
20
|
-
const programId =
|
|
19
|
+
const location = jn();
|
|
20
|
+
const programId = z();
|
|
21
21
|
const [checked, setChecked] = useState(false);
|
|
22
22
|
// Close hamburger menu after navigation
|
|
23
23
|
useEffect(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { k as d, f as useState, j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as isDemo } from './index.module-cfe48b0e.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-554eed2c.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { n as ne } from './index.module-cfe48b0e.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -14,10 +14,10 @@ const PopupContainerView = (props) => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
function usePopupContainer(props) {
|
|
17
|
-
const engagementMedium =
|
|
17
|
+
const engagementMedium = ne();
|
|
18
18
|
function closePopup() {
|
|
19
19
|
var _a;
|
|
20
|
-
if (
|
|
20
|
+
if (ne() === "POPUP") {
|
|
21
21
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -31,7 +31,7 @@ function usePopupContainer(props) {
|
|
|
31
31
|
? "0"
|
|
32
32
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
33
33
|
: "0";
|
|
34
|
-
const padding =
|
|
34
|
+
const padding = ne() === "POPUP" ? popupPadding : embedPadding;
|
|
35
35
|
return {
|
|
36
36
|
states: {
|
|
37
37
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-ce667547.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|