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