mario-education 2.4.61-admin → 2.4.62-admin
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.js +21 -17
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21 -17
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -26771,23 +26771,27 @@ var ColumnChartAndPercent = function ColumnChartAndPercent(_ref) {
|
|
|
26771
26771
|
})), !isPDF && React.createElement("div", {
|
|
26772
26772
|
className: "w-100 d-flex gap-2 flex-wrap " + styles$1["listItem"]
|
|
26773
26773
|
}, data.map(function (month, index) {
|
|
26774
|
-
|
|
26775
|
-
|
|
26776
|
-
|
|
26777
|
-
|
|
26778
|
-
|
|
26779
|
-
|
|
26780
|
-
|
|
26781
|
-
|
|
26782
|
-
|
|
26783
|
-
|
|
26784
|
-
|
|
26785
|
-
|
|
26786
|
-
|
|
26787
|
-
|
|
26788
|
-
|
|
26789
|
-
|
|
26790
|
-
|
|
26774
|
+
if (!!avg && avg[index] > 0) {
|
|
26775
|
+
return React.createElement("div", {
|
|
26776
|
+
className: "" + styles$1["item-legend"],
|
|
26777
|
+
key: index
|
|
26778
|
+
}, React.createElement("div", {
|
|
26779
|
+
className: "" + styles$1["item"]
|
|
26780
|
+
}, React.createElement("div", {
|
|
26781
|
+
className: "" + styles$1["mark-custom"],
|
|
26782
|
+
style: {
|
|
26783
|
+
backgroundColor: COLOR_CHART_AND_PERCENTS[index]
|
|
26784
|
+
}
|
|
26785
|
+
}), React.createElement("label", {
|
|
26786
|
+
className: "" + styles$1["label-legend-custom"]
|
|
26787
|
+
}, month)), React.createElement("div", {
|
|
26788
|
+
className: "" + styles$1["percent"]
|
|
26789
|
+
}, React.createElement("label", {
|
|
26790
|
+
className: "m-0"
|
|
26791
|
+
}, avg[index] ? avg[index].toFixed(2) + "%" : "0.00%")));
|
|
26792
|
+
}
|
|
26793
|
+
|
|
26794
|
+
return null;
|
|
26791
26795
|
})));
|
|
26792
26796
|
};
|
|
26793
26797
|
|