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.
- package/dist/components/Dialog/ModalAssistant.d.ts +10 -0
- package/dist/components/Header/HeaderSurvey.d.ts +11 -0
- package/dist/components/Input/TextAreaComponent.d.ts +8 -0
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +1 -0
- package/dist/components/QuestionTypes/SliderComponent.d.ts +1 -0
- package/dist/components/selector/AssistantSelector.d.ts +3 -0
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{conference.d.ts → Conference.d.ts} +0 -0
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
- package/dist/containers/MySurvey/constants/types.d.ts +41 -0
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +9 -0
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +3 -0
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/contants/types.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +5 -0
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +23 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +482 -282
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +482 -282
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +1 -0
- package/dist/services/ConferenceService.d.ts +1 -0
- 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 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;
|
|
File without changes
|
|
@@ -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,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,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;
|
package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts
ADDED
|
@@ -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;
|
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",
|
|
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 {
|