mario-teacher-student-client 9000.0.10 → 9000.0.13
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/Card/CardItem.d.ts +4 -1
- package/dist/components/Input/CustumInput.d.ts +9 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +8 -0
- package/dist/containers/ConductOneToOne/apiClient/index.d.ts +2 -0
- package/dist/containers/ConductOneToOne/servies/index.d.ts +2 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +2 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +1 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogRecurrence.d.ts +2 -2
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/apiClient/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingButton/views/ScaffoldingBtn.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -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/containers/ScaffoldingExample/hooks/useScaffolding.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/views/MainViewScaffolding.d.ts +3 -0
- package/dist/index.css +5016 -4230
- package/dist/index.js +2954 -1835
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2940 -1821
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,9 @@ interface Props {
|
|
|
9
9
|
contentWidth?: number;
|
|
10
10
|
titleDelete?: string;
|
|
11
11
|
handleDelete: Function;
|
|
12
|
+
isTeacher?: boolean;
|
|
13
|
+
isAllowedEdit?: boolean;
|
|
14
|
+
isAccommodationIEP?: boolean;
|
|
12
15
|
}
|
|
13
|
-
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete }: Props) => JSX.Element;
|
|
16
|
+
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete, isTeacher, isAllowedEdit, isAccommodationIEP }: Props) => JSX.Element;
|
|
14
17
|
export default CardItem;
|
|
@@ -22,5 +22,13 @@ declare const useAccommodation: () => {
|
|
|
22
22
|
studentId: number;
|
|
23
23
|
type: number;
|
|
24
24
|
}>>;
|
|
25
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
26
|
+
studentId: any;
|
|
27
|
+
type: string;
|
|
28
|
+
}>>;
|
|
29
|
+
filters: {
|
|
30
|
+
studentId: any;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
25
33
|
};
|
|
26
34
|
export default useAccommodation;
|
|
@@ -11,5 +11,7 @@ declare const useGoalDetail: () => {
|
|
|
11
11
|
deleteCheckPoint: (goalId: number, checkPointId: number) => Promise<void>;
|
|
12
12
|
goalBaseLineItem: never[];
|
|
13
13
|
setGoalBaseLineItem: import("react").Dispatch<import("react").SetStateAction<never[]>>;
|
|
14
|
+
isTeacher: any;
|
|
15
|
+
isAllowedEdit: boolean;
|
|
14
16
|
};
|
|
15
17
|
export default useGoalDetail;
|
|
@@ -3,12 +3,12 @@ interface Props {
|
|
|
3
3
|
handleClose: Function;
|
|
4
4
|
open: boolean;
|
|
5
5
|
applyValue: Function;
|
|
6
|
-
selectedDate
|
|
6
|
+
selectedDate?: any;
|
|
7
7
|
}
|
|
8
8
|
export declare enum EndType {
|
|
9
9
|
Never = "Never",
|
|
10
10
|
On = "On",
|
|
11
11
|
After = "After"
|
|
12
12
|
}
|
|
13
|
-
declare const Recurrence: ({ open, handleClose, applyValue
|
|
13
|
+
declare const Recurrence: ({ open, handleClose, applyValue }: Props) => JSX.Element;
|
|
14
14
|
export default Recurrence;
|
|
@@ -6,5 +6,6 @@ declare const useStudentList: () => {
|
|
|
6
6
|
importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
|
|
7
7
|
getData: () => Promise<void>;
|
|
8
8
|
selectAssistStudent: (studentId: number) => Promise<void>;
|
|
9
|
+
convertTimeSecond: (timeSecond: any) => string;
|
|
9
10
|
};
|
|
10
11
|
export default useStudentList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const apiSelectQuestionAll: (filters: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const apiGetAllCategories: () => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const apiGetAllLevel: () => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const apiGetAllNote: (sessionId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const apiSubmitNote: (sessionResultId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const apiRemoveNote: (noteId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const apiUpdateNote: (noteId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
12
|
+
export {};
|
|
@@ -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;
|