mario-teacher-student-client 2.1.18 → 2.1.20-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.
Files changed (65) hide show
  1. package/dist/components/Header/HeaderComponent.d.ts +1 -0
  2. package/dist/components/Input/InputComponent.d.ts +3 -2
  3. package/dist/components/QuestionTypes/LearningStrategyComponent.d.ts +2 -0
  4. package/dist/components/QuestionTypes/LearningStrategyConference.d.ts +12 -0
  5. package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -1
  6. package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +1 -0
  7. package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +1 -0
  8. package/dist/containers/ActionPoint/constants/types.d.ts +0 -2
  9. package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +5 -0
  10. package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +3 -0
  11. package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +1 -1
  12. package/dist/containers/ConferenceRubric/components/RubricTable.d.ts +1 -0
  13. package/dist/containers/ConferenceRubric/components/StartRubric.d.ts +1 -0
  14. package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +3 -0
  15. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -1
  16. package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{Conference.d.ts → conference.d.ts} +0 -0
  17. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +6 -0
  18. package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +5 -0
  19. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +1 -0
  20. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +1 -0
  21. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingAnswerTextarea.d.ts +4 -3
  22. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +1 -0
  23. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +1 -0
  24. package/dist/index.css +22 -14
  25. package/dist/index.js +1839 -680
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.modern.js +1839 -680
  28. package/dist/index.modern.js.map +1 -1
  29. package/dist/services/Goals.d.ts +6 -6
  30. package/dist/services/MyStudent.d.ts +1 -0
  31. package/package.json +106 -106
  32. package/dist/components/Header/HeaderSurvey.d.ts +0 -11
  33. package/dist/components/Input/TextAreaComponent.d.ts +0 -8
  34. package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
  35. package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
  36. package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +0 -3
  37. package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +0 -3
  38. package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +0 -3
  39. package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +0 -8
  40. package/dist/containers/MySurvey/constants/types.d.ts +0 -41
  41. package/dist/containers/MySurvey/hooks/useStudentList.d.ts +0 -9
  42. package/dist/containers/MySurvey/views/CreateSurvey.d.ts +0 -3
  43. package/dist/containers/MySurvey/views/Mysurvey.d.ts +0 -3
  44. package/dist/containers/MySurvey/views/StudentSurvey.d.ts +0 -3
  45. package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +0 -3
  46. package/dist/containers/PersonalLearningPlan/contants/types.d.ts +0 -5
  47. package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +0 -5
  48. package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
  49. package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
  50. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
  51. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
  52. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
  53. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
  54. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
  55. package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
  56. package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
  57. package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
  58. package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
  59. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
  60. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
  61. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
  62. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
  63. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
  64. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
  65. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
@@ -20,6 +20,7 @@ interface Props {
20
20
  isShowButtonEdit?: boolean;
21
21
  onEditConference?: Function;
22
22
  numberOfEdit?: boolean;
23
+ isUserChangeSession?: boolean;
23
24
  }
24
25
  declare const HeaderComponent: FC<Props>;
25
26
  export default HeaderComponent;
@@ -2,7 +2,7 @@
2
2
  interface Props {
3
3
  customId?: string;
4
4
  valueText: string;
5
- onChange: Function;
5
+ onChange?: Function;
6
6
  name?: string;
7
7
  isAddIcon?: boolean;
8
8
  handleAddItem?: Function;
@@ -11,6 +11,7 @@ interface Props {
11
11
  isSending?: boolean;
12
12
  handleSending?: Function;
13
13
  canSubmit?: boolean;
14
+ disabled?: boolean;
14
15
  }
15
- declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit }: Props) => JSX.Element;
16
+ declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit, disabled }: Props) => JSX.Element;
16
17
  export default InputComponent;
@@ -6,6 +6,8 @@ interface Props {
6
6
  onChangeQuestionAnswer?: Function;
7
7
  valueText: string;
8
8
  isResultPage?: boolean;
9
+ questionList?: any;
10
+ isUserChangeSession?: boolean;
9
11
  }
