@ammarkhalidfarooq/dashboard-package 0.3.19 → 0.3.20
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 +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2300,7 +2300,7 @@ var NewOverview = function NewOverview(_ref) {
|
|
|
2300
2300
|
return item.date;
|
|
2301
2301
|
}) : categories;
|
|
2302
2302
|
var primaryCharts = [{
|
|
2303
|
-
label: "Total
|
|
2303
|
+
label: "Total Raised",
|
|
2304
2304
|
value: totalRevData.length > 0 ? "$".concat(totalRevTotal.toLocaleString()) : typeof (apiData === null || apiData === void 0 ? void 0 : apiData.totalRevenue) === "string" ? apiData.totalRevenue : "$9,200.00",
|
|
2305
2305
|
subValue: "Total Donations: ".concat((apiData === null || apiData === void 0 ? void 0 : apiData.totalDonations) || 215),
|
|
2306
2306
|
data: totalRevValues,
|
|
@@ -4798,7 +4798,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
4798
4798
|
"Total Raised": {
|
|
4799
4799
|
value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedCard)) || "$240.9K",
|
|
4800
4800
|
subValue: "".concat(Number((_apiData$totalRaisedP = apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedPrev) !== null && _apiData$totalRaisedP !== void 0 ? _apiData$totalRaisedP : 0).toFixed(2), "% vs ").concat(dateName || "last month"),
|
|
4801
|
-
label: "Total
|
|
4801
|
+
label: "Total Raised",
|
|
4802
4802
|
icon: iconsMaterial.PaidOutlined
|
|
4803
4803
|
},
|
|
4804
4804
|
"Net Raised": {
|
|
@@ -4909,7 +4909,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
4909
4909
|
index: 0,
|
|
4910
4910
|
md: 12,
|
|
4911
4911
|
isPremium: true,
|
|
4912
|
-
isPrimary: true
|
|
4912
|
+
isPrimary: true,
|
|
4913
|
+
metric: activeMetric.includes("Raised") || activeMetric.includes("donation") ? "Revenue" : "Donors"
|
|
4913
4914
|
})
|
|
4914
4915
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
|
|
4915
4916
|
container: true,
|