mario-teacher-student-client 2.1.119-admin → 2.1.120-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.
Files changed (142) hide show
  1. package/dist/containers/MyConferences/constants/types.d.ts +1 -0
  2. package/dist/containers/MyOneToOne/constants/types.d.ts +1 -0
  3. package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{Conference.d.ts → conference.d.ts} +0 -0
  4. package/dist/containers/MyStudent/constants/types.d.ts +2 -0
  5. package/dist/i18n.d.ts +2 -0
  6. package/dist/index.js +6 -6
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.modern.js +6 -6
  9. package/dist/index.modern.js.map +1 -1
  10. package/package.json +1 -1
  11. package/dist/components/Button/CustomButton.d.ts +0 -11
  12. package/dist/components/Card/CardNameButton.d.ts +0 -7
  13. package/dist/components/Card/CardTotal.d.ts +0 -7
  14. package/dist/components/Header/CustomHeaderComponent.d.ts +0 -16
  15. package/dist/components/Table/ConvertTime.d.ts +0 -6
  16. package/dist/components/Table/TableCells.d.ts +0 -15
  17. package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
  18. package/dist/components/selector/CustomFilterComponent.d.ts +0 -19
  19. package/dist/components/selector/CustomFilterMobile.d.ts +0 -23
  20. package/dist/containers/ConductSurvey/apiClient/index.d.ts +0 -2
  21. package/dist/containers/ConductSurvey/components/ConductTop/ConductItem.d.ts +0 -7
  22. package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
  23. package/dist/containers/ConductSurvey/components/ConductTop/SurveyTop.d.ts +0 -14
  24. package/dist/containers/ConductSurvey/components/HeaderSurvey.d.ts +0 -21
  25. package/dist/containers/ConductSurvey/components/IBLearnerComponent.d.ts +0 -12
  26. package/dist/containers/ConductSurvey/components/Note/Note.d.ts +0 -6
  27. package/dist/containers/ConductSurvey/components/Note/PrivateNote.d.ts +0 -3
  28. package/dist/containers/ConductSurvey/components/Note/SessionResultNote.d.ts +0 -3
  29. package/dist/containers/ConductSurvey/components/ProfileDialog/ProfileDialog.d.ts +0 -7
  30. package/dist/containers/ConductSurvey/components/QuestionConduct.d.ts +0 -12
  31. package/dist/containers/ConductSurvey/components/RadiaBarChart.d.ts +0 -3
  32. package/dist/containers/ConductSurvey/components/ShareSurveyDialog.d.ts +0 -12
  33. package/dist/containers/ConductSurvey/components/SimpleDialog.d.ts +0 -3
  34. package/dist/containers/ConductSurvey/constant/constant.d.ts +0 -1
  35. package/dist/containers/ConductSurvey/constant/types.d.ts +0 -97
  36. package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
  37. package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +0 -29
  38. package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
  39. package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
  40. package/dist/containers/ConductSurvey/hooks/usePreviewSurvey.d.ts +0 -27
  41. package/dist/containers/ConductSurvey/hooks/useProfileDialog.d.ts +0 -5
  42. package/dist/containers/ConductSurvey/servies/index.d.ts +0 -2
  43. package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +0 -1
  44. package/dist/containers/ConductSurvey/views/PreviewSurvey.d.ts +0 -3
  45. package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
  46. package/dist/containers/ConductSurvey/views/SurveyIndex.d.ts +0 -3
  47. package/dist/containers/ConductSurvey/views/SurveyResult.d.ts +0 -3
  48. package/dist/containers/ExternalSurvey/api/externalService.d.ts +0 -6
  49. package/dist/containers/ExternalSurvey/components/ConductTop/ConductItem.d.ts +0 -7
  50. package/dist/containers/ExternalSurvey/components/ConductTop/SurveyTop.d.ts +0 -14
  51. package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
  52. package/dist/containers/ExternalSurvey/components/QuestionConduct.d.ts +0 -13
  53. package/dist/containers/ExternalSurvey/constant/types.d.ts +0 -69
  54. package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
  55. package/dist/containers/ExternalSurvey/hooks/useExternalSurvey.d.ts +0 -18
  56. package/dist/containers/ExternalSurvey/views/ExternalSurvey.d.ts +0 -3
  57. package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
  58. package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +0 -5
  59. package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +0 -3
  60. package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +0 -3
  61. package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +0 -3
  62. package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +0 -3
  63. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +0 -19
  64. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +0 -1
  65. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +0 -6
  66. package/dist/containers/MySurvey/styles/makeStyles.d.ts +0 -2
  67. package/dist/containers/MySurvey/views/MySurvey.d.ts +0 -3
  68. package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
  69. package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
  70. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
  71. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
  72. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
  73. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
  74. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
  75. package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
  76. package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
  77. package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
  78. package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
  79. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
  80. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
  81. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
  82. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
  83. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
  84. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
  85. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
  86. package/dist/containers/Surveys/apiClient/survey.d.ts +0 -2
  87. package/dist/containers/Surveys/apiClient/surveyService.d.ts +0 -15
  88. package/dist/containers/Surveys/components/ActionNeededSurvey.d.ts +0 -3
  89. package/dist/containers/Surveys/components/AllStudentSurvey.d.ts +0 -3
  90. package/dist/containers/Surveys/components/CardItemMobile/CardSurveyMobile.d.ts +0 -4
  91. package/dist/containers/Surveys/components/CompletedStudentSurvey.d.ts +0 -3
  92. package/dist/containers/Surveys/components/CreateSurvey.d.ts +0 -3
  93. package/dist/containers/Surveys/components/ExternalSurveyList.d.ts +0 -3
  94. package/dist/containers/Surveys/components/ListSurveyDetail.d.ts +0 -3
  95. package/dist/containers/Surveys/components/ListSurveys.d.ts +0 -3
  96. package/dist/containers/Surveys/components/MissedStudentSurvey.d.ts +0 -3
  97. package/dist/containers/Surveys/components/PendingStudentSurvey.d.ts +0 -3
  98. package/dist/containers/Surveys/components/PendingSurvey.d.ts +0 -3
  99. package/dist/containers/Surveys/components/Questions/AdditionalQuestionModel.d.ts +0 -4
  100. package/dist/containers/Surveys/components/RepliedSurvey.d.ts +0 -3
  101. package/dist/containers/Surveys/components/StepComponents/ConfirmPublishSurvey.d.ts +0 -4
  102. package/dist/containers/Surveys/components/StepComponents/ConfirmShareSurvey.d.ts +0 -4
  103. package/dist/containers/Surveys/components/StepComponents/CreateSurveyComponent.d.ts +0 -4
  104. package/dist/containers/Surveys/components/StepComponents/ListFavoriteSurvey.d.ts +0 -4
  105. package/dist/containers/Surveys/components/StepComponents/ModelSelectQuestion.d.ts +0 -4
  106. package/dist/containers/Surveys/components/StepComponents/ModelSelectSurveyTemplate.d.ts +0 -4
  107. package/dist/containers/Surveys/components/StepComponents/ModelSendSurvey.d.ts +0 -4
  108. package/dist/containers/Surveys/components/StepComponents/ReviewSurveyDetail.d.ts +0 -4
  109. package/dist/containers/Surveys/components/StepComponents/TableSelectStudent.d.ts +0 -4
  110. package/dist/containers/Surveys/components/SurveyDetail.d.ts +0 -3
  111. package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +0 -3
  112. package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +0 -3
  113. package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +0 -3
  114. package/dist/containers/Surveys/constants/constant.d.ts +0 -65
  115. package/dist/containers/Surveys/constants/questionModelType.d.ts +0 -27
  116. package/dist/containers/Surveys/constants/tableColumn.d.ts +0 -110
  117. package/dist/containers/Surveys/constants/typeCardItem.d.ts +0 -16
  118. package/dist/containers/Surveys/constants/types.d.ts +0 -308
  119. package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +0 -9
  120. package/dist/containers/Surveys/hook/useAdditionalQuestion.d.ts +0 -24
  121. package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
  122. package/dist/containers/Surveys/hook/useCreateSurvey.d.ts +0 -77
  123. package/dist/containers/Surveys/hook/useExternalSurvey.d.ts +0 -21
  124. package/dist/containers/Surveys/hook/useExternalSurveyList.d.ts +0 -11
  125. package/dist/containers/Surveys/hook/useFormCreateSurvey.d.ts +0 -14
  126. package/dist/containers/Surveys/hook/useListFavoriteSurvey.d.ts +0 -10
  127. package/dist/containers/Surveys/hook/useListSurvey.d.ts +0 -28
  128. package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +0 -20
  129. package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
  130. package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
  131. package/dist/containers/Surveys/hook/useSelectQuestion.d.ts +0 -26
  132. package/dist/containers/Surveys/hook/useSelectStudent.d.ts +0 -15
  133. package/dist/containers/Surveys/hook/useStudentSurvey.d.ts +0 -16
  134. package/dist/containers/Surveys/hook/useSurveyDetail.d.ts +0 -10
  135. package/dist/containers/Surveys/hook/useSurveyViewStudent.d.ts +0 -4
  136. package/dist/containers/Surveys/styles/makeStyles.d.ts +0 -3
  137. package/dist/containers/Surveys/views/SurveyDetail.d.ts +0 -3
  138. package/dist/containers/Surveys/views/SurveyStudentList.d.ts +0 -3
  139. package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +0 -3
  140. package/dist/hooks/useUploadFile.d.ts +0 -4
  141. package/dist/services/File.d.ts +0 -1
  142. package/dist/services/SurveyService.d.ts +0 -11
