@saasquatch/mint-components 1.6.17 → 1.6.18
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-7b94f382.js → ShadowViewAddon-0605c84d.js} +64 -2
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +20 -2
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +9 -0
- package/dist/collection/components/sqm-big-stat/useBigStat.js +64 -2
- package/dist/esm/{ShadowViewAddon-13d92e11.js → ShadowViewAddon-278dd747.js} +64 -2
- package/dist/esm/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +20 -2
- package/dist/esm-es5/ShadowViewAddon-278dd747.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-086bc650.system.js +1 -1
- package/dist/mint-components/{p-fe53af60.entry.js → p-0f6469eb.entry.js} +1 -1
- package/dist/mint-components/p-39449071.system.js +1 -0
- package/dist/mint-components/p-81de4347.js +375 -0
- package/dist/mint-components/{p-0c58a93f.entry.js → p-8dbb4a0a.entry.js} +2 -2
- package/dist/mint-components/{p-9f0519b3.system.entry.js → p-a1087746.system.entry.js} +1 -1
- package/dist/mint-components/p-d403890a.system.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +54 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-13d92e11.js +0 -1
- package/dist/mint-components/p-577a29c8.system.js +0 -1
- package/dist/mint-components/p-83653fdf.js +0 -347
- package/dist/mint-components/p-d6ab25ba.system.entry.js +0 -1
|
@@ -1463,8 +1463,8 @@ const trafficQuery = () => {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
1465
|
`, {}, (res) => {
|
|
1466
|
-
var _a, _b;
|
|
1467
|
-
const traffic = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats.traffic;
|
|
1466
|
+
var _a, _b, _c;
|
|
1467
|
+
const traffic = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c.traffic;
|
|
1468
1468
|
const fallback = 0;
|
|
1469
1469
|
return {
|
|
1470
1470
|
value: traffic || fallback,
|
|
@@ -1472,6 +1472,60 @@ const trafficQuery = () => {
|
|
|
1472
1472
|
};
|
|
1473
1473
|
});
|
|
1474
1474
|
};
|
|
1475
|
+
const userStatsQuery = (_programId, _locale, statId) => {
|
|
1476
|
+
const statArg = {
|
|
1477
|
+
[statId]: true,
|
|
1478
|
+
};
|
|
1479
|
+
const variables = {
|
|
1480
|
+
traffic: false,
|
|
1481
|
+
referrals: false,
|
|
1482
|
+
conversions: false,
|
|
1483
|
+
goals: false,
|
|
1484
|
+
rewards: false,
|
|
1485
|
+
widgetLoads: false,
|
|
1486
|
+
revenue: false,
|
|
1487
|
+
generatedRevenue: false,
|
|
1488
|
+
referredRevenue: false,
|
|
1489
|
+
...statArg,
|
|
1490
|
+
};
|
|
1491
|
+
return debugQuery(index_module.dist.gql `
|
|
1492
|
+
query userStat(
|
|
1493
|
+
$traffic: Boolean!
|
|
1494
|
+
$referrals: Boolean!
|
|
1495
|
+
$conversions: Boolean!
|
|
1496
|
+
$goals: Boolean!
|
|
1497
|
+
$rewards: Boolean!
|
|
1498
|
+
$widgetLoads: Boolean!
|
|
1499
|
+
$revenue: Boolean!
|
|
1500
|
+
$generatedRevenue: Boolean!
|
|
1501
|
+
$referredRevenue: Boolean!
|
|
1502
|
+
) {
|
|
1503
|
+
viewer: viewer {
|
|
1504
|
+
... on User {
|
|
1505
|
+
stats {
|
|
1506
|
+
traffic @include(if: $traffic)
|
|
1507
|
+
referrals @include(if: $referrals)
|
|
1508
|
+
conversions @include(if: $conversions)
|
|
1509
|
+
goals @include(if: $goals)
|
|
1510
|
+
rewards @include(if: $rewards)
|
|
1511
|
+
widgetLoads @include(if: $widgetLoads)
|
|
1512
|
+
revenue @include(if: $revenue)
|
|
1513
|
+
generatedRevenue @include(if: $generatedRevenue)
|
|
1514
|
+
referredRevenue @include(if: $referredRevenue)
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
`, { ...variables }, (res) => {
|
|
1520
|
+
var _a, _b, _c;
|
|
1521
|
+
const stat = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c[statId];
|
|
1522
|
+
const fallback = 0;
|
|
1523
|
+
return {
|
|
1524
|
+
value: stat || fallback,
|
|
1525
|
+
statvalue: stat || fallback,
|
|
1526
|
+
};
|
|
1527
|
+
});
|
|
1528
|
+
};
|
|
1475
1529
|
// functions are of the form (programId: string, ...args: string) => string
|
|
1476
1530
|
const queries = {
|
|
1477
1531
|
rewardsAssigned: {
|
|
@@ -1546,6 +1600,10 @@ const queries = {
|
|
|
1546
1600
|
label: "Traffic",
|
|
1547
1601
|
query: trafficQuery,
|
|
1548
1602
|
},
|
|
1603
|
+
userStats: {
|
|
1604
|
+
label: "User Stat",
|
|
1605
|
+
query: userStatsQuery,
|
|
1606
|
+
},
|
|
1549
1607
|
};
|
|
1550
1608
|
// this should be exposed in documentation somehow
|
|
1551
1609
|
const StatPaths = [
|
|
@@ -1597,6 +1655,10 @@ const StatPaths = [
|
|
|
1597
1655
|
name: "traffic",
|
|
1598
1656
|
route: "/(traffic)",
|
|
1599
1657
|
},
|
|
1658
|
+
{
|
|
1659
|
+
name: "userStats",
|
|
1660
|
+
route: "/(userStats)/:statId",
|
|
1661
|
+
},
|
|
1600
1662
|
];
|
|
1601
1663
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1602
1664
|
function useBigStat(props) {
|
|
@@ -17,7 +17,7 @@ const utils = require('./utils-6847bc06.js');
|
|
|
17
17
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
18
18
|
const useRegistrationFormState = require('./useRegistrationFormState-7e9641c4.js');
|
|
19
19
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
20
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
20
|
+
const ShadowViewAddon = require('./ShadowViewAddon-0605c84d.js');
|
|
21
21
|
require('./sqm-portal-container-view-5fb2ad49.js');
|
|
22
22
|
|
|
23
23
|
const BigStat = class {
|
|
@@ -26,7 +26,7 @@ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0
|
|
|
26
26
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-0abcf3b8.js');
|
|
27
27
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-d5bc7afc.js');
|
|
28
28
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-f6c7287e.js');
|
|
29
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
29
|
+
const ShadowViewAddon = require('./ShadowViewAddon-0605c84d.js');
|
|
30
30
|
const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -2944,6 +2944,15 @@ const CustomFieldWithTextLabel = createHookStory(() => {
|
|
|
2944
2944
|
return View(`/customFields/thingCount`, "/(customFields)/:customField", "Thing Count");
|
|
2945
2945
|
});
|
|
2946
2946
|
const Traffic = createHookStory(() => View("/traffic", "/(traffic)"));
|
|
2947
|
+
const TrafficTwo = createHookStory(() => View("/userStats/traffic", "/(userStat)/:statId", "Traffic"));
|
|
2948
|
+
const Referrals = createHookStory(() => View("/userStats/referrals", "/(userStat)/:statId", "Referrals"));
|
|
2949
|
+
const Conversions = createHookStory(() => View("/userStats/conversions", "/(userStat)/:statId", "Conversions"));
|
|
2950
|
+
const Goals = createHookStory(() => View("/userStats/goals", "/(userStat)/:statId", "Goals"));
|
|
2951
|
+
const Rewards = createHookStory(() => View("/userStats/rewards", "/(userStat)/:statId", "Rewards"));
|
|
2952
|
+
const WidgetLoads = createHookStory(() => View("/userStats/widgetLoads", "/(userStat)/:statId", "Widget Loads"));
|
|
2953
|
+
const Revenue = createHookStory(() => View("/userStats/revenue", "/(userStat)/:statId", "Revenue"));
|
|
2954
|
+
const GeneratedRevenue = createHookStory(() => View("/userStats/generatedRevenue", "/(userStat)/:statId", "Generated Revenue"));
|
|
2955
|
+
const ReferredRevenue = createHookStory(() => View("/userStats/referredRevenue", "/(userStat)/:statId", "Referred Revenue"));
|
|
2947
2956
|
|
|
2948
2957
|
const UseBigStat = /*#__PURE__*/Object.freeze({
|
|
2949
2958
|
__proto__: null,
|
|
@@ -2987,7 +2996,16 @@ const UseBigStat = /*#__PURE__*/Object.freeze({
|
|
|
2987
2996
|
CustomFieldWithEmptyLabel: CustomFieldWithEmptyLabel,
|
|
2988
2997
|
CustomFieldWithEmptySpaceLabel: CustomFieldWithEmptySpaceLabel,
|
|
2989
2998
|
CustomFieldWithTextLabel: CustomFieldWithTextLabel,
|
|
2990
|
-
Traffic: Traffic
|
|
2999
|
+
Traffic: Traffic,
|
|
3000
|
+
TrafficTwo: TrafficTwo,
|
|
3001
|
+
Referrals: Referrals,
|
|
3002
|
+
Conversions: Conversions,
|
|
3003
|
+
Goals: Goals,
|
|
3004
|
+
Rewards: Rewards,
|
|
3005
|
+
WidgetLoads: WidgetLoads,
|
|
3006
|
+
Revenue: Revenue,
|
|
3007
|
+
GeneratedRevenue: GeneratedRevenue,
|
|
3008
|
+
ReferredRevenue: ReferredRevenue
|
|
2991
3009
|
});
|
|
2992
3010
|
|
|
2993
3011
|
function setupGraphQL$4() {
|
|
@@ -119,3 +119,12 @@ export const CustomFieldWithTextLabel = createHookStory(() => {
|
|
|
119
119
|
return View(`/customFields/thingCount`, "/(customFields)/:customField", "Thing Count");
|
|
120
120
|
});
|
|
121
121
|
export const Traffic = createHookStory(() => View("/traffic", "/(traffic)"));
|
|
122
|
+
export const TrafficTwo = createHookStory(() => View("/userStats/traffic", "/(userStat)/:statId", "Traffic"));
|
|
123
|
+
export const Referrals = createHookStory(() => View("/userStats/referrals", "/(userStat)/:statId", "Referrals"));
|
|
124
|
+
export const Conversions = createHookStory(() => View("/userStats/conversions", "/(userStat)/:statId", "Conversions"));
|
|
125
|
+
export const Goals = createHookStory(() => View("/userStats/goals", "/(userStat)/:statId", "Goals"));
|
|
126
|
+
export const Rewards = createHookStory(() => View("/userStats/rewards", "/(userStat)/:statId", "Rewards"));
|
|
127
|
+
export const WidgetLoads = createHookStory(() => View("/userStats/widgetLoads", "/(userStat)/:statId", "Widget Loads"));
|
|
128
|
+
export const Revenue = createHookStory(() => View("/userStats/revenue", "/(userStat)/:statId", "Revenue"));
|
|
129
|
+
export const GeneratedRevenue = createHookStory(() => View("/userStats/generatedRevenue", "/(userStat)/:statId", "Generated Revenue"));
|
|
130
|
+
export const ReferredRevenue = createHookStory(() => View("/userStats/referredRevenue", "/(userStat)/:statId", "Referred Revenue"));
|
|
@@ -641,8 +641,8 @@ const trafficQuery = () => {
|
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
`, {}, (res) => {
|
|
644
|
-
var _a, _b;
|
|
645
|
-
const traffic = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats.traffic;
|
|
644
|
+
var _a, _b, _c;
|
|
645
|
+
const traffic = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c.traffic;
|
|
646
646
|
const fallback = 0;
|
|
647
647
|
return {
|
|
648
648
|
value: traffic || fallback,
|
|
@@ -650,6 +650,60 @@ const trafficQuery = () => {
|
|
|
650
650
|
};
|
|
651
651
|
});
|
|
652
652
|
};
|
|
653
|
+
const userStatsQuery = (_programId, _locale, statId) => {
|
|
654
|
+
const statArg = {
|
|
655
|
+
[statId]: true,
|
|
656
|
+
};
|
|
657
|
+
const variables = {
|
|
658
|
+
traffic: false,
|
|
659
|
+
referrals: false,
|
|
660
|
+
conversions: false,
|
|
661
|
+
goals: false,
|
|
662
|
+
rewards: false,
|
|
663
|
+
widgetLoads: false,
|
|
664
|
+
revenue: false,
|
|
665
|
+
generatedRevenue: false,
|
|
666
|
+
referredRevenue: false,
|
|
667
|
+
...statArg,
|
|
668
|
+
};
|
|
669
|
+
return debugQuery(gql `
|
|
670
|
+
query userStat(
|
|
671
|
+
$traffic: Boolean!
|
|
672
|
+
$referrals: Boolean!
|
|
673
|
+
$conversions: Boolean!
|
|
674
|
+
$goals: Boolean!
|
|
675
|
+
$rewards: Boolean!
|
|
676
|
+
$widgetLoads: Boolean!
|
|
677
|
+
$revenue: Boolean!
|
|
678
|
+
$generatedRevenue: Boolean!
|
|
679
|
+
$referredRevenue: Boolean!
|
|
680
|
+
) {
|
|
681
|
+
viewer: viewer {
|
|
682
|
+
... on User {
|
|
683
|
+
stats {
|
|
684
|
+
traffic @include(if: $traffic)
|
|
685
|
+
referrals @include(if: $referrals)
|
|
686
|
+
conversions @include(if: $conversions)
|
|
687
|
+
goals @include(if: $goals)
|
|
688
|
+
rewards @include(if: $rewards)
|
|
689
|
+
widgetLoads @include(if: $widgetLoads)
|
|
690
|
+
revenue @include(if: $revenue)
|
|
691
|
+
generatedRevenue @include(if: $generatedRevenue)
|
|
692
|
+
referredRevenue @include(if: $referredRevenue)
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
`, { ...variables }, (res) => {
|
|
698
|
+
var _a, _b, _c;
|
|
699
|
+
const stat = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c[statId];
|
|
700
|
+
const fallback = 0;
|
|
701
|
+
return {
|
|
702
|
+
value: stat || fallback,
|
|
703
|
+
statvalue: stat || fallback,
|
|
704
|
+
};
|
|
705
|
+
});
|
|
706
|
+
};
|
|
653
707
|
// functions are of the form (programId: string, ...args: string) => string
|
|
654
708
|
export const queries = {
|
|
655
709
|
rewardsAssigned: {
|
|
@@ -724,6 +778,10 @@ export const queries = {
|
|
|
724
778
|
label: "Traffic",
|
|
725
779
|
query: trafficQuery,
|
|
726
780
|
},
|
|
781
|
+
userStats: {
|
|
782
|
+
label: "User Stat",
|
|
783
|
+
query: userStatsQuery,
|
|
784
|
+
},
|
|
727
785
|
};
|
|
728
786
|
// this should be exposed in documentation somehow
|
|
729
787
|
export const StatPaths = [
|
|
@@ -775,6 +833,10 @@ export const StatPaths = [
|
|
|
775
833
|
name: "traffic",
|
|
776
834
|
route: "/(traffic)",
|
|
777
835
|
},
|
|
836
|
+
{
|
|
837
|
+
name: "userStats",
|
|
838
|
+
route: "/(userStats)/:statId",
|
|
839
|
+
},
|
|
778
840
|
];
|
|
779
841
|
export const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
780
842
|
export function useBigStat(props) {
|
|
@@ -1461,8 +1461,8 @@ const trafficQuery = () => {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
1463
|
`, {}, (res) => {
|
|
1464
|
-
var _a, _b;
|
|
1465
|
-
const traffic = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats.traffic;
|
|
1464
|
+
var _a, _b, _c;
|
|
1465
|
+
const traffic = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c.traffic;
|
|
1466
1466
|
const fallback = 0;
|
|
1467
1467
|
return {
|
|
1468
1468
|
value: traffic || fallback,
|
|
@@ -1470,6 +1470,60 @@ const trafficQuery = () => {
|
|
|
1470
1470
|
};
|
|
1471
1471
|
});
|
|
1472
1472
|
};
|
|
1473
|
+
const userStatsQuery = (_programId, _locale, statId) => {
|
|
1474
|
+
const statArg = {
|
|
1475
|
+
[statId]: true,
|
|
1476
|
+
};
|
|
1477
|
+
const variables = {
|
|
1478
|
+
traffic: false,
|
|
1479
|
+
referrals: false,
|
|
1480
|
+
conversions: false,
|
|
1481
|
+
goals: false,
|
|
1482
|
+
rewards: false,
|
|
1483
|
+
widgetLoads: false,
|
|
1484
|
+
revenue: false,
|
|
1485
|
+
generatedRevenue: false,
|
|
1486
|
+
referredRevenue: false,
|
|
1487
|
+
...statArg,
|
|
1488
|
+
};
|
|
1489
|
+
return debugQuery(dist.gql `
|
|
1490
|
+
query userStat(
|
|
1491
|
+
$traffic: Boolean!
|
|
1492
|
+
$referrals: Boolean!
|
|
1493
|
+
$conversions: Boolean!
|
|
1494
|
+
$goals: Boolean!
|
|
1495
|
+
$rewards: Boolean!
|
|
1496
|
+
$widgetLoads: Boolean!
|
|
1497
|
+
$revenue: Boolean!
|
|
1498
|
+
$generatedRevenue: Boolean!
|
|
1499
|
+
$referredRevenue: Boolean!
|
|
1500
|
+
) {
|
|
1501
|
+
viewer: viewer {
|
|
1502
|
+
... on User {
|
|
1503
|
+
stats {
|
|
1504
|
+
traffic @include(if: $traffic)
|
|
1505
|
+
referrals @include(if: $referrals)
|
|
1506
|
+
conversions @include(if: $conversions)
|
|
1507
|
+
goals @include(if: $goals)
|
|
1508
|
+
rewards @include(if: $rewards)
|
|
1509
|
+
widgetLoads @include(if: $widgetLoads)
|
|
1510
|
+
revenue @include(if: $revenue)
|
|
1511
|
+
generatedRevenue @include(if: $generatedRevenue)
|
|
1512
|
+
referredRevenue @include(if: $referredRevenue)
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
`, { ...variables }, (res) => {
|
|
1518
|
+
var _a, _b, _c;
|
|
1519
|
+
const stat = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c[statId];
|
|
1520
|
+
const fallback = 0;
|
|
1521
|
+
return {
|
|
1522
|
+
value: stat || fallback,
|
|
1523
|
+
statvalue: stat || fallback,
|
|
1524
|
+
};
|
|
1525
|
+
});
|
|
1526
|
+
};
|
|
1473
1527
|
// functions are of the form (programId: string, ...args: string) => string
|
|
1474
1528
|
const queries = {
|
|
1475
1529
|
rewardsAssigned: {
|
|
@@ -1544,6 +1598,10 @@ const queries = {
|
|
|
1544
1598
|
label: "Traffic",
|
|
1545
1599
|
query: trafficQuery,
|
|
1546
1600
|
},
|
|
1601
|
+
userStats: {
|
|
1602
|
+
label: "User Stat",
|
|
1603
|
+
query: userStatsQuery,
|
|
1604
|
+
},
|
|
1547
1605
|
};
|
|
1548
1606
|
// this should be exposed in documentation somehow
|
|
1549
1607
|
const StatPaths = [
|
|
@@ -1595,6 +1653,10 @@ const StatPaths = [
|
|
|
1595
1653
|
name: "traffic",
|
|
1596
1654
|
route: "/(traffic)",
|
|
1597
1655
|
},
|
|
1656
|
+
{
|
|
1657
|
+
name: "userStats",
|
|
1658
|
+
route: "/(userStats)/:statId",
|
|
1659
|
+
},
|
|
1598
1660
|
];
|
|
1599
1661
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1600
1662
|
function useBigStat(props) {
|
|
@@ -13,7 +13,7 @@ import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './uti
|
|
|
13
13
|
import './sqm-text-span-view-8d140661.js';
|
|
14
14
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-b1f730bd.js';
|
|
15
15
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
16
|
-
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
16
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-278dd747.js';
|
|
17
17
|
import './sqm-portal-container-view-ab89c6cc.js';
|
|
18
18
|
|
|
19
19
|
const BigStat = class {
|
|
@@ -22,7 +22,7 @@ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view
|
|
|
22
22
|
import { P as PortalProfileView } from './sqm-portal-profile-view-977710a3.js';
|
|
23
23
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-0df781f6.js';
|
|
24
24
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1db4fae6.js';
|
|
25
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-
|
|
25
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-278dd747.js';
|
|
26
26
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -2940,6 +2940,15 @@ const CustomFieldWithTextLabel = createHookStory(() => {
|
|
|
2940
2940
|
return View(`/customFields/thingCount`, "/(customFields)/:customField", "Thing Count");
|
|
2941
2941
|
});
|
|
2942
2942
|
const Traffic = createHookStory(() => View("/traffic", "/(traffic)"));
|
|
2943
|
+
const TrafficTwo = createHookStory(() => View("/userStats/traffic", "/(userStat)/:statId", "Traffic"));
|
|
2944
|
+
const Referrals = createHookStory(() => View("/userStats/referrals", "/(userStat)/:statId", "Referrals"));
|
|
2945
|
+
const Conversions = createHookStory(() => View("/userStats/conversions", "/(userStat)/:statId", "Conversions"));
|
|
2946
|
+
const Goals = createHookStory(() => View("/userStats/goals", "/(userStat)/:statId", "Goals"));
|
|
2947
|
+
const Rewards = createHookStory(() => View("/userStats/rewards", "/(userStat)/:statId", "Rewards"));
|
|
2948
|
+
const WidgetLoads = createHookStory(() => View("/userStats/widgetLoads", "/(userStat)/:statId", "Widget Loads"));
|
|
2949
|
+
const Revenue = createHookStory(() => View("/userStats/revenue", "/(userStat)/:statId", "Revenue"));
|
|
2950
|
+
const GeneratedRevenue = createHookStory(() => View("/userStats/generatedRevenue", "/(userStat)/:statId", "Generated Revenue"));
|
|
2951
|
+
const ReferredRevenue = createHookStory(() => View("/userStats/referredRevenue", "/(userStat)/:statId", "Referred Revenue"));
|
|
2943
2952
|
|
|
2944
2953
|
const UseBigStat = /*#__PURE__*/Object.freeze({
|
|
2945
2954
|
__proto__: null,
|
|
@@ -2983,7 +2992,16 @@ const UseBigStat = /*#__PURE__*/Object.freeze({
|
|
|
2983
2992
|
CustomFieldWithEmptyLabel: CustomFieldWithEmptyLabel,
|
|
2984
2993
|
CustomFieldWithEmptySpaceLabel: CustomFieldWithEmptySpaceLabel,
|
|
2985
2994
|
CustomFieldWithTextLabel: CustomFieldWithTextLabel,
|
|
2986
|
-
Traffic: Traffic
|
|
2995
|
+
Traffic: Traffic,
|
|
2996
|
+
TrafficTwo: TrafficTwo,
|
|
2997
|
+
Referrals: Referrals,
|
|
2998
|
+
Conversions: Conversions,
|
|
2999
|
+
Goals: Goals,
|
|
3000
|
+
Rewards: Rewards,
|
|
3001
|
+
WidgetLoads: WidgetLoads,
|
|
3002
|
+
Revenue: Revenue,
|
|
3003
|
+
GeneratedRevenue: GeneratedRevenue,
|
|
3004
|
+
ReferredRevenue: ReferredRevenue
|
|
2987
3005
|
});
|
|
2988
3006
|
|
|
2989
3007
|
function setupGraphQL$4() {
|