@ammarkhalidfarooq/dashboard-package 0.4.95 → 0.4.96
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 +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5287,7 +5287,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5287
5287
|
var donorGeographyData = (apiData === null || apiData === void 0 ? void 0 : apiData.donorGeography) || [];
|
|
5288
5288
|
var trafficSourceData = (apiData === null || apiData === void 0 ? void 0 : apiData.trafficSourceData) || [];
|
|
5289
5289
|
var orderBumpData = (apiData === null || apiData === void 0 ? void 0 : apiData.orderBumpDetails) || [];
|
|
5290
|
-
var upsellData = (apiData === null || apiData === void 0 ? void 0 : apiData.
|
|
5290
|
+
var upsellData = (apiData === null || apiData === void 0 ? void 0 : apiData.upSellDetails) || [];
|
|
5291
5291
|
var downsellData = (apiData === null || apiData === void 0 ? void 0 : apiData.downsellData1) || [];
|
|
5292
5292
|
var refundsChargebacksData = (apiData === null || apiData === void 0 ? void 0 : apiData.refundAndChargeBacks) || [];
|
|
5293
5293
|
var allCharts = [].concat(_toConsumableArray(primaryCharts), _toConsumableArray(secondaryCharts), _toConsumableArray(tertiaryCharts), _toConsumableArray(quaternaryCharts));
|
|
@@ -5904,10 +5904,10 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5904
5904
|
title: "Upsell",
|
|
5905
5905
|
subtitle: "Acceptance & raised",
|
|
5906
5906
|
acceptanceRate: (upsellData === null || upsellData === void 0 ? void 0 : upsellData.acceptanceRate) || 0,
|
|
5907
|
-
acceptanceVal: "".concat(formatNumber((upsellData === null || upsellData === void 0 ? void 0 : upsellData.
|
|
5908
|
-
acceptanceTrend: "".concat(
|
|
5909
|
-
raisedVal: "$".concat(formatNumber((upsellData === null || upsellData === void 0 ? void 0 : upsellData.
|
|
5910
|
-
raisedTrend: "".concat(
|
|
5907
|
+
acceptanceVal: "".concat(formatNumber((upsellData === null || upsellData === void 0 ? void 0 : upsellData.totalUpsellsAttached) || 0)),
|
|
5908
|
+
acceptanceTrend: "".concat((upsellData === null || upsellData === void 0 ? void 0 : upsellData.acceptanceGrowth) >= 0 ? "▲" : "▼", " ").concat(Math.abs((upsellData === null || upsellData === void 0 ? void 0 : upsellData.acceptanceGrowth) || 0).toFixed(1), "%"),
|
|
5909
|
+
raisedVal: "$".concat(formatNumber((upsellData === null || upsellData === void 0 ? void 0 : upsellData.raised) || 0)),
|
|
5910
|
+
raisedTrend: "".concat((upsellData === null || upsellData === void 0 ? void 0 : upsellData.raisedGrowth) >= 0 ? "▲" : "▼", " ").concat(Math.abs((upsellData === null || upsellData === void 0 ? void 0 : upsellData.raisedGrowth) || 0).toFixed(1), "%"),
|
|
5911
5911
|
sx: {
|
|
5912
5912
|
maxHeight: 280
|
|
5913
5913
|
}
|