@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
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h$1 } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import './use-callback-684c8bb7.js';
|
|
4
|
-
import {
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { U } from './index.module-25496635.js';
|
|
6
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
6
|
|
|
8
7
|
const PopupContainerView = (props) => {
|
|
@@ -16,10 +15,10 @@ const PopupContainerView = (props) => {
|
|
|
16
15
|
};
|
|
17
16
|
|
|
18
17
|
function usePopupContainer(props) {
|
|
19
|
-
const engagementMedium =
|
|
18
|
+
const engagementMedium = U();
|
|
20
19
|
function closePopup() {
|
|
21
20
|
var _a;
|
|
22
|
-
if (
|
|
21
|
+
if (U() === "POPUP") {
|
|
23
22
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
24
23
|
}
|
|
25
24
|
}
|
|
@@ -33,7 +32,7 @@ function usePopupContainer(props) {
|
|
|
33
32
|
? "0"
|
|
34
33
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
35
34
|
: "0";
|
|
36
|
-
const padding =
|
|
35
|
+
const padding = U() === "POPUP" ? popupPadding : embedPadding;
|
|
37
36
|
return {
|
|
38
37
|
states: {
|
|
39
38
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-c2d5e2fa.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
|
-
import { c as createStyleSheet } from './JSS-
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
8
8
|
Wrapper: AuthWrapper,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import './global-
|
|
2
|
+
import { i as useState, m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
+
import './global-c2d5e2fa.js';
|
|
4
4
|
import './use-callback-684c8bb7.js';
|
|
5
|
-
import {
|
|
6
|
-
import './extends-c31f1eff.js';
|
|
5
|
+
import { t as tn, N, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
7
|
import './mixins-f60a614c.js';
|
|
9
|
-
import './JSS-
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
8
|
+
import './JSS-67b5cff8.js';
|
|
9
|
+
import './sqm-text-span-view-8b194920.js';
|
|
10
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4fa01d0a.js';
|
|
12
11
|
|
|
13
12
|
function usePortalEmailVerification(props) {
|
|
14
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
15
|
-
const [request, { loading, data, errors }] =
|
|
16
|
-
const userIdent =
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
14
|
+
const [request, { loading, data, errors }] = tn();
|
|
15
|
+
const userIdent = N();
|
|
17
16
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
18
17
|
const [success, setSuccess] = useState(false);
|
|
19
18
|
const [error, setError] = useState("");
|
|
20
|
-
const urlParams = new URLSearchParams(
|
|
19
|
+
const urlParams = new URLSearchParams(fn.location.search);
|
|
21
20
|
const nextPage = urlParams.get("nextPage");
|
|
22
21
|
const submit = async () => {
|
|
22
|
+
var _a;
|
|
23
23
|
if (!email)
|
|
24
24
|
return;
|
|
25
25
|
setError("");
|
|
@@ -27,23 +27,19 @@ function usePortalEmailVerification(props) {
|
|
|
27
27
|
const urlParams = nextPage ? { nextPage } : null;
|
|
28
28
|
const redirectPath = props.redirectPath;
|
|
29
29
|
const variables = { email, urlParams, redirectPath };
|
|
30
|
-
await request(variables);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
setSuccess(true);
|
|
36
|
-
}
|
|
37
|
-
}, [(_b = data === null || data === void 0 ? void 0 : data.requestManagedIdentityVerificationEmail) === null || _b === void 0 ? void 0 : _b.success]);
|
|
38
|
-
useEffect(() => {
|
|
39
|
-
if (errors === null || errors === void 0 ? void 0 : errors.message) {
|
|
40
|
-
setError("Network request failed.");
|
|
30
|
+
const result = await request(variables);
|
|
31
|
+
if (result instanceof Error) {
|
|
32
|
+
if (result.message)
|
|
33
|
+
setError("Network request failed.");
|
|
34
|
+
return;
|
|
41
35
|
}
|
|
42
|
-
|
|
36
|
+
if ((_a = result.requestManagedIdentityVerificationEmail) === null || _a === void 0 ? void 0 : _a.success)
|
|
37
|
+
setSuccess(true);
|
|
38
|
+
};
|
|
43
39
|
return {
|
|
44
40
|
states: {
|
|
45
41
|
loading,
|
|
46
|
-
error: ((
|
|
42
|
+
error: ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
|
|
47
43
|
error,
|
|
48
44
|
success,
|
|
49
45
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
3
|
-
import { c as createStyleSheet } from './JSS-
|
|
2
|
+
import { i as intl } from './global-c2d5e2fa.js';
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
6
6
|
return (h("svg", { width: width, height: height, viewBox: "0 0 132 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-c2d5e2fa.js';
|
|
4
4
|
import './use-callback-684c8bb7.js';
|
|
5
|
-
import './index.module-
|
|
6
|
-
import './
|
|
7
|
-
import './JSS-f00f9536.js';
|
|
5
|
+
import './index.module-25496635.js';
|
|
6
|
+
import './JSS-67b5cff8.js';
|
|
8
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
|
-
import { P as PortalFooterView } from './sqm-portal-footer-view-
|
|
8
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-c4059af8.js';
|
|
10
9
|
|
|
11
10
|
const PortalFooter = class {
|
|
12
11
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
|
|
3
|
-
import { c as createStyleSheet } from './JSS-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
2
|
+
import { i as useState, m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import './use-callback-684c8bb7.js';
|
|
4
|
-
import {
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { n as nn, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
6
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
7
|
import './mixins-f60a614c.js';
|
|
9
|
-
import './JSS-
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
8
|
+
import './JSS-67b5cff8.js';
|
|
9
|
+
import './sqm-text-span-view-8b194920.js';
|
|
10
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-29c2e39b.js';
|
|
12
11
|
|
|
13
12
|
function usePortalForgotPassword(props) {
|
|
14
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
15
14
|
const [success, setSuccess] = useState(false);
|
|
16
15
|
const [error, setError] = useState("");
|
|
17
|
-
const [request, { loading, data, errors }] =
|
|
18
|
-
const urlParams = new URLSearchParams(
|
|
16
|
+
const [request, { loading, data, errors }] = nn();
|
|
17
|
+
const urlParams = new URLSearchParams(fn.location.search);
|
|
19
18
|
const nextPage = urlParams.get("nextPage");
|
|
20
19
|
const submit = async (event) => {
|
|
20
|
+
var _a;
|
|
21
21
|
setError("");
|
|
22
22
|
setSuccess(false);
|
|
23
23
|
let formData = event.detail.formData;
|
|
@@ -27,23 +27,20 @@ function usePortalForgotPassword(props) {
|
|
|
27
27
|
const urlParams = nextPage ? { nextPage } : null;
|
|
28
28
|
const redirectPath = props.redirectPath;
|
|
29
29
|
const variables = { email: formData.email, urlParams, redirectPath };
|
|
30
|
-
await request(variables);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
setSuccess(true);
|
|
30
|
+
const result = await request(variables);
|
|
31
|
+
if (result instanceof Error) {
|
|
32
|
+
if (result.message)
|
|
33
|
+
setError("Network request failed.");
|
|
34
|
+
return;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (errors === null || errors === void 0 ? void 0 : errors.message) {
|
|
40
|
-
setError("Network request failed.");
|
|
36
|
+
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
37
|
+
setSuccess(true);
|
|
41
38
|
}
|
|
42
|
-
}
|
|
39
|
+
};
|
|
43
40
|
return {
|
|
44
41
|
states: {
|
|
45
42
|
loading,
|
|
46
|
-
error: ((
|
|
43
|
+
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) ||
|
|
47
44
|
error,
|
|
48
45
|
success,
|
|
49
46
|
loginPath: props.loginPath,
|
|
@@ -95,7 +92,7 @@ const PortalForgotPassword = class {
|
|
|
95
92
|
? usePortalForgotPasswordDemo(this)
|
|
96
93
|
: usePortalForgotPassword(this);
|
|
97
94
|
const content = {
|
|
98
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
95
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => fn.push(states.loginPath) }, "Sign In"))),
|
|
99
96
|
messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
|
|
100
97
|
emailLabel: this.emailLabel,
|
|
101
98
|
submitLabel: this.submitLabel,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import './use-callback-684c8bb7.js';
|
|
4
|
-
import {
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { b as setUserIdentity, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
6
5
|
|
|
7
6
|
function usePortalLogout({ nextPage }) {
|
|
8
7
|
setUserIdentity(undefined);
|
|
9
|
-
|
|
8
|
+
fn.push({ pathname: nextPage, search: "" });
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
const PortalLogout = class {
|
package/dist/esm/{sqm-portal-profile-view-630f05c8.js → sqm-portal-profile-view-ec58906b.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
3
|
-
import { c as createStyleSheet } from './JSS-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
2
|
+
import { i as intl } from './global-c2d5e2fa.js';
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
5
|
+
import { P as PortalContainerView } from './sqm-portal-container-view-228f2b65.js';
|
|
6
6
|
|
|
7
7
|
function PortalProfileView(props) {
|
|
8
8
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { i as useState, f as useEffect, m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-c2d5e2fa.js';
|
|
4
4
|
import './use-callback-684c8bb7.js';
|
|
5
|
-
import { d as dist,
|
|
6
|
-
import './extends-c31f1eff.js';
|
|
5
|
+
import { d as dist, N, a as dn, P as Pe, i as isDemo } from './index.module-25496635.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
|
-
import './JSS-
|
|
7
|
+
import './JSS-67b5cff8.js';
|
|
9
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import './sqm-portal-container-view-
|
|
12
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import './sqm-text-span-view-8b194920.js';
|
|
10
|
+
import './sqm-portal-container-view-228f2b65.js';
|
|
11
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-ec58906b.js';
|
|
13
12
|
|
|
14
13
|
const GET_USER = dist.gql `
|
|
15
14
|
query {
|
|
@@ -55,12 +54,12 @@ const defaultFormState = {
|
|
|
55
54
|
error: "",
|
|
56
55
|
};
|
|
57
56
|
function usePortalProfile(props) {
|
|
58
|
-
const userIdent =
|
|
57
|
+
const userIdent = N();
|
|
59
58
|
const [success, setSuccess] = useState(false);
|
|
60
59
|
const [userData, setUserData] = useState(undefined);
|
|
61
60
|
const [formState, setFormState] = useState(defaultFormState);
|
|
62
61
|
const userDataResponse = dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
63
|
-
const [upsertUser, upsertUserResponse] =
|
|
62
|
+
const [upsertUser, upsertUserResponse] = Pe(UPSERT_USER);
|
|
64
63
|
useEffect(() => {
|
|
65
64
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
66
65
|
return;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { f as useEffect, m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import './use-callback-684c8bb7.js';
|
|
4
|
-
import {
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { N, c as cn, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
6
5
|
|
|
7
6
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
8
7
|
var _a;
|
|
9
|
-
const userIdent =
|
|
8
|
+
const userIdent = N();
|
|
10
9
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
11
10
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
12
|
-
const { pathname, search } =
|
|
11
|
+
const { pathname, search } = cn();
|
|
13
12
|
const nextPageParam = new URLSearchParams();
|
|
14
13
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
15
14
|
useEffect(() => {
|
|
16
15
|
if (!authenticated) {
|
|
17
|
-
return
|
|
16
|
+
return fn.push({
|
|
18
17
|
pathname: redirectTo,
|
|
19
18
|
search: "?" + nextPageParam.toString(),
|
|
20
19
|
});
|
|
21
20
|
}
|
|
22
21
|
if (requireEmailVerification && !emailVerified) {
|
|
23
|
-
return
|
|
22
|
+
return fn.push({
|
|
24
23
|
pathname: redirectToUnverified || redirectTo,
|
|
25
24
|
search: "?" + nextPageParam.toString(),
|
|
26
25
|
});
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { j as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import { u as useCallback } from './use-callback-684c8bb7.js';
|
|
4
|
-
import { d as dist,
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { d as dist, q as qe, a as dn, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
6
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
7
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
9
|
-
import { c as createStyleSheet } from './JSS-
|
|
10
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
8
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
11
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
12
|
-
import { u as useRegistrationFormState, a as useValidationState } from './useRegistrationFormState-
|
|
11
|
+
import { u as useRegistrationFormState, a as useValidationState } from './useRegistrationFormState-e94eec81.js';
|
|
13
12
|
|
|
14
13
|
const style = {
|
|
15
14
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -107,7 +106,7 @@ function usePortalRegistrationForm(props) {
|
|
|
107
106
|
const formRef = useRef(null);
|
|
108
107
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
109
108
|
const { validationState, setValidationState } = useValidationState({});
|
|
110
|
-
const [request, { loading, errors, data, formError }] =
|
|
109
|
+
const [request, { loading, errors, data, formError }] = qe();
|
|
111
110
|
const queryResponse = dn(RegistrationFormQuery, { key: props.formKey });
|
|
112
111
|
const formLoading = loading || queryResponse.loading;
|
|
113
112
|
useEffect(() => {
|
|
@@ -123,8 +122,18 @@ function usePortalRegistrationForm(props) {
|
|
|
123
122
|
initialData,
|
|
124
123
|
};
|
|
125
124
|
setRegistrationFormState(formState);
|
|
126
|
-
}, [(_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData
|
|
125
|
+
}, [(_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData]);
|
|
126
|
+
useEffect(() => {
|
|
127
|
+
if (!formRef.current)
|
|
128
|
+
return;
|
|
129
|
+
const form = formRef.current;
|
|
130
|
+
form.addEventListener("sl-input", inputFunction);
|
|
131
|
+
return () => {
|
|
132
|
+
form.removeEventListener("sl-input", inputFunction);
|
|
133
|
+
};
|
|
134
|
+
}, [formRef.current]);
|
|
127
135
|
const submit = async (event) => {
|
|
136
|
+
var _a;
|
|
128
137
|
let formControls = event.target.getFormControls();
|
|
129
138
|
let formData = {};
|
|
130
139
|
let validationErrors = {};
|
|
@@ -174,7 +183,17 @@ function usePortalRegistrationForm(props) {
|
|
|
174
183
|
},
|
|
175
184
|
};
|
|
176
185
|
try {
|
|
177
|
-
await request(variables);
|
|
186
|
+
const result = await request(variables);
|
|
187
|
+
if (result instanceof Error) {
|
|
188
|
+
throw result;
|
|
189
|
+
}
|
|
190
|
+
const managedIdentityResponse = (_a = result.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
|
|
191
|
+
if (managedIdentityResponse &&
|
|
192
|
+
managedIdentityResponse.result.results.length &&
|
|
193
|
+
managedIdentityResponse.result.results[0].success &&
|
|
194
|
+
managedIdentityResponse.result.results[0].data.token) {
|
|
195
|
+
fn.push(props.nextPage);
|
|
196
|
+
}
|
|
178
197
|
}
|
|
179
198
|
catch (error) {
|
|
180
199
|
setValidationState({ error: "Network request failed." });
|
|
@@ -188,25 +207,6 @@ function usePortalRegistrationForm(props) {
|
|
|
188
207
|
const asYouType = new AsYouType("US");
|
|
189
208
|
e.target.value = asYouType.input(e.target.value);
|
|
190
209
|
}, []);
|
|
191
|
-
useEffect(() => {
|
|
192
|
-
var _a;
|
|
193
|
-
const managedIdentityResponse = (_a = data === null || data === void 0 ? void 0 : data.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
|
|
194
|
-
if (managedIdentityResponse &&
|
|
195
|
-
managedIdentityResponse.result.results.length &&
|
|
196
|
-
managedIdentityResponse.result.results[0].success &&
|
|
197
|
-
managedIdentityResponse.result.results[0].data.token) {
|
|
198
|
-
vn.push(props.nextPage);
|
|
199
|
-
}
|
|
200
|
-
}, [data === null || data === void 0 ? void 0 : data.submitForm]);
|
|
201
|
-
useEffect(() => {
|
|
202
|
-
if (!formRef.current)
|
|
203
|
-
return;
|
|
204
|
-
const form = formRef.current;
|
|
205
|
-
form.addEventListener("sl-input", inputFunction);
|
|
206
|
-
return () => {
|
|
207
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
208
|
-
};
|
|
209
|
-
}, [formRef.current]);
|
|
210
210
|
let errorMessage = "";
|
|
211
211
|
if (((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false) {
|
|
212
212
|
errorMessage =
|
|
@@ -320,7 +320,7 @@ const PortalRegistrationForm = class {
|
|
|
320
320
|
: usePortalRegistrationForm(this);
|
|
321
321
|
const content = {
|
|
322
322
|
formData: h("slot", { name: "formData" }),
|
|
323
|
-
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
323
|
+
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => fn.push(states.loginPath) }, this.loginLabel))),
|
|
324
324
|
terms: h("slot", { name: "terms" }),
|
|
325
325
|
emailLabel: this.emailLabel,
|
|
326
326
|
passwordLabel: this.passwordLabel,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
|
|
3
|
-
import { c as createStyleSheet } from './JSS-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { i as useState, f as useEffect, m as h } from './stencil-hooks.module-eefa3570.js';
|
|
3
3
|
import './use-callback-684c8bb7.js';
|
|
4
|
-
import { e as
|
|
5
|
-
import './extends-c31f1eff.js';
|
|
4
|
+
import { e as Ne, W as We, f as fn, i as isDemo } from './index.module-25496635.js';
|
|
6
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
7
|
import './mixins-f60a614c.js';
|
|
9
|
-
import './JSS-
|
|
8
|
+
import './JSS-67b5cff8.js';
|
|
10
9
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
11
|
-
import './sqm-text-span-view-
|
|
12
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
10
|
+
import './sqm-text-span-view-8b194920.js';
|
|
11
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-06f6ffac.js';
|
|
13
12
|
|
|
14
13
|
function usePortalResetPassword(props) {
|
|
15
|
-
var _a, _b, _c, _d, _e
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
16
15
|
const [reset, setReset] = useState(false);
|
|
17
16
|
const [error, setError] = useState("");
|
|
18
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
19
|
-
const [resetPassword, resetPasswordState] =
|
|
20
|
-
const urlParams = new URLSearchParams(
|
|
17
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Ne();
|
|
18
|
+
const [resetPassword, resetPasswordState] = We();
|
|
19
|
+
const urlParams = new URLSearchParams(fn.location.search);
|
|
21
20
|
const oobCode = urlParams.get("oobCode");
|
|
22
21
|
urlParams.delete("oobCode");
|
|
23
22
|
const nextPageOverride = urlParams.get("nextPage");
|
|
23
|
+
const verifyPasswordResetCodeAndHandleResponse = async () => {
|
|
24
|
+
const result = await verifyPasswordResetCode({ oobCode });
|
|
25
|
+
if (result instanceof Error) {
|
|
26
|
+
setError("Network request failed.");
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
verifyPasswordResetCodeAndHandleResponse();
|
|
31
|
+
}, []);
|
|
24
32
|
const submit = async (event) => {
|
|
25
33
|
setError("");
|
|
26
34
|
let formData = event.detail.formData;
|
|
@@ -32,52 +40,37 @@ function usePortalResetPassword(props) {
|
|
|
32
40
|
setError("Passwords do not match.");
|
|
33
41
|
return;
|
|
34
42
|
}
|
|
35
|
-
await resetPassword(variables);
|
|
43
|
+
const result = await resetPassword(variables);
|
|
44
|
+
if (result instanceof Error) {
|
|
45
|
+
return setError("Network request failed.");
|
|
46
|
+
}
|
|
47
|
+
if (result.resetManagedIdentityPassword) {
|
|
48
|
+
setReset(true);
|
|
49
|
+
setTimeout(() => {
|
|
50
|
+
gotoNextPage();
|
|
51
|
+
}, 5000);
|
|
52
|
+
}
|
|
36
53
|
};
|
|
37
54
|
const gotoNextPage = () => {
|
|
38
55
|
urlParams.delete("nextPage");
|
|
39
56
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
40
|
-
|
|
57
|
+
fn.push(url.href);
|
|
41
58
|
};
|
|
42
59
|
const failed = () => {
|
|
43
|
-
|
|
60
|
+
fn.push({
|
|
44
61
|
pathname: props.failedPage,
|
|
45
62
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
46
63
|
});
|
|
47
64
|
};
|
|
48
|
-
useEffect(() => {
|
|
49
|
-
var _a;
|
|
50
|
-
if ((_a = resetPasswordState.data) === null || _a === void 0 ? void 0 : _a.resetManagedIdentityPassword) {
|
|
51
|
-
setReset(true);
|
|
52
|
-
setTimeout(() => {
|
|
53
|
-
gotoNextPage();
|
|
54
|
-
}, 5000);
|
|
55
|
-
}
|
|
56
|
-
}, [(_a = resetPasswordState.data) === null || _a === void 0 ? void 0 : _a.resetManagedIdentityPassword]);
|
|
57
|
-
useEffect(() => {
|
|
58
|
-
verifyPasswordResetCode({ oobCode });
|
|
59
|
-
}, [oobCode]);
|
|
60
|
-
useEffect(() => {
|
|
61
|
-
var _a;
|
|
62
|
-
if ((_a = verifyPasswordResetCodeState === null || verifyPasswordResetCodeState === void 0 ? void 0 : verifyPasswordResetCodeState.errors) === null || _a === void 0 ? void 0 : _a.message) {
|
|
63
|
-
setError("Network request failed.");
|
|
64
|
-
}
|
|
65
|
-
}, [verifyPasswordResetCodeState === null || verifyPasswordResetCodeState === void 0 ? void 0 : verifyPasswordResetCodeState.errors]);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
var _a;
|
|
68
|
-
if ((_a = resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.message) {
|
|
69
|
-
setError("Network request failed.");
|
|
70
|
-
}
|
|
71
|
-
}, [resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors]);
|
|
72
65
|
return {
|
|
73
66
|
states: {
|
|
74
67
|
loading: resetPasswordState.loading,
|
|
75
68
|
reset,
|
|
76
69
|
confirmPassword: props.confirmPassword,
|
|
77
|
-
error: ((
|
|
70
|
+
error: ((_e = (_d = (_c = (_b = (_a = resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_j = (_h = (_g = (_f = resetPasswordState.errors) === null || _f === void 0 ? void 0 : _f.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) ||
|
|
78
71
|
error,
|
|
79
72
|
oobCodeValidating: verifyPasswordResetCodeState.loading,
|
|
80
|
-
oobCodeValid: (
|
|
73
|
+
oobCodeValid: (_k = verifyPasswordResetCodeState.data) === null || _k === void 0 ? void 0 : _k.verifyManagedIdentityPasswordResetCode.success,
|
|
81
74
|
content: {
|
|
82
75
|
passwordResetHeader: props.passwordResetHeader,
|
|
83
76
|
resetPasswordHeader: props.resetPasswordHeader,
|
package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { c as createStyleSheet } from './JSS-
|
|
2
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
|
|
4
4
|
function PortalSectionView(props) {
|
|
5
5
|
// Due to sole usage of props, not feasiable to move out of render function
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
3
|
-
import { c as createStyleSheet } from './JSS-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
3
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|