mario-teacher-student-client 2.1.16 → 2.1.18-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 (27) hide show
  1. package/dist/components/Dialog/ModalAssistant.d.ts +10 -0
  2. package/dist/components/Header/HeaderComponent.d.ts +1 -0
  3. package/dist/components/Input/InputComponent.d.ts +3 -2
  4. package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
  5. package/dist/components/QuestionTypes/SliderComponent.d.ts +1 -0
  6. package/dist/components/selector/AssistantSelector.d.ts +3 -0
  7. package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -1
  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/MyStudent/hooks/useStudentList.d.ts +6 -0
  13. package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +5 -0
  14. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +1 -0
  15. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +1 -0
  16. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingAnswerTextarea.d.ts +4 -3
  17. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +1 -0
  18. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +1 -0
  19. package/dist/index.js +1735 -609
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.modern.js +1735 -609
  22. package/dist/index.modern.js.map +1 -1
  23. package/dist/services/ConductOneToOne.d.ts +1 -0
  24. package/dist/services/ConferenceService.d.ts +1 -0
  25. package/dist/services/Goals.d.ts +6 -6
  26. package/dist/services/MyStudent.d.ts +1 -0
  27. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ interface IConfirmCancel {
3
+ title: string;
4
+ isOpen: boolean;
5
+ confirmAndClose: () => void;
6
+ onChangeAssistant: Function;
7
+ handleConfirm: Function;
8
+ }
9
+ declare const ModalAssistant: FC<IConfirmCancel>;
10
+ export default ModalAssistant;
@@ -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;
@@ -14,6 +14,7 @@ interface Props {
14
14
  isPageResult?: boolean;
15
15
  isPageSessionResult?: boolean;
16
16
  avatar?: string;
17
+ isRedToRed?: boolean;
17
18
  }
18
19
  declare const QuestionComponent: FC<Props>;
19
20
  export default QuestionComponent;
@@ -10,6 +10,7 @@ interface Props {
10
10
  isPageResult?: boolean;
11
11
  isPageSessionResult?: boolean;
12
12
  avatar?: string;
13
+ isRedToRed?: boolean;
13
14
  }
14
15
  declare const SliderComponent: FC<Props>;
15
16
  export default SliderComponent;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AssistantSelector: ({ onChangeAssistant }: any) => JSX.Element;
3
+ export default AssistantSelector;
@@ -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;
@@ -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;
@@ -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;