@ammarkhalidfarooq/dashboard-package 0.4.0 → 0.4.1
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 +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5185,6 +5185,7 @@ var DonationTypeBarChart = function DonationTypeBarChart(_ref) {
|
|
|
5185
5185
|
var sx = _ref.sx,
|
|
5186
5186
|
_ref$donationTypeData = _ref.donationTypeData,
|
|
5187
5187
|
donationTypeData = _ref$donationTypeData === void 0 ? [] : _ref$donationTypeData;
|
|
5188
|
+
console.log("CHART DATA", donationTypeData);
|
|
5188
5189
|
var recurringColor = (donationTypeData === null || donationTypeData === void 0 || (_donationTypeData$sum = donationTypeData.summary) === null || _donationTypeData$sum === void 0 || (_donationTypeData$sum = _donationTypeData$sum.recurring) === null || _donationTypeData$sum === void 0 ? void 0 : _donationTypeData$sum.color) || "rgb(99, 99, 230)";
|
|
5189
5190
|
var oneTimeColor = (donationTypeData === null || donationTypeData === void 0 || (_donationTypeData$sum2 = donationTypeData.summary) === null || _donationTypeData$sum2 === void 0 || (_donationTypeData$sum2 = _donationTypeData$sum2.oneTime) === null || _donationTypeData$sum2 === void 0 ? void 0 : _donationTypeData$sum2.color) || "#10B981";
|
|
5190
5191
|
var chartOptions = {
|
|
@@ -5735,7 +5736,6 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5735
5736
|
}
|
|
5736
5737
|
return charts;
|
|
5737
5738
|
};
|
|
5738
|
-
console.log("API DATA", apiData);
|
|
5739
5739
|
var metricInfo = {
|
|
5740
5740
|
"Total Raised": {
|
|
5741
5741
|
value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedCard)) || "$240.9K",
|
|
@@ -6078,6 +6078,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
6078
6078
|
value: selectedInfo.value,
|
|
6079
6079
|
trend: selectedInfo.subValue
|
|
6080
6080
|
});
|
|
6081
|
+
console.log("Donation Type Data", donationTypeData);
|
|
6081
6082
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
6082
6083
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
|
|
6083
6084
|
sx: {
|