@saasquatch/mint-components 1.6.2-10 → 1.6.2-13
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/{GenericTableView-47869553.js → GenericTableView-9271483b.js} +1 -1
- package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-0ce4871c.js → ShadowViewAddon-58ede93c.js} +17 -21
- package/dist/cjs/{global-4e52f274.js → global-b645d18a.js} +2 -2
- package/dist/cjs/{index.module-7972acac.js → index.module-93c78ac7.js} +227 -535
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/mint-components.cjs.js +2 -3
- package/dist/cjs/{re-render-99b2655c.js → re-render-afeabe91.js} +4 -4
- package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -4
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +87 -93
- package/dist/cjs/sqm-empty_5.cjs.entry.js +3 -4
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -6
- package/dist/cjs/{sqm-hero-view-bc763ed2.js → sqm-hero-view-ba78dcaf.js} +1 -1
- package/dist/cjs/sqm-hero.cjs.entry.js +2 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-navigation-sidebar-item-view-b3ca14b4.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +3 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-f2a35e7c.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +19 -23
- package/dist/cjs/{sqm-portal-footer-view-8eadb31d.js → sqm-portal-footer-view-5d6451ad.js} +2 -2
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +18 -21
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -3
- package/dist/cjs/{sqm-portal-profile-view-730252e8.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -9
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -6
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +28 -28
- package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +31 -38
- package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -11
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -9
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +11 -12
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -56
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -3
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -3
- package/dist/cjs/{useChildElements-42a97f2a.js → useChildElements-c0cc8f5d.js} +2 -2
- package/dist/cjs/{useReferralTable-a985ce58.js → useReferralTable-db1b33db.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-b7598d69.js → useRegistrationFormState-d0e43ca9.js} +3 -3
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +14 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -4
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +21 -20
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +22 -21
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +1 -2
- package/dist/esm/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
- package/dist/esm/{ShadowViewAddon-846aecda.js → ShadowViewAddon-6b6e9c10.js} +17 -21
- package/dist/esm/{global-44835899.js → global-c2d5e2fa.js} +2 -2
- package/dist/esm/{index.module-132e274f.js → index.module-25496635.js} +211 -519
- package/dist/esm/loader.js +2 -3
- package/dist/esm/mint-components.js +2 -3
- package/dist/esm/{re-render-81cd3caa.js → re-render-8ece93cd.js} +4 -4
- package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +3 -4
- package/dist/esm/sqm-big-stat_35.entry.js +87 -93
- package/dist/esm/sqm-empty_5.entry.js +3 -4
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -6
- package/dist/esm/{sqm-hero-view-9fb2be89.js → sqm-hero-view-b8ce1900.js} +1 -1
- package/dist/esm/sqm-hero.entry.js +2 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -5
- package/dist/esm/{sqm-navigation-sidebar-item-view-364af025.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -5
- package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -3
- package/dist/esm/sqm-password-field.entry.js +3 -4
- package/dist/esm/sqm-popup-container.entry.js +4 -5
- package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-5ac21bb4.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +20 -24
- package/dist/esm/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-c4059af8.js} +2 -2
- package/dist/esm/sqm-portal-footer.entry.js +4 -5
- package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +19 -22
- package/dist/esm/sqm-portal-logout.entry.js +2 -3
- package/dist/esm/{sqm-portal-profile-view-630f05c8.js → sqm-portal-profile-view-ec58906b.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -6
- package/dist/esm/sqm-portal-registration-form.entry.js +28 -28
- package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +31 -38
- package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +9 -11
- package/dist/esm/sqm-referral-table_11.entry.js +8 -9
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +11 -12
- package/dist/esm/sqm-stencilbook.entry.js +55 -56
- package/dist/esm/sqm-tab.entry.js +2 -3
- package/dist/esm/sqm-tabs.entry.js +4 -5
- package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +2 -3
- package/dist/esm/{useChildElements-9431f3e2.js → useChildElements-d86f03c6.js} +2 -2
- package/dist/esm/{useReferralTable-0516b6d5.js → useReferralTable-7aeb954d.js} +7 -7
- package/dist/esm/{useRegistrationFormState-ebb08075.js → useRegistrationFormState-e94eec81.js} +3 -3
- package/dist/esm-es5/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-6b6e9c10.js +1 -0
- package/dist/esm-es5/{global-44835899.js → global-c2d5e2fa.js} +2 -2
- package/dist/esm-es5/index.module-25496635.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-81cd3caa.js → re-render-8ece93cd.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.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-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-9fb2be89.js → sqm-hero-view-b8ce1900.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-24d5f092.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.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-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-5ac21bb4.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-c4059af8.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.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-630f05c8.js → sqm-portal-profile-view-ec58906b.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-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.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-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-9431f3e2.js → useChildElements-d86f03c6.js} +1 -1
- package/dist/esm-es5/{useReferralTable-0516b6d5.js → useReferralTable-7aeb954d.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-ebb08075.js → useRegistrationFormState-e94eec81.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-01016d01.entry.js +1 -0
- package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
- package/dist/mint-components/{p-c627c865.js → p-0425104d.js} +2 -2
- package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/{p-242bd74b.entry.js → p-0ec88b18.entry.js} +1 -1
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
- package/dist/mint-components/{p-703f4552.entry.js → p-0f44ced1.entry.js} +4 -4
- package/dist/mint-components/p-11a4a003.system.js +1 -0
- package/dist/mint-components/{p-52a2beaf.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/{p-d64a0bc1.js → p-16671c5a.js} +1 -1
- package/dist/mint-components/p-175ef60c.js +1 -0
- package/dist/mint-components/{p-0e441a14.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/{p-7dea8d9a.js → p-19deed13.js} +1 -1
- package/dist/mint-components/p-19f572c9.entry.js +1 -0
- package/dist/mint-components/p-1a673057.system.js +8 -0
- package/dist/mint-components/p-1cb7125b.entry.js +1 -0
- package/dist/mint-components/{p-4935076f.system.js → p-20268b64.system.js} +1 -1
- package/dist/mint-components/{p-0d482ad4.js → p-233e784a.js} +1 -1
- package/dist/mint-components/p-23ce9541.system.entry.js +1 -0
- package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
- package/dist/mint-components/{p-1c40d459.js → p-27d8b5e4.js} +1 -1
- package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
- package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
- package/dist/mint-components/p-28b0cd34.entry.js +1 -0
- package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
- package/dist/mint-components/{p-0f4c1e0e.entry.js → p-29d7ffd1.entry.js} +3 -3
- package/dist/mint-components/{p-0d49d56d.js → p-33fe169e.js} +1 -1
- package/dist/mint-components/p-3582d202.system.entry.js +1 -0
- package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
- package/dist/mint-components/p-3aa067f0.entry.js +13 -0
- package/dist/mint-components/p-3c2febd2.system.entry.js +1 -0
- package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
- package/dist/mint-components/p-3f15986b.entry.js +1 -0
- package/dist/mint-components/p-40a8ea40.entry.js +1 -0
- package/dist/mint-components/{p-1c21b5d1.js → p-41962e08.js} +1 -1
- package/dist/mint-components/p-4352909d.js +1 -0
- package/dist/mint-components/p-4560faa8.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/p-49c7d8f5.system.entry.js +1 -0
- package/dist/mint-components/{p-83d4885d.entry.js → p-4a5d61fe.entry.js} +2 -2
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/p-4cc59fed.system.entry.js +1 -0
- package/dist/mint-components/{p-1f6fdeda.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
- package/dist/mint-components/p-528ce342.system.entry.js +1 -0
- package/dist/mint-components/p-5352b716.system.entry.js +1 -0
- package/dist/mint-components/p-54db9721.js +1 -0
- package/dist/mint-components/p-58c173ff.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
- package/dist/mint-components/p-61b954e7.entry.js +1 -0
- package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
- package/dist/mint-components/p-6a529e0e.entry.js +1 -0
- package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-0148c516.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/p-76f151b2.entry.js +1 -0
- package/dist/mint-components/{p-89fc4544.system.js → p-7850a5e5.system.js} +1 -1
- package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/p-79aa6d79.system.entry.js +1 -0
- package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
- package/dist/mint-components/p-7ab63827.entry.js +1 -0
- package/dist/mint-components/p-7fcb4118.system.entry.js +1 -0
- package/dist/mint-components/{p-afcf252c.js → p-914511f3.js} +1 -1
- package/dist/mint-components/{p-292857fd.system.js → p-94578d79.system.js} +1 -1
- package/dist/mint-components/p-986e52e2.system.entry.js +1 -0
- package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
- package/dist/mint-components/p-9db0c9fc.system.entry.js +1 -0
- package/dist/mint-components/p-9fa6c616.entry.js +1 -0
- package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
- package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/p-a951d772.system.entry.js +1 -0
- package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
- package/dist/mint-components/{p-574ba520.system.js → p-b01e28dd.system.js} +1 -1
- package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/p-b33e0421.system.js +1 -0
- package/dist/mint-components/p-b7b4772a.entry.js +1 -0
- package/dist/mint-components/p-bd3c2e67.system.js +1 -0
- package/dist/mint-components/{p-446a0805.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-bf17dc65.system.js +1 -0
- package/dist/mint-components/p-c869970e.system.entry.js +1 -0
- package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
- package/dist/mint-components/p-cef45012.js +1 -0
- package/dist/mint-components/{p-519dc03b.system.js → p-d20361b8.system.js} +1 -1
- package/dist/mint-components/p-dd5f7670.entry.js +1 -0
- package/dist/mint-components/p-de2cd263.entry.js +1 -0
- package/dist/mint-components/p-de745531.system.entry.js +1 -0
- package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
- package/dist/mint-components/p-e48269b2.system.js +1 -0
- package/dist/mint-components/p-e502bbcc.entry.js +13 -0
- package/dist/mint-components/p-e5380001.system.entry.js +1 -0
- package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
- package/dist/mint-components/p-e67fc6a5.entry.js +1 -0
- package/dist/mint-components/p-eaa9a926.entry.js +1 -0
- package/dist/mint-components/{p-5d292177.system.js → p-ee5a4598.system.js} +1 -1
- package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/{p-53aef3ba.system.js → p-fdcd2b8f.system.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +2 -2
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm-es5/ShadowViewAddon-846aecda.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-132e274f.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-364af025.js +0 -1
- package/dist/mint-components/p-00d4636f.system.entry.js +0 -1
- package/dist/mint-components/p-06f56536.js +0 -1
- package/dist/mint-components/p-07d424a2.system.entry.js +0 -1
- package/dist/mint-components/p-088d3b4a.system.entry.js +0 -1
- package/dist/mint-components/p-0b1d703d.entry.js +0 -1
- package/dist/mint-components/p-136325c0.system.js +0 -1
- package/dist/mint-components/p-162fca19.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1cc3dfe5.system.js +0 -1
- package/dist/mint-components/p-222e5418.entry.js +0 -1
- package/dist/mint-components/p-2383eadd.system.entry.js +0 -1
- package/dist/mint-components/p-2dce26fa.system.entry.js +0 -1
- package/dist/mint-components/p-3d0dc005.system.entry.js +0 -1
- package/dist/mint-components/p-3f43b39c.entry.js +0 -1
- package/dist/mint-components/p-436779be.js +0 -1
- package/dist/mint-components/p-4ce8e325.system.entry.js +0 -1
- package/dist/mint-components/p-50553269.system.entry.js +0 -1
- package/dist/mint-components/p-50afa774.entry.js +0 -1
- package/dist/mint-components/p-51102b8f.entry.js +0 -13
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-63101d0c.entry.js +0 -1
- package/dist/mint-components/p-73681688.system.entry.js +0 -1
- package/dist/mint-components/p-7c3e3cb4.entry.js +0 -1
- package/dist/mint-components/p-7f4b0ba0.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +0 -1
- package/dist/mint-components/p-8c4bcbc6.entry.js +0 -1
- package/dist/mint-components/p-8d6a2a61.system.entry.js +0 -1
- package/dist/mint-components/p-90dfce36.entry.js +0 -1
- package/dist/mint-components/p-9f596d8d.system.entry.js +0 -1
- package/dist/mint-components/p-a1acdbb4.entry.js +0 -1
- package/dist/mint-components/p-a395bae0.entry.js +0 -1
- package/dist/mint-components/p-a4335cb5.system.entry.js +0 -1
- package/dist/mint-components/p-af3b56d3.system.entry.js +0 -1
- package/dist/mint-components/p-b2e7ca31.system.entry.js +0 -1
- package/dist/mint-components/p-b3d7d353.entry.js +0 -1
- package/dist/mint-components/p-b52109dd.entry.js +0 -1
- package/dist/mint-components/p-b593a42e.system.entry.js +0 -1
- package/dist/mint-components/p-bb9dadd3.system.entry.js +0 -1
- package/dist/mint-components/p-bc2cf095.entry.js +0 -1
- package/dist/mint-components/p-bed78bee.system.entry.js +0 -1
- package/dist/mint-components/p-c01e754d.system.entry.js +0 -1
- package/dist/mint-components/p-c4e22786.system.js +0 -1
- package/dist/mint-components/p-ca08cf71.entry.js +0 -1
- package/dist/mint-components/p-cac0e237.entry.js +0 -1
- package/dist/mint-components/p-ce6f7e0e.entry.js +0 -1
- package/dist/mint-components/p-ceeeb344.entry.js +0 -1
- package/dist/mint-components/p-ceefa54a.system.entry.js +0 -1
- package/dist/mint-components/p-d08b59df.entry.js +0 -13
- package/dist/mint-components/p-d21ccfa1.entry.js +0 -1
- package/dist/mint-components/p-d307abaa.entry.js +0 -1
- package/dist/mint-components/p-d5c94703.entry.js +0 -1
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-dc37fe51.system.js +0 -1
- package/dist/mint-components/p-df2b4e11.system.entry.js +0 -1
- package/dist/mint-components/p-e0fa9595.system.js +0 -1
- package/dist/mint-components/p-e8d07dfa.system.entry.js +0 -1
- package/dist/mint-components/p-f3eaabf8.system.entry.js +0 -1
- package/dist/mint-components/p-f54b436e.entry.js +0 -1
- package/dist/mint-components/p-f5e601b0.system.entry.js +0 -1
- package/dist/mint-components/p-f8863064.system.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-b645d18a.js');
|
|
8
8
|
require('./use-callback-5d15897d.js');
|
|
9
|
-
require('./index.module-
|
|
10
|
-
require('./extends-08099afd.js');
|
|
9
|
+
require('./index.module-93c78ac7.js');
|
|
11
10
|
|
|
12
11
|
/*
|
|
13
12
|
Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
require('./stencil-hooks.module-6fe43579.js');
|
|
5
|
-
require('./global-
|
|
5
|
+
require('./global-b645d18a.js');
|
|
6
6
|
require('./use-callback-5d15897d.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
require('./extends-08099afd.js');
|
|
7
|
+
require('./index.module-93c78ac7.js');
|
|
9
8
|
|
|
10
9
|
/*
|
|
11
10
|
Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-93c78ac7.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.R();
|
|
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.R();
|
|
29
|
+
const [tick, rerender] = index_module.on();
|
|
30
30
|
stencilHooks_module.useEffect(() => {
|
|
31
31
|
const listener = (e) => {
|
|
32
32
|
// Preventes recursively nested components from sending requests up all the way
|
|
@@ -5,11 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
require('./extends-08099afd.js');
|
|
8
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
10
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
|
-
require('./JSS-
|
|
12
|
-
const sqmAssetCardView = require('./sqm-asset-card-view-
|
|
10
|
+
require('./JSS-8503a151.js');
|
|
11
|
+
const sqmAssetCardView = require('./sqm-asset-card-view-59c39ed2.js');
|
|
13
12
|
|
|
14
13
|
const useAssetCard = (_props) => {
|
|
15
14
|
return {
|
|
@@ -4,24 +4,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-b645d18a.js');
|
|
8
8
|
const useCallback = require('./use-callback-5d15897d.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
10
|
-
require('./extends-08099afd.js');
|
|
9
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
11
10
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
12
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
13
12
|
require('./mixins-fe9d4112.js');
|
|
14
|
-
const JSS = require('./JSS-
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const JSS = require('./JSS-8503a151.js');
|
|
14
|
+
const reRender = require('./re-render-afeabe91.js');
|
|
15
|
+
const useChildElements = require('./useChildElements-c0cc8f5d.js');
|
|
17
16
|
require('./luxon-479fc825.js');
|
|
18
17
|
const utils = require('./utils-6847bc06.js');
|
|
19
|
-
require('./sqm-text-span-view-
|
|
20
|
-
require('./sqm-portal-container-view-
|
|
18
|
+
require('./sqm-text-span-view-b318af73.js');
|
|
19
|
+
require('./sqm-portal-container-view-2ddcaa12.js');
|
|
21
20
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
22
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
24
|
-
require('./sqm-portal-section-view-
|
|
21
|
+
const useRegistrationFormState = require('./useRegistrationFormState-d0e43ca9.js');
|
|
22
|
+
const ShadowViewAddon = require('./ShadowViewAddon-58ede93c.js');
|
|
23
|
+
require('./sqm-portal-section-view-1e5bbcb1.js');
|
|
25
24
|
|
|
26
25
|
const BigStat = class {
|
|
27
26
|
constructor(hostRef) {
|
|
@@ -40,7 +39,7 @@ const BigStat = class {
|
|
|
40
39
|
render() {
|
|
41
40
|
var _a;
|
|
42
41
|
const { props, label } = index_module.isDemo() ? ShadowViewAddon.useDemoBigStat(this) : ShadowViewAddon.useBigStat(this);
|
|
43
|
-
const host = index_module.
|
|
42
|
+
const host = index_module.R();
|
|
44
43
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
45
44
|
const labelSlot = index.h("slot", { name: "label" }, hasLabel ? index.h("slot", null) : label);
|
|
46
45
|
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
@@ -152,7 +151,7 @@ const styleString = sheet.toString();
|
|
|
152
151
|
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
152
|
if (!missingProps)
|
|
154
153
|
return false;
|
|
155
|
-
const host = index_module.
|
|
154
|
+
const host = index_module.R();
|
|
156
155
|
const [detailsOpen, setDetailsOpen] = stencilHooks_module.useState(false);
|
|
157
156
|
return (index.h("sl-alert", { type: "danger", open: true },
|
|
158
157
|
index.h("style", { type: "text/css" }, styleString),
|
|
@@ -422,13 +421,13 @@ const defaultFormState = {
|
|
|
422
421
|
error: "",
|
|
423
422
|
};
|
|
424
423
|
function useEditProfile(props) {
|
|
425
|
-
const userIdent = index_module.
|
|
424
|
+
const userIdent = index_module.N();
|
|
426
425
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
427
426
|
const [error, setError] = stencilHooks_module.useState("");
|
|
428
427
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
429
428
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
430
429
|
const userDataResponse = index_module.dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
431
|
-
const [upsertUser, upsertUserResponse] = index_module.
|
|
430
|
+
const [upsertUser, upsertUserResponse] = index_module.Pe(UPSERT_USER);
|
|
432
431
|
stencilHooks_module.useEffect(() => {
|
|
433
432
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
434
433
|
return;
|
|
@@ -914,11 +913,11 @@ const GET_RANK = index_module.dist.gql `
|
|
|
914
913
|
`;
|
|
915
914
|
function useLeaderboard(props) {
|
|
916
915
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
917
|
-
const programIdContext = index_module.
|
|
916
|
+
const programIdContext = index_module.O();
|
|
918
917
|
// Default to context, overriden by props
|
|
919
918
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
920
|
-
const user = index_module.
|
|
921
|
-
const locale = index_module.
|
|
919
|
+
const user = index_module.N();
|
|
920
|
+
const locale = index_module.x();
|
|
922
921
|
const variables = programId
|
|
923
922
|
? {
|
|
924
923
|
type: props.leaderboardType,
|
|
@@ -1167,12 +1166,12 @@ function NavigationMenuView(props) {
|
|
|
1167
1166
|
}
|
|
1168
1167
|
|
|
1169
1168
|
function handleMenu(e) {
|
|
1170
|
-
index_module.
|
|
1169
|
+
index_module.fn.push(e.detail.item.value);
|
|
1171
1170
|
}
|
|
1172
1171
|
function useNavigationMenu(props) {
|
|
1173
1172
|
const ref = stencilHooks_module.useRef();
|
|
1174
|
-
const [, rerender] = index_module.
|
|
1175
|
-
const user = index_module.
|
|
1173
|
+
const [, rerender] = index_module.on();
|
|
1174
|
+
const user = index_module.N();
|
|
1176
1175
|
stencilHooks_module.useEffect(() => {
|
|
1177
1176
|
var _a;
|
|
1178
1177
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1225,14 +1224,14 @@ function useNavigationMenuDemo(props) {
|
|
|
1225
1224
|
NavigationMenu.style = sqmNavigationMenuCss;
|
|
1226
1225
|
|
|
1227
1226
|
function usePortalChangePassword(props) {
|
|
1228
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
1229
|
-
const [request, { loading, errors, data }] = index_module.
|
|
1227
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1228
|
+
const [request, { loading, errors, data }] = index_module.Ve();
|
|
1230
1229
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
1231
1230
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1232
1231
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1233
|
-
const user = index_module.
|
|
1232
|
+
const user = index_module.N();
|
|
1234
1233
|
const submit = async (event) => {
|
|
1235
|
-
var _a;
|
|
1234
|
+
var _a, _b;
|
|
1236
1235
|
setSuccess(false);
|
|
1237
1236
|
const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
|
|
1238
1237
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
@@ -1250,20 +1249,17 @@ function usePortalChangePassword(props) {
|
|
|
1250
1249
|
const variables = {
|
|
1251
1250
|
password: formData.password,
|
|
1252
1251
|
};
|
|
1253
|
-
await request(variables);
|
|
1254
|
-
|
|
1255
|
-
stencilHooks_module.useEffect(() => {
|
|
1256
|
-
var _a;
|
|
1257
|
-
if ((_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success) {
|
|
1252
|
+
const result = await request(variables);
|
|
1253
|
+
if (!(result instanceof Error) && ((_b = result.changeManagedIdentityPassword) === null || _b === void 0 ? void 0 : _b.success)) {
|
|
1258
1254
|
setSuccess(true);
|
|
1259
1255
|
}
|
|
1260
|
-
}
|
|
1256
|
+
};
|
|
1261
1257
|
return {
|
|
1262
1258
|
states: {
|
|
1263
1259
|
open,
|
|
1264
1260
|
loading,
|
|
1265
1261
|
success,
|
|
1266
|
-
error: error || ((
|
|
1262
|
+
error: error || ((_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),
|
|
1267
1263
|
content: {
|
|
1268
1264
|
modalChangePasswordHeader: props.modalChangePasswordHeader,
|
|
1269
1265
|
cancelText: props.cancelText,
|
|
@@ -1366,7 +1362,7 @@ function usePortalChangePasswordDemo(props) {
|
|
|
1366
1362
|
}
|
|
1367
1363
|
|
|
1368
1364
|
function usePortalFrame(footerContent, headerContent) {
|
|
1369
|
-
const [, rerender] = index_module.
|
|
1365
|
+
const [, rerender] = index_module.on();
|
|
1370
1366
|
return {
|
|
1371
1367
|
data: {
|
|
1372
1368
|
footer: footerContent,
|
|
@@ -1410,35 +1406,32 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1410
1406
|
}
|
|
1411
1407
|
|
|
1412
1408
|
function usePortalLogin(props) {
|
|
1413
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
1414
|
-
const [request, { loading, errors, data }] = index_module.
|
|
1409
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1410
|
+
const [request, { loading, errors, data }] = index_module.Me();
|
|
1415
1411
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1416
|
-
const urlParams = new URLSearchParams(
|
|
1412
|
+
const urlParams = new URLSearchParams(index_module.fn.location.search);
|
|
1417
1413
|
const nextPageOverride = urlParams.get("nextPage");
|
|
1418
1414
|
const submit = async (event) => {
|
|
1415
|
+
var _a, _b;
|
|
1419
1416
|
setError("");
|
|
1420
1417
|
let formData = event.detail.formData;
|
|
1421
1418
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
1422
1419
|
jsonpointer.jsonpointer.set(formData, key, value);
|
|
1423
1420
|
});
|
|
1424
1421
|
const variables = { email: formData.email, password: formData.password };
|
|
1425
|
-
await request(variables);
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1422
|
+
const result = await request(variables);
|
|
1423
|
+
if (result instanceof Error) {
|
|
1424
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
1425
|
+
setError("Network request failed.");
|
|
1426
|
+
return;
|
|
1427
|
+
}
|
|
1428
|
+
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
1430
1429
|
urlParams.delete("nextPage");
|
|
1431
1430
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
1432
|
-
index_module.
|
|
1433
|
-
}
|
|
1434
|
-
}, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
1435
|
-
stencilHooks_module.useEffect(() => {
|
|
1436
|
-
var _a;
|
|
1437
|
-
if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
|
|
1438
|
-
setError("Network request failed.");
|
|
1431
|
+
index_module.fn.push(url.href);
|
|
1439
1432
|
}
|
|
1440
|
-
}
|
|
1441
|
-
const errorMessage = ((
|
|
1433
|
+
};
|
|
1434
|
+
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) ||
|
|
1442
1435
|
error;
|
|
1443
1436
|
return {
|
|
1444
1437
|
states: {
|
|
@@ -1504,8 +1497,8 @@ const PortalLogin = class {
|
|
|
1504
1497
|
? useLoginDemo(this)
|
|
1505
1498
|
: usePortalLogin(this);
|
|
1506
1499
|
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.
|
|
1500
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.fn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
1501
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.fn.push(states.registerPath) }, this.registerLabel))),
|
|
1509
1502
|
emailLabel: this.emailLabel,
|
|
1510
1503
|
passwordLabel: this.passwordLabel,
|
|
1511
1504
|
submitLabel: this.submitLabel,
|
|
@@ -1531,11 +1524,21 @@ function useLoginDemo(props) {
|
|
|
1531
1524
|
}
|
|
1532
1525
|
|
|
1533
1526
|
function usePortalRegister(props) {
|
|
1534
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
1527
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1535
1528
|
const formRef = stencilHooks_module.useRef(null);
|
|
1536
1529
|
const { validationState, setValidationState } = useRegistrationFormState.useValidationState({});
|
|
1537
|
-
const [request, { loading, errors, data }] = index_module
|
|
1530
|
+
const [request, { loading, errors, data }] = index_module.je();
|
|
1531
|
+
stencilHooks_module.useEffect(() => {
|
|
1532
|
+
if (!formRef.current)
|
|
1533
|
+
return;
|
|
1534
|
+
const form = formRef.current;
|
|
1535
|
+
form.addEventListener("sl-input", inputFunction);
|
|
1536
|
+
return () => {
|
|
1537
|
+
form.removeEventListener("sl-input", inputFunction);
|
|
1538
|
+
};
|
|
1539
|
+
}, [formRef.current]);
|
|
1538
1540
|
const submit = async (event) => {
|
|
1541
|
+
var _a;
|
|
1539
1542
|
let formControls = event.target.getFormControls();
|
|
1540
1543
|
let formData = {};
|
|
1541
1544
|
let validationErrors = {};
|
|
@@ -1582,7 +1585,13 @@ function usePortalRegister(props) {
|
|
|
1582
1585
|
redirectPath,
|
|
1583
1586
|
};
|
|
1584
1587
|
try {
|
|
1585
|
-
await request(variables);
|
|
1588
|
+
const result = await request(variables);
|
|
1589
|
+
if (result instanceof Error) {
|
|
1590
|
+
throw result;
|
|
1591
|
+
}
|
|
1592
|
+
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
1593
|
+
index_module.fn.push(props.nextPage);
|
|
1594
|
+
}
|
|
1586
1595
|
}
|
|
1587
1596
|
catch (error) {
|
|
1588
1597
|
setValidationState({ error: "Network request failed." });
|
|
@@ -1596,31 +1605,16 @@ function usePortalRegister(props) {
|
|
|
1596
1605
|
const asYouType = new AsYouType.AsYouType("US");
|
|
1597
1606
|
e.target.value = asYouType.input(e.target.value);
|
|
1598
1607
|
}, []);
|
|
1599
|
-
stencilHooks_module.useEffect(() => {
|
|
1600
|
-
var _a;
|
|
1601
|
-
if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
1602
|
-
index_module.vn.push(props.nextPage);
|
|
1603
|
-
}
|
|
1604
|
-
}, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
1605
|
-
stencilHooks_module.useEffect(() => {
|
|
1606
|
-
if (!formRef.current)
|
|
1607
|
-
return;
|
|
1608
|
-
const form = formRef.current;
|
|
1609
|
-
form.addEventListener("sl-input", inputFunction);
|
|
1610
|
-
return () => {
|
|
1611
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
1612
|
-
};
|
|
1613
|
-
}, [formRef.current]);
|
|
1614
1608
|
let errorMessage = "";
|
|
1615
|
-
if ((
|
|
1609
|
+
if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
|
|
1616
1610
|
errorMessage = "Network request failed";
|
|
1617
1611
|
}
|
|
1618
|
-
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((
|
|
1612
|
+
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
|
|
1619
1613
|
errorMessage = "Network request failed";
|
|
1620
1614
|
}
|
|
1621
1615
|
else {
|
|
1622
1616
|
errorMessage =
|
|
1623
|
-
((
|
|
1617
|
+
((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
|
|
1624
1618
|
}
|
|
1625
1619
|
return {
|
|
1626
1620
|
states: {
|
|
@@ -1712,7 +1706,7 @@ const PortalRegister = class {
|
|
|
1712
1706
|
: usePortalRegister(this);
|
|
1713
1707
|
const content = {
|
|
1714
1708
|
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.
|
|
1709
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.fn.push(states.loginPath) }, this.loginLabel))),
|
|
1716
1710
|
terms: index.h("slot", { name: "terms" }),
|
|
1717
1711
|
emailLabel: this.emailLabel,
|
|
1718
1712
|
passwordLabel: this.passwordLabel,
|
|
@@ -1874,11 +1868,11 @@ const ProgramExplainerStep = class {
|
|
|
1874
1868
|
const debug = stencilHooks_module.browser('sq:useProgramMenu');
|
|
1875
1869
|
const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
|
|
1876
1870
|
function useProgramMenu(props) {
|
|
1877
|
-
const programId = index_module.
|
|
1878
|
-
const host = index_module.
|
|
1871
|
+
const programId = index_module.O();
|
|
1872
|
+
const host = index_module.R();
|
|
1879
1873
|
debug({ programId, props });
|
|
1880
1874
|
const ref = stencilHooks_module.useRef();
|
|
1881
|
-
const [, rerender] = index_module.
|
|
1875
|
+
const [, rerender] = index_module.on();
|
|
1882
1876
|
stencilHooks_module.useEffect(() => {
|
|
1883
1877
|
var _a;
|
|
1884
1878
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
|
|
@@ -2004,8 +1998,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
2004
1998
|
`;
|
|
2005
1999
|
function useReferralIframe(props) {
|
|
2006
2000
|
var _a;
|
|
2007
|
-
const programId = index_module.
|
|
2008
|
-
const user = index_module.
|
|
2001
|
+
const programId = index_module.O();
|
|
2002
|
+
const user = index_module.N();
|
|
2009
2003
|
const { data } = index_module.dn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2010
2004
|
return {
|
|
2011
2005
|
states: {
|
|
@@ -2731,8 +2725,8 @@ function useRewardExchangeList(props) {
|
|
|
2731
2725
|
});
|
|
2732
2726
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
2733
2727
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
2734
|
-
const user = index_module.
|
|
2735
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.
|
|
2728
|
+
const user = index_module.N();
|
|
2729
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.Pe(EXCHANGE);
|
|
2736
2730
|
const { data, loading, refetch, errors: queryError, } = index_module.dn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
2737
2731
|
stencilHooks_module.useEffect(() => {
|
|
2738
2732
|
var _a, _b;
|
|
@@ -2752,7 +2746,7 @@ function useRewardExchangeList(props) {
|
|
|
2752
2746
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
2753
2747
|
canvas.confetti();
|
|
2754
2748
|
}, [canvasRef.current]);
|
|
2755
|
-
const { refresh } = index_module.
|
|
2749
|
+
const { refresh } = index_module.Le();
|
|
2756
2750
|
async function exchangeReward() {
|
|
2757
2751
|
if (!selectedItem)
|
|
2758
2752
|
return;
|
|
@@ -3060,8 +3054,8 @@ function matchPath(pattern, page) {
|
|
|
3060
3054
|
return regexp.exec(page);
|
|
3061
3055
|
}
|
|
3062
3056
|
function useRouter() {
|
|
3063
|
-
const location = index_module.
|
|
3064
|
-
const host = index_module.
|
|
3057
|
+
const location = index_module.cn();
|
|
3058
|
+
const host = index_module.R();
|
|
3065
3059
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
3066
3060
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
3067
3061
|
const page = location.pathname;
|
|
@@ -3312,11 +3306,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
3312
3306
|
`;
|
|
3313
3307
|
function useShareCode(props) {
|
|
3314
3308
|
var _a, _b;
|
|
3315
|
-
const programId = index_module.
|
|
3316
|
-
const user = index_module.
|
|
3317
|
-
const engagementMedium = index_module.
|
|
3309
|
+
const programId = index_module.O();
|
|
3310
|
+
const user = index_module.N();
|
|
3311
|
+
const engagementMedium = index_module.U();
|
|
3318
3312
|
const { data } = index_module.dn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3319
|
-
const [sendLoadEvent] = index_module.
|
|
3313
|
+
const [sendLoadEvent] = index_module.Pe(WIDGET_ENGAGEMENT_EVENT);
|
|
3320
3314
|
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
3315
|
// Shown during loading
|
|
3322
3316
|
"...";
|
|
@@ -3489,10 +3483,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
3489
3483
|
}
|
|
3490
3484
|
`;
|
|
3491
3485
|
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.
|
|
3486
|
+
const user = index_module.N();
|
|
3487
|
+
const locale = index_module.x();
|
|
3488
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.Pe(SEND_EVENT);
|
|
3489
|
+
const { refresh } = index_module.Le();
|
|
3496
3490
|
stencilHooks_module.useEffect(() => {
|
|
3497
3491
|
if (data) {
|
|
3498
3492
|
refresh();
|
|
@@ -3808,7 +3802,7 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
3808
3802
|
`;
|
|
3809
3803
|
function useUserName(props) {
|
|
3810
3804
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3811
|
-
const user = index_module.
|
|
3805
|
+
const user = index_module.N();
|
|
3812
3806
|
const res = index_module.dn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3813
3807
|
const loading = res.loading;
|
|
3814
3808
|
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)
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
require('./
|
|
8
|
-
const JSS = require('./JSS-97fd087e.js');
|
|
7
|
+
const JSS = require('./JSS-8503a151.js');
|
|
9
8
|
const utils = require('./utils-6847bc06.js');
|
|
10
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
11
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-
|
|
9
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-2ddcaa12.js');
|
|
10
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-1e5bbcb1.js');
|
|
12
11
|
|
|
13
12
|
function EmptyStateView(props) {
|
|
14
13
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
@@ -5,16 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
require('./extends-08099afd.js');
|
|
8
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
10
9
|
|
|
11
10
|
async function useGraphQLClientProvider({ domain }) {
|
|
12
|
-
const token = index_module.
|
|
11
|
+
const token = index_module.H();
|
|
13
12
|
const appDomain = domain;
|
|
14
|
-
const tenantAlias = index_module.
|
|
13
|
+
const tenantAlias = index_module.L();
|
|
15
14
|
// 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.
|
|
15
|
+
const managedIdentityClient = index_module.ye(appDomain, tenantAlias, token);
|
|
16
|
+
const [, setGraphQLClient] = stencilHooks_module.m(index_module.he, managedIdentityClient);
|
|
18
17
|
stencilHooks_module.useEffect(() => {
|
|
19
18
|
setGraphQLClient(managedIdentityClient);
|
|
20
19
|
}, [managedIdentityClient]);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
5
5
|
const useCallback = require('./use-callback-5d15897d.js');
|
|
6
|
-
const JSS = require('./JSS-
|
|
6
|
+
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
8
8
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
9
9
|
function isMobile(breakPoint) {
|
|
@@ -5,10 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./JSS-97fd087e.js');
|
|
8
|
+
require('./JSS-8503a151.js');
|
|
10
9
|
const utils = require('./utils-6847bc06.js');
|
|
11
|
-
const sqmHeroView = require('./sqm-hero-view-
|
|
10
|
+
const sqmHeroView = require('./sqm-hero-view-ba78dcaf.js');
|
|
12
11
|
|
|
13
12
|
const Hero = class {
|
|
14
13
|
constructor(hostRef) {
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-b645d18a.js');
|
|
8
8
|
require('./use-callback-5d15897d.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
10
|
-
require('./extends-08099afd.js');
|
|
9
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
11
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
12
11
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
13
12
|
|
|
@@ -26,10 +25,10 @@ const GET_RANK = index_module.dist.gql `
|
|
|
26
25
|
`;
|
|
27
26
|
function useLeaderboardRank(props) {
|
|
28
27
|
var _a, _b, _c, _d;
|
|
29
|
-
const programIdContext = index_module.
|
|
28
|
+
const programIdContext = index_module.O();
|
|
30
29
|
// Default to context, overriden by props
|
|
31
30
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
32
|
-
const user = index_module.
|
|
31
|
+
const user = index_module.N();
|
|
33
32
|
const rankVariables = programId
|
|
34
33
|
? {
|
|
35
34
|
type: props.leaderboardType,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
|
-
const JSS = require('./JSS-
|
|
6
|
+
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
8
8
|
function NavigationSidebarItemView(props) {
|
|
9
9
|
const { states, data } = props;
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.fn.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -5,16 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
require('./extends-08099afd.js');
|
|
8
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
10
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
10
|
require('./mixins-fe9d4112.js');
|
|
12
|
-
require('./JSS-
|
|
11
|
+
require('./JSS-8503a151.js');
|
|
13
12
|
const utils = require('./utils-6847bc06.js');
|
|
14
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
13
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-2eda59bf.js');
|
|
15
14
|
|
|
16
15
|
function useNavigationSidebarItem(props) {
|
|
17
|
-
const currentPage = index_module.
|
|
16
|
+
const currentPage = index_module.cn();
|
|
18
17
|
return {
|
|
19
18
|
states: {
|
|
20
19
|
active: currentPage.pathname === props.path,
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
require('./extends-08099afd.js');
|
|
8
7
|
require('./mixins-fe9d4112.js');
|
|
9
|
-
require('./JSS-
|
|
10
|
-
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-
|
|
8
|
+
require('./JSS-8503a151.js');
|
|
9
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-2ffde416.js');
|
|
11
10
|
|
|
12
11
|
const NavigationSidebar = class {
|
|
13
12
|
constructor(hostRef) {
|