@ammarkhalidfarooq/dashboard-package 0.6.41 → 0.6.43
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/index.cjs.js +45 -45
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +45 -45
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6366,7 +6366,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6366
6366
|
color: "#10B981"
|
|
6367
6367
|
}],
|
|
6368
6368
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
6369
|
-
bottomSummaryTrend: "".concat(donorMixPrev, "% vs
|
|
6369
|
+
bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
|
|
6370
6370
|
sx: {
|
|
6371
6371
|
width: "100%"
|
|
6372
6372
|
}
|
|
@@ -6420,7 +6420,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6420
6420
|
color: "#10B981"
|
|
6421
6421
|
}],
|
|
6422
6422
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
6423
|
-
bottomSummaryTrend: "".concat(donorMixPrev, "% vs
|
|
6423
|
+
bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
|
|
6424
6424
|
sx: {
|
|
6425
6425
|
width: "100%"
|
|
6426
6426
|
}
|
|
@@ -6450,7 +6450,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6450
6450
|
title: "Order Bump",
|
|
6451
6451
|
subtitle: "Revenue trend \xB7 last ".concat(daysLabel),
|
|
6452
6452
|
value: "$".concat(formatNumber((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.totalRevenue) || 0)),
|
|
6453
|
-
trend: "".concat((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) || 0).toFixed(1), "% vs
|
|
6453
|
+
trend: "".concat((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) || 0).toFixed(1), "% vs pp"),
|
|
6454
6454
|
chartData: (orderBumpData === null || orderBumpData === void 0 || (_orderBumpData$chart = orderBumpData.chart) === null || _orderBumpData$chart === void 0 ? void 0 : _orderBumpData$chart.map(function (item) {
|
|
6455
6455
|
return {
|
|
6456
6456
|
label: item.label,
|
|
@@ -6492,7 +6492,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6492
6492
|
title: "Referrals",
|
|
6493
6493
|
subtitle: "Revenue trend \xB7 last ".concat(daysLabel),
|
|
6494
6494
|
value: "$".concat(formatNumber((referralData === null || referralData === void 0 ? void 0 : referralData.totalRevenue) || 0)),
|
|
6495
|
-
trend: "".concat((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) || 0).toFixed(1), "% vs
|
|
6495
|
+
trend: "".concat((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) || 0).toFixed(1), "% vs pp"),
|
|
6496
6496
|
chartData: (referralData === null || referralData === void 0 || (_referralData$chartDa = referralData.chartData) === null || _referralData$chartDa === void 0 ? void 0 : _referralData$chartDa.map(function (item) {
|
|
6497
6497
|
return {
|
|
6498
6498
|
label: item.date,
|
|
@@ -16703,7 +16703,7 @@ var EmailSectionSkeleton = function EmailSectionSkeleton() {
|
|
|
16703
16703
|
};
|
|
16704
16704
|
|
|
16705
16705
|
var OverallSection = function OverallSection(_ref) {
|
|
16706
|
-
var _apiData$overviewStat, _apiData$overviewStat2, _apiData$overviewStat3, _apiData$overviewStat4, _apiData$overviewStat5, _apiData$overviewStat6, _apiData$overviewStat7, _apiData$overviewStat8, _apiData$overviewStat9, _apiData$overviewStat0, _apiData$overviewStat1, _apiData$overviewStat10, _apiData$overviewStat11, _apiData$overviewStat12, _apiData$
|
|
16706
|
+
var _apiData$overviewStat, _apiData$overviewStat2, _apiData$overviewStat3, _apiData$overviewStat4, _apiData$overviewStat5, _apiData$overviewStat6, _apiData$overviewStat7, _apiData$overviewStat8, _apiData$overviewStat9, _apiData$overviewStat0, _apiData$overviewStat1, _apiData$overviewStat10, _apiData$overviewStat11, _apiData$overviewStat12, _apiData$overviewStat13, _apiData$roasCard, _apiData$roasCardPrev, _apiData$overviewStat14, _apiData$overviewStat15, _apiData$overviewStat16, _apiData$overviewStat17, _apiData$overviewStat18, _apiData$overviewStat19, _apiData$overviewStat20, _apiData$overviewStat21;
|
|
16707
16707
|
var _ref$apiData = _ref.apiData,
|
|
16708
16708
|
apiData = _ref$apiData === void 0 ? {} : _ref$apiData,
|
|
16709
16709
|
primaryCharts = _ref.primaryCharts,
|
|
@@ -16770,8 +16770,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16770
16770
|
};
|
|
16771
16771
|
var metricInfo = {
|
|
16772
16772
|
"Total Raised": {
|
|
16773
|
-
value: "$".concat(formatNumber(apiData === null || apiData === void 0 || (_apiData$
|
|
16774
|
-
subValue: "".concat(Number((_apiData$
|
|
16773
|
+
value: "$".concat(formatNumber(((_apiData$overviewStat = apiData === null || apiData === void 0 || (_apiData$overviewStat2 = apiData.overviewStats) === null || _apiData$overviewStat2 === void 0 || (_apiData$overviewStat2 = _apiData$overviewStat2.overview) === null || _apiData$overviewStat2 === void 0 ? void 0 : _apiData$overviewStat2.totalRevenue) !== null && _apiData$overviewStat !== void 0 ? _apiData$overviewStat : 0).toFixed(2))) || "$0",
|
|
16774
|
+
subValue: "".concat(Number((_apiData$overviewStat3 = apiData === null || apiData === void 0 || (_apiData$overviewStat4 = apiData.overviewStats) === null || _apiData$overviewStat4 === void 0 || (_apiData$overviewStat4 = _apiData$overviewStat4.overview) === null || _apiData$overviewStat4 === void 0 || (_apiData$overviewStat4 = _apiData$overviewStat4.growthPercentage) === null || _apiData$overviewStat4 === void 0 ? void 0 : _apiData$overviewStat4.totalRevenue) !== null && _apiData$overviewStat3 !== void 0 ? _apiData$overviewStat3 : 0).toFixed(2), "% vs pp"),
|
|
16775
16775
|
label: "Total Raised",
|
|
16776
16776
|
icon: /*#__PURE__*/jsx(PaidOutlined, {}),
|
|
16777
16777
|
money: true,
|
|
@@ -16779,8 +16779,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16779
16779
|
warning: false
|
|
16780
16780
|
},
|
|
16781
16781
|
"Net Raised": {
|
|
16782
|
-
value: "$".concat(formatNumber(((_apiData$
|
|
16783
|
-
subValue: "".concat(Number((_apiData$
|
|
16782
|
+
value: "$".concat(formatNumber(((_apiData$overviewStat5 = apiData === null || apiData === void 0 || (_apiData$overviewStat6 = apiData.overviewStats) === null || _apiData$overviewStat6 === void 0 || (_apiData$overviewStat6 = _apiData$overviewStat6.overview) === null || _apiData$overviewStat6 === void 0 ? void 0 : _apiData$overviewStat6.netRevenue) !== null && _apiData$overviewStat5 !== void 0 ? _apiData$overviewStat5 : 0).toFixed(2))),
|
|
16783
|
+
subValue: "".concat(Number((_apiData$overviewStat7 = apiData === null || apiData === void 0 || (_apiData$overviewStat8 = apiData.overviewStats) === null || _apiData$overviewStat8 === void 0 || (_apiData$overviewStat8 = _apiData$overviewStat8.overview.growthPercentage) === null || _apiData$overviewStat8 === void 0 ? void 0 : _apiData$overviewStat8.netRevenue) !== null && _apiData$overviewStat7 !== void 0 ? _apiData$overviewStat7 : 0).toFixed(2), "% vs pp\n "),
|
|
16784
16784
|
label: "Net Raised",
|
|
16785
16785
|
icon: /*#__PURE__*/jsx(FavoriteOutlined, {}),
|
|
16786
16786
|
money: true,
|
|
@@ -16788,8 +16788,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16788
16788
|
warning: false
|
|
16789
16789
|
},
|
|
16790
16790
|
"Total Donors": {
|
|
16791
|
-
value: (apiData === null || apiData === void 0 || (_apiData$
|
|
16792
|
-
subValue: "".concat(Number((_apiData$
|
|
16791
|
+
value: (apiData === null || apiData === void 0 || (_apiData$overviewStat9 = apiData.overviewStats) === null || _apiData$overviewStat9 === void 0 || (_apiData$overviewStat9 = _apiData$overviewStat9.overview) === null || _apiData$overviewStat9 === void 0 ? void 0 : _apiData$overviewStat9.totalDonations) || "0",
|
|
16792
|
+
subValue: "".concat(Number((_apiData$overviewStat0 = apiData === null || apiData === void 0 || (_apiData$overviewStat1 = apiData.overviewStats) === null || _apiData$overviewStat1 === void 0 || (_apiData$overviewStat1 = _apiData$overviewStat1.overview.growthPercentage) === null || _apiData$overviewStat1 === void 0 ? void 0 : _apiData$overviewStat1.totalDonations) !== null && _apiData$overviewStat0 !== void 0 ? _apiData$overviewStat0 : 0).toFixed(2), "%") || "0 new",
|
|
16793
16793
|
label: "Total Donors",
|
|
16794
16794
|
icon: /*#__PURE__*/jsx(PeopleAltOutlined, {}),
|
|
16795
16795
|
money: false,
|
|
@@ -16797,8 +16797,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16797
16797
|
warning: false
|
|
16798
16798
|
},
|
|
16799
16799
|
"Avg donation": {
|
|
16800
|
-
value: "$".concat(formatNumber(((_apiData$
|
|
16801
|
-
subValue: "".concat(Number((_apiData$
|
|
16800
|
+
value: "$".concat(formatNumber(((_apiData$overviewStat10 = apiData === null || apiData === void 0 || (_apiData$overviewStat11 = apiData.overviewStats) === null || _apiData$overviewStat11 === void 0 || (_apiData$overviewStat11 = _apiData$overviewStat11.overview) === null || _apiData$overviewStat11 === void 0 ? void 0 : _apiData$overviewStat11.overallAVGDonations) !== null && _apiData$overviewStat10 !== void 0 ? _apiData$overviewStat10 : 0).toFixed(2))),
|
|
16801
|
+
subValue: "".concat(Number((_apiData$overviewStat12 = apiData === null || apiData === void 0 || (_apiData$overviewStat13 = apiData.overviewStats) === null || _apiData$overviewStat13 === void 0 || (_apiData$overviewStat13 = _apiData$overviewStat13.overview.growthPercentage) === null || _apiData$overviewStat13 === void 0 ? void 0 : _apiData$overviewStat13.overallAVGDonations) !== null && _apiData$overviewStat12 !== void 0 ? _apiData$overviewStat12 : 0).toFixed(2), "% vs pp\n "),
|
|
16802
16802
|
label: "Average Donation Amount",
|
|
16803
16803
|
icon: /*#__PURE__*/jsx(PaidOutlined, {}),
|
|
16804
16804
|
money: true,
|
|
@@ -16807,7 +16807,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16807
16807
|
},
|
|
16808
16808
|
"ROAS": {
|
|
16809
16809
|
value: "".concat(formatNumber(((_apiData$roasCard = apiData === null || apiData === void 0 ? void 0 : apiData.roasCard) !== null && _apiData$roasCard !== void 0 ? _apiData$roasCard : 0).toFixed(2)), "x"),
|
|
16810
|
-
subValue: "".concat(Number((_apiData$roasCardPrev = apiData === null || apiData === void 0 ? void 0 : apiData.roasCardPrev) !== null && _apiData$roasCardPrev !== void 0 ? _apiData$roasCardPrev : 0).toFixed(2), "x vs
|
|
16810
|
+
subValue: "".concat(Number((_apiData$roasCardPrev = apiData === null || apiData === void 0 ? void 0 : apiData.roasCardPrev) !== null && _apiData$roasCardPrev !== void 0 ? _apiData$roasCardPrev : 0).toFixed(2), "x vs pp"),
|
|
16811
16811
|
label: "ROAS",
|
|
16812
16812
|
icon: /*#__PURE__*/jsx(TrendingUp, {}),
|
|
16813
16813
|
money: false,
|
|
@@ -16815,8 +16815,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16815
16815
|
warning: false
|
|
16816
16816
|
},
|
|
16817
16817
|
"Conversion": {
|
|
16818
|
-
value: "".concat(formatNumber(((_apiData$
|
|
16819
|
-
subValue: "".concat(((_apiData$
|
|
16818
|
+
value: "".concat(formatNumber(((_apiData$overviewStat14 = apiData === null || apiData === void 0 || (_apiData$overviewStat15 = apiData.overviewStats) === null || _apiData$overviewStat15 === void 0 || (_apiData$overviewStat15 = _apiData$overviewStat15.overview) === null || _apiData$overviewStat15 === void 0 ? void 0 : _apiData$overviewStat15.conversionRate) !== null && _apiData$overviewStat14 !== void 0 ? _apiData$overviewStat14 : 0).toFixed(2)), "%"),
|
|
16819
|
+
subValue: "".concat(((_apiData$overviewStat16 = apiData === null || apiData === void 0 || (_apiData$overviewStat17 = apiData.overviewStats) === null || _apiData$overviewStat17 === void 0 || (_apiData$overviewStat17 = _apiData$overviewStat17.overview) === null || _apiData$overviewStat17 === void 0 || (_apiData$overviewStat17 = _apiData$overviewStat17.growthPercentage) === null || _apiData$overviewStat17 === void 0 ? void 0 : _apiData$overviewStat17.conversionRate) !== null && _apiData$overviewStat16 !== void 0 ? _apiData$overviewStat16 : 0).toFixed(2), "%") || "0%",
|
|
16820
16820
|
label: "Conversion Rate",
|
|
16821
16821
|
icon: /*#__PURE__*/jsx(Adjust, {}),
|
|
16822
16822
|
money: false,
|
|
@@ -16850,8 +16850,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16850
16850
|
newDonorsPerc = totalDonorsMix > 0 ? Math.round(newDonorsCount / totalDonorsMix * 100) : 0;
|
|
16851
16851
|
returningDonorsPerc = totalDonorsMix > 0 ? Math.round(returningDonorsCount / totalDonorsMix * 100) : 0;
|
|
16852
16852
|
}
|
|
16853
|
-
var avgGift = Number(((_apiData$
|
|
16854
|
-
var donorMixPrev = Number(((_apiData$
|
|
16853
|
+
var avgGift = Number(((_apiData$overviewStat18 = apiData === null || apiData === void 0 || (_apiData$overviewStat19 = apiData.overviewStats) === null || _apiData$overviewStat19 === void 0 || (_apiData$overviewStat19 = _apiData$overviewStat19.overview) === null || _apiData$overviewStat19 === void 0 ? void 0 : _apiData$overviewStat19.overallAVGDonations) !== null && _apiData$overviewStat18 !== void 0 ? _apiData$overviewStat18 : 0).toFixed(2));
|
|
16854
|
+
var donorMixPrev = Number(((_apiData$overviewStat20 = apiData === null || apiData === void 0 || (_apiData$overviewStat21 = apiData.overviewStats) === null || _apiData$overviewStat21 === void 0 || (_apiData$overviewStat21 = _apiData$overviewStat21.overview) === null || _apiData$overviewStat21 === void 0 || (_apiData$overviewStat21 = _apiData$overviewStat21.growthPercentage) === null || _apiData$overviewStat21 === void 0 ? void 0 : _apiData$overviewStat21.overallAVGDonations) !== null && _apiData$overviewStat20 !== void 0 ? _apiData$overviewStat20 : 0).toFixed(2));
|
|
16855
16855
|
var renderCard = function renderCard(title) {
|
|
16856
16856
|
return /*#__PURE__*/jsx(MetricCard$1
|
|
16857
16857
|
// key={title}
|
|
@@ -16937,8 +16937,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16937
16937
|
};
|
|
16938
16938
|
};
|
|
16939
16939
|
if (activeMetric === "Total Raised") {
|
|
16940
|
-
var _apiData$
|
|
16941
|
-
var stackedData = apiData === null || apiData === void 0 || (_apiData$
|
|
16940
|
+
var _apiData$overviewStat22;
|
|
16941
|
+
var stackedData = apiData === null || apiData === void 0 || (_apiData$overviewStat22 = apiData.overviewStats) === null || _apiData$overviewStat22 === void 0 ? void 0 : _apiData$overviewStat22.totalRaised;
|
|
16942
16942
|
var hasStackedData = (stackedData === null || stackedData === void 0 ? void 0 : stackedData.paidAds) || (stackedData === null || stackedData === void 0 ? void 0 : stackedData.email) || (stackedData === null || stackedData === void 0 ? void 0 : stackedData.organic);
|
|
16943
16943
|
if (hasStackedData) {
|
|
16944
16944
|
var _buildStackedSeries = buildStackedSeries(stackedData),
|
|
@@ -16961,8 +16961,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16961
16961
|
}
|
|
16962
16962
|
}
|
|
16963
16963
|
if (activeMetric === "Net Raised") {
|
|
16964
|
-
var _apiData$
|
|
16965
|
-
var netData = apiData === null || apiData === void 0 || (_apiData$
|
|
16964
|
+
var _apiData$overviewStat23;
|
|
16965
|
+
var netData = apiData === null || apiData === void 0 || (_apiData$overviewStat23 = apiData.overviewStats) === null || _apiData$overviewStat23 === void 0 ? void 0 : _apiData$overviewStat23.netRaised;
|
|
16966
16966
|
var _hasStackedData = (netData === null || netData === void 0 ? void 0 : netData.paidAds) || (netData === null || netData === void 0 ? void 0 : netData.email) || (netData === null || netData === void 0 ? void 0 : netData.organic);
|
|
16967
16967
|
if (_hasStackedData) {
|
|
16968
16968
|
var _buildStackedSeries2 = buildStackedSeries(netData),
|
|
@@ -16993,8 +16993,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16993
16993
|
}
|
|
16994
16994
|
}
|
|
16995
16995
|
if (activeMetric === "Total Donors") {
|
|
16996
|
-
var _apiData$
|
|
16997
|
-
var donorsData = apiData === null || apiData === void 0 || (_apiData$
|
|
16996
|
+
var _apiData$overviewStat24;
|
|
16997
|
+
var donorsData = apiData === null || apiData === void 0 || (_apiData$overviewStat24 = apiData.overviewStats) === null || _apiData$overviewStat24 === void 0 ? void 0 : _apiData$overviewStat24.totalDonations;
|
|
16998
16998
|
var _hasStackedData2 = (donorsData === null || donorsData === void 0 ? void 0 : donorsData.paidAds) || (donorsData === null || donorsData === void 0 ? void 0 : donorsData.email) || (donorsData === null || donorsData === void 0 ? void 0 : donorsData.organic);
|
|
16999
16999
|
if (_hasStackedData2) {
|
|
17000
17000
|
var _buildStackedSeries3 = buildStackedSeries(donorsData),
|
|
@@ -17056,8 +17056,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17056
17056
|
}
|
|
17057
17057
|
}
|
|
17058
17058
|
if (activeMetric === "Conversion") {
|
|
17059
|
-
var _apiData$
|
|
17060
|
-
var conversionData = apiData === null || apiData === void 0 || (_apiData$
|
|
17059
|
+
var _apiData$overviewStat25;
|
|
17060
|
+
var conversionData = apiData === null || apiData === void 0 || (_apiData$overviewStat25 = apiData.overviewStats) === null || _apiData$overviewStat25 === void 0 ? void 0 : _apiData$overviewStat25.conversionRate;
|
|
17061
17061
|
var _hasStackedData4 = (conversionData === null || conversionData === void 0 ? void 0 : conversionData.paidAds) || (conversionData === null || conversionData === void 0 ? void 0 : conversionData.email) || (conversionData === null || conversionData === void 0 ? void 0 : conversionData.organic);
|
|
17062
17062
|
if (_hasStackedData4) {
|
|
17063
17063
|
var _buildStackedSeries5 = buildStackedSeries(conversionData),
|
|
@@ -17088,8 +17088,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17088
17088
|
}
|
|
17089
17089
|
}
|
|
17090
17090
|
if (activeMetric === "Avg donation") {
|
|
17091
|
-
var _apiData$
|
|
17092
|
-
var avgData = apiData === null || apiData === void 0 || (_apiData$
|
|
17091
|
+
var _apiData$overviewStat26;
|
|
17092
|
+
var avgData = apiData === null || apiData === void 0 || (_apiData$overviewStat26 = apiData.overviewStats) === null || _apiData$overviewStat26 === void 0 ? void 0 : _apiData$overviewStat26.avgDonations;
|
|
17093
17093
|
var _hasStackedData5 = (avgData === null || avgData === void 0 ? void 0 : avgData.paidAds) || (avgData === null || avgData === void 0 ? void 0 : avgData.email) || (avgData === null || avgData === void 0 ? void 0 : avgData.organic);
|
|
17094
17094
|
if (_hasStackedData5) {
|
|
17095
17095
|
var _buildStackedSeries6 = buildStackedSeries(avgData),
|
|
@@ -17512,7 +17512,7 @@ var PaidSection$1 = /*#__PURE__*/Object.freeze({
|
|
|
17512
17512
|
});
|
|
17513
17513
|
|
|
17514
17514
|
var formatGrowth$1 = function formatGrowth(value, dateName) {
|
|
17515
|
-
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs
|
|
17515
|
+
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs pp");
|
|
17516
17516
|
};
|
|
17517
17517
|
var mapTimeSeries$1 = function mapTimeSeries(series) {
|
|
17518
17518
|
if (!Array.isArray(series) || series.length === 0) {
|
|
@@ -17563,7 +17563,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17563
17563
|
return {
|
|
17564
17564
|
"Organic Users": {
|
|
17565
17565
|
value: "".concat(formatNumber(8420)),
|
|
17566
|
-
subValue: "18% vs
|
|
17566
|
+
subValue: "18% vs pp",
|
|
17567
17567
|
data: [3200, 4100, 2800, 5600, 4200, 6100, 7500],
|
|
17568
17568
|
categories: fallbackCategories,
|
|
17569
17569
|
icon: /*#__PURE__*/jsx(PeopleAltOutlined, {}),
|
|
@@ -17583,7 +17583,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17583
17583
|
},
|
|
17584
17584
|
Donations: {
|
|
17585
17585
|
value: "".concat(formatNumber(420)),
|
|
17586
|
-
subValue: "18% vs
|
|
17586
|
+
subValue: "18% vs pp",
|
|
17587
17587
|
data: [15, 22, 18, 30, 25, 35, 42],
|
|
17588
17588
|
categories: fallbackCategories,
|
|
17589
17589
|
icon: /*#__PURE__*/jsx(FavoriteOutlined, {}),
|
|
@@ -17593,7 +17593,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17593
17593
|
},
|
|
17594
17594
|
"Conversion Rate": {
|
|
17595
17595
|
value: "3.1%",
|
|
17596
|
-
subValue: "8.4% vs
|
|
17596
|
+
subValue: "8.4% vs pp",
|
|
17597
17597
|
data: [2.5, 2.7, 2.6, 3.1, 3.0, 2.9, 3.1],
|
|
17598
17598
|
categories: fallbackCategories,
|
|
17599
17599
|
icon: /*#__PURE__*/jsx(Adjust, {}),
|
|
@@ -17603,7 +17603,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17603
17603
|
},
|
|
17604
17604
|
"Revenue raised": {
|
|
17605
17605
|
value: "$".concat(formatNumber(240398)),
|
|
17606
|
-
subValue: "0.4x vs
|
|
17606
|
+
subValue: "0.4x vs pp",
|
|
17607
17607
|
data: [2.5, 3.1, 2.8, 4.2, 3.8, 4.5, 5.2],
|
|
17608
17608
|
categories: fallbackCategories,
|
|
17609
17609
|
icon: /*#__PURE__*/jsx(PaidOutlined, {}),
|
|
@@ -17613,7 +17613,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17613
17613
|
},
|
|
17614
17614
|
"Avg donation": {
|
|
17615
17615
|
value: "$".concat(formatNumber(130.58)),
|
|
17616
|
-
subValue: "18% vs
|
|
17616
|
+
subValue: "18% vs pp",
|
|
17617
17617
|
data: [110, 125, 120, 135, 130, 128, 130.58],
|
|
17618
17618
|
categories: fallbackCategories,
|
|
17619
17619
|
icon: /*#__PURE__*/jsx(PaidOutlined, {}),
|
|
@@ -18203,7 +18203,7 @@ var EmailTrendCard = function EmailTrendCard(_ref) {
|
|
|
18203
18203
|
};
|
|
18204
18204
|
|
|
18205
18205
|
var formatGrowth = function formatGrowth(value, dateName) {
|
|
18206
|
-
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs
|
|
18206
|
+
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs pp");
|
|
18207
18207
|
};
|
|
18208
18208
|
var mapTimeSeries = function mapTimeSeries(series) {
|
|
18209
18209
|
if (!Array.isArray(series) || series.length === 0) {
|
|
@@ -18277,7 +18277,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18277
18277
|
return {
|
|
18278
18278
|
"Total raised": {
|
|
18279
18279
|
value: "$".concat(formatNumber(48920)),
|
|
18280
|
-
subValue: "12% vs
|
|
18280
|
+
subValue: "12% vs pp",
|
|
18281
18281
|
icon: /*#__PURE__*/jsx(PaidOutlined, {}),
|
|
18282
18282
|
money: true,
|
|
18283
18283
|
error: false,
|
|
@@ -18285,7 +18285,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18285
18285
|
},
|
|
18286
18286
|
Donations: {
|
|
18287
18287
|
value: "62",
|
|
18288
|
-
subValue: "12% vs
|
|
18288
|
+
subValue: "12% vs pp",
|
|
18289
18289
|
icon: /*#__PURE__*/jsx(FavoriteOutlined, {}),
|
|
18290
18290
|
money: false,
|
|
18291
18291
|
error: false,
|
|
@@ -18293,7 +18293,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18293
18293
|
},
|
|
18294
18294
|
"Conversion rate": {
|
|
18295
18295
|
value: "3.2%",
|
|
18296
|
-
subValue: "12% vs
|
|
18296
|
+
subValue: "12% vs pp",
|
|
18297
18297
|
icon: /*#__PURE__*/jsx(Adjust, {}),
|
|
18298
18298
|
money: false,
|
|
18299
18299
|
error: false,
|
|
@@ -18301,7 +18301,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18301
18301
|
},
|
|
18302
18302
|
CTR: {
|
|
18303
18303
|
value: "8.1%",
|
|
18304
|
-
subValue: "12% vs
|
|
18304
|
+
subValue: "12% vs pp",
|
|
18305
18305
|
icon: /*#__PURE__*/jsx(NotInterested, {}),
|
|
18306
18306
|
money: false,
|
|
18307
18307
|
error: false,
|
|
@@ -18309,7 +18309,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18309
18309
|
},
|
|
18310
18310
|
"Revenue per email": {
|
|
18311
18311
|
value: "$".concat(formatNumber(2.45)),
|
|
18312
|
-
subValue: "12% vs
|
|
18312
|
+
subValue: "12% vs pp",
|
|
18313
18313
|
icon: /*#__PURE__*/jsx(IndeterminateCheckBoxOutlined, {}),
|
|
18314
18314
|
money: true,
|
|
18315
18315
|
error: false,
|
|
@@ -18317,7 +18317,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18317
18317
|
},
|
|
18318
18318
|
"Open rate": {
|
|
18319
18319
|
value: "42.3%",
|
|
18320
|
-
subValue: "12% vs
|
|
18320
|
+
subValue: "12% vs pp",
|
|
18321
18321
|
icon: /*#__PURE__*/jsx(Email, {}),
|
|
18322
18322
|
money: false,
|
|
18323
18323
|
error: false,
|
|
@@ -18325,7 +18325,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18325
18325
|
},
|
|
18326
18326
|
Clicks: {
|
|
18327
18327
|
value: "1,612",
|
|
18328
|
-
subValue: "12% vs
|
|
18328
|
+
subValue: "12% vs pp",
|
|
18329
18329
|
icon: /*#__PURE__*/jsx(NearMe, {}),
|
|
18330
18330
|
money: false,
|
|
18331
18331
|
error: false,
|
|
@@ -18333,7 +18333,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18333
18333
|
},
|
|
18334
18334
|
"Unique Clicks": {
|
|
18335
18335
|
value: formatNumber(1148),
|
|
18336
|
-
subValue: "12% vs
|
|
18336
|
+
subValue: "12% vs pp",
|
|
18337
18337
|
icon: /*#__PURE__*/jsx(NearMe, {}),
|
|
18338
18338
|
money: false,
|
|
18339
18339
|
error: false,
|
|
@@ -18341,7 +18341,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18341
18341
|
},
|
|
18342
18342
|
"Bounce rate": {
|
|
18343
18343
|
value: "1.8%",
|
|
18344
|
-
subValue: "12% vs
|
|
18344
|
+
subValue: "12% vs pp",
|
|
18345
18345
|
icon: /*#__PURE__*/jsx(HighlightOff, {}),
|
|
18346
18346
|
money: false,
|
|
18347
18347
|
error: false,
|
|
@@ -18349,7 +18349,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18349
18349
|
},
|
|
18350
18350
|
"Revenue per Click": {
|
|
18351
18351
|
value: "$".concat(formatNumber(30.35)),
|
|
18352
|
-
subValue: "12% vs
|
|
18352
|
+
subValue: "12% vs pp",
|
|
18353
18353
|
icon: /*#__PURE__*/jsx(HighlightOff, {}),
|
|
18354
18354
|
money: true,
|
|
18355
18355
|
error: false,
|