@saasquatch/mint-components 1.3.2-13 → 1.3.2-17
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-a85b8c8d.js → ShadowViewAddon-06ace999.js} +1 -1
- package/dist/cjs/{global-6223fe8f.js → global-2962ef95.js} +2 -2
- package/dist/cjs/{index.module-7dd4b981.js → index.module-6afe0caa.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-6111d4bd.js → re-render-5feb5c1f.js} +3 -3
- 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_30.cjs.entry.js +241 -171
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-leaderboard-rank-view-7dd44d62.js → sqm-leaderboard-rank-view-277ee4ed.js} +2 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
- 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-6c7f78e6.js → sqm-navigation-sidebar-item-view-f2d6f26e.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-08d1848c.js → sqm-portal-email-verification-view-72c072c0.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-footer-view-69c73802.js → sqm-portal-footer-view-df68933d.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- 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-14b41436.js → sqm-portal-profile-view-29351fd3.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- 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-2786227e.js → useDemoBigStat-1ed13766.js} +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +6 -2
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +80 -57
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +83 -42
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +27 -1
- package/dist/collection/components/sqm-task-card/Matrix.js +4 -1
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +10 -10
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +4 -8
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +26 -22
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +9 -13
- package/dist/esm/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-01127287.js} +1 -1
- package/dist/esm/{global-90da933f.js → global-011b8f35.js} +2 -2
- package/dist/esm/{index.module-90d2c3ad.js → index.module-9d3f0cd6.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-e06f2f7f.js → re-render-5eece794.js} +3 -3
- 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_30.entry.js +241 -171
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-abd2a32b.js} +2 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- 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-f2304ad9.js → sqm-navigation-sidebar-item-view-5b2619a5.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-8cefe480.js → sqm-portal-email-verification-view-294429a1.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-0f4266d5.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- 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-b67467b4.js → sqm-portal-profile-view-4305c000.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- 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-c3b955b7.js → useDemoBigStat-204fc34c.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-01127287.js} +1 -1
- package/dist/esm-es5/{global-90da933f.js → global-011b8f35.js} +2 -2
- package/dist/esm-es5/{index.module-90d2c3ad.js → index.module-9d3f0cd6.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-e06f2f7f.js → re-render-5eece794.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 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-abd2a32b.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f2304ad9.js → sqm-navigation-sidebar-item-view-5b2619a5.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-8cefe480.js → sqm-portal-email-verification-view-294429a1.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-0f4266d5.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-b67467b4.js → sqm-portal-profile-view-4305c000.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-c3b955b7.js → useDemoBigStat-204fc34c.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-223b42bd.system.entry.js → p-01418ed6.system.entry.js} +1 -1
- package/dist/mint-components/{p-db2e4c42.js → p-0c043241.js} +1 -1
- package/dist/mint-components/{p-be2738b0.system.entry.js → p-11207a1e.system.entry.js} +1 -1
- package/dist/mint-components/{p-69bcf4fa.system.entry.js → p-119abcad.system.entry.js} +1 -1
- package/dist/mint-components/{p-6e245fa3.system.entry.js → p-141bd369.system.entry.js} +1 -1
- package/dist/mint-components/{p-3ce2fb83.system.js → p-1555800c.system.js} +1 -1
- package/dist/mint-components/{p-160bd62f.entry.js → p-1e0b2fee.entry.js} +1 -1
- package/dist/mint-components/{p-16f5a7cb.system.js → p-215521e1.system.js} +1 -1
- package/dist/mint-components/{p-b608f7a4.system.js → p-21d39dfd.system.js} +1 -1
- package/dist/mint-components/{p-221a4097.entry.js → p-22307e8a.entry.js} +1 -1
- package/dist/mint-components/p-2885425e.entry.js +1 -0
- package/dist/mint-components/{p-46a4269a.js → p-30fa3b36.js} +1 -1
- package/dist/mint-components/{p-44d0fc80.system.entry.js → p-32920ce3.system.entry.js} +1 -1
- package/dist/mint-components/p-331bdc2a.system.js +1 -0
- package/dist/mint-components/p-36a7c338.entry.js +1 -0
- package/dist/mint-components/{p-24b3c6f0.system.entry.js → p-384a10f9.system.entry.js} +1 -1
- package/dist/mint-components/{p-6882070c.js → p-3c804bb7.js} +1 -1
- package/dist/mint-components/{p-723ebe45.entry.js → p-48687d52.entry.js} +1 -1
- package/dist/mint-components/{p-8435a22d.entry.js → p-4a814c77.entry.js} +1 -1
- package/dist/mint-components/{p-0eb3e89c.js → p-4aee33c0.js} +1 -1
- package/dist/mint-components/{p-304e6c82.system.entry.js → p-52f6bff4.system.entry.js} +1 -1
- package/dist/mint-components/{p-4052b948.system.entry.js → p-5741ae7c.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8bd2607.entry.js → p-5a232b8a.entry.js} +1 -1
- package/dist/mint-components/{p-3f7218fb.entry.js → p-5d6fe62d.entry.js} +10 -10
- package/dist/mint-components/p-677a7f32.entry.js +1 -0
- package/dist/mint-components/{p-563253e8.js → p-6a95dcb9.js} +1 -1
- package/dist/mint-components/{p-45c752a0.entry.js → p-6fa844d9.entry.js} +1 -1
- package/dist/mint-components/p-7525512d.entry.js +1 -0
- package/dist/mint-components/{p-e7f633b9.system.js → p-79509c4d.system.js} +1 -1
- package/dist/mint-components/{p-d174d0bc.system.entry.js → p-7960b101.system.entry.js} +1 -1
- package/dist/mint-components/{p-dc603d08.system.entry.js → p-7d024241.system.entry.js} +1 -1
- package/dist/mint-components/{p-396bf448.system.entry.js → p-7d529d71.system.entry.js} +1 -1
- package/dist/mint-components/p-80a75084.system.entry.js +1 -0
- package/dist/mint-components/{p-3d856985.entry.js → p-80bce3c3.entry.js} +1 -1
- package/dist/mint-components/{p-224504ad.js → p-8583e637.js} +1 -1
- package/dist/mint-components/{p-a6094ff9.system.js → p-8b6d1860.system.js} +1 -1
- package/dist/mint-components/{p-33c5ffb7.entry.js → p-8cfb9e39.entry.js} +1 -1
- package/dist/mint-components/{p-f90486ca.js → p-8e312ded.js} +1 -1
- package/dist/mint-components/{p-cca9026f.system.entry.js → p-8e4f22e9.system.entry.js} +1 -1
- package/dist/mint-components/{p-3397167c.entry.js → p-90c50d10.entry.js} +1 -1
- package/dist/mint-components/{p-73148868.system.entry.js → p-97d23817.system.entry.js} +1 -1
- package/dist/mint-components/p-9f768013.system.entry.js +1 -0
- package/dist/mint-components/{p-f17050de.entry.js → p-a193c9f5.entry.js} +1 -1
- package/dist/mint-components/{p-24c9a599.system.entry.js → p-a2591521.system.entry.js} +1 -1
- package/dist/mint-components/{p-67ae18d1.system.entry.js → p-ab23b5bf.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c554ca0.system.js → p-ae2df320.system.js} +1 -1
- package/dist/mint-components/{p-07c924fa.system.js → p-b05f8e96.system.js} +1 -1
- package/dist/mint-components/{p-9d6dbb2d.entry.js → p-b0d61f59.entry.js} +1 -1
- package/dist/mint-components/{p-1c8b0290.entry.js → p-bfcb4f0e.entry.js} +1 -1
- package/dist/mint-components/{p-55508395.system.entry.js → p-c19f8f68.system.entry.js} +1 -1
- package/dist/mint-components/{p-1dcdca58.system.entry.js → p-c2bca803.system.entry.js} +1 -1
- package/dist/mint-components/p-c3f9d0c7.entry.js +1 -0
- package/dist/mint-components/{p-d35b0366.js → p-c652d06a.js} +1 -1
- package/dist/mint-components/{p-412a9226.system.entry.js → p-ce5f4a12.system.entry.js} +1 -1
- package/dist/mint-components/{p-6bf0a4d9.system.entry.js → p-d0de3d4e.system.entry.js} +1 -1
- package/dist/mint-components/{p-c79c608d.system.entry.js → p-d20dd7c0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6114bfe.system.js → p-d58e79de.system.js} +1 -1
- package/dist/mint-components/{p-a2c3cff3.js → p-dc5eb6d2.js} +1 -1
- package/dist/mint-components/{p-b1bb07db.entry.js → p-dff4cca1.entry.js} +1 -1
- package/dist/mint-components/p-ee4c23e7.entry.js +1 -0
- package/dist/mint-components/{p-3b97aed8.system.js → p-ef5449f1.system.js} +1 -1
- package/dist/mint-components/{p-60855d33.system.js → p-f47c2e07.system.js} +1 -1
- package/dist/mint-components/p-f8e35b7f.js +1 -0
- package/dist/mint-components/{p-52802c88.entry.js → p-fc8bfc97.entry.js} +2 -2
- package/dist/mint-components/{p-1a09e4e1.system.entry.js → p-fdba580a.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4c2c7ed.entry.js → p-fe97f081.entry.js} +1 -1
- package/dist/mint-components/p-fffb1f55.entry.js +9 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +2 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +33 -2
- 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-task-card/TaskCard.stories.d.ts +2 -2
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +4 -8
- package/dist/types/components.d.ts +22 -14
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-20d41ab1.entry.js +0 -1
- package/dist/mint-components/p-29fab29b.entry.js +0 -1
- package/dist/mint-components/p-5480e4ee.entry.js +0 -1
- package/dist/mint-components/p-883a32e7.entry.js +0 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
- package/dist/mint-components/p-ade44a4e.entry.js +0 -1
- package/dist/mint-components/p-b6b4022a.system.entry.js +0 -1
- package/dist/mint-components/p-cd410a05.entry.js +0 -9
- package/dist/mint-components/p-cdeae699.system.js +0 -1
- package/dist/mint-components/p-d21e0dbd.js +0 -1
- package/dist/mint-components/p-fce1dbf6.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-21d39dfd.system.js","./p-ef5449f1.system.js"],(function(e){"use strict";var n,a,t;return{setters:[function(e){n=e.h},function(e){a=e._},function(e){t=e.p}],execute:function(){e("L",E);var r=new Map;var i=new Map;var s=true;var o=false;function f(e){return e.replace(/[\s,]+/g," ").trim()}function l(e){return f(e.source.body.substring(e.start,e.end))}function c(e){var n=new Set;var t=[];e.definitions.forEach((function(e){if(e.kind==="FragmentDefinition"){var a=e.name.value;var r=l(e.loc);var o=i.get(a);if(o&&!o.has(r)){if(s){console.warn("Warning: fragment with name "+a+" already exists.\n"+"graphql-tag enforces all fragment names across your application to be unique; read more about\n"+"this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names")}}else if(!o){i.set(a,o=new Set)}o.add(r);if(!n.has(r)){n.add(r);t.push(e)}}else{t.push(e)}}));return a(a({},e),{definitions:t})}function u(e){var n=new Set(e.definitions);n.forEach((function(e){if(e.loc)delete e.loc;Object.keys(e).forEach((function(a){var t=e[a];if(t&&typeof t==="object"){n.add(t)}}))}));var a=e.loc;if(a){delete a.startToken;delete a.endToken}return e}function d(e){var n=f(e);if(!r.has(n)){var a=t(e,{experimentalFragmentVariables:o});if(!a||a.kind!=="Document"){throw new Error("Not a valid GraphQL document.")}r.set(n,u(c(a)))}return r.get(n)}function m(e){var n=[];for(var a=1;a<arguments.length;a++){n[a-1]=arguments[a]}if(typeof e==="string"){e=[e]}var t=e[0];n.forEach((function(n,a){if(n&&n.kind==="Document"){t+=n.loc.source.body}else{t+=n}t+=e[a+1]}));return d(t)}function g(){r.clear();i.clear()}function p(){s=false}function b(){o=true}function v(){o=false}var h={gql:m,resetCaches:g,disableFragmentWarnings:p,enableExperimentalFragmentVariables:b,disableExperimentalFragmentVariables:v};(function(e){e.gql=h.gql,e.resetCaches=h.resetCaches,e.disableFragmentWarnings=h.disableFragmentWarnings,e.enableExperimentalFragmentVariables=h.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=h.disableExperimentalFragmentVariables})(m||(m={}));m["default"]=m;var y=e("g",m);function E(e){var a=e.data;return n("span",{class:"P"},a.rank)}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as n}from"./p-64c3217a.js";import{_ as e}from"./p-30fa3b36.js";import{p as t}from"./p-dc5eb6d2.js";var a=new Map,r=new Map,o=!0,i=!1;function c(n){return n.replace(/[\s,]+/g," ").trim()}function f(n){var f,s,u,m=c(n);if(!a.has(m)){var p=t(n,{experimentalFragmentVariables:i});if(!p||"Document"!==p.kind)throw new Error("Not a valid GraphQL document.");a.set(m,function(n){var e=new Set(n.definitions);e.forEach((function(n){n.loc&&delete n.loc,Object.keys(n).forEach((function(t){var a=n[t];a&&"object"==typeof a&&e.add(a)}))}));var t=n.loc;return t&&(delete t.startToken,delete t.endToken),n}((f=p,s=new Set,u=[],f.definitions.forEach((function(n){if("FragmentDefinition"===n.kind){var e=n.name.value,t=c((i=n.loc).source.body.substring(i.start,i.end)),a=r.get(e);a&&!a.has(t)?o&&console.warn("Warning: fragment with name "+e+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||r.set(e,a=new Set),a.add(t),s.has(t)||(s.add(t),u.push(n))}else u.push(n);var i})),e(e({},f),{definitions:u}))))}return a.get(m)}function s(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];"string"==typeof n&&(n=[n]);var a=n[0];return e.forEach((function(e,t){a+=e&&"Document"===e.kind?e.loc.source.body:e,a+=n[t+1]})),f(a)}var u,m=s;(u=s||(s={})).gql=m,u.resetCaches=function(){a.clear(),r.clear()},u.disableFragmentWarnings=function(){o=!1},u.enableExperimentalFragmentVariables=function(){i=!0},u.disableExperimentalFragmentVariables=function(){i=!1},s.default=s;const p=s;function l(e){const{data:t}=e;return n("span",{class:"P"},t.rank)}export{l as L,p as g}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,h as a}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import{i as t,c as o}from"./p-
|
|
1
|
+
import{r,h as a}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import{i as t,c as o}from"./p-30fa3b36.js";import"./p-ba505a8c.js";import{M as n,T as s,e as i,j as l}from"./p-dc5eb6d2.js";import{c as d}from"./p-c1086930.js";import{g as c,L as p}from"./p-f8e35b7f.js";const u=c`
|
|
2
2
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -10,4 +10,4 @@ import{r,h as a}from"./p-64c3217a.js";import{m as e}from"./p-44578b22.js";import
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,f=class{constructor(a){r(this,a),this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!",e(this)}disconnectedCallback(){}render(){const r=l()?function(r){const a=o({locale:"en"}).formatMessage({id:"rankText",defaultMessage:r.rankText},{rank:1})||"1st";return d({data:{rank:a}},r.demoData||{},{arrayMerge:(r,a)=>a})}(this):function(r){var a,e,o;const l=n(),d=s(),c={type:r.leaderboardType,filter:{programId_eq:l}};r.interval&&(c.filter.interval=r.interval);const{data:p}=i(u,c,!(null==d?void 0:d.jwt));return{data:{rank:(null===(a=null==p?void 0:p.viewer)||void 0===a?void 0:a.leaderboardRank)?t.formatMessage({id:"rankText",defaultMessage:r.rankText},{rank:null===(o=null===(e=null==p?void 0:p.viewer)||void 0===e?void 0:e.leaderboardRank)||void 0===o?void 0:o[r.rankType]}):r.unrankedText||"unranked"}}}(this);return a(p,Object.assign({},r))}};f.style="p,.P{font-size:var(--sl-font-size-small);color:var(--sl-color-gray-800);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sl-color-gray-500);margin:0px}";export{f as sqm_leaderboard_rank}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=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,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=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-ef5449f1.system.js","./p-1555800c.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.h;r=e.c},function(e){i=e.m},function(){},function(){},function(e){o=e.a}],execute:function(){var a=e("sqm_referral_table_rewards_column",function(){function e(e){t(this,e);this.columnTitle="Rewards";this.hideDetails=false;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,n("sqm-referral-table-rewards-cell",{rewards:e.rewards,hideDetails:this.hideDetails})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.render=function(){o([this.columnTitle]);return n(r,{style:{display:"none"}})};return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o}from"./p-64c3217a.js";import{j as e,e as a,m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{i as r,$ as d,r as i,j as n}from"./p-
|
|
1
|
+
import{r as s,h as o}from"./p-64c3217a.js";import{j as e,e as a,m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{i as r,$ as d,r as i,j as n}from"./p-dc5eb6d2.js";import{j as l}from"./p-e7e129ac.js";import"./p-db5a1e78.js";import{c}from"./p-c1086930.js";import"./p-26f627aa.js";import"./p-9b4f2af6.js";import{P as m}from"./p-bd903567.js";const p=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",this.confirmPassword=!1,this.resetPasswordHeader="Reset your password",this.passwordResetHeader="Password reset",this.resetPasswordButtonText="Reset Password",this.continueButtonText="Continue",this.confirmPasswordFieldLabel="Confirm Password",this.passwordFieldLabel="New Password",t(this)}disconnectedCallback(){}render(){const{states:s,callbacks:t}=n()?c({states:{error:"",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async()=>{console.log("submit")},failed:()=>{},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(s,o)=>o}):function(s){var o,t,n,c,m,p;const[w,u]=e(!1),[b,P]=e(""),[v,h]=r(),[f,C]=d(),j=new URLSearchParams(window.location.search),g=j.get("oobCode");j.delete("oobCode");const x=j.get("nextPage"),R=()=>{j.delete("nextPage"),i.push({pathname:x||s.nextPage,search:j.toString()&&"?"+j.toString()})};return a((()=>{var s;(null===(s=C.data)||void 0===s?void 0:s.resetManagedIdentityPassword)&&(u(!0),setTimeout((()=>{R()}),5e3))}),[null===(o=C.data)||void 0===o?void 0:o.resetManagedIdentityPassword]),a((()=>{v({oobCode:g})}),[g]),a((()=>{var s;(null===(s=null==h?void 0:h.errors)||void 0===s?void 0:s.message)&&P("Network request failed.")}),[null==h?void 0:h.errors]),{states:{loading:C.loading,reset:w,confirmPassword:s.confirmPassword,error:(null===(m=null===(c=null===(n=null===(t=C.errors)||void 0===t?void 0:t.response)||void 0===n?void 0:n.errors)||void 0===c?void 0:c[0])||void 0===m?void 0:m.message)||b,oobCodeValidating:h.loading,oobCodeValid:null===(p=h.data)||void 0===p?void 0:p.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:s.passwordResetHeader,resetPasswordHeader:s.resetPasswordHeader,continueButtonText:s.continueButtonText,resetPasswordButtonText:s.resetPasswordButtonText,confirmPasswordFieldLabel:s.confirmPasswordFieldLabel,passwordFieldLabel:s.passwordFieldLabel}},callbacks:{submit:async s=>{P("");let o=s.detail.formData;null==o||o.forEach(((s,e)=>{l.set(o,e,s)}));const e={oobCode:g,password:o.password};o.password===o.confirmPassword?await f(e):P("Passwords do not match.")},failed:()=>{i.push({pathname:"/",search:j.toString()&&"?"+j.toString()})},gotoNextPage:R}}}(this);return o(m,{states:s,callbacks:t})}};export{p as sqm_portal_reset_password}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{r,h as o}from"./p-64c3217a.js";import{j as t,m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{d as a,M as e,T as i,e as n,j as p}from"./p-dc5eb6d2.js";import"./p-db5a1e78.js";import{g as m}from"./p-fb1b6fdf.js";import{c}from"./p-c1086930.js";import"./p-26f627aa.js";import{S as d}from"./p-412d31b1.js";const l=a.gql`
|
|
2
|
+
query ($programId: ID) {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
referralCode(programId: $programId)
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,u=class{constructor(o){r(this,o),this.tooltiptext="Copied to Clipboard",this.tooltiplifespan=1e3,s(this)}disconnectedCallback(){}render(){const r=m(this),s=p()?function(r){const[o,s]=t(!1),a="https://www.example.com/sharelink/abc";return c({shareString:a,tooltiptext:r.tooltiptext,open:o,onClick:()=>{navigator.clipboard.writeText(a),s(!0),setTimeout((()=>s(!1)),r.tooltiplifespan)}},r.demoData||{},{arrayMerge:(r,o)=>o})}(r):function(r){var o,s;const a=e(),p=i(),{data:m}=n(l,{programId:a},!(null==p?void 0:p.jwt)),c=null!==(s=null===(o=null==m?void 0:m.user)||void 0===o?void 0:o.referralCode)&&void 0!==s?s:"...",[d,u]=t(!1);return{...r,onClick:function(){navigator.clipboard.writeText(c),u(!0),setTimeout((()=>u(!1)),r.tooltiplifespan)},open:d,shareString:c}}(r);return o(d,Object.assign({},s))}};export{u as sqm_share_code}
|
|
@@ -1,6 +1,36 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const rewardExchange: {
|
|
2
2
|
states: {
|
|
3
|
-
content:
|
|
3
|
+
content: {
|
|
4
|
+
text: {
|
|
5
|
+
notAvailableError: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
redeemStage: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
exchangeError: boolean;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
selectedItem: any;
|
|
13
|
+
selectedStep: any;
|
|
14
|
+
};
|
|
15
|
+
data: {
|
|
16
|
+
exchangeList: any;
|
|
17
|
+
};
|
|
18
|
+
callbacks: {
|
|
19
|
+
exchangeReward: any;
|
|
20
|
+
resetState: any;
|
|
21
|
+
setStage: any;
|
|
22
|
+
setExchangeState: any;
|
|
23
|
+
refs: any;
|
|
24
|
+
};
|
|
25
|
+
refs: any;
|
|
26
|
+
};
|
|
27
|
+
export declare const rewardExchangeSelected: {
|
|
28
|
+
states: {
|
|
29
|
+
content: {
|
|
30
|
+
text: {
|
|
31
|
+
notAvailableError: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
4
34
|
redeemStage: string;
|
|
5
35
|
amount: number;
|
|
6
36
|
exchangeError: boolean;
|
|
@@ -61,6 +91,7 @@ export declare const test2: {
|
|
|
61
91
|
prettyDestinationValue: string;
|
|
62
92
|
available: boolean;
|
|
63
93
|
unavailableReasonCode: any;
|
|
94
|
+
unavailableReason: string;
|
|
64
95
|
}[];
|
|
65
96
|
};
|
|
66
97
|
selectedStep: any;
|
|
@@ -31,6 +31,7 @@ export declare type ExchangeStep = {
|
|
|
31
31
|
prettySourceValue: string;
|
|
32
32
|
available: boolean;
|
|
33
33
|
unavailableReasonCode: string;
|
|
34
|
+
unavailableReason: string;
|
|
34
35
|
};
|
|
35
36
|
export declare type Stages = "" | "chooseReward" | "chooseAmount" | "confirmation";
|
|
36
37
|
export declare type ExchangeState = {
|
|
@@ -7,9 +7,9 @@ declare const _default: {
|
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const TaskCardNotRepeatable: () => any;
|
|
9
9
|
export declare const TaskCardRepeatable: () => any;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const TaskCardEndDate: () => any;
|
|
11
11
|
export declare const TaskCardLoading: () => any;
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const TaskCardUnavailable: () => any;
|
|
13
13
|
export declare const ProgressBar: () => any;
|
|
14
14
|
export declare const ProgressBarSteps: () => any;
|
|
15
15
|
export declare const ProgressBarRepeatable: () => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Task Card
|
|
3
|
-
* @uiOrder ["
|
|
3
|
+
* @uiOrder ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "date-expires", "button-text", "button-link"]
|
|
4
4
|
*/
|
|
5
5
|
export declare class TaskCard {
|
|
6
6
|
ignored: boolean;
|
|
@@ -28,10 +28,6 @@ export declare class TaskCard {
|
|
|
28
28
|
* @uiName Show Progress Bar
|
|
29
29
|
*/
|
|
30
30
|
showProgressBar: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @uiName Goal Progress Source
|
|
33
|
-
*/
|
|
34
|
-
progressSource: string;
|
|
35
31
|
/**
|
|
36
32
|
* @uiName Goal Completion Number
|
|
37
33
|
*/
|
|
@@ -49,11 +45,11 @@ export declare class TaskCard {
|
|
|
49
45
|
*/
|
|
50
46
|
showExpiry: boolean;
|
|
51
47
|
/**
|
|
52
|
-
* @uiName
|
|
48
|
+
* @uiName Reward Duration
|
|
53
49
|
* @uiWidget DateRange
|
|
54
50
|
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
55
51
|
*/
|
|
56
|
-
|
|
52
|
+
rewardDuration: string;
|
|
57
53
|
/**
|
|
58
54
|
* @uiName CTA Button Text
|
|
59
55
|
*/
|
|
@@ -66,7 +62,7 @@ export declare class TaskCard {
|
|
|
66
62
|
* Select what type of stat to display for the goal. Manual paths are also supported.
|
|
67
63
|
*
|
|
68
64
|
* @uiWidget StatTypeSelectWidget
|
|
69
|
-
* @uiName
|
|
65
|
+
* @uiName Goal Progress Source
|
|
70
66
|
* @uiOptions {"version": 1.1}
|
|
71
67
|
*/
|
|
72
68
|
statType: string;
|
|
@@ -827,6 +827,10 @@ export namespace Components {
|
|
|
827
827
|
* @uiType object
|
|
828
828
|
*/
|
|
829
829
|
"demoData"?: DemoData<RewardExchangeViewProps>;
|
|
830
|
+
/**
|
|
831
|
+
* @uiName Exchange button text
|
|
832
|
+
*/
|
|
833
|
+
"notAvailableError": string;
|
|
830
834
|
}
|
|
831
835
|
interface SqmRewardsTable {
|
|
832
836
|
/**
|
|
@@ -1039,12 +1043,6 @@ export namespace Components {
|
|
|
1039
1043
|
* @uiName Title Text
|
|
1040
1044
|
*/
|
|
1041
1045
|
"cardTitle": string;
|
|
1042
|
-
/**
|
|
1043
|
-
* @uiName Date Goal Expires
|
|
1044
|
-
* @uiWidget DateRange
|
|
1045
|
-
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
1046
|
-
*/
|
|
1047
|
-
"dateExpires": string;
|
|
1048
1046
|
/**
|
|
1049
1047
|
* @uiName Description Text
|
|
1050
1048
|
*/
|
|
@@ -1065,6 +1063,12 @@ export namespace Components {
|
|
|
1065
1063
|
* @uiName Reward Amount
|
|
1066
1064
|
*/
|
|
1067
1065
|
"rewardAmount": number;
|
|
1066
|
+
/**
|
|
1067
|
+
* @uiName Reward Duration
|
|
1068
|
+
* @uiWidget DateRange
|
|
1069
|
+
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
1070
|
+
*/
|
|
1071
|
+
"rewardDuration": string;
|
|
1068
1072
|
/**
|
|
1069
1073
|
* @uiName Reward Unit
|
|
1070
1074
|
*/
|
|
@@ -1080,7 +1084,7 @@ export namespace Components {
|
|
|
1080
1084
|
/**
|
|
1081
1085
|
* Select what type of stat to display for the goal. Manual paths are also supported.
|
|
1082
1086
|
* @uiWidget StatTypeSelectWidget
|
|
1083
|
-
* @uiName
|
|
1087
|
+
* @uiName Goal Progress Source
|
|
1084
1088
|
* @uiOptions {"version": 1.1}
|
|
1085
1089
|
*/
|
|
1086
1090
|
"statType": string;
|
|
@@ -2333,6 +2337,10 @@ declare namespace LocalJSX {
|
|
|
2333
2337
|
* @uiType object
|
|
2334
2338
|
*/
|
|
2335
2339
|
"demoData"?: DemoData<RewardExchangeViewProps>;
|
|
2340
|
+
/**
|
|
2341
|
+
* @uiName Exchange button text
|
|
2342
|
+
*/
|
|
2343
|
+
"notAvailableError"?: string;
|
|
2336
2344
|
}
|
|
2337
2345
|
interface SqmRewardsTable {
|
|
2338
2346
|
/**
|
|
@@ -2543,12 +2551,6 @@ declare namespace LocalJSX {
|
|
|
2543
2551
|
* @uiName Title Text
|
|
2544
2552
|
*/
|
|
2545
2553
|
"cardTitle"?: string;
|
|
2546
|
-
/**
|
|
2547
|
-
* @uiName Date Goal Expires
|
|
2548
|
-
* @uiWidget DateRange
|
|
2549
|
-
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
2550
|
-
*/
|
|
2551
|
-
"dateExpires"?: string;
|
|
2552
2554
|
/**
|
|
2553
2555
|
* @uiName Description Text
|
|
2554
2556
|
*/
|
|
@@ -2569,6 +2571,12 @@ declare namespace LocalJSX {
|
|
|
2569
2571
|
* @uiName Reward Amount
|
|
2570
2572
|
*/
|
|
2571
2573
|
"rewardAmount"?: number;
|
|
2574
|
+
/**
|
|
2575
|
+
* @uiName Reward Duration
|
|
2576
|
+
* @uiWidget DateRange
|
|
2577
|
+
* @uiOptions {"allowPastDates":true, "months": 1}
|
|
2578
|
+
*/
|
|
2579
|
+
"rewardDuration"?: string;
|
|
2572
2580
|
/**
|
|
2573
2581
|
* @uiName Reward Unit
|
|
2574
2582
|
*/
|
|
@@ -2584,7 +2592,7 @@ declare namespace LocalJSX {
|
|
|
2584
2592
|
/**
|
|
2585
2593
|
* Select what type of stat to display for the goal. Manual paths are also supported.
|
|
2586
2594
|
* @uiWidget StatTypeSelectWidget
|
|
2587
|
-
* @uiName
|
|
2595
|
+
* @uiName Goal Progress Source
|
|
2588
2596
|
* @uiOptions {"version": 1.1}
|
|
2589
2597
|
*/
|
|
2590
2598
|
"statType"?: string;
|