mario-teacher-student-client 1.3.3 → 1.3.4

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.
Files changed (30) hide show
  1. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/EmotionComponent.d.ts +3 -0
  2. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/QuestionComponent.d.ts +3 -0
  3. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/SliderComponent.d.ts +3 -2
  4. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/Tabs/CustomTabNote.d.ts +3 -0
  5. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/selector/StudentSelector.d.ts +1 -1
  6. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
  7. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/hooks/useConductOne.d.ts +4 -0
  8. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/BookSession.d.ts +1 -1
  9. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +1 -1
  10. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogRequestOneToOne.d.ts +5 -1
  11. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Me.d.ts +3 -0
  12. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Student.d.ts +3 -0
  13. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/constants/types.d.ts +3 -1
  14. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/ConductOneToOne.d.ts +2 -1
  15. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/OneToOne.d.ts +1 -0
  16. package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
  17. package/dist/components/QuestionTypes/SliderComponent.d.ts +1 -0
  18. package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
  19. package/dist/containers/MyConferences/constants/types.d.ts +1 -1
  20. package/dist/index.css +66 -8
  21. package/dist/index.js +39 -20
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.modern.js +39 -20
  24. package/dist/index.modern.js.map +1 -1
  25. package/package.json +99 -99
  26. package/dist/containers/ConductOneToOne/components/SessionResultNote.d.ts +0 -3
  27. package/dist/containers/MyConferences/components/BookSession.d.ts +0 -3
  28. package/dist/containers/MyConferences/components/DialogRequestOneToOne.d.ts +0 -3
  29. package/dist/containers/MyConferences/components/dialog/DialogRequestOneToOne.d.ts +0 -8
  30. package/dist/containers/MyOneToOne/components/SessionResultNote.d.ts +0 -3
@@ -2,6 +2,9 @@ import { FC } from "react";
2
2
  import { EmotionType } from "../../containers/ConductOneToOne/constant/types";
3
3
  interface Props {
4
4
  emotionTypeList?: EmotionType[];
5
+ onChangeSlider?: Function;
6
+ questionId: number;
7
+ valueText?: string;
5
8
  }
6
9
  declare const EmotionComponent: FC<Props>;
7
10
  export default EmotionComponent;
@@ -6,6 +6,9 @@ interface Props {
6
6
  maxText?: string;
7
7
  questionTypeId: QuestionType;
8
8
  emotionTypeList?: EmotionType[];
9
+ onChangeSlider?: (questionId: number, value: string) => void;
10
+ questionId: number;
11
+ valueText: string;
9
12
  }
10
13
  declare const QuestionComponent: FC<Props>;
11
14
  export default QuestionComponent;
@@ -2,8 +2,9 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  minText?: string;
4
4
  maxText?: string;
5
- valueText: number;
6
- onChangeSlider?: (value: number) => void;
5
+ questionId: number;
6
+ valueText: string;
7
+ onChangeSlider?: (questionId: number, value: string) => void;
7
8
  }
8
9
  declare const SliderComponent: FC<Props>;
9
10
  export default SliderComponent;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CustomTabNote: () => JSX.Element;
3
+ export default CustomTabNote;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare function StudentSelector({ SelectStudent }: any): JSX.Element;
2
+ declare const StudentSelector: ({ setStudentId }: any) => JSX.Element;
3
3
  export default StudentSelector;
@@ -2,6 +2,7 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  questionName?: string;
4
4
  questionList: any;
5
+ onChangeSlider?: (questionId: number, value: string) => void;
5
6
  }
6
7
  declare const QuestionConduct: FC<Props>;
7
8
  export default QuestionConduct;
@@ -1,8 +1,12 @@
1
1
  import { LearningStrategyType, LearningStrategyCategory } from "../constant/types";
2
2
  declare const useConductOne: () => {
3
+ currentUser: any;
4
+ isTeacher: any;
5
+ isStudent: any;
3
6
  listQuestionTeachers: any;
4
7
  listQuestionStudents: any;
5
8
  listLearningStrategory: LearningStrategyType[];
6
9
  listLearningStrategoryCategory: LearningStrategyCategory[];
10
+ updateQuestionAnswer: (questionId: number, text: string) => void;
7
11
  };
