mario-teacher-student-client 9000.0.0 → 9000.0.1
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/Header/HeaderComponent.d.ts +11 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +1 -0
- package/dist/containers/AboutMyLearning/constants/listTitleAboutMyLearning.d.ts +1 -0
- package/dist/containers/Accommodation/constants/titleList.d.ts +1 -0
- package/dist/containers/ActionPoint/api/apiClient.d.ts +6 -0
- package/dist/containers/ActionPoint/components/CardItem/hooks/useCardItem.d.ts +7 -0
- package/dist/containers/ActionPoint/components/CardItem/services/services.d.ts +1 -0
- package/dist/containers/ActionPoint/components/CardItem/view/CardItem.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useActionPointsDB.d.ts +7 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useCard.d.ts +8 -0
- package/dist/containers/ActionPoint/components/DashBoardView/services/actionPointDashboardService.d.ts +1 -0
- package/dist/containers/ActionPoint/components/DashBoardView/views/ActionPointsDashboard.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DashBoardView/views/Card.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +24 -0
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +5 -0
- package/dist/containers/ActionPoint/components/Dialogs/views/DialogRequestActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +14 -0
- package/dist/containers/ActionPoint/components/DoneList/services/doneListService.d.ts +2 -0
- package/dist/containers/ActionPoint/components/DoneList/view/DoneList.d.ts +3 -0
- package/dist/containers/ActionPoint/components/MainView/ActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Tabs/CustomTab.d.ts +3 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +15 -0
- package/dist/containers/ActionPoint/components/TodoList/services/todoListServices.d.ts +2 -0
- package/dist/containers/ActionPoint/components/TodoList/view/TodoList.d.ts +3 -0
- package/dist/containers/ActionPoint/constants/types.d.ts +25 -0
- package/dist/containers/ActivityCircle/components/ModalGoalActivity.d.ts +3 -0
- package/dist/containers/ActivityCircle/constant/type.d.ts +7 -0
- package/dist/containers/ActivityCircle/hooks/useListActivity.d.ts +8 -0
- package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +24 -0
- package/dist/containers/ActivityCircle/hooks/useTotalActivity.d.ts +4 -0
- package/dist/containers/ActivityCircle/services/ActivityCircleService.d.ts +7 -0
- package/dist/containers/ActivityCircle/views/ActivityCircleLearning.d.ts +3 -0
- package/dist/containers/ActivityCircle/views/ListActivityLearning.d.ts +3 -0
- package/dist/containers/ConductOneToOne/constant/types.d.ts +5 -0
- package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +7 -1
- package/dist/containers/FriendCircle/constants/types.d.ts +3 -1
- package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +4 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +7 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +16 -0
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +15 -0
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +14 -0
- package/dist/containers/LearningStrategies/view/LearningStrategies.d.ts +2 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesDialog.d.ts +3 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesSave.d.ts +2 -0
- package/dist/containers/MyStudent/constants/types.d.ts +4 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/Note/apiClient/index.d.ts +7 -0
- package/dist/containers/Note/components/EditNote.d.ts +3 -0
- package/dist/containers/Note/hook/useNote.d.ts +10 -2
- package/dist/containers/Note/hook/useNoteAdd.d.ts +20 -0
- package/dist/containers/Note/services/index.d.ts +7 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +1 -1
- 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/SliderRange.d.ts +2 -0
- package/dist/containers/SettingPageV1/apiClient/index.d.ts +2 -0
- package/dist/containers/SettingPageV1/hook/useSettingPage.d.ts +3 -1
- package/dist/containers/SettingPageV1/servies/index.d.ts +2 -0
- package/dist/containers/StrengthsAndChallenges/constants/listStrengthsChallengesBestFits.d.ts +1 -0
- package/dist/index.css +720 -3
- package/dist/index.d.ts +9 -1
- package/dist/index.js +25530 -20564
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +25337 -20379
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +3 -0
- package/dist/services/MyStudent.d.ts +1 -0
- package/dist/services/myFriendGoalService.d.ts +2 -1
- package/package.json +104 -104
- package/dist/components/Header/HeaderSurvey.d.ts +0 -11
- package/dist/components/Input/TextAreaComponent.d.ts +0 -8
- package/dist/containers/ConductOneToOne/components/SimpleDialog.d.ts +0 -3
- package/dist/containers/ConferenceRubric/components/SimpleDialog.d.ts +0 -3
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +0 -3
- package/dist/containers/MyOneToOne/hooks/useNoteSession.d.ts +0 -15
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +0 -3
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +0 -3
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +0 -8
- package/dist/containers/MySurvey/constants/types.d.ts +0 -41
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +0 -9
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/contants/types.d.ts +0 -5
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +0 -5
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
export declare enum TypeTime {
|
|
3
|
+
Default = 0,
|
|
4
|
+
StartTime = 1,
|
|
5
|
+
StopTime = 2
|
|
6
|
+
}
|
|
2
7
|
interface Props {
|
|
3
8
|
text: string;
|
|
4
9
|
isShowButtonBackGround?: boolean;
|
|
5
10
|
onFinishSession?: Function;
|
|
6
11
|
goBack?: Function;
|
|
7
12
|
isShowButtonPageHeader?: boolean;
|
|
13
|
+
typeTime?: TypeTime;
|
|
14
|
+
onStartOrStopTime?: Function;
|
|
15
|
+
second?: number;
|
|
16
|
+
minute?: number;
|
|
17
|
+
hour?: number;
|
|
18
|
+
isTeacher?: boolean;
|
|
8
19
|
}
|
|
9
20
|
declare const HeaderComponent: FC<Props>;
|
|
10
21
|
export default HeaderComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleListAboutMyLearning: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleList: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const getDataActionPointApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const postDataActionPointApi: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getDataClassNameApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const putIsDoneApi: (id: any, isDone: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateIsDone: (dispatch: any, id: any, isDone: any) => Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useCard: (actionPoints: any) => {
|
|
3
|
+
actionId: number;
|
|
4
|
+
clickOpenEdit: (actionPointId: any) => Promise<void>;
|
|
5
|
+
handleChangeIsDone: (_id: any, index: any) => Promise<void>;
|
|
6
|
+
refConduct: import("react").MutableRefObject<any>;
|
|
7
|
+
};
|
|
8
|
+
export default useCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDataActionPoint: (dispatch: any, filter: any) => Promise<any>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const useDialogRequest: (_props: any, ref: any) => {
|
|
3
|
+
open: any;
|
|
4
|
+
isTeacher: any;
|
|
5
|
+
classList: never[];
|
|
6
|
+
formData: any;
|
|
7
|
+
changeFormData: (updatedForm: any) => void;
|
|
8
|
+
changeTitle: (e: any) => void;
|
|
9
|
+
handleDateChange: (date: any) => void;
|
|
10
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
11
|
+
value: unknown;
|
|
12
|
+
}>) => void;
|
|
13
|
+
handleChangeNotiDuration: (e: React.ChangeEvent<{
|
|
14
|
+
value: unknown;
|
|
15
|
+
}>) => void;
|
|
16
|
+
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
17
|
+
value: unknown;
|
|
18
|
+
}>) => void;
|
|
19
|
+
handleCreate: () => Promise<void>;
|
|
20
|
+
handleClickClose: () => void;
|
|
21
|
+
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
+
submitUpdate: () => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export default useDialogRequest;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FORM_REQUEST } from "../../../constants/types";
|
|
2
|
+
export declare const getDataClassName: (dispatch: any) => Promise<any>;
|
|
3
|
+
export declare const createActionPoint: (dispatch: any, formData: FORM_REQUEST) => Promise<void>;
|
|
4
|
+
export declare const getActionPointById: (dispatch: any, id: any) => Promise<any>;
|
|
5
|
+
export declare const updateActionPoint: (dispatch: any, id: any, formData: any) => Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const useDoneList: () => {
|
|
2
|
+
dataDoneList: any;
|
|
3
|
+
deadline: string;
|
|
4
|
+
classList: never[];
|
|
5
|
+
handleChangeDeadline: (e: React.ChangeEvent<{
|
|
6
|
+
value: unknown;
|
|
7
|
+
}>) => void;
|
|
8
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
9
|
+
value: unknown;
|
|
10
|
+
}>) => void;
|
|
11
|
+
changeFilters: (updateFilters: any) => void;
|
|
12
|
+
filters: any;
|
|
13
|
+
};
|
|
14
|
+
export default useDoneList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const useTodoList: () => {
|
|
2
|
+
filters: any;
|
|
3
|
+
classList: never[];
|
|
4
|
+
changeFilters: (updateFilters: any) => void;
|
|
5
|
+
dataActionPoint: any;
|
|
6
|
+
deadline: string;
|
|
7
|
+
handleChangeDeadline: (e: React.ChangeEvent<{
|
|
8
|
+
value: unknown;
|
|
9
|
+
}>) => void;
|
|
10
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
11
|
+
value: unknown;
|
|
12
|
+
}>) => void;
|
|
13
|
+
handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
};
|
|
15
|
+
export default useTodoList;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface SIMPLE_DIALOG {
|
|
2
|
+
open: boolean;
|
|
3
|
+
selectedValue: string;
|
|
4
|
+
onClose: (value: string) => void;
|
|
5
|
+
setStudentId?: Function;
|
|
6
|
+
onClickStartQuestion?: Function;
|
|
7
|
+
studentId?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface FILTER_SESSION {
|
|
10
|
+
searchString?: string;
|
|
11
|
+
startTime?: any;
|
|
12
|
+
endTime?: any;
|
|
13
|
+
isDone?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface FORM_REQUEST {
|
|
17
|
+
studentId?: number;
|
|
18
|
+
teacherId?: number;
|
|
19
|
+
title?: string;
|
|
20
|
+
class?: string;
|
|
21
|
+
deadline?: number;
|
|
22
|
+
notiCount?: number;
|
|
23
|
+
notiDuration?: string;
|
|
24
|
+
isDone?: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FILTER_STUDENT_SESSION } from "../constant/type";
|
|
2
|
+
declare const useListActivity: () => {
|
|
3
|
+
getActivityListData: () => Promise<void>;
|
|
4
|
+
goalActivityList: never[];
|
|
5
|
+
filters: FILTER_STUDENT_SESSION;
|
|
6
|
+
changeFilters: (updateFilters: any) => void;
|
|
7
|
+
};
|
|
8
|
+
export default useListActivity;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type CircleType = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useListDetailActivity: () => {
|
|
9
|
+
myGoalCircle: CircleType;
|
|
10
|
+
setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
|
|
11
|
+
acticityId: number;
|
|
12
|
+
setActivityId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
13
|
+
OPTIONS_TYPE: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
color: string;
|
|
17
|
+
}[];
|
|
18
|
+
file: any;
|
|
19
|
+
setFile: import("react").Dispatch<any>;
|
|
20
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
21
|
+
getData: () => Promise<void>;
|
|
22
|
+
deleteActivity: (studentId: number, activityId: number) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export default useListDetailActivity;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getTotalActivityCount: () => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const get: (studentId: number, filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (studentId: number, activityId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (studentId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (studentId: number, activityId: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (studentId: number, activityId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const systemProfileUpload: (formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -17,6 +17,11 @@ export declare enum QuestionType {
|
|
|
17
17
|
Rating = "Rating",
|
|
18
18
|
LearningStrategy = "LearningStrategy"
|
|
19
19
|
}
|
|
20
|
+
export declare enum TypeTime {
|
|
21
|
+
Default = 0,
|
|
22
|
+
StartTime = 1,
|
|
23
|
+
StopTime = 2
|
|
24
|
+
}
|
|
20
25
|
export interface LearningStrategyType {
|
|
21
26
|
id?: number;
|
|
22
27
|
text: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LearningStrategyType, LearningStrategyCategory } from "../constant/types";
|
|
2
|
+
import { LearningStrategyType, LearningStrategyCategory, TypeTime } from "../constant/types";
|
|
3
3
|
declare const useConductOne: () => {
|
|
4
4
|
currentUser: any;
|
|
5
5
|
isTeacher: any;
|
|
@@ -19,5 +19,11 @@ declare const useConductOne: () => {
|
|
|
19
19
|
setLength: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
20
20
|
startTime: string;
|
|
21
21
|
informationUser: any;
|
|
22
|
+
onStartOrStopTime: (typeTime: TypeTime) => Promise<void>;
|
|
23
|
+
typeTime: TypeTime;
|
|
24
|
+
timeSession: number;
|
|
25
|
+
hour: number;
|
|
26
|
+
minute: number;
|
|
27
|
+
second: number;
|
|
22
28
|
};
|
|
23
29
|
export default useConductOne;
|
|
@@ -9,6 +9,8 @@ export interface FILTER_STUDENT_SESSION {
|
|
|
9
9
|
endDate?: number;
|
|
10
10
|
isDone?: boolean;
|
|
11
11
|
isDescending?: boolean;
|
|
12
|
+
studentUserId?: any;
|
|
13
|
+
type?: string;
|
|
12
14
|
}
|
|
13
15
|
export interface FILTER_SESSION {
|
|
14
16
|
currentPage: number;
|
|
@@ -69,7 +71,7 @@ export interface QuestionAnswer {
|
|
|
69
71
|
export declare enum OrderByStudent {
|
|
70
72
|
id = 0,
|
|
71
73
|
name = 1,
|
|
72
|
-
|
|
74
|
+
type = 2,
|
|
73
75
|
lastOneToOne = 3,
|
|
74
76
|
lastConference = 4,
|
|
75
77
|
totalTime = 5
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getAllLearningStrategy: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const createLearningStrategy: (data: any, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getLearningStrategyById: (id: number, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const updateLearningStrategy: (id: number, data: any, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const deleteLearningStrategyById: (id: number, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const allowEdit: (id: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const getAllowEdit: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useLearningStrategy: () => {
|
|
3
|
+
deleteItem: (id: number, studentId: number) => Promise<void>;
|
|
4
|
+
updateAllow: (data: any, studentId: number) => Promise<void>;
|
|
5
|
+
setGetOneData: import("react").Dispatch<any>;
|
|
6
|
+
getAllow: (studentId: number) => Promise<void>;
|
|
7
|
+
getOneData: any;
|
|
8
|
+
toggleAllow: any;
|
|
9
|
+
getById: (id: number, studentId: number) => Promise<void>;
|
|
10
|
+
getAll: (filters: any) => Promise<void>;
|
|
11
|
+
create: (data: any, studentId: string) => Promise<void>;
|
|
12
|
+
update: (id: number, data: any, studentId: number) => Promise<void>;
|
|
13
|
+
data: any;
|
|
14
|
+
setData: import("react").Dispatch<any>;
|
|
15
|
+
};
|
|
16
|
+
export default useLearningStrategy;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const useEditLearningStrategies: () => {
|
|
2
|
+
learningStrategyData: any;
|
|
3
|
+
selectLearning: (checked: boolean, data: any) => void;
|
|
4
|
+
handleChangeNote: (e: string, index: number) => void;
|
|
5
|
+
changeFilters: (e: string) => void;
|
|
6
|
+
filters: {
|
|
7
|
+
studentId: any;
|
|
8
|
+
isShowChoose: boolean;
|
|
9
|
+
searchString: string;
|
|
10
|
+
};
|
|
11
|
+
selectData: any;
|
|
12
|
+
handleAddLearningStrategy: () => Promise<void>;
|
|
13
|
+
backToLearningStrategy: () => void;
|
|
14
|
+
};
|
|
15
|
+
export default useEditLearningStrategies;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const useEditLearningStrategies: () => {
|
|
2
|
+
open: boolean;
|
|
3
|
+
handleClickOpen: (id: any) => void;
|
|
4
|
+
handleClose: () => void;
|
|
5
|
+
handleChangeNote: (e: any) => void;
|
|
6
|
+
learningStrategyData: any;
|
|
7
|
+
handleDelete: (id: number) => Promise<void>;
|
|
8
|
+
handleUpdateAllow: (e: boolean) => void;
|
|
9
|
+
toggleAllow: any;
|
|
10
|
+
studentId: any;
|
|
11
|
+
getOneData: any;
|
|
12
|
+
updateItem: () => void;
|
|
13
|
+
};
|
|
14
|
+
export default useEditLearningStrategies;
|
|
@@ -9,6 +9,9 @@ export interface FILTER_STUDENT_SESSION {
|
|
|
9
9
|
endDate?: number;
|
|
10
10
|
isDone?: boolean;
|
|
11
11
|
isDescending?: boolean;
|
|
12
|
+
currentId?: number;
|
|
13
|
+
showAssistant?: boolean;
|
|
14
|
+
onlyShowWorkAsAssistant?: boolean;
|
|
12
15
|
}
|
|
13
16
|
export interface FILTER_SESSION {
|
|
14
17
|
currentPage: number;
|
|
@@ -41,6 +44,7 @@ export interface SESSION_TYPE {
|
|
|
41
44
|
studentProfile?: any;
|
|
42
45
|
sortOrder?: string;
|
|
43
46
|
teacherResultId?: number;
|
|
47
|
+
isWorkAsAssistant?: boolean;
|
|
44
48
|
}
|
|
45
49
|
export interface STUDENT_PROFILE {
|
|
46
50
|
id: number;
|
|
@@ -5,5 +5,6 @@ declare const useStudentList: () => {
|
|
|
5
5
|
filters: FILTER_STUDENT_SESSION;
|
|
6
6
|
importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
|
|
7
7
|
getData: () => Promise<void>;
|
|
8
|
+
selectAssistStudent: (studentId: number) => Promise<void>;
|
|
8
9
|
};
|
|
9
10
|
export default useStudentList;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const createDataNoteApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
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>>;
|
|
4
|
+
export declare const deleteItemNoteApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const getDataStudentApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const updateFavoriteApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const getDataAllNoteApi: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
3
|
declare const useNote: () => {
|
|
3
4
|
changeEndDate: (date: MaterialUiPickersDate | null) => void;
|
|
4
5
|
changeStartDate: (date: MaterialUiPickersDate | null) => void;
|
|
5
6
|
startDate: any;
|
|
6
7
|
endDate: any;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
allNoteList: any;
|
|
9
|
+
onChangeSearch: (e: any) => void;
|
|
10
|
+
search: string;
|
|
11
|
+
onClickFavorite: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
addNoteLink: () => void;
|
|
13
|
+
viewItemNoteLink: (id: number) => void;
|
|
14
|
+
viewListNote: () => void;
|
|
15
|
+
inputSearch: import("react").MutableRefObject<any>;
|
|
16
|
+
updateFavorite: (id: number, favorite: boolean) => Promise<void>;
|
|
9
17
|
};
|
|
10
18
|
export default useNote;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const useNoteAdd: () => {
|
|
2
|
+
dataTeacherOrStudent: any;
|
|
3
|
+
onChangeSetData: (e: any) => void;
|
|
4
|
+
addDataNote: () => Promise<void>;
|
|
5
|
+
onChangeSetDataNoteDetail: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
onChangeGetIdStudent: (_: any, id: number) => void;
|
|
7
|
+
valueNoteAdd: string;
|
|
8
|
+
noteDetail: string;
|
|
9
|
+
viewListNote: () => void;
|
|
10
|
+
onChangeSetDataUpdateText: (e: any) => void;
|
|
11
|
+
itemViewUpdate: any;
|
|
12
|
+
onChangeGetIdStudentUpdate: (_: any, id: any) => void;
|
|
13
|
+
onChangeSetDataNoteDetailUpdateTitle: (e: any) => void;
|
|
14
|
+
getItemNoteHook: () => Promise<void>;
|
|
15
|
+
itemView: any;
|
|
16
|
+
deleteItemHook: () => Promise<void>;
|
|
17
|
+
editNote: () => void;
|
|
18
|
+
updateDataNote: () => Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
export default useNoteAdd;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const createDataNote: (dispatch: any, data: any) => Promise<void>;
|
|
2
|
+
export declare const getDataAllNote: (dispatch: any, data: any) => Promise<any>;
|
|
3
|
+
export declare const getDataStudent: (dispatch: any) => Promise<any>;
|
|
4
|
+
export declare const getItemNote: (dispatch: any, id: number) => Promise<any>;
|
|
5
|
+
export declare const deleteItem: (dispatch: any, id: number) => Promise<void>;
|
|
6
|
+
export declare const updateNoteItem: (dispatch: any, id: number, data: any) => Promise<void>;
|
|
7
|
+
export declare const updateFavoriteItem: (dispatch: any, data: any) => Promise<void>;
|
|
@@ -17,7 +17,6 @@ declare const usePersonalInterest: () => {
|
|
|
17
17
|
fileAvatarEdit: string;
|
|
18
18
|
deleteData: (id: number) => void;
|
|
19
19
|
handOpenModal: () => void;
|
|
20
|
-
handCloseModalEdit: () => void;
|
|
21
20
|
handCloseModalDelete: () => void;
|
|
22
21
|
value: string;
|
|
23
22
|
fileAvatar: string;
|
|
@@ -32,5 +31,6 @@ declare const usePersonalInterest: () => {
|
|
|
32
31
|
};
|
|
33
32
|
onChangeSetDataEdit: (e: any) => void;
|
|
34
33
|
onChangeSetDataEditNote: (e: any) => void;
|
|
34
|
+
deleteDataItemEdit: () => Promise<void>;
|
|
35
35
|
};
|
|
36
36
|
export default usePersonalInterest;
|
|
@@ -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;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const useSettingPage: () => {
|
|
2
2
|
handleChangeRadio: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
3
|
-
|
|
3
|
+
dataGet: any;
|
|
4
|
+
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
+
saveSetting: () => Promise<void>;
|
|
4
6
|
};
|
|
5
7
|
export default useSettingPage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const listStrengthsChallengesFits: string[];
|