mario-teacher-student-client 2.1.16 → 2.1.18

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 (47) hide show
  1. package/dist/components/Dialog/ModalAssistant.d.ts +10 -0
  2. package/dist/components/Header/HeaderSurvey.d.ts +11 -0
  3. package/dist/components/Input/TextAreaComponent.d.ts +8 -0
  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/FriendCircle/views/FriendCircle.d.ts +3 -0
  8. package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
  9. package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
  10. package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
  11. package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
  12. package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{conference.d.ts → Conference.d.ts} +0 -0
  13. package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
  14. package/dist/containers/MySurvey/constants/types.d.ts +41 -0
  15. package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
  16. package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
  17. package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
  18. package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
  19. package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +3 -0
  20. package/dist/containers/PersonalLearningPlan/contants/types.d.ts +5 -0
  21. package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +5 -0
  22. package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +3 -0
  23. package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +2 -0
  24. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +8 -0
  25. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +8 -0
  26. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +8 -0
  27. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +8 -0
  28. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
  29. package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -0
  30. package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +2 -0
  31. package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +3 -0
  32. package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +3 -0
  33. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +23 -0
  34. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +12 -0
  35. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +12 -0
  36. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +12 -0
  37. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +3 -0
  38. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +7 -0
  39. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +8 -0
  40. package/dist/index.css +1 -1
  41. package/dist/index.js +482 -282
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.modern.js +482 -282
  44. package/dist/index.modern.js.map +1 -1
  45. package/dist/services/ConductOneToOne.d.ts +1 -0
  46. package/dist/services/ConferenceService.d.ts +1 -0
  47. package/package.json +106 -106
