@saasquatch/mint-components 1.3.2-1 → 1.3.2-10
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-d2fde0a2.js} +1 -1
- package/dist/cjs/{global-041b5338.js → global-e04d7cde.js} +107 -56
- package/dist/cjs/{index.module-6a7bda18.js → index.module-07ed6ad2.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-81649c33.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_27.cjs.entry.js → sqm-divided-layout_30.cjs.entry.js} +1860 -609
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/{index-19309631.js → sqm-leaderboard-rank-view-0ba128e2.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-0bad789c.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-3c7d8701.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-8f5d682e.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-14866b58.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-17e61803.js → useDemoBigStat-1692a6a1.js} +117 -21
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +8 -1
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +3 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +115 -20
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +1 -0
- 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/SVGs.js +5 -14
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +27 -40
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +113 -78
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +3 -2
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +4 -2
- 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 -16
- 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/CucumberAddon.js +3 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +9 -1
- package/dist/collection/components/sqm-task-card/SVGs.js +0 -6
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +90 -259
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +41 -0
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +7 -0
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +311 -0
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar.stories.js +53 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +30 -315
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +111 -51
- package/dist/collection/stories/NewPortal.stories.js +15 -15
- package/dist/esm/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-aa087ef2.js} +1 -1
- package/dist/esm/{global-5ecbf81a.js → global-107bb084.js} +54 -3
- package/dist/esm/{index.module-f80561db.js → index.module-1f571929.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-76c9129f.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_27.entry.js → sqm-divided-layout_30.entry.js} +1817 -569
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/{index-2f5dd0a1.js → sqm-leaderboard-rank-view-c1aefdd5.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-b3618185.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-df0559b0.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-2b2bfc9e.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-2fbb0845.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-b71fe122.js → useDemoBigStat-49cdfe32.js} +117 -21
- package/dist/esm-es5/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-aa087ef2.js} +1 -1
- package/dist/esm-es5/{global-5ecbf81a.js → global-107bb084.js} +16 -2
- package/dist/esm-es5/{index.module-f80561db.js → index.module-1f571929.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-76c9129f.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-c1aefdd5.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-b3618185.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-df0559b0.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-2b2bfc9e.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-2fbb0845.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-49cdfe32.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-57a53dbd.system.entry.js → p-03b7444e.system.entry.js} +1 -1
- package/dist/mint-components/{p-82ab88fe.system.js → p-0470556b.system.js} +1 -1
- package/dist/mint-components/p-0ca63e9e.system.entry.js +1 -0
- package/dist/mint-components/p-0ddd6063.system.entry.js +1 -0
- package/dist/mint-components/{p-337b49ee.entry.js → p-0f19ab40.entry.js} +1 -1
- package/dist/mint-components/{p-1ac9c24b.system.entry.js → p-123930ab.system.entry.js} +1 -1
- package/dist/mint-components/p-20991bdd.system.entry.js +1 -0
- package/dist/mint-components/{p-3052c913.system.js → p-22ee65c4.system.js} +1 -1
- package/dist/mint-components/{p-2a025d2a.system.entry.js → p-2b9a01ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-d9cc041f.entry.js → p-3b9492a8.entry.js} +1 -1
- package/dist/mint-components/{p-e9ab90a1.entry.js → p-3bbc61af.entry.js} +1 -1
- package/dist/mint-components/{p-05cca77b.js → p-3fd9db63.js} +1 -1
- package/dist/mint-components/p-458070cf.js +1 -0
- package/dist/mint-components/{p-434ee9c1.js → p-4ae9f594.js} +1 -1
- package/dist/mint-components/{p-7c13e32e.system.entry.js → p-57568b23.system.entry.js} +1 -1
- package/dist/mint-components/{p-82d7a2ba.entry.js → p-57aa7493.entry.js} +1 -1
- package/dist/mint-components/p-5986de11.entry.js +1 -0
- package/dist/mint-components/p-59fa991d.entry.js +335 -0
- package/dist/mint-components/p-5a1a2b2c.entry.js +1 -0
- package/dist/mint-components/{p-3b0acfcd.system.js → p-5e681b4b.system.js} +1 -1
- package/dist/mint-components/{p-4ba2faf2.system.entry.js → p-62b134cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-e475a5ff.system.entry.js → p-64299f78.system.entry.js} +1 -1
- package/dist/mint-components/p-6466d643.entry.js +1 -0
- package/dist/mint-components/{p-2bce988c.js → p-70008004.js} +1 -1
- package/dist/mint-components/{p-16535642.system.entry.js → p-70a6f9d9.system.entry.js} +1 -1
- package/dist/mint-components/p-719c2664.system.js +1 -0
- package/dist/mint-components/{p-db723323.system.entry.js → p-75924795.system.entry.js} +1 -1
- package/dist/mint-components/p-8155cd07.system.js +1 -0
- package/dist/mint-components/{p-0688c9c2.system.entry.js → p-86a55c58.system.entry.js} +1 -1
- package/dist/mint-components/p-874e7da3.entry.js +13 -0
- package/dist/mint-components/{p-5dfc6804.system.entry.js → p-8ac0ec83.system.entry.js} +1 -1
- package/dist/mint-components/{p-1fb688a9.system.js → p-91b0d151.system.js} +1 -1
- package/dist/mint-components/p-9ca6142b.system.entry.js +1 -0
- package/dist/mint-components/{p-6d545e13.entry.js → p-a26457cd.entry.js} +1 -1
- package/dist/mint-components/{p-8e37c08d.js → p-a37fc3cb.js} +1 -1
- package/dist/mint-components/p-a48fc54e.system.js +1 -0
- package/dist/mint-components/{p-cc3510c8.js → p-ab378185.js} +1 -1
- package/dist/mint-components/p-ac92b5ea.js +235 -0
- package/dist/mint-components/{p-6cdc70f4.entry.js → p-b0c6f82b.entry.js} +1 -1
- package/dist/mint-components/{p-844f9bad.entry.js → p-b0e9c89c.entry.js} +1 -1
- package/dist/mint-components/{p-16da5146.entry.js → p-b3bac2c6.entry.js} +1 -1
- package/dist/mint-components/{p-04516274.system.entry.js → p-bcb30771.system.entry.js} +1 -1
- package/dist/mint-components/{p-a0cfd3d9.system.js → p-bdfdb088.system.js} +1 -1
- package/dist/mint-components/p-beb02af2.entry.js +1 -0
- package/dist/mint-components/{p-ceeaf074.system.js → p-beeeda0c.system.js} +35 -21
- package/dist/mint-components/p-bf10c781.system.js +1 -0
- package/dist/mint-components/p-c0e8aaa7.system.entry.js +1 -0
- package/dist/mint-components/{p-3fd33dee.system.entry.js → p-c35b54e4.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7f0b2f6.entry.js → p-c61c61e7.entry.js} +1 -1
- package/dist/mint-components/{p-5f28af29.entry.js → p-c974b7d4.entry.js} +1 -1
- package/dist/mint-components/{p-2f171597.entry.js → p-cbf1db2b.entry.js} +1 -1
- package/dist/mint-components/{p-a4a00461.entry.js → p-d1e28563.entry.js} +1 -1
- package/dist/mint-components/p-d37f227e.entry.js +1 -0
- package/dist/mint-components/{p-1813b9b9.system.js → p-d44e98b8.system.js} +1 -1
- package/dist/mint-components/{p-f1e1086e.js → p-d73d26ec.js} +17 -2
- package/dist/mint-components/p-dacbf435.entry.js +9 -0
- package/dist/mint-components/{p-1b414d8f.system.entry.js → p-dbc04567.system.entry.js} +1 -1
- package/dist/mint-components/{p-d3787c3a.entry.js → p-de0efef2.entry.js} +1 -1
- package/dist/mint-components/p-e01213a2.system.entry.js +1 -0
- package/dist/mint-components/p-e2a855b8.system.entry.js +1 -0
- package/dist/mint-components/p-f0ad9b15.entry.js +1 -0
- package/dist/mint-components/{p-a0045707.system.entry.js → p-f0cbf76e.system.entry.js} +1 -1
- package/dist/mint-components/{p-aba21f90.entry.js → p-f2db1c3b.entry.js} +1 -1
- package/dist/mint-components/{p-505f5c59.system.entry.js → p-f538a675.system.entry.js} +1 -1
- package/dist/mint-components/{p-844fd903.js → p-f7e2418a.js} +1 -1
- package/dist/mint-components/{p-00190438.js → p-f8abbd79.js} +1 -1
- package/dist/mint-components/{p-af06ea5b.system.entry.js → p-fc90a3fe.system.entry.js} +1 -1
- package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +6 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +1 -0
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +4 -1
- 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/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/progressBar.d.ts +3 -2
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +2 -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/sqm-task-card/SVGs.d.ts +0 -1
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +3 -1
- package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +10 -0
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +10 -0
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar.stories.d.ts +12 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +13 -22
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +26 -14
- package/dist/types/components.d.ts +82 -36
- 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/sqm-task-card-view-57066e67.js +0 -476
- package/dist/cjs/sqm-task-card.cjs.entry.js +0 -56
- 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/sqm-task-card-view-2ee495af.js +0 -474
- package/dist/esm/sqm-task-card.entry.js +0 -52
- 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_27.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/sqm-task-card-view-2ee495af.js +0 -1
- package/dist/esm-es5/sqm-task-card.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/esm-es5/useDemoBigStat-b71fe122.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-1e248afc.system.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-353b4413.system.js +0 -1
- package/dist/mint-components/p-405a9253.js +0 -227
- package/dist/mint-components/p-55e02769.entry.js +0 -13
- package/dist/mint-components/p-58d9b2f0.js +0 -15
- package/dist/mint-components/p-684850a7.entry.js +0 -287
- package/dist/mint-components/p-70837c1c.entry.js +0 -49
- package/dist/mint-components/p-71d942af.entry.js +0 -9
- package/dist/mint-components/p-7c138c84.entry.js +0 -1
- package/dist/mint-components/p-7c261ea0.system.entry.js +0 -1
- package/dist/mint-components/p-8034f81c.system.entry.js +0 -1
- package/dist/mint-components/p-81dbda90.system.entry.js +0 -1
- package/dist/mint-components/p-8c16f04e.js +0 -1
- package/dist/mint-components/p-8f5e2af4.entry.js +0 -1
- package/dist/mint-components/p-91d39961.system.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-c9c4f31b.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-e19a57a4.system.entry.js +0 -1
- package/dist/mint-components/p-e22eed7b.entry.js +0 -1
- package/dist/mint-components/p-e2ebe90c.entry.js +0 -1
- package/dist/mint-components/p-e78a5a91.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-f87d8f53.system.js +0 -1
- package/dist/mint-components/p-fcaa5886.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,g as e,c as a}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-70008004.js";import{a as l}from"./p-ab378185.js";const n=class{constructor(s){r(this,s),t(this)}disconnectedCallback(){}async renderCell(r){return s("sqm-referral-table-cell",{"inner-template":e(this).innerHTML})}async renderLabel(){return Promise.resolve(this.columnTitle)}render(){return l([this.columnTitle]),s(a,{style:{display:"none"}},s("slot",null))}};export{n as sqm_referral_table_column}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{a(r.next(t))}catch(t){i(t)}}function u(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?n(t.value):o(t.value).then(s,u)}a((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return a([t,e])}}function a(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{a(r.next(t))}catch(t){i(t)}}function u(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?n(t.value):o(t.value).then(s,u)}a((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return a([t,e])}}function a(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-a48fc54e.system.js","./p-5e681b4b.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.m},function(){},function(){},function(t){i=t.a}],execute:function(){var s=t("sqm_referral_table_status_column",function(){function t(t){e(this,t);this.columnTitle="Status";this.convertedStatusText="Converted";this.inProgressStatusText="In Progress";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){e=t.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,n("sqm-referral-table-status-cell",{"status-text":e,converted:t.dateConverted?true:false})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnTitle]}))}))};t.prototype.render=function(){i([this.columnTitle]);return n(r,{style:{display:"none"}})};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as a}from"./p-64c3217a.js";import{j as e,e as i,m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{T as s,l,r,j as d}from"./p-
|
|
1
|
+
import{r as o,h as a}from"./p-64c3217a.js";import{j as e,e as i,m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{T as s,l,r,j as d}from"./p-70008004.js";import"./p-db5a1e78.js";import{c as n}from"./p-c1086930.js";import"./p-26f627aa.js";import"./p-9b4f2af6.js";import{P as c}from"./p-a8b913a8.js";const v=class{constructor(a){o(this,a),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){const{states:o,data:t,callbacks:v}=d()?n({states:{error:"",loading:!1,verified:!0},data:{oobCode:"code"},callbacks:{failed:()=>{console.log("failed")},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(o,a)=>a}):function({nextPage:o}){var a,t,d,n,c;const[v,m]=e(!1),[p,u]=e(!0),f=s(),[b,{loading:h,data:g,errors:j}]=l(),[P,k]=e(""),x=new URLSearchParams(window.location.search),C=x.get("oobCode"),w=x.get("nextPage");x.delete("oobCode");const y=()=>(x.delete("nextPage"),r.push({pathname:w||o,search:x.toString()&&"?"+x.toString()}));return i((()=>{var o;(null===(o=null==g?void 0:g.verifyManagedIdentityEmail)||void 0===o?void 0:o.success)&&m(!0)}),[null===(a=null==g?void 0:g.verifyManagedIdentityEmail)||void 0===a?void 0:a.success]),i((()=>{(async()=>{C&&(k(""),await b({oobCode:C}))})()}),[]),i((()=>{var o,a;(null===(o=null==f?void 0:f.managedIdentity)||void 0===o?void 0:o.emailVerified)?(u(!1),setTimeout((()=>{y()}),3e3)):C&&!1!==(null===(a=null==g?void 0:g.verifyManagedIdentityEmail)||void 0===a?void 0:a.success)?f||(u(!1),setTimeout((()=>{y()}),3e3)):u(!1)}),[null===(t=null==f?void 0:f.managedIdentity)||void 0===t?void 0:t.emailVerified]),i((()=>{(null==j?void 0:j.message)&&k("Network request failed.")}),[j]),{states:{loading:h||p,error:(null===(c=null===(n=null===(d=null==j?void 0:j.response)||void 0===d?void 0:d.errors)||void 0===n?void 0:n[0])||void 0===c?void 0:c.message)||P,verified:v},data:{oobCode:C},callbacks:{failed:()=>r.push({pathname:"/",search:x.toString()&&"?"+x.toString()}),gotoNextPage:y}}}(this);return a(c,{states:o,data:t,callbacks:v})}};export{v as sqm_portal_verify_email}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,o){function s(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{d(o.next(e))}catch(e){n(e)}}function i(e){try{d(o["throw"](e))}catch(e){n(e)}}function d(e){e.done?r(e.value):s(e.value).then(a,i)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,s,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return d([e,t])}}function d(a){if(o)throw new TypeError("Generator is already executing.");while(r)try{if(o=1,s&&(n=a[0]&2?s["return"]:a[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,a[1])).done)return n;if(s=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;s=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];s=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,o){function s(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{d(o.next(e))}catch(e){n(e)}}function i(e){try{d(o["throw"](e))}catch(e){n(e)}}function d(e){e.done?r(e.value):s(e.value).then(a,i)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,s,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return d([e,t])}}function d(a){if(o)throw new TypeError("Generator is already executing.");while(r)try{if(o=1,s&&(n=a[0]&2?s["return"]:a[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,a[1])).done)return n;if(s=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;s=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];s=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-a48fc54e.system.js","./p-b2295bc5.system.js","./p-1b7d89a7.system.js","./p-4bd679a7.system.js","./p-126bcba1.system.js","./p-bb76c6f3.system.js","./p-1575e8a3.system.js"],(function(e){"use strict";var t,r,o,s,n,a,i,d,u,c,l,f;return{setters:[function(e){t=e.r;r=e.h},function(e){o=e.j;s=e.e;n=e.m},function(){},function(e){a=e.i;i=e.$;d=e.r;u=e.j},function(e){c=e.j},function(){},function(e){l=e.c},function(){},function(){},function(e){f=e.P}],execute:function(){function w(e){var t=this;var r,n,u,l,f,w;var v=o(false),p=v[0],b=v[1];var h=o(""),m=h[0],P=h[1];var g=a(),y=g[0],x=g[1];var _=i(),C=_[0],j=_[1];var k=new URLSearchParams(window.location.search);var R=k.get("oobCode");k.delete("oobCode");var T=k.get("nextPage");var L=function(e){return __awaiter(t,void 0,void 0,(function(){var t,r;return __generator(this,(function(o){switch(o.label){case 0:P("");t=e.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){c.set(t,r,e)}));r={oobCode:R,password:t.password};if(t.password!==t.confirmPassword){P("Passwords do not match.");return[2]}return[4,C(r)];case 1:o.sent();return[2]}}))}))};var B=function(){k.delete("nextPage");d.push({pathname:T||e.nextPage,search:k.toString()&&"?"+k.toString()})};var F=function(){d.push({pathname:"/",search:k.toString()&&"?"+k.toString()})};s((function(){var e;if((e=j.data)===null||e===void 0?void 0:e.resetManagedIdentityPassword){b(true);setTimeout((function(){B()}),5e3)}}),[(r=j.data)===null||r===void 0?void 0:r.resetManagedIdentityPassword]);s((function(){y({oobCode:R})}),[R]);s((function(){var e;if((e=x===null||x===void 0?void 0:x.errors)===null||e===void 0?void 0:e.message){P("Network request failed.")}}),[x===null||x===void 0?void 0:x.errors]);return{states:{loading:j.loading,reset:p,confirmPassword:e.confirmPassword,error:((f=(l=(u=(n=j.errors)===null||n===void 0?void 0:n.response)===null||u===void 0?void 0:u.errors)===null||l===void 0?void 0:l[0])===null||f===void 0?void 0:f.message)||m,oobCodeValidating:x.loading,oobCodeValid:(w=x.data)===null||w===void 0?void 0:w.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel}},callbacks:{submit:L,failed:F,gotoNextPage:B}}}var v=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?p(this):w(this),t=e.states,o=e.callbacks;return r(f,{states:t,callbacks:o})};return e}());function p(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:true,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as t,g as e}from"./p-64c3217a.js";import{d as a,M as n,T as s,e as r}from"./p-
|
|
1
|
+
import{h as t,g as e}from"./p-64c3217a.js";import{d as a,M as n,T as s,e as r}from"./p-70008004.js";function l(e){var a;const{states:n,data:s,elements:r}=e,{styles:l}=n;return n.loading?r.loadingstate:t("div",null,!n.hasLeaders&&r.empty,n.hasLeaders&&t("table",null,t("tr",null,l.showRank&&t("th",{class:"Rank"},l.rankheading),t("th",{class:"User"},l.usersheading),t("th",{class:"Score"},l.statsheading)),null===(a=s.leaderboard)||void 0===a?void 0:a.map((e=>t("tr",{class:"SeparateContent"},l.showRank&&t("td",{class:"Rank"},e.rank),t("td",{class:"User"},`${e.firstName} ${e.lastInitial} `),t("td",{class:"Score"},e.value))))))}const o=a.gql`
|
|
2
2
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
3
3
|
userLeaderboard(type: $type, filter: $filter) {
|
|
4
4
|
dateModified
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as r}from"./p-64c3217a.js";import{r as o}from"./p-
|
|
1
|
+
import{h as r}from"./p-64c3217a.js";import{r as o}from"./p-70008004.js";import{j as a,c as s}from"./p-db5a1e78.js";import{g as e}from"./p-26f627aa.js";function t(t){const{states:c,data:l}=t,n={ItemContainer:{display:"flex","background-color":c.active?"var(--sl-color-gray-200)":"var(--sl-color-white)","border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center",...e({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:c.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}};a.setup(s());const i=a.createStyleSheet(n),p=i.toString();return r("a",{href:l.path,onClick:r=>{r.preventDefault(),o.push(l.path)},class:i.classes.ItemContainer},r("style",{type:"text/css"},p),r("sl-icon",{class:i.classes.Icon,name:l.icon}),r("p",{class:i.classes.Label},l.label))}export{t as N}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-a48fc54e.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.e;a=e.m},function(){},function(e){o=e.T;s=e.c;c=e.r;u=e.j}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var a;var u=o();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(a=u===null||u===void 0?void 0:u.managedIdentity)===null||a===void 0?void 0:a.emailVerified;var l=s(),p=l.pathname,v=l.search;var h=new URLSearchParams;h.append("nextPage",""+p+v);n((function(){if(!f){return c.push({pathname:r,search:"?"+h.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+h.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));
|
|
@@ -3,7 +3,10 @@ import { BigStatViewProps } from "./sqm-big-stat-view";
|
|
|
3
3
|
export declare const queries: {
|
|
4
4
|
[key: string]: {
|
|
5
5
|
label: string;
|
|
6
|
-
query: (programId: string, ...args: string[]) =>
|
|
6
|
+
query: (programId: string, ...args: string[]) => {
|
|
7
|
+
value: number;
|
|
8
|
+
statvalue: string;
|
|
9
|
+
};
|
|
7
10
|
};
|
|
8
11
|
};
|
|
9
12
|
export declare const StatPaths: {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const test: {
|
|
2
|
+
states: {
|
|
3
|
+
content: any;
|
|
4
|
+
redeemStage: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
exchangeError: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
selectedItem: any;
|
|
9
|
+
selectedStep: any;
|
|
10
|
+
};
|
|
11
|
+
data: {
|
|
12
|
+
exchangeList: any;
|
|
13
|
+
};
|
|
14
|
+
callbacks: {
|
|
15
|
+
exchangeReward: any;
|
|
16
|
+
openDrawer: any;
|
|
17
|
+
setStage: any;
|
|
18
|
+
setExchangeState: any;
|
|
19
|
+
refs: any;
|
|
20
|
+
};
|
|
21
|
+
refs: any;
|
|
22
|
+
};
|
|
23
|
+
export declare const test2: {
|
|
24
|
+
states: {
|
|
25
|
+
content: {
|
|
26
|
+
text: {
|
|
27
|
+
buttonText: string;
|
|
28
|
+
ignored: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
redeemStage: string;
|
|
32
|
+
amount: number;
|
|
33
|
+
exchangeError: boolean;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
selectedItem: {
|
|
36
|
+
key: string;
|
|
37
|
+
name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
imageUrl: string;
|
|
40
|
+
available: boolean;
|
|
41
|
+
unavailableReason: any;
|
|
42
|
+
unavailableReasonCode: any;
|
|
43
|
+
ruleType: string;
|
|
44
|
+
sourceUnit: string;
|
|
45
|
+
sourceValue: any;
|
|
46
|
+
prettySourceValue: any;
|
|
47
|
+
sourceMinValue: number;
|
|
48
|
+
prettySourceMinValue: string;
|
|
49
|
+
sourceMaxValue: number;
|
|
50
|
+
prettySourceMaxValue: string;
|
|
51
|
+
destinationMinValue: number;
|
|
52
|
+
prettyDestinationMinValue: string;
|
|
53
|
+
destinationMaxValue: number;
|
|
54
|
+
prettyDestinationMaxValue: string;
|
|
55
|
+
globalRewardKey: any;
|
|
56
|
+
destinationUnit: string;
|
|
57
|
+
steps: {
|
|
58
|
+
sourceValue: number;
|
|
59
|
+
prettySourceValue: string;
|
|
60
|
+
destinationValue: number;
|
|
61
|
+
prettyDestinationValue: string;
|
|
62
|
+
available: boolean;
|
|
63
|
+
unavailableReasonCode: any;
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
66
|
+
selectedStep: any;
|
|
67
|
+
};
|
|
68
|
+
data: {
|
|
69
|
+
exchangeList: any;
|
|
70
|
+
};
|
|
71
|
+
callbacks: {
|
|
72
|
+
exchangeReward: any;
|
|
73
|
+
openDrawer: any;
|
|
74
|
+
setStage: any;
|
|
75
|
+
setExchangeState: any;
|
|
76
|
+
refs: {
|
|
77
|
+
drawerRef: {};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
refs: any;
|
|
81
|
+
};
|
|
@@ -6,6 +6,7 @@ export declare type RewardExchangeViewProps = {
|
|
|
6
6
|
redeemStage: string;
|
|
7
7
|
amount: number;
|
|
8
8
|
exchangeError?: boolean;
|
|
9
|
+
loading: boolean;
|
|
9
10
|
content: {
|
|
10
11
|
text: any;
|
|
11
12
|
};
|
|
@@ -19,8 +20,6 @@ export declare type RewardExchangeViewProps = {
|
|
|
19
20
|
setStage: (stage?: Stages) => void;
|
|
20
21
|
setExchangeState: Function;
|
|
21
22
|
};
|
|
22
|
-
refs: {
|
|
23
|
-
drawerRef: any;
|
|
24
|
-
};
|
|
23
|
+
refs: {};
|
|
25
24
|
};
|
|
26
25
|
export declare function RewardExchangeView(props: RewardExchangeViewProps): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const RewardsTableWithProgram: {
|
|
6
|
+
(): any;
|
|
7
|
+
parameters: {
|
|
8
|
+
hookStory: Function;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const RewardsTableNoProgram: {
|
|
12
|
+
(): any;
|
|
13
|
+
parameters: {
|
|
14
|
+
hookStory: Function;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReferralTableColumn } from "../sqm-referral-table/columns/ReferralTableColumn";
|
|
2
|
+
import { Reward } from "./useRewardsTable";
|
|
3
|
+
/**
|
|
4
|
+
* @uiName Rewards Table Column
|
|
5
|
+
*/
|
|
6
|
+
export declare class RewardsTableColumn implements ReferralTableColumn {
|
|
7
|
+
/**
|
|
8
|
+
* @uiName Reward column title
|
|
9
|
+
*/
|
|
10
|
+
columnTitle: string;
|
|
11
|
+
/**
|
|
12
|
+
* @uiName Hide dropdown details of reward
|
|
13
|
+
*/
|
|
14
|
+
hideDetails: boolean;
|
|
15
|
+
constructor();
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
renderCell(data: Reward[]): Promise<any>;
|
|
18
|
+
renderLabel(): Promise<string>;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -2,4 +2,37 @@ import { VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { RewardsTable } from "./sqm-rewards-table";
|
|
3
3
|
import { GenericTableViewProps } from "../../tables/GenericTableView";
|
|
4
4
|
export declare const CSS_NAMESPACE = "sqm-rewards-table";
|
|
5
|
+
export interface Reward {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
value: number;
|
|
9
|
+
unit: string;
|
|
10
|
+
name: string;
|
|
11
|
+
dateGiven: number;
|
|
12
|
+
dateScheduledFor: number;
|
|
13
|
+
dateExpires: number;
|
|
14
|
+
dateCancelled: number;
|
|
15
|
+
fuelTankCode: string;
|
|
16
|
+
fuelTankType: string;
|
|
17
|
+
currency: string;
|
|
18
|
+
prettyValue: string;
|
|
19
|
+
statuses: string[];
|
|
20
|
+
globalRewardKey?: string;
|
|
21
|
+
rewardRedemptionTransactions: {
|
|
22
|
+
data: [
|
|
23
|
+
{
|
|
24
|
+
exchangedRewards: {
|
|
25
|
+
data: [
|
|
26
|
+
{
|
|
27
|
+
prettyValue: string;
|
|
28
|
+
type: string;
|
|
29
|
+
fuelTankCode: string;
|
|
30
|
+
globalRewardKey?: string;
|
|
31
|
+
}
|
|
32
|
+
];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
};
|
|
37
|
+
}
|
|
5
38
|
export declare function useRewardsTable(props: RewardsTable, emptyElement: VNode, loadingElement: VNode): GenericTableViewProps;
|
|
File without changes
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
scenario: string;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
export default _default;
|
|
5
|
-
export declare const Default: () => any;
|
|
6
8
|
export declare const NotRepeatable: () => any;
|
|
7
9
|
export declare const NotRepeatableWithExpiry: () => any;
|
|
8
10
|
export declare const Repeatable: () => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const gift: () => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VNode } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare type ProgressBarProps = {
|
|
3
|
+
progress?: number;
|
|
4
|
+
goal?: number;
|
|
5
|
+
progressBarUnit?: string;
|
|
6
|
+
steps?: boolean;
|
|
7
|
+
repeatable?: boolean;
|
|
8
|
+
complete?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function ProgressBarView(props: ProgressBarProps): VNode;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
scenario: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => any;
|
|
9
|
+
export declare const ProgressBar: () => any;
|
|
10
|
+
export declare const ProgressBarSteps: () => any;
|
|
11
|
+
export declare const ProgressBarRepeatable: () => any;
|
|
12
|
+
export declare const ProgressBarStepsRepeatable: () => any;
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { ProgressBarProps } from "./progress-bar/progress-bar-view";
|
|
2
3
|
export declare type TaskCardViewProps = {
|
|
3
|
-
|
|
4
|
-
cardTitle
|
|
5
|
-
description?: string;
|
|
6
|
-
showProgressBar?: boolean;
|
|
7
|
-
repeatable?: boolean;
|
|
8
|
-
expire?: boolean;
|
|
9
|
-
dateExpire?: string;
|
|
10
|
-
buttonText?: string;
|
|
11
|
-
buttonLink?: string;
|
|
12
|
-
} & ProgressBarProps;
|
|
13
|
-
export declare function TaskCardView(props: TaskCardViewProps, children: VNode): VNode;
|
|
14
|
-
export declare type DetailsProps = {
|
|
4
|
+
rewardAmount: number;
|
|
5
|
+
cardTitle: string;
|
|
15
6
|
description: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
export declare function
|
|
7
|
+
showProgressBar: boolean;
|
|
8
|
+
repeatable: boolean;
|
|
9
|
+
showExpiry: boolean;
|
|
10
|
+
dateExpires?: string;
|
|
11
|
+
rewardUnit: string;
|
|
12
|
+
buttonText: string;
|
|
13
|
+
buttonLink: string;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
} & ProgressBarProps;
|
|
16
|
+
export declare function TaskCardView(props: TaskCardViewProps): VNode;
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
export declare class TaskCard {
|
|
5
5
|
ignored: boolean;
|
|
6
6
|
/**
|
|
7
|
-
* @uiName Reward
|
|
7
|
+
* @uiName Reward Amount
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
rewardAmount: number;
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Reward Unit
|
|
12
|
+
*/
|
|
13
|
+
rewardUnit: string;
|
|
10
14
|
/**
|
|
11
15
|
* @uiName Title Text
|
|
12
16
|
*/
|
|
@@ -16,7 +20,7 @@ export declare class TaskCard {
|
|
|
16
20
|
*/
|
|
17
21
|
description: string;
|
|
18
22
|
/**
|
|
19
|
-
* @uiName
|
|
23
|
+
* @uiName Goal Repeatable
|
|
20
24
|
*/
|
|
21
25
|
repeatable: boolean;
|
|
22
26
|
/**
|
|
@@ -24,37 +28,45 @@ export declare class TaskCard {
|
|
|
24
28
|
*/
|
|
25
29
|
showProgressBar: boolean;
|
|
26
30
|
/**
|
|
27
|
-
* @uiName Progress
|
|
31
|
+
* @uiName Goal Progress Source
|
|
28
32
|
*/
|
|
29
|
-
|
|
33
|
+
progressSource: string;
|
|
30
34
|
/**
|
|
31
|
-
* @uiName
|
|
35
|
+
* @uiName Goal Completion Number
|
|
32
36
|
*/
|
|
33
37
|
goal: number;
|
|
34
38
|
/**
|
|
35
39
|
* @uiName Progress Bar Steps
|
|
36
40
|
*/
|
|
37
|
-
steps:
|
|
41
|
+
steps: boolean;
|
|
38
42
|
/**
|
|
39
43
|
* @uiName Progress Bar Unit
|
|
40
44
|
*/
|
|
41
|
-
|
|
45
|
+
progressBarUnit?: string;
|
|
42
46
|
/**
|
|
43
|
-
* @uiName Show Expiry
|
|
47
|
+
* @uiName Show Goal Expiry
|
|
44
48
|
*/
|
|
45
|
-
|
|
49
|
+
showExpiry: boolean;
|
|
46
50
|
/**
|
|
47
|
-
* @uiName
|
|
51
|
+
* @uiName Date Goal Expires
|
|
48
52
|
*/
|
|
49
|
-
|
|
53
|
+
dateExpires?: string;
|
|
50
54
|
/**
|
|
51
|
-
* @uiName Button Text
|
|
55
|
+
* @uiName CTA Button Text
|
|
52
56
|
*/
|
|
53
57
|
buttonText: string;
|
|
54
58
|
/**
|
|
55
|
-
* @uiName Button Link
|
|
59
|
+
* @uiName CTA Button Link
|
|
56
60
|
*/
|
|
57
61
|
buttonLink: string;
|
|
62
|
+
/**
|
|
63
|
+
* Select what type of stat to display for the goal. Manual paths are also supported.
|
|
64
|
+
*
|
|
65
|
+
* @uiWidget StatTypeSelectWidget
|
|
66
|
+
* @uiName Stat Type
|
|
67
|
+
* @uiOptions {"version": 1.1}
|
|
68
|
+
*/
|
|
69
|
+
statType: string;
|
|
58
70
|
constructor();
|
|
59
71
|
disconnectedCallback(): void;
|
|
60
72
|
render(): any;
|