mario-teacher-student-client 1.2.9 → 1.3.0

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 (31) hide show
  1. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/EmotionComponent.d.ts +0 -3
  2. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/QuestionComponent.d.ts +0 -3
  3. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/QuestionTypes/SliderComponent.d.ts +2 -3
  4. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/selector/StudentSelector.d.ts +1 -1
  5. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/components/QuestionConduct.d.ts +0 -1
  6. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/ConductOneToOne/hooks/useConductOne.d.ts +0 -4
  7. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/BookSession.d.ts +1 -1
  8. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +1 -1
  9. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/dialog/DialogRequestOneToOne.d.ts +1 -5
  10. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/constants/types.d.ts +1 -3
  11. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/ConductOneToOne.d.ts +1 -2
  12. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/services/OneToOne.d.ts +0 -1
  13. package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +1 -0
  14. package/dist/containers/ConductOneToOne/components/SessionResultNote.d.ts +3 -0
  15. package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +1 -1
  16. package/dist/containers/MyConferences/components/BookSession.d.ts +3 -0
  17. package/dist/containers/MyConferences/components/DialogRequestOneToOne.d.ts +3 -0
  18. package/dist/containers/MyConferences/components/dialog/DialogRequestOneToOne.d.ts +8 -0
  19. package/dist/containers/MyOneToOne/components/SessionResultNote.d.ts +3 -0
  20. package/dist/containers/MyStudent/components/InformationUser.d.ts +2 -1
  21. package/dist/containers/MyStudent/hooks/useStudentHistory.d.ts +2 -2
  22. package/dist/containers/MyStudent/hooks/useStudentToDo.d.ts +2 -2
  23. package/dist/index.css +6 -5
  24. package/dist/index.js +236 -64
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.modern.js +236 -64
  27. package/dist/index.modern.js.map +1 -1
  28. package/package.json +97 -97
  29. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/Tabs/CustomTabNote.d.ts +0 -3
  30. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Me.d.ts +0 -3
  31. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Student.d.ts +0 -3
@@ -2,9 +2,6 @@ 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;
8
5
  }
9
6
  declare const EmotionComponent: FC<Props>;
10
7
  export default EmotionComponent;
@@ -6,9 +6,6 @@ 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;
12
9
  }
13
10
  declare const QuestionComponent: FC<Props>;
14
11
  export default QuestionComponent;
@@ -2,9 +2,8 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  minText?: string;
4
4
  maxText?: string;
5
- questionId: number;
6
- valueText: string;
7
- onChangeSlider?: (questionId: number, value: string) => void;
5
+ valueText: number;
6
+ onChangeSlider?: (value: number) => void;
8
7
  }
9
8
  declare const SliderComponent: FC<Props>;
10
9
  export default SliderComponent;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const StudentSelector: ({ setStudentId }: any) => JSX.Element;
2
+ declare function StudentSelector({ SelectStudent }: any): JSX.Element;
3
3
  export default StudentSelector;
@@ -2,7 +2,6 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  questionName?: string;
4
4
  questionList: any;
5
- onChangeSlider?: (questionId: number, value: string) => void;
6
5
  }
7
6
  declare const QuestionConduct: FC<Props>;
8
7
  export default QuestionConduct;
@@ -1,12 +1,8 @@
1
1
  import { LearningStrategyType, LearningStrategyCategory } from "../constant/types";
2
2
  declare const useConductOne: () => {
3
- currentUser: any;
4
- isTeacher: any;
5
- isStudent: any;
6
3
  listQuestionTeachers: any;
7
4
  listQuestionStudents: any;
8
5
  listLearningStrategory: LearningStrategyType[];
9
6
  listLearningStrategoryCategory: LearningStrategyCategory[];
10
- updateQuestionAnswer: (questionId: number, text: string) => void;
11
7
  };
12
8
  export default useConductOne;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const BookSession: () => JSX.Element;
2
+ declare function BookSession(): JSX.Element;
3
3
  export default BookSession;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const DialogNodes: () => JSX.Element;
2
+ declare function DialogNodes(): JSX.Element;
3
3
  export default DialogNodes;
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- interface Props {
3
- setStudentId?: Function;
4
- onClickStartQuestion?: Function;
5
- }
6
- declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion }: Props) => JSX.Element;
2
+ declare function DialogRequestOneToOne(): JSX.Element;
7
3
  export default DialogRequestOneToOne;
@@ -21,8 +21,6 @@ export interface SIMPLE_DIALOG {
21
21
  open: boolean;
22
22
  selectedValue: string;
23
23
  onClose: (value: string) => void;
24
- setStudentId?: Function;
25
- onClickStartQuestion?: Function;
26
24
  }
