@saasquatch/mint-components 1.3.2-2 → 1.3.2-20
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-475e00d3.js} +3 -3
- package/dist/cjs/{global-041b5338.js → global-89f66e76.js} +111 -57
- package/dist/cjs/{index.module-6a7bda18.js → index.module-c0bf9df0.js} +17 -16
- 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-124b56ee.js} +4 -4
- 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} +6104 -1125
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/{index-19309631.js → sqm-leaderboard-rank-view-510f16d3.js} +10 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -11
- 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-a2bdcf05.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- 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-5093ac20.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -6
- package/dist/cjs/{sqm-portal-footer-view-9089feb7.js → sqm-portal-footer-view-03408484.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-a23ea292.js → sqm-portal-profile-view-fa2db439.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/{useDemoBigStat-17e61803.js → useDemoBigStat-5d71bbdf.js} +119 -23
- 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-portal-register/sqm-portal-register.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +20 -0
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +228 -0
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +20 -13
- package/dist/collection/components/sqm-reward-exchange-list/assets/placeholder.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +46 -56
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +349 -114
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +32 -8
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +23 -33
- 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/AutoColor.js +26 -0
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +3 -1
- package/dist/collection/components/{sqm-task-card → sqm-stencilbook}/Matrix.js +4 -1
- package/dist/collection/components/sqm-stencilbook/Resizer.js +26 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +52 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +48 -3
- package/dist/collection/components/sqm-task-card/SVGs.js +7 -8
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +285 -372
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +41 -0
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +8 -0
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +370 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +131 -349
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +167 -47
- package/dist/collection/global/styles.js +3 -0
- package/dist/collection/global/styles.ts +3 -0
- package/dist/collection/stories/NewPortal.stories.js +15 -15
- package/dist/esm/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-558fabb7.js} +3 -3
- package/dist/esm/{global-5ecbf81a.js → global-e0e25c22.js} +58 -4
- package/dist/esm/{index.module-f80561db.js → index.module-eb50a8d2.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-6d5b856e.js} +4 -4
- 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} +6093 -1117
- package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
- package/dist/esm/{index-2f5dd0a1.js → sqm-leaderboard-rank-view-cd1e8962.js} +9 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -7
- 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-2d8c368c.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- 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-2af31979.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +5 -6
- package/dist/esm/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/{useDemoBigStat-b71fe122.js → useDemoBigStat-d227b2f9.js} +119 -23
- package/dist/esm-es5/ShadowViewAddon-558fabb7.js +1 -0
- package/dist/esm-es5/{global-5ecbf81a.js → global-e0e25c22.js} +16 -2
- package/dist/esm-es5/{index.module-f80561db.js → index.module-eb50a8d2.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-6d5b856e.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 +58 -0
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-cd1e8962.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-2d8c368c.js +1 -0
- 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-2af31979.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-60cd9ae5.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-f1deea0f.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-d227b2f9.js +1 -0
- package/dist/mint-components/assets/placeholder.png +0 -0
- package/dist/mint-components/global/styles.ts +3 -0
- package/dist/mint-components/mint-components.css +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-0029a386.system.entry.js +1 -0
- package/dist/mint-components/{p-1813b9b9.system.js → p-02dc36a4.system.js} +1 -1
- package/dist/mint-components/p-03a6becf.entry.js +9 -0
- package/dist/mint-components/{p-3b0acfcd.system.js → p-03e93c82.system.js} +1 -1
- package/dist/mint-components/p-0d8b2757.system.entry.js +1 -0
- package/dist/mint-components/{p-ceeaf074.system.js → p-0e8ae7e3.system.js} +35 -21
- package/dist/mint-components/{p-e9ab90a1.entry.js → p-1705e549.entry.js} +1 -1
- package/dist/mint-components/{p-05cca77b.js → p-1f95b411.js} +1 -1
- package/dist/mint-components/p-2027edc0.system.entry.js +1 -0
- package/dist/mint-components/{p-d9cc041f.entry.js → p-20c95798.entry.js} +1 -1
- package/dist/mint-components/p-21b4044a.entry.js +1 -0
- package/dist/mint-components/{p-8e37c08d.js → p-221bd06e.js} +1 -1
- package/dist/mint-components/p-2338162a.entry.js +1 -0
- package/dist/mint-components/{p-5dfc6804.system.entry.js → p-24fa8920.system.entry.js} +1 -1
- package/dist/mint-components/{p-1fb688a9.system.js → p-2e63dcfd.system.js} +1 -1
- package/dist/mint-components/{p-d3787c3a.entry.js → p-3143cce4.entry.js} +1 -1
- package/dist/mint-components/p-34112d74.entry.js +1 -0
- package/dist/mint-components/p-40e83a85.system.js +1 -0
- package/dist/mint-components/{p-0688c9c2.system.entry.js → p-46493de5.system.entry.js} +1 -1
- package/dist/mint-components/{p-7c13e32e.system.entry.js → p-4658d225.system.entry.js} +1 -1
- package/dist/mint-components/{p-434ee9c1.js → p-4b719313.js} +1 -1
- package/dist/mint-components/{p-a7f0b2f6.entry.js → p-53e51b3f.entry.js} +1 -1
- package/dist/mint-components/p-58ffe936.system.entry.js +58 -0
- package/dist/mint-components/p-5939212e.system.entry.js +1 -0
- package/dist/mint-components/{p-00190438.js → p-5d925bb6.js} +1 -1
- package/dist/mint-components/{p-82ab88fe.system.js → p-5e4e7f01.system.js} +1 -1
- package/dist/mint-components/{p-cc3510c8.js → p-61acba7a.js} +1 -1
- package/dist/mint-components/{p-16da5146.entry.js → p-65c79eec.entry.js} +1 -1
- package/dist/mint-components/p-759d3800.entry.js +13 -0
- package/dist/mint-components/p-7cdbe82a.entry.js +1 -0
- package/dist/mint-components/{p-a0045707.system.entry.js → p-7ff22998.system.entry.js} +1 -1
- package/dist/mint-components/p-85efd952.entry.js +1 -0
- package/dist/mint-components/p-86255b95.entry.js +1 -0
- package/dist/mint-components/p-88d9bd59.entry.js +393 -0
- package/dist/mint-components/{p-1b414d8f.system.entry.js → p-88fdfd94.system.entry.js} +1 -1
- package/dist/mint-components/{p-f1e1086e.js → p-8fd8682c.js} +17 -2
- package/dist/mint-components/{p-57a53dbd.system.entry.js → p-97b946c2.system.entry.js} +1 -1
- package/dist/mint-components/{p-e22eed7b.entry.js → p-9be0cb19.entry.js} +1 -1
- package/dist/mint-components/{p-4ba2faf2.system.entry.js → p-a0a26fc5.system.entry.js} +1 -1
- package/dist/mint-components/{p-e475a5ff.system.entry.js → p-a355eeaf.system.entry.js} +1 -1
- package/dist/mint-components/p-a8246a50.system.entry.js +1 -0
- package/dist/mint-components/p-a831de18.entry.js +1 -0
- package/dist/mint-components/p-a833dbb3.js +1 -0
- package/dist/mint-components/p-a88a08bb.system.js +1 -0
- package/dist/mint-components/{p-2f171597.entry.js → p-a9a6f205.entry.js} +1 -1
- package/dist/mint-components/p-aee83885.system.entry.js +1 -0
- package/dist/mint-components/{p-505f5c59.system.entry.js → p-b86cbac3.system.entry.js} +1 -1
- package/dist/mint-components/{p-3052c913.system.js → p-be3a0cc4.system.js} +1 -1
- package/dist/mint-components/{p-5f28af29.entry.js → p-c0f9d0b1.entry.js} +1 -1
- package/dist/mint-components/p-c65cfc9d.system.js +1 -0
- package/dist/mint-components/p-ca40dbaa.system.entry.js +1 -0
- package/dist/mint-components/p-cc189fc4.system.js +1 -0
- package/dist/mint-components/p-cc652a53.entry.js +1 -0
- package/dist/mint-components/p-d19d6012.js +235 -0
- package/dist/mint-components/p-d3c7dbfc.entry.js +1 -0
- package/dist/mint-components/{p-2a025d2a.system.entry.js → p-d4a1bce9.system.entry.js} +1 -1
- package/dist/mint-components/p-d68f6b64.system.entry.js +1 -0
- package/dist/mint-components/p-e36ff7fa.entry.js +1 -0
- package/dist/mint-components/{p-a4a00461.entry.js → p-e608f340.entry.js} +2 -2
- package/dist/mint-components/{p-16535642.system.entry.js → p-e7cb4274.system.entry.js} +1 -1
- package/dist/mint-components/p-ef7f70f2.system.entry.js +1 -0
- package/dist/mint-components/{p-04516274.system.entry.js → p-f20d9204.system.entry.js} +1 -1
- package/dist/mint-components/p-f7f87338.js +1 -0
- package/dist/mint-components/{p-a0cfd3d9.system.js → p-f9ada3d7.system.js} +1 -1
- package/dist/mint-components/{p-844fd903.js → p-faf66fdb.js} +1 -1
- package/dist/mint-components/p-fcd03042.entry.js +1 -0
- package/dist/mint-components/{p-1ac9c24b.system.entry.js → p-fd281e6b.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 +13 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +234 -0
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +2 -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 +3 -4
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +4 -0
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -0
- 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-stencilbook/AutoColor.d.ts +1 -0
- package/dist/types/components/{sqm-task-card → sqm-stencilbook}/Matrix.d.ts +0 -0
- package/dist/types/components/sqm-stencilbook/Resizer.d.ts +3 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +17 -0
- package/dist/types/components/sqm-task-card/SVGs.d.ts +1 -1
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +15 -5
- 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 +12 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +15 -22
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +35 -16
- package/dist/types/components.d.ts +110 -36
- package/dist/types/global/styles.d.ts +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -2
- 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/ShadowViewAddon-fff5d35d.js +0 -1
- 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-navigation-sidebar-item-view-8a3f374b.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-0ba3c956.system.entry.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-2bce988c.js +0 -1
- package/dist/mint-components/p-337b49ee.entry.js +0 -1
- package/dist/mint-components/p-353b4413.system.js +0 -1
- package/dist/mint-components/p-3fd33dee.system.entry.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-6cdc70f4.entry.js +0 -1
- package/dist/mint-components/p-6d545e13.entry.js +0 -1
- package/dist/mint-components/p-70837c1c.entry.js +0 -49
- package/dist/mint-components/p-71d942af.entry.js +0 -9
- package/dist/mint-components/p-7c138c84.entry.js +0 -1
- package/dist/mint-components/p-7c261ea0.system.entry.js +0 -1
- package/dist/mint-components/p-8034f81c.system.entry.js +0 -1
- package/dist/mint-components/p-82d7a2ba.entry.js +0 -1
- package/dist/mint-components/p-844f9bad.entry.js +0 -1
- package/dist/mint-components/p-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-aba21f90.entry.js +0 -1
- package/dist/mint-components/p-af06ea5b.system.entry.js +0 -1
- package/dist/mint-components/p-b3af1c6f.js +0 -1
- package/dist/mint-components/p-bca8867d.entry.js +0 -287
- 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-db723323.system.entry.js +0 -1
- package/dist/mint-components/p-dd6a666e.system.js +0 -15
- package/dist/mint-components/p-dfc3cf82.js +0 -1
- package/dist/mint-components/p-e19a57a4.system.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-c0bf9df0.js');
|
|
5
5
|
|
|
6
6
|
function LeaderboardView(props) {
|
|
7
7
|
var _a;
|
|
@@ -45,7 +45,7 @@ const GET_LEADERBOARD = index_module.dist.gql `
|
|
|
45
45
|
function useLeaderboard(props) {
|
|
46
46
|
var _a;
|
|
47
47
|
const programId = index_module.M();
|
|
48
|
-
const user = index_module.
|
|
48
|
+
const user = index_module.ne();
|
|
49
49
|
const variables = {
|
|
50
50
|
type: props.leaderboardType,
|
|
51
51
|
filter: { programId_eq: programId },
|
|
@@ -53,7 +53,7 @@ function useLeaderboard(props) {
|
|
|
53
53
|
if (props.interval) {
|
|
54
54
|
variables.filter["interval"] = props.interval;
|
|
55
55
|
}
|
|
56
|
-
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.
|
|
56
|
+
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.cn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
57
57
|
const leaderboardRows = (_a = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _a === void 0 ? void 0 : _a.rows;
|
|
58
58
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
59
59
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const _extends = require('./extends-0302d27d.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
5
|
-
const tslib_es6 = require('./tslib.es6-0e81fab1.js');
|
|
4
|
+
const index_module = require('./index.module-c0bf9df0.js');
|
|
6
5
|
|
|
7
6
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
8
7
|
__assign = Object.assign || function(t) {
|
|
@@ -8363,6 +8362,58 @@ define$1(String.prototype, "padRight", "".padEnd);
|
|
|
8363
8362
|
[][key] && define$1(Array, key, Function.call.bind([][key]));
|
|
8364
8363
|
});
|
|
8365
8364
|
|
|
8365
|
+
/*! *****************************************************************************
|
|
8366
|
+
Copyright (c) Microsoft Corporation.
|
|
8367
|
+
|
|
8368
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
8369
|
+
purpose with or without fee is hereby granted.
|
|
8370
|
+
|
|
8371
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8372
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
8373
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
8374
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
8375
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
8376
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
8377
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
8378
|
+
***************************************************************************** */
|
|
8379
|
+
/* global Reflect, Promise */
|
|
8380
|
+
|
|
8381
|
+
var extendStatics = function(d, b) {
|
|
8382
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8383
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8384
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
8385
|
+
return extendStatics(d, b);
|
|
8386
|
+
};
|
|
8387
|
+
|
|
8388
|
+
function __extends$1(d, b) {
|
|
8389
|
+
if (typeof b !== "function" && b !== null)
|
|
8390
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
8391
|
+
extendStatics(d, b);
|
|
8392
|
+
function __() { this.constructor = d; }
|
|
8393
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8394
|
+
}
|
|
8395
|
+
|
|
8396
|
+
exports.__assign = function() {
|
|
8397
|
+
exports.__assign = Object.assign || function __assign(t) {
|
|
8398
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8399
|
+
s = arguments[i];
|
|
8400
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8401
|
+
}
|
|
8402
|
+
return t;
|
|
8403
|
+
};
|
|
8404
|
+
return exports.__assign.apply(this, arguments);
|
|
8405
|
+
};
|
|
8406
|
+
|
|
8407
|
+
function __spreadArray(to, from, pack) {
|
|
8408
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
8409
|
+
if (ar || !(i in from)) {
|
|
8410
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
8411
|
+
ar[i] = from[i];
|
|
8412
|
+
}
|
|
8413
|
+
}
|
|
8414
|
+
return to.concat(ar || from);
|
|
8415
|
+
}
|
|
8416
|
+
|
|
8366
8417
|
var TYPE;
|
|
8367
8418
|
(function (TYPE) {
|
|
8368
8419
|
/**
|
|
@@ -8723,10 +8774,10 @@ function parseNumberSkeleton(tokens) {
|
|
|
8723
8774
|
result.compactDisplay = 'long';
|
|
8724
8775
|
continue;
|
|
8725
8776
|
case 'scientific':
|
|
8726
|
-
result =
|
|
8777
|
+
result = exports.__assign(exports.__assign(exports.__assign({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (exports.__assign(exports.__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8727
8778
|
continue;
|
|
8728
8779
|
case 'engineering':
|
|
8729
|
-
result =
|
|
8780
|
+
result = exports.__assign(exports.__assign(exports.__assign({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (exports.__assign(exports.__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8730
8781
|
continue;
|
|
8731
8782
|
case 'notation-simple':
|
|
8732
8783
|
result.notation = 'standard';
|
|
@@ -8802,22 +8853,22 @@ function parseNumberSkeleton(tokens) {
|
|
|
8802
8853
|
return '';
|
|
8803
8854
|
});
|
|
8804
8855
|
if (token.options.length) {
|
|
8805
|
-
result =
|
|
8856
|
+
result = exports.__assign(exports.__assign({}, result), parseSignificantPrecision(token.options[0]));
|
|
8806
8857
|
}
|
|
8807
8858
|
continue;
|
|
8808
8859
|
}
|
|
8809
8860
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
|
8810
8861
|
if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {
|
|
8811
|
-
result =
|
|
8862
|
+
result = exports.__assign(exports.__assign({}, result), parseSignificantPrecision(token.stem));
|
|
8812
8863
|
continue;
|
|
8813
8864
|
}
|
|
8814
8865
|
var signOpts = parseSign(token.stem);
|
|
8815
8866
|
if (signOpts) {
|
|
8816
|
-
result =
|
|
8867
|
+
result = exports.__assign(exports.__assign({}, result), signOpts);
|
|
8817
8868
|
}
|
|
8818
8869
|
var conciseScientificAndEngineeringOpts = parseConciseScientificAndEngineeringStem(token.stem);
|
|
8819
8870
|
if (conciseScientificAndEngineeringOpts) {
|
|
8820
|
-
result =
|
|
8871
|
+
result = exports.__assign(exports.__assign({}, result), conciseScientificAndEngineeringOpts);
|
|
8821
8872
|
}
|
|
8822
8873
|
}
|
|
8823
8874
|
return result;
|
|
@@ -8825,7 +8876,7 @@ function parseNumberSkeleton(tokens) {
|
|
|
8825
8876
|
|
|
8826
8877
|
// @ts-nocheck
|
|
8827
8878
|
var SyntaxError = /** @class */ (function (_super) {
|
|
8828
|
-
|
|
8879
|
+
__extends$1(SyntaxError, _super);
|
|
8829
8880
|
function SyntaxError(message, expected, found, location) {
|
|
8830
8881
|
var _this = _super.call(this) || this;
|
|
8831
8882
|
_this.message = message;
|
|
@@ -8932,24 +8983,24 @@ function peg$parse(input, options) {
|
|
|
8932
8983
|
};
|
|
8933
8984
|
var peg$c6 = function () { return '<'; };
|
|
8934
8985
|
var peg$c7 = function (messageText) {
|
|
8935
|
-
return
|
|
8986
|
+
return exports.__assign({ type: TYPE.literal, value: messageText }, insertLocation());
|
|
8936
8987
|
};
|
|
8937
8988
|
var peg$c8 = "#";
|
|
8938
8989
|
var peg$c9 = peg$literalExpectation("#", false);
|
|
8939
8990
|
var peg$c10 = function () {
|
|
8940
|
-
return
|
|
8991
|
+
return exports.__assign({ type: TYPE.pound }, insertLocation());
|
|
8941
8992
|
};
|
|
8942
8993
|
var peg$c11 = peg$otherExpectation("tagElement");
|
|
8943
8994
|
var peg$c12 = function (open, children, close) {
|
|
8944
8995
|
if (open !== close) {
|
|
8945
8996
|
error("Mismatch tag \"" + open + "\" !== \"" + close + "\"", location());
|
|
8946
8997
|
}
|
|
8947
|
-
return
|
|
8998
|
+
return exports.__assign({ type: TYPE.tag, value: open, children: children }, insertLocation());
|
|
8948
8999
|
};
|
|
8949
9000
|
var peg$c13 = "/>";
|
|
8950
9001
|
var peg$c14 = peg$literalExpectation("/>", false);
|
|
8951
9002
|
var peg$c15 = function (value) {
|
|
8952
|
-
return
|
|
9003
|
+
return exports.__assign({ type: TYPE.literal, value: value.join('') }, insertLocation());
|
|
8953
9004
|
};
|
|
8954
9005
|
var peg$c16 = ">";
|
|
8955
9006
|
var peg$c17 = peg$literalExpectation(">", false);
|
|
@@ -8962,7 +9013,7 @@ function peg$parse(input, options) {
|
|
|
8962
9013
|
var peg$c24 = "}";
|
|
8963
9014
|
var peg$c25 = peg$literalExpectation("}", false);
|
|
8964
9015
|
var peg$c26 = function (value) {
|
|
8965
|
-
return
|
|
9016
|
+
return exports.__assign({ type: TYPE.argument, value: value }, insertLocation());
|
|
8966
9017
|
};
|
|
8967
9018
|
var peg$c27 = peg$otherExpectation("numberSkeletonId");
|
|
8968
9019
|
var peg$c28 = /^['\/{}]/;
|
|
@@ -8977,7 +9028,7 @@ function peg$parse(input, options) {
|
|
|
8977
9028
|
return { stem: stem, options: options };
|
|
8978
9029
|
};
|
|
8979
9030
|
var peg$c37 = function (tokens) {
|
|
8980
|
-
return
|
|
9031
|
+
return exports.__assign({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
|
|
8981
9032
|
};
|
|
8982
9033
|
var peg$c38 = "::";
|
|
8983
9034
|
var peg$c39 = peg$literalExpectation("::", false);
|
|
@@ -8992,7 +9043,7 @@ function peg$parse(input, options) {
|
|
|
8992
9043
|
var peg$c45 = "number";
|
|
8993
9044
|
var peg$c46 = peg$literalExpectation("number", false);
|
|
8994
9045
|
var peg$c47 = function (value, type, style) {
|
|
8995
|
-
return
|
|
9046
|
+
return exports.__assign({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
|
|
8996
9047
|
};
|
|
8997
9048
|
var peg$c48 = "'";
|
|
8998
9049
|
var peg$c49 = peg$literalExpectation("'", false);
|
|
@@ -9003,7 +9054,7 @@ function peg$parse(input, options) {
|
|
|
9003
9054
|
var peg$c54 = /^[a-zA-Z]/;
|
|
9004
9055
|
var peg$c55 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false);
|
|
9005
9056
|
var peg$c56 = function (pattern) {
|
|
9006
|
-
return
|
|
9057
|
+
return exports.__assign({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
|
|
9007
9058
|
};
|
|
9008
9059
|
var peg$c57 = function () { messageCtx.push('dateOrTimeArgStyle'); return true; };
|
|
9009
9060
|
var peg$c58 = "date";
|
|
@@ -9017,7 +9068,7 @@ function peg$parse(input, options) {
|
|
|
9017
9068
|
var peg$c66 = "offset:";
|
|
9018
9069
|
var peg$c67 = peg$literalExpectation("offset:", false);
|
|
9019
9070
|
var peg$c68 = function (value, pluralType, offset, options) {
|
|
9020
|
-
return
|
|
9071
|
+
return exports.__assign({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
|
|
9021
9072
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9022
9073
|
if (id in all) {
|
|
9023
9074
|
error("Duplicate option \"" + id + "\" in plural element: \"" + text() + "\"", location());
|
|
@@ -9032,7 +9083,7 @@ function peg$parse(input, options) {
|
|
|
9032
9083
|
var peg$c69 = "select";
|
|
9033
9084
|
var peg$c70 = peg$literalExpectation("select", false);
|
|
9034
9085
|
var peg$c71 = function (value, options) {
|
|
9035
|
-
return
|
|
9086
|
+
return exports.__assign({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
|
|
9036
9087
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9037
9088
|
if (id in all) {
|
|
9038
9089
|
error("Duplicate option \"" + id + "\" in select element: \"" + text() + "\"", location());
|
|
@@ -9049,13 +9100,13 @@ function peg$parse(input, options) {
|
|
|
9049
9100
|
var peg$c74 = function (id) { messageCtx.push('select'); return true; };
|
|
9050
9101
|
var peg$c75 = function (id, value) {
|
|
9051
9102
|
messageCtx.pop();
|
|
9052
|
-
return
|
|
9103
|
+
return exports.__assign({ id: id,
|
|
9053
9104
|
value: value }, insertLocation());
|
|
9054
9105
|
};
|
|
9055
9106
|
var peg$c76 = function (id) { messageCtx.push('plural'); return true; };
|
|
9056
9107
|
var peg$c77 = function (id, value) {
|
|
9057
9108
|
messageCtx.pop();
|
|
9058
|
-
return
|
|
9109
|
+
return exports.__assign({ id: id,
|
|
9059
9110
|
value: value }, insertLocation());
|
|
9060
9111
|
};
|
|
9061
9112
|
var peg$c78 = peg$otherExpectation("whitespace");
|
|
@@ -11931,7 +11982,7 @@ function normalizeHashtagInPlural(els) {
|
|
|
11931
11982
|
if (literalEl) {
|
|
11932
11983
|
var newValue = literalEl.value.replace(PLURAL_HASHTAG_REGEX, "$1{" + el.value + ", number}");
|
|
11933
11984
|
var newEls = pegParse(newValue);
|
|
11934
|
-
(_a = opt.value).splice.apply(_a,
|
|
11985
|
+
(_a = opt.value).splice.apply(_a, __spreadArray([matchingLiteralElIndex, 1], newEls));
|
|
11935
11986
|
}
|
|
11936
11987
|
normalizeHashtagInPlural(opt.value);
|
|
11937
11988
|
});
|
|
@@ -11939,7 +11990,7 @@ function normalizeHashtagInPlural(els) {
|
|
|
11939
11990
|
}
|
|
11940
11991
|
|
|
11941
11992
|
function parse(input, opts) {
|
|
11942
|
-
opts =
|
|
11993
|
+
opts = exports.__assign({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
|
|
11943
11994
|
var els = pegParse(input, opts);
|
|
11944
11995
|
if (opts.normalizeHashtagInPlural) {
|
|
11945
11996
|
normalizeHashtagInPlural(els);
|
|
@@ -11957,7 +12008,7 @@ var ErrorCode;
|
|
|
11957
12008
|
ErrorCode["MISSING_INTL_API"] = "MISSING_INTL_API";
|
|
11958
12009
|
})(ErrorCode || (ErrorCode = {}));
|
|
11959
12010
|
var FormatError = /** @class */ (function (_super) {
|
|
11960
|
-
|
|
12011
|
+
__extends$1(FormatError, _super);
|
|
11961
12012
|
function FormatError(msg, code, originalMessage) {
|
|
11962
12013
|
var _this = _super.call(this, msg) || this;
|
|
11963
12014
|
_this.code = code;
|
|
@@ -11970,21 +12021,21 @@ var FormatError = /** @class */ (function (_super) {
|
|
|
11970
12021
|
return FormatError;
|
|
11971
12022
|
}(Error));
|
|
11972
12023
|
var InvalidValueError = /** @class */ (function (_super) {
|
|
11973
|
-
|
|
12024
|
+
__extends$1(InvalidValueError, _super);
|
|
11974
12025
|
function InvalidValueError(variableId, value, options, originalMessage) {
|
|
11975
12026
|
return _super.call(this, "Invalid values for \"" + variableId + "\": \"" + value + "\". Options are \"" + Object.keys(options).join('", "') + "\"", ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
11976
12027
|
}
|
|
11977
12028
|
return InvalidValueError;
|
|
11978
12029
|
}(FormatError));
|
|
11979
12030
|
var InvalidValueTypeError = /** @class */ (function (_super) {
|
|
11980
|
-
|
|
12031
|
+
__extends$1(InvalidValueTypeError, _super);
|
|
11981
12032
|
function InvalidValueTypeError(value, type, originalMessage) {
|
|
11982
12033
|
return _super.call(this, "Value for \"" + value + "\" must be of type " + type, ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
11983
12034
|
}
|
|
11984
12035
|
return InvalidValueTypeError;
|
|
11985
12036
|
}(FormatError));
|
|
11986
12037
|
var MissingValueError = /** @class */ (function (_super) {
|
|
11987
|
-
|
|
12038
|
+
__extends$1(MissingValueError, _super);
|
|
11988
12039
|
function MissingValueError(variableId, originalMessage) {
|
|
11989
12040
|
return _super.call(this, "The intl string context variable \"" + variableId + "\" was not provided to the string \"" + originalMessage + "\"", ErrorCode.MISSING_VALUE, originalMessage) || this;
|
|
11990
12041
|
}
|
|
@@ -12177,8 +12228,8 @@ function mergeConfig(c1, c2) {
|
|
|
12177
12228
|
if (!c2) {
|
|
12178
12229
|
return c1;
|
|
12179
12230
|
}
|
|
12180
|
-
return
|
|
12181
|
-
all[k] =
|
|
12231
|
+
return exports.__assign(exports.__assign(exports.__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
|
|
12232
|
+
all[k] = exports.__assign(exports.__assign({}, c1[k]), (c2[k] || {}));
|
|
12182
12233
|
return all;
|
|
12183
12234
|
}, {}));
|
|
12184
12235
|
}
|
|
@@ -12189,7 +12240,7 @@ function mergeConfigs(defaultConfig, configs) {
|
|
|
12189
12240
|
return Object.keys(defaultConfig).reduce(function (all, k) {
|
|
12190
12241
|
all[k] = mergeConfig(defaultConfig[k], configs[k]);
|
|
12191
12242
|
return all;
|
|
12192
|
-
},
|
|
12243
|
+
}, exports.__assign({}, defaultConfig));
|
|
12193
12244
|
}
|
|
12194
12245
|
function createFastMemoizeCache(store) {
|
|
12195
12246
|
return {
|
|
@@ -12224,7 +12275,7 @@ function createDefaultFormatters(cache) {
|
|
|
12224
12275
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12225
12276
|
args[_i] = arguments[_i];
|
|
12226
12277
|
}
|
|
12227
|
-
return new ((_a = Intl.NumberFormat).bind.apply(_a,
|
|
12278
|
+
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12228
12279
|
}, {
|
|
12229
12280
|
cache: createFastMemoizeCache(cache.number),
|
|
12230
12281
|
strategy: memoizeIntl.strategies.variadic,
|
|
@@ -12235,7 +12286,7 @@ function createDefaultFormatters(cache) {
|
|
|
12235
12286
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12236
12287
|
args[_i] = arguments[_i];
|
|
12237
12288
|
}
|
|
12238
|
-
return new ((_a = Intl.DateTimeFormat).bind.apply(_a,
|
|
12289
|
+
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12239
12290
|
}, {
|
|
12240
12291
|
cache: createFastMemoizeCache(cache.dateTime),
|
|
12241
12292
|
strategy: memoizeIntl.strategies.variadic,
|
|
@@ -12246,7 +12297,7 @@ function createDefaultFormatters(cache) {
|
|
|
12246
12297
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12247
12298
|
args[_i] = arguments[_i];
|
|
12248
12299
|
}
|
|
12249
|
-
return new ((_a = Intl.PluralRules).bind.apply(_a,
|
|
12300
|
+
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12250
12301
|
}, {
|
|
12251
12302
|
cache: createFastMemoizeCache(cache.pluralRules),
|
|
12252
12303
|
strategy: memoizeIntl.strategies.variadic,
|
|
@@ -12399,7 +12450,7 @@ var IntlErrorCode;
|
|
|
12399
12450
|
IntlErrorCode["MISSING_TRANSLATION"] = "MISSING_TRANSLATION";
|
|
12400
12451
|
})(IntlErrorCode || (IntlErrorCode = {}));
|
|
12401
12452
|
var IntlError = /** @class */ (function (_super) {
|
|
12402
|
-
|
|
12453
|
+
__extends$1(IntlError, _super);
|
|
12403
12454
|
function IntlError(code, message, exception) {
|
|
12404
12455
|
var _this = _super.call(this, "[@formatjs/intl Error " + code + "] " + message + " \n" + (exception ? "\n" + exception.message + "\n" + exception.stack : '')) || this;
|
|
12405
12456
|
_this.code = code;
|
|
@@ -12411,28 +12462,28 @@ var IntlError = /** @class */ (function (_super) {
|
|
|
12411
12462
|
return IntlError;
|
|
12412
12463
|
}(Error));
|
|
12413
12464
|
var UnsupportedFormatterError = /** @class */ (function (_super) {
|
|
12414
|
-
|
|
12465
|
+
__extends$1(UnsupportedFormatterError, _super);
|
|
12415
12466
|
function UnsupportedFormatterError(message, exception) {
|
|
12416
12467
|
return _super.call(this, IntlErrorCode.UNSUPPORTED_FORMATTER, message, exception) || this;
|
|
12417
12468
|
}
|
|
12418
12469
|
return UnsupportedFormatterError;
|
|
12419
12470
|
}(IntlError));
|
|
12420
12471
|
var InvalidConfigError = /** @class */ (function (_super) {
|
|
12421
|
-
|
|
12472
|
+
__extends$1(InvalidConfigError, _super);
|
|
12422
12473
|
function InvalidConfigError(message, exception) {
|
|
12423
12474
|
return _super.call(this, IntlErrorCode.INVALID_CONFIG, message, exception) || this;
|
|
12424
12475
|
}
|
|
12425
12476
|
return InvalidConfigError;
|
|
12426
12477
|
}(IntlError));
|
|
12427
12478
|
var MissingDataError = /** @class */ (function (_super) {
|
|
12428
|
-
|
|
12479
|
+
__extends$1(MissingDataError, _super);
|
|
12429
12480
|
function MissingDataError(message, exception) {
|
|
12430
12481
|
return _super.call(this, IntlErrorCode.MISSING_DATA, message, exception) || this;
|
|
12431
12482
|
}
|
|
12432
12483
|
return MissingDataError;
|
|
12433
12484
|
}(IntlError));
|
|
12434
12485
|
var MessageFormatError = /** @class */ (function (_super) {
|
|
12435
|
-
|
|
12486
|
+
__extends$1(MessageFormatError, _super);
|
|
12436
12487
|
function MessageFormatError(message, locale, descriptor, exception) {
|
|
12437
12488
|
var _this = _super.call(this, IntlErrorCode.FORMAT_ERROR, message + " \nLocale: " + locale + "\nMessageID: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.id) + "\nDefault Message: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.defaultMessage) + "\nDescription: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.description) + " \n", exception) || this;
|
|
12438
12489
|
_this.descriptor = descriptor;
|
|
@@ -12441,7 +12492,7 @@ var MessageFormatError = /** @class */ (function (_super) {
|
|
|
12441
12492
|
return MessageFormatError;
|
|
12442
12493
|
}(IntlError));
|
|
12443
12494
|
var MissingTranslationError = /** @class */ (function (_super) {
|
|
12444
|
-
|
|
12495
|
+
__extends$1(MissingTranslationError, _super);
|
|
12445
12496
|
function MissingTranslationError(descriptor, locale) {
|
|
12446
12497
|
var _this = _super.call(this, IntlErrorCode.MISSING_TRANSLATION, "Missing message: \"" + descriptor.id + "\" for locale \"" + locale + "\", using " + (descriptor.defaultMessage ? 'default message' : 'id') + " as fallback.") || this;
|
|
12447
12498
|
_this.descriptor = descriptor;
|
|
@@ -12518,7 +12569,7 @@ function createFormatters(cache) {
|
|
|
12518
12569
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12519
12570
|
args[_i] = arguments[_i];
|
|
12520
12571
|
}
|
|
12521
|
-
return new ((_a = Intl.DateTimeFormat).bind.apply(_a,
|
|
12572
|
+
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12522
12573
|
}, {
|
|
12523
12574
|
cache: createFastMemoizeCache$1(cache.dateTime),
|
|
12524
12575
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12529,7 +12580,7 @@ function createFormatters(cache) {
|
|
|
12529
12580
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12530
12581
|
args[_i] = arguments[_i];
|
|
12531
12582
|
}
|
|
12532
|
-
return new ((_a = Intl.NumberFormat).bind.apply(_a,
|
|
12583
|
+
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12533
12584
|
}, {
|
|
12534
12585
|
cache: createFastMemoizeCache$1(cache.number),
|
|
12535
12586
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12540,7 +12591,7 @@ function createFormatters(cache) {
|
|
|
12540
12591
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12541
12592
|
args[_i] = arguments[_i];
|
|
12542
12593
|
}
|
|
12543
|
-
return new ((_a = Intl.PluralRules).bind.apply(_a,
|
|
12594
|
+
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12544
12595
|
}, {
|
|
12545
12596
|
cache: createFastMemoizeCache$1(cache.pluralRules),
|
|
12546
12597
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12549,7 +12600,7 @@ function createFormatters(cache) {
|
|
|
12549
12600
|
getDateTimeFormat: getDateTimeFormat,
|
|
12550
12601
|
getNumberFormat: getNumberFormat,
|
|
12551
12602
|
getMessageFormat: memoizeIntl$1(function (message, locales, overrideFormats, opts) {
|
|
12552
|
-
return new IntlMessageFormat(message, locales, overrideFormats,
|
|
12603
|
+
return new IntlMessageFormat(message, locales, overrideFormats, exports.__assign({ formatters: {
|
|
12553
12604
|
getNumberFormat: getNumberFormat,
|
|
12554
12605
|
getDateTimeFormat: getDateTimeFormat,
|
|
12555
12606
|
getPluralRules: getPluralRules,
|
|
@@ -12563,7 +12614,7 @@ function createFormatters(cache) {
|
|
|
12563
12614
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12564
12615
|
args[_i] = arguments[_i];
|
|
12565
12616
|
}
|
|
12566
|
-
return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat,
|
|
12617
|
+
return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, __spreadArray([void 0], args)))();
|
|
12567
12618
|
}, {
|
|
12568
12619
|
cache: createFastMemoizeCache$1(cache.relativeTime),
|
|
12569
12620
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12574,7 +12625,7 @@ function createFormatters(cache) {
|
|
|
12574
12625
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12575
12626
|
args[_i] = arguments[_i];
|
|
12576
12627
|
}
|
|
12577
|
-
return new (ListFormat.bind.apply(ListFormat,
|
|
12628
|
+
return new (ListFormat.bind.apply(ListFormat, __spreadArray([void 0], args)))();
|
|
12578
12629
|
}, {
|
|
12579
12630
|
cache: createFastMemoizeCache$1(cache.list),
|
|
12580
12631
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12584,7 +12635,7 @@ function createFormatters(cache) {
|
|
|
12584
12635
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12585
12636
|
args[_i] = arguments[_i];
|
|
12586
12637
|
}
|
|
12587
|
-
return new (DisplayNames.bind.apply(DisplayNames,
|
|
12638
|
+
return new (DisplayNames.bind.apply(DisplayNames, __spreadArray([void 0], args)))();
|
|
12588
12639
|
}, {
|
|
12589
12640
|
cache: createFastMemoizeCache$1(cache.displayNames),
|
|
12590
12641
|
strategy: memoizeIntl$1.strategies.variadic,
|
|
@@ -12616,14 +12667,14 @@ function invariant$1(condition, message, Err) {
|
|
|
12616
12667
|
|
|
12617
12668
|
function setTimeZoneInOptions(opts, timeZone) {
|
|
12618
12669
|
return Object.keys(opts).reduce(function (all, k) {
|
|
12619
|
-
all[k] =
|
|
12670
|
+
all[k] = exports.__assign({ timeZone: timeZone }, opts[k]);
|
|
12620
12671
|
return all;
|
|
12621
12672
|
}, {});
|
|
12622
12673
|
}
|
|
12623
12674
|
function deepMergeOptions(opts1, opts2) {
|
|
12624
|
-
var keys = Object.keys(
|
|
12675
|
+
var keys = Object.keys(exports.__assign(exports.__assign({}, opts1), opts2));
|
|
12625
12676
|
return keys.reduce(function (all, k) {
|
|
12626
|
-
all[k] =
|
|
12677
|
+
all[k] = exports.__assign(exports.__assign({}, (opts1[k] || {})), (opts2[k] || {}));
|
|
12627
12678
|
return all;
|
|
12628
12679
|
}, {});
|
|
12629
12680
|
}
|
|
@@ -12632,7 +12683,7 @@ function deepMergeFormatsAndSetTimeZone(f1, timeZone) {
|
|
|
12632
12683
|
return f1;
|
|
12633
12684
|
}
|
|
12634
12685
|
var mfFormats = IntlMessageFormat.formats;
|
|
12635
|
-
return
|
|
12686
|
+
return exports.__assign(exports.__assign(exports.__assign({}, mfFormats), f1), { date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)), time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone)) });
|
|
12636
12687
|
}
|
|
12637
12688
|
function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
12638
12689
|
var locale = _a.locale, formats = _a.formats, messages = _a.messages, defaultLocale = _a.defaultLocale, defaultFormats = _a.defaultFormats, onError = _a.onError, timeZone = _a.timeZone, defaultRichTextElements = _a.defaultRichTextElements;
|
|
@@ -12661,7 +12712,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12661
12712
|
!defaultRichTextElements) {
|
|
12662
12713
|
return message.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
12663
12714
|
}
|
|
12664
|
-
values =
|
|
12715
|
+
values = exports.__assign(exports.__assign({}, defaultRichTextElements), (values || {}));
|
|
12665
12716
|
formats = deepMergeFormatsAndSetTimeZone(formats, timeZone);
|
|
12666
12717
|
defaultFormats = deepMergeFormatsAndSetTimeZone(defaultFormats, timeZone);
|
|
12667
12718
|
if (!message) {
|
|
@@ -12686,7 +12737,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12686
12737
|
}
|
|
12687
12738
|
// We have the translated message
|
|
12688
12739
|
try {
|
|
12689
|
-
var formatter = state.getMessageFormat(message, locale, formats,
|
|
12740
|
+
var formatter = state.getMessageFormat(message, locale, formats, exports.__assign({ formatters: state }, (opts || {})));
|
|
12690
12741
|
return formatter.format(values);
|
|
12691
12742
|
}
|
|
12692
12743
|
catch (e) {
|
|
@@ -12735,7 +12786,7 @@ function getFormatter(_a, type, getDateTimeFormat, options) {
|
|
|
12735
12786
|
var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;
|
|
12736
12787
|
if (options === void 0) { options = {}; }
|
|
12737
12788
|
var format = options.format;
|
|
12738
|
-
var defaults =
|
|
12789
|
+
var defaults = exports.__assign(exports.__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
|
|
12739
12790
|
var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS,
|
|
12740
12791
|
// @ts-expect-error es2020 has a lot stuff from es2021 bleed in
|
|
12741
12792
|
defaults);
|
|
@@ -12746,7 +12797,7 @@ function getFormatter(_a, type, getDateTimeFormat, options) {
|
|
|
12746
12797
|
!filteredOptions.timeStyle &&
|
|
12747
12798
|
!filteredOptions.dateStyle) {
|
|
12748
12799
|
// Add default formatting options if hour, minute, or second isn't defined.
|
|
12749
|
-
filteredOptions =
|
|
12800
|
+
filteredOptions = exports.__assign(exports.__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
|
|
12750
12801
|
}
|
|
12751
12802
|
return getDateTimeFormat(locale, filteredOptions);
|
|
12752
12803
|
}
|
|
@@ -13017,7 +13068,7 @@ function verifyConfigMessages(config) {
|
|
|
13017
13068
|
*/
|
|
13018
13069
|
function createIntl(config, cache) {
|
|
13019
13070
|
var formatters = createFormatters(cache);
|
|
13020
|
-
var resolvedConfig =
|
|
13071
|
+
var resolvedConfig = exports.__assign(exports.__assign({}, DEFAULT_INTL_CONFIG), config);
|
|
13021
13072
|
var locale = resolvedConfig.locale, defaultLocale = resolvedConfig.defaultLocale, onError = resolvedConfig.onError;
|
|
13022
13073
|
if (!locale) {
|
|
13023
13074
|
if (onError) {
|
|
@@ -13038,7 +13089,7 @@ function createIntl(config, cache) {
|
|
|
13038
13089
|
onError(new MissingDataError("Missing locale data for locale: \"" + locale + "\" in Intl.DateTimeFormat. Using default locale: \"" + defaultLocale + "\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details"));
|
|
13039
13090
|
}
|
|
13040
13091
|
verifyConfigMessages(resolvedConfig);
|
|
13041
|
-
return
|
|
13092
|
+
return exports.__assign(exports.__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
|
|
13042
13093
|
}
|
|
13043
13094
|
|
|
13044
13095
|
var __defProp = Object.defineProperty;
|
|
@@ -26007,6 +26058,9 @@ const style = `
|
|
|
26007
26058
|
src: url(https://fonts.gstatic.com/s/nunitosans/v6/pe03MImSLYBIv1o4X1M8cc8GBs5tU1E.woff2) format('woff2');
|
|
26008
26059
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
26009
26060
|
}
|
|
26061
|
+
html {
|
|
26062
|
+
visibility:hidden;
|
|
26063
|
+
}
|
|
26010
26064
|
:root {
|
|
26011
26065
|
--sl-color-gray-50: hsl(0 0% 97.5%);
|
|
26012
26066
|
--sl-color-gray-100: hsl(240 4.8% 95.9%);
|
|
@@ -26644,7 +26698,7 @@ sl-input::part(label){
|
|
|
26644
26698
|
|
|
26645
26699
|
`;
|
|
26646
26700
|
|
|
26647
|
-
index_module.
|
|
26701
|
+
index_module.q(_extends.l);
|
|
26648
26702
|
const debug = _extends.browser("sq:global");
|
|
26649
26703
|
const cache = createIntlCache();
|
|
26650
26704
|
const intl = createIntl({
|