@saasquatch/mint-components 1.6.1-7 → 1.6.2-0
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-9d93f114.js → GenericTableView-4921be4b.js} +5 -1
- package/dist/cjs/{ShadowViewAddon-1bbdf477.js → ShadowViewAddon-7b7dd5e3.js} +21 -16
- package/dist/cjs/{global-22fb2ec7.js → global-6e1584a6.js} +2 -2
- package/dist/cjs/{index.module-fb61a163.js → index.module-d169a23f.js} +30 -29
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/raisins-plop-target.cjs.entry.js +25 -0
- package/dist/cjs/{re-render-7248fc06.js → re-render-83d1c1f0.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +103 -3965
- package/dist/cjs/sqm-empty_5.cjs.entry.js +5 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-navigation-sidebar-item-view-52ab014f.js → sqm-navigation-sidebar-item-view-7ff14840.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-fc30fd1a.js → sqm-portal-email-verification-view-6b4ef802.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-footer-view-78528c31.js → sqm-portal-footer-view-204583ac.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-64e85659.js → sqm-portal-profile-view-444c8e2c.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -6
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +309 -0
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +17 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -8
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +89 -0
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +100 -0
- package/dist/cjs/sqm-qa.cjs.entry.js +16 -14
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +33 -9
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +36 -14
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +169 -96
- package/dist/cjs/sqm-tabs.cjs.entry.js +19 -5
- package/dist/cjs/{useChildElements-24538fc5.js → useChildElements-36106d83.js} +2 -2
- package/dist/cjs/{useReferralTable-1e71d2dc.js → useReferralTable-1aab8416.js} +8 -8
- package/dist/cjs/useValidationState-733d7e8c.js +3886 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +9 -5
- package/dist/collection/components/sqm-big-stat/useBigStat.js +3 -0
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +3 -0
- package/dist/collection/components/sqm-brand/sqm-brand.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +4 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +4 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +4 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +4 -0
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +74 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +4 -4
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +0 -4
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +2 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +4 -2
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +4 -2
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +3 -2
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +4 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +8 -0
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +2 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +104 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +74 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +409 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +119 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +4 -0
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +10 -3
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +3 -2
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -1
- package/dist/collection/components/sqm-qa/sqm-qa.js +549 -30
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +79 -0
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +56 -0
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +70 -0
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +491 -0
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +31 -0
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +59 -0
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +46 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +4 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +29 -3
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +0 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.js +58 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +10 -6
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +18 -2
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +5 -7
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +8 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +1 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +5 -0
- package/dist/collection/components/sqm-tabs/useTabs.js +11 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +17 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +9 -5
- package/dist/collection/tables/GenericTableView.js +5 -1
- package/dist/esm/{GenericTableView-ebc09be0.js → GenericTableView-59c5d47c.js} +5 -1
- package/dist/esm/{ShadowViewAddon-e2996624.js → ShadowViewAddon-82a3c62b.js} +23 -18
- package/dist/esm/{global-5c84f57f.js → global-59aa17be.js} +3 -3
- package/dist/esm/{index.module-f5e17a4e.js → index.module-c6c6943f.js} +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-f44215d9.js → luxon-578505e2.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/raisins-plop-target.entry.js +21 -0
- package/dist/esm/{re-render-69774e13.js → re-render-e804551e.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-big-stat_35.entry.js +101 -3963
- package/dist/esm/sqm-empty_5.entry.js +6 -2
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/{sqm-hero-view-71d1202f.js → sqm-hero-view-b54265df.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-51714c31.js → sqm-navigation-sidebar-item-view-4181f286.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-ac38b167.js → sqm-portal-email-verification-view-5b888e5c.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +12 -10
- package/dist/esm/{sqm-portal-footer-view-a6d09022.js → sqm-portal-footer-view-56689d55.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +10 -8
- package/dist/esm/sqm-portal-logout.entry.js +6 -6
- package/dist/esm/{sqm-portal-profile-view-419d1eb9.js → sqm-portal-profile-view-148efa76.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +9 -8
- package/dist/esm/sqm-portal-registration-form.entry.js +305 -0
- package/dist/esm/sqm-portal-reset-password.entry.js +19 -11
- package/dist/esm/sqm-portal-verify-email.entry.js +11 -10
- package/dist/esm/sqm-qa-referral-card.entry.js +85 -0
- package/dist/esm/sqm-qa-tabs.entry.js +96 -0
- package/dist/esm/sqm-qa.entry.js +17 -15
- package/dist/esm/sqm-referral-table_11.entry.js +36 -12
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +5 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +39 -17
- package/dist/esm/sqm-stencilbook.entry.js +173 -100
- package/dist/esm/sqm-tabs.entry.js +21 -7
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-e39af977.js} +1 -1
- package/dist/esm/{use-callback-7e0bfd3b.js → use-callback-697e2ff0.js} +1 -1
- package/dist/esm/{useChildElements-a8347aea.js → useChildElements-31287783.js} +3 -3
- package/dist/esm/{useReferralTable-5cac5b13.js → useReferralTable-1693d531.js} +9 -9
- package/dist/esm/useValidationState-f5db8783.js +3882 -0
- package/dist/esm-es5/{GenericTableView-ebc09be0.js → GenericTableView-59c5d47c.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-82a3c62b.js +1 -0
- package/dist/esm-es5/{global-5c84f57f.js → global-59aa17be.js} +2 -2
- package/dist/esm-es5/{index.module-f5e17a4e.js → index.module-c6c6943f.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-f44215d9.js → luxon-578505e2.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -0
- package/dist/esm-es5/re-render-e804551e.js +1 -0
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-71d1202f.js → sqm-hero-view-b54265df.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-4181f286.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-ac38b167.js → sqm-portal-email-verification-view-5b888e5c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-a6d09022.js → sqm-portal-footer-view-56689d55.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-419d1eb9.js → sqm-portal-profile-view-148efa76.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 -0
- 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-qa-referral-card.entry.js +1 -0
- package/dist/esm-es5/sqm-qa-tabs.entry.js +1 -0
- package/dist/esm-es5/sqm-qa.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-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-acc8a613.js → stencil-hooks.module-e39af977.js} +1 -1
- package/dist/esm-es5/use-callback-697e2ff0.js +1 -0
- package/dist/esm-es5/useChildElements-31287783.js +1 -0
- package/dist/esm-es5/useReferralTable-1693d531.js +1 -0
- package/dist/esm-es5/useValidationState-f5db8783.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-0616e87e.system.entry.js +1 -0
- package/dist/mint-components/{p-48f9babc.system.entry.js → p-0accfb5c.system.entry.js} +1 -1
- package/dist/mint-components/p-0b3b7596.entry.js +1 -0
- package/dist/mint-components/{p-ee26e870.entry.js → p-10483359.entry.js} +2 -2
- package/dist/mint-components/p-1125c6ef.entry.js +1 -0
- package/dist/mint-components/{p-3970de96.js → p-11a1a6a8.js} +1 -1
- package/dist/mint-components/p-144583fb.entry.js +1 -0
- package/dist/mint-components/{p-c0d24b76.system.entry.js → p-1537ba4c.system.entry.js} +1 -1
- package/dist/mint-components/{p-e01d8fdc.system.js → p-154958ee.system.js} +1 -1
- package/dist/mint-components/p-165bfabc.entry.js +1 -0
- package/dist/mint-components/{p-bd7b8620.system.entry.js → p-1706b667.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b0e876f.js → p-199defdf.js} +2 -2
- package/dist/mint-components/{p-7548e059.system.entry.js → p-1e665fe0.system.entry.js} +1 -1
- package/dist/mint-components/p-22b1898f.entry.js +1 -0
- package/dist/mint-components/p-29ceaa99.system.entry.js +1 -0
- package/dist/mint-components/{p-f298a1bc.system.entry.js → p-2ba9b60a.system.entry.js} +1 -1
- package/dist/mint-components/p-2c64d0fb.entry.js +1 -0
- package/dist/mint-components/{p-27455c4c.js → p-30b3592f.js} +1 -1
- package/dist/mint-components/p-31553b15.entry.js +1 -0
- package/dist/mint-components/{p-6738565c.entry.js → p-33e657bf.entry.js} +1 -1
- package/dist/mint-components/p-3521c62c.entry.js +1 -0
- package/dist/mint-components/p-3913a42f.system.entry.js +1 -0
- package/dist/mint-components/{p-5ab46a89.entry.js → p-3915b77c.entry.js} +1 -1
- package/dist/mint-components/p-3b99eaf1.js +1 -0
- package/dist/mint-components/p-408f983a.system.js +1 -0
- package/dist/mint-components/{p-bbf96ff3.system.js → p-4519c6d9.system.js} +1 -1
- package/dist/mint-components/{p-e707831a.entry.js → p-46aabfb7.entry.js} +1 -1
- package/dist/mint-components/{p-cf9cfac0.entry.js → p-48a1e759.entry.js} +1 -1
- package/dist/mint-components/p-4d90bec1.system.entry.js +1 -0
- package/dist/mint-components/{p-ba99d04e.system.entry.js → p-51c3cec9.system.entry.js} +1 -1
- package/dist/mint-components/{p-596902cd.system.entry.js → p-55678b75.system.entry.js} +1 -1
- package/dist/mint-components/{p-97650e34.js → p-5674fe4d.js} +1 -1
- package/dist/mint-components/p-5ad360ab.entry.js +13 -0
- package/dist/mint-components/p-5b2d40f4.system.entry.js +1 -0
- package/dist/mint-components/{p-72751bb7.entry.js → p-6352cbee.entry.js} +1 -1
- package/dist/mint-components/p-648022ed.entry.js +159 -0
- package/dist/mint-components/p-675d6c48.system.entry.js +1 -0
- package/dist/mint-components/{p-0494f792.js → p-6882f2bb.js} +1 -1
- package/dist/mint-components/{p-4ebe044d.entry.js → p-69f10938.entry.js} +1 -1
- package/dist/mint-components/p-6dabc870.system.entry.js +1 -0
- package/dist/mint-components/p-6dc6ed05.entry.js +1 -0
- package/dist/mint-components/p-706e42f0.system.js +1 -0
- package/dist/mint-components/{p-f92e3e87.system.js → p-71a504fd.system.js} +1 -1
- package/dist/mint-components/{p-eb314fed.js → p-72ebbd38.js} +1 -1
- package/dist/mint-components/p-73046229.js +1 -0
- package/dist/mint-components/p-745255d9.entry.js +1 -0
- package/dist/mint-components/{p-19042a54.system.entry.js → p-79c04821.system.entry.js} +1 -1
- package/dist/mint-components/p-7c660f98.entry.js +1 -0
- package/dist/mint-components/{p-3c96bae3.entry.js → p-7cec4e63.entry.js} +1 -1
- package/dist/mint-components/p-8153deff.entry.js +99 -0
- package/dist/mint-components/{p-60de562c.entry.js → p-82d1bb86.entry.js} +1 -1
- package/dist/mint-components/p-8425534f.entry.js +9 -0
- package/dist/mint-components/p-8858d00c.system.js +1 -0
- package/dist/mint-components/{p-6ee04453.entry.js → p-8f09f202.entry.js} +1 -1
- package/dist/mint-components/{p-82ecbcd1.js → p-8f12df83.js} +1 -1
- package/dist/mint-components/p-90efeeb4.entry.js +1 -0
- package/dist/mint-components/{p-7794c289.js → p-916a8f50.js} +1 -1
- package/dist/mint-components/{p-819298a8.system.js → p-92c99ab9.system.js} +1 -1
- package/dist/mint-components/{p-6549ad6a.system.js → p-946de27f.system.js} +1 -1
- package/dist/mint-components/{p-5cdcff11.system.entry.js → p-965b2770.system.entry.js} +1 -1
- package/dist/mint-components/p-97a63829.js +1 -0
- package/dist/mint-components/p-98eab726.system.js +1 -0
- package/dist/mint-components/p-a4a62f35.entry.js +1 -0
- package/dist/mint-components/p-a8efda40.js +1 -0
- package/dist/mint-components/p-aa998fc1.entry.js +1 -0
- package/dist/mint-components/{p-e4e5168b.entry.js → p-ae1a283d.entry.js} +1 -1
- package/dist/mint-components/p-b0bcbf67.js +268 -0
- package/dist/mint-components/{p-e2f8b782.system.entry.js → p-b1918aeb.system.entry.js} +1 -1
- package/dist/mint-components/{p-c11ce36c.js → p-b22b94ac.js} +1 -1
- package/dist/mint-components/p-c11237bf.system.entry.js +1 -0
- package/dist/mint-components/{p-0221bfef.system.entry.js → p-c14b6ff9.system.entry.js} +1 -1
- package/dist/mint-components/{p-e1d01511.system.js → p-c1c9bd9d.system.js} +1 -1
- package/dist/mint-components/{p-c0a8476e.system.entry.js → p-c4b55529.system.entry.js} +1 -1
- package/dist/mint-components/p-c5debea4.entry.js +1 -0
- package/dist/mint-components/p-c8c4e727.system.entry.js +1 -0
- package/dist/mint-components/{p-a6d4cffd.system.entry.js → p-c8c83a9e.system.entry.js} +1 -1
- package/dist/mint-components/p-d67a6057.entry.js +1 -0
- package/dist/mint-components/{p-63136070.system.entry.js → p-d8d0ec81.system.entry.js} +1 -1
- package/dist/mint-components/p-d9c3f39a.system.entry.js +1 -0
- package/dist/mint-components/{p-48ec6605.system.js → p-dc7b06ef.system.js} +1 -1
- package/dist/mint-components/p-dced4933.system.entry.js +1 -0
- package/dist/mint-components/p-ddeba605.system.entry.js +1 -0
- package/dist/mint-components/{p-dcdbf128.system.js → p-dfb6765a.system.js} +1 -1
- package/dist/mint-components/{p-4ac2d13b.system.entry.js → p-e00abc43.system.entry.js} +1 -1
- package/dist/mint-components/{p-28d44352.js → p-e175ad25.js} +1 -1
- package/dist/mint-components/p-e28dd7a3.system.js +1 -0
- package/dist/mint-components/{p-fc942cbd.system.js → p-e2bf9132.system.js} +1 -1
- package/dist/mint-components/p-e39919d4.system.js +1 -0
- package/dist/mint-components/{p-f6d3a2d4.system.js → p-e3acae66.system.js} +1 -1
- package/dist/mint-components/{p-78640db1.system.entry.js → p-ea5afb36.system.entry.js} +1 -1
- package/dist/mint-components/p-ee461c80.js +1 -0
- package/dist/mint-components/p-eeca87d4.system.entry.js +1 -0
- package/dist/mint-components/p-f0e2df53.system.entry.js +1 -0
- package/dist/mint-components/{p-047a840f.system.entry.js → p-f86ba72a.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ee797b8.system.js → p-fb7288a2.system.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +6 -5
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +4 -4
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -0
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +1 -4
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +0 -4
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +2 -0
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +32 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +76 -0
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +25 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +155 -16
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +14 -0
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +9 -0
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +20 -0
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +15 -0
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +9 -0
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +23 -0
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +9 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +0 -2
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +11 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +6 -2
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +6 -3
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +2 -0
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +5 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +1 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +6 -2
- package/dist/types/components.d.ts +591 -56
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +1 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/grapesjs.js +54 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -4
- package/dist/esm-es5/ShadowViewAddon-e2996624.js +0 -1
- package/dist/esm-es5/re-render-69774e13.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-51714c31.js +0 -1
- package/dist/esm-es5/use-callback-7e0bfd3b.js +0 -1
- package/dist/esm-es5/useChildElements-a8347aea.js +0 -1
- package/dist/esm-es5/useReferralTable-5cac5b13.js +0 -1
- package/dist/mint-components/p-12a9ade0.entry.js +0 -99
- package/dist/mint-components/p-13086b8d.js +0 -1
- package/dist/mint-components/p-232672a2.entry.js +0 -13
- package/dist/mint-components/p-25ac7c14.system.entry.js +0 -1
- package/dist/mint-components/p-38d6112f.entry.js +0 -1
- package/dist/mint-components/p-3facf714.js +0 -268
- package/dist/mint-components/p-4a1f24ef.entry.js +0 -1
- package/dist/mint-components/p-4a2782fd.system.entry.js +0 -1
- package/dist/mint-components/p-4f8830b7.entry.js +0 -1
- package/dist/mint-components/p-4fe59c93.system.entry.js +0 -1
- package/dist/mint-components/p-60b01103.js +0 -1
- package/dist/mint-components/p-71969ce5.system.entry.js +0 -1
- package/dist/mint-components/p-71ecbb3b.system.js +0 -1
- package/dist/mint-components/p-77f8351e.system.entry.js +0 -1
- package/dist/mint-components/p-83e4168e.system.entry.js +0 -1
- package/dist/mint-components/p-91acec3d.entry.js +0 -159
- package/dist/mint-components/p-94096609.system.js +0 -1
- package/dist/mint-components/p-95398ce2.js +0 -1
- package/dist/mint-components/p-95bbe8a7.entry.js +0 -1
- package/dist/mint-components/p-982ad256.js +0 -1
- package/dist/mint-components/p-987ab546.entry.js +0 -9
- package/dist/mint-components/p-9eb6d960.entry.js +0 -1
- package/dist/mint-components/p-a57057c4.system.entry.js +0 -1
- package/dist/mint-components/p-ac6c93ee.entry.js +0 -1
- package/dist/mint-components/p-c7d34b6a.system.entry.js +0 -1
- package/dist/mint-components/p-cc6d91bd.entry.js +0 -1
- package/dist/mint-components/p-cccba50e.entry.js +0 -1
- package/dist/mint-components/p-d3cc0d60.system.js +0 -1
- package/dist/mint-components/p-d7bc7e50.entry.js +0 -1
- package/dist/mint-components/p-d815567f.system.js +0 -1
- package/dist/mint-components/p-e0d5d38e.system.entry.js +0 -1
- package/dist/mint-components/p-ef3f3523.entry.js +0 -1
- package/dist/mint-components/p-f7fba9e4.system.entry.js +0 -1
- package/dist/mint-components/p-fd2852a7.entry.js +0 -1
- package/dist/mint-components/p-fd4d90b9.system.js +0 -1
- package/dist/mint-components/p-ff932bfa.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
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-e39af977.js';
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -180,13 +180,17 @@ const TitledSection = class {
|
|
|
180
180
|
*/
|
|
181
181
|
this.textAlign = "left";
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* Margin applied to the bottom of the label slot
|
|
184
|
+
*
|
|
185
|
+
* @uiName Label Bottom Margin
|
|
184
186
|
* @uiType string
|
|
185
187
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
186
188
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
187
189
|
*/
|
|
188
190
|
this.labelMargin = "small";
|
|
189
191
|
/**
|
|
192
|
+
* Padding applied to all 4 sides of the container
|
|
193
|
+
*
|
|
190
194
|
* @uiName Section Padding
|
|
191
195
|
* @uiType string
|
|
192
196
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
@@ -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-e39af977.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,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { n as m, e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { n as m, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { r as re, U, j as je, b as Ie } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
async function useGraphQLClientProvider({ domain }) {
|
|
8
|
-
const token =
|
|
8
|
+
const token = re();
|
|
9
9
|
const appDomain = domain;
|
|
10
|
-
const tenantAlias =
|
|
10
|
+
const tenantAlias = U();
|
|
11
11
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
12
|
-
const managedIdentityClient =
|
|
13
|
-
const [, setGraphQLClient] = m(
|
|
12
|
+
const managedIdentityClient = je(appDomain, tenantAlias, token);
|
|
13
|
+
const [, setGraphQLClient] = m(Ie, managedIdentityClient);
|
|
14
14
|
useEffect(() => {
|
|
15
15
|
setGraphQLClient(managedIdentityClient);
|
|
16
16
|
}, [managedIdentityClient]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, e as useEffect } from './stencil-hooks.module-
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
2
|
+
import { k as useState, e as useEffect } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-697e2ff0.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
4
|
import './extends-c31f1eff.js';
|
|
5
5
|
import './JSS-f00f9536.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
7
|
+
import { H as HeroView } from './sqm-hero-view-b54265df.js';
|
|
8
8
|
|
|
9
9
|
const Hero = class {
|
|
10
10
|
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,
|
|
2
|
+
import { m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import { i as intl } from './global-59aa17be.js';
|
|
4
|
+
import './use-callback-697e2ff0.js';
|
|
5
|
+
import { d as dist, F, o as oe, a as kt, T } from './index.module-c6c6943f.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
@@ -22,10 +22,10 @@ const GET_RANK = dist.gql `
|
|
|
22
22
|
`;
|
|
23
23
|
function useLeaderboardRank(props) {
|
|
24
24
|
var _a, _b, _c, _d;
|
|
25
|
-
const programIdContext =
|
|
25
|
+
const programIdContext = F();
|
|
26
26
|
// Default to context, overriden by props
|
|
27
27
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
28
|
-
const user =
|
|
28
|
+
const user = oe();
|
|
29
29
|
const rankVariables = programId
|
|
30
30
|
? {
|
|
31
31
|
type: props.leaderboardType,
|
|
@@ -38,7 +38,7 @@ function useLeaderboardRank(props) {
|
|
|
38
38
|
if (props.interval) {
|
|
39
39
|
rankVariables.filter["interval"] = props.interval;
|
|
40
40
|
}
|
|
41
|
-
const { data: rankData } =
|
|
41
|
+
const { data: rankData } = kt(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
42
42
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
43
43
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
44
44
|
})
|
|
@@ -64,7 +64,7 @@ const LeaderboardRank = class {
|
|
|
64
64
|
}
|
|
65
65
|
disconnectedCallback() { }
|
|
66
66
|
render() {
|
|
67
|
-
const props =
|
|
67
|
+
const props = T()
|
|
68
68
|
? useLeaderboardRankDemo(this)
|
|
69
69
|
: useLeaderboardRank(this);
|
|
70
70
|
return h$1(LeaderboardRankView, Object.assign({}, props));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as Ft } from './index.module-c6c6943f.js';
|
|
3
3
|
import { g as gap } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
|
|
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
|
|
|
33
33
|
const styleString = sheet.toString();
|
|
34
34
|
return (h("a", { href: data.path, onClick: (e) => {
|
|
35
35
|
e.preventDefault();
|
|
36
|
-
|
|
36
|
+
Ft.push(data.path);
|
|
37
37
|
}, class: sheet.classes.ItemContainer },
|
|
38
38
|
h("style", { type: "text/css" }, styleString),
|
|
39
39
|
h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -1,16 +1,16 @@
|
|
|
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 {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { R as Rt, T } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import './JSS-f00f9536.js';
|
|
9
9
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
10
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4181f286.js';
|
|
11
11
|
|
|
12
12
|
function useNavigationSidebarItem(props) {
|
|
13
|
-
const currentPage =
|
|
13
|
+
const currentPage = Rt();
|
|
14
14
|
return {
|
|
15
15
|
states: {
|
|
16
16
|
active: currentPage.pathname === props.path,
|
|
@@ -30,7 +30,7 @@ const NavigationSidebarItem = class {
|
|
|
30
30
|
}
|
|
31
31
|
disconnectedCallback() { }
|
|
32
32
|
render() {
|
|
33
|
-
const props =
|
|
33
|
+
const props = T()
|
|
34
34
|
? useSidebarItemDemo(getProps(this))
|
|
35
35
|
: useNavigationSidebarItem(getProps(this));
|
|
36
36
|
return h$1(NavigationSidebarItemView, Object.assign({}, props));
|
|
@@ -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-e39af977.js';
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import './mixins-f60a614c.js';
|
|
5
5
|
import './JSS-f00f9536.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { o as d, k as useState, m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { o as d, k as useState, m as h$1 } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { T } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
@@ -543,7 +543,7 @@ const PortalPasswordField = class {
|
|
|
543
543
|
}
|
|
544
544
|
disconnectedCallback() { }
|
|
545
545
|
render() {
|
|
546
|
-
const { states, callbacks } =
|
|
546
|
+
const { states, callbacks } = T()
|
|
547
547
|
? usePasswordFieldDemo(this)
|
|
548
548
|
: usePasswordField(this);
|
|
549
549
|
return h(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
|
@@ -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 {
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { H } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
@@ -16,10 +16,10 @@ const PopupContainerView = (props) => {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
function usePopupContainer(props) {
|
|
19
|
-
const engagementMedium =
|
|
19
|
+
const engagementMedium = H();
|
|
20
20
|
function closePopup() {
|
|
21
21
|
var _a;
|
|
22
|
-
if (
|
|
22
|
+
if (H() === "POPUP") {
|
|
23
23
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -33,7 +33,7 @@ function usePopupContainer(props) {
|
|
|
33
33
|
? "0"
|
|
34
34
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
35
35
|
: "0";
|
|
36
|
-
const padding =
|
|
36
|
+
const padding = H() === "POPUP" ? popupPadding : embedPadding;
|
|
37
37
|
return {
|
|
38
38
|
states: {
|
|
39
39
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-59aa17be.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './global-59aa17be.js';
|
|
4
|
+
import './use-callback-697e2ff0.js';
|
|
5
|
+
import { C as Ct, o as oe, T } from './index.module-c6c6943f.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import './JSS-f00f9536.js';
|
|
10
10
|
import './sqm-text-span-view-0ba1484d.js';
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
11
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-5b888e5c.js';
|
|
12
12
|
|
|
13
13
|
function usePortalEmailVerification(props) {
|
|
14
|
-
var _a, _b, _c, _d, _e;
|
|
15
|
-
const [request, { loading, data, errors }] =
|
|
16
|
-
const userIdent =
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
15
|
+
const [request, { loading, data, errors }] = Ct();
|
|
16
|
+
const userIdent = oe();
|
|
17
17
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
18
18
|
const [success, setSuccess] = useState(false);
|
|
19
19
|
const [error, setError] = useState("");
|
|
@@ -23,6 +23,7 @@ function usePortalEmailVerification(props) {
|
|
|
23
23
|
if (!email)
|
|
24
24
|
return;
|
|
25
25
|
setError("");
|
|
26
|
+
setSuccess(false);
|
|
26
27
|
const urlParams = nextPage ? { nextPage } : null;
|
|
27
28
|
const redirectPath = props.redirectPath;
|
|
28
29
|
const variables = { email, urlParams, redirectPath };
|
|
@@ -42,7 +43,8 @@ function usePortalEmailVerification(props) {
|
|
|
42
43
|
return {
|
|
43
44
|
states: {
|
|
44
45
|
loading,
|
|
45
|
-
error: ((_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.message) ||
|
|
46
|
+
error: ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) ||
|
|
47
|
+
error,
|
|
46
48
|
success,
|
|
47
49
|
},
|
|
48
50
|
callbacks: {
|
|
@@ -83,7 +85,7 @@ const PortalEmailVerification = class {
|
|
|
83
85
|
}
|
|
84
86
|
disconnectedCallback() { }
|
|
85
87
|
render() {
|
|
86
|
-
const { states, callbacks, content } =
|
|
88
|
+
const { states, callbacks, content } = T()
|
|
87
89
|
? usePortalEmailVerificationDemo(this)
|
|
88
90
|
: usePortalEmailVerification(this);
|
|
89
91
|
return (h$1(PortalEmailVerificationView, { states: states, callbacks: callbacks, content: content }));
|
|
@@ -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-59aa17be.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
@@ -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 './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './global-59aa17be.js';
|
|
4
|
+
import './use-callback-697e2ff0.js';
|
|
5
|
+
import './index.module-c6c6943f.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import './JSS-f00f9536.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
|
-
import { P as PortalFooterView } from './sqm-portal-footer-view-
|
|
9
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-56689d55.js';
|
|
10
10
|
|
|
11
11
|
const PortalFooter = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { e as bt, T, c as Ft } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -11,14 +11,15 @@ import './sqm-text-span-view-0ba1484d.js';
|
|
|
11
11
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-86d13eef.js';
|
|
12
12
|
|
|
13
13
|
function usePortalForgotPassword(props) {
|
|
14
|
-
var _a, _b, _c, _d;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
15
15
|
const [success, setSuccess] = useState(false);
|
|
16
16
|
const [error, setError] = useState("");
|
|
17
|
-
const [request, { loading, data, errors }] =
|
|
17
|
+
const [request, { loading, data, errors }] = bt();
|
|
18
18
|
const urlParams = new URLSearchParams(window.location.search);
|
|
19
19
|
const nextPage = urlParams.get("nextPage");
|
|
20
20
|
const submit = async (event) => {
|
|
21
21
|
setError("");
|
|
22
|
+
setSuccess(false);
|
|
22
23
|
let formData = event.detail.formData;
|
|
23
24
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
24
25
|
jsonpointer.set(formData, key, value);
|
|
@@ -42,7 +43,8 @@ function usePortalForgotPassword(props) {
|
|
|
42
43
|
return {
|
|
43
44
|
states: {
|
|
44
45
|
loading,
|
|
45
|
-
error: ((_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.message) ||
|
|
46
|
+
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
|
+
error,
|
|
46
48
|
success,
|
|
47
49
|
loginPath: props.loginPath,
|
|
48
50
|
},
|
|
@@ -78,11 +80,11 @@ const PortalForgotPassword = class {
|
|
|
78
80
|
}
|
|
79
81
|
disconnectedCallback() { }
|
|
80
82
|
render() {
|
|
81
|
-
const { states, callbacks } =
|
|
83
|
+
const { states, callbacks } = T()
|
|
82
84
|
? usePortalForgotPasswordDemo(this)
|
|
83
85
|
: usePortalForgotPassword(this);
|
|
84
86
|
const content = {
|
|
85
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
87
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => Ft.push(states.loginPath) }, "Sign In"))),
|
|
86
88
|
messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
|
|
87
89
|
emailLabel: this.emailLabel,
|
|
88
90
|
submitLabel: this.submitLabel,
|
|
@@ -1,12 +1,12 @@
|
|
|
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 {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { n as ne, c as Ft, T } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalLogout({ nextPage }) {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
ne(undefined);
|
|
9
|
+
Ft.push({ pathname: nextPage, search: "" });
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const PortalLogout = class {
|
|
@@ -21,7 +21,7 @@ const PortalLogout = class {
|
|
|
21
21
|
}
|
|
22
22
|
disconnectedCallback() { }
|
|
23
23
|
render() {
|
|
24
|
-
|
|
24
|
+
T() ? useLogoutDemo() : usePortalLogout(this);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
function useLogoutDemo({}) { }
|
package/dist/esm/{sqm-portal-profile-view-419d1eb9.js → sqm-portal-profile-view-148efa76.js}
RENAMED
|
@@ -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-59aa17be.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
5
5
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist,
|
|
2
|
+
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './global-59aa17be.js';
|
|
4
|
+
import './use-callback-697e2ff0.js';
|
|
5
|
+
import { d as dist, o as oe, a as kt, O as Oe, T } from './index.module-c6c6943f.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './JSS-f00f9536.js';
|
|
9
9
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
10
|
import './sqm-text-span-view-0ba1484d.js';
|
|
11
11
|
import './sqm-portal-container-view-ca454627.js';
|
|
12
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
12
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-148efa76.js';
|
|
13
13
|
|
|
14
14
|
const GET_USER = dist.gql `
|
|
15
15
|
query {
|
|
@@ -55,12 +55,12 @@ const defaultFormState = {
|
|
|
55
55
|
error: "",
|
|
56
56
|
};
|
|
57
57
|
function usePortalProfile(props) {
|
|
58
|
-
const userIdent =
|
|
58
|
+
const userIdent = oe();
|
|
59
59
|
const [success, setSuccess] = useState(false);
|
|
60
60
|
const [userData, setUserData] = useState(undefined);
|
|
61
61
|
const [formState, setFormState] = useState(defaultFormState);
|
|
62
|
-
const userDataResponse =
|
|
63
|
-
const [upsertUser, upsertUserResponse] =
|
|
62
|
+
const userDataResponse = kt(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
63
|
+
const [upsertUser, upsertUserResponse] = Oe(UPSERT_USER);
|
|
64
64
|
useEffect(() => {
|
|
65
65
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
66
66
|
return;
|
|
@@ -208,7 +208,7 @@ const PortalProfile = class {
|
|
|
208
208
|
}
|
|
209
209
|
disconnectedCallback() { }
|
|
210
210
|
render() {
|
|
211
|
-
const props =
|
|
211
|
+
const props = T()
|
|
212
212
|
? usePortalProfileDemo(getProps(this))
|
|
213
213
|
: usePortalProfile(getProps(this));
|
|
214
214
|
return h$1(PortalProfileView, Object.assign({}, props));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
+
import './use-callback-697e2ff0.js';
|
|
4
|
+
import { o as oe, R as Rt, c as Ft, T } from './index.module-c6c6943f.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
8
8
|
var _a;
|
|
9
|
-
const userIdent =
|
|
9
|
+
const userIdent = oe();
|
|
10
10
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
11
11
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
12
|
-
const { pathname, search } =
|
|
12
|
+
const { pathname, search } = Rt();
|
|
13
13
|
const nextPageParam = new URLSearchParams();
|
|
14
14
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
15
15
|
useEffect(() => {
|
|
16
16
|
if (!authenticated) {
|
|
17
|
-
return
|
|
17
|
+
return Ft.push({
|
|
18
18
|
pathname: redirectTo,
|
|
19
19
|
search: "?" + nextPageParam.toString(),
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
if (requireEmailVerification && !emailVerified) {
|
|
23
|
-
return
|
|
23
|
+
return Ft.push({
|
|
24
24
|
pathname: redirectToUnverified || redirectTo,
|
|
25
25
|
search: "?" + nextPageParam.toString(),
|
|
26
26
|
});
|
|
@@ -39,6 +39,7 @@ const PortalProtectedRoute = class {
|
|
|
39
39
|
this.redirectTo = "/";
|
|
40
40
|
/**
|
|
41
41
|
* @uiName Require Email Verification
|
|
42
|
+
* @default
|
|
42
43
|
*/
|
|
43
44
|
this.requireEmailVerification = false;
|
|
44
45
|
/**
|
|
@@ -49,7 +50,7 @@ const PortalProtectedRoute = class {
|
|
|
49
50
|
}
|
|
50
51
|
disconnectedCallback() { }
|
|
51
52
|
render() {
|
|
52
|
-
const hasUser =
|
|
53
|
+
const hasUser = T()
|
|
53
54
|
? usePortalProtectedRouteDemo()
|
|
54
55
|
: usePortalProtectedRoute(this);
|
|
55
56
|
return (h$1(Host, { style: { display: hasUser ? "contents" : "none" } }, h$1("slot", null)));
|