mario-teacher-student-client 9000.0.13 → 9000.0.14
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/Input/InputComponent.d.ts +3 -1
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChartOneToOne.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ReadinessToLearn.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useResultReflection.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStartReflection.d.ts +3 -0
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -1
- package/dist/containers/Note/apiClient/index.d.ts +1 -1
- package/dist/containers/Note/enum/categories.d.ts +7 -0
- package/dist/containers/Note/hook/useNote.d.ts +3 -1
- package/dist/containers/Note/hook/useNoteAdd.d.ts +4 -4
- package/dist/containers/Note/services/index.d.ts +1 -1
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/hooks/useNotes.d.ts +25 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/services/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/OtherNoteScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +16 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingQuestions.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingQuestionAndAnswer.d.ts +14 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/hooks/useScaffolding.d.ts +0 -1
- package/dist/containers/ScaffoldingExample/views/MainViewScaffolding.d.ts +3 -3
- package/dist/index.css +144 -113
- package/dist/index.js +4214 -3780
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4199 -3765
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +3 -0
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ interface Props {
|
|
|
8
8
|
handleAddItem?: Function;
|
|
9
9
|
onBlur?: any;
|
|
10
10
|
placeholder?: string;
|
|
11
|
+
isSending?: boolean;
|
|
12
|
+
handleSending?: Function;
|
|
11
13
|
}
|
|
12
|
-
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, id }: Props) => JSX.Element;
|
|
14
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, id, isSending, handleSending }: Props) => JSX.Element;
|
|
13
15
|
export default InputComponent;
|
|
@@ -26,5 +26,8 @@ declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
|
26
26
|
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
27
27
|
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
28
|
handleCloseNoti: () => void;
|
|
29
|
+
setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
|
|
30
|
+
notiSetting: string;
|
|
31
|
+
onSettingNotification: (e: any) => void;
|
|
29
32
|
};
|
|
30
33
|
export default useDialogRequest;
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
timeStart: any;
|
|
15
15
|
options: any;
|
|
16
16
|
}
|
|
17
|
-
declare const ChartOneToOne: ({ title, series, widthChartOne, heightChartOne, handleChangeStartDate, handleChangeEndDate,
|
|
17
|
+
declare const ChartOneToOne: ({ title, series, widthChartOne, heightChartOne, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, options }: Props) => JSX.Element;
|
|
18
18
|
export default ChartOneToOne;
|
|
@@ -8,5 +8,5 @@ interface Props {
|
|
|
8
8
|
handleClose: any;
|
|
9
9
|
dataOfChart: any;
|
|
10
10
|
}
|
|
11
|
-
declare const ReadinessToLearn: ({ widthChart, heightChart, options,
|
|
11
|
+
declare const ReadinessToLearn: ({ widthChart, heightChart, options, dataOfChart, }: Props) => JSX.Element;
|
|
12
12
|
export default ReadinessToLearn;
|
|
@@ -12,5 +12,8 @@ declare const useStartReflection: () => {
|
|
|
12
12
|
noteReflection: string;
|
|
13
13
|
fnfinishSession: (cb: any) => Promise<void>;
|
|
14
14
|
reflectionId: string;
|
|
15
|
+
getDataActionPoint: (searchParam: any) => Promise<any>;
|
|
16
|
+
createActionPoint: (formRequest: any) => Promise<void>;
|
|
17
|
+
deleteActionPoint: (id: number) => Promise<void>;
|
|
15
18
|
};
|
|
16
19
|
export default useStartReflection;
|
|
@@ -11,6 +11,6 @@ declare const useStudentConference: () => {
|
|
|
11
11
|
sessionData: any;
|
|
12
12
|
filter: FILTER_SESSION;
|
|
13
13
|
changeFilters: (updatedFilters: any) => void;
|
|
14
|
-
getStudentConference: (
|
|
14
|
+
getStudentConference: () => Promise<void>;
|
|
15
15
|
};
|
|
16
16
|
export default useStudentConference;
|
|
@@ -13,6 +13,6 @@ declare const useStudentOneToOne: () => {
|
|
|
13
13
|
sessionData: any;
|
|
14
14
|
filter: FILTER_SESSION;
|
|
15
15
|
changeFilters: (updatedFilters: any) => void;
|
|
16
|
-
getStudentOneToOne: (
|
|
16
|
+
getStudentOneToOne: () => Promise<void>;
|
|
17
17
|
};
|
|
18
18
|
export default useStudentOneToOne;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const createDataNoteApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
2
|
export declare const updateDataNoteApi: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
-
export declare const getItemNoteApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getItemNoteApi: (id: number, noteType: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
4
|
export declare const deleteItemNoteApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const getDataStudentApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const updateFavoriteApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -10,9 +10,11 @@ declare const useNote: () => {
|
|
|
10
10
|
search: string;
|
|
11
11
|
onClickFavorite: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
12
|
addNoteLink: () => void;
|
|
13
|
-
viewItemNoteLink: (id: number) => void;
|
|
13
|
+
viewItemNoteLink: (id: number, typeNoteString: string) => void;
|
|
14
14
|
viewListNote: () => void;
|
|
15
15
|
inputSearch: import("react").MutableRefObject<any>;
|
|
16
16
|
updateFavorite: (id: number, favorite: boolean) => Promise<void>;
|
|
17
|
+
category: number;
|
|
18
|
+
handleChangeCategory: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
17
19
|
};
|
|
18
20
|
export default useNote;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const useNoteAdd: () => {
|
|
2
2
|
dataTeacherOrStudent: any;
|
|
3
|
-
|
|
3
|
+
handleTitle: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
4
4
|
addDataNote: () => Promise<void>;
|
|
5
|
-
|
|
5
|
+
handleNote: (event: string) => void;
|
|
6
6
|
onChangeGetIdStudent: (_: any, id: number) => void;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
title: string;
|
|
8
|
+
note: string;
|
|
9
9
|
viewListNote: () => void;
|
|
10
10
|
onChangeSetDataUpdateText: (e: any) => void;
|
|
11
11
|
itemViewUpdate: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const createDataNote: (dispatch: any, data: any) => Promise<void>;
|
|
2
2
|
export declare const getDataAllNote: (dispatch: any, data: any) => Promise<any>;
|
|
3
3
|
export declare const getDataStudent: (dispatch: any) => Promise<any>;
|
|
4
|
-
export declare const getItemNote: (dispatch: any, id: number) => Promise<any>;
|
|
4
|
+
export declare const getItemNote: (dispatch: any, id: number, noteType: string) => Promise<any>;
|
|
5
5
|
export declare const deleteItem: (dispatch: any, id: number) => Promise<void>;
|
|
6
6
|
export declare const updateNoteItem: (dispatch: any, id: number, data: any) => Promise<void>;
|
|
7
7
|
export declare const updateFavoriteItem: (dispatch: any, data: any) => Promise<void>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const useNotes: (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
|
+
studentNotesData: never[];
|
|
19
|
+
handleSelectSuggester: (question: any) => Promise<void>;
|
|
20
|
+
handleRemoveQuestion: (noteId: number) => Promise<void>;
|
|
21
|
+
handleSubmitNote: (noteId: number, answer: string) => Promise<void>;
|
|
22
|
+
handleRemoveQuestionAnswer: (noteId: number) => Promise<void>;
|
|
23
|
+
handleSubmitSingleNote: () => Promise<void>;
|
|
24
|
+
};
|
|
25
|
+
export default useNotes;
|
|
@@ -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, sessionResultId: 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,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
changeScreen: Function;
|
|
4
|
+
onPressSuggester: Function;
|
|
5
|
+
onUpdateNote: Function;
|
|
6
|
+
randomQuestion: any[];
|
|
7
|
+
teacherNotesData: any[];
|
|
8
|
+
studentNotesData: any[];
|
|
9
|
+
onRemoveQuestion: Function;
|
|
10
|
+
onRemoveQuestionAnswer: Function;
|
|
11
|
+
note: string;
|
|
12
|
+
onChangeNote: Function;
|
|
13
|
+
onSubmitSingleNote: Function;
|
|
14
|
+
};
|
|
15
|
+
declare const ScaffoldingListingNotes: (props: PropsType) => JSX.Element;
|
|
16
|
+
export default ScaffoldingListingNotes;
|
|
@@ -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,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
answer?: string;
|
|
6
|
+
date?: string;
|
|
7
|
+
isSingleNote?: boolean;
|
|
8
|
+
isReadOnly?: boolean;
|
|
9
|
+
onRemoveQuestion?: Function;
|
|
10
|
+
onRemoveQuestionAnswer?: Function;
|
|
11
|
+
onUpdateNote?: Function;
|
|
12
|
+
}
|
|
13
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, answer, date, isSingleNote, isReadOnly, onRemoveQuestion, onUpdateNote, onRemoveQuestionAnswer }: Props) => JSX.Element;
|
|
14
|
+
export default ScaffoldingQuestionAndAnswer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
|
|
3
|
+
export default _default;
|