@saasquatch/mint-components 1.6.3 → 1.6.4-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-25a9cece.js → ShadowViewAddon-f8dc3d5c.js} +9 -5
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +4 -7
- package/dist/cjs/sqm-empty_5.cjs.entry.js +5 -6
- package/dist/cjs/sqm-navigation-sidebar-view-4704aa73.js +158 -0
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +21 -4
- package/dist/cjs/{sqm-portal-container-view-b336f655.js → sqm-portal-container-view-5beae29c.js} +23 -0
- package/dist/cjs/{sqm-portal-profile-view-b7ceb690.js → sqm-portal-profile-view-d63d74bd.js} +31 -16
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +19 -62
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +1 -15
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero.js +2 -0
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -1
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +147 -25
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +20 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +31 -16
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +5 -0
- package/dist/collection/stories/NewPortal.stories.js +1 -15
- package/dist/esm/{ShadowViewAddon-d4705dae.js → ShadowViewAddon-2b7579de.js} +12 -8
- package/dist/esm/{global-126fa55c.js → global-09167b08.js} +2 -2
- package/dist/esm/{index.module-14794b69.js → index.module-48cc9ee0.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-5a398612.js → luxon-198ac0b0.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{re-render-f48b74b9.js → re-render-f406e379.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +3 -3
- package/dist/esm/sqm-big-stat_35.entry.js +12 -15
- package/dist/esm/sqm-empty_5.entry.js +5 -6
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/{sqm-hero-view-1904c178.js → sqm-hero-view-2270b6d2.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-d6b9f5d0.js → sqm-navigation-sidebar-item-view-4f6d4e15.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar-view-06a9d083.js +156 -0
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -5
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-21bd84e0.js → sqm-portal-container-view-2307476f.js} +23 -1
- package/dist/esm/{sqm-portal-email-verification-view-99ca4596.js → sqm-portal-email-verification-view-f2b2a54c.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
- package/dist/esm/{sqm-portal-footer-view-360cfd92.js → sqm-portal-footer-view-f660d387.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-93b584ab.js → sqm-portal-profile-view-cf999a98.js} +32 -17
- package/dist/esm/sqm-portal-profile.entry.js +5 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +17 -60
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-203eab48.js} +1 -1
- package/dist/esm/{use-callback-684c8bb7.js → use-callback-f03b0607.js} +1 -1
- package/dist/esm/{useChildElements-d574b0ce.js → useChildElements-11279a92.js} +2 -2
- package/dist/esm/{useReferralTable-4f070134.js → useReferralTable-d8f625cc.js} +4 -4
- package/dist/esm/{useRegistrationFormState-abed2c1e.js → useRegistrationFormState-3eb572a5.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-2b7579de.js +1 -0
- package/dist/esm-es5/{global-126fa55c.js → global-09167b08.js} +1 -1
- package/dist/esm-es5/{index.module-14794b69.js → index.module-48cc9ee0.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-5a398612.js → luxon-198ac0b0.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-f48b74b9.js → re-render-f406e379.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-1904c178.js → sqm-hero-view-2270b6d2.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-4f6d4e15.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-06a9d083.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-2307476f.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-99ca4596.js → sqm-portal-email-verification-view-f2b2a54c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-360cfd92.js → sqm-portal-footer-view-f660d387.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-cf999a98.js +1 -0
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-203eab48.js} +1 -1
- package/dist/esm-es5/use-callback-f03b0607.js +1 -0
- package/dist/esm-es5/{useChildElements-d574b0ce.js → useChildElements-11279a92.js} +1 -1
- package/dist/esm-es5/{useReferralTable-4f070134.js → useReferralTable-d8f625cc.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-3eb572a5.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-0110b347.system.entry.js +1 -0
- package/dist/mint-components/p-069288ef.system.entry.js +1 -0
- package/dist/mint-components/{p-d90834f7.entry.js → p-07548bda.entry.js} +2 -2
- package/dist/mint-components/{p-bb241e21.system.entry.js → p-08010f98.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c6f3be9.system.entry.js → p-09f3273f.system.entry.js} +1 -1
- package/dist/mint-components/{p-28dcad3f.entry.js → p-11d04239.entry.js} +2 -2
- package/dist/mint-components/{p-8a2c78e0.entry.js → p-12681e5a.entry.js} +1 -1
- package/dist/mint-components/{p-d71278d3.system.js → p-177f9745.system.js} +1 -1
- package/dist/mint-components/{p-1b572110.system.entry.js → p-1958035b.system.entry.js} +1 -1
- package/dist/mint-components/p-19f72571.entry.js +1 -0
- package/dist/mint-components/p-2141959d.system.entry.js +1 -0
- package/dist/mint-components/{p-5709f64a.js → p-21b7fc2c.js} +1 -1
- package/dist/mint-components/{p-e2440408.js → p-22e99881.js} +1 -1
- package/dist/mint-components/{p-09e2ad91.entry.js → p-278e4bd0.entry.js} +1 -1
- package/dist/mint-components/p-2daec69c.entry.js +9 -0
- package/dist/mint-components/{p-d4ee07e6.system.js → p-34a64c60.system.js} +1 -1
- package/dist/mint-components/{p-f1a2b660.js → p-356b997d.js} +1 -1
- package/dist/mint-components/p-36840775.js +268 -0
- package/dist/mint-components/{p-7768ba6a.system.entry.js → p-36ad8fe3.system.entry.js} +1 -1
- package/dist/mint-components/p-37bbd972.js +1 -0
- package/dist/mint-components/{p-5d8343f5.system.entry.js → p-3827df5e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e344d860.system.entry.js → p-3ed3358e.system.entry.js} +1 -1
- package/dist/mint-components/p-3ff7a236.js +1 -0
- package/dist/mint-components/p-4619685f.js +1 -0
- package/dist/mint-components/p-4b66b9d9.system.js +1 -0
- package/dist/mint-components/p-4c86095b.js +1 -0
- package/dist/mint-components/{p-538904bd.js → p-4e3bba58.js} +1 -1
- package/dist/mint-components/p-4e5f3aec.system.js +1 -0
- package/dist/mint-components/{p-adde467d.entry.js → p-55459a24.entry.js} +1 -1
- package/dist/mint-components/p-5d769ce8.system.js +1 -0
- package/dist/mint-components/p-5f3a12ab.entry.js +1 -0
- package/dist/mint-components/p-5fb4fe4a.js +1 -0
- package/dist/mint-components/{p-eecce333.system.entry.js → p-60cb1b8c.system.entry.js} +1 -1
- package/dist/mint-components/{p-06c386c7.system.js → p-66247b60.system.js} +1 -1
- package/dist/mint-components/{p-ec7a5d7c.system.entry.js → p-6ccbff10.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdba5fa0.entry.js → p-6f26a8d4.entry.js} +2 -2
- package/dist/mint-components/p-71e57c04.entry.js +1 -0
- package/dist/mint-components/{p-98dd1229.entry.js → p-727fae6d.entry.js} +1 -1
- package/dist/mint-components/{p-dfde7664.entry.js → p-75843334.entry.js} +1 -1
- package/dist/mint-components/{p-df139412.entry.js → p-7c755fae.entry.js} +1 -1
- package/dist/mint-components/p-7ceff8de.system.js +1 -0
- package/dist/mint-components/{p-46ad2836.entry.js → p-7d852be4.entry.js} +1 -1
- package/dist/mint-components/{p-d1341773.entry.js → p-80a6c714.entry.js} +1 -1
- package/dist/mint-components/p-867ba20a.system.js +1 -0
- package/dist/mint-components/{p-91f457ae.js → p-86de986b.js} +1 -1
- package/dist/mint-components/{p-a47719a1.entry.js → p-9871916d.entry.js} +1 -1
- package/dist/mint-components/{p-5d21c616.entry.js → p-9b93a466.entry.js} +1 -1
- package/dist/mint-components/{p-e733843b.js → p-9e1d9435.js} +1 -1
- package/dist/mint-components/{p-15ff38a8.js → p-a37d0529.js} +1 -1
- package/dist/mint-components/{p-fe74b75b.system.entry.js → p-a461c89b.system.entry.js} +1 -1
- package/dist/mint-components/{p-19b6f55d.system.js → p-a7e17c0f.system.js} +1 -1
- package/dist/mint-components/p-a9444fa1.system.js +1 -0
- package/dist/mint-components/{p-eec4ddab.system.js → p-a99bbfe8.system.js} +1 -1
- package/dist/mint-components/{p-57e38374.js → p-ad5127e6.js} +1 -1
- package/dist/mint-components/{p-1fcd03ba.system.js → p-af16faae.system.js} +1 -1
- package/dist/mint-components/{p-684aadb5.system.js → p-b103de2f.system.js} +1 -1
- package/dist/mint-components/p-b2705143.system.js +1 -0
- package/dist/mint-components/{p-4199cece.entry.js → p-b35375d1.entry.js} +1 -1
- package/dist/mint-components/{p-2e308c1b.system.js → p-b43a075f.system.js} +1 -1
- package/dist/mint-components/p-b5864986.system.entry.js +1 -0
- package/dist/mint-components/{p-7cd232f3.js → p-b5c07438.js} +2 -2
- package/dist/mint-components/{p-84130e9c.entry.js → p-b755b77c.entry.js} +1 -1
- package/dist/mint-components/{p-6fe30760.entry.js → p-b9452254.entry.js} +1 -1
- package/dist/mint-components/{p-212663a2.system.entry.js → p-c38881cc.system.entry.js} +1 -1
- package/dist/mint-components/p-c99d4f5a.system.entry.js +1 -0
- package/dist/mint-components/p-cc0b14d3.entry.js +1 -0
- package/dist/mint-components/{p-a27bbf25.system.entry.js → p-cef7926c.system.entry.js} +1 -1
- package/dist/mint-components/{p-063d2251.entry.js → p-d0dc8883.entry.js} +1 -1
- package/dist/mint-components/{p-e8956db1.entry.js → p-d1540fe3.entry.js} +1 -1
- package/dist/mint-components/p-d3030076.entry.js +1 -0
- package/dist/mint-components/p-d3a07540.system.entry.js +1 -0
- package/dist/mint-components/{p-7fd5b59a.system.entry.js → p-d4d86e2c.system.entry.js} +1 -1
- package/dist/mint-components/{p-54eae1a4.system.entry.js → p-d74f7723.system.entry.js} +1 -1
- package/dist/mint-components/{p-7de79b21.system.entry.js → p-de067239.system.entry.js} +1 -1
- package/dist/mint-components/p-e018edb8.system.js +1 -0
- package/dist/mint-components/{p-7682724f.system.js → p-e4a5687e.system.js} +1 -1
- package/dist/mint-components/{p-86adbf81.js → p-e4fc7952.js} +1 -1
- package/dist/mint-components/p-e712f037.entry.js +1 -0
- package/dist/mint-components/{p-be206a97.system.js → p-e851c392.system.js} +1 -1
- package/dist/mint-components/p-e8bf0ab5.js +1 -0
- package/dist/mint-components/{p-03b5c33a.system.entry.js → p-ea3da753.system.entry.js} +1 -1
- package/dist/mint-components/p-ef016ed7.system.entry.js +1 -0
- package/dist/mint-components/{p-df5cb47b.entry.js → p-f2402dce.entry.js} +1 -1
- package/dist/mint-components/{p-67e0737e.entry.js → p-f451ee1c.entry.js} +1 -1
- package/dist/mint-components/p-f4f5c6d2.system.entry.js +1 -0
- package/dist/mint-components/p-f9d414fa.system.entry.js +1 -0
- package/dist/mint-components/{p-538ed60d.entry.js → p-f9ddcd73.entry.js} +1 -1
- package/dist/mint-components/p-f9e06de3.system.entry.js +1 -0
- package/dist/mint-components/{p-248588e2.entry.js → p-fb3e980d.entry.js} +1 -1
- package/dist/mint-components/{p-9d2d4a46.system.entry.js → p-fb617890.system.entry.js} +1 -1
- package/dist/mint-components/{p-fcab0950.system.entry.js → p-fd00f250.system.entry.js} +1 -1
- package/dist/mint-components/{p-3aace795.system.entry.js → p-febe7c5f.system.entry.js} +1 -1
- package/dist/mint-components/{p-445412d7.system.entry.js → p-ffd4f556.system.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +2 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-navigation-sidebar-view-87756d23.js +0 -36
- package/dist/cjs/sqm-portal-section-view-1e5bbcb1.js +0 -27
- package/dist/esm/sqm-navigation-sidebar-view-a5b72846.js +0 -34
- package/dist/esm/sqm-portal-section-view-a991e019.js +0 -25
- package/dist/esm-es5/ShadowViewAddon-d4705dae.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-d6b9f5d0.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-a5b72846.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-21bd84e0.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-93b584ab.js +0 -1
- package/dist/esm-es5/sqm-portal-section-view-a991e019.js +0 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-abed2c1e.js +0 -1
- package/dist/mint-components/p-05371d85.system.js +0 -1
- package/dist/mint-components/p-1077f3f6.js +0 -1
- package/dist/mint-components/p-1138df57.system.entry.js +0 -1
- package/dist/mint-components/p-13fc7d5e.system.js +0 -1
- package/dist/mint-components/p-2723c5cd.system.entry.js +0 -1
- package/dist/mint-components/p-29542a79.system.entry.js +0 -1
- package/dist/mint-components/p-2db22fc6.system.js +0 -1
- package/dist/mint-components/p-34213ad0.js +0 -1
- package/dist/mint-components/p-3c27a64d.entry.js +0 -1
- package/dist/mint-components/p-40b4e40c.entry.js +0 -1
- package/dist/mint-components/p-4b83d7ea.js +0 -1
- package/dist/mint-components/p-4cb94566.entry.js +0 -1
- package/dist/mint-components/p-5145c06d.system.entry.js +0 -1
- package/dist/mint-components/p-5d4d81bf.system.js +0 -1
- package/dist/mint-components/p-5ec62e5e.system.entry.js +0 -1
- package/dist/mint-components/p-77fa96a0.system.entry.js +0 -1
- package/dist/mint-components/p-7b18ed47.system.entry.js +0 -1
- package/dist/mint-components/p-7c482d9c.entry.js +0 -1
- package/dist/mint-components/p-808f2155.entry.js +0 -1
- package/dist/mint-components/p-89ca304c.system.entry.js +0 -1
- package/dist/mint-components/p-91f576aa.js +0 -1
- package/dist/mint-components/p-99397ef5.system.js +0 -1
- package/dist/mint-components/p-c4c53efb.entry.js +0 -9
- package/dist/mint-components/p-c683c96d.entry.js +0 -1
- package/dist/mint-components/p-c72e4a4c.system.js +0 -1
- package/dist/mint-components/p-ceb1a772.js +0 -1
- package/dist/mint-components/p-d047d6a1.js +0 -1
- package/dist/mint-components/p-dbfb865e.js +0 -1
- package/dist/mint-components/p-e8a2e2fd.system.js +0 -1
- package/dist/mint-components/p-e9e00618.system.js +0 -1
- package/dist/mint-components/p-ec690422.system.js +0 -1
- package/dist/mint-components/p-ef696d05.system.entry.js +0 -1
- package/dist/mint-components/p-fa48fff3.system.entry.js +0 -1
- package/dist/mint-components/p-fd207df1.js +0 -268
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h$1 } from './stencil-hooks.module-
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-203eab48.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
6
|
-
import { P as PortalSectionView } from './sqm-portal-section-view-a991e019.js';
|
|
5
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-2307476f.js';
|
|
7
6
|
|
|
8
7
|
function EmptyStateView(props) {
|
|
9
8
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
10
|
-
return (h("sqm-portal-container", { padding: "
|
|
9
|
+
return (h("sqm-portal-container", { padding: "large", gap: "medium" },
|
|
11
10
|
h("sqm-image", { "image-url": emptyStateImage }),
|
|
12
11
|
h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
13
12
|
h("sqm-text", { slot: "label" },
|
|
@@ -15,7 +14,7 @@ function EmptyStateView(props) {
|
|
|
15
14
|
h("sqm-text", { slot: "content" }, emptyStateText))));
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
const
|
|
17
|
+
const Empty = class {
|
|
19
18
|
constructor(hostRef) {
|
|
20
19
|
registerInstance(this, hostRef);
|
|
21
20
|
}
|
|
@@ -206,4 +205,4 @@ const TitledSection = class {
|
|
|
206
205
|
}
|
|
207
206
|
};
|
|
208
207
|
|
|
209
|
-
export {
|
|
208
|
+
export { Empty as sqm_empty, Image as sqm_image, PortalContainer as sqm_portal_container, Text as sqm_text, TitledSection as sqm_titled_section };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
3
|
|
|
4
4
|
const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { n as m,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { H, y as ye, L, h as he } from './index.module-
|
|
2
|
+
import { n as m, u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { H, y as ye, L, h as he } from './index.module-48cc9ee0.js';
|
|
5
5
|
|
|
6
6
|
async function useGraphQLClientProvider({ domain }) {
|
|
7
7
|
const token = H();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
2
|
+
import { i as useState, u as useEffect } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-f03b0607.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
6
|
+
import { H as HeroView } from './sqm-hero-view-2270b6d2.js';
|
|
7
7
|
|
|
8
8
|
const Hero = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist, O, N, a as dn, i as isDemo } from './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import { i as intl } from './global-09167b08.js';
|
|
4
|
+
import './use-callback-f03b0607.js';
|
|
5
|
+
import { d as dist, O, N, a as dn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { l as ln, i as isDemo } from './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { l as ln, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
9
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4f6d4e15.js';
|
|
10
10
|
|
|
11
11
|
function useNavigationSidebarItem(props) {
|
|
12
12
|
const currentPage = ln();
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { h } from './index-17b4da69.js';
|
|
2
|
+
|
|
3
|
+
const vanillaStyle = `
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
padding: 0;
|
|
7
|
+
margin: 0;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes slideIn {
|
|
12
|
+
0% {
|
|
13
|
+
left: -350px;
|
|
14
|
+
}
|
|
15
|
+
100% {
|
|
16
|
+
left: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media screen and (min-width: 800px) {
|
|
21
|
+
:host {
|
|
22
|
+
max-width: 300px;
|
|
23
|
+
}
|
|
24
|
+
.toggler,
|
|
25
|
+
.hamburger {
|
|
26
|
+
user-select: none;
|
|
27
|
+
visibility:hidden;
|
|
28
|
+
}
|
|
29
|
+
.container{
|
|
30
|
+
position: sticky;
|
|
31
|
+
top: 0;
|
|
32
|
+
}
|
|
33
|
+
.menu-items {
|
|
34
|
+
min-width: 290px;
|
|
35
|
+
max-width: 320px;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
padding: 0px 15px;
|
|
38
|
+
}
|
|
39
|
+
.menu-items > :not(:last-child): {
|
|
40
|
+
margin-bottom: 4px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@media screen and (max-width: 799px) {
|
|
44
|
+
.toggler {
|
|
45
|
+
border: 2px solid #eee;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
z-index: 5;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.container {
|
|
52
|
+
position: sticky;
|
|
53
|
+
top: 0;
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
height: 60px;
|
|
58
|
+
width: 60px;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
z-index: 100;
|
|
61
|
+
}
|
|
62
|
+
.menu-items {
|
|
63
|
+
display: none;
|
|
64
|
+
padding: 20px;
|
|
65
|
+
border-right: 1px solid #eaeaea;
|
|
66
|
+
padding-top: 60px;
|
|
67
|
+
background: white;
|
|
68
|
+
width: 100vw;
|
|
69
|
+
height: 100vh;
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 0;
|
|
72
|
+
right: 0;
|
|
73
|
+
left: 0px;
|
|
74
|
+
margin: 0;
|
|
75
|
+
animation: slideIn 500ms ease-in-out;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.toggler,
|
|
79
|
+
.hamburger {
|
|
80
|
+
visibility: visible !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.container {
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.hamburger > .line {
|
|
88
|
+
visibility: visible !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
.toggler,
|
|
93
|
+
.hamburger {
|
|
94
|
+
position: absolute;
|
|
95
|
+
padding: 20px 10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.toggler {
|
|
99
|
+
z-index: 100;
|
|
100
|
+
width: 100%;
|
|
101
|
+
height: 100%;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.hamburger {
|
|
105
|
+
z-index: 10;
|
|
106
|
+
width: 75%;
|
|
107
|
+
height: 100%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.toggler:checked ~ .menu-items {
|
|
111
|
+
display: block;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/***** Turn hamburger into an X *****/
|
|
115
|
+
.toggler:checked ~ .hamburger > .line:nth-child(1) {
|
|
116
|
+
opacity: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.toggler:checked ~ .hamburger > .line:nth-child(2) {
|
|
120
|
+
transform: rotate(45deg) translate(0px, -0.5px);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.toggler:checked ~ .hamburger > .line:nth-child(3) {
|
|
124
|
+
transform: rotate(-45deg) translate(3px, -3.5px);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.toggler:checked ~ .hamburger > .line:nth-child(1),
|
|
128
|
+
.toggler:checked ~ .hamburger > .line:nth-child(2),
|
|
129
|
+
.toggler:checked ~ .hamburger > .line:nth-child(3) {
|
|
130
|
+
width: 75%;
|
|
131
|
+
border-bottom: 3px solid #444445;
|
|
132
|
+
margin: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.hamburger > .line {
|
|
136
|
+
visibility:hidden;
|
|
137
|
+
z-index: 2;
|
|
138
|
+
height: 4px;
|
|
139
|
+
width: 100%;
|
|
140
|
+
margin-bottom: 3px;
|
|
141
|
+
border-bottom: 5px solid #444445;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
`;
|
|
145
|
+
function NavigationSidebarView(props, children) {
|
|
146
|
+
return (h("div", { class: "container" },
|
|
147
|
+
h("style", null, vanillaStyle),
|
|
148
|
+
h("input", Object.assign({ type: "checkbox", class: "toggler" }, props)),
|
|
149
|
+
h("div", { class: "hamburger" },
|
|
150
|
+
h("div", { class: "line" }),
|
|
151
|
+
h("div", { class: "line" }),
|
|
152
|
+
h("div", { class: "line" })),
|
|
153
|
+
h("div", { class: "menu-items" }, children)));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export { NavigationSidebarView as N };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
2
|
+
import { m as h, i as useState, u as useEffect } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { l as ln, O } from './index.module-48cc9ee0.js';
|
|
5
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-06a9d083.js';
|
|
6
6
|
|
|
7
7
|
const NavigationSidebar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -12,8 +12,25 @@ const NavigationSidebar = class {
|
|
|
12
12
|
}
|
|
13
13
|
disconnectedCallback() { }
|
|
14
14
|
render() {
|
|
15
|
-
|
|
15
|
+
const props = useNavigationSidebar();
|
|
16
|
+
return (h$1(NavigationSidebarView, Object.assign({}, props), h$1("slot", null)));
|
|
16
17
|
}
|
|
17
18
|
};
|
|
19
|
+
function useNavigationSidebar() {
|
|
20
|
+
const location = ln();
|
|
21
|
+
const programId = O();
|
|
22
|
+
const [checked, setChecked] = useState(false);
|
|
23
|
+
// Close hamburger menu after navigation
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
setChecked(false);
|
|
26
|
+
}, [location.pathname, programId]);
|
|
27
|
+
function onClick(e) {
|
|
28
|
+
setChecked(e.target.checked);
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
checked,
|
|
32
|
+
onClick,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
18
35
|
|
|
19
36
|
export { NavigationSidebar as sqm_navigation_sidebar };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { o as d, i as useState, m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { o as d, i as useState, m as h$1 } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-3eb572a5.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { U } from './index.module-
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { U } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
|
|
7
7
|
const PopupContainerView = (props) => {
|
package/dist/esm/{sqm-portal-container-view-21bd84e0.js → sqm-portal-container-view-2307476f.js}
RENAMED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
|
|
4
|
+
function PortalSectionView(props) {
|
|
5
|
+
// Due to sole usage of props, not feasiable to move out of render function
|
|
6
|
+
const style = {
|
|
7
|
+
LabelContainer: {
|
|
8
|
+
"margin-bottom": props.labelMargin === "none"
|
|
9
|
+
? props.labelMargin
|
|
10
|
+
: `var(--sl-spacing-${props.labelMargin})`,
|
|
11
|
+
},
|
|
12
|
+
SectionContainer: {
|
|
13
|
+
textAlign: props.textAlign || "left",
|
|
14
|
+
padding: props.padding === "none" ? "0" : `var(--sl-spacing-${props.padding})`,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
const sheet = createStyleSheet(style);
|
|
18
|
+
const styleString = sheet.toString();
|
|
19
|
+
return (h("div", { class: sheet.classes.SectionContainer },
|
|
20
|
+
h("style", { type: "text/css" }, styleString),
|
|
21
|
+
h("div", { class: sheet.classes.LabelContainer }, props.label),
|
|
22
|
+
props.content));
|
|
23
|
+
}
|
|
24
|
+
|
|
4
25
|
function PortalContainerView(props, children) {
|
|
5
26
|
const style = {
|
|
6
27
|
Container: {
|
|
28
|
+
boxSizing: "border-box",
|
|
7
29
|
display: props.display || "grid",
|
|
8
30
|
flexWrap: "wrap",
|
|
9
31
|
"grid-template-columns": props.direction === "row"
|
|
@@ -30,4 +52,4 @@ function PortalContainerView(props, children) {
|
|
|
30
52
|
children));
|
|
31
53
|
}
|
|
32
54
|
|
|
33
|
-
export { PortalContainerView as P };
|
|
55
|
+
export { PortalContainerView as P, PortalSectionView as a };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-09167b08.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-2567b6c0.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState, j as useRef,
|
|
3
|
-
import './global-
|
|
4
|
-
import { u as useCallback } from './use-callback-
|
|
5
|
-
import { t as tn, B as Be, N, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, j as useRef, u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './global-09167b08.js';
|
|
4
|
+
import { u as useCallback } from './use-callback-f03b0607.js';
|
|
5
|
+
import { t as tn, B as Be, N, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import './JSS-67b5cff8.js';
|
|
9
9
|
import './sqm-text-span-view-2567b6c0.js';
|
|
10
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
10
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-f2b2a54c.js';
|
|
11
11
|
|
|
12
12
|
function usePortalEmailVerification(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-09167b08.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './global-09167b08.js';
|
|
4
|
+
import './use-callback-f03b0607.js';
|
|
5
|
+
import './index.module-48cc9ee0.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { P as PortalFooterView } from './sqm-portal-footer-view-
|
|
8
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-f660d387.js';
|
|
9
9
|
|
|
10
10
|
const PortalFooter = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { n as nn, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { n as nn, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { b as setUserIdentity, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { b as setUserIdentity, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
|
|
6
6
|
function usePortalLogout({ nextPage }) {
|
|
7
7
|
setUserIdentity(undefined);
|
package/dist/esm/{sqm-portal-profile-view-93b584ab.js → sqm-portal-profile-view-cf999a98.js}
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-09167b08.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-2567b6c0.js';
|
|
5
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-21bd84e0.js';
|
|
6
5
|
|
|
7
6
|
function PortalProfileView(props) {
|
|
8
7
|
var _a, _b, _c, _d, _e;
|
|
@@ -10,19 +9,45 @@ function PortalProfileView(props) {
|
|
|
10
9
|
const { text, formState } = states;
|
|
11
10
|
const { errors, error } = formState;
|
|
12
11
|
const style = {
|
|
12
|
+
Container: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
gap: "var(--sl-spacing-xxx-large)",
|
|
16
|
+
padding: "var(--sl-spacing-xxx-large)",
|
|
17
|
+
},
|
|
13
18
|
FormStyle: {
|
|
19
|
+
width: "100%",
|
|
20
|
+
minWidth: "700px",
|
|
14
21
|
"& >*:not(:last-child)": {
|
|
15
22
|
"margin-bottom": "32px",
|
|
16
23
|
},
|
|
24
|
+
"@media screen and (max-width: 1100px)": {
|
|
25
|
+
minWidth: "100%",
|
|
26
|
+
},
|
|
17
27
|
},
|
|
18
28
|
Error: {
|
|
19
29
|
"&::part(erroralert-base)": {
|
|
20
30
|
"margin-bottom": "32px",
|
|
21
31
|
},
|
|
22
32
|
},
|
|
33
|
+
Success: {
|
|
34
|
+
"&::part(successalert-base)": {
|
|
35
|
+
"margin-bottom": "32px",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
23
38
|
NameInputStyle: {
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
width: "50%",
|
|
40
|
+
"@media screen and (max-width: 860px)": {
|
|
41
|
+
width: "100%",
|
|
42
|
+
"margin-right": "0",
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
NameInputContainer: {
|
|
46
|
+
display: "flex",
|
|
47
|
+
gap: "32px",
|
|
48
|
+
width: "100%",
|
|
49
|
+
"@media screen and (max-width: 860px)": {
|
|
50
|
+
flexDirection: "column",
|
|
26
51
|
},
|
|
27
52
|
},
|
|
28
53
|
};
|
|
@@ -32,26 +57,16 @@ function PortalProfileView(props) {
|
|
|
32
57
|
type: "region",
|
|
33
58
|
})
|
|
34
59
|
: "";
|
|
35
|
-
return (h(
|
|
36
|
-
direction: "row",
|
|
37
|
-
padding: "xxx-large",
|
|
38
|
-
gap: "xxx-large",
|
|
39
|
-
minWidth: "600px",
|
|
40
|
-
}),
|
|
60
|
+
return (h("div", { class: sheet.classes.Container },
|
|
41
61
|
h("style", { type: "text/css" }, styleString),
|
|
42
62
|
h(TextSpanView, Object.assign({}, { type: "h1" }), text.editProfileHeader),
|
|
43
63
|
h(TextSpanView, Object.assign({}, { type: "h2" }), text.editProfileSubHeader),
|
|
44
64
|
h("form", { class: sheet.classes.FormStyle, onSubmit: callbacks.onSubmit },
|
|
45
|
-
states.success && (h("sqm-form-message", { exportparts: "success-icon" },
|
|
65
|
+
states.success && (h("sqm-form-message", { class: sheet.classes.Success, exportparts: "success-icon" },
|
|
46
66
|
h("div", { part: "successalert-text" }, "Your profile has been successfully updated."))),
|
|
47
67
|
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
48
68
|
h("div", { part: "erroralert-text" }, error))),
|
|
49
|
-
h(
|
|
50
|
-
direction: "row",
|
|
51
|
-
padding: "none",
|
|
52
|
-
gap: "32px",
|
|
53
|
-
minWidth: "50%",
|
|
54
|
-
}),
|
|
69
|
+
h("div", { class: sheet.classes.NameInputContainer },
|
|
55
70
|
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
56
71
|
? { class: "ErrorStyles", helpText: "Cannot be empty" }
|
|
57
72
|
: []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist, N, a as dn, P as Pe, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './global-09167b08.js';
|
|
4
|
+
import './use-callback-f03b0607.js';
|
|
5
|
+
import { d as dist, N, a as dn, P as Pe, i as isDemo } from './index.module-48cc9ee0.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
9
|
import './sqm-text-span-view-2567b6c0.js';
|
|
10
|
-
import './sqm-portal-
|
|
11
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-93b584ab.js';
|
|
10
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-cf999a98.js';
|
|
12
11
|
|
|
13
12
|
const GET_USER = dist.gql `
|
|
14
13
|
query {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { N, l as ln, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { N, l as ln, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
|
|
6
6
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
7
7
|
var _a;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { j as useRef,
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
4
|
-
import { d as dist, q as qe, a as dn, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { j as useRef, u as useEffect, m as h$1 } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-f03b0607.js';
|
|
4
|
+
import { d as dist, q as qe, a as dn, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-2567b6c0.js';
|
|
10
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
11
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
11
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-3eb572a5.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { c as Ne, W as We, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { c as Ne, W as We, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { N, X as Xe, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { u as useEffect, m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { N, X as Xe, f as fn, i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|