mario-education 2.4.467-release → 2.4.469-release

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
@@ -2545,10 +2545,13 @@ h6._3zOGW {
2545
2545
  flex-grow: 1;
2546
2546
  overflow-y: auto;
2547
2547
  display: block;
2548
- padding-right: 10px;
2549
2548
  /* width: calc(100% + 10px); */
2550
2549
  }
2551
2550
 
2551
+ ._3KJDS > ._3GkYB {
2552
+ padding-right: 10px;
2553
+ }
2554
+
2552
2555
  ._3KJDS > ._xCCue::-webkit-scrollbar {
2553
2556
  width: 10px;
2554
2557
  }
@@ -2634,27 +2637,27 @@ h6._3zOGW {
2634
2637
  table-layout: fixed;
2635
2638
  }
2636
2639
 
2637
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(1) {
2640
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(1) {
2638
2641
  width: 18%;
2639
2642
  }
2640
2643
 
2641
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(2) {
2644
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(2) {
2642
2645
  width: 10%;
2643
2646
  }
2644
2647
 
2645
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(3) {
2648
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(3) {
2646
2649
  width: 15%;
2647
2650
  }
2648
2651
 
2649
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(4) {
2652
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(4) {
2650
2653
  width: 12%;
2651
2654
  }
2652
2655
 
2653
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(5) {
2656
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(5) {
2654
2657
  width: 30%;
2655
2658
  }
2656
2659
 
2657
- ._e1eW1 > ._ZaJN5 > ._18pQP:nth-child(6) {
2660
+ ._e1eW1 > ._jt5M3 > ._2cEqW:nth-child(6) {
2658
2661
  width: 15%;
2659
2662
  }
2660
2663
 
@@ -2679,6 +2682,11 @@ h6._3zOGW {
2679
2682
 
2680
2683
  ._2emfn > div > div > nav > ul {
2681
2684
  margin: 16px 0 0;
2685
+ }
2686
+
2687
+ ._2N-L8 {
2688
+ background-color: #eff3fc !important;
2689
+ transition: background-color 0.3s ease;
2682
2690
  }
2683
2691
  @font-face {
2684
2692
  font-family: "Lato-Regular";
package/dist/index.js CHANGED
@@ -24656,7 +24656,7 @@ var TYPECHART;
24656
24656
  TYPECHART[TYPECHART["DONUT"] = 4] = "DONUT";
24657
24657
  })(TYPECHART || (TYPECHART = {}));
24658
24658
 
24659
- 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-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","chart-buddle":"_TPa6x","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","description-chart-dashboard":"_2ZL2A","percent-item":"_1rjWR","chart-custom":"_f-Ti4","title-grade":"_1hZ_V","title-modal":"_3L9WC","header-desc-modal":"_1TFtP","form-checkbox":"_37aqf","checkbox-content":"_1iabV","btn-export":"_1eQAg","image-logo":"_1eqkj","chart-to-canvas":"_2IQ8b","chart-pdf":"_sQ21k","box-top-5-most":"_3Eas5","filter-mobile-block":"_1tKnn","filter-wrapper-mobile":"_1Zuq3","total-card-wrapper":"_1i0El","block-chart-area":"_vC3Ud","block-label-y":"_2ux2o","label":"_3OL8v","skill-box":"_Bv1-A","box-model-student-skill":"_2O1Zp","description-chart-distribution-stress":"_1E9DH","block-question-answer":"_1ym2M","question-answer-container":"_3h9Lc","block-title":"_21miX","block-title-question":"_38wLO","block-description":"_3giEV","total-text":"_3uLFq","total-value":"_2qDE6","view-response-action":"_1tIKM","action-text":"_2D8wS","table-container":"_3KJDS","table-head":"_QR625","table-body-container":"_xCCue","table-head-scroll":"_3zJ60","header-cell":"_3iePe","table-row":"_jt5M3","body-cell":"_2cEqW","body-answer":"_qGHNb","table-body-scroll":"_1FNac","table-body":"_e1eW1","table-row-scroll":"_ZaJN5","body-cell-scroll":"_18pQP","avatar_user":"_3t-xa","block-filter-question":"_2nFrb","block-summarize-question":"_1e_HY","pagination-summarize-table":"_2emfn"};
24659
+ 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-right":"_ntUB6","form-filter-left":"_1DlZ4","bock-filter-wrap":"_1tYDM","title-card-box":"_3hSow","box-item":"_1yuC9","image-no-data":"_2PMoX","image-grade":"_3ZX0b","chart-data":"_2asi-","apexcharts-datalabels":"_muT01","apexcharts-pie-label":"_35BzZ","image-custom":"_3pkbc","image-special-need":"_16MpB","title-dashboard":"_CHu-i","box-chart":"_3Y-Dd","block-filter-right":"_1YJnk","shadow-lg":"_2eMbe","chart-header-wrapper":"_6ZvFg","devide-component":"_24CNV","header-chart":"_2vtSi","header-left":"_IpsVf","icon-chart":"_gzxWe","header-right":"_37IcR","header-title":"_2G6Wz","button-export":"_3xpNv","button-content":"_3H5Ly","button-icon":"_J_n-D","icon-config":"_3AALV","cursor-pointer":"_11Xjn","btn-show-chart":"_2htKu","rotate-180":"_q1nUO","header-chart-generate":"_s8xMf","block-header-chart":"_tHUJ_","name-chart":"_3xKHX","title-chart":"_pFFg9","description-chart":"_3hqV3","title-chart-generate":"_3rdqX","expand-icon":"_nwv00","custom-tooltip":"_29aQo","custom-tooltip-month":"_2SJIY","tooltip-data-cursor":"_2lZv_","tooltip-data-box":"_8NzTd","tooltip-data":"_1EP1I","name":"_1J69a","data":"_3-8OW","checkbox-chart":"_1qXAT","column-chart-percent":"_3NgrB","chart-background":"_32fu3","custom-marker":"_DmMzw","mark-custom":"_1eUXn","item-legend":"_3hrrC","label-legend-custom":"_Q-iiW","mark-legend":"_cD4ey","percent":"_2HWhv","listItem":"_2Hdbu","item":"_3RJ2T","item-checkbox":"_3dK0P","box-checkbox":"_1bHgZ","check-box":"_QwDVv","item-detail":"_1QgWc","question":"_348ls","avr-question":"_1VfnR","volatility":"_3eW34","arr":"_1bljF","month-text":"_30y0h","arrow":"_1HtM3","arrow-up":"_3qqQU","percent-text":"_2Fgfn","arrow-down":"_1yXO7","point-custom":"_2JNm-","student-by-age":"_38ikt","total-student":"_1TnWs","pie-chart":"_3BTJi","options-gender":"_1Ws0m","legend":"_2HnO_","text-lengend":"_2BFJw","student-by-grade":"_2az-l","bubble-chart-custom":"_2j8fp","x-axis-custom-wrap":"_1BN5z","axis-content":"_1rYav","chart-buddle":"_TPa6x","legend-wrap":"_3-zAs","label-chart":"_24PRg","list-percent":"_1PPhv","description-chart-dashboard":"_2ZL2A","percent-item":"_1rjWR","chart-custom":"_f-Ti4","title-grade":"_1hZ_V","title-modal":"_3L9WC","header-desc-modal":"_1TFtP","form-checkbox":"_37aqf","checkbox-content":"_1iabV","btn-export":"_1eQAg","image-logo":"_1eqkj","chart-to-canvas":"_2IQ8b","chart-pdf":"_sQ21k","box-top-5-most":"_3Eas5","filter-mobile-block":"_1tKnn","filter-wrapper-mobile":"_1Zuq3","total-card-wrapper":"_1i0El","block-chart-area":"_vC3Ud","block-label-y":"_2ux2o","label":"_3OL8v","skill-box":"_Bv1-A","box-model-student-skill":"_2O1Zp","description-chart-distribution-stress":"_1E9DH","block-question-answer":"_1ym2M","question-answer-container":"_3h9Lc","block-title":"_21miX","block-title-question":"_38wLO","block-description":"_3giEV","total-text":"_3uLFq","total-value":"_2qDE6","view-response-action":"_1tIKM","action-text":"_2D8wS","table-container":"_3KJDS","table-head":"_QR625","table-body-container":"_xCCue","table-body-container-scroll":"_3GkYB","table-head-scroll":"_3zJ60","header-cell":"_3iePe","table-row":"_jt5M3","body-cell":"_2cEqW","body-answer":"_qGHNb","table-body-scroll":"_1FNac","table-body":"_e1eW1","table-row-scroll":"_ZaJN5","avatar_user":"_3t-xa","block-filter-question":"_2nFrb","block-summarize-question":"_1e_HY","pagination-summarize-table":"_2emfn","row-hover":"_2N-L8"};
24660
24660
 
24661
24661
  var HeaderChart = function HeaderChart(_ref) {
24662
24662
  var title = _ref.title,
@@ -31515,7 +31515,7 @@ var useDashboard = function useDashboard() {
31515
31515
  var _useState2 = React.useState({
31516
31516
  pageSize: 5,
31517
31517
  currentPage: 1,
31518
- sortBy: "Grade",
31518
+ sortBy: "Date",
31519
31519
  sortOrder: "DESC"
31520
31520
  }),
31521
31521
  questionFilters = _useState2[0],
@@ -31997,7 +31997,7 @@ var useDashboard = function useDashboard() {
31997
31997
  } catch (e) {
31998
31998
  return Promise.reject(e);
31999
31999
  }
32000
- }, [filter]);
32000
+ }, [filter, questionFilters]);
32001
32001
  React.useEffect(function () {
32002
32002
  getData();
32003
32003
  }, [filter]);
@@ -35882,6 +35882,10 @@ var LastAnswerTable = function LastAnswerTable(_ref) {
35882
35882
  var _useTranslation = marioCore.useTranslation(),
35883
35883
  t = _useTranslation.t;
35884
35884
 
35885
+ var _useState = React.useState(null),
35886
+ hoveredRow = _useState[0],
35887
+ setHoveredRow = _useState[1];
35888
+
35885
35889
  var renderCheckInDate = function renderCheckInDate(time) {
35886
35890
  var timeStart = marioCore.utcToLocalTime(time, "Do MMMM yyyy - hh:mm A").toString();
35887
35891
  var timeSplitArray = timeStart.split(" - ");
@@ -35971,12 +35975,13 @@ var LastAnswerTable = function LastAnswerTable(_ref) {
35971
35975
  className: "" + styles$1["header-cell"],
35972
35976
  width: "15%"
35973
35977
  }, t("action"))))), React__default.createElement(core$1.Grid, {
35974
- className: "" + styles$1["table-body-container"]
35978
+ className: styles$1["table-body-container"] + " " + styles$1["table-body-container-" + subClassName]
35975
35979
  }, React__default.createElement(core$1.Table, null, React__default.createElement(core$1.TableBody, {
35976
35980
  className: styles$1["table-body"] + " " + styles$1["table-body-" + subClassName]
35977
- }, items === null || items === void 0 ? void 0 : items.map(function (r) {
35981
+ }, items === null || items === void 0 ? void 0 : items.map(function (r, index) {
35978
35982
  return React__default.createElement(core$1.TableRow, {
35979
- className: styles$1["table-row"] + " " + styles$1["table-row-" + subClassName]
35983
+ key: r.sessionId,
35984
+ className: styles$1["table-row"] + " " + (hoveredRow === index ? styles$1["row-hover"] : "") + " " + styles$1["table-row-" + subClassName]
35980
35985
  }, React__default.createElement(core$1.TableCell, {
35981
35986
  component: "th",
35982
35987
  scope: "row",
@@ -36021,7 +36026,13 @@ var LastAnswerTable = function LastAnswerTable(_ref) {
36021
36026
  }, React__default.createElement(CustomTooltip, {
36022
36027
  arrow: true,
36023
36028
  title: r.answer || "",
36024
- className: "" + styles$1["tooltip-answer"]
36029
+ className: "" + styles$1["tooltip-answer"],
36030
+ onMouseEnter: function onMouseEnter() {
36031
+ return setHoveredRow(index);
36032
+ },
36033
+ onMouseOut: function onMouseOut() {
36034
+ return setHoveredRow(null);
36035
+ }
36025
36036
  }, React__default.createElement(core$1.Grid, {
36026
36037
  style: {
36027
36038
  WebkitLineClamp: !lineClamp ? 2 : lineClamp