@saasquatch/mint-components 1.6.2-8 → 1.6.2-9
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-ad683b80.js → ShadowViewAddon-0ce4871c.js} +19 -19
- package/dist/cjs/{global-348a8750.js → global-4e52f274.js} +3 -3
- package/dist/cjs/{index.module-ff45cbf1.js → index.module-7972acac.js} +6657 -6306
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{re-render-e5491a50.js → re-render-99b2655c.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +78 -78
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-bc763ed2.js} +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-navigation-sidebar-item-view-e8f500f9.js → sqm-navigation-sidebar-item-view-b3ca14b4.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-64b5109a.js → sqm-portal-email-verification-view-f2a35e7c.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-footer-view-ab13a649.js → sqm-portal-footer-view-8eadb31d.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-profile-view-89995e7b.js → sqm-portal-profile-view-730252e8.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +27 -46
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +9 -9
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +13 -13
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +94 -94
- 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 +1 -1
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/{useChildElements-b3043b63.js → useChildElements-42a97f2a.js} +3 -3
- package/dist/cjs/{useReferralTable-438d176c.js → useReferralTable-a985ce58.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-793a7958.js → useRegistrationFormState-b7598d69.js} +4 -4
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -40
- package/dist/esm/{ShadowViewAddon-88454bed.js → ShadowViewAddon-846aecda.js} +19 -19
- package/dist/esm/{global-2546adae.js → global-44835899.js} +3 -3
- package/dist/esm/{index.module-9cd4623b.js → index.module-132e274f.js} +6636 -6285
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{re-render-d1b2a0de.js → re-render-81cd3caa.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-big-stat_35.entry.js +78 -78
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- 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-hero-view-93fac447.js → sqm-hero-view-9fb2be89.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-7e6199c2.js → sqm-navigation-sidebar-item-view-364af025.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +5 -5
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-e08d4947.js → sqm-portal-email-verification-view-5ac21bb4.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/{sqm-portal-footer-view-796b8f12.js → sqm-portal-footer-view-f3a6eaed.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +6 -6
- package/dist/esm/{sqm-portal-profile-view-251555a8.js → sqm-portal-profile-view-630f05c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -8
- package/dist/esm/sqm-portal-registration-form.entry.js +9 -9
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
- package/dist/esm/sqm-portal-verify-email.entry.js +27 -46
- package/dist/esm/sqm-referral-table_11.entry.js +9 -9
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
- package/dist/esm/sqm-stencilbook.entry.js +94 -94
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/{useChildElements-480800ed.js → useChildElements-9431f3e2.js} +3 -3
- package/dist/esm/{useReferralTable-512070e3.js → useReferralTable-0516b6d5.js} +9 -9
- package/dist/esm/{useRegistrationFormState-699c3e59.js → useRegistrationFormState-ebb08075.js} +4 -4
- package/dist/esm-es5/ShadowViewAddon-846aecda.js +1 -0
- package/dist/esm-es5/{global-2546adae.js → global-44835899.js} +2 -2
- package/dist/esm-es5/index.module-132e274f.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-d1b2a0de.js → re-render-81cd3caa.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.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-hero-view-93fac447.js → sqm-hero-view-9fb2be89.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-364af025.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-e08d4947.js → sqm-portal-email-verification-view-5ac21bb4.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-796b8f12.js → sqm-portal-footer-view-f3a6eaed.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.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-251555a8.js → sqm-portal-profile-view-630f05c8.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-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-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/{useChildElements-480800ed.js → useChildElements-9431f3e2.js} +1 -1
- package/dist/esm-es5/useReferralTable-0516b6d5.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-699c3e59.js → useRegistrationFormState-ebb08075.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-16beb451.system.entry.js → p-00d4636f.system.entry.js} +1 -1
- package/dist/mint-components/{p-4f994970.js → p-06f56536.js} +1 -1
- package/dist/mint-components/{p-7bab148d.system.entry.js → p-07d424a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-e5eebca6.system.entry.js → p-088d3b4a.system.entry.js} +1 -1
- package/dist/mint-components/p-0b1d703d.entry.js +1 -0
- package/dist/mint-components/{p-2ce5d3da.js → p-0d482ad4.js} +1 -1
- package/dist/mint-components/{p-abc426c4.js → p-0d49d56d.js} +1 -1
- package/dist/mint-components/{p-e907c45c.system.js → p-0e441a14.system.js} +1 -1
- package/dist/mint-components/{p-b9e4e254.entry.js → p-0f4c1e0e.entry.js} +3 -3
- package/dist/mint-components/p-1191cada.entry.js +1 -0
- package/dist/mint-components/{p-3fddd002.system.js → p-136325c0.system.js} +1 -1
- package/dist/mint-components/p-162fca19.js +1 -0
- package/dist/mint-components/p-1c21b5d1.js +1 -0
- package/dist/mint-components/{p-fb2ef762.js → p-1c40d459.js} +3 -3
- package/dist/mint-components/{p-e774e573.system.js → p-1cc3dfe5.system.js} +1 -1
- package/dist/mint-components/{p-33910ee5.system.entry.js → p-1f6fdeda.system.entry.js} +1 -1
- package/dist/mint-components/{p-89d8133d.entry.js → p-222e5418.entry.js} +1 -1
- package/dist/mint-components/{p-7e9b5623.system.entry.js → p-2383eadd.system.entry.js} +1 -1
- package/dist/mint-components/p-242bd74b.entry.js +9 -0
- package/dist/mint-components/{p-c501d76f.system.js → p-292857fd.system.js} +1 -1
- package/dist/mint-components/{p-37abb804.system.entry.js → p-2dce26fa.system.entry.js} +1 -1
- package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/{p-5d7de7cd.system.entry.js → p-3d0dc005.system.entry.js} +1 -1
- package/dist/mint-components/p-436779be.js +1 -0
- package/dist/mint-components/{p-73e11b3f.system.js → p-4935076f.system.js} +1 -1
- package/dist/mint-components/{p-5ef24d6c.system.entry.js → p-4ce8e325.system.entry.js} +1 -1
- package/dist/mint-components/{p-27a8ee57.system.entry.js → p-50553269.system.entry.js} +1 -1
- package/dist/mint-components/{p-638b48bc.entry.js → p-50afa774.entry.js} +1 -1
- package/dist/mint-components/p-51102b8f.entry.js +13 -0
- package/dist/mint-components/{p-d2884941.system.js → p-519dc03b.system.js} +1 -1
- package/dist/mint-components/{p-50cb9888.js → p-52a2beaf.js} +1 -1
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/{p-b5592439.system.js → p-53aef3ba.system.js} +1 -1
- package/dist/mint-components/{p-ec18b601.system.js → p-574ba520.system.js} +1 -1
- package/dist/mint-components/{p-b86c4916.system.js → p-5d292177.system.js} +1 -1
- package/dist/mint-components/{p-f5a54725.entry.js → p-63101d0c.entry.js} +1 -1
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/{p-e19b0706.entry.js → p-703f4552.entry.js} +1 -1
- package/dist/mint-components/p-7c3e3cb4.entry.js +1 -0
- package/dist/mint-components/{p-f7ecad90.js → p-7dea8d9a.js} +1 -1
- package/dist/mint-components/{p-b7fc1ee1.system.entry.js → p-7f4b0ba0.system.entry.js} +1 -1
- package/dist/mint-components/{p-7513c118.entry.js → p-83d4885d.entry.js} +2 -2
- package/dist/mint-components/p-89fc4544.system.js +1 -0
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +1 -0
- package/dist/mint-components/{p-44c6c5bc.entry.js → p-8c4bcbc6.entry.js} +1 -1
- package/dist/mint-components/{p-63c99941.system.entry.js → p-8d6a2a61.system.entry.js} +1 -1
- package/dist/mint-components/{p-de4f0622.entry.js → p-90dfce36.entry.js} +1 -1
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/{p-7df17d8f.system.entry.js → p-9f596d8d.system.entry.js} +1 -1
- package/dist/mint-components/{p-a3f87461.entry.js → p-a1acdbb4.entry.js} +1 -1
- package/dist/mint-components/p-a395bae0.entry.js +1 -0
- package/dist/mint-components/{p-a6291305.system.entry.js → p-a4335cb5.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac052dc7.system.entry.js → p-af3b56d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-67bc2aa5.js → p-afcf252c.js} +1 -1
- package/dist/mint-components/p-b2e7ca31.system.entry.js +1 -0
- package/dist/mint-components/{p-36d50757.entry.js → p-b3d7d353.entry.js} +1 -1
- package/dist/mint-components/{p-17aae439.entry.js → p-b52109dd.entry.js} +1 -1
- package/dist/mint-components/{p-fcd5890a.system.entry.js → p-b593a42e.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ec3dacc.system.entry.js → p-bb9dadd3.system.entry.js} +1 -1
- package/dist/mint-components/p-bc2cf095.entry.js +1 -0
- package/dist/mint-components/{p-1d7a015c.system.entry.js → p-bed78bee.system.entry.js} +1 -1
- package/dist/mint-components/p-c01e754d.system.entry.js +1 -0
- package/dist/mint-components/{p-e6456af0.system.js → p-c4e22786.system.js} +1 -1
- package/dist/mint-components/{p-ad9a9da8.js → p-c627c865.js} +2 -2
- package/dist/mint-components/{p-cc6f7cb5.entry.js → p-ca08cf71.entry.js} +1 -1
- package/dist/mint-components/p-cac0e237.entry.js +1 -0
- package/dist/mint-components/{p-c88cb982.entry.js → p-ce6f7e0e.entry.js} +1 -1
- package/dist/mint-components/{p-d1aef95c.entry.js → p-ceeeb344.entry.js} +1 -1
- package/dist/mint-components/{p-29f82c6d.system.entry.js → p-ceefa54a.system.entry.js} +1 -1
- package/dist/mint-components/{p-ab1509b0.entry.js → p-d08b59df.entry.js} +2 -2
- package/dist/mint-components/p-d21ccfa1.entry.js +1 -0
- package/dist/mint-components/{p-9bf6a21c.entry.js → p-d307abaa.entry.js} +1 -1
- package/dist/mint-components/p-d4b1fcbc.system.entry.js +1 -0
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/{p-5fa7ceb8.entry.js → p-d5c94703.entry.js} +1 -1
- package/dist/mint-components/{p-51e40132.js → p-d64a0bc1.js} +1 -1
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-dc37fe51.system.js +1 -0
- package/dist/mint-components/{p-a2ca95d3.system.entry.js → p-df2b4e11.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce5a3693.system.js → p-e0fa9595.system.js} +1 -1
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/{p-771b778b.system.entry.js → p-e8d07dfa.system.entry.js} +1 -1
- package/dist/mint-components/{p-9f8067ab.system.entry.js → p-f3eaabf8.system.entry.js} +1 -1
- package/dist/mint-components/{p-b96505f5.entry.js → p-f54b436e.entry.js} +1 -1
- package/dist/mint-components/{p-190e24e4.system.entry.js → p-f5e601b0.system.entry.js} +1 -1
- package/dist/mint-components/{p-64752747.system.entry.js → p-f8863064.system.entry.js} +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +0 -6
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +1 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/grapesjs.js +54 -0
- package/docs/raisins.json +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/ShadowViewAddon-88454bed.js +0 -1
- package/dist/esm-es5/index.module-9cd4623b.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-7e6199c2.js +0 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
- package/dist/esm-es5/useReferralTable-512070e3.js +0 -1
- package/dist/mint-components/p-154677b7.js +0 -1
- package/dist/mint-components/p-1fed6a09.entry.js +0 -1
- package/dist/mint-components/p-2d2f7abb.system.entry.js +0 -1
- package/dist/mint-components/p-32ba0da3.entry.js +0 -1
- package/dist/mint-components/p-5c347c93.system.entry.js +0 -1
- package/dist/mint-components/p-624c4a8d.system.js +0 -1
- package/dist/mint-components/p-92e8b7b5.entry.js +0 -1
- package/dist/mint-components/p-a16556fd.entry.js +0 -1
- package/dist/mint-components/p-a63204e2.js +0 -1
- package/dist/mint-components/p-a750f034.js +0 -1
- package/dist/mint-components/p-b5faa04d.system.entry.js +0 -1
- package/dist/mint-components/p-c12e3282.entry.js +0 -13
- package/dist/mint-components/p-ca2819e8.system.js +0 -1
- package/dist/mint-components/p-cbb61c41.entry.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-cdf2914a.entry.js +0 -1
- package/dist/mint-components/p-d35f8c06.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-ef0a4f7f.entry.js +0 -9
- package/dist/mint-components/p-efbc0ee0.system.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
require('./use-callback-
|
|
9
|
-
require('./index.module-
|
|
6
|
+
require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./global-4e52f274.js');
|
|
8
|
+
require('./use-callback-5d15897d.js');
|
|
9
|
+
require('./index.module-7972acac.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
require('./stencil-hooks.module-
|
|
5
|
-
require('./global-
|
|
6
|
-
require('./use-callback-
|
|
7
|
-
require('./index.module-
|
|
4
|
+
require('./stencil-hooks.module-6fe43579.js');
|
|
5
|
+
require('./global-4e52f274.js');
|
|
6
|
+
require('./use-callback-5d15897d.js');
|
|
7
|
+
require('./index.module-7972acac.js');
|
|
8
8
|
require('./extends-08099afd.js');
|
|
9
9
|
|
|
10
10
|
/*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
4
|
+
const index_module = require('./index.module-7972acac.js');
|
|
5
5
|
|
|
6
6
|
const RENDER_EVENT = "sqm:request-rerender";
|
|
7
7
|
/**
|
|
@@ -12,7 +12,7 @@ const RENDER_EVENT = "sqm:request-rerender";
|
|
|
12
12
|
* @param deps an array of dependencies used for useEffect
|
|
13
13
|
*/
|
|
14
14
|
function useRequestRerender(deps) {
|
|
15
|
-
const host = index_module.
|
|
15
|
+
const host = index_module.x();
|
|
16
16
|
stencilHooks_module.useEffect(() => {
|
|
17
17
|
host.dispatchEvent(new CustomEvent(RENDER_EVENT, {
|
|
18
18
|
detail: true,
|
|
@@ -25,8 +25,8 @@ function useRequestRerender(deps) {
|
|
|
25
25
|
* Re-renders a parent component when child components make the request
|
|
26
26
|
*/
|
|
27
27
|
function useRerenderListener() {
|
|
28
|
-
const host = index_module.
|
|
29
|
-
const [tick, rerender] = index_module.
|
|
28
|
+
const host = index_module.x();
|
|
29
|
+
const [tick, rerender] = index_module.un();
|
|
30
30
|
stencilHooks_module.useEffect(() => {
|
|
31
31
|
const listener = (e) => {
|
|
32
32
|
// Preventes recursively nested components from sending requests up all the way
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./use-callback-5d15897d.js');
|
|
8
|
+
const index_module = require('./index.module-7972acac.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./JSS-97fd087e.js');
|
|
@@ -29,7 +29,7 @@ const AssetCard = class {
|
|
|
29
29
|
}
|
|
30
30
|
disconnectedCallback() { }
|
|
31
31
|
render() {
|
|
32
|
-
const props = index_module.
|
|
32
|
+
const props = index_module.isDemo() ? useAssetCardDemo(this) : useAssetCard();
|
|
33
33
|
return index.h(sqmAssetCardView.AssetCardView, Object.assign({}, props));
|
|
34
34
|
}
|
|
35
35
|
static get assetsDirs() { return ["../../assets"]; }
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const useCallback = require('./use-callback-
|
|
9
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
const global = require('./global-4e52f274.js');
|
|
8
|
+
const useCallback = require('./use-callback-5d15897d.js');
|
|
9
|
+
const index_module = require('./index.module-7972acac.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
12
12
|
const cjs = require('./cjs-1066ec21.js');
|
|
13
13
|
require('./mixins-fe9d4112.js');
|
|
14
14
|
const JSS = require('./JSS-97fd087e.js');
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
17
|
-
require('./luxon-
|
|
15
|
+
const reRender = require('./re-render-99b2655c.js');
|
|
16
|
+
const useChildElements = require('./useChildElements-42a97f2a.js');
|
|
17
|
+
require('./luxon-479fc825.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
require('./sqm-text-span-view-2c7d94b5.js');
|
|
20
20
|
require('./sqm-portal-container-view-840db620.js');
|
|
21
21
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
22
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
22
|
+
const useRegistrationFormState = require('./useRegistrationFormState-b7598d69.js');
|
|
23
|
+
const ShadowViewAddon = require('./ShadowViewAddon-0ce4871c.js');
|
|
24
24
|
require('./sqm-portal-section-view-854a3e9c.js');
|
|
25
25
|
|
|
26
26
|
const BigStat = class {
|
|
@@ -39,8 +39,8 @@ const BigStat = class {
|
|
|
39
39
|
disconnectedCallback() { }
|
|
40
40
|
render() {
|
|
41
41
|
var _a;
|
|
42
|
-
const { props, label } = index_module.
|
|
43
|
-
const host = index_module.
|
|
42
|
+
const { props, label } = index_module.isDemo() ? ShadowViewAddon.useDemoBigStat(this) : ShadowViewAddon.useBigStat(this);
|
|
43
|
+
const host = index_module.x();
|
|
44
44
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
45
45
|
const labelSlot = index.h("slot", { name: "label" }, hasLabel ? index.h("slot", null) : label);
|
|
46
46
|
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
@@ -152,7 +152,7 @@ const styleString = sheet.toString();
|
|
|
152
152
|
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) {
|
|
153
153
|
if (!missingProps)
|
|
154
154
|
return false;
|
|
155
|
-
const host = index_module.
|
|
155
|
+
const host = index_module.x();
|
|
156
156
|
const [detailsOpen, setDetailsOpen] = stencilHooks_module.useState(false);
|
|
157
157
|
return (index.h("sl-alert", { type: "danger", open: true },
|
|
158
158
|
index.h("style", { type: "text/css" }, styleString),
|
|
@@ -231,13 +231,13 @@ const CheckboxField = class {
|
|
|
231
231
|
value: this.checkboxName,
|
|
232
232
|
},
|
|
233
233
|
]);
|
|
234
|
-
if (!index_module.
|
|
234
|
+
if (!index_module.isDemo() && missingProps) {
|
|
235
235
|
return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
|
|
236
236
|
}
|
|
237
237
|
const content = {
|
|
238
238
|
...utils.getProps(this),
|
|
239
239
|
};
|
|
240
|
-
const { states, callbacks } = index_module.
|
|
240
|
+
const { states, callbacks } = index_module.isDemo()
|
|
241
241
|
? useCheckboxFieldDemo(this)
|
|
242
242
|
: useCheckboxField();
|
|
243
243
|
return (index.h(ShadowViewAddon.CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
|
|
@@ -358,14 +358,14 @@ const DropdownField = class {
|
|
|
358
358
|
value: this.dropdownName,
|
|
359
359
|
},
|
|
360
360
|
]);
|
|
361
|
-
if (!index_module.
|
|
361
|
+
if (!index_module.isDemo() && missingProps) {
|
|
362
362
|
return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this drop down field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }, index.h("slot", null)));
|
|
363
363
|
}
|
|
364
364
|
const content = {
|
|
365
365
|
...utils.getProps(this),
|
|
366
366
|
selectOptions: index.h("slot", null),
|
|
367
367
|
};
|
|
368
|
-
const { states } = index_module.
|
|
368
|
+
const { states } = index_module.isDemo()
|
|
369
369
|
? useDropdownFieldDemo(this)
|
|
370
370
|
: useDropdownField();
|
|
371
371
|
return (index.h(ShadowViewAddon.DropdownFieldView, { states: states, content: content }));
|
|
@@ -422,13 +422,13 @@ const defaultFormState = {
|
|
|
422
422
|
error: "",
|
|
423
423
|
};
|
|
424
424
|
function useEditProfile(props) {
|
|
425
|
-
const userIdent = index_module.
|
|
425
|
+
const userIdent = index_module._();
|
|
426
426
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
427
427
|
const [error, setError] = stencilHooks_module.useState("");
|
|
428
428
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
429
429
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
430
|
-
const userDataResponse = index_module.
|
|
431
|
-
const [upsertUser, upsertUserResponse] = index_module
|
|
430
|
+
const userDataResponse = index_module.dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
431
|
+
const [upsertUser, upsertUserResponse] = index_module.Ie(UPSERT_USER);
|
|
432
432
|
stencilHooks_module.useEffect(() => {
|
|
433
433
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
434
434
|
return;
|
|
@@ -542,7 +542,7 @@ const EditProfile = class {
|
|
|
542
542
|
}
|
|
543
543
|
disconnectedCallback() { }
|
|
544
544
|
render() {
|
|
545
|
-
const props = index_module.
|
|
545
|
+
const props = index_module.isDemo()
|
|
546
546
|
? useEditProfileDemo(utils.getProps(this))
|
|
547
547
|
: useEditProfile(utils.getProps(this));
|
|
548
548
|
return index.h(ShadowViewAddon.EditProfileView, Object.assign({}, props));
|
|
@@ -855,10 +855,10 @@ const InputField = class {
|
|
|
855
855
|
value: this.fieldName,
|
|
856
856
|
},
|
|
857
857
|
]);
|
|
858
|
-
if (!index_module.
|
|
858
|
+
if (!index_module.isDemo() && missingProps) {
|
|
859
859
|
return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this input field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
|
|
860
860
|
}
|
|
861
|
-
const { states } = index_module.
|
|
861
|
+
const { states } = index_module.isDemo() ? useInputFieldDemo(this) : useInputField();
|
|
862
862
|
return index.h(ShadowViewAddon.InputFieldView, { states: states, content: content });
|
|
863
863
|
}
|
|
864
864
|
};
|
|
@@ -914,11 +914,11 @@ const GET_RANK = index_module.dist.gql `
|
|
|
914
914
|
`;
|
|
915
915
|
function useLeaderboard(props) {
|
|
916
916
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
917
|
-
const programIdContext = index_module.
|
|
917
|
+
const programIdContext = index_module.W();
|
|
918
918
|
// Default to context, overriden by props
|
|
919
919
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
920
|
-
const user = index_module.
|
|
921
|
-
const locale = index_module.
|
|
920
|
+
const user = index_module._();
|
|
921
|
+
const locale = index_module.H();
|
|
922
922
|
const variables = programId
|
|
923
923
|
? {
|
|
924
924
|
type: props.leaderboardType,
|
|
@@ -937,8 +937,8 @@ function useLeaderboard(props) {
|
|
|
937
937
|
if (props.maxRows > 0) {
|
|
938
938
|
variables["limit"] = props.maxRows;
|
|
939
939
|
}
|
|
940
|
-
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.
|
|
941
|
-
const { data: rankData } = index_module.
|
|
940
|
+
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.dn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
941
|
+
const { data: rankData } = index_module.dn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
942
942
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
943
943
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
944
944
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1024,7 +1024,7 @@ const Leaderboard = class {
|
|
|
1024
1024
|
showRank: this.showRank,
|
|
1025
1025
|
};
|
|
1026
1026
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1027
|
-
const viewprops = index_module.
|
|
1027
|
+
const viewprops = index_module.isDemo()
|
|
1028
1028
|
? useLeaderboardDemo(demoProps)
|
|
1029
1029
|
: useLeaderboard(props);
|
|
1030
1030
|
return index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, viewprops));
|
|
@@ -1136,7 +1136,7 @@ const NameFields = class {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
disconnectedCallback() { }
|
|
1138
1138
|
render() {
|
|
1139
|
-
const { states } = index_module.
|
|
1139
|
+
const { states } = index_module.isDemo() ? useNameFieldsDemo(this) : useNameFields(this);
|
|
1140
1140
|
return index.h(ShadowViewAddon.NameFieldsView, { states: states });
|
|
1141
1141
|
}
|
|
1142
1142
|
};
|
|
@@ -1167,12 +1167,12 @@ function NavigationMenuView(props) {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
1169
|
function handleMenu(e) {
|
|
1170
|
-
index_module.
|
|
1170
|
+
index_module.vn.push(e.detail.item.value);
|
|
1171
1171
|
}
|
|
1172
1172
|
function useNavigationMenu(props) {
|
|
1173
1173
|
const ref = stencilHooks_module.useRef();
|
|
1174
|
-
const [, rerender] = index_module.
|
|
1175
|
-
const user = index_module.
|
|
1174
|
+
const [, rerender] = index_module.un();
|
|
1175
|
+
const user = index_module._();
|
|
1176
1176
|
stencilHooks_module.useEffect(() => {
|
|
1177
1177
|
var _a;
|
|
1178
1178
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1201,7 +1201,7 @@ const NavigationMenu = class {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
disconnectedCallback() { }
|
|
1203
1203
|
render() {
|
|
1204
|
-
const props = index_module.
|
|
1204
|
+
const props = index_module.isDemo()
|
|
1205
1205
|
? useNavigationMenuDemo(utils.getProps(this))
|
|
1206
1206
|
: useNavigationMenu(utils.getProps(this));
|
|
1207
1207
|
return (index.h(index.Host, { slot: "sqm-navigation-menu" }, index.h(NavigationMenuView, Object.assign({}, props))));
|
|
@@ -1226,11 +1226,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1226
1226
|
|
|
1227
1227
|
function usePortalChangePassword(props) {
|
|
1228
1228
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1229
|
-
const [request, { loading, errors, data }] = index_module.
|
|
1229
|
+
const [request, { loading, errors, data }] = index_module.Oe();
|
|
1230
1230
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
1231
1231
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1232
1232
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1233
|
-
const user = index_module.
|
|
1233
|
+
const user = index_module._();
|
|
1234
1234
|
const submit = async (event) => {
|
|
1235
1235
|
var _a;
|
|
1236
1236
|
setSuccess(false);
|
|
@@ -1336,7 +1336,7 @@ const PortalChangePassword = class {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
disconnectedCallback() { }
|
|
1338
1338
|
render() {
|
|
1339
|
-
const { states, callbacks } = index_module.
|
|
1339
|
+
const { states, callbacks } = index_module.isDemo()
|
|
1340
1340
|
? usePortalChangePasswordDemo(this)
|
|
1341
1341
|
: usePortalChangePassword(this);
|
|
1342
1342
|
return index.h(ShadowViewAddon.PortalChangePasswordView, { states: states, callbacks: callbacks });
|
|
@@ -1366,7 +1366,7 @@ function usePortalChangePasswordDemo(props) {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
1368
|
function usePortalFrame(footerContent, headerContent) {
|
|
1369
|
-
const [, rerender] = index_module.
|
|
1369
|
+
const [, rerender] = index_module.un();
|
|
1370
1370
|
return {
|
|
1371
1371
|
data: {
|
|
1372
1372
|
footer: footerContent,
|
|
@@ -1388,7 +1388,7 @@ const PortalFrame = class {
|
|
|
1388
1388
|
render() {
|
|
1389
1389
|
const footerContent = index.h("slot", { name: "footer" });
|
|
1390
1390
|
const headerContent = index.h("slot", { name: "header" });
|
|
1391
|
-
const props = index_module.
|
|
1391
|
+
const props = index_module.isDemo()
|
|
1392
1392
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
1393
1393
|
: usePortalFrame(footerContent, headerContent);
|
|
1394
1394
|
return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props), index.h("slot", null)));
|
|
@@ -1411,7 +1411,7 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1411
1411
|
|
|
1412
1412
|
function usePortalLogin(props) {
|
|
1413
1413
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1414
|
-
const [request, { loading, errors, data }] = index_module.
|
|
1414
|
+
const [request, { loading, errors, data }] = index_module.Se();
|
|
1415
1415
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1416
1416
|
const urlParams = new URLSearchParams(window.location.search);
|
|
1417
1417
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -1429,7 +1429,7 @@ function usePortalLogin(props) {
|
|
|
1429
1429
|
if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
1430
1430
|
urlParams.delete("nextPage");
|
|
1431
1431
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
1432
|
-
index_module.
|
|
1432
|
+
index_module.vn.push(url.href);
|
|
1433
1433
|
}
|
|
1434
1434
|
}, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
1435
1435
|
stencilHooks_module.useEffect(() => {
|
|
@@ -1500,12 +1500,12 @@ const PortalLogin = class {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
disconnectedCallback() { }
|
|
1502
1502
|
render() {
|
|
1503
|
-
const { states, callbacks } = index_module.
|
|
1503
|
+
const { states, callbacks } = index_module.isDemo()
|
|
1504
1504
|
? useLoginDemo(this)
|
|
1505
1505
|
: usePortalLogin(this);
|
|
1506
1506
|
const content = {
|
|
1507
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.
|
|
1508
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
1507
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.vn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
1508
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.vn.push(states.registerPath) }, this.registerLabel))),
|
|
1509
1509
|
emailLabel: this.emailLabel,
|
|
1510
1510
|
passwordLabel: this.passwordLabel,
|
|
1511
1511
|
submitLabel: this.submitLabel,
|
|
@@ -1534,7 +1534,7 @@ function usePortalRegister(props) {
|
|
|
1534
1534
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1535
1535
|
const formRef = stencilHooks_module.useRef(null);
|
|
1536
1536
|
const { validationState, setValidationState } = useRegistrationFormState.useValidationState({});
|
|
1537
|
-
const [request, { loading, errors, data }] = index_module
|
|
1537
|
+
const [request, { loading, errors, data }] = index_module.$e();
|
|
1538
1538
|
const submit = async (event) => {
|
|
1539
1539
|
let formControls = event.target.getFormControls();
|
|
1540
1540
|
let formData = {};
|
|
@@ -1599,7 +1599,7 @@ function usePortalRegister(props) {
|
|
|
1599
1599
|
stencilHooks_module.useEffect(() => {
|
|
1600
1600
|
var _a;
|
|
1601
1601
|
if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
1602
|
-
index_module.
|
|
1602
|
+
index_module.vn.push(props.nextPage);
|
|
1603
1603
|
}
|
|
1604
1604
|
}, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
1605
1605
|
stencilHooks_module.useEffect(() => {
|
|
@@ -1707,12 +1707,12 @@ const PortalRegister = class {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
disconnectedCallback() { }
|
|
1709
1709
|
render() {
|
|
1710
|
-
const { states, callbacks, refs } = index_module.
|
|
1710
|
+
const { states, callbacks, refs } = index_module.isDemo()
|
|
1711
1711
|
? useRegisterDemo(this)
|
|
1712
1712
|
: usePortalRegister(this);
|
|
1713
1713
|
const content = {
|
|
1714
1714
|
formData: index.h("slot", { name: "formData" }),
|
|
1715
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
1715
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.vn.push(states.loginPath) }, this.loginLabel))),
|
|
1716
1716
|
terms: index.h("slot", { name: "terms" }),
|
|
1717
1717
|
emailLabel: this.emailLabel,
|
|
1718
1718
|
passwordLabel: this.passwordLabel,
|
|
@@ -1874,11 +1874,11 @@ const ProgramExplainerStep = class {
|
|
|
1874
1874
|
const debug = stencilHooks_module.browser('sq:useProgramMenu');
|
|
1875
1875
|
const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
|
|
1876
1876
|
function useProgramMenu(props) {
|
|
1877
|
-
const programId = index_module.
|
|
1878
|
-
const host = index_module.
|
|
1877
|
+
const programId = index_module.W();
|
|
1878
|
+
const host = index_module.x();
|
|
1879
1879
|
debug({ programId, props });
|
|
1880
1880
|
const ref = stencilHooks_module.useRef();
|
|
1881
|
-
const [, rerender] = index_module.
|
|
1881
|
+
const [, rerender] = index_module.un();
|
|
1882
1882
|
stencilHooks_module.useEffect(() => {
|
|
1883
1883
|
var _a;
|
|
1884
1884
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
|
|
@@ -2004,9 +2004,9 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
2004
2004
|
`;
|
|
2005
2005
|
function useReferralIframe(props) {
|
|
2006
2006
|
var _a;
|
|
2007
|
-
const programId = index_module.
|
|
2008
|
-
const user = index_module.
|
|
2009
|
-
const { data } = index_module.
|
|
2007
|
+
const programId = index_module.W();
|
|
2008
|
+
const user = index_module._();
|
|
2009
|
+
const { data } = index_module.dn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2010
2010
|
return {
|
|
2011
2011
|
states: {
|
|
2012
2012
|
content: props,
|
|
@@ -2044,7 +2044,7 @@ const SqmReferralIframe = class {
|
|
|
2044
2044
|
if (missingProps) {
|
|
2045
2045
|
return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this page", subheading: "A technical problem prevented this iframe from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
|
|
2046
2046
|
}
|
|
2047
|
-
const { states, data } = index_module.
|
|
2047
|
+
const { states, data } = index_module.isDemo()
|
|
2048
2048
|
? useReferralIframeDemo(utils.getProps(this))
|
|
2049
2049
|
: useReferralIframe(utils.getProps(this));
|
|
2050
2050
|
return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.ReferralIframeView, { data: data, states: states })));
|
|
@@ -2731,9 +2731,9 @@ function useRewardExchangeList(props) {
|
|
|
2731
2731
|
});
|
|
2732
2732
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
2733
2733
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
2734
|
-
const user = index_module.
|
|
2735
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module
|
|
2736
|
-
const { data, loading, refetch, errors: queryError, } = index_module.
|
|
2734
|
+
const user = index_module._();
|
|
2735
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.Ie(EXCHANGE);
|
|
2736
|
+
const { data, loading, refetch, errors: queryError, } = index_module.dn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
2737
2737
|
stencilHooks_module.useEffect(() => {
|
|
2738
2738
|
var _a, _b;
|
|
2739
2739
|
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) {
|
|
@@ -2752,7 +2752,7 @@ function useRewardExchangeList(props) {
|
|
|
2752
2752
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
2753
2753
|
canvas.confetti();
|
|
2754
2754
|
}, [canvasRef.current]);
|
|
2755
|
-
const { refresh } = index_module.
|
|
2755
|
+
const { refresh } = index_module.Ue();
|
|
2756
2756
|
async function exchangeReward() {
|
|
2757
2757
|
if (!selectedItem)
|
|
2758
2758
|
return;
|
|
@@ -3008,7 +3008,7 @@ const SqmRewardExchangeList = class {
|
|
|
3008
3008
|
...utils.getProps(this),
|
|
3009
3009
|
empty: index.h(EmptySlot$1, null),
|
|
3010
3010
|
};
|
|
3011
|
-
const { states, data, callbacks, refs } = index_module.
|
|
3011
|
+
const { states, data, callbacks, refs } = index_module.isDemo()
|
|
3012
3012
|
? useRewardExchangeListDemo(props)
|
|
3013
3013
|
: useRewardExchangeList(props);
|
|
3014
3014
|
return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.RewardExchangeView, { states: states, data: data, callbacks: callbacks, refs: refs })));
|
|
@@ -3060,8 +3060,8 @@ function matchPath(pattern, page) {
|
|
|
3060
3060
|
return regexp.exec(page);
|
|
3061
3061
|
}
|
|
3062
3062
|
function useRouter() {
|
|
3063
|
-
const location = index_module.
|
|
3064
|
-
const host = index_module.
|
|
3063
|
+
const location = index_module.gn();
|
|
3064
|
+
const host = index_module.x();
|
|
3065
3065
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
3066
3066
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
3067
3067
|
const page = location.pathname;
|
|
@@ -3278,7 +3278,7 @@ const ShareButton = class {
|
|
|
3278
3278
|
disconnectedCallback() { }
|
|
3279
3279
|
render() {
|
|
3280
3280
|
const thisProps = utils.getProps(this);
|
|
3281
|
-
const props = index_module.
|
|
3281
|
+
const props = index_module.isDemo()
|
|
3282
3282
|
? useDemoShareButton(thisProps)
|
|
3283
3283
|
: ShadowViewAddon.useShareButton(thisProps);
|
|
3284
3284
|
return (index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), index.h("slot", null)));
|
|
@@ -3312,11 +3312,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
3312
3312
|
`;
|
|
3313
3313
|
function useShareCode(props) {
|
|
3314
3314
|
var _a, _b;
|
|
3315
|
-
const programId = index_module.
|
|
3316
|
-
const user = index_module.
|
|
3317
|
-
const engagementMedium = index_module.
|
|
3318
|
-
const { data } = index_module.
|
|
3319
|
-
const [sendLoadEvent] = index_module
|
|
3315
|
+
const programId = index_module.W();
|
|
3316
|
+
const user = index_module._();
|
|
3317
|
+
const engagementMedium = index_module.Q();
|
|
3318
|
+
const { data } = index_module.dn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3319
|
+
const [sendLoadEvent] = index_module.Ie(WIDGET_ENGAGEMENT_EVENT);
|
|
3320
3320
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
3321
3321
|
// Shown during loading
|
|
3322
3322
|
"...";
|
|
@@ -3363,7 +3363,7 @@ const ShareCode = class {
|
|
|
3363
3363
|
disconnectedCallback() { }
|
|
3364
3364
|
render() {
|
|
3365
3365
|
const thisProps = utils.getProps(this);
|
|
3366
|
-
const props = index_module.
|
|
3366
|
+
const props = index_module.isDemo()
|
|
3367
3367
|
? useDemoShareCode(thisProps)
|
|
3368
3368
|
: useShareCode(thisProps);
|
|
3369
3369
|
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
@@ -3406,7 +3406,7 @@ const ShareLink = class {
|
|
|
3406
3406
|
disconnectedCallback() { }
|
|
3407
3407
|
render() {
|
|
3408
3408
|
const thisProps = utils.getProps(this);
|
|
3409
|
-
const props = index_module.
|
|
3409
|
+
const props = index_module.isDemo()
|
|
3410
3410
|
? useDemoShareLink(thisProps)
|
|
3411
3411
|
: ShadowViewAddon.useShareLink(thisProps);
|
|
3412
3412
|
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
@@ -3489,10 +3489,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
3489
3489
|
}
|
|
3490
3490
|
`;
|
|
3491
3491
|
function useTaskCard(props) {
|
|
3492
|
-
const user = index_module.
|
|
3493
|
-
const locale = index_module.
|
|
3494
|
-
const [sendUserEvent, { data, loading: loadingEvent }] = index_module
|
|
3495
|
-
const { refresh } = index_module.
|
|
3492
|
+
const user = index_module._();
|
|
3493
|
+
const locale = index_module.H();
|
|
3494
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.Ie(SEND_EVENT);
|
|
3495
|
+
const { refresh } = index_module.Ue();
|
|
3496
3496
|
stencilHooks_module.useEffect(() => {
|
|
3497
3497
|
if (data) {
|
|
3498
3498
|
refresh();
|
|
@@ -3630,11 +3630,11 @@ const TaskCard = class {
|
|
|
3630
3630
|
}
|
|
3631
3631
|
disconnectedCallback() { }
|
|
3632
3632
|
render() {
|
|
3633
|
-
const { props } = index_module.
|
|
3633
|
+
const { props } = index_module.isDemo()
|
|
3634
3634
|
? ShadowViewAddon.useDemoBigStat(this)
|
|
3635
3635
|
: ShadowViewAddon.useBigStat({ ...utils.getProps(this), programId: this.programId });
|
|
3636
3636
|
const { value, loading } = props;
|
|
3637
|
-
const { states, callbacks } = index_module.
|
|
3637
|
+
const { states, callbacks } = index_module.isDemo()
|
|
3638
3638
|
? useTaskCardDemo(this)
|
|
3639
3639
|
: useTaskCard(this);
|
|
3640
3640
|
return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
|
|
@@ -3808,8 +3808,8 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
3808
3808
|
`;
|
|
3809
3809
|
function useUserName(props) {
|
|
3810
3810
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3811
|
-
const user = index_module.
|
|
3812
|
-
const res = index_module.
|
|
3811
|
+
const user = index_module._();
|
|
3812
|
+
const res = index_module.dn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3813
3813
|
const loading = res.loading;
|
|
3814
3814
|
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)
|
|
3815
3815
|
? `${(_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}`
|
|
@@ -3838,7 +3838,7 @@ const UserName = class {
|
|
|
3838
3838
|
}
|
|
3839
3839
|
disconnectedCallback() { }
|
|
3840
3840
|
render() {
|
|
3841
|
-
const props = index_module.
|
|
3841
|
+
const props = index_module.isDemo() ? useUserNameDemo(this) : useUserName(this);
|
|
3842
3842
|
return index.h(UserNameView, Object.assign({}, props));
|
|
3843
3843
|
}
|
|
3844
3844
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./extends-08099afd.js');
|
|
8
8
|
const JSS = require('./JSS-97fd087e.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
|
|
8
8
|
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)}.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)}";
|
|
9
9
|
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./use-callback-5d15897d.js');
|
|
8
|
+
const index_module = require('./index.module-7972acac.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
|
|
11
11
|
async function useGraphQLClientProvider({ domain }) {
|
|
12
|
-
const token = index_module.
|
|
12
|
+
const token = index_module.L();
|
|
13
13
|
const appDomain = domain;
|
|
14
14
|
const tenantAlias = index_module.U();
|
|
15
15
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
16
|
-
const managedIdentityClient = index_module.
|
|
17
|
-
const [, setGraphQLClient] = stencilHooks_module.m(index_module.
|
|
16
|
+
const managedIdentityClient = index_module.Ce(appDomain, tenantAlias, token);
|
|
17
|
+
const [, setGraphQLClient] = stencilHooks_module.m(index_module.be, managedIdentityClient);
|
|
18
18
|
stencilHooks_module.useEffect(() => {
|
|
19
19
|
setGraphQLClient(managedIdentityClient);
|
|
20
20
|
}, [managedIdentityClient]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const useCallback = require('./use-callback-
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
5
|
+
const useCallback = require('./use-callback-5d15897d.js');
|
|
6
6
|
const JSS = require('./JSS-97fd087e.js');
|
|
7
7
|
|
|
8
8
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./use-callback-5d15897d.js');
|
|
8
8
|
require('./extends-08099afd.js');
|
|
9
9
|
require('./JSS-97fd087e.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
|
-
const sqmHeroView = require('./sqm-hero-view-
|
|
11
|
+
const sqmHeroView = require('./sqm-hero-view-bc763ed2.js');
|
|
12
12
|
|
|
13
13
|
const Hero = class {
|
|
14
14
|
constructor(hostRef) {
|