27
25
  export interface STUDENT_SELECTOR {
28
26
  id: number;
@@ -35,7 +33,7 @@ export interface FILTER_SESSION {
35
33
  searchString: string;
36
34
  sortBy: string;
37
35
  sortOrder: string;
38
- name?: string;
36
+ name: string;
39
37
  queryTypes?: MediaType[];
40
38
  startDate?: number;
41
39
  endDate?: number;
@@ -1,5 +1,4 @@
1
1
  import { Filter } from "mario-core";
2
- export declare const getQuestionTeacherDefault: (sessionId: number) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const getQuestionTeacherDefault: (studentId?: number | undefined) => 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,4 +3,3 @@ 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>>;
@@ -10,6 +10,7 @@ interface Props {
10
10
  informationUser?: any;
11
11
  clickOpenProfileDialog?: any;
12
12
  isConference?: boolean;
13
+ sessionType?: string;
13
14
  }
14
15
  declare const ConductTop: FC<Props>;
15
16
  export default ConductTop;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SessionResultNote: () => JSX.Element;
3
+ export default SessionResultNote;
@@ -12,7 +12,7 @@ declare const useConductOne: () => {
12
12
  isUnlocked: boolean;
13
13
  setIsUnclocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
14
14
  onChangeToogleAfterSession: () => Promise<void>;
15
- fnfinishSession: (cb: any) => Promise<void>;
15
+ fnfinishSession: (sessionTypeCategoryId: number, cb: any) => Promise<void>;
16
16
  sessionId: string;
17
17
  sessionResultId: number;
18
18
  length: number;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BookSession: () => JSX.Element;
3
+ export default BookSession;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function DialogRequestOneToOne(): JSX.Element;
3
+ export default DialogRequestOneToOne;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ studentId?: number;
4
+ setStudentId?: Function;
5
+ onClickStartQuestion?: Function;
6
+ }
7
+ declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion }: Props) => JSX.Element;
8
+ export default DialogRequestOneToOne;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SessionResultNote: () => JSX.Element;
3
+ export default SessionResultNote;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
3
  informationUser: any;
4
+ clickOpenProfileDialog?: any;
4
5
  }
5
- declare const InformationUser: ({ informationUser }: Props) => JSX.Element;
6
+ declare const InformationUser: ({ informationUser, clickOpenProfileDialog }: Props) => JSX.Element;
6
7
  export default InformationUser;
@@ -1,7 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
2
  declare const useStudentHistory: () => {
3
3
  changeFilters: (updatedFilters: any) => void;
4
- filters: FILTER_SESSION;
4
+ filters: FILTER_STUDENT_SESSION;
5
5
  studentReflectionHistory: any;
6
6
  };
7
7
  export default useStudentHistory;
@@ -1,7 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
2
  declare const useStudentToDo: () => {
3
3
  changeFilters: (updatedFilters: any) => void;
4
- filters: FILTER_SESSION;
4
+ filters: FILTER_STUDENT_SESSION;
5
5
  studentReflectionToDo: any;
6
6
  };
7
7
  export default useStudentToDo;
package/dist/index.css CHANGED
@@ -544,7 +544,7 @@ p._1YLGi {
544
544
  text-overflow: ellipsis;
545
545
  display: -webkit-box;
546
546
  -webkit-line-clamp: 2;
547
- -webkit-box-orient: vertical; }
547
+ word-break: break-all; }
548
548
  ._oYOOf ._3KmXg ._2xzQn {
549
549
  font-weight: 600;
550
550
  font-size: 15px;
@@ -1656,7 +1656,8 @@ h2._1OAmb {
1656
1656
  height: 15px; }
1657
1657
 
1658
1658
  ._gOdCz {
1659
- padding-top: 10px; }
1659
+ padding-top: 10px;
1660
+ top: 35px !important; }
1660
1661
  ._gOdCz ._3h4fG {
1661
1662
  width: 407px;
1662
1663
  max-height: 801px;
@@ -1670,7 +1671,7 @@ h2._1OAmb {
1670
1671
  padding: 4px;
1671
1672
  margin-top: -36px; }
1672
1673
  ._gOdCz ._3h4fG ._3Yl8e {
1673
- font-size: 12px;
1674
+ font-size: 14px;
1674
1675
  font-weight: normal;
1675
1676
  margin-bottom: 10px;
1676
1677
  line-height: 14px;
@@ -2675,10 +2676,10 @@ h4._1gYmd {
2675
2676
  cursor: pointer;
2676
2677
  margin-left: 15px; }
2677
2678
 
2678
- ._2AnOh {
2679
+ ._uF3Es {
2679
2680
  background: #edf2f7;
2680
2681
  border-radius: 12px; }
2681
- ._2AnOh input {
2682
+ ._uF3Es input {
2682
2683
  color: #000000; }
2683
2684
 
2684
2685
  ._1a24j {