mario-teacher-student-client 2.0.10 → 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/Circle/Circle.d.ts +11 -0
- package/dist/components/Circle/ItemCircle.d.ts +7 -0
- package/dist/components/Header/HeaderComponent.d.ts +11 -0
- package/dist/components/Header/HeaderLearningPlan.d.ts +12 -0
- package/dist/components/layouts/HeaderSideBar.d.ts +4 -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/ConductOneToOne/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +3 -0
- package/dist/containers/FriendCircle/constants/types.d.ts +103 -0
- package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +20 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
- package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +4 -0
- package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
- package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +3 -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/MyConferences/hooks/useUpComing.d.ts +0 -1
- package/dist/containers/MyOneToOne/components/SliderRange.d.ts +2 -0
- package/dist/containers/MyOneToOne/components/UiCompletedOneToOne.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -3
- package/dist/containers/MyOneToOne/hooks/useUpComing.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +4 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +3 -0
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +0 -5
- package/dist/containers/MyStudent/constants/types.d.ts +10 -0
- package/dist/containers/MyStudent/hooks/useStudentConference.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -1
- package/dist/containers/Note/apiClient/index.d.ts +7 -0
- package/dist/containers/Note/components/AddNew.d.ts +3 -0
- package/dist/containers/Note/components/EditNote.d.ts +3 -0
- package/dist/containers/Note/components/Note.d.ts +3 -0
- package/dist/containers/Note/components/ViewItemNote.d.ts +3 -0
- package/dist/containers/Note/hook/useNote.d.ts +18 -0
- 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 +7 -0
- package/dist/containers/SettingPageV1/servies/index.d.ts +2 -0
- package/dist/containers/SettingPageV1/view/SettingPage.d.ts +2 -0
- package/dist/containers/StrengthsAndChallenges/constants/listStrengthsChallengesBestFits.d.ts +1 -0
- package/dist/index.css +2155 -27
- package/dist/index.d.ts +22 -2
- package/dist/index.js +26281 -18284
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +26365 -18387
- package/dist/index.modern.js.map +1 -1
- package/dist/services/ConductOneToOne.d.ts +3 -0
- package/dist/services/MyStudent.d.ts +8 -0
- package/dist/services/myFriendGoalService.d.ts +6 -0
- package/package.json +104 -102
- package/dist/containers/ConductOneToOne/components/SimpleDialog.d.ts +0 -3
- package/dist/containers/ConferenceRubric/components/SimpleDialog.d.ts +0 -3
- package/dist/containers/MyOneToOne/hooks/useNoteSession.d.ts +0 -15
- 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/personalInterestApi.d.ts +0 -6
- package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +0 -6
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +0 -36
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
numberFriend: number;
|
|
5
|
+
background: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
key?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const Circle: ({ title, numberFriend, width, height, background, key }: Props) => JSX.Element;
|
|
11
|
+
export default Circle;
|
|
@@ -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,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
text: string;
|
|
4
|
+
isShowButtonBackGround?: boolean;
|
|
5
|
+
onRedirect?: Function;
|
|
6
|
+
goBack?: Function;
|
|
7
|
+
isShowButtonPageHeader?: boolean;
|
|
8
|
+
textButton: string;
|
|
9
|
+
setIsCreate?: any;
|
|
10
|
+
}
|
|
11
|
+
declare const HeaderLearningPlan: FC<Props>;
|
|
12
|
+
export default HeaderLearningPlan;
|
|
@@ -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;
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
studentUserId?: any;
|
|
13
|
+
type?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface FILTER_SESSION {
|
|
16
|
+
currentPage: number;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
searchString: string;
|
|
19
|
+
sortBy: string;
|
|
20
|
+
sortOrder?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
startDate?: number;
|
|
23
|
+
endDate?: number;
|
|
24
|
+
isDone?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface SESSION_TYPE {
|
|
27
|
+
id: string;
|
|
28
|
+
studentId: string;
|
|
29
|
+
teacherId: number;
|
|
30
|
+
startTime: string;
|
|
31
|
+
minutes?: number;
|
|
32
|
+
isDoing?: boolean;
|
|
33
|
+
isDone?: boolean;
|
|
34
|
+
isCreatedByTeacher?: boolean;
|
|
35
|
+
isFavourite: boolean;
|
|
36
|
+
isTeacherFavourite: boolean;
|
|
37
|
+
isTeacherDone?: boolean;
|
|
38
|
+
teacherName?: string;
|
|
39
|
+
studentAvatar?: string;
|
|
40
|
+
studentName?: string;
|
|
41
|
+
gradeLevel?: any;
|
|
42
|
+
finalScore?: any;
|
|
43
|
+
studentProfile?: any;
|
|
44
|
+
sortOrder?: string;
|
|
45
|
+
teacherResultId?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface STUDENT_PROFILE {
|
|
48
|
+
id: number;
|
|
49
|
+
userId: string;
|
|
50
|
+
name: string;
|
|
51
|
+
avatar: string;
|
|
52
|
+
classes: string[];
|
|
53
|
+
}
|
|
54
|
+
export interface CLASS_REFLECTION {
|
|
55
|
+
id: number;
|
|
56
|
+
classDate: string;
|
|
57
|
+
classType: string;
|
|
58
|
+
status: string;
|
|
59
|
+
teacherName: string;
|
|
60
|
+
isDone: string;
|
|
61
|
+
classImpactScore?: string;
|
|
62
|
+
studentAvatar?: string;
|
|
63
|
+
teacherAvatar?: string;
|
|
64
|
+
IsDescending?: boolean;
|
|
65
|
+
studentName?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface QuestionAnswer {
|
|
68
|
+
id: number;
|
|
69
|
+
answer: string;
|
|
70
|
+
}
|
|
71
|
+
export declare enum OrderByStudent {
|
|
72
|
+
id = 0,
|
|
73
|
+
name = 1,
|
|
74
|
+
type = 2,
|
|
75
|
+
lastOneToOne = 3,
|
|
76
|
+
lastConference = 4,
|
|
77
|
+
totalTime = 5
|
|
78
|
+
}
|
|
79
|
+
export interface ActionPointType {
|
|
80
|
+
id?: string;
|
|
81
|
+
text: string;
|
|
82
|
+
}
|
|
83
|
+
export interface FILTER_STUDENT_WELLBEING {
|
|
84
|
+
startDate?: number;
|
|
85
|
+
endDate?: number;
|
|
86
|
+
}
|
|
87
|
+
export interface FILTER_LEARNING {
|
|
88
|
+
currentPage: number;
|
|
89
|
+
pageSize: number;
|
|
90
|
+
searchString: string;
|
|
91
|
+
sortBy: string;
|
|
92
|
+
sortOrder?: string;
|
|
93
|
+
startDate?: number;
|
|
94
|
+
endDate?: number;
|
|
95
|
+
studentId?: number;
|
|
96
|
+
}
|
|
97
|
+
export interface LEARNING_PLAN {
|
|
98
|
+
id: number;
|
|
99
|
+
modifyTime: string;
|
|
100
|
+
createTime: string;
|
|
101
|
+
profileImageTeacher: string;
|
|
102
|
+
teacherName: string;
|
|
103
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type CircleType = {
|
|
3
|
+
id: number;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useListDetail: () => {
|
|
9
|
+
myGoalCircle: CircleType;
|
|
10
|
+
setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
|
|
11
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
12
|
+
friendId: number;
|
|
13
|
+
setfriendId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
14
|
+
OPTIONS_TYPE: {
|
|
15
|
+
value: string;
|
|
16
|
+
label: string;
|
|
17
|
+
color: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
export default useListDetail;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
|
+
declare const useListFriend: () => {
|
|
3
|
+
goalFriendList: never[];
|
|
4
|
+
changeFilters: (updatedFilters: any) => void;
|
|
5
|
+
filters: FILTER_STUDENT_SESSION;
|
|
6
|
+
getData: () => Promise<void>;
|
|
7
|
+
};
|
|
8
|
+
export default useListFriend;
|
|
@@ -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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const DialogNodes: (props: any) => JSX.Element;
|
|
3
|
+
export default DialogNodes;
|
|
@@ -20,6 +20,5 @@ declare const useUpComing: () => {
|
|
|
20
20
|
getAllNoteConference: (sessionId: any) => Promise<void>;
|
|
21
21
|
updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
|
|
22
22
|
deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
|
|
23
|
-
studentNameReq: string | null;
|
|
24
23
|
};
|
|
25
24
|
export default useUpComing;
|