@saasquatch/mint-components 1.3.2-5 → 1.3.2-6
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/sqm-big-stat.cjs.entry.js +1 -1
- package/dist/cjs/sqm-divided-layout_28.cjs.entry.js +1 -1
- package/dist/cjs/{useDemoBigStat-ade0e873.js → useDemoBigStat-d7c65044.js} +8 -8
- package/dist/collection/components/sqm-big-stat/useBigStat.js +8 -8
- package/dist/esm/sqm-big-stat.entry.js +1 -1
- package/dist/esm/sqm-divided-layout_28.entry.js +1 -1
- package/dist/esm/{useDemoBigStat-256c096f.js → useDemoBigStat-3d4832ef.js} +8 -8
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-divided-layout_28.entry.js +1 -1
- package/dist/esm-es5/useDemoBigStat-3d4832ef.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-917488e5.js → p-0c07c81a.js} +8 -8
- package/dist/mint-components/{p-a6156ea3.system.entry.js → p-2d209222.system.entry.js} +1 -1
- package/dist/mint-components/p-6e9944ed.system.entry.js +1 -0
- package/dist/mint-components/{p-29523e7f.entry.js → p-8f04bed2.entry.js} +1 -1
- package/dist/mint-components/p-91d39961.system.js +1 -1
- package/dist/mint-components/{p-52f23baa.entry.js → p-aefa270d.entry.js} +1 -1
- package/dist/mint-components/p-fca9971b.system.js +1 -0
- package/package.json +1 -1
- package/dist/esm-es5/useDemoBigStat-256c096f.js +0 -1
- package/dist/mint-components/p-7766f602.system.js +0 -1
- package/dist/mint-components/p-7d486e02.system.entry.js +0 -1
|
@@ -8,7 +8,7 @@ require('./use-callback-fadb2643.js');
|
|
|
8
8
|
const index_module = require('./index.module-6a7bda18.js');
|
|
9
9
|
require('./jss-preset-default.esm-6304d24f.js');
|
|
10
10
|
require('./cjs-1066ec21.js');
|
|
11
|
-
const useDemoBigStat = require('./useDemoBigStat-
|
|
11
|
+
const useDemoBigStat = require('./useDemoBigStat-d7c65044.js');
|
|
12
12
|
|
|
13
13
|
const BigStat = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
|
|
|
19
19
|
const index$1 = require('./index-19309631.js');
|
|
20
20
|
const reRender = require('./re-render-7cdb2d81.js');
|
|
21
21
|
const useChildElements = require('./useChildElements-428ca5b8.js');
|
|
22
|
-
const useDemoBigStat = require('./useDemoBigStat-
|
|
22
|
+
const useDemoBigStat = require('./useDemoBigStat-d7c65044.js');
|
|
23
23
|
const sqmShareLinkView = require('./sqm-share-link-view-a935d07e.js');
|
|
24
24
|
const ShadowViewAddon = require('./ShadowViewAddon-75c18b96.js');
|
|
25
25
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-35015d30.js');
|
|
@@ -396,7 +396,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
396
396
|
var _a, _b, _c, _d, _e, _f;
|
|
397
397
|
const goal = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.programGoals) === null || _c === void 0 ? void 0 : _c.filter((goal) => goal.goalId === goalId && goal.programId === programId);
|
|
398
398
|
return {
|
|
399
|
-
value: (_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType],
|
|
399
|
+
value: ((_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType]) || 0,
|
|
400
400
|
statvalue: ((_f = (_e = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _e === void 0 ? void 0 : _e[metricType]) === null || _f === void 0 ? void 0 : _f.toString()) || 0,
|
|
401
401
|
};
|
|
402
402
|
});
|
|
@@ -422,7 +422,7 @@ const referralsMonthQuery = (programId) => {
|
|
|
422
422
|
`, { filter }, (res) => {
|
|
423
423
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
424
424
|
return ({
|
|
425
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
425
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
426
426
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
427
427
|
});
|
|
428
428
|
});
|
|
@@ -448,7 +448,7 @@ const referralsWeekQuery = (programId) => {
|
|
|
448
448
|
`, { filter }, (res) => {
|
|
449
449
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
450
450
|
return ({
|
|
451
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
451
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
452
452
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
453
453
|
});
|
|
454
454
|
});
|
|
@@ -471,7 +471,7 @@ _, global = "") => {
|
|
|
471
471
|
}, (res) => {
|
|
472
472
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
473
473
|
return ({
|
|
474
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
474
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
475
475
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
476
476
|
});
|
|
477
477
|
});
|
|
@@ -510,7 +510,7 @@ _, type, unit, status, global = "") => {
|
|
|
510
510
|
}, (res) => {
|
|
511
511
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
512
512
|
return ({
|
|
513
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
513
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
514
514
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
515
515
|
});
|
|
516
516
|
});
|
|
@@ -541,7 +541,7 @@ _, status, global = "") => {
|
|
|
541
541
|
}, (res) => {
|
|
542
542
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
543
543
|
return ({
|
|
544
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
544
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
545
545
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
546
546
|
});
|
|
547
547
|
});
|
|
@@ -569,7 +569,7 @@ _, global = "") => {
|
|
|
569
569
|
}, (res) => {
|
|
570
570
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
571
571
|
return ({
|
|
572
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
572
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
573
573
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
574
574
|
});
|
|
575
575
|
});
|
|
@@ -597,7 +597,7 @@ _, global = "") => {
|
|
|
597
597
|
}, (res) => {
|
|
598
598
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
599
599
|
return ({
|
|
600
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
600
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
601
601
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
602
602
|
});
|
|
603
603
|
});
|
|
@@ -64,7 +64,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
64
64
|
var _a, _b, _c, _d, _e, _f;
|
|
65
65
|
const goal = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.programGoals) === null || _c === void 0 ? void 0 : _c.filter((goal) => goal.goalId === goalId && goal.programId === programId);
|
|
66
66
|
return {
|
|
67
|
-
value: (_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType],
|
|
67
|
+
value: ((_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType]) || 0,
|
|
68
68
|
statvalue: ((_f = (_e = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _e === void 0 ? void 0 : _e[metricType]) === null || _f === void 0 ? void 0 : _f.toString()) || 0,
|
|
69
69
|
};
|
|
70
70
|
});
|
|
@@ -90,7 +90,7 @@ const referralsMonthQuery = (programId) => {
|
|
|
90
90
|
`, { filter }, (res) => {
|
|
91
91
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
92
92
|
return ({
|
|
93
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
93
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
94
94
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
95
95
|
});
|
|
96
96
|
});
|
|
@@ -116,7 +116,7 @@ const referralsWeekQuery = (programId) => {
|
|
|
116
116
|
`, { filter }, (res) => {
|
|
117
117
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
118
118
|
return ({
|
|
119
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
119
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
120
120
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
121
121
|
});
|
|
122
122
|
});
|
|
@@ -139,7 +139,7 @@ _, global = "") => {
|
|
|
139
139
|
}, (res) => {
|
|
140
140
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
141
141
|
return ({
|
|
142
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
142
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
143
143
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
144
144
|
});
|
|
145
145
|
});
|
|
@@ -178,7 +178,7 @@ _, type, unit, status, global = "") => {
|
|
|
178
178
|
}, (res) => {
|
|
179
179
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
180
180
|
return ({
|
|
181
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
181
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
182
182
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
183
183
|
});
|
|
184
184
|
});
|
|
@@ -209,7 +209,7 @@ _, status, global = "") => {
|
|
|
209
209
|
}, (res) => {
|
|
210
210
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
211
211
|
return ({
|
|
212
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
212
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
213
213
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
214
214
|
});
|
|
215
215
|
});
|
|
@@ -237,7 +237,7 @@ _, global = "") => {
|
|
|
237
237
|
}, (res) => {
|
|
238
238
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
239
239
|
return ({
|
|
240
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
240
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
241
241
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
242
242
|
});
|
|
243
243
|
});
|
|
@@ -265,7 +265,7 @@ _, global = "") => {
|
|
|
265
265
|
}, (res) => {
|
|
266
266
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
267
267
|
return ({
|
|
268
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
268
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
269
269
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
270
270
|
});
|
|
271
271
|
});
|
|
@@ -4,7 +4,7 @@ import './use-callback-b38a1523.js';
|
|
|
4
4
|
import { j } from './index.module-f80561db.js';
|
|
5
5
|
import './jss-preset-default.esm-71fae192.js';
|
|
6
6
|
import './cjs-bdfb4486.js';
|
|
7
|
-
import { a as useDemoBigStat, u as useBigStat, B as BigStatView } from './useDemoBigStat-
|
|
7
|
+
import { a as useDemoBigStat, u as useBigStat, B as BigStatView } from './useDemoBigStat-3d4832ef.js';
|
|
8
8
|
|
|
9
9
|
const BigStat = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -15,7 +15,7 @@ import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
|
|
|
15
15
|
import { g as gql } from './index-2f5dd0a1.js';
|
|
16
16
|
import { u as useRerenderListener } from './re-render-9ab5fe0f.js';
|
|
17
17
|
import { u as useChildElements } from './useChildElements-506f00d0.js';
|
|
18
|
-
import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-
|
|
18
|
+
import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-3d4832ef.js';
|
|
19
19
|
import { S as ShareLinkView } from './sqm-share-link-view-9282b8e8.js';
|
|
20
20
|
import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './ShadowViewAddon-fff5d35d.js';
|
|
21
21
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-da91f5f3.js';
|
|
@@ -394,7 +394,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
394
394
|
var _a, _b, _c, _d, _e, _f;
|
|
395
395
|
const goal = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.programGoals) === null || _c === void 0 ? void 0 : _c.filter((goal) => goal.goalId === goalId && goal.programId === programId);
|
|
396
396
|
return {
|
|
397
|
-
value: (_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType],
|
|
397
|
+
value: ((_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType]) || 0,
|
|
398
398
|
statvalue: ((_f = (_e = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _e === void 0 ? void 0 : _e[metricType]) === null || _f === void 0 ? void 0 : _f.toString()) || 0,
|
|
399
399
|
};
|
|
400
400
|
});
|
|
@@ -420,7 +420,7 @@ const referralsMonthQuery = (programId) => {
|
|
|
420
420
|
`, { filter }, (res) => {
|
|
421
421
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
422
422
|
return ({
|
|
423
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
423
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
424
424
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
425
425
|
});
|
|
426
426
|
});
|
|
@@ -446,7 +446,7 @@ const referralsWeekQuery = (programId) => {
|
|
|
446
446
|
`, { filter }, (res) => {
|
|
447
447
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
448
448
|
return ({
|
|
449
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
449
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
450
450
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
451
451
|
});
|
|
452
452
|
});
|
|
@@ -469,7 +469,7 @@ _, global = "") => {
|
|
|
469
469
|
}, (res) => {
|
|
470
470
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
471
471
|
return ({
|
|
472
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
472
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
473
473
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
474
474
|
});
|
|
475
475
|
});
|
|
@@ -508,7 +508,7 @@ _, type, unit, status, global = "") => {
|
|
|
508
508
|
}, (res) => {
|
|
509
509
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
510
510
|
return ({
|
|
511
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
511
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
512
512
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
513
513
|
});
|
|
514
514
|
});
|
|
@@ -539,7 +539,7 @@ _, status, global = "") => {
|
|
|
539
539
|
}, (res) => {
|
|
540
540
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
541
541
|
return ({
|
|
542
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
542
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
543
543
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
544
544
|
});
|
|
545
545
|
});
|
|
@@ -567,7 +567,7 @@ _, global = "") => {
|
|
|
567
567
|
}, (res) => {
|
|
568
568
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
569
569
|
return ({
|
|
570
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
570
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
571
571
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
572
572
|
});
|
|
573
573
|
});
|
|
@@ -595,7 +595,7 @@ _, global = "") => {
|
|
|
595
595
|
}, (res) => {
|
|
596
596
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
597
597
|
return ({
|
|
598
|
-
value: (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount,
|
|
598
|
+
value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
|
|
599
599
|
statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
600
600
|
});
|
|
601
601
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h as h$1}from"./index-17b4da69.js";import{m as h}from"./extends-3a3f9fe2.js";import"./use-callback-b38a1523.js";import{j}from"./index.module-f80561db.js";import"./jss-preset-default.esm-71fae192.js";import"./cjs-bdfb4486.js";import{a as useDemoBigStat,u as useBigStat,B as BigStatView}from"./useDemoBigStat-
|
|
1
|
+
import{r as registerInstance,h as h$1}from"./index-17b4da69.js";import{m as h}from"./extends-3a3f9fe2.js";import"./use-callback-b38a1523.js";import{j}from"./index.module-f80561db.js";import"./jss-preset-default.esm-71fae192.js";import"./cjs-bdfb4486.js";import{a as useDemoBigStat,u as useBigStat,B as BigStatView}from"./useDemoBigStat-3d4832ef.js";var BigStat=function(){function t(t){registerInstance(this,t);this.flexReverse=false;this.ignored=true;h(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=j()?useDemoBigStat(this):useBigStat(this),e=t.props,s=t.label;return h$1(BigStatView,Object.assign({},e),h$1("slot",null,s))};return t}();export{BigStat as sqm_big_stat};
|