@saasquatch/mint-components 1.3.2-9 → 1.3.3-3
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-ff7fbc86.js → global-d7ca0a0e.js} +101 -353
- package/dist/cjs/{sqm-leaderboard-rank-view-a99b4cd9.js → index-64f4aee3.js} +2 -9
- package/dist/cjs/index-8c6255f5.js +297 -0
- package/dist/cjs/{index.module-7dd4b981.js → index.module-89be78a4.js} +36 -36
- 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 -5
- package/dist/cjs/luxon-f85e2807.js +8348 -0
- package/dist/cjs/mint-components.cjs.js +8 -5
- package/dist/cjs/{re-render-6111d4bd.js → re-render-0ebbb7c2.js} +4 -4
- 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 +5496 -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-view-35015d30.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -10
- 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-6c7f78e6.js → sqm-navigation-sidebar-item-view-4e9e08b8.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-2cebd06b.js → sqm-portal-email-verification-view-deecc4ea.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -12
- package/dist/cjs/{sqm-portal-footer-view-de1763c4.js → sqm-portal-footer-view-c497e7f8.js} +2 -2
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +10 -7
- 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 +6 -4
- package/dist/cjs/{sqm-portal-profile-view-680ee551.js → sqm-portal-profile-view-7a950967.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +19 -16
- 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 +19 -13
- 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 +22 -16
- package/dist/cjs/sqm-referral-iframe-view-d64e955e.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-f22ebd22.js +578 -0
- package/dist/cjs/{ShadowViewAddon-a85b8c8d.js → useLeaderboard-d4212a39.js} +35 -35
- package/dist/collection/collection-manifest.json +3 -7
- 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-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-register/sqm-portal-register.js +28 -2
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +25 -0
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +25 -0
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +2 -2
- 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-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +36 -48
- 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-router → 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-923aa737.js → global-5d6ef5e9.js} +74 -325
- package/dist/esm/{sqm-leaderboard-rank-view-747ffda8.js → index-ea4f13e6.js} +3 -9
- package/dist/esm/index-ffa26b43.js +295 -0
- package/dist/esm/{index.module-90d2c3ad.js → index.module-6797c7e3.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 -5
- package/dist/esm/luxon-c3b19a84.js +8346 -0
- package/dist/esm/mint-components.js +8 -5
- package/dist/esm/{re-render-e06f2f7f.js → re-render-8303a033.js} +3 -3
- 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 +5479 -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-view-da91f5f3.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +9 -5
- 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-f2304ad9.js → sqm-navigation-sidebar-item-view-cea787b9.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-a3ebc4a2.js → sqm-portal-email-verification-view-60b2f80d.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +10 -7
- package/dist/esm/{sqm-portal-footer-view-7b8a02b1.js → sqm-portal-footer-view-77a5d0ed.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +9 -6
- 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 +5 -3
- package/dist/esm/{sqm-portal-profile-view-4ce8d89d.js → sqm-portal-profile-view-70b2a136.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +12 -9
- 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 +13 -7
- 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 +14 -8
- package/dist/esm/sqm-referral-iframe-view-814425e2.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-192749de.js +574 -0
- package/dist/esm/{ShadowViewAddon-a3f510db.js → useLeaderboard-6495a7a3.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-923aa737.js → global-5d6ef5e9.js} +2 -2
- package/dist/esm-es5/index-ea4f13e6.js +1 -0
- package/dist/esm-es5/index-ffa26b43.js +1 -0
- package/dist/esm-es5/index.module-6797c7e3.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-8303a033.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-view-da91f5f3.js +1 -0
- 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-f2304ad9.js → sqm-navigation-sidebar-item-view-cea787b9.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-a3ebc4a2.js → sqm-portal-email-verification-view-60b2f80d.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-7b8a02b1.js → sqm-portal-footer-view-77a5d0ed.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-4ce8d89d.js → sqm-portal-profile-view-70b2a136.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-814425e2.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-192749de.js +1 -0
- package/dist/esm-es5/useLeaderboard-6495a7a3.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-01577a8a.entry.js +1 -0
- package/dist/mint-components/p-06a36549.entry.js +1 -0
- package/dist/mint-components/p-0733ed62.system.js +1 -0
- package/dist/mint-components/p-09a1f7a0.entry.js +1 -0
- package/dist/mint-components/p-0a28a805.system.entry.js +1 -0
- package/dist/mint-components/{p-e817ca6b.js → p-0a747d01.js} +1 -1
- 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-a8b913a8.js → p-1103bb42.js} +1 -1
- package/dist/mint-components/p-11a8e836.entry.js +1 -0
- package/dist/mint-components/{p-55f8387d.system.js → p-11e39dee.system.js} +1 -1
- package/dist/mint-components/p-134abc9b.entry.js +1 -0
- package/dist/mint-components/p-1839d503.entry.js +1 -0
- package/dist/mint-components/p-188a1fc9.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-1d620e57.entry.js +1 -0
- package/dist/mint-components/p-1dbf464d.entry.js +1 -0
- package/dist/mint-components/p-21233508.system.entry.js +1 -0
- package/dist/mint-components/{p-952ed169.js → p-219ecfe5.js} +1 -1
- package/dist/mint-components/p-22119da0.js +1 -0
- package/dist/mint-components/p-239e2ed7.system.entry.js +1 -0
- package/dist/mint-components/p-25ac3208.entry.js +1 -0
- package/dist/mint-components/p-268a00cf.js +17 -0
- package/dist/mint-components/{p-739b3032.js → p-2bc6150e.js} +1 -1
- package/dist/mint-components/p-2ccb88a4.entry.js +1 -0
- package/dist/mint-components/{p-d35b0366.js → p-2e480415.js} +1 -1
- package/dist/mint-components/p-2e65f5d2.js +1 -0
- package/dist/mint-components/p-300d80c9.system.entry.js +1 -0
- package/dist/mint-components/p-3069e932.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-33d4c0f1.system.entry.js +1 -0
- package/dist/mint-components/p-3a753964.system.entry.js +1 -0
- package/dist/mint-components/p-40928765.entry.js +205 -0
- package/dist/mint-components/p-42d17428.system.js +1 -0
- package/dist/mint-components/{p-223b42bd.system.entry.js → p-47877816.system.entry.js} +1 -1
- package/dist/mint-components/p-48457904.system.js +53 -0
- package/dist/mint-components/p-4afdfdbc.system.entry.js +1 -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-56326b1c.entry.js +1 -0
- package/dist/mint-components/p-5726f9b9.entry.js +1 -0
- package/dist/mint-components/{p-1b7d89a7.system.js → p-58771a46.system.js} +1 -1
- package/dist/mint-components/p-596ea573.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-5ca6cfb1.system.js +1 -0
- package/dist/mint-components/p-5ddabe60.system.js +1 -0
- package/dist/mint-components/p-5e57d2c6.system.js +1 -0
- package/dist/mint-components/{p-1575e8a3.system.js → p-5eb742d7.system.js} +1 -1
- 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-43fc3f99.system.js → p-63bdaf92.system.js} +1 -1
- package/dist/mint-components/p-669d63c8.system.entry.js +1 -0
- package/dist/mint-components/{p-562199e3.system.js → p-688ee2e6.system.js} +1 -1
- package/dist/mint-components/p-6981ad3c.entry.js +1 -0
- package/dist/mint-components/p-6a88774d.entry.js +1 -0
- package/dist/mint-components/{p-8ee4c2d2.system.js → p-73b2760a.system.js} +1 -1
- 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-76b88f70.system.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-81f34787.js +1 -0
- package/dist/mint-components/p-8310053d.system.entry.js +1 -0
- package/dist/mint-components/p-83bbebc4.system.entry.js +1 -0
- package/dist/mint-components/p-841bbf99.entry.js +1 -0
- package/dist/mint-components/p-84f01dce.js +1 -0
- package/dist/mint-components/{p-772f52da.entry.js → p-86171ec8.entry.js} +3 -3
- package/dist/mint-components/p-86f1c93f.entry.js +1 -0
- package/dist/mint-components/p-87808800.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-8aead9de.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-8e5cc223.system.entry.js +1 -0
- package/dist/mint-components/p-92bd9068.entry.js +1 -0
- package/dist/mint-components/p-94f14e93.entry.js +1 -0
- package/dist/mint-components/p-95657c3d.system.entry.js +1 -0
- package/dist/mint-components/p-98cf8c8a.system.entry.js +1 -0
- package/dist/mint-components/{p-3ce2fb83.system.js → p-9999a0d9.system.js} +1 -1
- package/dist/mint-components/p-99eda7e9.entry.js +1 -0
- package/dist/mint-components/p-9a0b33d5.js +227 -0
- package/dist/mint-components/{p-dc75a335.js → p-9bd0b625.js} +153 -153
- 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-1bfed119.system.js → p-a419789f.system.js} +1 -1
- package/dist/mint-components/p-a4cd6394.js +1 -0
- package/dist/mint-components/p-a6f149a3.system.entry.js +1 -0
- package/dist/mint-components/p-a8e061d3.system.entry.js +1 -0
- package/dist/mint-components/p-a8f4e577.system.entry.js +1 -0
- package/dist/mint-components/p-aa1b09ae.system.entry.js +1 -0
- package/dist/mint-components/p-aada2237.system.entry.js +1 -0
- 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-b3af1c6f.js +1 -0
- package/dist/mint-components/p-b542019e.entry.js +1 -0
- package/dist/mint-components/p-b7060a6f.entry.js +9 -0
- package/dist/mint-components/p-bb8888a7.js +1 -0
- package/dist/mint-components/p-bf055b6c.system.js +1 -0
- package/dist/mint-components/{p-ad0f47dc.js → p-c1578593.js} +1 -1
- package/dist/mint-components/p-c318358f.entry.js +1 -0
- package/dist/mint-components/p-c54e7713.system.entry.js +1 -0
- package/dist/mint-components/p-c5dce1f2.system.entry.js +1 -0
- package/dist/mint-components/p-c61bdebb.js +26 -0
- package/dist/mint-components/p-ca384345.system.entry.js +1 -0
- package/dist/mint-components/{p-593d2266.system.js → p-caf8eca0.system.js} +22 -22
- package/dist/mint-components/{p-69f28472.system.js → p-cde646f9.system.js} +1 -1
- package/dist/mint-components/{p-b7ea778a.js → p-ce46e200.js} +1 -1
- package/dist/mint-components/p-d01a999c.system.js +1 -0
- package/dist/mint-components/p-d1fe9867.system.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-d7ede23d.system.entry.js +1 -0
- package/dist/mint-components/p-d9876165.entry.js +1 -0
- package/dist/mint-components/p-de2b7932.js +1 -0
- package/dist/mint-components/p-deae69d8.entry.js +13 -0
- package/dist/mint-components/p-df789324.js +1 -0
- package/dist/mint-components/p-dfe5a97d.js +1 -0
- package/dist/mint-components/{p-509dda90.js → p-e26d2c51.js} +1 -1
- package/dist/mint-components/p-e3b47a40.entry.js +1 -0
- package/dist/mint-components/{p-bd903567.js → p-e86c29c0.js} +1 -1
- package/dist/mint-components/{p-c6114bfe.system.js → p-e95d28e9.system.js} +1 -1
- package/dist/mint-components/p-e9a66887.entry.js +1 -0
- package/dist/mint-components/p-ea2de715.system.entry.js +1 -0
- package/dist/mint-components/p-eb4a2d88.system.entry.js +1 -0
- package/dist/mint-components/p-eb8d03be.system.entry.js +1 -0
- package/dist/mint-components/p-ec7668af.system.entry.js +1 -0
- package/dist/mint-components/{p-73148868.system.entry.js → p-f174fd96.system.entry.js} +1 -1
- 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-fa6d2643.system.js +1 -0
- package/dist/mint-components/p-fac5518f.system.entry.js +1 -0
- package/dist/mint-components/p-fb895943.system.entry.js +1 -0
- package/dist/mint-components/p-fbe6c3a2.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/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +4 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +4 -0
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -1
- 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 +48 -269
- 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-router → 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_30.cjs.entry.js +0 -28637
- package/dist/cjs/use-callback-fadb2643.js +0 -7
- package/dist/cjs/useDemoBigStat-2786227e.js +0 -968
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +0 -21
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +0 -218
- 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 -270
- 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/UseRewardsTable.stories.js +0 -53
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-column.js +0 -120
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +0 -222
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +0 -194
- 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_30.entry.js +0 -28604
- package/dist/esm/useDemoBigStat-c3b955b7.js +0 -963
- package/dist/esm-es5/ShadowViewAddon-a3f510db.js +0 -1
- package/dist/esm-es5/index.module-90d2c3ad.js +0 -1
- package/dist/esm-es5/re-render-e06f2f7f.js +0 -1
- package/dist/esm-es5/sqm-divided-layout_30.entry.js +0 -1
- package/dist/esm-es5/sqm-hero-view-bfd8abd1.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-747ffda8.js +0 -1
- package/dist/esm-es5/use-callback-b38a1523.js +0 -1
- package/dist/esm-es5/useDemoBigStat-c3b955b7.js +0 -1
- package/dist/mint-components/assets/Reward-icon.png +0 -0
- package/dist/mint-components/p-015b683f.system.js +0 -53
- package/dist/mint-components/p-0382a7b0.entry.js +0 -1
- package/dist/mint-components/p-08e75345.system.entry.js +0 -1
- package/dist/mint-components/p-0a39b23c.system.entry.js +0 -1
- package/dist/mint-components/p-0b4af41a.system.entry.js +0 -1
- package/dist/mint-components/p-0bcefa93.entry.js +0 -1
- package/dist/mint-components/p-0c67ccfd.system.entry.js +0 -1
- package/dist/mint-components/p-160bd62f.entry.js +0 -1
- package/dist/mint-components/p-1a09e4e1.system.entry.js +0 -1
- package/dist/mint-components/p-1c8b0290.entry.js +0 -1
- package/dist/mint-components/p-1dcdca58.system.entry.js +0 -1
- package/dist/mint-components/p-1e182e88.system.js +0 -1
- package/dist/mint-components/p-20d41ab1.entry.js +0 -1
- package/dist/mint-components/p-221a4097.entry.js +0 -1
- package/dist/mint-components/p-224504ad.js +0 -1
- package/dist/mint-components/p-24b3c6f0.system.entry.js +0 -1
- package/dist/mint-components/p-24c9a599.system.entry.js +0 -1
- package/dist/mint-components/p-282ed862.js +0 -1
- package/dist/mint-components/p-29fab29b.entry.js +0 -1
- package/dist/mint-components/p-2e43ba45.entry.js +0 -13
- package/dist/mint-components/p-304e6c82.system.entry.js +0 -1
- package/dist/mint-components/p-3397167c.entry.js +0 -1
- package/dist/mint-components/p-396bf448.system.entry.js +0 -1
- package/dist/mint-components/p-3b97aed8.system.js +0 -1
- package/dist/mint-components/p-3d856985.entry.js +0 -1
- package/dist/mint-components/p-4052b948.system.entry.js +0 -1
- package/dist/mint-components/p-412a9226.system.entry.js +0 -1
- package/dist/mint-components/p-412d31b1.js +0 -1
- package/dist/mint-components/p-45c752a0.entry.js +0 -1
- package/dist/mint-components/p-53ec4863.entry.js +0 -1
- package/dist/mint-components/p-5480e4ee.entry.js +0 -1
- package/dist/mint-components/p-55508395.system.entry.js +0 -1
- package/dist/mint-components/p-563253e8.js +0 -17
- package/dist/mint-components/p-69bcf4fa.system.entry.js +0 -1
- package/dist/mint-components/p-6d27cd05.system.entry.js +0 -1
- package/dist/mint-components/p-6e245fa3.system.entry.js +0 -1
- package/dist/mint-components/p-8435a22d.entry.js +0 -1
- package/dist/mint-components/p-883a32e7.entry.js +0 -1
- package/dist/mint-components/p-8a7ac67b.entry.js +0 -335
- package/dist/mint-components/p-9c554ca0.system.js +0 -1
- package/dist/mint-components/p-9d6dbb2d.entry.js +0 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
- package/dist/mint-components/p-a2c3cff3.js +0 -1
- package/dist/mint-components/p-a4c2c7ed.entry.js +0 -1
- package/dist/mint-components/p-a565e753.entry.js +0 -1
- package/dist/mint-components/p-ade44a4e.entry.js +0 -1
- package/dist/mint-components/p-b7fc2c67.entry.js +0 -1
- package/dist/mint-components/p-b8bd2607.entry.js +0 -1
- package/dist/mint-components/p-ba505a8c.js +0 -1
- package/dist/mint-components/p-bbf5ba89.system.entry.js +0 -1
- package/dist/mint-components/p-be2738b0.system.entry.js +0 -1
- package/dist/mint-components/p-c3bf9440.entry.js +0 -1
- package/dist/mint-components/p-c79c608d.system.entry.js +0 -1
- package/dist/mint-components/p-c9e3b7bc.js +0 -1
- package/dist/mint-components/p-cca9026f.system.entry.js +0 -1
- package/dist/mint-components/p-cd410a05.entry.js +0 -9
- package/dist/mint-components/p-cdeae699.system.js +0 -1
- package/dist/mint-components/p-d174d0bc.system.entry.js +0 -1
- package/dist/mint-components/p-d60085ae.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-e426715b.js +0 -1
- package/dist/mint-components/p-e43cc1f8.system.entry.js +0 -1
- package/dist/mint-components/p-ebcd8a59.js +0 -1
- package/dist/mint-components/p-f17050de.entry.js +0 -1
- package/dist/mint-components/p-f85f36c6.system.entry.js +0 -1
- package/dist/mint-components/p-f90486ca.js +0 -235
- package/dist/mint-components/p-f9cb55dc.entry.js +0 -1
- package/dist/mint-components/p-fce1dbf6.entry.js +0 -1
- package/dist/mint-components/p-fee468b7.system.entry.js +0 -1
- package/dist/mint-components/p-ff616282.system.js +0 -1
- package/dist/mint-components/p-ffbe112d.system.js +0 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +0 -6
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +0 -81
- 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 -25
- 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/UseRewardsTable.stories.d.ts +0 -16
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-column.d.ts +0 -20
- 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 -38
- 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/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- 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-6797c7e3.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-6797c7e3.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-5d6ef5e9.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,13 +1,16 @@
|
|
|
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 './
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import './global-5d6ef5e9.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-6797c7e3.js';
|
|
7
|
+
import './extends-c31f1eff.js';
|
|
8
|
+
import './insertcss-bcaf3818.js';
|
|
9
|
+
import './jss-preset-default.esm-8bd9f480.js';
|
|
7
10
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
11
|
import './mixins-10353a39.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
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-60b2f80d.js';
|
|
11
14
|
|
|
12
15
|
function usePortalEmailVerification(props) {
|
|
13
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -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-5d6ef5e9.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 };
|
|
@@ -1,11 +1,14 @@
|
|
|
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 './
|
|
2
|
+
import './_commonjsHelpers-11ca3be1.js';
|
|
3
|
+
import './global-5d6ef5e9.js';
|
|
4
|
+
import { g as h } from './stencil-hooks.module-6c912534.js';
|
|
5
|
+
import './use-callback-c9ed6790.js';
|
|
6
|
+
import './index.module-6797c7e3.js';
|
|
7
|
+
import './extends-c31f1eff.js';
|
|
8
|
+
import './insertcss-bcaf3818.js';
|
|
9
|
+
import './jss-preset-default.esm-8bd9f480.js';
|
|
7
10
|
import { g as getProps } from './utils-454405f5.js';
|
|
8
|
-
import {
|
|
11
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-77a5d0ed.js';
|
|
9
12
|
|
|
10
13
|
const PortalFooter = class {
|
|
11
14
|
constructor(hostRef) {
|