@saasquatch/mint-components 1.3.2-8 → 1.3.2-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-75c18b96.js → ShadowViewAddon-a85b8c8d.js} +1 -1
- package/dist/cjs/{global-041b5338.js → global-ff7fbc86.js} +107 -56
- package/dist/cjs/{index.module-6a7bda18.js → index.module-7dd4b981.js} +2 -1
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/mint-components.cjs.js +3 -4
- package/dist/cjs/{re-render-7cdb2d81.js → re-render-6111d4bd.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-divided-layout_28.cjs.entry.js → sqm-divided-layout_30.cjs.entry.js} +745 -83
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/{index-19309631.js → sqm-leaderboard-rank-view-a99b4cd9.js} +10 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -9
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
- package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-e99b4a10.js → sqm-navigation-sidebar-item-view-6c7f78e6.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-5e955797.js → sqm-portal-email-verification-view-2cebd06b.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -4
- package/dist/cjs/{sqm-portal-footer-view-9089feb7.js → sqm-portal-footer-view-de1763c4.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-a23ea292.js → sqm-portal-profile-view-680ee551.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-share-code.cjs.entry.js +1 -1
- package/dist/cjs/{useDemoBigStat-051a69f7.js → useDemoBigStat-2786227e.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +21 -0
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +218 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +57 -42
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -2
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +1 -1
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +53 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-column.js +120 -0
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +11 -12
- package/dist/collection/components/{sqm-rewards-table → sqm-router}/Router.stories.js +0 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +5 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +2 -2
- package/dist/esm/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-a3f510db.js} +1 -1
- package/dist/esm/{global-5ecbf81a.js → global-923aa737.js} +54 -3
- package/dist/esm/{index.module-f80561db.js → index.module-90d2c3ad.js} +2 -2
- package/dist/esm/loader.js +3 -4
- package/dist/esm/mint-components.js +3 -4
- package/dist/esm/{re-render-9ab5fe0f.js → re-render-e06f2f7f.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat.entry.js +2 -2
- package/dist/esm/{sqm-divided-layout_28.entry.js → sqm-divided-layout_30.entry.js} +739 -79
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/{index-2f5dd0a1.js → sqm-leaderboard-rank-view-747ffda8.js} +9 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -5
- package/dist/esm/sqm-leaderboard.entry.js +2 -2
- package/dist/esm/sqm-name-fields.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f2304ad9.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-a3ebc4a2.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -4
- package/dist/esm/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-7b8a02b1.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-4ce8d89d.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
- package/dist/esm/sqm-share-code.entry.js +1 -1
- package/dist/esm/{useDemoBigStat-95889548.js → useDemoBigStat-c3b955b7.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-a3f510db.js} +1 -1
- package/dist/esm-es5/{global-5ecbf81a.js → global-923aa737.js} +16 -2
- package/dist/esm-es5/{index.module-f80561db.js → index.module-90d2c3ad.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-9ab5fe0f.js → re-render-e06f2f7f.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_30.entry.js +1 -0
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-747ffda8.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.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f2304ad9.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-a3ebc4a2.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-7b8a02b1.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-4ce8d89d.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.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/esm-es5/{useDemoBigStat-95889548.js → useDemoBigStat-c3b955b7.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-0382a7b0.entry.js +1 -0
- package/dist/mint-components/p-08e75345.system.entry.js +1 -0
- package/dist/mint-components/p-0b4af41a.system.entry.js +1 -0
- package/dist/mint-components/p-0c67ccfd.system.entry.js +1 -0
- package/dist/mint-components/{p-337b49ee.entry.js → p-160bd62f.entry.js} +1 -1
- package/dist/mint-components/{p-4ba2faf2.system.entry.js → p-1a09e4e1.system.entry.js} +1 -1
- package/dist/mint-components/{p-3052c913.system.js → p-1bfed119.system.js} +1 -1
- package/dist/mint-components/p-1c8b0290.entry.js +1 -0
- package/dist/mint-components/{p-7c13e32e.system.entry.js → p-1dcdca58.system.entry.js} +1 -1
- package/dist/mint-components/p-20d41ab1.entry.js +1 -0
- package/dist/mint-components/{p-e9ab90a1.entry.js → p-221a4097.entry.js} +1 -1
- package/dist/mint-components/{p-a0045707.system.entry.js → p-223b42bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-cc3510c8.js → p-224504ad.js} +1 -1
- package/dist/mint-components/{p-2a025d2a.system.entry.js → p-24b3c6f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-1b414d8f.system.entry.js → p-24c9a599.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7f0b2f6.entry.js → p-29fab29b.entry.js} +1 -1
- package/dist/mint-components/p-2e43ba45.entry.js +13 -0
- package/dist/mint-components/{p-e475a5ff.system.entry.js → p-304e6c82.system.entry.js} +1 -1
- package/dist/mint-components/{p-5f28af29.entry.js → p-3397167c.entry.js} +1 -1
- package/dist/mint-components/{p-04516274.system.entry.js → p-396bf448.system.entry.js} +1 -1
- package/dist/mint-components/p-3b97aed8.system.js +1 -0
- package/dist/mint-components/{p-3b0acfcd.system.js → p-3ce2fb83.system.js} +1 -1
- package/dist/mint-components/{p-82d7a2ba.entry.js → p-3d856985.entry.js} +1 -1
- package/dist/mint-components/{p-af06ea5b.system.entry.js → p-4052b948.system.entry.js} +1 -1
- package/dist/mint-components/{p-57a53dbd.system.entry.js → p-412a9226.system.entry.js} +1 -1
- package/dist/mint-components/{p-1fb688a9.system.js → p-43fc3f99.system.js} +1 -1
- package/dist/mint-components/{p-844f9bad.entry.js → p-45c752a0.entry.js} +1 -1
- package/dist/mint-components/p-5480e4ee.entry.js +1 -0
- package/dist/mint-components/{p-db723323.system.entry.js → p-55508395.system.entry.js} +1 -1
- package/dist/mint-components/{p-844fd903.js → p-563253e8.js} +1 -1
- package/dist/mint-components/{p-ceeaf074.system.js → p-593d2266.system.js} +35 -21
- package/dist/mint-components/{p-1ac9c24b.system.entry.js → p-69bcf4fa.system.entry.js} +1 -1
- package/dist/mint-components/p-6e245fa3.system.entry.js +1 -0
- package/dist/mint-components/{p-5dfc6804.system.entry.js → p-73148868.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4a00461.entry.js → p-772f52da.entry.js} +1 -1
- package/dist/mint-components/{p-6cdc70f4.entry.js → p-8435a22d.entry.js} +1 -1
- package/dist/mint-components/p-883a32e7.entry.js +1 -0
- package/dist/mint-components/p-8a7ac67b.entry.js +335 -0
- package/dist/mint-components/{p-1813b9b9.system.js → p-8ee4c2d2.system.js} +1 -1
- package/dist/mint-components/{p-0faf1857.system.js → p-9c554ca0.system.js} +1 -1
- package/dist/mint-components/{p-d3787c3a.entry.js → p-9d6dbb2d.entry.js} +1 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +1 -0
- package/dist/mint-components/{p-2bce988c.js → p-a2c3cff3.js} +1 -1
- package/dist/mint-components/{p-d9cc041f.entry.js → p-a4c2c7ed.entry.js} +1 -1
- package/dist/mint-components/{p-05cca77b.js → p-ad0f47dc.js} +1 -1
- package/dist/mint-components/{p-aba21f90.entry.js → p-ade44a4e.entry.js} +1 -1
- package/dist/mint-components/{p-8e37c08d.js → p-b7ea778a.js} +1 -1
- package/dist/mint-components/p-b7fc2c67.entry.js +1 -0
- package/dist/mint-components/{p-2f171597.entry.js → p-b8bd2607.entry.js} +1 -1
- package/dist/mint-components/p-bbf5ba89.system.entry.js +1 -0
- package/dist/mint-components/{p-0688c9c2.system.entry.js → p-be2738b0.system.entry.js} +1 -1
- package/dist/mint-components/{p-82ab88fe.system.js → p-c6114bfe.system.js} +1 -1
- package/dist/mint-components/{p-16535642.system.entry.js → p-c79c608d.system.entry.js} +1 -1
- package/dist/mint-components/p-c9e3b7bc.js +1 -0
- package/dist/mint-components/{p-505f5c59.system.entry.js → p-cca9026f.system.entry.js} +1 -1
- package/dist/mint-components/{p-71d942af.entry.js → p-cd410a05.entry.js} +2 -2
- package/dist/mint-components/{p-a0cfd3d9.system.js → p-cdeae699.system.js} +1 -1
- package/dist/mint-components/{p-3fd33dee.system.entry.js → p-d174d0bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-00190438.js → p-d35b0366.js} +1 -1
- package/dist/mint-components/p-d60085ae.system.entry.js +1 -0
- package/dist/mint-components/{p-f1e1086e.js → p-dc75a335.js} +17 -2
- package/dist/mint-components/{p-434ee9c1.js → p-e817ca6b.js} +1 -1
- package/dist/mint-components/{p-16da5146.entry.js → p-f17050de.entry.js} +1 -1
- package/dist/mint-components/{p-b6e6be5e.js → p-f90486ca.js} +1 -1
- package/dist/mint-components/p-fce1dbf6.entry.js +1 -0
- package/dist/mint-components/p-ff616282.system.js +1 -0
- package/dist/mint-components/p-ffbe112d.system.js +1 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +6 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +81 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +1 -3
- package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +16 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-column.d.ts +20 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +33 -0
- package/dist/types/components/{sqm-rewards-table → sqm-router}/Router.stories.d.ts +0 -0
- package/dist/types/components.d.ts +32 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-leaderboard-rank-view-35015d30.js +0 -10
- package/dist/cjs/sqm-rewards-table.cjs.entry.js +0 -332
- package/dist/cjs/tslib.es6-0e81fab1.js +0 -56
- package/dist/cjs/useChildElements-428ca5b8.js +0 -21
- package/dist/esm/sqm-leaderboard-rank-view-da91f5f3.js +0 -8
- 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-es5/index-2f5dd0a1.js +0 -1
- package/dist/esm-es5/sqm-divided-layout_28.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.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/useChildElements-506f00d0.js +0 -1
- package/dist/mint-components/p-11c75956.entry.js +0 -1
- package/dist/mint-components/p-189219ee.system.js +0 -1
- package/dist/mint-components/p-1d445125.entry.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-55e02769.entry.js +0 -13
- package/dist/mint-components/p-58d9b2f0.js +0 -15
- 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-7c138c84.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-8c16f04e.js +0 -1
- package/dist/mint-components/p-91d39961.system.js +0 -1
- package/dist/mint-components/p-a7f26a72.entry.js +0 -288
- package/dist/mint-components/p-b2633117.system.entry.js +0 -1
- package/dist/mint-components/p-b3af1c6f.js +0 -1
- package/dist/mint-components/p-bf04a8e1.system.entry.js +0 -1
- package/dist/mint-components/p-bf055b6c.system.js +0 -1
- package/dist/mint-components/p-c3866bfa.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-e19a57a4.system.entry.js +0 -1
- package/dist/mint-components/p-e2ebe90c.entry.js +0 -1
- package/dist/mint-components/p-ecbabf6e.system.js +0 -1
- package/dist/mint-components/p-f41ab9e1.system.js +0 -1
- package/dist/mint-components/p-fcaa5886.system.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { o as m, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { Q, k, g as pe, h as ge } from './index.module-
|
|
4
|
+
import { Q, k, g as pe, h as ge } from './index.module-90d2c3ad.js';
|
|
5
5
|
|
|
6
6
|
async function useGraphQLClientProvider({ domain }) {
|
|
7
7
|
const token = Q();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as __assign } from './
|
|
1
|
+
import { h } from './index-17b4da69.js';
|
|
2
|
+
import { _ as __assign } from './global-923aa737.js';
|
|
3
|
+
import { p as parse } from './index.module-90d2c3ad.js';
|
|
3
4
|
|
|
4
5
|
var docCache = new Map();
|
|
5
6
|
var fragmentSourceMap = new Map();
|
|
@@ -119,4 +120,9 @@ var extras = {
|
|
|
119
120
|
gql["default"] = gql;
|
|
120
121
|
const gql$1 = gql;
|
|
121
122
|
|
|
122
|
-
|
|
123
|
+
function LeaderboardRankView(props) {
|
|
124
|
+
const { data } = props;
|
|
125
|
+
return h("span", { class: "P" }, data.rank);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export { LeaderboardRankView as L, gql$1 as g };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
|
-
import { i as intl, c as createIntl } from './global-
|
|
3
|
+
import { i as intl, c as createIntl } from './global-923aa737.js';
|
|
4
4
|
import './use-callback-b38a1523.js';
|
|
5
|
-
import { M, T, e as en, j } from './index.module-
|
|
6
|
-
import './tslib.es6-7ac9d7e4.js';
|
|
5
|
+
import { M, T, e as en, j } from './index.module-90d2c3ad.js';
|
|
7
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
|
-
import { g as gql } from './
|
|
9
|
-
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-da91f5f3.js';
|
|
7
|
+
import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-747ffda8.js';
|
|
10
8
|
|
|
11
9
|
const GET_RANK = gql `
|
|
12
10
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { j } from './index.module-
|
|
4
|
+
import { j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-
|
|
6
|
+
import { w as withShadowView, u as useLeaderboard, L as LeaderboardView } from './ShadowViewAddon-a3f510db.js';
|
|
7
7
|
|
|
8
8
|
const sqmLeaderboardCss = ":host{display:block}:host([hidden]){display:none}table{width:100%}th{font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-semibold);text-align:left}td{font-size:var(--sl-font-size-medium);font-weight:var(--sl-font-weight-normal)}td,th{color:var(--sl-color-gray-800);padding:var(--sl-spacing-x-small) var(--sl-spacing-small)}.User{width:100%}.Score{width:auto;white-space:nowrap}";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { n as d, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { j } from './index.module-
|
|
4
|
+
import { j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import './jss-preset-default.esm-71fae192.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-10353a39.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { r as rn } from './index.module-
|
|
2
|
+
import { r as rn } from './index.module-90d2c3ad.js';
|
|
3
3
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
4
4
|
import { g as gap } from './mixins-10353a39.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { c as an, j } from './index.module-
|
|
4
|
+
import { c as an, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import './jss-preset-default.esm-71fae192.js';
|
|
6
6
|
import { g as getProps } from './utils-454405f5.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-10353a39.js';
|
|
9
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
9
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-f2304ad9.js';
|
|
10
10
|
|
|
11
11
|
function useNavigationSidebarItem(props) {
|
|
12
12
|
const currentPage = an();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h$1 } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { x } from './index.module-
|
|
4
|
+
import { x } from './index.module-90d2c3ad.js';
|
|
5
5
|
import { g as getProps } from './utils-454405f5.js';
|
|
6
6
|
|
|
7
7
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-923aa737.js';
|
|
3
3
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-10353a39.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-923aa737.js';
|
|
4
4
|
import './use-callback-b38a1523.js';
|
|
5
|
-
import { B as Be, T, j } from './index.module-
|
|
6
|
-
import './tslib.es6-7ac9d7e4.js';
|
|
5
|
+
import { B as Be, T, j } from './index.module-90d2c3ad.js';
|
|
7
6
|
import './jss-preset-default.esm-71fae192.js';
|
|
8
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
9
8
|
import './mixins-10353a39.js';
|
|
10
9
|
import './sqm-text-span-view-1781df94.js';
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
10
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-a3ebc4a2.js';
|
|
12
11
|
|
|
13
12
|
function usePortalEmailVerification(props) {
|
|
14
13
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-923aa737.js';
|
|
3
3
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-923aa737.js';
|
|
4
4
|
import './use-callback-b38a1523.js';
|
|
5
|
-
import './index.module-
|
|
6
|
-
import './tslib.es6-7ac9d7e4.js';
|
|
5
|
+
import './index.module-90d2c3ad.js';
|
|
7
6
|
import './jss-preset-default.esm-71fae192.js';
|
|
8
7
|
import { g as getProps } from './utils-454405f5.js';
|
|
9
|
-
import { a as PortalFooterView } from './sqm-portal-footer-view-
|
|
8
|
+
import { a as PortalFooterView } from './sqm-portal-footer-view-7b8a02b1.js';
|
|
10
9
|
|
|
11
10
|
const PortalFooter = class {
|
|
12
11
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { z as ze, j, r as rn } from './index.module-
|
|
4
|
+
import { z as ze, j, r as rn } from './index.module-90d2c3ad.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import './jss-preset-default.esm-71fae192.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { L, r as rn, j } from './index.module-
|
|
4
|
+
import { L, r as rn, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
|
|
6
6
|
function usePortalLogout({ nextPage }) {
|
|
7
7
|
L(undefined);
|
package/dist/esm/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-4ce8d89d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-923aa737.js';
|
|
3
3
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
4
4
|
import { P as PortalContainerView } from './sqm-portal-container-view-73757ca5.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-923aa737.js';
|
|
4
4
|
import './use-callback-b38a1523.js';
|
|
5
|
-
import { d as dist, T, e as en, b as be, j } from './index.module-
|
|
6
|
-
import './tslib.es6-7ac9d7e4.js';
|
|
5
|
+
import { d as dist, T, e as en, b as be, j } from './index.module-90d2c3ad.js';
|
|
7
6
|
import './jss-preset-default.esm-71fae192.js';
|
|
8
7
|
import { g as getProps } from './utils-454405f5.js';
|
|
9
8
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
10
9
|
import './sqm-portal-container-view-73757ca5.js';
|
|
11
10
|
import './sqm-text-span-view-1781df94.js';
|
|
12
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
11
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-4ce8d89d.js';
|
|
13
12
|
|
|
14
13
|
const GET_USER = dist.gql `
|
|
15
14
|
query {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { T, c as an, r as rn, j } from './index.module-
|
|
4
|
+
import { T, c as an, r as rn, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
|
|
6
6
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
7
7
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { i as Re, $ as $e, r as rn, j } from './index.module-
|
|
4
|
+
import { i as Re, $ as $e, r as rn, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import './jss-preset-default.esm-71fae192.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, e as useEffect, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { T, l as Le, r as rn, j } from './index.module-
|
|
4
|
+
import { T, l as Le, r as rn, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import './jss-preset-default.esm-71fae192.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-10353a39.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-90d2c3ad.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-e06f2f7f.js';
|
|
6
6
|
|
|
7
7
|
const ReferralTableGenericColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-90d2c3ad.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-e06f2f7f.js';
|
|
6
6
|
|
|
7
7
|
const ReferralTableDateColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-90d2c3ad.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-e06f2f7f.js';
|
|
6
6
|
|
|
7
7
|
const ReferralTableRewardsColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-90d2c3ad.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-e06f2f7f.js';
|
|
6
6
|
|
|
7
7
|
const ReferralTableStatusColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-90d2c3ad.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-e06f2f7f.js';
|
|
6
6
|
|
|
7
7
|
const ReferralTableUserColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, m as h } from './extends-3a3f9fe2.js';
|
|
3
3
|
import './use-callback-b38a1523.js';
|
|
4
|
-
import { d as dist, M, T, e as en, j } from './index.module-
|
|
4
|
+
import { d as dist, M, T, e as en, j } from './index.module-90d2c3ad.js';
|
|
5
5
|
import './jss-preset-default.esm-71fae192.js';
|
|
6
6
|
import { g as getProps } from './utils-454405f5.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, k as useMemo } from './extends-3a3f9fe2.js';
|
|
3
|
-
import { M, R, T, d as dist, e as en } from './index.module-
|
|
3
|
+
import { M, R, T, d as dist, e as en } from './index.module-90d2c3ad.js';
|
|
4
4
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};import{h,g as getElement}from"./index-17b4da69.js";import{d as dist,M,T,e as en}from"./index.module-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};import{h,g as getElement}from"./index-17b4da69.js";import{d as dist,M,T,e as en}from"./index.module-90d2c3ad.js";function LeaderboardView(e){var a;var r=e.states,t=e.data,n=e.elements;var i=r.styles;if(r.loading){return n.loadingstate}return h("div",null,!r.hasLeaders&&n.empty,r.hasLeaders&&h("table",null,h("tr",null,i.showRank&&h("th",{class:"Rank"},i.rankheading),h("th",{class:"User"},i.usersheading),h("th",{class:"Score"},i.statsheading)),(a=t.leaderboard)===null||a===void 0?void 0:a.map((function(e){return h("tr",{class:"SeparateContent"},i.showRank&&h("td",{class:"Rank"},e.rank),h("td",{class:"User"},e.firstName+" "+e.lastInitial+" "),h("td",{class:"Score"},e.value))}))))}var GET_LEADERBOARD=dist.gql(templateObject_1||(templateObject_1=__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"])));function useLeaderboard(e){var a;var r=M();var t=T();var n={type:e.leaderboardType,filter:{programId_eq:r}};if(e.interval){n.filter["interval"]=e.interval}var i=en(GET_LEADERBOARD,n,!(t===null||t===void 0?void 0:t.jwt)),d=i.data,l=i.loading;var o=(a=d===null||d===void 0?void 0:d.userLeaderboard)===null||a===void 0?void 0:a.rows;var s=v(o);var u=s===null||s===void 0?void 0:s.sort((function(e,a){return e.rank-a.rank}));function v(a){return a===null||a===void 0?void 0:a.flatMap((function(a){var r;return{value:a.value,firstName:a.firstName||"Anonymous",lastInitial:a.lastInitial,rank:(r=a.rank)===null||r===void 0?void 0:r[e.rankType]}}))}return{states:{loading:l,hasLeaders:(u===null||u===void 0?void 0:u.length)>0,styles:e},data:{leaderboard:u,rankType:e.rankType},elements:{empty:e.empty,loadingstate:e.loadingstate}}}var map=new Map;function withShadowView(e){var a=getElement(e);var r=e["render"].bind(e);var t=function(){var e=a.getAttribute("stencilbook-shadow-view");if(e){var t=map.get(e);if(t){return t}}return r()};e["render"]=t}var ShadowViewAddon=function(e,a){var r=e.story;var t;var n=(t=r.parent.parameters)===null||t===void 0?void 0:t.tagname;if(!n)return a;var i=Math.round(Math.random()*1e5);map.set(i+"",a);var d="stencilbook-shawdow-view-"+i;return h(d,null,h(n,{"stencilbook-shadow-view":i}))};export{LeaderboardView as L,ShadowViewAddon as S,useLeaderboard as u,withShadowView as w};var templateObject_1;
|