mario-teacher-student-client 2.2.621-feedback → 2.2.622-feedback
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/Button/NodeDraggable.d.ts +7 -0
- package/dist/components/selector/TopicSelector.d.ts +8 -0
- package/dist/components/selector/hooks/useTopicSelector.d.ts +17 -0
- package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +3 -0
- package/dist/containers/AboutMyLearning/components/AboutMyLearningDialog.d.ts +4 -0
- package/dist/containers/AboutMyLearning/components/AboutMyLearningList.d.ts +3 -0
- package/dist/containers/AboutMyLearning/constants/constants.d.ts +7 -0
- package/dist/containers/AboutMyLearning/constants/listTitleAboutMyLearning.d.ts +1 -0
- package/dist/containers/AboutMyLearning/constants/type.d.ts +20 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +32 -0
- package/dist/containers/ActionPoint/api/apiClient.d.ts +7 -0
- package/dist/containers/ActionPoint/components/CardItem/hooks/useCardItem.d.ts +8 -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 +11 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useCard.d.ts +9 -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 +40 -0
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +6 -0
- package/dist/containers/ActionPoint/components/Dialogs/views/DialogRequestActionPoint.d.ts +3 -0
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +17 -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 +22 -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/function.d.ts +2 -0
- package/dist/containers/ActionPoint/constants/types.d.ts +36 -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 +9 -0
- package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +30 -0
- package/dist/containers/ActivityCircle/hooks/useTotalActivity.d.ts +5 -0
- package/dist/containers/ActivityCircle/services/ActivityCircleService.d.ts +8 -0
- package/dist/containers/ActivityCircle/views/ActivityCircleLearning.d.ts +3 -0
- package/dist/containers/ActivityCircle/views/ListActivityLearning.d.ts +3 -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 +23 -0
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +10 -0
- package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +5 -0
- package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
- package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +3 -0
- package/dist/containers/GoalPage/apiClient/apiGoals.d.ts +8 -0
- package/dist/containers/GoalPage/components/CardItem/CardGoalItem.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/CardRateGoal.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/CardWarning.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/StatusTargetComponent.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/TargetItem.d.ts +4 -0
- package/dist/containers/GoalPage/components/CreateGoalModel.d.ts +4 -0
- package/dist/containers/GoalPage/components/CustomInputDatePicker.d.ts +4 -0
- package/dist/containers/GoalPage/components/FilterGoalPage.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/BaseLine.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ChooseArea.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/DetailFormCreate.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ModelPickTarget.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ModelSelectCategory.d.ts +4 -0
- package/dist/containers/GoalPage/constants/constants.d.ts +211 -0
- package/dist/containers/GoalPage/hook/useGoals.d.ts +39 -0
- package/dist/containers/GoalPage/styles/makeStyles.d.ts +1 -0
- package/dist/containers/GoalPage/types/types.d.ts +130 -0
- package/dist/containers/GoalPage/views/MyGoals.d.ts +4 -0
- package/dist/containers/Goals/components/EditBaseLine.d.ts +3 -0
- package/dist/containers/Goals/components/EditCheckPoint.d.ts +3 -0
- package/dist/containers/Goals/components/EditDetail.d.ts +4 -0
- package/dist/containers/Goals/components/GoalDetail.d.ts +3 -0
- package/dist/containers/Goals/components/GoalList.d.ts +3 -0
- package/dist/containers/Goals/components/Goals.d.ts +8 -0
- package/dist/containers/Goals/components/NewGoal.d.ts +3 -0
- package/dist/containers/Goals/constants/type.d.ts +21 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +19 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +15 -0
- package/dist/containers/Home/components/Dashboard.d.ts +3 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +8 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +28 -0
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +22 -0
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +30 -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/LearningStrategiesMobileItem.d.ts +16 -0
- package/dist/containers/LearningStrategies/view/LearningStrategiesSave.d.ts +2 -0
- package/dist/containers/MyOneToOne/hooks/useCheckInAndOneToOne.d.ts +13 -0
- package/dist/containers/MyOneToOne/views/CheckInAndOneToOne.d.ts +3 -0
- package/dist/containers/MyStudent/components/OverviewWellbeing.d.ts +7 -0
- package/dist/containers/SettingsPage/components/NotificationsPage.d.ts +2 -0
- package/dist/containers/SettingsPage/constants/types.d.ts +7 -0
- package/dist/containers/SettingsPage/hooks/useSettingPage.d.ts +11 -0
- package/dist/containers/StrengthsAndChallenges/components/dialogs/CreateEditDialog.d.ts +3 -0
- package/dist/containers/StrengthsAndChallenges/constants/constants.d.ts +4 -0
- package/dist/containers/StrengthsAndChallenges/constants/listStrengthsChallengesBestFits.d.ts +1 -0
- package/dist/containers/StrengthsAndChallenges/constants/type.d.ts +7 -0
- package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +17 -0
- package/dist/containers/StrengthsAndChallenges/views/DetailStrengthsAndChallenges.d.ts +3 -0
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +9 -0
- package/dist/containers/ThingTeachersCanHelp/components/CreateThinkTeacherCanHelp.d.ts +4 -0
- package/dist/containers/ThingTeachersCanHelp/components/TeachingStrategiesAdd.d.ts +3 -0
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +4 -0
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelpList.d.ts +3 -0
- package/dist/containers/ThingTeachersCanHelp/constants/data.d.ts +7 -0
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +27 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useTeachingStrategiesAdd.d.ts +22 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +30 -0
- package/package.json +2 -2
- package/dist/components/Autocomplete/AutocompleteField.d.ts +0 -13
- package/dist/components/DatePicker/DatePickerField.d.ts +0 -11
- package/dist/components/DatePicker/FilterDateRange.d.ts +0 -11
- package/dist/components/Progress/LinearProgress.d.ts +0 -6
- package/dist/components/selector/CalendarSelect.d.ts +0 -14
- package/dist/containers/PLP/components/BarChart.d.ts +0 -12
- package/dist/containers/PLP/components/ConcernMetricTab.d.ts +0 -4
- package/dist/containers/PLP/components/ConversationTab.d.ts +0 -4
- package/dist/containers/PLP/components/DesktopFilterComponent.d.ts +0 -4
- package/dist/containers/PLP/components/GeneratePlpChart.d.ts +0 -4
- package/dist/containers/PLP/components/GenerateTrendQuestion.d.ts +0 -4
- package/dist/containers/PLP/components/GraphTrend.d.ts +0 -4
- package/dist/containers/PLP/components/LearningProgressTab.d.ts +0 -4
- package/dist/containers/PLP/components/MobileFilterComponent.d.ts +0 -4
- package/dist/containers/PLP/components/ModelSkillStudent.d.ts +0 -4
- package/dist/containers/PLP/components/OpenFieldTab.d.ts +0 -4
- package/dist/containers/PLP/components/ReadinessToLearnTab.d.ts +0 -4
- package/dist/containers/PLP/components/SuccessIndicatorTab.d.ts +0 -4
- package/dist/containers/PLP/components/TotalCard.d.ts +0 -4
- package/dist/containers/PLP/hooks/useLowMetric.d.ts +0 -6
- package/dist/utils/colors.d.ts +0 -2
- /package/dist/containers/ConductOneToOne/components/{CheckInInformation.d.ts → CheckinInformation.d.ts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (val: string) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const splitKey = "-!#~#!%%-";
|
|
8
|
+
export declare const useTopicSelector: (props: Props) => {
|
|
9
|
+
defaultValue: any;
|
|
10
|
+
isOpen: boolean | undefined;
|
|
11
|
+
options: any[];
|
|
12
|
+
ref: import("react").RefObject<HTMLDivElement>;
|
|
13
|
+
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
|
14
|
+
handleChangeValue: (val: any) => void;
|
|
15
|
+
handleToggleOpen: () => void;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleListAboutMyLearning: string[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface ABOUT_MY_LEARNING {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
type: string;
|
|
6
|
+
sectionFields: any;
|
|
7
|
+
}
|
|
8
|
+
export interface ABOUT_MY_LEARNING_DIALOG {
|
|
9
|
+
onClose: Function;
|
|
10
|
+
setOpen: Function;
|
|
11
|
+
selectedValue?: string;
|
|
12
|
+
open: boolean;
|
|
13
|
+
idItem?: number;
|
|
14
|
+
create: Function;
|
|
15
|
+
update: Function;
|
|
16
|
+
getById: Function;
|
|
17
|
+
dataItem: any;
|
|
18
|
+
setDataItem: any;
|
|
19
|
+
onDelete: Function;
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useAboutMyLearning: () => {
|
|
3
|
+
create: (data: any) => Promise<void>;
|
|
4
|
+
update: (id: number, data: any) => Promise<void>;
|
|
5
|
+
getById: (id: number) => Promise<void>;
|
|
6
|
+
deleteById: (id: number) => Promise<void>;
|
|
7
|
+
updateAllow: (data: any) => Promise<void>;
|
|
8
|
+
listData: any;
|
|
9
|
+
dataItem: {
|
|
10
|
+
id: null;
|
|
11
|
+
title: string;
|
|
12
|
+
sectionFields: {
|
|
13
|
+
title: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
isAllowedEdit: boolean;
|
|
17
|
+
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
18
|
+
studentId: any;
|
|
19
|
+
isTeacher: any;
|
|
20
|
+
setDataItem: import("react").Dispatch<import("react").SetStateAction<{
|
|
21
|
+
id: null;
|
|
22
|
+
title: string;
|
|
23
|
+
sectionFields: {
|
|
24
|
+
title: string;
|
|
25
|
+
}[];
|
|
26
|
+
}>>;
|
|
27
|
+
classFontSize: string;
|
|
28
|
+
nameStudent: string;
|
|
29
|
+
isParent: any;
|
|
30
|
+
getAllow: () => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
export default useAboutMyLearning;
|
|
@@ -0,0 +1,7 @@
|
|
|
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) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useCardItem: (actionPoints: any) => {
|
|
2
|
+
clickOpenEdit: (actionPointId: any, refConduct: any) => Promise<void>;
|
|
3
|
+
actionId: number;
|
|
4
|
+
handleChangeIsDone: (id: any) => Promise<void>;
|
|
5
|
+
data: any;
|
|
6
|
+
classFontSize: string;
|
|
7
|
+
};
|
|
8
|
+
export default useCardItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const updateIsDone: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useActionPointsDB: () => {
|
|
3
|
+
listData: any;
|
|
4
|
+
openDialog: import("react").MutableRefObject<any>;
|
|
5
|
+
clickOpenModal: () => void;
|
|
6
|
+
onReloading: () => void;
|
|
7
|
+
classFontSize: string;
|
|
8
|
+
getData: () => Promise<void>;
|
|
9
|
+
setListData: import("react").Dispatch<any>;
|
|
10
|
+
};
|
|
11
|
+
export default useActionPointsDB;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useCard: () => {
|
|
3
|
+
actionId: number;
|
|
4
|
+
clickOpenEdit: (actionPointId: any) => Promise<void>;
|
|
5
|
+
handleChangeIsDone: (_id: any, onReloading: Function) => Promise<void>;
|
|
6
|
+
refConduct: import("react").MutableRefObject<any>;
|
|
7
|
+
classFontSize: string;
|
|
8
|
+
};
|
|
9
|
+
export default useCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDataActionPoint: (dispatch: any, filter: any) => Promise<any>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FORM_REQUEST } from "../../../constants/types";
|
|
3
|
+
declare type PropsType = {
|
|
4
|
+
actionId: number;
|
|
5
|
+
reloadRef: React.MutableRefObject<any>;
|
|
6
|
+
};
|
|
7
|
+
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
8
|
+
open: boolean;
|
|
9
|
+
isTeacher: any;
|
|
10
|
+
isAssistant: any;
|
|
11
|
+
isCounselor: any;
|
|
12
|
+
classList: never[];
|
|
13
|
+
formData: FORM_REQUEST;
|
|
14
|
+
changeFormData: (updatedForm: any) => void;
|
|
15
|
+
changeTitle: (e: any) => void;
|
|
16
|
+
handleDateChange: (date: any) => void;
|
|
17
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
18
|
+
value: unknown;
|
|
19
|
+
}>) => void;
|
|
20
|
+
handleChangeNotiDuration: (e: React.ChangeEvent<{
|
|
21
|
+
value: unknown;
|
|
22
|
+
}>) => void;
|
|
23
|
+
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
24
|
+
value: unknown;
|
|
25
|
+
}>) => void;
|
|
26
|
+
handleCreate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
27
|
+
handleClickClose: () => void;
|
|
28
|
+
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
29
|
+
submitUpdate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
30
|
+
handleDeleteItem: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
|
|
31
|
+
handleCloseNoti: () => void;
|
|
32
|
+
setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
|
|
33
|
+
notiSetting: string;
|
|
34
|
+
onSettingNotification: (e: any) => void;
|
|
35
|
+
titleValidate: boolean;
|
|
36
|
+
deadlineValidate: boolean;
|
|
37
|
+
setTitleValidate: React.Dispatch<React.SetStateAction<boolean>>;
|
|
38
|
+
setDeadlineValidate: React.Dispatch<React.SetStateAction<boolean>>;
|
|
39
|
+
};
|
|
40
|
+
export default useDialogRequest;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
6
|
+
export declare const deleteActionPoint: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
isTeacher: any;
|
|
14
|
+
isAssistant: any;
|
|
15
|
+
isCounselor: any;
|
|
16
|
+
};
|
|
17
|
+
export default useDoneList;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useTodoList: () => {
|
|
3
|
+
filters: any;
|
|
4
|
+
classList: never[];
|
|
5
|
+
changeFilters: (updateFilters: any) => void;
|
|
6
|
+
dataActionPoint: any;
|
|
7
|
+
deadline: string;
|
|
8
|
+
handleChangeDeadline: (e: React.ChangeEvent<{
|
|
9
|
+
value: unknown;
|
|
10
|
+
}>) => void;
|
|
11
|
+
handleChangeClassName: (e: React.ChangeEvent<{
|
|
12
|
+
value: unknown;
|
|
13
|
+
}>) => void;
|
|
14
|
+
handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
getActionPointList: () => Promise<void>;
|
|
16
|
+
isTeacher: any;
|
|
17
|
+
isAssistant: any;
|
|
18
|
+
isCounselor: any;
|
|
19
|
+
classFontSize: string;
|
|
20
|
+
inputSearch: import("react").MutableRefObject<any>;
|
|
21
|
+
};
|
|
22
|
+
export default useTodoList;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
roles?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface FORM_REQUEST {
|
|
18
|
+
title?: string;
|
|
19
|
+
class?: string;
|
|
20
|
+
deadline?: number | null;
|
|
21
|
+
notiCount?: number;
|
|
22
|
+
notiDuration?: string;
|
|
23
|
+
isDone?: boolean;
|
|
24
|
+
roles?: string[];
|
|
25
|
+
}
|
|
26
|
+
export interface IActionPoint {
|
|
27
|
+
deadline: number;
|
|
28
|
+
deadlineDate: string;
|
|
29
|
+
id: number;
|
|
30
|
+
isDone: boolean;
|
|
31
|
+
notiCount: number;
|
|
32
|
+
notiDuration: string;
|
|
33
|
+
reflectionId: number;
|
|
34
|
+
title: string;
|
|
35
|
+
class: any;
|
|
36
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
nameStudent: string;
|
|
8
|
+
};
|
|
9
|
+
export default useListActivity;
|
|
@@ -0,0 +1,30 @@
|
|
|
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: (cb?: any) => Promise<void>;
|
|
23
|
+
classFontSize: string;
|
|
24
|
+
ACTIVITY_LIST: {
|
|
25
|
+
id: number;
|
|
26
|
+
images: string;
|
|
27
|
+
text: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
export default useListDetailActivity;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const getTotalActivityCount: (studentId: number) => 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>>;
|
|
8
|
+
export declare const getStudentName: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -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,23 @@
|
|
|
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
|
+
onDeleteFriend: (cb: any) => Promise<void>;
|
|
20
|
+
classFontSize: string;
|
|
21
|
+
isParent: any;
|
|
22
|
+
};
|
|
23
|
+
export default useListDetail;
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
nameStudent: string;
|
|
8
|
+
isParent: any;
|
|
9
|
+
};
|
|
10
|
+
export default useListFriend;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IGoal, ITarget } from "../types/types";
|
|
2
|
+
export declare const createItem: (data: IGoal) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getAllItem: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const createCheckpoint: (id: number, studentId: number, data: ITarget[], roles: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const getOneItem: (goalId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const updateItem: (id: number, studentId: number, data: IGoal) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const rateItem: (id: number, studentId: number, rate: number, roles: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const deleteItem: (id: number, studentId: number, roles: string[]) => Promise<import("axios").AxiosResponse<any>>;
|