@saasquatch/mint-components 1.3.2-8 → 1.3.3-2
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/_commonjsHelpers-dcc4cf71.js +41 -0
- package/dist/cjs/extends-08099afd.js +21 -0
- package/dist/cjs/{global-041b5338.js → global-692677fd.js} +207 -408
- package/dist/cjs/index-8c6255f5.js +297 -0
- package/dist/cjs/{index-19309631.js → index-dcad341a.js} +3 -3
- package/dist/cjs/{index.module-6a7bda18.js → index.module-d669d91a.js} +38 -37
- package/dist/cjs/insertcss-04580cfa.js +47 -0
- package/dist/cjs/{jss-preset-default.esm-6304d24f.js → jss-preset-default.esm-62f8ddc9.js} +1 -1
- package/dist/cjs/loader.cjs.js +8 -6
- package/dist/cjs/luxon-f85e2807.js +8348 -0
- package/dist/cjs/mint-components.cjs.js +8 -6
- package/dist/cjs/{re-render-7cdb2d81.js → re-render-47a03e65.js} +6 -6
- package/dist/cjs/{sqm-asset-card-view-07f86880.js → sqm-asset-card-view-d7cc854c.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +8 -6
- package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -6
- package/dist/cjs/sqm-divided-layout_14.cjs.entry.js +5494 -0
- package/dist/cjs/sqm-form-message.cjs.entry.js +32 -0
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +8 -6
- package/dist/cjs/{sqm-hero-view-bb3d00a1.js → sqm-hero-view-0efad52b.js} +5 -5
- package/dist/cjs/sqm-hero.cjs.entry.js +7 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -7
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-name-fields-view-24614ac7.js → sqm-name-fields-view-4a178b0f.js} +1 -1
- package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-e99b4a10.js → sqm-navigation-sidebar-item-view-18946611.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +9 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-d06e1885.js → sqm-navigation-sidebar-view-9bd94bd9.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +584 -0
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -4
- package/dist/cjs/{sqm-portal-container-view-d144735a.js → sqm-portal-container-view-b12d5fde.js} +1 -1
- package/dist/cjs/sqm-portal-container.cjs.entry.js +6 -4
- package/dist/cjs/{sqm-portal-email-verification-view-5e955797.js → sqm-portal-email-verification-view-4afdd1af.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +16 -13
- package/dist/cjs/{sqm-portal-footer-view-9089feb7.js → sqm-portal-footer-view-35a54966.js} +2 -2
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-forgot-password-view-1704d285.js → sqm-portal-forgot-password-view-35dc8af0.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +21 -14
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -4
- package/dist/cjs/{sqm-portal-profile-view-a23ea292.js → sqm-portal-profile-view-b6358e44.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +19 -17
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -5
- package/dist/cjs/{sqm-portal-reset-password-view-4d78fd6d.js → sqm-portal-reset-password-view-a4a6b540.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +14 -12
- package/dist/cjs/{sqm-portal-section-view-3b008930.js → sqm-portal-section-view-15c6d536.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-b595e302.js → sqm-portal-verify-email-view-faad7c8d.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +16 -14
- package/dist/cjs/sqm-referral-iframe-view-e0150e4e.js +523 -0
- package/dist/cjs/sqm-referral-table-cell.cjs.entry.js +21 -0
- package/dist/cjs/sqm-referral-table-column.cjs.entry.js +7 -5
- package/dist/cjs/sqm-referral-table-date-cell.cjs.entry.js +30 -0
- package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +7 -5
- package/dist/cjs/sqm-referral-table-rewards-cell.cjs.entry.js +101 -0
- package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +7 -5
- package/dist/cjs/sqm-referral-table-status-cell.cjs.entry.js +16 -0
- package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +7 -5
- package/dist/cjs/sqm-referral-table-user-cell.cjs.entry.js +19 -0
- package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +7 -5
- package/dist/cjs/sqm-router.cjs.entry.js +105 -0
- package/dist/cjs/sqm-share-code.cjs.entry.js +11 -9
- package/dist/cjs/{sqm-share-link-view-a935d07e.js → sqm-share-link-view-2bf1fcea.js} +1 -1
- package/dist/cjs/{sqm-stat-container-view-ee7b00ff.js → sqm-stat-container-view-a4327ee6.js} +1 -1
- package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +11008 -0
- package/dist/cjs/sqm-table-cell_3.cjs.entry.js +101 -0
- package/dist/cjs/{sqm-text-span-view-b5ae787b.js → sqm-text-span-view-90e828b7.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +6 -4
- package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -4
- package/dist/cjs/{extends-0302d27d.js → stencil-hooks.module-426df801.js} +2 -59
- package/dist/cjs/use-callback-c5f2b2fe.js +7 -0
- package/dist/cjs/useDemoBigStat-6a984c70.js +578 -0
- package/dist/cjs/{ShadowViewAddon-75c18b96.js → useLeaderboard-acd5c55f.js} +35 -35
- package/dist/collection/collection-manifest.json +3 -6
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +20 -115
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +0 -1
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +1 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +28 -3
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +59 -4
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
- package/dist/collection/components/sqm-portal-logout/usePortalLogout.js +1 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -2
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +1 -1
- package/dist/collection/{tables → components/sqm-referral-table}/re-render.js +0 -0
- package/dist/collection/{tables → components/sqm-referral-table}/sqm-table-cell.js +0 -0
- package/dist/collection/{tables → components/sqm-referral-table}/sqm-table-row.js +0 -0
- package/dist/collection/{tables → components/sqm-referral-table}/useChildElements.js +0 -0
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +2 -2
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +36 -44
- package/dist/collection/global/styles.js +69 -278
- package/dist/collection/global/styles.ts +69 -278
- package/dist/collection/{components/sqm-asset-card → stories}/AssetCard.stories.js +2 -2
- package/dist/collection/{components/sqm-big-stat → stories}/BigStat.stories.js +3 -10
- package/dist/collection/{components/sqm-portal-change-password → stories}/ChangePassword.stories.js +3 -3
- package/dist/collection/{components/sqm-divided-layout → stories}/DividedLayout.stories.js +4 -4
- package/dist/collection/{components/sqm-edit-profile → stories}/EditProfileForm.stories.js +2 -2
- package/dist/collection/{components/sqm-form-message → stories}/FormMessage.stories.js +1 -1
- package/dist/collection/{components/sqm-hero → stories}/Hero.stories.js +2 -2
- package/dist/collection/{components/sqm-leaderboard → stories}/Leaderboard.stories.js +2 -2
- package/dist/collection/{components/sqm-leaderboard-rank → stories}/LeaderboardRank.stories.js +2 -2
- package/dist/collection/{components/sqm-name-fields → stories}/NameFields.stories.js +2 -2
- package/dist/collection/{components/sqm-navigation-sidebar → stories}/NavigationSidebar.stories.js +3 -3
- package/dist/collection/stories/NewPortal.stories.js +15 -15
- package/dist/collection/{components/sqm-password-field → stories}/PasswordField.stories.js +1 -1
- package/dist/collection/{components/sqm-portal-email-verification → stories}/PortalEmailVerification.stories.js +3 -3
- package/dist/collection/{components/sqm-portal-footer → stories}/PortalFooter.stories.js +2 -2
- package/dist/collection/{components/sqm-portal-forgot-password → stories}/PortalForgotPassword.stories.js +7 -3
- package/dist/collection/{components/sqm-portal-frame → stories}/PortalFrame.stories.js +2 -2
- package/dist/collection/{components/sqm-portal-login → stories}/PortalLogin.stories.js +8 -2
- package/dist/collection/{components/sqm-portal-profile → stories}/PortalProfile.stories.js +2 -2
- package/dist/collection/{components/sqm-portal-register → stories}/PortalRegister.stories.js +7 -2
- package/dist/collection/{components/sqm-portal-reset-password → stories}/PortalResetPassword.stories.js +3 -3
- package/dist/collection/{components/sqm-portal-verify-email → stories}/PortalVerifyEmail.stories.js +3 -3
- package/dist/collection/{components/sqm-program-menu → stories}/ProgramMenu.stories.js +2 -2
- package/dist/collection/{components/sqm-referral-iframe → stories}/ReferralIframe.stories.js +2 -2
- package/dist/collection/{components/sqm-referral-table → stories}/ReferralTable.stories.js +2 -2
- package/dist/collection/{components/sqm-referral-table → stories}/ReferralTableCell.stories.js +1 -1
- package/dist/collection/{components/sqm-referral-table → stories}/ReferralTableRewardsCell.stories.js +1 -1
- package/dist/collection/{components/sqm-rewards-table → stories}/Router.stories.js +1 -1
- package/dist/collection/{components/sqm-share-button → stories}/ShareButton.stories.js +2 -2
- package/dist/collection/{components/sqm-share-link → stories}/ShareLink.stories.js +2 -2
- package/dist/collection/{components/sqm-navigation-sidebar-item → stories}/SidebarItem.stories.js +2 -2
- package/dist/collection/{components/sqm-big-stat → stories}/UseBigStat.stories.js +4 -7
- package/dist/collection/{components/sqm-edit-profile → stories}/UseEditProfile.stories.js +1 -1
- package/dist/collection/{components/sqm-leaderboard → stories}/UseLeaderboard.stories.js +3 -3
- package/dist/collection/{components/sqm-share-button → stories}/UseShareButton.stories.js +2 -2
- package/dist/collection/{components/sqm-share-link → stories}/UseShareLink.stories.js +3 -3
- package/dist/collection/{components/sqm-user-name → stories}/UserName.stories.js +3 -3
- package/dist/esm/_commonjsHelpers-11ca3be1.js +36 -0
- package/dist/esm/extends-c31f1eff.js +19 -0
- package/dist/esm/{global-5ecbf81a.js → global-b8ca87f2.js} +127 -327
- package/dist/esm/{index-2f5dd0a1.js → index-a4c08dad.js} +2 -2
- package/dist/esm/index-ffa26b43.js +295 -0
- package/dist/esm/{index.module-f80561db.js → index.module-c73aa358.js} +6 -4
- package/dist/esm/insertcss-bcaf3818.js +45 -0
- package/dist/esm/{jss-preset-default.esm-71fae192.js → jss-preset-default.esm-8bd9f480.js} +1 -1
- package/dist/esm/loader.js +8 -6
- package/dist/esm/luxon-c3b19a84.js +8346 -0
- package/dist/esm/mint-components.js +8 -6
- package/dist/esm/{re-render-9ab5fe0f.js → re-render-3fc2153b.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-6f360937.js → sqm-asset-card-view-fa1b681a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +7 -5
- package/dist/esm/sqm-big-stat.entry.js +8 -5
- package/dist/esm/sqm-divided-layout_14.entry.js +5477 -0
- package/dist/esm/sqm-form-message.entry.js +28 -0
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -3
- package/dist/esm/{sqm-hero-view-bfd8abd1.js → sqm-hero-view-cc2f653d.js} +3 -3
- package/dist/esm/sqm-hero.entry.js +6 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -6
- package/dist/esm/sqm-leaderboard.entry.js +6 -4
- package/dist/esm/{sqm-name-fields-view-4162fb7b.js → sqm-name-fields-view-4eec5184.js} +1 -1
- package/dist/esm/sqm-name-fields.entry.js +7 -5
- package/dist/esm/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f0045fab.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +8 -6
- package/dist/esm/{sqm-navigation-sidebar-view-2242502c.js → sqm-navigation-sidebar-view-df01c5ed.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +5 -3
- package/dist/esm/sqm-password-field.entry.js +580 -0
- package/dist/esm/sqm-popup-container.entry.js +5 -3
- package/dist/esm/{sqm-portal-container-view-73757ca5.js → sqm-portal-container-view-fe231c27.js} +1 -1
- package/dist/esm/sqm-portal-container.entry.js +5 -3
- package/dist/esm/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-6d211c39.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +11 -8
- package/dist/esm/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-682423e9.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +9 -7
- package/dist/esm/{sqm-portal-forgot-password-view-e3a6a716.js → sqm-portal-forgot-password-view-8bb0852f.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +16 -9
- package/dist/esm/sqm-portal-logout.entry.js +7 -3
- package/dist/esm/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-62f2c799.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +12 -10
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -3
- package/dist/esm/{sqm-portal-reset-password-view-a4e50da2.js → sqm-portal-reset-password-view-a90cdc55.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -6
- package/dist/esm/{sqm-portal-section-view-f0876545.js → sqm-portal-section-view-0a392b47.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-6f18bac2.js → sqm-portal-verify-email-view-db80c80d.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +8 -6
- package/dist/esm/sqm-referral-iframe-view-6c3c5c74.js +512 -0
- package/dist/esm/sqm-referral-table-cell.entry.js +17 -0
- package/dist/esm/sqm-referral-table-column.entry.js +6 -4
- package/dist/esm/sqm-referral-table-date-cell.entry.js +26 -0
- package/dist/esm/sqm-referral-table-date-column.entry.js +6 -4
- package/dist/esm/sqm-referral-table-rewards-cell.entry.js +97 -0
- package/dist/esm/sqm-referral-table-rewards-column.entry.js +6 -4
- package/dist/esm/sqm-referral-table-status-cell.entry.js +12 -0
- package/dist/esm/sqm-referral-table-status-column.entry.js +6 -4
- package/dist/esm/sqm-referral-table-user-cell.entry.js +15 -0
- package/dist/esm/sqm-referral-table-user-column.entry.js +6 -4
- package/dist/esm/sqm-router.entry.js +101 -0
- package/dist/esm/sqm-share-code.entry.js +8 -6
- package/dist/esm/{sqm-share-link-view-9282b8e8.js → sqm-share-link-view-c98956ae.js} +1 -1
- package/dist/esm/{sqm-stat-container-view-4133feb6.js → sqm-stat-container-view-1dca1e18.js} +1 -1
- package/dist/esm/sqm-stat-container.entry.js +5 -3
- package/dist/esm/sqm-stencilbook.entry.js +11004 -0
- package/dist/esm/sqm-table-cell_3.entry.js +95 -0
- package/dist/esm/{sqm-text-span-view-1781df94.js → sqm-text-span-view-1d0562a7.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +5 -3
- package/dist/esm/sqm-titled-section.entry.js +5 -3
- package/dist/esm/{extends-3a3f9fe2.js → stencil-hooks.module-6c912534.js} +2 -54
- package/dist/esm/{use-callback-b38a1523.js → use-callback-c9ed6790.js} +1 -1
- package/dist/esm/useDemoBigStat-315b930b.js +574 -0
- package/dist/esm/{ShadowViewAddon-fff5d35d.js → useLeaderboard-2a6a1306.js} +36 -36
- package/dist/esm-es5/_commonjsHelpers-11ca3be1.js +1 -0
- package/dist/esm-es5/extends-c31f1eff.js +1 -0
- package/dist/esm-es5/{global-5ecbf81a.js → global-b8ca87f2.js} +16 -2
- package/dist/esm-es5/index-a4c08dad.js +1 -0
- package/dist/esm-es5/index-ffa26b43.js +1 -0
- package/dist/esm-es5/index.module-c73aa358.js +1 -0
- package/dist/esm-es5/insertcss-bcaf3818.js +1 -0
- package/dist/esm-es5/{jss-preset-default.esm-71fae192.js → jss-preset-default.esm-8bd9f480.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-c3b19a84.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/re-render-3fc2153b.js +1 -0
- package/dist/esm-es5/{sqm-asset-card-view-6f360937.js → sqm-asset-card-view-fa1b681a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-divided-layout_14.entry.js +1 -0
- package/dist/esm-es5/sqm-form-message.entry.js +1 -0
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-hero-view-cc2f653d.js +1 -0
- 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-leaderboard.entry.js +1 -1
- package/dist/esm-es5/{sqm-name-fields-view-4162fb7b.js → sqm-name-fields-view-4eec5184.js} +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f0045fab.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-2242502c.js → sqm-navigation-sidebar-view-df01c5ed.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -0
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-73757ca5.js → sqm-portal-container-view-fe231c27.js} +1 -1
- package/dist/esm-es5/sqm-portal-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-6d211c39.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-682423e9.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-e3a6a716.js → sqm-portal-forgot-password-view-8bb0852f.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-824c8242.js → sqm-portal-profile-view-62f2c799.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-reset-password-view-a4e50da2.js → sqm-portal-reset-password-view-a90cdc55.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-f0876545.js → sqm-portal-section-view-0a392b47.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-6f18bac2.js → sqm-portal-verify-email-view-db80c80d.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-iframe-view-6c3c5c74.js +1 -0
- package/dist/esm-es5/sqm-referral-table-cell.entry.js +1 -0
- package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-date-cell.entry.js +1 -0
- package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-rewards-cell.entry.js +1 -0
- package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-status-cell.entry.js +1 -0
- package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-user-cell.entry.js +1 -0
- package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
- package/dist/esm-es5/sqm-router.entry.js +1 -0
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/esm-es5/{sqm-share-link-view-9282b8e8.js → sqm-share-link-view-c98956ae.js} +1 -1
- package/dist/esm-es5/{sqm-stat-container-view-4133feb6.js → sqm-stat-container-view-1dca1e18.js} +1 -1
- package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -0
- package/dist/esm-es5/sqm-table-cell_3.entry.js +1 -0
- package/dist/esm-es5/{sqm-text-span-view-1781df94.js → sqm-text-span-view-1d0562a7.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
- package/dist/esm-es5/{extends-3a3f9fe2.js → stencil-hooks.module-6c912534.js} +2 -2
- package/dist/esm-es5/use-callback-c9ed6790.js +1 -0
- package/dist/esm-es5/useDemoBigStat-315b930b.js +1 -0
- package/dist/esm-es5/useLeaderboard-2a6a1306.js +1 -0
- package/dist/mint-components/global/styles.ts +69 -278
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-001ac7de.entry.js +1 -0
- package/dist/mint-components/p-00452475.entry.js +1 -0
- package/dist/mint-components/p-047393d4.system.entry.js +1 -0
- package/dist/mint-components/p-0a044284.entry.js +205 -0
- package/dist/mint-components/p-0a28a805.system.entry.js +1 -0
- package/dist/mint-components/p-0b17a46f.system.js +1 -0
- package/dist/mint-components/p-0c1587c6.system.entry.js +1 -0
- package/dist/mint-components/{p-bb76c6f3.system.js → p-0f099d93.system.js} +1 -1
- package/dist/mint-components/p-0f2344c0.entry.js +1 -0
- package/dist/mint-components/{p-a0045707.system.entry.js → p-10474de2.system.entry.js} +1 -1
- package/dist/mint-components/{p-5dfc6804.system.entry.js → p-10fd8ade.system.entry.js} +1 -1
- package/dist/mint-components/p-1103889d.system.entry.js +1 -0
- package/dist/mint-components/{p-a8b913a8.js → p-1103bb42.js} +1 -1
- package/dist/mint-components/{p-55f8387d.system.js → p-11e39dee.system.js} +1 -1
- package/dist/mint-components/p-1349f07e.system.entry.js +1 -0
- package/dist/mint-components/p-146d92d1.system.js +1 -0
- package/dist/mint-components/p-16c837ed.system.js +1 -0
- package/dist/mint-components/p-190e50af.system.entry.js +1 -0
- package/dist/mint-components/{p-9b4f2af6.js → p-1a9c1a05.js} +1 -1
- package/dist/mint-components/p-1b85db35.system.entry.js +1 -0
- package/dist/mint-components/p-1c17892a.system.js +1 -0
- package/dist/mint-components/p-1d35c687.system.entry.js +1 -0
- package/dist/mint-components/p-1f4a478f.entry.js +1 -0
- package/dist/mint-components/{p-952ed169.js → p-219ecfe5.js} +1 -1
- package/dist/mint-components/p-2476f184.entry.js +1 -0
- package/dist/mint-components/p-25ac3208.entry.js +1 -0
- package/dist/mint-components/p-28ecd181.system.entry.js +1 -0
- package/dist/mint-components/p-29abeb92.entry.js +1 -0
- package/dist/mint-components/p-2b8db7b6.entry.js +1 -0
- package/dist/mint-components/{p-739b3032.js → p-2bc6150e.js} +1 -1
- package/dist/mint-components/p-2e65f5d2.js +1 -0
- package/dist/mint-components/{p-ceeaf074.system.js → p-2f153923.system.js} +35 -21
- package/dist/mint-components/p-300d80c9.system.entry.js +1 -0
- package/dist/mint-components/p-337b68ed.js +1 -0
- package/dist/mint-components/{p-99f1208f.js → p-33bfd40c.js} +1 -1
- package/dist/mint-components/p-33e55204.entry.js +1 -0
- package/dist/mint-components/p-34703ee2.system.entry.js +1 -0
- package/dist/mint-components/{p-1fb688a9.system.js → p-3671c8f0.system.js} +1 -1
- package/dist/mint-components/p-3c499fb5.js +1 -0
- package/dist/mint-components/p-3d248a3b.entry.js +1 -0
- package/dist/mint-components/p-48457904.system.js +53 -0
- package/dist/mint-components/p-491a7d30.entry.js +1 -0
- package/dist/mint-components/p-4db66eeb.js +227 -0
- package/dist/mint-components/p-51cb4643.entry.js +1 -0
- package/dist/mint-components/{p-547a0354.system.js → p-54d655c9.system.js} +1 -1
- package/dist/mint-components/{p-fee6801c.js → p-55f10e1c.js} +1 -1
- package/dist/mint-components/{p-1b7d89a7.system.js → p-58771a46.system.js} +1 -1
- package/dist/mint-components/p-59285e71.system.entry.js +1 -0
- package/dist/mint-components/p-5a63d963.system.js +1 -0
- package/dist/mint-components/{p-9c79643f.system.js → p-5a9f1194.system.js} +1 -1
- package/dist/mint-components/p-5c3c9176.system.entry.js +1 -0
- package/dist/mint-components/p-5ca6cfb1.system.js +1 -0
- package/dist/mint-components/{p-1575e8a3.system.js → p-5eb742d7.system.js} +1 -1
- package/dist/mint-components/p-6085f196.entry.js +1 -0
- package/dist/mint-components/p-61d769e2.system.js +1 -0
- package/dist/mint-components/{p-60ae1ec5.system.js → p-61f82e08.system.js} +1 -1
- package/dist/mint-components/p-638c8431.entry.js +1 -0
- package/dist/mint-components/{p-562199e3.system.js → p-688ee2e6.system.js} +1 -1
- package/dist/mint-components/p-6a88774d.entry.js +1 -0
- package/dist/mint-components/p-6cb458e1.system.entry.js +1 -0
- package/dist/mint-components/p-715e91db.system.entry.js +1 -0
- package/dist/mint-components/p-73c99da6.system.entry.js +1 -0
- package/dist/mint-components/{p-aaf68d9d.system.js → p-74ceec27.system.js} +1 -1
- package/dist/mint-components/p-74d1f00f.js +1 -0
- package/dist/mint-components/p-773e8305.system.entry.js +1 -0
- package/dist/mint-components/p-792c369e.entry.js +1 -0
- package/dist/mint-components/p-7ae8fb53.system.js +1 -0
- package/dist/mint-components/p-7c2f9598.system.entry.js +1 -0
- package/dist/mint-components/{p-db5a1e78.js → p-7c6c3d5d.js} +1 -1
- package/dist/mint-components/p-7c749734.system.entry.js +1 -0
- package/dist/mint-components/p-81f34787.js +1 -0
- package/dist/mint-components/p-843d7329.system.js +1 -0
- package/dist/mint-components/p-86f1c93f.entry.js +1 -0
- package/dist/mint-components/p-870d8925.system.entry.js +1 -0
- package/dist/mint-components/p-882920bc.system.entry.js +1 -0
- package/dist/mint-components/p-888d3286.entry.js +1 -0
- package/dist/mint-components/{p-3052c913.system.js → p-8bcfc14a.system.js} +1 -1
- package/dist/mint-components/p-8c3ebdfd.system.entry.js +1 -0
- package/dist/mint-components/{p-44578b22.js → p-8d09ef35.js} +3 -3
- package/dist/mint-components/p-8d363802.js +1 -0
- package/dist/mint-components/{p-05cca77b.js → p-93383d19.js} +1 -1
- package/dist/mint-components/p-93b7077f.entry.js +1 -0
- package/dist/mint-components/p-94f14e93.entry.js +1 -0
- package/dist/mint-components/p-9522dd58.js +1 -0
- package/dist/mint-components/p-95657c3d.system.entry.js +1 -0
- package/dist/mint-components/p-973f2680.system.js +1 -0
- package/dist/mint-components/p-9d684d5c.entry.js +1 -0
- package/dist/mint-components/p-9eb533da.js +26 -0
- package/dist/mint-components/p-9f8059d4.system.js +1 -0
- package/dist/mint-components/{p-35476f7e.system.js → p-a381b8d9.system.js} +1 -1
- package/dist/mint-components/p-a3fa576f.entry.js +1 -0
- package/dist/mint-components/p-a51812c7.system.entry.js +1 -0
- package/dist/mint-components/p-a8f4e577.system.entry.js +1 -0
- package/dist/mint-components/p-a905de01.system.entry.js +1 -0
- package/dist/mint-components/p-aa1b09ae.system.entry.js +1 -0
- package/dist/mint-components/{p-434ee9c1.js → p-aaddc87f.js} +1 -1
- package/dist/mint-components/{p-53b0c355.system.js → p-abf5458d.system.js} +1 -1
- package/dist/mint-components/p-af7c4bc0.entry.js +1 -0
- package/dist/mint-components/p-af86353f.js +1 -0
- package/dist/mint-components/p-b17aafe0.entry.js +9 -0
- package/dist/mint-components/{p-a4a00461.entry.js → p-b29e5ceb.entry.js} +3 -3
- package/dist/mint-components/{p-1813b9b9.system.js → p-b321ef6a.system.js} +1 -1
- package/dist/mint-components/p-bb8888a7.js +1 -0
- package/dist/mint-components/p-bca2b57a.entry.js +1 -0
- package/dist/mint-components/p-be7a88dc.system.js +1 -0
- package/dist/mint-components/p-be9bf4b9.system.entry.js +1 -0
- package/dist/mint-components/p-c279e12a.entry.js +1 -0
- package/dist/mint-components/p-c459e4cf.system.entry.js +1 -0
- package/dist/mint-components/p-c54e7713.system.entry.js +1 -0
- package/dist/mint-components/p-c5e74232.system.entry.js +1 -0
- package/dist/mint-components/p-ca384345.system.entry.js +1 -0
- package/dist/mint-components/p-cbc4d9d7.js +17 -0
- package/dist/mint-components/{p-69f28472.system.js → p-cde646f9.system.js} +1 -1
- package/dist/mint-components/p-cff3a91e.system.entry.js +1 -0
- package/dist/mint-components/p-d059ff2d.entry.js +1 -0
- package/dist/mint-components/p-d271b8d2.entry.js +1 -0
- package/dist/mint-components/p-d4454d55.system.js +1 -0
- package/dist/mint-components/p-d4755688.js +1 -0
- package/dist/mint-components/p-d89a77c9.js +1248 -0
- package/dist/mint-components/p-dbc7cdc9.entry.js +1 -0
- package/dist/mint-components/p-de2b7932.js +1 -0
- package/dist/mint-components/p-df789324.js +1 -0
- package/dist/mint-components/p-dfe5a97d.js +1 -0
- package/dist/mint-components/p-e05dcbc7.system.entry.js +1 -0
- package/dist/mint-components/p-e11dcbb1.entry.js +13 -0
- package/dist/mint-components/p-e26acf44.entry.js +1 -0
- package/dist/mint-components/{p-509dda90.js → p-e26d2c51.js} +1 -1
- package/dist/mint-components/{p-8e37c08d.js → p-e28b7ccb.js} +1 -1
- package/dist/mint-components/p-e3b47a40.entry.js +1 -0
- package/dist/mint-components/p-e5c971a0.system.js +1 -0
- package/dist/mint-components/p-e7b373da.entry.js +1 -0
- package/dist/mint-components/{p-bd903567.js → p-e86c29c0.js} +1 -1
- package/dist/mint-components/p-e9a66887.entry.js +1 -0
- package/dist/mint-components/p-ec7668af.system.entry.js +1 -0
- package/dist/mint-components/p-f05333a5.entry.js +1 -0
- package/dist/mint-components/{p-34696973.system.js → p-f2e89e29.system.js} +1 -1
- package/dist/mint-components/p-f4c0cd0b.js +1 -0
- package/dist/mint-components/p-f7680789.system.entry.js +1 -0
- package/dist/mint-components/p-fbadd42c.entry.js +1 -0
- package/dist/mint-components/p-fc9b71c8.system.entry.js +1 -0
- package/dist/mint-components/p-ff7f8799.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -1
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -4
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -0
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +8 -0
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +4 -0
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -0
- package/dist/types/{tables → components/sqm-referral-table}/re-render.d.ts +0 -0
- package/dist/types/{tables → components/sqm-referral-table}/sqm-table-cell.d.ts +0 -0
- package/dist/types/{tables → components/sqm-referral-table}/sqm-table-row.d.ts +0 -0
- package/dist/types/{tables → components/sqm-referral-table}/useChildElements.d.ts +0 -0
- package/dist/types/components.d.ts +32 -237
- package/dist/types/global/styles.d.ts +1 -1
- package/dist/types/{components/sqm-asset-card → stories}/AssetCard.stories.d.ts +0 -0
- package/dist/types/{components/sqm-big-stat → stories}/BigStat.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-change-password → stories}/ChangePassword.stories.d.ts +0 -0
- package/dist/types/{components/sqm-divided-layout → stories}/DividedLayout.stories.d.ts +0 -0
- package/dist/types/{components/sqm-edit-profile → stories}/EditProfileForm.stories.d.ts +0 -0
- package/dist/types/{components/sqm-form-message → stories}/FormMessage.stories.d.ts +0 -0
- package/dist/types/{components/sqm-hero → stories}/Hero.stories.d.ts +0 -0
- package/dist/types/{components/sqm-leaderboard → stories}/Leaderboard.stories.d.ts +0 -0
- package/dist/types/{components/sqm-leaderboard-rank → stories}/LeaderboardRank.stories.d.ts +0 -0
- package/dist/types/{components/sqm-name-fields → stories}/NameFields.stories.d.ts +0 -0
- package/dist/types/{components/sqm-navigation-sidebar → stories}/NavigationSidebar.stories.d.ts +0 -0
- package/dist/types/{components/sqm-password-field → stories}/PasswordField.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-email-verification → stories}/PortalEmailVerification.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-footer → stories}/PortalFooter.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-forgot-password → stories}/PortalForgotPassword.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-frame → stories}/PortalFrame.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-login → stories}/PortalLogin.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-profile → stories}/PortalProfile.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-register → stories}/PortalRegister.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-reset-password → stories}/PortalResetPassword.stories.d.ts +0 -0
- package/dist/types/{components/sqm-portal-verify-email → stories}/PortalVerifyEmail.stories.d.ts +0 -0
- package/dist/types/{components/sqm-program-menu → stories}/ProgramMenu.stories.d.ts +0 -0
- package/dist/types/{components/sqm-referral-iframe → stories}/ReferralIframe.stories.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → stories}/ReferralTable.stories.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → stories}/ReferralTableCell.stories.d.ts +0 -0
- package/dist/types/{components/sqm-referral-table → stories}/ReferralTableRewardsCell.stories.d.ts +0 -0
- package/dist/types/{components/sqm-rewards-table → stories}/Router.stories.d.ts +0 -0
- package/dist/types/{components/sqm-share-button → stories}/ShareButton.stories.d.ts +0 -0
- package/dist/types/{components/sqm-share-link → stories}/ShareLink.stories.d.ts +0 -0
- package/dist/types/{components/sqm-navigation-sidebar-item → stories}/SidebarItem.stories.d.ts +0 -0
- package/dist/types/{components/sqm-big-stat → stories}/UseBigStat.stories.d.ts +0 -6
- package/dist/types/{components/sqm-edit-profile → stories}/UseEditProfile.stories.d.ts +0 -0
- package/dist/types/{components/sqm-leaderboard → stories}/UseLeaderboard.stories.d.ts +0 -0
- package/dist/types/{components/sqm-share-button → stories}/UseShareButton.stories.d.ts +0 -0
- package/dist/types/{components/sqm-share-link → stories}/UseShareLink.stories.d.ts +0 -0
- package/dist/types/stories/UserName.stories.d.ts +6 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/sqm-divided-layout_28.cjs.entry.js +0 -27975
- package/dist/cjs/sqm-rewards-table.cjs.entry.js +0 -332
- package/dist/cjs/tslib.es6-0e81fab1.js +0 -56
- package/dist/cjs/use-callback-fadb2643.js +0 -7
- package/dist/cjs/useChildElements-428ca5b8.js +0 -21
- package/dist/cjs/useDemoBigStat-051a69f7.js +0 -968
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +0 -8
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -143
- package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-icon.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +0 -60
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +0 -255
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +0 -121
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +0 -198
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +0 -222
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +0 -195
- package/dist/collection/components/sqm-task-card/Matrix.js +0 -63
- package/dist/collection/components/sqm-task-card/SVGs.js +0 -9
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +0 -330
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +0 -41
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +0 -7
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +0 -311
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar.stories.js +0 -53
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -164
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +0 -384
- package/dist/collection/tables/GenericTableView.js +0 -51
- package/dist/collection/tables/TableSlots.js +0 -22
- package/dist/esm/sqm-divided-layout_28.entry.js +0 -27944
- package/dist/esm/sqm-rewards-table.entry.js +0 -328
- package/dist/esm/tslib.es6-7ac9d7e4.js +0 -53
- package/dist/esm/useChildElements-506f00d0.js +0 -19
- package/dist/esm/useDemoBigStat-95889548.js +0 -963
- package/dist/esm-es5/ShadowViewAddon-fff5d35d.js +0 -1
- package/dist/esm-es5/index-2f5dd0a1.js +0 -1
- package/dist/esm-es5/index.module-f80561db.js +0 -1
- package/dist/esm-es5/re-render-9ab5fe0f.js +0 -1
- package/dist/esm-es5/sqm-divided-layout_28.entry.js +0 -1
- package/dist/esm-es5/sqm-hero-view-bfd8abd1.js +0 -1
- package/dist/esm-es5/sqm-rewards-table.entry.js +0 -1
- package/dist/esm-es5/tslib.es6-7ac9d7e4.js +0 -15
- package/dist/esm-es5/use-callback-b38a1523.js +0 -1
- package/dist/esm-es5/useChildElements-506f00d0.js +0 -1
- package/dist/esm-es5/useDemoBigStat-95889548.js +0 -1
- package/dist/mint-components/assets/Reward-icon.png +0 -0
- package/dist/mint-components/p-00190438.js +0 -1
- package/dist/mint-components/p-015b683f.system.js +0 -53
- package/dist/mint-components/p-04516274.system.entry.js +0 -1
- package/dist/mint-components/p-0688c9c2.system.entry.js +0 -1
- package/dist/mint-components/p-0a39b23c.system.entry.js +0 -1
- package/dist/mint-components/p-0bcefa93.entry.js +0 -1
- package/dist/mint-components/p-0faf1857.system.js +0 -1
- package/dist/mint-components/p-11c75956.entry.js +0 -1
- package/dist/mint-components/p-16535642.system.entry.js +0 -1
- package/dist/mint-components/p-16da5146.entry.js +0 -1
- package/dist/mint-components/p-189219ee.system.js +0 -1
- package/dist/mint-components/p-1ac9c24b.system.entry.js +0 -1
- package/dist/mint-components/p-1b414d8f.system.entry.js +0 -1
- package/dist/mint-components/p-1d445125.entry.js +0 -1
- package/dist/mint-components/p-1e182e88.system.js +0 -1
- package/dist/mint-components/p-21dfdeb8.entry.js +0 -1
- package/dist/mint-components/p-23a0bdae.entry.js +0 -1
- package/dist/mint-components/p-282ed862.js +0 -1
- package/dist/mint-components/p-2a025d2a.system.entry.js +0 -1
- package/dist/mint-components/p-2bce988c.js +0 -1
- package/dist/mint-components/p-2f171597.entry.js +0 -1
- package/dist/mint-components/p-337b49ee.entry.js +0 -1
- package/dist/mint-components/p-3b0acfcd.system.js +0 -1
- package/dist/mint-components/p-3fd33dee.system.entry.js +0 -1
- package/dist/mint-components/p-412d31b1.js +0 -1
- package/dist/mint-components/p-4ba2faf2.system.entry.js +0 -1
- package/dist/mint-components/p-505f5c59.system.entry.js +0 -1
- package/dist/mint-components/p-53ec4863.entry.js +0 -1
- package/dist/mint-components/p-55e02769.entry.js +0 -13
- package/dist/mint-components/p-57a53dbd.system.entry.js +0 -1
- package/dist/mint-components/p-58d9b2f0.js +0 -15
- package/dist/mint-components/p-5f28af29.entry.js +0 -1
- package/dist/mint-components/p-6cdc70f4.entry.js +0 -1
- package/dist/mint-components/p-6d27cd05.system.entry.js +0 -1
- package/dist/mint-components/p-6d545e13.entry.js +0 -1
- package/dist/mint-components/p-70837c1c.entry.js +0 -49
- package/dist/mint-components/p-71d942af.entry.js +0 -9
- package/dist/mint-components/p-7c138c84.entry.js +0 -1
- package/dist/mint-components/p-7c13e32e.system.entry.js +0 -1
- package/dist/mint-components/p-7c261ea0.system.entry.js +0 -1
- package/dist/mint-components/p-8034f81c.system.entry.js +0 -1
- package/dist/mint-components/p-82ab88fe.system.js +0 -1
- package/dist/mint-components/p-82d7a2ba.entry.js +0 -1
- package/dist/mint-components/p-844f9bad.entry.js +0 -1
- package/dist/mint-components/p-844fd903.js +0 -17
- package/dist/mint-components/p-8c16f04e.js +0 -1
- package/dist/mint-components/p-91d39961.system.js +0 -1
- package/dist/mint-components/p-a0cfd3d9.system.js +0 -1
- package/dist/mint-components/p-a565e753.entry.js +0 -1
- package/dist/mint-components/p-a7f0b2f6.entry.js +0 -1
- package/dist/mint-components/p-a7f26a72.entry.js +0 -288
- package/dist/mint-components/p-aba21f90.entry.js +0 -1
- package/dist/mint-components/p-af06ea5b.system.entry.js +0 -1
- package/dist/mint-components/p-b2633117.system.entry.js +0 -1
- package/dist/mint-components/p-b6e6be5e.js +0 -235
- package/dist/mint-components/p-ba505a8c.js +0 -1
- package/dist/mint-components/p-bf04a8e1.system.entry.js +0 -1
- package/dist/mint-components/p-c3866bfa.system.entry.js +0 -1
- package/dist/mint-components/p-c3bf9440.entry.js +0 -1
- package/dist/mint-components/p-cc3510c8.js +0 -1
- package/dist/mint-components/p-d3787c3a.entry.js +0 -1
- package/dist/mint-components/p-d9cc041f.entry.js +0 -1
- package/dist/mint-components/p-db723323.system.entry.js +0 -1
- package/dist/mint-components/p-dd6a666e.system.js +0 -15
- package/dist/mint-components/p-dfc3cf82.js +0 -1
- package/dist/mint-components/p-e0290737.system.entry.js +0 -1
- package/dist/mint-components/p-e069bc2d.entry.js +0 -1
- package/dist/mint-components/p-e14c15ca.system.entry.js +0 -1
- package/dist/mint-components/p-e19a57a4.system.entry.js +0 -1
- package/dist/mint-components/p-e2ebe90c.entry.js +0 -1
- package/dist/mint-components/p-e426715b.js +0 -1
- package/dist/mint-components/p-e43cc1f8.system.entry.js +0 -1
- package/dist/mint-components/p-e475a5ff.system.entry.js +0 -1
- package/dist/mint-components/p-e9ab90a1.entry.js +0 -1
- package/dist/mint-components/p-ebcd8a59.js +0 -1
- package/dist/mint-components/p-ecbabf6e.system.js +0 -1
- package/dist/mint-components/p-f1e1086e.js +0 -1233
- package/dist/mint-components/p-f41ab9e1.system.js +0 -1
- package/dist/mint-components/p-f85f36c6.system.entry.js +0 -1
- package/dist/mint-components/p-f9cb55dc.entry.js +0 -1
- package/dist/mint-components/p-fcaa5886.system.entry.js +0 -1
- package/dist/mint-components/p-fee468b7.system.entry.js +0 -1
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +0 -3
- package/dist/types/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.d.ts +0 -28
- package/dist/types/components/sqm-reward-exchange-list/progressBar.d.ts +0 -4
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +0 -27
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +0 -20
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -43
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -32
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +0 -5
- package/dist/types/components/sqm-task-card/Matrix.d.ts +0 -11
- package/dist/types/components/sqm-task-card/SVGs.d.ts +0 -2
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +0 -11
- package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +0 -10
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +0 -1
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +0 -9
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar.stories.d.ts +0 -12
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -16
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +0 -73
- package/dist/types/components/sqm-user-name/UserName.stories.d.ts +0 -6
- package/dist/types/tables/GenericTableView.d.ts +0 -29
- package/dist/types/tables/TableSlots.d.ts +0 -8
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import { i as d, e as useState, g as h$1 } from './stencil-hooks.module-6c912534.js';
|
|
4
|
+
import './use-callback-c9ed6790.js';
|
|
5
|
+
import { j } from './index.module-c73aa358.js';
|
|
6
|
+
import './extends-c31f1eff.js';
|
|
7
|
+
import { j as jss, c as create } from './jss-preset-default.esm-8bd9f480.js';
|
|
8
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
9
|
+
import { E as ErrorStyles } from './mixins-10353a39.js';
|
|
10
|
+
|
|
11
|
+
var constants = {
|
|
12
|
+
error: {
|
|
13
|
+
length: 'Length should be a valid positive number',
|
|
14
|
+
password: 'Password should be a valid string'
|
|
15
|
+
},
|
|
16
|
+
regex: {
|
|
17
|
+
digits: '(\\d.*)',
|
|
18
|
+
letters: '([a-zA-Z].*)',
|
|
19
|
+
symbols: '([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\\{\\}\\]\\\\\|;:\\\'",<.>\\/\\?€£¥₹§±].*)',
|
|
20
|
+
spaces: '([\\s].*)'
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Generic method to test regex
|
|
26
|
+
*
|
|
27
|
+
* @private
|
|
28
|
+
* @param {string} regex - regex to test
|
|
29
|
+
* with password
|
|
30
|
+
*/
|
|
31
|
+
var regex = constants.regex;
|
|
32
|
+
|
|
33
|
+
function _process(regexp, repeat) {
|
|
34
|
+
if (repeat && repeat > 1) {
|
|
35
|
+
const parsedRepeat = parseInt(repeat, 10);
|
|
36
|
+
return new RegExp(regexp + '{' + parsedRepeat + ',}').test(this.password) === this.positive;
|
|
37
|
+
}
|
|
38
|
+
return new RegExp(regexp).test(this.password) === this.positive;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var lib = {
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Method to invert the next validations
|
|
45
|
+
*
|
|
46
|
+
* @param {RegExp} [symbol] - custom Regex which should not be present
|
|
47
|
+
*/
|
|
48
|
+
not: function not(symbol) {
|
|
49
|
+
this.positive = false;
|
|
50
|
+
if (symbol) {
|
|
51
|
+
return _process.call(this, symbol);
|
|
52
|
+
}
|
|
53
|
+
return true;
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Method to invert the effects of not()
|
|
58
|
+
*
|
|
59
|
+
* @param {RegExp} [symbol] - custom Regex which should be present
|
|
60
|
+
*/
|
|
61
|
+
has: function has(symbol) {
|
|
62
|
+
this.positive = true;
|
|
63
|
+
if (symbol) {
|
|
64
|
+
return _process.call(this, symbol);
|
|
65
|
+
}
|
|
66
|
+
return true;
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Method to invert the effects of not() and
|
|
71
|
+
* to make the api readable and chainable
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
is: function is() {
|
|
75
|
+
this.positive = true;
|
|
76
|
+
return true;
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Method to specify a minimum length
|
|
81
|
+
*
|
|
82
|
+
* @param {number} num - minimum length
|
|
83
|
+
*/
|
|
84
|
+
min: function min(num) {
|
|
85
|
+
return this.password.length >= num;
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Method to specify a maximum length
|
|
90
|
+
*
|
|
91
|
+
* @param {number} num - maximum length
|
|
92
|
+
*/
|
|
93
|
+
max: function max(num) {
|
|
94
|
+
return this.password.length <= num;
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Method to validate the presence of digits
|
|
99
|
+
*
|
|
100
|
+
* @param {number} repeat - count of required digits
|
|
101
|
+
*/
|
|
102
|
+
digits: function digits(repeat) {
|
|
103
|
+
return _process.call(this, regex.digits, repeat);
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Method to validate the presence of letters
|
|
108
|
+
*
|
|
109
|
+
* @param {number} repeat - count of required letters
|
|
110
|
+
*/
|
|
111
|
+
letters: function letters(repeat) {
|
|
112
|
+
return _process.call(this, regex.letters, repeat);
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Method to validate the presence of uppercase letters
|
|
117
|
+
*
|
|
118
|
+
* @param {number} repeat - count of required uppercase letters
|
|
119
|
+
*/
|
|
120
|
+
uppercase: function uppercase(repeat) {
|
|
121
|
+
if (repeat && repeat > 1) {
|
|
122
|
+
let characterIndex = 0;
|
|
123
|
+
let upperCaseLetters = 0;
|
|
124
|
+
|
|
125
|
+
while ((upperCaseLetters < repeat) && (characterIndex < this.password.length)) {
|
|
126
|
+
const currentLetter = this.password.charAt(characterIndex);
|
|
127
|
+
if (currentLetter !== currentLetter.toLowerCase()) {
|
|
128
|
+
upperCaseLetters++;
|
|
129
|
+
}
|
|
130
|
+
characterIndex++;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return (upperCaseLetters === repeat) === this.positive;
|
|
134
|
+
}
|
|
135
|
+
return (this.password !== this.password.toLowerCase()) === this.positive;
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Method to validate the presence of lowercase letters
|
|
140
|
+
*
|
|
141
|
+
* @param {number} repeat - count of required lowercase letters
|
|
142
|
+
*/
|
|
143
|
+
lowercase: function lowercase(repeat) {
|
|
144
|
+
if (repeat && repeat > 1) {
|
|
145
|
+
let characterIndex = 0;
|
|
146
|
+
let lowerCaseLetters = 0;
|
|
147
|
+
|
|
148
|
+
while ((lowerCaseLetters < repeat) && (characterIndex < this.password.length)) {
|
|
149
|
+
const currentLetter = this.password.charAt(characterIndex);
|
|
150
|
+
if (currentLetter !== currentLetter.toUpperCase()) {
|
|
151
|
+
lowerCaseLetters++;
|
|
152
|
+
}
|
|
153
|
+
characterIndex++;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return (lowerCaseLetters === repeat) === this.positive;
|
|
157
|
+
}
|
|
158
|
+
return (this.password !== this.password.toUpperCase()) === this.positive;
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Method to validate the presence of symbols
|
|
163
|
+
*
|
|
164
|
+
* @param {number} repeat - count of required symbols
|
|
165
|
+
*/
|
|
166
|
+
symbols: function symbols(repeat) {
|
|
167
|
+
return _process.call(this, regex.symbols, repeat);
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Method to validate the presence of space
|
|
172
|
+
*
|
|
173
|
+
* @param {number} repeat - count of required spaces
|
|
174
|
+
*/
|
|
175
|
+
spaces: function spaces(repeat) {
|
|
176
|
+
return _process.call(this, regex.spaces, repeat);
|
|
177
|
+
},
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Method to provide pre-defined values for password
|
|
181
|
+
*
|
|
182
|
+
* @param {array} list - list of values allowed
|
|
183
|
+
*/
|
|
184
|
+
oneOf: function oneOf(list) {
|
|
185
|
+
return list.indexOf(this.password) >= 0 === this.positive;
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
var error = constants.error;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Validates that a number is a valid length (positive number)
|
|
193
|
+
*
|
|
194
|
+
* @private
|
|
195
|
+
* @param {number} num - Number to validate
|
|
196
|
+
*/
|
|
197
|
+
function _validateLength(num) {
|
|
198
|
+
const len = Number(num);
|
|
199
|
+
if (isNaN(len) || !Number.isInteger(len) || len < 1) {
|
|
200
|
+
throw new Error(error.length);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Tests a validation and return the result
|
|
206
|
+
*
|
|
207
|
+
* @private
|
|
208
|
+
* @param {string} property - Property to validate
|
|
209
|
+
* @return {boolean} Boolean value indicting the validity
|
|
210
|
+
* of the password against the property
|
|
211
|
+
*/
|
|
212
|
+
function _isPasswordValidFor(property) {
|
|
213
|
+
return lib[property.method].apply(this, property.arguments);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Registers the properties of a password-validation schema object
|
|
218
|
+
*
|
|
219
|
+
* @private
|
|
220
|
+
* @param {string} func - Property name
|
|
221
|
+
* @param {array} args - arguments for the func property
|
|
222
|
+
*/
|
|
223
|
+
function _register(func, args) {
|
|
224
|
+
// Add property to the schema
|
|
225
|
+
this.properties.push({ method: func, arguments: args });
|
|
226
|
+
return this;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
class PasswordValidator {
|
|
230
|
+
/**
|
|
231
|
+
* Creates a password-validator schema
|
|
232
|
+
*
|
|
233
|
+
* @constructor
|
|
234
|
+
*/
|
|
235
|
+
constructor() {
|
|
236
|
+
this.properties = [];
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Method to validate the password against schema
|
|
241
|
+
*
|
|
242
|
+
* @param {string} pwd - password to valdiate
|
|
243
|
+
* @param {object} options - optional options to configure validation
|
|
244
|
+
* @param {boolean} [options.list] - asks for a list of validation
|
|
245
|
+
* failures instead of just true/false
|
|
246
|
+
* @return {boolean|array} Boolean value indicting the validity
|
|
247
|
+
* of the password as per schema, if 'options.list'
|
|
248
|
+
* is not set. Otherwise, it returns an array of
|
|
249
|
+
* property names which failed validations
|
|
250
|
+
*/
|
|
251
|
+
validate(pwd, options) {
|
|
252
|
+
this.list = Boolean(options && options.list);
|
|
253
|
+
this.password = String(pwd);
|
|
254
|
+
|
|
255
|
+
this.positive = true;
|
|
256
|
+
|
|
257
|
+
if (this.list) {
|
|
258
|
+
return this.properties.reduce((errorList, property) => {
|
|
259
|
+
// Applies all validations defined in lib one by one
|
|
260
|
+
if (!_isPasswordValidFor.call(this, property)) {
|
|
261
|
+
// If the validation for a property fails,
|
|
262
|
+
// add it to the error list
|
|
263
|
+
return errorList.concat(property.method);
|
|
264
|
+
}
|
|
265
|
+
return errorList;
|
|
266
|
+
}, []);
|
|
267
|
+
}
|
|
268
|
+
return this.properties.every(_isPasswordValidFor.bind(this));
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Rule to mandate the presence of letters in the password
|
|
273
|
+
*
|
|
274
|
+
* @param {number} [count] - minimum number of letters required
|
|
275
|
+
*/
|
|
276
|
+
letters(count) {
|
|
277
|
+
count && _validateLength(count);
|
|
278
|
+
return _register.call(this, 'letters', arguments);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Rule to mandate the presence of digits in the password
|
|
283
|
+
*
|
|
284
|
+
* @param {number} [count] - minimum number of digits required
|
|
285
|
+
*/
|
|
286
|
+
digits(count) {
|
|
287
|
+
count && _validateLength(count);
|
|
288
|
+
return _register.call(this, 'digits', arguments);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Rule to mandate the presence of symbols in the password
|
|
293
|
+
*
|
|
294
|
+
* @param {number} [count] - minimum number of symbols required
|
|
295
|
+
*/
|
|
296
|
+
symbols(count) {
|
|
297
|
+
count && _validateLength(count);
|
|
298
|
+
return _register.call(this, 'symbols', arguments);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Rule to specify a minimum length of the password
|
|
303
|
+
*
|
|
304
|
+
* @param {number} num - minimum length
|
|
305
|
+
*/
|
|
306
|
+
min(num) {
|
|
307
|
+
_validateLength(num);
|
|
308
|
+
return _register.call(this, 'min', arguments);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Rule to specify a maximum length of the password
|
|
313
|
+
*
|
|
314
|
+
* @param {number} num - maximum length
|
|
315
|
+
*/
|
|
316
|
+
max(num) {
|
|
317
|
+
_validateLength(num);
|
|
318
|
+
return _register.call(this, 'max', arguments);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Rule to mandate the presence of lowercase letters in the password
|
|
323
|
+
*
|
|
324
|
+
* @param {number} [count] - minimum number of lowercase letters required
|
|
325
|
+
*/
|
|
326
|
+
lowercase(count) {
|
|
327
|
+
count && _validateLength(count);
|
|
328
|
+
return _register.call(this, 'lowercase', arguments);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Rule to mandate the presence of uppercase letters in the password
|
|
333
|
+
*
|
|
334
|
+
* @param {number} [count] - minimum number of uppercase letters required
|
|
335
|
+
*/
|
|
336
|
+
uppercase(count) {
|
|
337
|
+
count && _validateLength(count);
|
|
338
|
+
return _register.call(this, 'uppercase', arguments);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Rule to mandate the presence of space in the password
|
|
343
|
+
* It can be used along with 'not' to not allow spaces
|
|
344
|
+
* in the password
|
|
345
|
+
*
|
|
346
|
+
* @param {number} [count] - minimum number of spaces required
|
|
347
|
+
*/
|
|
348
|
+
spaces(count) {
|
|
349
|
+
count && _validateLength(count);
|
|
350
|
+
return _register.call(this, 'spaces', arguments);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Rule to invert the effects of 'not'
|
|
355
|
+
* Apart from that, 'has' is also used
|
|
356
|
+
* to make the api readable and chainable
|
|
357
|
+
*/
|
|
358
|
+
has() {
|
|
359
|
+
return _register.call(this, 'has', arguments);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Rule to invert the next applied rules.
|
|
364
|
+
* All the rules applied after 'not' will have opposite effect,
|
|
365
|
+
* until 'has' rule is applied
|
|
366
|
+
*/
|
|
367
|
+
not() {
|
|
368
|
+
return _register.call(this, 'not', arguments);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Rule to invert the effects of 'not'
|
|
373
|
+
* Apart from that, 'is' is also used
|
|
374
|
+
* to make the api readable and chainable
|
|
375
|
+
*/
|
|
376
|
+
is() {
|
|
377
|
+
return _register.call(this, 'is', arguments);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Rule to whitelist words to be used as password
|
|
382
|
+
*
|
|
383
|
+
* @param {array} list - list of values allowed
|
|
384
|
+
*/
|
|
385
|
+
oneOf() {
|
|
386
|
+
return _register.call(this, 'oneOf', arguments);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
var src = PasswordValidator;
|
|
391
|
+
|
|
392
|
+
const passwordSchema = new src()
|
|
393
|
+
.is()
|
|
394
|
+
.min(8) // Minimum length 8
|
|
395
|
+
.has()
|
|
396
|
+
.uppercase() // Must have uppercase letters
|
|
397
|
+
.has()
|
|
398
|
+
.lowercase() // Must have lowercase letters
|
|
399
|
+
.has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/); // Must contain at least 1 digit or symbol
|
|
400
|
+
// Taken from combining https://github.com/tarunbatra/password-validator/blob/40184970e4f65efa8aed7a64185a011a3b5d0e54/src/constants.js#L9
|
|
401
|
+
const validateNewPassword = (password) => {
|
|
402
|
+
const errors = passwordSchema.validate(password, { list: true });
|
|
403
|
+
const message = getErrorMessage(errors, password);
|
|
404
|
+
return message;
|
|
405
|
+
};
|
|
406
|
+
const Valid = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" },
|
|
407
|
+
h("path", { d: "M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z", fill: "#259053" })));
|
|
408
|
+
const Invalid = () => (h("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
409
|
+
h("path", { d: "M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z", fill: "#555555" })));
|
|
410
|
+
const validationMessages = {
|
|
411
|
+
min: "be a minimum of 8 characters",
|
|
412
|
+
uppercase: "contain at least 1 uppercase character",
|
|
413
|
+
lowercase: "contain at least 1 lowercase character",
|
|
414
|
+
has: "contain at least 1 number or symbol",
|
|
415
|
+
};
|
|
416
|
+
const baseItem = {
|
|
417
|
+
display: "flex",
|
|
418
|
+
alignItems: "center",
|
|
419
|
+
fontSize: "var(--sl-font-size-small)",
|
|
420
|
+
"& > :not(:last-child)": {
|
|
421
|
+
"margin-right": "var(--sl-spacing-x-small)",
|
|
422
|
+
},
|
|
423
|
+
};
|
|
424
|
+
const style = {
|
|
425
|
+
Base: {
|
|
426
|
+
fontSize: "var(--sl-font-size-small)",
|
|
427
|
+
},
|
|
428
|
+
ValidationList: {
|
|
429
|
+
"list-style-type": "none",
|
|
430
|
+
paddingRight: "var(--sl-spacing-large)",
|
|
431
|
+
margin: "var(--sl-spacing-small) 0 var(--sl-spacing-x-large)",
|
|
432
|
+
"& > :not(:last-child)": {
|
|
433
|
+
"margin-bottom": "var(--sl-spacing-xx-small)",
|
|
434
|
+
},
|
|
435
|
+
"& *": {
|
|
436
|
+
"line-height": "var(--sl-line-height-dense)",
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
ValidationItemValid: {
|
|
440
|
+
...baseItem,
|
|
441
|
+
color: "var(--sl-color-success-600)",
|
|
442
|
+
},
|
|
443
|
+
ValidationItemInvalid: { ...baseItem },
|
|
444
|
+
};
|
|
445
|
+
jss.setup(create());
|
|
446
|
+
const sheet = jss.createStyleSheet(style);
|
|
447
|
+
const styleString = sheet.toString();
|
|
448
|
+
const getErrorMessage = (errorKeys, password) => {
|
|
449
|
+
if (!errorKeys.length && password)
|
|
450
|
+
return (h("div", { class: sheet.classes.ValidationItemValid, style: { paddingBottom: "var(--sl-spacing-x-large)" } },
|
|
451
|
+
h("style", { type: "text/css" }, styleString),
|
|
452
|
+
h(Valid, null),
|
|
453
|
+
" ",
|
|
454
|
+
h("span", null, "Password has met all requirements")));
|
|
455
|
+
return (h("div", { class: sheet.classes.Base },
|
|
456
|
+
h("style", { type: "text/css" }, styleString),
|
|
457
|
+
"Password must meet the following requirements:",
|
|
458
|
+
h("ul", { class: sheet.classes.ValidationList }, Object.keys(validationMessages).map((errorKey) => errorKeys.includes(errorKey) ? (h("li", { class: sheet.classes.ValidationItemInvalid },
|
|
459
|
+
h(Invalid, null),
|
|
460
|
+
" ",
|
|
461
|
+
h("span", null, validationMessages[errorKey]))) : (h("li", { class: sheet.classes.ValidationItemValid },
|
|
462
|
+
h(Valid, null),
|
|
463
|
+
" ",
|
|
464
|
+
h("span", null, validationMessages[errorKey])))))));
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
const style$1 = {
|
|
468
|
+
InputContainer: {
|
|
469
|
+
"& > :not(:last-child)": {
|
|
470
|
+
"margin-bottom": "20px",
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
ErrorStyle: ErrorStyles,
|
|
474
|
+
};
|
|
475
|
+
const vanillaStyle = `
|
|
476
|
+
:host {
|
|
477
|
+
margin: 0 auto;
|
|
478
|
+
width: 100%;
|
|
479
|
+
display: block;
|
|
480
|
+
}
|
|
481
|
+
:host([hidden]): {
|
|
482
|
+
display: none;
|
|
483
|
+
}
|
|
484
|
+
`;
|
|
485
|
+
jss.setup(create());
|
|
486
|
+
const sheet$1 = jss.createStyleSheet(style$1);
|
|
487
|
+
const styleString$1 = sheet$1.toString();
|
|
488
|
+
function PortalResetPasswordView(props) {
|
|
489
|
+
var _a, _b;
|
|
490
|
+
const { states, callbacks } = props;
|
|
491
|
+
return (h("div", { class: sheet$1.classes.InputContainer },
|
|
492
|
+
h("style", { type: "text/css" },
|
|
493
|
+
vanillaStyle,
|
|
494
|
+
styleString$1),
|
|
495
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, validationError: ({ value }) => {
|
|
496
|
+
if (!value) {
|
|
497
|
+
return "Cannot be empty";
|
|
498
|
+
}
|
|
499
|
+
} }, (((_a = states.validationErrors) === null || _a === void 0 ? void 0 : _a.password) ? {
|
|
500
|
+
class: sheet$1.classes.ErrorStyle,
|
|
501
|
+
helpText: ((_b = states.validationErrors) === null || _b === void 0 ? void 0 : _b.password) || "Cannot be empty",
|
|
502
|
+
}
|
|
503
|
+
: []), { onInput: (input) => states.enableValidation && callbacks.onInput(input) })),
|
|
504
|
+
states.dynamicValidation));
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
const CONTEXT_NAME = "sq:validation-state";
|
|
508
|
+
function usePasswordField(props) {
|
|
509
|
+
const validationState = d(CONTEXT_NAME);
|
|
510
|
+
const [dynamicValidation, setDynamicValidation] = useState("");
|
|
511
|
+
function onInput(input) {
|
|
512
|
+
const validation = validateNewPassword(input.target.value);
|
|
513
|
+
setDynamicValidation(validation);
|
|
514
|
+
}
|
|
515
|
+
return {
|
|
516
|
+
states: {
|
|
517
|
+
enableValidation: props.enableValidation,
|
|
518
|
+
dynamicValidation,
|
|
519
|
+
validationErrors: validationState === null || validationState === void 0 ? void 0 : validationState.validationErrors,
|
|
520
|
+
content: {
|
|
521
|
+
fieldLabel: props.fieldLabel,
|
|
522
|
+
},
|
|
523
|
+
},
|
|
524
|
+
callbacks: {
|
|
525
|
+
onInput,
|
|
526
|
+
},
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
const PortalPasswordField = class {
|
|
531
|
+
constructor(hostRef) {
|
|
532
|
+
registerInstance(this, hostRef);
|
|
533
|
+
this.ignored = true;
|
|
534
|
+
/**
|
|
535
|
+
* @uiName Label for password field
|
|
536
|
+
*/
|
|
537
|
+
this.fieldLabel = "Password";
|
|
538
|
+
/**
|
|
539
|
+
* @uiName Enable live password validation
|
|
540
|
+
*/
|
|
541
|
+
this.enableValidation = true;
|
|
542
|
+
h$1(this);
|
|
543
|
+
}
|
|
544
|
+
disconnectedCallback() { }
|
|
545
|
+
render() {
|
|
546
|
+
const { states, callbacks } = j()
|
|
547
|
+
? usePasswordFieldDemo(this)
|
|
548
|
+
: usePasswordField(this);
|
|
549
|
+
return h(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
function usePasswordFieldDemo(props) {
|
|
553
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
554
|
+
const [dynamicValidation, setDynamicValidation] = useState("");
|
|
555
|
+
const [lastValidated, setLastValidated] = useState("");
|
|
556
|
+
if (props.demoData && lastValidated != ((_a = props === null || props === void 0 ? void 0 : props.demoData) === null || _a === void 0 ? void 0 : _a.initValue)) {
|
|
557
|
+
const validation = validateNewPassword(((_b = props === null || props === void 0 ? void 0 : props.demoData) === null || _b === void 0 ? void 0 : _b.initValue) || "");
|
|
558
|
+
setDynamicValidation(((_c = props === null || props === void 0 ? void 0 : props.demoData) === null || _c === void 0 ? void 0 : _c.initValue) === "" ? "" : validation);
|
|
559
|
+
setLastValidated((_d = props === null || props === void 0 ? void 0 : props.demoData) === null || _d === void 0 ? void 0 : _d.initValue);
|
|
560
|
+
}
|
|
561
|
+
function onInput(input) {
|
|
562
|
+
const validation = validateNewPassword(input.target.value);
|
|
563
|
+
setDynamicValidation(validation);
|
|
564
|
+
}
|
|
565
|
+
return cjs({
|
|
566
|
+
states: {
|
|
567
|
+
enableValidation: true,
|
|
568
|
+
dynamicValidation,
|
|
569
|
+
validationErrors: ((_f = (_e = props === null || props === void 0 ? void 0 : props.demoData) === null || _e === void 0 ? void 0 : _e.states) === null || _f === void 0 ? void 0 : _f.validationErrors) || {},
|
|
570
|
+
content: {
|
|
571
|
+
fieldLabel: "Password",
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
callbacks: {
|
|
575
|
+
onInput,
|
|
576
|
+
},
|
|
577
|
+
}, ((_g = props === null || props === void 0 ? void 0 : props.demoData) === null || _g === void 0 ? void 0 : _g.states) || {}, { arrayMerge: (_, a) => a });
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export { PortalPasswordField as sqm_password_field };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
4
|
-
import
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import { g as h$1 } from './stencil-hooks.module-6c912534.js';
|
|
4
|
+
import './use-callback-c9ed6790.js';
|
|
5
|
+
import { x } from './index.module-c73aa358.js';
|
|
6
|
+
import './extends-c31f1eff.js';
|
|
5
7
|
import { g as getProps } from './utils-454405f5.js';
|
|
6
8
|
|
|
7
9
|
const PopupContainerView = (props) => {
|
package/dist/esm/{sqm-portal-container-view-73757ca5.js → sqm-portal-container-view-fe231c27.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { j as jss, c as create } from './jss-preset-default.esm-
|
|
2
|
+
import { j as jss, c as create } from './jss-preset-default.esm-8bd9f480.js';
|
|
3
3
|
|
|
4
4
|
function PortalContainerView(props, children) {
|
|
5
5
|
const style = {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import { g as h } from './stencil-hooks.module-6c912534.js';
|
|
4
|
+
import './extends-c31f1eff.js';
|
|
5
|
+
import './jss-preset-default.esm-8bd9f480.js';
|
|
4
6
|
import { g as getProps } from './utils-454405f5.js';
|
|
5
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
7
|
+
import { P as PortalContainerView } from './sqm-portal-container-view-fe231c27.js';
|
|
6
8
|
|
|
7
9
|
const PortalContainer = class {
|
|
8
10
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
3
|
-
import { j as jss, c as create } from './jss-preset-default.esm-
|
|
2
|
+
import { i as intl } from './global-b8ca87f2.js';
|
|
3
|
+
import { j as jss, c as create } from './jss-preset-default.esm-8bd9f480.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-10353a39.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-1d0562a7.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
8
8
|
Wrapper: AuthWrapper,
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import
|
|
3
|
-
import './global-
|
|
4
|
-
import './
|
|
5
|
-
import
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import './global-b8ca87f2.js';
|
|
4
|
+
import { e as useState, u as useEffect, g as h } from './stencil-hooks.module-6c912534.js';
|
|
5
|
+
import './use-callback-c9ed6790.js';
|
|
6
|
+
import { B as Be, T, j } from './index.module-c73aa358.js';
|
|
7
|
+
import './extends-c31f1eff.js';
|
|
8
|
+
import './insertcss-bcaf3818.js';
|
|
9
|
+
import './jss-preset-default.esm-8bd9f480.js';
|
|
8
10
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
9
11
|
import './mixins-10353a39.js';
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
12
|
+
import './sqm-text-span-view-1d0562a7.js';
|
|
13
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-6d211c39.js';
|
|
12
14
|
|
|
13
15
|
function usePortalEmailVerification(props) {
|
|
14
16
|
var _a, _b, _c, _d, _e;
|
|
15
17
|
const [request, { loading, data, errors }] = Be();
|
|
16
18
|
const userIdent = T();
|
|
17
19
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
20
|
+
console.log({ userIdent, email });
|
|
18
21
|
const [success, setSuccess] = useState(false);
|
|
19
22
|
const [error, setError] = useState("");
|
|
20
23
|
const urlParams = new URLSearchParams(window.location.search);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
3
|
-
import { j as jss, c as create } from './jss-preset-default.esm-
|
|
2
|
+
import { i as intl } from './global-b8ca87f2.js';
|
|
3
|
+
import { j as jss, c as create } from './jss-preset-default.esm-8bd9f480.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
6
6
|
return (h("svg", { width: width, height: height, viewBox: "0 0 132 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -77,4 +77,4 @@ function PortalFooterView(props) {
|
|
|
77
77
|
h(PoweredByImg, null)))));
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { PortalFooterView as P, PoweredByImg as a };
|