mario-education 2.4.9-beta → 2.4.10-beta

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.css CHANGED
@@ -278,10 +278,14 @@ h6._3zOGW {
278
278
  width: 100%;
279
279
  }
280
280
 
281
+ ._2asi- ._muT01 ._35BzZ {
282
+ font-size: 20px;
283
+ }
284
+
281
285
  @media (min-width: 1024px) {
282
286
  ._3pkbc {
283
287
  max-width: 60%;
284
- }
288
+ }
285
289
  ._16MpB {
286
290
  max-width: 70%;
287
291
  }
@@ -292,6 +296,7 @@ h6._3zOGW {
292
296
  font-size: 24px;
293
297
  line-height: 116%;
294
298
  }
299
+
295
300
  ._2Q9xO{
296
301
  border-radius: 50%;
297
302
  display: flex;
package/dist/index.js CHANGED
@@ -18704,7 +18704,7 @@ var useDashboard = function useDashboard() {
18704
18704
  };
18705
18705
  };
18706
18706
 
18707
- var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-gender":"_31VDE","form-filter-grade":"_1Pm1w","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i"};
18707
+ var styles$1 = {"dashboard-card":"_1Jgr2","quantity-table":"_3Thdy","size-icon":"_1WLBo","block-dashboard":"_10Pgm","size-arrow":"_3jPb_","color-down":"_1c43y","color-up":"_F1afY","box-filter":"_1kqUQ","title-card":"_10hbz","value-card":"_2rmw_","deviant-card":"_1tdQu","filter-card":"_2BvFN","box-skill-item":"_2TBTW","numerical-order":"_3XXJp","backoround-top-skill":"_LCuWQ","color-filter":"_3x9D7","btn-filter":"_2In63","block-collapse":"_1Vhg_","form-date-picker":"_6yLxd","bock-filter-left":"_h74SO","bock-filter-right":"_3e2pi","form-filter-gender":"_31VDE","form-filter-grade":"_1Pm1w","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i"};
18708
18708
 
18709
18709
  var DashboardCard = function DashboardCard(_ref) {
18710
18710
  var label = _ref.label,
@@ -19087,7 +19087,10 @@ var CustomBarChart = function CustomBarChart(_ref) {
19087
19087
  tickAmount: 5,
19088
19088
  labels: {
19089
19089
  offsetX: -20,
19090
- show: true
19090
+ show: true,
19091
+ formatter: function formatter(val) {
19092
+ return chartName === "Safety" ? val + "%" : "" + val.toFixed(0);
19093
+ }
19091
19094
  }
19092
19095
  }
19093
19096
  };
@@ -19276,6 +19279,10 @@ var StudentByGender = function StudentByGender(_ref) {
19276
19279
  formatter: function formatter(_val, opts) {
19277
19280
  return opts.w.config.series[opts.seriesIndex];
19278
19281
  },
19282
+ dropShadow: {
19283
+ blur: 0,
19284
+ opacity: 0
19285
+ },
19279
19286
  style: {
19280
19287
  fontSize: "32px",
19281
19288
  fontWeight: 'bold',
@@ -19329,15 +19336,47 @@ var StudentWithSpecialNeeds = function StudentWithSpecialNeeds(_ref) {
19329
19336
  labels: (data === null || data === void 0 ? void 0 : data.map(function (i) {
19330
19337
  return i.nameSpecial;
19331
19338
  })) || [],
19339
+ dataLabels: {
19340
+ offsetX: 100,
19341
+ offsetY: 0,
19342
+ style: {
19343
+ fontSize: "20px",
19344
+ fontWeight: "none"
19345
+ }
19346
+ },
19332
19347
  plotOptions: {
19333
19348
  pie: {
19334
19349
  donut: {
19335
- size: "50px"
19350
+ size: "40px"
19336
19351
  }
19337
19352
  }
19338
19353
  },
19339
19354
  stroke: {
19340
19355
  width: 0
19356
+ },
19357
+ tooltip: {
19358
+ enabled: true,
19359
+ enabledOnSeries: undefined,
19360
+ shared: true,
19361
+ followCursor: false,
19362
+ intersect: false,
19363
+ inverseOrder: false,
19364
+ custom: undefined,
19365
+ fillSeriesColor: false,
19366
+ theme: "light",
19367
+ style: {
19368
+ fontSize: "20px",
19369
+ fontFamily: undefined
19370
+ },
19371
+ onDatasetHover: {
19372
+ highlightDataSeries: false
19373
+ },
19374
+ fixed: {
19375
+ enabled: false,
19376
+ position: "topRight",
19377
+ offsetX: 0,
19378
+ offsetY: 0
19379
+ }
19341
19380
  }
19342
19381
  };
19343
19382
  React.useEffect(function () {
@@ -19349,7 +19388,7 @@ var StudentWithSpecialNeeds = function StudentWithSpecialNeeds(_ref) {
19349
19388
  setSeries(result);
19350
19389
  }, [data]);
19351
19390
  return React__default.createElement("div", {
19352
- className: "d-flex justify-content-center"
19391
+ className: styles$1["chart-data"] + " d-flex justify-content-center"
19353
19392
  }, !isNoData ? React__default.createElement(ReactApexChart, {
19354
19393
  options: options,
19355
19394
  series: series,