@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.cjs.js
CHANGED
|
@@ -6368,7 +6368,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6368
6368
|
color: "#10B981"
|
|
6369
6369
|
}],
|
|
6370
6370
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
6371
|
-
bottomSummaryTrend: "".concat(donorMixPrev, "% vs
|
|
6371
|
+
bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
|
|
6372
6372
|
sx: {
|
|
6373
6373
|
width: "100%"
|
|
6374
6374
|
}
|
|
@@ -6422,7 +6422,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6422
6422
|
color: "#10B981"
|
|
6423
6423
|
}],
|
|
6424
6424
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
6425
|
-
bottomSummaryTrend: "".concat(donorMixPrev, "% vs
|
|
6425
|
+
bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
|
|
6426
6426
|
sx: {
|
|
6427
6427
|
width: "100%"
|
|
6428
6428
|
}
|
|
@@ -6452,7 +6452,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6452
6452
|
title: "Order Bump",
|
|
6453
6453
|
subtitle: "Revenue trend \xB7 last ".concat(daysLabel),
|
|
6454
6454
|
value: "$".concat(formatNumber((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.totalRevenue) || 0)),
|
|
6455
|
-
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
|
|
6455
|
+
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"),
|
|
6456
6456
|
chartData: (orderBumpData === null || orderBumpData === void 0 || (_orderBumpData$chart = orderBumpData.chart) === null || _orderBumpData$chart === void 0 ? void 0 : _orderBumpData$chart.map(function (item) {
|
|
6457
6457
|
return {
|
|
6458
6458
|
label: item.label,
|
|
@@ -6494,7 +6494,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6494
6494
|
title: "Referrals",
|
|
6495
6495
|
subtitle: "Revenue trend \xB7 last ".concat(daysLabel),
|
|
6496
6496
|
value: "$".concat(formatNumber((referralData === null || referralData === void 0 ? void 0 : referralData.totalRevenue) || 0)),
|
|
6497
|
-
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
|
|
6497
|
+
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"),
|
|
6498
6498
|
chartData: (referralData === null || referralData === void 0 || (_referralData$chartDa = referralData.chartData) === null || _referralData$chartDa === void 0 ? void 0 : _referralData$chartDa.map(function (item) {
|
|
6499
6499
|
return {
|
|
6500
6500
|
label: item.date,
|
|
@@ -16705,7 +16705,7 @@ var EmailSectionSkeleton = function EmailSectionSkeleton() {
|
|
|
16705
16705
|
};
|
|
16706
16706
|
|
|
16707
16707
|
var OverallSection = function OverallSection(_ref) {
|
|
16708
|
-
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$
|
|
16708
|
+
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;
|
|
16709
16709
|
var _ref$apiData = _ref.apiData,
|
|
16710
16710
|
apiData = _ref$apiData === void 0 ? {} : _ref$apiData,
|
|
16711
16711
|
primaryCharts = _ref.primaryCharts,
|
|
@@ -16772,8 +16772,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16772
16772
|
};
|
|
16773
16773
|
var metricInfo = {
|
|
16774
16774
|
"Total Raised": {
|
|
16775
|
-
value: "$".concat(formatNumber(apiData === null || apiData === void 0 || (_apiData$
|
|
16776
|
-
subValue: "".concat(Number((_apiData$
|
|
16775
|
+
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",
|
|
16776
|
+
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"),
|
|
16777
16777
|
label: "Total Raised",
|
|
16778
16778
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
16779
16779
|
money: true,
|
|
@@ -16781,8 +16781,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16781
16781
|
warning: false
|
|
16782
16782
|
},
|
|
16783
16783
|
"Net Raised": {
|
|
16784
|
-
value: "$".concat(formatNumber(((_apiData$
|
|
16785
|
-
subValue: "".concat(Number((_apiData$
|
|
16784
|
+
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))),
|
|
16785
|
+
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 "),
|
|
16786
16786
|
label: "Net Raised",
|
|
16787
16787
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.FavoriteOutlined, {}),
|
|
16788
16788
|
money: true,
|
|
@@ -16790,8 +16790,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16790
16790
|
warning: false
|
|
16791
16791
|
},
|
|
16792
16792
|
"Total Donors": {
|
|
16793
|
-
value: (apiData === null || apiData === void 0 || (_apiData$
|
|
16794
|
-
subValue: "".concat(Number((_apiData$
|
|
16793
|
+
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",
|
|
16794
|
+
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",
|
|
16795
16795
|
label: "Total Donors",
|
|
16796
16796
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PeopleAltOutlined, {}),
|
|
16797
16797
|
money: false,
|
|
@@ -16799,8 +16799,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16799
16799
|
warning: false
|
|
16800
16800
|
},
|
|
16801
16801
|
"Avg donation": {
|
|
16802
|
-
value: "$".concat(formatNumber(((_apiData$
|
|
16803
|
-
subValue: "".concat(Number((_apiData$
|
|
16802
|
+
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))),
|
|
16803
|
+
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 "),
|
|
16804
16804
|
label: "Average Donation Amount",
|
|
16805
16805
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
16806
16806
|
money: true,
|
|
@@ -16809,7 +16809,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16809
16809
|
},
|
|
16810
16810
|
"ROAS": {
|
|
16811
16811
|
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"),
|
|
16812
|
-
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
|
|
16812
|
+
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"),
|
|
16813
16813
|
label: "ROAS",
|
|
16814
16814
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.TrendingUp, {}),
|
|
16815
16815
|
money: false,
|
|
@@ -16817,8 +16817,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16817
16817
|
warning: false
|
|
16818
16818
|
},
|
|
16819
16819
|
"Conversion": {
|
|
16820
|
-
value: "".concat(formatNumber(((_apiData$
|
|
16821
|
-
subValue: "".concat(((_apiData$
|
|
16820
|
+
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)), "%"),
|
|
16821
|
+
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%",
|
|
16822
16822
|
label: "Conversion Rate",
|
|
16823
16823
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
|
|
16824
16824
|
money: false,
|
|
@@ -16852,8 +16852,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16852
16852
|
newDonorsPerc = totalDonorsMix > 0 ? Math.round(newDonorsCount / totalDonorsMix * 100) : 0;
|
|
16853
16853
|
returningDonorsPerc = totalDonorsMix > 0 ? Math.round(returningDonorsCount / totalDonorsMix * 100) : 0;
|
|
16854
16854
|
}
|
|
16855
|
-
var avgGift = Number(((_apiData$
|
|
16856
|
-
var donorMixPrev = Number(((_apiData$
|
|
16855
|
+
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));
|
|
16856
|
+
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));
|
|
16857
16857
|
var renderCard = function renderCard(title) {
|
|
16858
16858
|
return /*#__PURE__*/jsxRuntime.jsx(MetricCard$1
|
|
16859
16859
|
// key={title}
|
|
@@ -16939,8 +16939,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16939
16939
|
};
|
|
16940
16940
|
};
|
|
16941
16941
|
if (activeMetric === "Total Raised") {
|
|
16942
|
-
var _apiData$
|
|
16943
|
-
var stackedData = apiData === null || apiData === void 0 || (_apiData$
|
|
16942
|
+
var _apiData$overviewStat22;
|
|
16943
|
+
var stackedData = apiData === null || apiData === void 0 || (_apiData$overviewStat22 = apiData.overviewStats) === null || _apiData$overviewStat22 === void 0 ? void 0 : _apiData$overviewStat22.totalRaised;
|
|
16944
16944
|
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);
|
|
16945
16945
|
if (hasStackedData) {
|
|
16946
16946
|
var _buildStackedSeries = buildStackedSeries(stackedData),
|
|
@@ -16963,8 +16963,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16963
16963
|
}
|
|
16964
16964
|
}
|
|
16965
16965
|
if (activeMetric === "Net Raised") {
|
|
16966
|
-
var _apiData$
|
|
16967
|
-
var netData = apiData === null || apiData === void 0 || (_apiData$
|
|
16966
|
+
var _apiData$overviewStat23;
|
|
16967
|
+
var netData = apiData === null || apiData === void 0 || (_apiData$overviewStat23 = apiData.overviewStats) === null || _apiData$overviewStat23 === void 0 ? void 0 : _apiData$overviewStat23.netRaised;
|
|
16968
16968
|
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);
|
|
16969
16969
|
if (_hasStackedData) {
|
|
16970
16970
|
var _buildStackedSeries2 = buildStackedSeries(netData),
|
|
@@ -16995,8 +16995,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
16995
16995
|
}
|
|
16996
16996
|
}
|
|
16997
16997
|
if (activeMetric === "Total Donors") {
|
|
16998
|
-
var _apiData$
|
|
16999
|
-
var donorsData = apiData === null || apiData === void 0 || (_apiData$
|
|
16998
|
+
var _apiData$overviewStat24;
|
|
16999
|
+
var donorsData = apiData === null || apiData === void 0 || (_apiData$overviewStat24 = apiData.overviewStats) === null || _apiData$overviewStat24 === void 0 ? void 0 : _apiData$overviewStat24.totalDonations;
|
|
17000
17000
|
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);
|
|
17001
17001
|
if (_hasStackedData2) {
|
|
17002
17002
|
var _buildStackedSeries3 = buildStackedSeries(donorsData),
|
|
@@ -17058,8 +17058,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17058
17058
|
}
|
|
17059
17059
|
}
|
|
17060
17060
|
if (activeMetric === "Conversion") {
|
|
17061
|
-
var _apiData$
|
|
17062
|
-
var conversionData = apiData === null || apiData === void 0 || (_apiData$
|
|
17061
|
+
var _apiData$overviewStat25;
|
|
17062
|
+
var conversionData = apiData === null || apiData === void 0 || (_apiData$overviewStat25 = apiData.overviewStats) === null || _apiData$overviewStat25 === void 0 ? void 0 : _apiData$overviewStat25.conversionRate;
|
|
17063
17063
|
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);
|
|
17064
17064
|
if (_hasStackedData4) {
|
|
17065
17065
|
var _buildStackedSeries5 = buildStackedSeries(conversionData),
|
|
@@ -17090,8 +17090,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17090
17090
|
}
|
|
17091
17091
|
}
|
|
17092
17092
|
if (activeMetric === "Avg donation") {
|
|
17093
|
-
var _apiData$
|
|
17094
|
-
var avgData = apiData === null || apiData === void 0 || (_apiData$
|
|
17093
|
+
var _apiData$overviewStat26;
|
|
17094
|
+
var avgData = apiData === null || apiData === void 0 || (_apiData$overviewStat26 = apiData.overviewStats) === null || _apiData$overviewStat26 === void 0 ? void 0 : _apiData$overviewStat26.avgDonations;
|
|
17095
17095
|
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);
|
|
17096
17096
|
if (_hasStackedData5) {
|
|
17097
17097
|
var _buildStackedSeries6 = buildStackedSeries(avgData),
|
|
@@ -17514,7 +17514,7 @@ var PaidSection$1 = /*#__PURE__*/Object.freeze({
|
|
|
17514
17514
|
});
|
|
17515
17515
|
|
|
17516
17516
|
var formatGrowth$1 = function formatGrowth(value, dateName) {
|
|
17517
|
-
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs
|
|
17517
|
+
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs pp");
|
|
17518
17518
|
};
|
|
17519
17519
|
var mapTimeSeries$1 = function mapTimeSeries(series) {
|
|
17520
17520
|
if (!Array.isArray(series) || series.length === 0) {
|
|
@@ -17565,7 +17565,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17565
17565
|
return {
|
|
17566
17566
|
"Organic Users": {
|
|
17567
17567
|
value: "".concat(formatNumber(8420)),
|
|
17568
|
-
subValue: "18% vs
|
|
17568
|
+
subValue: "18% vs pp",
|
|
17569
17569
|
data: [3200, 4100, 2800, 5600, 4200, 6100, 7500],
|
|
17570
17570
|
categories: fallbackCategories,
|
|
17571
17571
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PeopleAltOutlined, {}),
|
|
@@ -17585,7 +17585,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17585
17585
|
},
|
|
17586
17586
|
Donations: {
|
|
17587
17587
|
value: "".concat(formatNumber(420)),
|
|
17588
|
-
subValue: "18% vs
|
|
17588
|
+
subValue: "18% vs pp",
|
|
17589
17589
|
data: [15, 22, 18, 30, 25, 35, 42],
|
|
17590
17590
|
categories: fallbackCategories,
|
|
17591
17591
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.FavoriteOutlined, {}),
|
|
@@ -17595,7 +17595,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17595
17595
|
},
|
|
17596
17596
|
"Conversion Rate": {
|
|
17597
17597
|
value: "3.1%",
|
|
17598
|
-
subValue: "8.4% vs
|
|
17598
|
+
subValue: "8.4% vs pp",
|
|
17599
17599
|
data: [2.5, 2.7, 2.6, 3.1, 3.0, 2.9, 3.1],
|
|
17600
17600
|
categories: fallbackCategories,
|
|
17601
17601
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
|
|
@@ -17605,7 +17605,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17605
17605
|
},
|
|
17606
17606
|
"Revenue raised": {
|
|
17607
17607
|
value: "$".concat(formatNumber(240398)),
|
|
17608
|
-
subValue: "0.4x vs
|
|
17608
|
+
subValue: "0.4x vs pp",
|
|
17609
17609
|
data: [2.5, 3.1, 2.8, 4.2, 3.8, 4.5, 5.2],
|
|
17610
17610
|
categories: fallbackCategories,
|
|
17611
17611
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
@@ -17615,7 +17615,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
17615
17615
|
},
|
|
17616
17616
|
"Avg donation": {
|
|
17617
17617
|
value: "$".concat(formatNumber(130.58)),
|
|
17618
|
-
subValue: "18% vs
|
|
17618
|
+
subValue: "18% vs pp",
|
|
17619
17619
|
data: [110, 125, 120, 135, 130, 128, 130.58],
|
|
17620
17620
|
categories: fallbackCategories,
|
|
17621
17621
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
@@ -18205,7 +18205,7 @@ var EmailTrendCard = function EmailTrendCard(_ref) {
|
|
|
18205
18205
|
};
|
|
18206
18206
|
|
|
18207
18207
|
var formatGrowth = function formatGrowth(value, dateName) {
|
|
18208
|
-
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs
|
|
18208
|
+
return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs pp");
|
|
18209
18209
|
};
|
|
18210
18210
|
var mapTimeSeries = function mapTimeSeries(series) {
|
|
18211
18211
|
if (!Array.isArray(series) || series.length === 0) {
|
|
@@ -18279,7 +18279,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18279
18279
|
return {
|
|
18280
18280
|
"Total raised": {
|
|
18281
18281
|
value: "$".concat(formatNumber(48920)),
|
|
18282
|
-
subValue: "12% vs
|
|
18282
|
+
subValue: "12% vs pp",
|
|
18283
18283
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
18284
18284
|
money: true,
|
|
18285
18285
|
error: false,
|
|
@@ -18287,7 +18287,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18287
18287
|
},
|
|
18288
18288
|
Donations: {
|
|
18289
18289
|
value: "62",
|
|
18290
|
-
subValue: "12% vs
|
|
18290
|
+
subValue: "12% vs pp",
|
|
18291
18291
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.FavoriteOutlined, {}),
|
|
18292
18292
|
money: false,
|
|
18293
18293
|
error: false,
|
|
@@ -18295,7 +18295,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18295
18295
|
},
|
|
18296
18296
|
"Conversion rate": {
|
|
18297
18297
|
value: "3.2%",
|
|
18298
|
-
subValue: "12% vs
|
|
18298
|
+
subValue: "12% vs pp",
|
|
18299
18299
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
|
|
18300
18300
|
money: false,
|
|
18301
18301
|
error: false,
|
|
@@ -18303,7 +18303,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18303
18303
|
},
|
|
18304
18304
|
CTR: {
|
|
18305
18305
|
value: "8.1%",
|
|
18306
|
-
subValue: "12% vs
|
|
18306
|
+
subValue: "12% vs pp",
|
|
18307
18307
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NotInterested, {}),
|
|
18308
18308
|
money: false,
|
|
18309
18309
|
error: false,
|
|
@@ -18311,7 +18311,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18311
18311
|
},
|
|
18312
18312
|
"Revenue per email": {
|
|
18313
18313
|
value: "$".concat(formatNumber(2.45)),
|
|
18314
|
-
subValue: "12% vs
|
|
18314
|
+
subValue: "12% vs pp",
|
|
18315
18315
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.IndeterminateCheckBoxOutlined, {}),
|
|
18316
18316
|
money: true,
|
|
18317
18317
|
error: false,
|
|
@@ -18319,7 +18319,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18319
18319
|
},
|
|
18320
18320
|
"Open rate": {
|
|
18321
18321
|
value: "42.3%",
|
|
18322
|
-
subValue: "12% vs
|
|
18322
|
+
subValue: "12% vs pp",
|
|
18323
18323
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Email, {}),
|
|
18324
18324
|
money: false,
|
|
18325
18325
|
error: false,
|
|
@@ -18327,7 +18327,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18327
18327
|
},
|
|
18328
18328
|
Clicks: {
|
|
18329
18329
|
value: "1,612",
|
|
18330
|
-
subValue: "12% vs
|
|
18330
|
+
subValue: "12% vs pp",
|
|
18331
18331
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
|
|
18332
18332
|
money: false,
|
|
18333
18333
|
error: false,
|
|
@@ -18335,7 +18335,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18335
18335
|
},
|
|
18336
18336
|
"Unique Clicks": {
|
|
18337
18337
|
value: formatNumber(1148),
|
|
18338
|
-
subValue: "12% vs
|
|
18338
|
+
subValue: "12% vs pp",
|
|
18339
18339
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
|
|
18340
18340
|
money: false,
|
|
18341
18341
|
error: false,
|
|
@@ -18343,7 +18343,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18343
18343
|
},
|
|
18344
18344
|
"Bounce rate": {
|
|
18345
18345
|
value: "1.8%",
|
|
18346
|
-
subValue: "12% vs
|
|
18346
|
+
subValue: "12% vs pp",
|
|
18347
18347
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
|
|
18348
18348
|
money: false,
|
|
18349
18349
|
error: false,
|
|
@@ -18351,7 +18351,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
18351
18351
|
},
|
|
18352
18352
|
"Revenue per Click": {
|
|
18353
18353
|
value: "$".concat(formatNumber(30.35)),
|
|
18354
|
-
subValue: "12% vs
|
|
18354
|
+
subValue: "12% vs pp",
|
|
18355
18355
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
|
|
18356
18356
|
money: true,
|
|
18357
18357
|
error: false,
|