@@ -18,6 +18,7 @@ export interface SESSION_TYPE {
18
18
  studentName?: string;
19
19
  gradeLevel?: string;
20
20
  finalScore?: number;
21
+ isEditConference?: boolean;
21
22
  }
22
23
  export interface STUDENT_PROFILE {
23
24
  id: number;
@@ -13,6 +13,7 @@ export interface SESSION_TYPE {
13
13
  isTeacherDone?: boolean;
14
14
  teacherName: string;
15
15
  teacherProfileImage: string;
16
+ isEditSession?: boolean;
16
17
  }
17
18
  export interface STUDENT_PROFILE {
18
19
  id: number;
@@ -46,6 +46,8 @@ export interface SESSION_TYPE {
46
46
  sortOrder?: string;
47
47
  teacherResultId?: number;
48
48
  isWorkAsAssistant?: boolean;
49
+ isEditSession?: boolean;
50
+ isEditConference?: boolean;
49
51
  }
50
52
  export interface STUDENT_PROFILE {
51
53
  id: number;
package/dist/i18n.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import i18n from "i18next";
2
+ export { i18n };
package/dist/index.js CHANGED
@@ -5318,7 +5318,7 @@ var UpComing = function UpComing() {
5318
5318
  className: "" + styles$2["row_type"]
5319
5319
  }, React__default.createElement("div", {
5320
5320
  className: styles$2["duration"] + " " + styles$2["request"]
5321
- }, row.isCreatedByTeacher ? "Teacher request" : "Student request"), !isStudent && React__default.createElement(core.Button, {
5321
+ }, row.isCreatedByTeacher ? "Teacher request" : "Student request"), !isStudent && !row.isEditSession && React__default.createElement(core.Button, {
5322
5322
  variant: "contained",
5323
5323
  color: "primary",
5324
5324
  disableElevation: true,
@@ -7617,7 +7617,7 @@ var UpComing$1 = function UpComing() {
7617
7617
  }, !!row.gradeLevel && row.gradeLevel), React__default.createElement(core.TableCell, {
7618
7618
  align: "right",
7619
7619
  className: "" + styles$3["row_type"]
7620
- }, !isStudent && React__default.createElement(core.Button, {
7620
+ }, !isStudent && !row.isEditConference && React__default.createElement(core.Button, {
7621
7621
  variant: "contained",
7622
7622
  color: "primary",
7623
7623
  disableElevation: true,
@@ -10080,7 +10080,7 @@ var useConductOne = function useConductOne() {
10080
10080
  try {
10081
10081
  return Promise.resolve(_catch(function () {
10082
10082
  var _temp25 = function () {
10083
- if (isTeacher && !numberOfEdit && !isTeacherSessionDone && typeTime == TypeTime$1.StartTime) {
10083
+ if ((isTeacher && typeTime == TypeTime$1.StartTime || isStudent) && !numberOfEdit && !isTeacherSessionDone) {
10084
10084
  return Promise.resolve(getInformationTimer$1(parseInt(sessionId))).then(function (res) {
10085
10085
  var isTimer = res.data.isSessionTimer;
10086
10086
 
@@ -10133,7 +10133,7 @@ var useConductOne = function useConductOne() {
10133
10133
  };
10134
10134
 
10135
10135
  React.useEffect(function () {
10136
- if (isUserChangeSession) {
10136
+ if (isTeacher && isUserChangeSession || isStudent) {
10137
10137
  var intervalId = setInterval(function () {
10138
10138
  callApiCheckTimer(isTeacherSessionDone, typeTime, numberOfEdit);
10139
10139
  }, 60 * 1000);
@@ -30757,7 +30757,7 @@ var OneToOne = function OneToOne() {
30757
30757
  className: "" + styles$b["row_type"]
30758
30758
  }, React__default.createElement("div", {
30759
30759
  className: styles$b["duration"] + " " + styles$b["request"]
30760
- }, row !== null && row !== void 0 && row.isCreatedByTeacher ? "Teacher Request" : "Student Request"), React__default.createElement(core.Button, {
30760
+ }, row !== null && row !== void 0 && row.isCreatedByTeacher ? "Teacher Request" : "Student Request"), !row.isEditSession && React__default.createElement(core.Button, {
30761
30761
  variant: "contained",
30762
30762
  color: "primary",
30763
30763
  disableElevation: true,
@@ -31708,7 +31708,7 @@ var Conferences = function Conferences() {
31708
31708
  className: "" + styles$c["row_type"]
31709
31709
  }, React__default.createElement("div", {
31710
31710
  className: styles$c["duration"] + " " + styles$c["request"]
31711
- }, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), React__default.createElement(core.Button, {
31711
+ }, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), !row.isEditConference && React__default.createElement(core.Button, {
31712
31712
  variant: "contained",
31713
31713
  color: "primary",
31714
31714
  disableElevation: true,