@ammarkhalidfarooq/dashboard-package 0.6.42 → 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 +21 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +21 -21
- 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,
|
|
@@ -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,
|