10
12
  declare const LearningStrategyComponent: FC<Props>;
11
13
  export default LearningStrategyComponent;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { LearningStrategyType } from "../../containers/ConductOneToOne/constant/types";
3
+ interface Props {
4
+ listLearningStrategory: LearningStrategyType[];
5
+ questionId: number;
6
+ onChangeQuestionAnswer?: Function;
7
+ valueText: string;
8
+ isResultPage?: boolean;
9
+ isUserChangeConference?: boolean;
10
+ }
11
+ declare const LearningStrategyConference: FC<Props>;
12
+ export default LearningStrategyConference;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { FORM_REQUEST } from "../../../constants/types";
2
3
  declare type PropsType = {
3
4
  actionId: number;
4
5
  reloadRef: React.MutableRefObject<any>;
@@ -6,8 +7,9 @@ declare type PropsType = {
6
7
  declare const useDialogRequest: (_props: PropsType, ref: any) => {
7
8
  open: boolean;
8
9
  isTeacher: any;
10
+ isAssistant: any;
9
11
  classList: never[];
10
- formData: any;
12
+ formData: FORM_REQUEST;
11
13
  changeFormData: (updatedForm: any) => void;
12
14
  changeTitle: (e: any) => void;
13
15
  handleDateChange: (date: any) => void;
@@ -11,5 +11,6 @@ declare const useDoneList: () => {
11
11
  changeFilters: (updateFilters: any) => void;
12
12
  filters: any;
13
13
  isTeacher: any;
14
+ isAssistant: any;
14
15
  };
15
16
  export default useDoneList;
@@ -13,6 +13,7 @@ declare const useTodoList: () => {
13
13
  handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
14
14
  getActionPointList: () => Promise<void>;
15
15
  isTeacher: any;
16
+ isAssistant: any;
16
17
  classFontSize: string;
17
18
  };
18
19
  export default useTodoList;
@@ -14,8 +14,6 @@ export interface FILTER_SESSION {
14
14
  className?: string;
15
15
  }
16
16
  export interface FORM_REQUEST {
17
- studentId?: number;
18
- teacherId?: number;
19
17
  title?: string;
20
18
  class?: string;
21
19
  deadline?: number | null;
@@ -21,5 +21,10 @@ declare const useListDetailActivity: () => {
21
21
  getData: () => Promise<void>;
22
22
  deleteActivity: (cb?: any) => Promise<void>;
23
23
  classFontSize: string;
24
+ ACTIVITY_LIST: {
25
+ id: number;
26
+ images: string;
27
+ text: string;
28
+ }[];
24
29
  };
25
30
  export default useListDetailActivity;
@@ -29,5 +29,8 @@ declare const useConductOne: () => {
29
29
  setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
30
30
  classFontSize: string;
31
31
  isStudentChangeAfter: boolean;
32
+ startTimerSession: any;
33
+ isUserChangeSession: boolean;
34
+ setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
32
35
  };
33
36
  export default useConductOne;
@@ -1,5 +1,5 @@
1
1
  import { TypeTime } from "../constant/types";
2
- declare const useCountDown: (typeTime: TypeTime, sessionResultId: number) => {
2
+ declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean) => {
3
3
  hour: number;
4
4
  minute: number;
5
5
  second: number;
@@ -13,6 +13,7 @@ interface Props {
13
13
  imageStudent: string;
14
14
  isPageResultConference?: boolean;
15
15
  classFontSize: string;
16
+ isUserChangeConference: boolean;
16
17
  }
17
18
  declare const RubricTable: FC<Props>;
18
19
  export default RubricTable;
@@ -13,6 +13,7 @@ interface Props {
13
13
  imageStudent: string;
14
14
  isPageResultConference?: boolean;
15
15
  classFontSize: string;
16
+ isUserChangeConference: boolean;
16
17
  }
17
18
  declare const StartRubric: FC<Props>;
18
19
  export default StartRubric;
@@ -24,6 +24,7 @@ declare const useConferenceRubric: () => {
24
24
  dateStartSession: string;
25
25
  isTeacher: any;
26
26
  isStudent: any;
27
+ isAssistant: boolean;
27
28
  isUnlocked: boolean;
28
29
  setIsUnclocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
29
30
  onChangeToogleAfterSession: () => Promise<void>;
@@ -50,5 +51,7 @@ declare const useConferenceRubric: () => {
50
51
  numberOfEdit: number;
51
52
  classFontSize: string;
52
53
  isStudentChangeAfter: boolean;
54
+ startTimerConference: any;
55
+ isUserChangeConference: boolean;
53
56
  };
54
57
  export default useConferenceRubric;
@@ -13,6 +13,7 @@ declare const useAddLearningStrategies: () => {
13
13
  studentId: any;
14
14
  isShowChoose: boolean;
15
15
  searchString: string;
16
+ selected: string;
16
17
  };
17
18
  selectData: any;
18
19
  handleAddLearningStrategy: () => Promise<void>;
@@ -22,6 +23,6 @@ declare const useAddLearningStrategies: () => {
22
23
  handleShowSelectItemCount: () => number;
23
24
  classFontSize: string;
24
25
  bestFits: string[];
25
- selectedChange: (e: string[]) => Promise<void>;
26
+ selectedChange: (e: string[]) => void;
26
27
  };
27
28
  export default useAddLearningStrategies;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FILTER_STUDENT_SESSION } from "../constants/types";
2
3
  declare const useStudentList: () => {
3
4
  students: any;
@@ -10,5 +11,10 @@ declare const useStudentList: () => {
10
11
  classFontSize: string;
11
12
  useStyles: (props?: any) => Record<"select" | "fontCustom", string>;
12
13
  defaultFont: any;
14
+ onSubmitAssistant: (cb: Function) => Promise<void>;
15
+ setAssistantId: import("react").Dispatch<import("react").SetStateAction<number>>;
16
+ setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
17
+ isRoleTeacherAndAssistant: boolean;
18
+ nameTeacherAssistant: any;
13
19
  };
14
20
  export default useStudentList;
@@ -38,5 +38,10 @@ declare const usePersonalInterest: (studentId: number) => {
38
38
  isCheckChange: boolean;
39
39
  setIsCheckChange: import("react").Dispatch<import("react").SetStateAction<boolean>>;
40
40
  classFontSize: string;
41
+ ACTIVITY_LIST: {
42
+ id: number;
43
+ images: string;
44
+ text: string;
45
+ }[];
41
46
  };
42
47
  export default usePersonalInterest;
@@ -4,6 +4,7 @@ declare type PropsType = {
4
4
  sessionResultId: number;
5
5
  conferenceId: number;
6
6
  conferenceResultId: number;
7
+ isUserChangeSession: boolean;
7
8
  };
8
9
  declare const MineNoteScreen: (props: PropsType) => JSX.Element;
9
10
  export default MineNoteScreen;
@@ -4,6 +4,7 @@ declare type PropsType = {
4
4
  sessionResultId: number;
5
5
  conferenceId: number;
6
6
  conferenceResultId: number;
7
+ isUserChangeSession: boolean;
7
8
  };
8
9
  declare const PrivateNotesScreen: (props: PropsType) => JSX.Element;
9
10
  export default PrivateNotesScreen;
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
3
  value: string;
4
- onChange: Function;
5
- onSubmit: Function;
4
+ onChange?: Function;
5
+ onSubmit?: Function;
6
+ disabled?: boolean;
6
7
  }
7
- declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit }: Props) => JSX.Element;
8
+ declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit, disabled }: Props) => JSX.Element;
8
9
  export default ScaffoldingAnswerTextarea;
@@ -11,6 +11,7 @@ declare type PropsType = {
11
11
  note: string;
12
12
  onChangeNote: Function;
13
13
  onSubmitSingleNote: Function;
14
+ isUserChangeSession: boolean;
14
15
  };
15
16
  declare const ScaffoldingListingNotes: (props: PropsType) => JSX.Element;
16
17
  export default ScaffoldingListingNotes;
@@ -6,6 +6,7 @@ declare type PropsType = {
6
6
  conferenceId: number;
7
7
  conferenceResultId: number;
8
8
  informationUser: any;
9
+ isUserChangeSession: boolean;
9
10
  };
10
11
  declare const ScaffoldingFloatTab: (props: PropsType) => JSX.Element;
11
12
  export default ScaffoldingFloatTab;
package/dist/index.css CHANGED
@@ -231,17 +231,20 @@ p._1YLGi {
231
231
  ._1M6M1 ._1wmi8 {
232
232
  padding: 4px; } }
233
233
 
234
- ._KKK4u {
234
+ ._KKK4u._3o_lQ {
235
235
  display: flex;
236
236
  flex-wrap: wrap; }
237
- ._KKK4u._3Sup6 ._1k7-R span {
238
- font-size: 20px !important; }
239
- ._KKK4u._2JnMg ._1k7-R span {
240
- font-size: 12px !important; }
241
- ._KKK4u ._1k7-R {
242
- margin-right: 20px;
243
- margin-top: 12px;
244
- cursor: pointer; }
237
+
238
+ ._KKK4u._3Sup6 ._1k7-R span {
239
+ font-size: 20px !important; }
240
+
241
+ ._KKK4u._2JnMg ._1k7-R span {
242
+ font-size: 12px !important; }
243
+
244
+ ._KKK4u ._1k7-R {
245
+ margin-right: 20px;
246
+ margin-top: 12px;
247
+ cursor: pointer; }
245
248
 
246
249
  ._WkaIn ._2gqE- {
247
250
  margin-bottom: 25px; }
@@ -939,7 +942,7 @@ p._1YLGi {
939
942
  border-radius: 12px !important; }
940
943
 
941
944
  ._NLxWQ {
942
- width: 50px;
945
+ width: 70px;
943
946
  padding: 15px 5px 15px 10px;
944
947
  border-radius: 14px;
945
948
  border: 1px solid grey; }
@@ -3005,7 +3008,6 @@ h2._1OAmb {
3005
3008
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
3006
3009
  background: white;
3007
3010
  top: 140px;
3008
- z-index: 999;
3009
3011
  height: calc(100% - 140px);
3010
3012
  display: flex;
3011
3013
  position: fixed;
@@ -3489,7 +3491,9 @@ h2._1OAmb {
3489
3491
  ._2RP6e {
3490
3492
  overflow-y: auto;
3491
3493
  height: 45%;
3492
- margin-bottom: 10px; } }
3494
+ margin-bottom: 10px; }
3495
+ ._2JHwd {
3496
+ width: 100%; } }
3493
3497
 
3494
3498
  @font-face {
3495
3499
  font-family: "Lato-Regular";
@@ -4048,7 +4052,7 @@ h2._1OAmb {
4048
4052
  position: absolute;
4049
4053
  color: rgba(0, 0, 0, 0.54);
4050
4054
  font-size: 1rem;
4051
- font-family: "Roboto", "Helvetica", "Arial",
4052
4055
  sans-serif;
4056
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
4053
4057
  letter-spacing: 0.00938em;
4054
4058
  background: #ffffff; }
4055
4059
  ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
@@ -8855,7 +8859,11 @@ button._kb6Ui {
8855
8859
  background-color: #f9f9f9; }
8856
8860
 
8857
8861
  ._13KPp {
8858
- font-size: 16px; }
8862
+ font-size: 16px !important;
8863
+ display: flex !important;
8864
+ align-items: center !important; }
8865
+ ._13KPp p {
8866
+ margin-bottom: 0; }
8859
8867
  ._13KPp ._EjXlz {
8860
8868
  margin-right: 10px; }
8861
8869