@@ -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;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ isShowButtonBackGround?: boolean;
5
+ onFinishSession?: Function;
6
+ goBack?: Function;
7
+ isShowButtonPageHeader?: boolean;
8
+ textButton?: string;
9
+ }
10
+ declare const HeaderSurvey: FC<Props>;
11
+ export default HeaderSurvey;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ label?: string;
4
+ valueText: string;
5
+ onChange: Function;
6
+ }
7
+ declare const TextAreaComponent: ({ valueText, onChange, label }: Props) => JSX.Element;
8
+ export default TextAreaComponent;
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircle: () => JSX.Element;
3
+ export default FriendCircle;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IMutipleSelectBox {
3
+ label: string;
4
+ options: string[];
5
+ SelectedChange: (selected: string[]) => void;
6
+ }
7
+ declare function MutipleSelectBox({ label, options, SelectedChange }: IMutipleSelectBox): JSX.Element;
8
+ export default MutipleSelectBox;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Accomondation: () => JSX.Element;
3
+ export default Accomondation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AccomondationList: () => JSX.Element;
3
+ export default AccomondationList;
@@ -0,0 +1,8 @@
1
+ declare const useAccommodation: () => {
2
+ create: (data: any) => Promise<void>;
3
+ update: (id: number, data: any) => Promise<void>;
4
+ getById: (id: number, data: any) => Promise<void>;
5
+ deleteById: (id: number) => Promise<void>;
6
+ accommodationData: any;
7
+ };
8
+ export default useAccommodation;
@@ -0,0 +1,41 @@
1
+ export interface FILTER_STUDENT_SESSION {
2
+ currentPage: number;
3
+ pageSize: number;
4
+ searchString: string;
5
+ sortBy: string;
6
+ sortOrder?: string;
7
+ name?: string;
8
+ startDate?: number;
9
+ endDate?: number;
10
+ isDone?: boolean;
11
+ isDescending?: boolean;
12
+ }
13
+ export interface SESSION_TYPE {
14
+ id: string;
15
+ studentId: string;
16
+ teacherId: number;
17
+ startTime: string;
18
+ minutes?: number;
19
+ isDoing?: boolean;
20
+ isDone?: boolean;
21
+ isCreatedByTeacher?: boolean;
22
+ isFavourite: boolean;
23
+ isTeacherFavourite: boolean;
24
+ isTeacherDone?: boolean;
25
+ teacherName?: string;
26
+ studentAvatar?: string;
27
+ studentName?: string;
28
+ gradeLevel?: any;
29
+ finalScore?: any;
30
+ studentProfile?: any;
31
+ sortOrder?: string;
32
+ teacherResultId?: number;
33
+ }
34
+ export declare enum OrderByStudent {
35
+ id = 0,
36
+ name = 1,
37
+ grade = 2,
38
+ lastOneToOne = 3,
39
+ lastConference = 4,
40
+ totalTime = 5
41
+ }
@@ -0,0 +1,9 @@
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
+ declare const useStudentList: () => {
3
+ students: any;
4
+ changeFilters: (updatedFilters: any) => void;
5
+ filters: FILTER_STUDENT_SESSION;
6
+ importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
7
+ getData: () => Promise<void>;
8
+ };
9
+ export default useStudentList;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CreateSurvey: () => JSX.Element;
3
+ export default CreateSurvey;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const MySurvey: FC;
3
+ export default MySurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentSurvey: () => JSX.Element;
3
+ export default StudentSurvey;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListPersonalinterrest: () => JSX.Element;
3
+ export default ListPersonalinterrest;
@@ -0,0 +1,5 @@
1
+ export interface GET_PERSONALINTEREST {
2
+ id: number;
3
+ instruction: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare const usePersonalInterest: () => {
2
+ getDataPersonalInterest: () => Promise<void>;
3
+ listPersonalInterest: any;
4
+ };
5
+ export default usePersonalInterest;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OneToOne: () => JSX.Element;
3
+ export default OneToOne;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function PicChat(): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type PropTypes = {
3
+ onChangeSetData: Function;
4
+ valueNoteAdd: string;
5
+ ShowHelp: Function;
6
+ };
7
+ declare const RightPicChatScreenFour: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
8
+ export default RightPicChatScreenFour;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type PropTypes = {
3
+ onChangeSetData: Function;
4
+ valueNoteAdd: string;
5
+ ShowHelp: Function;
6
+ };
7
+ declare const RightPicChatScreenOne: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
8
+ export default RightPicChatScreenOne;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type PropTypes = {
3
+ clickSelect: Function;
4
+ arraySelect: any;
5
+ ShowHelp: Function;
6
+ };
7
+ declare const RightPicChatScreenThree: ({ clickSelect, arraySelect, ShowHelp }: PropTypes) => JSX.Element;
8
+ export default RightPicChatScreenThree;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type PropTypes = {
3
+ onChangeSetData: Function;
4
+ valueNoteAdd: string;
5
+ ShowHelp: Function;
6
+ };
7
+ declare const RightPicChatScreenTwo: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
8
+ export default RightPicChatScreenTwo;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ id: number;
4
+ content?: string;
5
+ date?: string;
6
+ onRemoveNote: Function;
7
+ onUpdateNote: Function;
8
+ }
9
+ declare const ScaffoldingQuestionAndAnswer: ({ id, content, date, onRemoveNote, onUpdateNote, }: Props) => JSX.Element;
10
+ export default ScaffoldingQuestionAndAnswer;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ScreenTab: (props: any) => JSX.Element;
3
+ export default ScreenTab;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function CustomizedSlider(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PrivateNote: () => JSX.Element;
3
+ export default PrivateNote;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const StudentNote: () => JSX.Element;
3
+ export default StudentNote;
@@ -0,0 +1,23 @@
1
+ declare type Filter = {
2
+ category?: string;
3
+ level?: string;
4
+ };
5
+ declare const useTeacherNotes: (sessionId: number, sessionResultId: number) => {
6
+ screenIndex: number;
7
+ changeScreen: (index: number) => void;
8
+ questionList: never[];
9
+ categoryList: never[];
10
+ levelList: never[];
11
+ randomQuestion: never[];
12
+ note: string;
13
+ handleChangeNote: (e?: any) => void;
14
+ handleSelectQuestion: (question: any) => Promise<void>;
15
+ changeFilters: (updateFilters: any) => void;
16
+ filters: Filter;
17
+ teacherNotesData: never[];
18
+ handleSelectSuggester: (question: any) => Promise<void>;
19
+ handleRemoveQuestion: (noteId: number) => Promise<void>;
20
+ handleSubmitNote: (noteId: number, answer: string) => Promise<void>;
21
+ handleRemoveQuestionAnswer: (noteId: number) => Promise<void>;
22
+ };
23
+ export default useTeacherNotes;
@@ -0,0 +1,12 @@
1
+ declare type Filter = {
2
+ category?: string;
3
+ level?: string;
4
+ };
5
+ export declare const getAllSelectQuestion: (dispatch: any, filters: Filter) => Promise<any>;
6
+ export declare const getListCategories: (dispatch: any) => Promise<any>;
7
+ export declare const getListLevel: (dispatch: any) => Promise<any>;
8
+ export declare const getAllNote: (dispatch: any, sessionId: number) => Promise<any>;
9
+ export declare const submitNote: (dispatch: any, sessionId: number, text: string) => Promise<any>;
10
+ export declare const updateNote: (dispatch: any, sessionNoteId: number, text: string) => Promise<any>;
11
+ export declare const removeNote: (dispatch: any, noteId: number) => Promise<any>;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare type PropsType = {
3
+ changeScreen: Function;
4
+ onPressSuggester: Function;
5
+ onUpdateNote: Function;
6
+ randomQuestion: any[];
7
+ teacherNotesData: any[];
8
+ onRemoveQuestion: Function;
9
+ onRemoveQuestionAnswer: Function;
10
+ };
11
+ declare const ScaffoldingFirstScreen: (props: PropsType) => JSX.Element;
12
+ export default ScaffoldingFirstScreen;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ id: number;
4
+ content?: string;
5
+ answer?: string;
6
+ date?: string;
7
+ onRemoveQuestion: Function;
8
+ onRemoveQuestionAnswer: Function;
9
+ onUpdateNote: Function;
10
+ }
11
+ declare const ScaffoldingQuestionAndAnswer: ({ id, content, answer, date, onRemoveQuestion, onUpdateNote, onRemoveQuestionAnswer }: Props) => JSX.Element;
12
+ export default ScaffoldingQuestionAndAnswer;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ScaffoldingSecondScreen: (props: any) => JSX.Element;
3
+ export default ScaffoldingSecondScreen;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare type PropsType = {
3
+ sessionId: number;
4
+ sessionResultId: number;
5
+ };
6
+ declare const TeacherScreen: (props: PropsType) => JSX.Element;
7
+ export default TeacherScreen;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type PropsType = {
3
+ onClose: any;
4
+ sessionId: number;
5
+ sessionResultId: number;
6
+ };
7
+ declare const TeacherTab: (props: PropsType) => JSX.Element;
8
+ export default TeacherTab;
package/dist/index.css CHANGED
@@ -4048,7 +4048,7 @@ h2._1OAmb {
4048
4048
  position: absolute;
4049
4049
  color: rgba(0, 0, 0, 0.54);
4050
4050
  font-size: 1rem;
4051
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
4051
+ font-family: "Roboto", "Helvetica", "Arial",
4052
4052
  sans-serif;
4053
4053
  letter-spacing: 0.00938em;
4054
4054
  background: #ffffff; }
4055
4055
  ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {