mario-teacher-student-client 9000.0.21 → 9000.0.22

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.
@@ -65,6 +65,7 @@ export interface CLASS_REFLECTION {
65
65
  teacherAvatar?: string;
66
66
  IsDescending?: boolean;
67
67
  studentName?: string;
68
+ receiviedDate?: any;
68
69
  }
69
70
  export interface QuestionAnswer {
70
71
  id: number;
package/dist/index.css CHANGED
@@ -2558,7 +2558,8 @@ h2._1OAmb {
2558
2558
  ._m1FkD ._3bMn1 ._DRbPW {
2559
2559
  border-bottom: 1px solid #c4c4c4;
2560
2560
  text-align: center;
2561
- padding: 14px 0px; }
2561
+ padding: 14px 0px;
2562
+ cursor: pointer; }
2562
2563
  ._m1FkD ._3bMn1 ._37XQi {
2563
2564
  padding: 12px; }
2564
2565
  ._m1FkD ._3bMn1 ._37XQi ._lJNUX {
@@ -2946,7 +2947,7 @@ h2._1OAmb {
2946
2947
  font-family: "Roboto";
2947
2948
  font-size: 16px;
2948
2949
  font-weight: 400;
2949
- width: 20vw; }
2950
+ width: 30vw; }
2950
2951
 
2951
2952
  ._2ytmF {
2952
2953
  width: 52px;
@@ -2959,7 +2960,7 @@ h2._1OAmb {
2959
2960
 
2960
2961
  ._2RP6e {
2961
2962
  overflow-y: auto;
2962
- height: 52%;
2963
+ height: 52vh;
2963
2964
  margin-bottom: 10px; }
2964
2965
 
2965
2966
  ._zyDqv {
@@ -3003,6 +3004,24 @@ h2._1OAmb {
3003
3004
  ._SGD0h {
3004
3005
  cursor: pointer; }
3005
3006
 
3007
+ @media screen and (min-height: 100px) {
3008
+ ._2RP6e {
3009
+ overflow-y: auto;
3010
+ height: 20vh;
3011
+ margin-bottom: 10px; } }
3012
+
3013
+ @media screen and (min-height: 760px) {
3014
+ ._2RP6e {
3015
+ overflow-y: auto;
3016
+ height: 30vh;
3017
+ margin-bottom: 10px; } }
3018
+
3019
+ @media screen and (min-height: 930px) {
3020
+ ._2RP6e {
3021
+ overflow-y: auto;
3022
+ height: 40vh;
3023
+ margin-bottom: 10px; } }
3024
+
3006
3025
  @font-face {
3007
3026
  font-family: "Lato-Regular";
3008
3027
  src: url("/fonts/Lato-Regular.ttf");
@@ -4488,6 +4507,23 @@ h2._1OAmb {
4488
4507
  color: #3182CE;
4489
4508
  background: rgba(186, 213, 248, 0.5); }
4490
4509
 
4510
+ ._23F1r {
4511
+ display: flex;
4512
+ align-items: center;
4513
+ justify-content: space-between;
4514
+ padding: 20px 0; }
4515
+ ._23F1r ._htNcj {
4516
+ display: flex;
4517
+ align-items: center;
4518
+ justify-content: space-between; }
4519
+ ._23F1r ._htNcj ._2jl3g {
4520
+ display: flex;
4521
+ align-items: center;
4522
+ padding-left: 15px; }
4523
+ ._23F1r ._htNcj ._2jl3g > p {
4524
+ font-weight: 400;
4525
+ font-size: 14px; }
4526
+
4491
4527
  @font-face {
4492
4528
  font-family: "Lato-Regular";
4493
4529
  src: url("/fonts/Lato-Regular.ttf");
@@ -7502,6 +7538,25 @@ h2._1KpSK {
7502
7538
  ._2T-ZP {
7503
7539
  color: red; }
7504
7540
 
7541
+ ._2C9VW {
7542
+ align-items: center;
7543
+ display: flex;
7544
+ justify-content: space-between;
7545
+ padding: 20px 0; }
7546
+ ._2C9VW ._3b7qo {
7547
+ display: flex;
7548
+ align-items: center;
7549
+ justify-content: space-between; }
7550
+ ._2C9VW ._3b7qo ._1tygR {
7551
+ width: 300px; }
7552
+ ._2C9VW ._3b7qo ._MKx6q {
7553
+ display: flex;
7554
+ align-items: center;
7555
+ padding-left: 15px; }
7556
+ ._2C9VW ._3b7qo ._MKx6q > p {
7557
+ font-weight: 400;
7558
+ font-size: 14px; }
7559
+
7505
7560
  ._13S5J {
7506
7561
  background: #FFFFFF;
7507
7562
  box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.12);
@@ -8380,6 +8435,9 @@ button._kb6Ui {
8380
8435
  display: flex;
8381
8436
  padding-left: 15px; }
8382
8437
  ._2Kqyy ._CqXeM ._2RMhs ._15B2X {
8438
+ max-width: 40vw;
8439
+ overflow: hidden;
8440
+ text-overflow: ellipsis;
8383
8441
  margin-left: 10px;
8384
8442
  color: #1A202C;
8385
8443
  font-weight: 400;
@@ -8397,7 +8455,10 @@ button._kb6Ui {
8397
8455
  ._2Kqyy ._CqXeM ._oTRhw ._FmE78 {
8398
8456
  font-size: 20px;
8399
8457
  font-weight: 700;
8400
- font-family: "Roboto", sans-serif !important; }
8458
+ font-family: "Roboto", sans-serif !important;
8459
+ max-width: 50vw;
8460
+ text-overflow: ellipsis;
8461
+ overflow: hidden; }
8401
8462
  ._2Kqyy ._CqXeM ._oTRhw ._yC3LF {
8402
8463
  font-weight: bold;
8403
8464
  font-size: 16px;
@@ -8406,7 +8467,10 @@ button._kb6Ui {
8406
8467
  color: #1A202C;
8407
8468
  font-weight: 400;
8408
8469
  font-size: 16px;
8409
- font-family: "Roboto", sans-serif !important; }
8470
+ font-family: "Roboto", sans-serif !important;
8471
+ max-width: 50vw;
8472
+ text-overflow: ellipsis;
8473
+ overflow: hidden; }
8410
8474
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 {
8411
8475
  margin-left: 50px; }
8412
8476
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._3dAV2 {
package/dist/index.js CHANGED
@@ -2500,8 +2500,8 @@ var useUpComing = function useUpComing() {
2500
2500
  setFilters = _useState3[1];
2501
2501
  } else {
2502
2502
  var _useState4 = React.useState({
2503
- startDate: Date.now(),
2504
- endDate: moment().add(7, "days").valueOf(),
2503
+ startDate: moment().startOf("day").valueOf(),
2504
+ endDate: moment().add(7, "days").endOf("day").valueOf(),
2505
2505
  currentPage: 1,
2506
2506
  pageSize: 10,
2507
2507
  searchString: "",
@@ -3817,8 +3817,8 @@ var useSessionCompleted = function useSessionCompleted() {
3817
3817
  setFilters = _useState2[1];
3818
3818
  } else {
3819
3819
  var _useState3 = React.useState({
3820
- startDate: moment().subtract(30, 'days').valueOf(),
3821
- endDate: Date.now(),
3820
+ startDate: moment().subtract(30, 'days').startOf("day").valueOf(),
3821
+ endDate: moment().endOf("day").valueOf(),
3822
3822
  currentPage: 1,
3823
3823
  pageSize: 10,
3824
3824
  searchString: "",
@@ -4833,8 +4833,8 @@ var useUpComing$1 = function useUpComing() {
4833
4833
  setStudentData = _useState2[1];
4834
4834
 
4835
4835
  var _useState3 = React.useState({
4836
- startDate: Date.now(),
4837
- endDate: moment().add(7, "days").valueOf(),
4836
+ startDate: moment().startOf("day").valueOf(),
4837
+ endDate: moment().add(7, "days").endOf("day").valueOf(),
4838
4838
  currentPage: 1,
4839
4839
  pageSize: 10,
4840
4840
  searchString: "",
@@ -5768,8 +5768,8 @@ var useSessionCompleted$1 = function useSessionCompleted() {
5768
5768
  setSessionDataHistory = _useState[1];
5769
5769
 
5770
5770
  var _useState2 = React.useState({
5771
- startDate: moment().subtract(30, "days").valueOf(),
5772
- endDate: Date.now(),
5771
+ startDate: moment().subtract(30, "days").startOf("day").valueOf(),
5772
+ endDate: moment().endOf("day").valueOf(),
5773
5773
  currentPage: 1,
5774
5774
  pageSize: 10,
5775
5775
  searchString: "",
@@ -8656,7 +8656,7 @@ var ScaffoldingListingQuestions = function ScaffoldingListingQuestions(props) {
8656
8656
  label: "Category"
8657
8657
  }, React__default.createElement(core.MenuItem, {
8658
8658
  value: ""
8659
- }, React__default.createElement("em", null, "All")), categoryList === null || categoryList === void 0 ? void 0 : (_categoryList$sort = categoryList.sort()) === null || _categoryList$sort === void 0 ? void 0 : _categoryList$sort.map(function (i) {
8659
+ }, React__default.createElement("p", null, "All")), categoryList === null || categoryList === void 0 ? void 0 : (_categoryList$sort = categoryList.sort()) === null || _categoryList$sort === void 0 ? void 0 : _categoryList$sort.map(function (i) {
8660
8660
  return React__default.createElement(core.MenuItem, {
8661
8661
  value: i.category
8662
8662
  }, i.category);
@@ -8680,7 +8680,7 @@ var ScaffoldingListingQuestions = function ScaffoldingListingQuestions(props) {
8680
8680
  label: "Level"
8681
8681
  }, React__default.createElement(core.MenuItem, {
8682
8682
  value: ""
8683
- }, React__default.createElement("em", null, "All")), levelList === null || levelList === void 0 ? void 0 : (_levelList$sort = levelList.sort()) === null || _levelList$sort === void 0 ? void 0 : _levelList$sort.map(function (i) {
8683
+ }, React__default.createElement("p", null, "All")), levelList === null || levelList === void 0 ? void 0 : (_levelList$sort = levelList.sort()) === null || _levelList$sort === void 0 ? void 0 : _levelList$sort.map(function (i) {
8684
8684
  return React__default.createElement(core.MenuItem, {
8685
8685
  value: i.level
8686
8686
  }, i.level);
@@ -12099,7 +12099,8 @@ var SessionResultComponent = function SessionResultComponent() {
12099
12099
  },
12100
12100
  style: {
12101
12101
  borderRadius: "12px",
12102
- overflow: "hidden"
12102
+ overflow: "hidden",
12103
+ color: "gray"
12103
12104
  }
12104
12105
  }, React__default.createElement("option", {
12105
12106
  "aria-label": "None",
@@ -14613,7 +14614,7 @@ var StudentTabs = function StudentTabs(props) {
14613
14614
 
14614
14615
  var styles$8 = {"box-overview":"_3uYAt","overview-left":"_1V3nf","overview-schedule":"_2AQxk","overview-partner-profiles":"_J8fJn","show-arrange-today":"_1qCwl","gr-date-time":"_1clLN","date-picker-overview":"_1RV8f","date-time":"_286sF","box":"_2QGnx","title-box":"_175nT","content-box":"_fEaRj","overview-right":"_3sc5l","pie-chart-box":"_13FnU","readiness-to-learn":"_21Iny","accordion-item":"_2UlJW","collap-box":"_l-kLp","title-overview":"_3aapW","width-90":"_2wWhs","height-13vh":"_2WNUe","chartDataAndLabelData":"_1jSN5","date-picker-mobile":"_3F0Tm","date-picker-to":"_3140u"};
14615
14616
 
14616
- var styles$9 = {"goal-card":"_1jL2C","goal-card-item":"_2q6Jl","left-item":"_4pljN","title-item":"_UyJJC","description-item":"_1vD4_","right-item":"_2_cth","category-item":"_Ir2t4","status-item":"_KlwFr","completed":"_3KX9R","in-progress":"_3uKru","inactive":"_3xn_A","about-header":"_6yaJW","about-header-left":"_1WPpp","about-header-right":"_3f3Jr","btn-box":"_1gpWP","btn-delete":"_hDvhF","box-body":"_12xB1","about-select":"_1Saet","about-select-box":"_htNcj","about-select-switch":"_2jl3g","list":"_1UciI","list-item":"_23pHy","item-name":"_3OZr_","detail":"_1aWxh","detail-item":"_3w-gW","goal-type":"_N5IAL","right-item-view-container":"_tOmgJ","right-item-view":"_3KxkK","status-box":"_3y2ts","size-check-point":"_2p5xO","box-content":"_1qog7","content-title":"_3n8Ym","title":"_3GtSy","content":"_2ehnh","err-message":"_3Gf3H","goal-form":"_e5B2A","goal-form-input":"_1wAWv","dialog-box-button":"_hor2Q","dialog-button-add":"_2oVq-","dialog-button-cancel":"_3o2FD","header-dialog":"_FMoSF","dialog-body":"_2wDRF","message-item":"_piBW5","icon-delete":"_1gaoX","block1-survey":"_1DfBV","block-step":"_22x1C","step-active":"_1rICV","back-step":"_DRPKF","box-text":"_5C51T","text-point":"_2lKpt","text-description":"_3h6aC","text-time":"_2w2ZD","done-icon":"_1By2Z","cursor-icon":"_xF74l","box-table-draggable":"_2o-8F","draggable-header":"_5W2Fg","icon-bottom":"_2PHt1","delete-box":"_c9TZq","fit-content":"_2TkuX","box-title-upload":"_2sO-2","title-upload":"_1Y93b","description-upload":"_3MlDb","box-select":"_3znlu","left-file-box":"_yCdmh","file-box":"_30PED","file-name":"_3o3-9","file-icon":"_EcMhp","cancel-icon":"_20zNl","icon-btn":"_2hccP","box-header":"_1lFaB","box-header-title":"_3O23t","box-header-button":"_1Bb3d","box-header-button-name":"_3BZZP","box-header-button-icon":"_37odR","box-header-item":"_1RM3i","item-title":"_1RDj7","item-right":"_3Wl2k","item-description":"_23ld8","box-items":"_Nyi4t","box-status":"_2qZ3K","box-progress-item":"_P01if","status-item-margin":"_1XhVj","goals-box":"_2eBS9","step-icon":"_1OOBH","icon":"_3oCcd","cancel":"_3WgsP","active":"_1qDbH","dot":"_1vcUH"};
14617
+ var styles$9 = {"goal-card":"_1jL2C","goal-card-item":"_2q6Jl","left-item":"_4pljN","title-item":"_UyJJC","description-item":"_1vD4_","right-item":"_2_cth","category-item":"_Ir2t4","status-item":"_KlwFr","completed":"_3KX9R","in-progress":"_3uKru","inactive":"_3xn_A","about-header":"_6yaJW","about-header-left":"_1WPpp","about-header-right":"_3f3Jr","btn-box":"_1gpWP","btn-delete":"_hDvhF","box-body":"_12xB1","about-select":"_1Saet","about-select-box":"_htNcj","about-select-switch":"_2jl3g","list":"_1UciI","list-item":"_23pHy","item-name":"_3OZr_","detail":"_1aWxh","detail-item":"_3w-gW","goal-type":"_N5IAL","right-item-view-container":"_tOmgJ","right-item-view":"_3KxkK","status-box":"_3y2ts","size-check-point":"_2p5xO","box-content":"_1qog7","content-title":"_3n8Ym","title":"_3GtSy","content":"_2ehnh","err-message":"_3Gf3H","goal-form":"_e5B2A","goal-form-input":"_1wAWv","dialog-box-button":"_hor2Q","dialog-button-add":"_2oVq-","dialog-button-cancel":"_3o2FD","header-dialog":"_FMoSF","dialog-body":"_2wDRF","message-item":"_piBW5","icon-delete":"_1gaoX","block1-survey":"_1DfBV","block-step":"_22x1C","step-active":"_1rICV","back-step":"_DRPKF","box-text":"_5C51T","text-point":"_2lKpt","text-description":"_3h6aC","text-time":"_2w2ZD","done-icon":"_1By2Z","cursor-icon":"_xF74l","box-table-draggable":"_2o-8F","draggable-header":"_5W2Fg","icon-bottom":"_2PHt1","delete-box":"_c9TZq","fit-content":"_2TkuX","box-title-upload":"_2sO-2","title-upload":"_1Y93b","description-upload":"_3MlDb","box-select":"_3znlu","left-file-box":"_yCdmh","file-box":"_30PED","file-name":"_3o3-9","file-icon":"_EcMhp","cancel-icon":"_20zNl","icon-btn":"_2hccP","box-header":"_1lFaB","box-header-title":"_3O23t","box-header-button":"_1Bb3d","box-header-button-name":"_3BZZP","box-header-button-icon":"_37odR","box-header-item":"_1RM3i","item-title":"_1RDj7","item-right":"_3Wl2k","item-description":"_23ld8","box-items":"_Nyi4t","box-status":"_2qZ3K","box-progress-item":"_P01if","status-item-margin":"_1XhVj","goals-box":"_2eBS9","step-icon":"_1OOBH","icon":"_3oCcd","cancel":"_3WgsP","active":"_1qDbH","dot":"_1vcUH","box-nodata-goal":"_23F1r"};
14617
14618
 
14618
14619
  var STUDENT_URL$1 = marioCore.BASE_URL + "/api/Student";
14619
14620
  var GOAL_URL = marioCore.BASE_URL + "/api/Goal";
@@ -18788,21 +18789,6 @@ var ClassReflection = function ClassReflection() {
18788
18789
  var resultUrl = "/result-reflection/" + row.id;
18789
18790
  history.push(resultUrl);
18790
18791
  }, [isTeacher]);
18791
- var inputSearch = React.useRef(null);
18792
-
18793
- var handleChangeInputSearch = function handleChangeInputSearch(event) {
18794
- var inputValue = event.target.value;
18795
-
18796
- if (!!inputSearch.current) {
18797
- clearTimeout(inputSearch.current);
18798
- }
18799
-
18800
- inputSearch.current = setTimeout(function () {
18801
- changeFilters({
18802
- searchString: inputValue
18803
- });
18804
- }, 800);
18805
- };
18806
18792
 
18807
18793
  var handleSort = function handleSort(e) {
18808
18794
  if (e === "classDate") {
@@ -18854,6 +18840,16 @@ var ClassReflection = function ClassReflection() {
18854
18840
  sortBy: "state"
18855
18841
  });
18856
18842
  }
18843
+
18844
+ if (e === "receiviedDate") {
18845
+ filters.sortOrder === "DESC" ? changeFilters({
18846
+ sortOrder: "ASC",
18847
+ sortBy: "score"
18848
+ }) : changeFilters({
18849
+ sortOrder: "DESC",
18850
+ sortBy: "score"
18851
+ });
18852
+ }
18857
18853
  };
18858
18854
 
18859
18855
  var handleChangeRowsPerPage = function handleChangeRowsPerPage(event) {
@@ -18873,22 +18869,7 @@ var ClassReflection = function ClassReflection() {
18873
18869
  document.title = "Class Reflection";
18874
18870
  getDataClassReflections(filters, studentId);
18875
18871
  }, [filters]);
18876
- return React__default.createElement(core.Grid, null, React__default.createElement(core.Grid, {
18877
- item: true,
18878
- className: "" + myStudent["gr-action"]
18879
- }, React__default.createElement("div", {
18880
- className: "" + myStudent["search-input"]
18881
- }, React__default.createElement("div", {
18882
- className: "" + myStudent["search-input-icon"]
18883
- }, React__default.createElement(SearchIcon, null)), React__default.createElement(core.InputBase, {
18884
- placeholder: "Search student",
18885
- inputProps: {
18886
- "aria-label": "search"
18887
- },
18888
- className: "" + myStudent["inputInput"],
18889
- onChange: handleChangeInputSearch,
18890
- ref: inputSearch
18891
- }))), React__default.createElement(core.Grid, null, screenWidth > 600 ? React__default.createElement(React__default.Fragment, null, React__default.createElement(core.TableContainer, {
18872
+ return React__default.createElement(core.Grid, null, React__default.createElement(core.Grid, null, screenWidth > 600 ? React__default.createElement(React__default.Fragment, null, React__default.createElement(core.TableContainer, {
18892
18873
  style: {
18893
18874
  margin: "20px 0"
18894
18875
  }
@@ -18959,6 +18940,27 @@ var ClassReflection = function ClassReflection() {
18959
18940
  marginLeft: "5px"
18960
18941
  }
18961
18942
  }) : ""), React__default.createElement(core.TableCell, {
18943
+ style: {
18944
+ fontWeight: 700,
18945
+ fontSize: 14,
18946
+ textTransform: "uppercase",
18947
+ cursor: "pointer"
18948
+ },
18949
+ width: "20%",
18950
+ onClick: function onClick() {
18951
+ handleSort("receiviedDate");
18952
+ }
18953
+ }, "RECEIVIED DATE", filters.sortBy == "receiviedDate" && (filters.sortOrder === "DESC" ? React__default.createElement(ArrowDownwardIcon, {
18954
+ color: "disabled",
18955
+ style: {
18956
+ marginLeft: "5px"
18957
+ }
18958
+ }) : React__default.createElement(ArrowUpwardIcon, {
18959
+ color: "disabled",
18960
+ style: {
18961
+ marginLeft: "5px"
18962
+ }
18963
+ }))), React__default.createElement(core.TableCell, {
18962
18964
  style: {
18963
18965
  fontWeight: 700,
18964
18966
  fontSize: 14,
@@ -19010,6 +19012,8 @@ var ClassReflection = function ClassReflection() {
19010
19012
  }, " "))), React__default.createElement(core.TableBody, null, !!classReflectionData && (classReflectionData === null || classReflectionData === void 0 ? void 0 : classReflectionData.items).length > 0 ? classReflectionData === null || classReflectionData === void 0 ? void 0 : (_classReflectionData$ = classReflectionData.items) === null || _classReflectionData$ === void 0 ? void 0 : _classReflectionData$.map(function (row) {
19011
19013
  var timeStart = marioCore.utcToLocalTime(row === null || row === void 0 ? void 0 : row.classDate, "Do MMMM yyyy - hh:mm A").toString();
19012
19014
  var timeSplitArray = timeStart.split(" - ");
19015
+ var timeReceivedDate = marioCore.utcToLocalTime(row === null || row === void 0 ? void 0 : row.receiviedDate, "Do MMM yyyy - hh:mm A").toString();
19016
+ var timeReceivedArray = timeReceivedDate.split(" - ");
19013
19017
  return React__default.createElement(core.TableRow, {
19014
19018
  key: row.id
19015
19019
  }, React__default.createElement(core.TableCell, {
@@ -19048,6 +19052,13 @@ var ClassReflection = function ClassReflection() {
19048
19052
  className: myStudent["reflection-avatar"] + " " + myStudent["avatar_user"],
19049
19053
  src: !!(row !== null && row !== void 0 && row.teacherAvatar) ? row === null || row === void 0 ? void 0 : row.teacherAvatar : DEFAULT_USER_AVATAR$a
19050
19054
  }), row.teacherName)), React__default.createElement(core.TableCell, {
19055
+ align: "left",
19056
+ className: "" + myStudent["row_time"]
19057
+ }, !!(row !== null && row !== void 0 && row.receiviedDate) && React__default.createElement("span", {
19058
+ className: "" + myStudent["time-Date"]
19059
+ }, timeReceivedArray[0], React__default.createElement("span", {
19060
+ className: "" + myStudent["time-Hours-Minute"]
19061
+ }, timeReceivedArray[1]))), React__default.createElement(core.TableCell, {
19051
19062
  align: "left",
19052
19063
  style: {
19053
19064
  fontSize: 16
@@ -27597,7 +27608,7 @@ var AboutMyLearning = function AboutMyLearning(_ref) {
27597
27608
  })));
27598
27609
  };
27599
27610
 
27600
- var styles$o = {"accomondation-box":"_3pVob","accomondation-top":"_1mHx1","accomondation-top-title":"_5zvD_","accomondation-top-right":"_scSnT","accomondation-top-switch":"_3Mlnb","accomondation-view":"_10xHG","accomondation-content":"_2lhUG","accomondation-content-title":"_vxCXg","accomondation-content-description":"_3t0aP","accomondation-content-status":"_2Pwa0","accommodation-header":"_35ID_","accommodation-header-left":"_noKgo","accommodation-header-right":"_2-wqL","accommodation-select":"_3ZWVE","accommodation-select-box":"_3b7qo","select-option":"_1tygR","accommodation-select-switch":"_MKx6q","dialog-box":"_3RQfz","dialog-box-input":"_1mRZf","dialog-box-title":"_aw6If","dialog-box-button":"_2URm7","dialog-button-add":"_tLh7M","dialog-button-cancel":"_1FJgY","accommodation-item-margin":"_37y9j","err-message":"_2T-ZP"};
27611
+ var styles$o = {"accomondation-box":"_3pVob","accomondation-top":"_1mHx1","accomondation-top-title":"_5zvD_","accomondation-top-right":"_scSnT","accomondation-top-switch":"_3Mlnb","accomondation-view":"_10xHG","accomondation-content":"_2lhUG","accomondation-content-title":"_vxCXg","accomondation-content-description":"_3t0aP","accomondation-content-status":"_2Pwa0","accommodation-header":"_35ID_","accommodation-header-left":"_noKgo","accommodation-header-right":"_2-wqL","accommodation-select":"_3ZWVE","accommodation-select-box":"_3b7qo","select-option":"_1tygR","accommodation-select-switch":"_MKx6q","dialog-box":"_3RQfz","dialog-box-input":"_1mRZf","dialog-box-title":"_aw6If","dialog-box-button":"_2URm7","dialog-button-add":"_tLh7M","dialog-button-cancel":"_1FJgY","accommodation-item-margin":"_37y9j","err-message":"_2T-ZP","box-nodata-accommodation":"_2C9VW"};
27601
27612
 
27602
27613
  var useAccommodation = function useAccommodation() {
27603
27614
  var dispatch = reactRedux.useDispatch();
@@ -29967,8 +29978,14 @@ var AccomondationList = function AccomondationList() {
29967
29978
  handleCloseConfirmDeleteDialog: onCloseConfirmDialog,
29968
29979
  handleDelete: handleDelete
29969
29980
  }), React__default.createElement(core.Grid, {
29970
- className: "" + styles$o["accommodation-select"]
29971
- }, React__default.createElement(core.Grid, {
29981
+ className: "" + ((accommodationData === null || accommodationData === void 0 ? void 0 : accommodationData.length) > 0 ? styles$o["accommodation-select"] : styles$o["box-nodata-accommodation"])
29982
+ }, (accommodationData === null || accommodationData === void 0 ? void 0 : accommodationData.length) == 0 && React__default.createElement(core.Box, {
29983
+ p: 2,
29984
+ className: "" + styles$o["box-data-mui"]
29985
+ }, React__default.createElement(core.Typography, {
29986
+ variant: "h5",
29987
+ className: styles$o["box-data"] + "\n "
29988
+ }, "No Data")), React__default.createElement(core.Grid, {
29972
29989
  className: "" + styles$o["accommodation-select-box"]
29973
29990
  }, React__default.createElement(Autocomplete, {
29974
29991
  className: "" + styles$o["select-option"],
@@ -35413,6 +35430,8 @@ var useTodoList = function useTodoList() {
35413
35430
  };
35414
35431
 
35415
35432
  var TodoList = function TodoList(props) {
35433
+ var _dataActionPoint$acti;
35434
+
35416
35435
  var _useTodoList = useTodoList(),
35417
35436
  classList = _useTodoList.classList,
35418
35437
  dataActionPoint = _useTodoList.dataActionPoint,
@@ -35495,7 +35514,13 @@ var TodoList = function TodoList(props) {
35495
35514
  actionPoints: i.actionPoints,
35496
35515
  reloadRef: props.reloadRef
35497
35516
  });
35498
- })))));
35517
+ }))), (dataActionPoint === null || dataActionPoint === void 0 ? void 0 : (_dataActionPoint$acti = dataActionPoint.actionPointList) === null || _dataActionPoint$acti === void 0 ? void 0 : _dataActionPoint$acti.length) == 0 && React__default.createElement(core.Box, {
35518
+ p: 2,
35519
+ className: "" + styles$y["box-data-mui"]
35520
+ }, React__default.createElement(core.Typography, {
35521
+ variant: "h5",
35522
+ className: styles$y["box-data"] + "\n "
35523
+ }, "No Data"))));
35499
35524
  };
35500
35525
 
35501
35526
  var styles$A = {"done-list":"_1kaW0","wrapper":"_3SqkA","main-content":"_3UWpG"};
@@ -35682,6 +35707,8 @@ var useDoneList = function useDoneList() {
35682
35707
  };
35683
35708
 
35684
35709
  var DoneList = function DoneList() {
35710
+ var _dataDoneList$actionP;
35711
+
35685
35712
  var _doneListServices = useDoneList(),
35686
35713
  dataDoneList = _doneListServices.dataDoneList,
35687
35714
  deadline = _doneListServices.deadline,
@@ -35754,7 +35781,13 @@ var DoneList = function DoneList() {
35754
35781
  date: i.date,
35755
35782
  actionPoints: i.actionPoints
35756
35783
  });
35757
- })))));
35784
+ }))), (dataDoneList === null || dataDoneList === void 0 ? void 0 : (_dataDoneList$actionP = dataDoneList.actionPointList) === null || _dataDoneList$actionP === void 0 ? void 0 : _dataDoneList$actionP.length) == 0 && React__default.createElement(core.Box, {
35785
+ p: 2,
35786
+ className: "" + styles$A["box-data-mui"]
35787
+ }, React__default.createElement(core.Typography, {
35788
+ variant: "h5",
35789
+ className: styles$A["box-data"] + "\n "
35790
+ }, "No Data"))));
35758
35791
  };
35759
35792
 
35760
35793
  var tabs$4 = [{
@@ -35844,11 +35877,17 @@ var GoalList = function GoalList() {
35844
35877
  className: "" + styles$9["about-header-right"]
35845
35878
  }, React__default.createElement(core.Typography, null, "ADD"), React__default.createElement(AddCircleIcon, null))), React__default.createElement(core.Grid, {
35846
35879
  className: "" + styles$9["box-body"]
35847
- }, isTeacher && React__default.createElement(core.Grid, {
35848
- className: "" + styles$9["about-select"]
35849
35880
  }, React__default.createElement(core.Grid, {
35881
+ className: "" + ((listData === null || listData === void 0 ? void 0 : listData.length) > 0 ? styles$9["about-select"] : styles$9["box-nodata-goal"])
35882
+ }, (listData === null || listData === void 0 ? void 0 : listData.length) == 0 && React__default.createElement(core.Box, {
35883
+ p: 2,
35884
+ className: "" + styles$9["box-data-mui"]
35885
+ }, React__default.createElement(core.Typography, {
35886
+ variant: "h5",
35887
+ className: styles$9["box-data"] + "\n "
35888
+ }, "No Data")), React__default.createElement(core.Grid, {
35850
35889
  className: "" + styles$9["about-select-box"]
35851
- }, React__default.createElement(core.Grid, {
35890
+ }, isTeacher && React__default.createElement(core.Grid, {
35852
35891
  className: "" + styles$9["about-select-switch"]
35853
35892
  }, React__default.createElement(core.Switch, {
35854
35893
  checked: isChecked,