8
12
  export default useConductOne;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare function BookSession(): JSX.Element;
2
+ declare const BookSession: () => JSX.Element;
3
3
  export default BookSession;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare function DialogNodes(): JSX.Element;
2
+ declare const DialogNodes: () => JSX.Element;
3
3
  export default DialogNodes;
@@ -1,3 +1,7 @@
1
1
  /// <reference types="react" />
2
- declare function DialogRequestOneToOne(): JSX.Element;
2
+ interface Props {
3
+ setStudentId?: Function;
4
+ onClickStartQuestion?: Function;
5
+ }
6
+ declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion }: Props) => JSX.Element;
3
7
  export default DialogRequestOneToOne;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Me: () => JSX.Element;
3
+ export default Me;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Student: () => JSX.Element;
3
+ export default Student;
@@ -21,6 +21,8 @@ export interface SIMPLE_DIALOG {
21
21
  open: boolean;
22
22
  selectedValue: string;
23
23
  onClose: (value: string) => void;
24
+ setStudentId?: Function;
25
+ onClickStartQuestion?: Function;
24
26
  }
25
27
  export interface STUDENT_SELECTOR {
26
28
  id: number;
@@ -33,7 +35,7 @@ export interface FILTER_SESSION {
33
35
  searchString: string;
34
36
  sortBy: string;
35
37
  sortOrder: string;
36
- name: string;
38
+ name?: string;
37
39
  queryTypes?: MediaType[];
38
40
  startDate?: number;
39
41
  endDate?: number;
@@ -1,4 +1,5 @@
1
1
  import { Filter } from "mario-core";
2
- export declare const getQuestionTeacherDefault: (studentId?: number | undefined) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const getQuestionTeacherDefault: (sessionId: number) => Promise<import("axios").AxiosResponse<any>>;
3
3
  export declare const getLearningStrategory: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
4
4
  export declare const getLearningStrategoryCategory: () => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const updateItemQuestionAnswer: (body: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -3,3 +3,4 @@ export declare const getSessionOneToOne: (filter: any) => Promise<import("axios"
3
3
  export declare const getStudent: () => Promise<import("axios").AxiosResponse<any>>;
4
4
  export declare const createSession: (data: any) => Promise<import("axios").AxiosResponse<any>>;
5
5
  export declare const getListEventTeacher: (startDate: any) => Promise<import("axios").AxiosResponse<GoogleCalendarEvent[]>>;
6
+ export declare const startSession: (studentId?: number | undefined) => Promise<import("axios").AxiosResponse<any>>;
@@ -12,6 +12,7 @@ interface Props {
12
12
  averageOtherRating?: number;
13
13
  isBeforeSession: boolean;
14
14
  isPageResult?: boolean;
15
+ isPageSessionResult?: boolean;
15
16
  }
16
17
  declare const QuestionComponent: FC<Props>;
17
18
  export default QuestionComponent;
@@ -8,6 +8,7 @@ interface Props {
8
8
  averageOtherRating?: number;
9
9
  isBeforeSession: boolean;
10
10
  isPageResult?: boolean;
11
+ isPageSessionResult?: boolean;
11
12
  }
12
13
  declare const SliderComponent: FC<Props>;
13
14
  export default SliderComponent;
@@ -4,6 +4,7 @@ interface Props {
4
4
  questionList: any;
5
5
  onChangeQuestionAnswer?: (questionId: number, value: string) => void;
6
6
  isPageResult?: boolean;
7
+ isPageSessionResult?: boolean;
7
8
  }
8
9
  declare const QuestionConduct: FC<Props>;
9
10
  export default QuestionConduct;
@@ -17,7 +17,7 @@ export interface SESSION_TYPE {
17
17
  teacherAvatar?: string;
18
18
  studentName?: string;
19
19
  gradeLevel?: number;
20
- finalScore?: string;
20
+ finalScore?: number;
21
21
  }
22
22
  export interface STUDENT_PROFILE {
23
23
  id: number;
package/dist/index.css CHANGED
@@ -43,6 +43,9 @@
43
43
  font-size: 18px; }
44
44
  ._vnH2n ._1jTMg {
45
45
  display: flex; }
46
+ @media only screen and (max-width: 769px) {
47
+ ._vnH2n ._1jTMg {
48
+ display: none; } }
46
49
 
47
50
  ._2K2FJ {
48
51
  background: #308252 !important;
@@ -62,12 +65,12 @@
62
65
  font-weight: bold;
63
66
  line-height: 40px;
64
67
  margin-bottom: 0px;
65
- width: 6%; }
68
+ width: 80px; }
66
69
  @media (max-width: 767px) {
67
70
  ._1bTW5 ._1gs0Z {
68
- width: 30%;
71
+ width: 26%;
69
72
  padding-top: 0;
70
- font-size: 14px; } }
73
+ font-size: 11px; } }
71
74
 
72
75
  h2._13S5D {
73
76
  color: #2d3748;
@@ -118,7 +121,7 @@ p._1YLGi {
118
121
  flex-wrap: wrap;
119
122
  justify-content: flex-start; }
120
123
  ._1M6M1 ._1wmi8 {
121
- border-radius: 15px;
124
+ border-radius: 12px;
122
125
  justify-content: center;
123
126
  border: 0.5px solid rgba(0, 0, 0, 0.36);
124
127
  background: #fff;
@@ -1661,6 +1664,10 @@ h2._1OAmb {
1661
1664
  opacity: 0.2;
1662
1665
  pointer-events: none; }
1663
1666
 
1667
+ @media only screen and (max-width: 768px) {
1668
+ ._3JCHg {
1669
+ margin-bottom: 0px; } }
1670
+
1664
1671
  ._xLN0K {
1665
1672
  display: flex;
1666
1673
  flex-wrap: wrap;
@@ -1923,7 +1930,7 @@ h2._1OAmb {
1923
1930
  width: max-content;
1924
1931
  font-size: 14px !important;
1925
1932
  line-height: 16px !important;
1926
- margin-left: 5px; }
1933
+ margin-left: 16px; }
1927
1934
 
1928
1935
  ._310xk {
1929
1936
  color: #744210;
@@ -2039,12 +2046,12 @@ h2._1OAmb {
2039
2046
  white-space: nowrap;
2040
2047
  text-overflow: ellipsis; }
2041
2048
  ._ruFmH ._3NP_o ._3rCrx {
2042
- font-size: 15px;
2049
+ font-size: 16px;
2043
2050
  line-height: 24px;
2044
2051
  display: flex;
2045
2052
  align-items: center; }
2046
2053
  ._ruFmH ._3NP_o ._3BLm1 {
2047
- font-size: 15px;
2054
+ font-size: 16px;
2048
2055
  line-height: 24px;
2049
2056
  overflow: hidden;
2050
2057
  white-space: nowrap;
@@ -2057,7 +2064,7 @@ h2._1OAmb {
2057
2064
  font-weight: 700;
2058
2065
  padding-left: 5px; }
2059
2066
  ._ruFmH ._3NP_o ._3BLm1 {
2060
- font-size: 13px;
2067
+ font-size: 16px;
2061
2068
  overflow: hidden;
2062
2069
  white-space: nowrap;
2063
2070
  text-overflow: ellipsis; }
@@ -3292,6 +3299,16 @@ h4._1gYmd > i {
3292
3299
  ._29Tsr p._1xpMn {
3293
3300
  margin-bottom: 0px; } }
3294
3301
 
3302
+ ._29Tsr h5._2J0ft {
3303
+ color: #2d3748;
3304
+ font-weight: 700;
3305
+ text-transform: capitalize;
3306
+ font-size: 14px;
3307
+ line-height: 19.07px; }
3308
+ @media (max-width: 767px) {
3309
+ ._29Tsr h5._2J0ft {
3310
+ font-size: 11px; } }
3311
+
3295
3312
  ._SX3F9 {
3296
3313
  margin-right: 20px; }
3297
3314
  ._SX3F9 img {
@@ -3600,6 +3617,12 @@ h4._pDCgR {
3600
3617
  ._3JpwN ._1KM1t ._5nGJ3 {
3601
3618
  display: flex;
3602
3619
  justify-content: center; }
3620
+ @media (max-width: 767px) {
3621
+ ._3JpwN ._25yEQ {
3622
+ overflow-x: scroll;
3623
+ padding-left: 5px;
3624
+ padding-right: 5px;
3625
+ padding-bottom: 20px; } }
3603
3626
 
3604
3627
  ._2j3OQ {
3605
3628
  max-height: 100vh; }
@@ -3686,6 +3709,15 @@ h4._pDCgR {
3686
3709
  ._1QPtC {
3687
3710
  padding: 0px 20px;
3688
3711
  background: #f4f4f8; }
3712
+ ._1QPtC ._29OJt {
3713
+ overflow-x: visible; }
3714
+ @media only screen and (max-width: 767px) {
3715
+ ._1QPtC ._29OJt {
3716
+ padding-right: 5px;
3717
+ overflow-x: scroll !important;
3718
+ padding-left: 5px; } }
3719
+ ._1QPtC ._23ZHZ {
3720
+ margin-bottom: 40px; }
3689
3721
 
3690
3722
  ._2CRbt {
3691
3723
  display: flex;
@@ -3694,6 +3726,10 @@ h4._pDCgR {
3694
3726
  ._2CRbt ._EqDo0 {
3695
3727
  margin-right: 20px; }
3696
3728
 
3729
+ @media only screen and (max-width: 768px) {
3730
+ ._2CRbt {
3731
+ margin-bottom: 0px; } }
3732
+
3697
3733
  ._5sdsU {
3698
3734
  background: #f4f4f8; }
3699
3735
 
@@ -3823,6 +3859,28 @@ h2._1KpSK {
3823
3859
  ._1WNMT ._3BU0L p {
3824
3860
  margin-bottom: 0; }
3825
3861
 
3862
+ ._3XIBS {
3863
+ display: none; }
3864
+ ._3XIBS ._2SKs4 {
3865
+ background: #308252 !important;
3866
+ width: 90%;
3867
+ margin-left: 5%;
3868
+ padding: 4;
3869
+ height: 61px;
3870
+ border-radius: 12px;
3871
+ font-size: 18px;
3872
+ line-height: 18px;
3873
+ color: white;
3874
+ margin-bottom: 20px; }
3875
+ ._3XIBS i {
3876
+ margin-left: 10px; }
3877
+
3878
+ @media only screen and (max-width: 768px) {
3879
+ ._3XIBS {
3880
+ display: block; }
3881
+ ._23ZHZ th {
3882
+ min-width: 130px !important; } }
3883
+
3826
3884
  ._1n4WU {
3827
3885
  font-size: 24px;
3828
3886
  font-weight: 700;
package/dist/index.js CHANGED
@@ -5254,7 +5254,8 @@ var SliderComponent = function SliderComponent(_ref) {
5254
5254
  questionId = _ref.questionId,
5255
5255
  averageOtherRating = _ref.averageOtherRating,
5256
5256
  isBeforeSession = _ref.isBeforeSession,
5257
- isPageResult = _ref.isPageResult;
5257
+ isPageResult = _ref.isPageResult,
5258
+ isPageSessionResult = _ref.isPageSessionResult;
5258
5259
  var currentUser = reactRedux.useSelector(function (state) {
5259
5260
  var _state$common;
5260
5261
 
@@ -5263,7 +5264,7 @@ var SliderComponent = function SliderComponent(_ref) {
5263
5264
  var isTeacher = currentUser.roles.includes("Teacher");
5264
5265
  var value = parseInt(valueText || "0");
5265
5266
  var checkIncrease = value - (averageOtherRating || 0) > 0;
5266
- var style = isTeacher || isPageResult ? {
5267
+ var style = isTeacher || isPageResult || isPageSessionResult ? {
5267
5268
  cursor: "default"
5268
5269
  } : {};
5269
5270
  return React__default.createElement("div", {
@@ -5284,7 +5285,7 @@ var SliderComponent = function SliderComponent(_ref) {
5284
5285
  style: {
5285
5286
  marginRight: "10px"
5286
5287
  }
5287
- }, maxText), (isPageResult && (!!averageOtherRating || value - (averageOtherRating || 0) != 0) || isTeacher && isBeforeSession && value - (averageOtherRating || 0) != 0) && React__default.createElement(ChipImage, {
5288
+ }, maxText), (isPageSessionResult || isTeacher && isBeforeSession && value - (averageOtherRating || 0) != 0) && React__default.createElement(ChipImage, {
5288
5289
  label: value - (averageOtherRating || 0) + "%",
5289
5290
  checkIncrease: checkIncrease
5290
5291
  }));
@@ -5340,7 +5341,8 @@ var QuestionComponent = function QuestionComponent(_ref) {
5340
5341
  valueText = _ref.valueText,
5341
5342
  averageOtherRating = _ref.averageOtherRating,
5342
5343
  isBeforeSession = _ref.isBeforeSession,
5343
- isPageResult = _ref.isPageResult;
5344
+ isPageResult = _ref.isPageResult,
5345
+ isPageSessionResult = _ref.isPageSessionResult;
5344
5346
 
5345
5347
  var renderQuestion = function renderQuestion(questionTypeId) {
5346
5348
  switch (questionTypeId) {
@@ -5353,7 +5355,8 @@ var QuestionComponent = function QuestionComponent(_ref) {
5353
5355
  onChangeQuestionAnswer: onChangeQuestionAnswer,
5354
5356
  averageOtherRating: averageOtherRating,
5355
5357
  isBeforeSession: isBeforeSession,
5356
- isPageResult: isPageResult
5358
+ isPageResult: isPageResult,
5359
+ isPageSessionResult: isPageSessionResult
5357
5360
  });
5358
5361
 
5359
5362
  case QuestionType.TextInput:
@@ -5407,7 +5410,8 @@ var QuestionConduct = function QuestionConduct(_ref) {
5407
5410
  var questionName = _ref.questionName,
5408
5411
  questionList = _ref.questionList,
5409
5412
  onChangeQuestionAnswer = _ref.onChangeQuestionAnswer,
5410
- isPageResult = _ref.isPageResult;
5413
+ isPageResult = _ref.isPageResult,
5414
+ isPageSessionResult = _ref.isPageSessionResult;
5411
5415
  return React__default.createElement("div", {
5412
5416
  className: styles$1["box-question"]
5413
5417
  }, React__default.createElement("h2", {
@@ -5426,7 +5430,8 @@ var QuestionConduct = function QuestionConduct(_ref) {
5426
5430
  emotionTypeList: item.emotionalQuestionAnswers,
5427
5431
  onChangeQuestionAnswer: onChangeQuestionAnswer,
5428
5432
  isBeforeSession: item.isBeforeSession,
5429
- isPageResult: isPageResult
5433
+ isPageResult: isPageResult,
5434
+ isPageSessionResult: isPageSessionResult
5430
5435
  }));
5431
5436
  }));
5432
5437
  };
@@ -6652,7 +6657,7 @@ var CustomTabNote = function CustomTabNote(props) {
6652
6657
  style: {
6653
6658
  height: "" + heightScrollTab
6654
6659
  }
6655
- }, !!props.teacherNoteData && ((_props$teacherNoteDat = props.teacherNoteData) === null || _props$teacherNoteDat === void 0 ? void 0 : _props$teacherNoteDat.map(function (item) {
6660
+ }, !!(props !== null && props !== void 0 && props.teacherNoteData) && (props === null || props === void 0 ? void 0 : (_props$teacherNoteDat = props.teacherNoteData) === null || _props$teacherNoteDat === void 0 ? void 0 : _props$teacherNoteDat.map(function (item) {
6656
6661
  var _item$notes;
6657
6662
 
6658
6663
  return React__default.createElement(core.Box, {
@@ -6698,7 +6703,7 @@ var CustomTabNote = function CustomTabNote(props) {
6698
6703
  style: {
6699
6704
  height: "" + heightScrollTab
6700
6705
  }
6701
- }, !!props.studentNoteData && ((_props$studentNoteDat = props.studentNoteData) === null || _props$studentNoteDat === void 0 ? void 0 : _props$studentNoteDat.map(function (item) {
6706
+ }, !!(props !== null && props !== void 0 && props.studentNoteData) && (props === null || props === void 0 ? void 0 : (_props$studentNoteDat = props.studentNoteData) === null || _props$studentNoteDat === void 0 ? void 0 : _props$studentNoteDat.map(function (item) {
6702
6707
  var _item$notes2;
6703
6708
 
6704
6709
  return React__default.createElement(core.Box, {
@@ -8535,13 +8540,13 @@ var SessionResultComponent = function SessionResultComponent() {
8535
8540
  }, React__default.createElement(QuestionConduct, {
8536
8541
  questionName: "How are you feeling about each area right now?",
8537
8542
  questionList: questionRatings,
8538
- isPageResult: true
8543
+ isPageSessionResult: true
8539
8544
  })), React__default.createElement("div", {
8540
8545
  className: styles$1["block-question"] + " " + styleIndex["question-today"]
8541
8546
  }, React__default.createElement(QuestionConduct, {
8542
8547
  questionName: "Overall, how are you feeling today?",
8543
8548
  questionList: questionBlock2,
8544
- isPageResult: true
8549
+ isPageSessionResult: true
8545
8550
  })), React__default.createElement("div", {
8546
8551
  className: styles$1["block-question"]
8547
8552
  }, React__default.createElement("div", {
@@ -8574,7 +8579,7 @@ var SessionResultComponent = function SessionResultComponent() {
8574
8579
  }, React__default.createElement("p", null, "After session")))), React__default.createElement("div", null, React__default.createElement(QuestionConduct, {
8575
8580
  questionName: "",
8576
8581
  questionList: questionBlock4,
8577
- isPageResult: true
8582
+ isPageSessionResult: true
8578
8583
  }))), React__default.createElement("div", {
8579
8584
  className: styles$1["block-question"] + " " + styleIndex["question-today"]
8580
8585
  }, React__default.createElement("div", {
@@ -10953,7 +10958,7 @@ var InformationUser = function InformationUser(_ref) {
10953
10958
  }, React__default.createElement("div", {
10954
10959
  className: styles$5["infor-image"]
10955
10960
  }, React__default.createElement("img", {
10956
- src: !!(informationUser !== null && informationUser !== void 0 && informationUser.avatarImage) ? informationUser === null || informationUser === void 0 ? void 0 : informationUser.avatarImage : "/images/image-default.png",
10961
+ src: !!(informationUser !== null && informationUser !== void 0 && informationUser.studentProfileImage) ? informationUser === null || informationUser === void 0 ? void 0 : informationUser.studentProfileImage : "/images/image-default.png",
10957
10962
  alt: ""
10958
10963
  })), React__default.createElement("div", {
10959
10964
  className: styles$5["infor-text"]
@@ -11463,7 +11468,7 @@ var useResultReflection = function useResultReflection() {
11463
11468
  return Promise.resolve(request).then(function (res) {
11464
11469
  var body = {
11465
11470
  name: isTeacher ? res.data.studentName : res.data.teacherName,
11466
- avatarImage: !isTeacher ? res.data.teacherAvatar : !!res.data.studentAvatar ? marioCore.getFileUrl(res.data.studentAvatar) : DEFAULT_IMAGE,
11471
+ studentProfileImage: !isTeacher ? res.data.teacherAvatar : !!res.data.studentAvatar ? marioCore.getFileUrl(res.data.studentAvatar) : DEFAULT_IMAGE,
11467
11472
  time: res.data.time,
11468
11473
  classType: res.data.classType,
11469
11474
  studentName: res.data.studentName,
@@ -11577,7 +11582,7 @@ var ResultReflection = function ResultReflection() {
11577
11582
  }, React__default.createElement("img", {
11578
11583
  src: "images/question-reflection.png",
11579
11584
  alt: ""
11580
- }), " ", informationUser.studentName + " reflection")), React__default.createElement("div", {
11585
+ }), " ", informationUser.studentName + "'s reflection")), React__default.createElement("div", {
11581
11586
  className: styles$5["block-question"] + " " + styleIndex["question-today"]
11582
11587
  }, !!resultQuestions && resultQuestions.length > 0 && resultQuestions.map(function (item) {
11583
11588
  return React__default.createElement(React__default.Fragment, {
@@ -12368,9 +12373,11 @@ var StudentHistory = function StudentHistory() {
12368
12373
  return React__default.createElement(core.TableRow, null, React__default.createElement(core.TableCell, {
12369
12374
  component: "th",
12370
12375
  scope: "row",
12371
- height: 80
12376
+ height: 80,
12377
+ className: "" + myStudent["row_class_type"]
12372
12378
  }, row.classType), React__default.createElement(core.TableCell, {
12373
- align: "left"
12379
+ align: "left",
12380
+ className: "" + myStudent["row_time"]
12374
12381
  }, !!row.classDate && marioCore.utcToLocalTime(row.classDate, "dd MMM yyyy - HH:mm a")), React__default.createElement(core.TableCell, {
12375
12382
  align: "left"
12376
12383
  }, React__default.createElement("img", {
@@ -12478,7 +12485,7 @@ var StudentReflection = function StudentReflection() {
12478
12485
  }));
12479
12486
  };
12480
12487
 
12481
- var startSession$1 = {"sub-header":"_1YZ4O","select-session-category":"_1CJjs","back":"_6lAFW","time-to-do":"_XwzC_","change-mode":"_29OoG","active":"_1FwwF","start-session":"_1hg5E","body":"_2xw49","note":"_3njt4","note-by-audio":"_sBXEd","answer-questions":"_12FkA","action":"_5nGJ3","block-bottom":"_JBiB5","input-textarea":"_3VRj4","select-tag":"_r1V8i","input-note":"_2GA2P","finish-session":"_dt7_E","title":"_KkQm5","des":"_2FZAL","box-detail":"_3D7oB","btn-hover-red":"_ExbyF","do-conference-rubric":"_3JpwN","list-question":"_135r3","bottom":"_1KM1t","improve-my-class":"_2j3OQ","bodyModal":"_RxEZq","check-pass":"_2xAq4","content":"_3REOW","form-pass":"_3kD7T","btn-eyes":"_1QBM0","button-change-template":"_3Q4w1","btn-back":"_1ZvGB","btn-skip":"_2o7R6","summarize-richtext":"_1OUbl"};
12488
+ var startSession$1 = {"sub-header":"_1YZ4O","select-session-category":"_1CJjs","back":"_6lAFW","time-to-do":"_XwzC_","change-mode":"_29OoG","active":"_1FwwF","start-session":"_1hg5E","body":"_2xw49","note":"_3njt4","note-by-audio":"_sBXEd","answer-questions":"_12FkA","action":"_5nGJ3","block-bottom":"_JBiB5","input-textarea":"_3VRj4","select-tag":"_r1V8i","input-note":"_2GA2P","finish-session":"_dt7_E","title":"_KkQm5","des":"_2FZAL","box-detail":"_3D7oB","btn-hover-red":"_ExbyF","do-conference-rubric":"_3JpwN","list-question":"_135r3","bottom":"_1KM1t","list-conference-rubric":"_25yEQ","improve-my-class":"_2j3OQ","bodyModal":"_RxEZq","check-pass":"_2xAq4","content":"_3REOW","form-pass":"_3kD7T","btn-eyes":"_1QBM0","button-change-template":"_3Q4w1","btn-back":"_1ZvGB","btn-skip":"_2o7R6","summarize-richtext":"_1OUbl"};
12482
12489
 
12483
12490
  function _extends$1() {
12484
12491
  _extends$1 = Object.assign || function (target) {
@@ -13970,7 +13977,7 @@ var Label = function Label(props) {
13970
13977
  Label.propTypes = propTypes$3;
13971
13978
  Label.defaultProps = defaultProps$2;
13972
13979
 
13973
- var styles$6 = {"block-question":"_12tWP","box-last":"_1WNMT","top-session":"_3BU0L","table-rubrics":"_23ZHZ","conference-td":"_3DiW6","result-page":"_1QPtC","title-strategories":"_2CRbt","strategories-image":"_EqDo0","block-conference":"_5sdsU","question-block":"_2jjjz","img-session":"_1N_R5","switch-session":"_2w7-X","body-session":"_Avpph","font-title":"_1KpSK","modal-finished":"_342x6","title-modal":"_1GUG4","body-modal":"_YnLTE","tite-body":"_22zyk","btn-cancel":"_1o-mw","btn-submit":"_18HUG","teacher":"_2_UXR","agreement":"_1fQy_","student":"_q3ph4","footer-note-result":"_11rk4","footer-note-form":"_32KH-","footer-note-form-micro":"_6jx6Z","footer-note-form-send":"_H93Fb","footer-note-form-recording-dot":"_28L10","blink":"_3tyHZ"};
13980
+ var styles$6 = {"block-question":"_12tWP","box-last":"_1WNMT","top-session":"_3BU0L","table-rubrics":"_23ZHZ","conference-td":"_3DiW6","result-page":"_1QPtC","result-page-table":"_29OJt","title-strategories":"_2CRbt","strategories-image":"_EqDo0","block-conference":"_5sdsU","question-block":"_2jjjz","img-session":"_1N_R5","switch-session":"_2w7-X","body-session":"_Avpph","font-title":"_1KpSK","modal-finished":"_342x6","title-modal":"_1GUG4","body-modal":"_YnLTE","tite-body":"_22zyk","btn-cancel":"_1o-mw","btn-submit":"_18HUG","teacher":"_2_UXR","agreement":"_1fQy_","student":"_q3ph4","footer-note-result":"_11rk4","footer-note-form":"_32KH-","footer-note-form-micro":"_6jx6Z","footer-note-form-send":"_H93Fb","footer-note-form-recording-dot":"_28L10","blink":"_3tyHZ","button-done-moblie":"_3XIBS","btn-conduct-session-moblie":"_2SKs4"};
13974
13981
 
13975
13982
  var RubricTable = function RubricTable(_ref) {
13976
13983
  var _rubric$rows;
@@ -15183,6 +15190,16 @@ var ConferenceRubric = function ConferenceRubric() {
15183
15190
  questionName: "",
15184
15191
  questionList: questionBlock4,
15185
15192
  onChangeQuestionAnswer: onChangeQuestionAnswer
15193
+ }))), React__default.createElement("div", {
15194
+ className: "" + styles$6["button-done-moblie"]
15195
+ }, React__default.createElement(core.Button, {
15196
+ variant: "contained",
15197
+ className: styles$6["btn-conduct-session-moblie"],
15198
+ onClick: function onClick() {
15199
+ (isTeacher && isDoneTeacherConference || !isTeacher && isDoneStudentConference) && (_onFinishSession === null || _onFinishSession === void 0 ? void 0 : _onFinishSession());
15200
+ }
15201
+ }, "Done", React__default.createElement("i", {
15202
+ className: "fas fa-check-circle"
15186
15203
  }))), React__default.createElement(core.Box, {
15187
15204
  style: {
15188
15205
  "float": "right",
@@ -15589,6 +15606,8 @@ var ResultConferenceRubric = function ResultConferenceRubric() {
15589
15606
  isPageResultConference: true
15590
15607
  }), React__default.createElement("div", {
15591
15608
  className: styles$6["result-page"]
15609
+ }, React__default.createElement("div", {
15610
+ className: styles$6["result-page-table"]
15592
15611
  }, React__default.createElement(Table, {
15593
15612
  striped: true,
15594
15613
  className: "" + styles$6["table-rubrics"]
@@ -15614,7 +15633,7 @@ var ResultConferenceRubric = function ResultConferenceRubric() {
15614
15633
  fontWeight: "bold"
15615
15634
  }
15616
15635
  }, record.averageFinalChoice + " %");
15617
- }))))), isTeacher && React__default.createElement("div", {
15636
+ })))))), isTeacher && React__default.createElement("div", {
15618
15637
  className: styles$6["block-question"]
15619
15638
  }, React__default.createElement("div", {
15620
15639
  className: styles$6["title-strategories"]