mario-teacher-student-client 2.1.6 → 2.1.7
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/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +2 -1
- package/dist/containers/Note/hook/useNote.d.ts +1 -0
- package/dist/containers/Note/hook/useNoteAdd.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/CardItemMobile/CardItemMobile.d.ts +2 -1
- package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +33 -2
- package/dist/index.css +1236 -649
- package/dist/index.js +403 -198
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +403 -198
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Header/HeaderSurvey.d.ts +0 -11
- package/dist/components/Input/TextAreaComponent.d.ts +0 -8
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +0 -3
- 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
|
@@ -6,6 +6,7 @@ interface PropsType {
|
|
|
6
6
|
note: string;
|
|
7
7
|
onDelete: Function;
|
|
8
8
|
onEdit: Function;
|
|
9
|
+
toggleAllow: boolean;
|
|
9
10
|
}
|
|
10
|
-
declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit }: PropsType) => JSX.Element;
|
|
11
|
+
declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit, toggleAllow }: PropsType) => JSX.Element;
|
|
11
12
|
export default LearningStrategiesMobileItem;
|
|
@@ -5,6 +5,7 @@ interface PropsType {
|
|
|
5
5
|
interestDescription?: string;
|
|
6
6
|
onDeleteItem?: Function;
|
|
7
7
|
onEditItem?: Function;
|
|
8
|
+
isAllowedEdit?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem }: PropsType) => JSX.Element;
|
|
10
|
+
declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem, isAllowedEdit }: PropsType) => JSX.Element;
|
|
10
11
|
export default CardItemMobile;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createDataPersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const uploadFilePersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const editDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const updateDataPersonalInterestApi: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createDataPersonalInterest: (dispatch: any, data: any) => Promise<void>;
|
|
2
|
+
export declare const getDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
3
|
+
export declare const upDateDataPersonalInterest: (dispatch: any, idupdate: number, dataUpload: any) => Promise<void>;
|
|
4
|
+
export declare const deleteataPersonalInterest: (dispatch: any, iddelete: number) => Promise<void>;
|
|
5
|
+
export declare const uploadFilePersonalInterest: (dispatch: any, file: string) => Promise<any>;
|
|
6
|
+
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
declare const usePersonalInterest: () => {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
upDateData: () => Promise<void>;
|
|
3
|
+
editData: (id: number) => Promise<void>;
|
|
4
|
+
sendDataCreate: () => Promise<void>;
|
|
5
|
+
deleteDataItem: () => Promise<void>;
|
|
6
|
+
handleClose: () => void;
|
|
7
|
+
handleCloseEdit: () => void;
|
|
8
|
+
handUpload: (e: any) => void;
|
|
9
|
+
handleCloseDelete: () => void;
|
|
10
|
+
dataList: any;
|
|
11
|
+
handUploadEdit: (e: any) => void;
|
|
12
|
+
openModal: boolean;
|
|
13
|
+
openModalDelete: boolean;
|
|
14
|
+
openModalEdit: boolean;
|
|
15
|
+
targetImage: any;
|
|
16
|
+
fileUploadEdit: string;
|
|
17
|
+
fileAvatarEdit: string;
|
|
18
|
+
deleteData: (id: number) => void;
|
|
19
|
+
handOpenModal: () => void;
|
|
20
|
+
handCloseModalEdit: () => void;
|
|
21
|
+
handCloseModalDelete: () => void;
|
|
22
|
+
value: string;
|
|
23
|
+
fileAvatar: string;
|
|
24
|
+
valueAddActivity: string;
|
|
25
|
+
onChangeSetData: (e: any) => void;
|
|
26
|
+
onChangeSetDataNote: (e: any) => void;
|
|
27
|
+
dataEdit: {
|
|
28
|
+
id: string;
|
|
29
|
+
Title: string;
|
|
30
|
+
Note: string;
|
|
31
|
+
studentId: string;
|
|
32
|
+
};
|
|
33
|
+
onChangeSetDataEdit: (e: any) => void;
|
|
34
|
+
onChangeSetDataEditNote: (e: any) => void;
|
|
4
35
|
};
|
|
5
36
|
export default usePersonalInterest;
|