mario-teacher-student-client 1.3.5 → 1.3.6

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 (29) 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/SessionResultNote.d.ts +3 -0
  14. package/dist/containers/MyConferences/components/BookSession.d.ts +3 -0
  15. package/dist/containers/MyConferences/components/DialogRequestOneToOne.d.ts +3 -0
  16. package/dist/containers/MyConferences/components/dialog/DialogRequestOneToOne.d.ts +8 -0
  17. package/dist/containers/MyOneToOne/components/SessionResultNote.d.ts +3 -0
  18. package/dist/containers/MyStudent/constants/types.d.ts +1 -0
  19. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
  20. package/dist/index.css +41 -6
  21. package/dist/index.js +4489 -4386
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.modern.js +4489 -4386
  24. package/dist/index.modern.js.map +1 -1
  25. package/dist/services/MyStudent.d.ts +1 -0
  26. package/package.json +99 -99
  27. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/components/Tabs/CustomTabNote.d.ts +0 -3
  28. package/dist/MarioFramework.TeacherStudentClient/ClientApp/src/containers/MyOneToOne/components/tab/Me.d.ts +0 -3
  29. 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>>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SessionResultNote: () => JSX.Element;
3
+ export default SessionResultNote;
@@ -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;
@@ -40,6 +40,7 @@ export interface SESSION_TYPE {
40
40
  finalScore?: any;
41
41
  studentProfile?: any;
42
42
  sortOrder?: string;
43
+ teacherResultId?: number;
43
44
  }
44
45
  export interface STUDENT_PROFILE {
45
46
  id: number;
@@ -3,5 +3,6 @@ declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
5
  filters: FILTER_STUDENT_SESSION;
6
+ importStudentCsv: (file: any, teacherID: string) => Promise<void>;
6
7
  };
7
8
  export default useStudentList;
package/dist/index.css CHANGED
@@ -1720,7 +1720,8 @@ h2._1OAmb {
1720
1720
  margin-bottom: 15px; }
1721
1721
  ._gOdCz ._3h4fG ._2HAFW ._1rCfd {
1722
1722
  font-size: 18px;
1723
- font-weight: 600; }
1723
+ font-weight: 600;
1724
+ word-wrap: break-word; }
1724
1725
  ._gOdCz ._3h4fG ._2HAFW ._3qkoh ._R5ivj {
1725
1726
  padding: 4px;
1726
1727
  margin-top: -36px; }
@@ -1821,11 +1822,23 @@ h2._1OAmb {
1821
1822
  font-weight: normal;
1822
1823
  font-style: normal; }
1823
1824
 
1824
- ._22dD9 {
1825
- font-size: 24px;
1826
- font-weight: 700;
1827
- padding: 20px;
1828
- border-bottom: 1px solid #e8e8e8; }
1825
+ ._K0gyx {
1826
+ border-bottom: 1px solid #e8e8e8;
1827
+ justify-content: space-between;
1828
+ display: flex; }
1829
+ ._K0gyx ._22dD9 {
1830
+ font-size: 24px;
1831
+ font-weight: 700;
1832
+ padding: 20px; }
1833
+ ._K0gyx ._KnDEX {
1834
+ margin: 12px 12px 10px 0; }
1835
+ ._K0gyx ._KnDEX p {
1836
+ padding: 14px;
1837
+ background-color: #1e4e8c;
1838
+ color: #ffffff;
1839
+ border-radius: 12px;
1840
+ text-transform: uppercase;
1841
+ margin: 0; }
1829
1842
 
1830
1843
  ._Hv-Jq thead {
1831
1844
  border-top: 1px solid #e8e8e8; }
@@ -3357,6 +3370,28 @@ h2._1OAmb {
3357
3370
  ._1mGJh {
3358
3371
  margin-bottom: 90px; }
3359
3372
 
3373
+ ._2hmDZ {
3374
+ background: #f6f4c6;
3375
+ color: #744210;
3376
+ padding: 5px 8px;
3377
+ border-radius: 70px;
3378
+ width: -webkit-max-content;
3379
+ width: -moz-max-content;
3380
+ width: max-content;
3381
+ margin: 10px 5px 0px 0px;
3382
+ height: 30px; }
3383
+
3384
+ ._RB7wc {
3385
+ background: #c6f6d5;
3386
+ color: #22543d;
3387
+ padding: 5px 8px;
3388
+ border-radius: 70px;
3389
+ width: -webkit-max-content;
3390
+ width: -moz-max-content;
3391
+ width: max-content;
3392
+ margin: 10px 5px 0px 0px;
3393
+ height: 30px; }
3394
+
3360
3395
  @font-face {
3361
3396
  font-family: "Lato-Regular";
3362
3397
  src: url("/fonts/Lato-Regular.ttf");