mario-education 2.4.61-admin → 2.4.63-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.
@@ -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
- return React.createElement("div", {
26775
- className: "" + styles$1["item-legend"],
26776
- key: index
26777
- }, React.createElement("div", {
26778
- className: "" + styles$1["item"]
26779
- }, React.createElement("div", {
26780
- className: "" + styles$1["mark-custom"],
26781
- style: {
26782
- backgroundColor: COLOR_CHART_AND_PERCENTS[index]
26783
- }
26784
- }), React.createElement("label", {
26785
- className: "" + styles$1["label-legend-custom"]
26786
- }, month)), React.createElement("div", {
26787
- className: "" + styles$1["percent"]
26788
- }, React.createElement("label", {
26789
- className: "m-0"
26790
- }, avg[index] ? avg[index] + "%" : "0.00%")));
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
 
@@ -29429,7 +29433,17 @@ var LearningStrategiesTable = function LearningStrategiesTable(_ref) {
29429
29433
  isOpen: isOpen,
29430
29434
  toggle: onClosed,
29431
29435
  size: "xl"
29432
- }, React.createElement(ModalHeader, null, "Learning Strategies"), React.createElement(ModalBody, null, React.createElement("div", {
29436
+ }, React.createElement(ModalHeader, null, "Learning Strategies ", React.createElement("i", {
29437
+ className: "fal fa-times",
29438
+ onClick: onClosed,
29439
+ style: {
29440
+ position: "absolute",
29441
+ right: "15px",
29442
+ fontSize: "15px",
29443
+ top: "20px",
29444
+ cursor: "pointer"
29445
+ }
29446
+ })), React.createElement(ModalBody, null, React.createElement("div", {
29433
29447
  className: "" + styles["filter-box-learning"]
29434
29448
  }, React.createElement("div", {
29435
29449
  className: "" + styles["search-box-learning"]