mario-teacher-student-client 2.0.8 → 2.0.9
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/MyStudent/hooks/useStudentConference.d.ts +1 -1
- package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +1 -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.js +13 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Circle/Circle.d.ts +0 -11
- package/dist/components/Circle/ItemCircle.d.ts +0 -7
- package/dist/components/Header/HeaderLearningPlan.d.ts +0 -11
- package/dist/components/Header/HeaderSurvey.d.ts +0 -11
- package/dist/components/Input/TextAreaComponent.d.ts +0 -8
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +0 -8
- package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +0 -3
- package/dist/containers/FriendCircle/constants/types.d.ts +0 -101
- package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +0 -20
- package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +0 -8
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
- package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +0 -3
- package/dist/containers/FriendCircle/views/ListFriendCircle.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/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +0 -4
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.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/services/myFriendGoalService.d.ts +0 -5
|
@@ -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;
|
|
@@ -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;
|
package/dist/index.js
CHANGED
|
@@ -8201,8 +8201,8 @@ var DialogNodes = function DialogNodes(props) {
|
|
|
8201
8201
|
};
|
|
8202
8202
|
|
|
8203
8203
|
function areEqual(prevProps, nextProps) {
|
|
8204
|
-
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return
|
|
8205
|
-
return
|
|
8204
|
+
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return true;
|
|
8205
|
+
return false;
|
|
8206
8206
|
}
|
|
8207
8207
|
|
|
8208
8208
|
var DialogNodes$1 = React__default.memo(DialogNodes, areEqual);
|
|
@@ -8243,8 +8243,8 @@ var SimpleDialog$2 = function SimpleDialog(props) {
|
|
|
8243
8243
|
};
|
|
8244
8244
|
|
|
8245
8245
|
function areEqual$1(prevProps, nextProps) {
|
|
8246
|
-
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return
|
|
8247
|
-
return
|
|
8246
|
+
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return true;
|
|
8247
|
+
return false;
|
|
8248
8248
|
}
|
|
8249
8249
|
|
|
8250
8250
|
var SimpleDialog$3 = React__default.memo(SimpleDialog$2, areEqual$1);
|
|
@@ -12876,7 +12876,7 @@ var Overview = function Overview(props) {
|
|
|
12876
12876
|
return t.month;
|
|
12877
12877
|
}),
|
|
12878
12878
|
chartData: informationWellbeing === null || informationWellbeing === void 0 ? void 0 : informationWellbeing.overviewQuestionChoice.map(function (t) {
|
|
12879
|
-
return t.avgOfStudentChoice /
|
|
12879
|
+
return t.avgOfStudentChoice / 10;
|
|
12880
12880
|
})
|
|
12881
12881
|
}
|
|
12882
12882
|
};
|
|
@@ -13116,6 +13116,8 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13116
13116
|
sessionData = _useState[0],
|
|
13117
13117
|
setSessionData = _useState[1];
|
|
13118
13118
|
|
|
13119
|
+
var studentId = location.pathname.replace(/[^0-9]/g, "");
|
|
13120
|
+
|
|
13119
13121
|
var _useState2 = React.useState({
|
|
13120
13122
|
startDate: moment().subtract(30, 'days').valueOf(),
|
|
13121
13123
|
endDate: moment().add(7, "days").valueOf(),
|
|
@@ -13132,7 +13134,7 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13132
13134
|
return setFilter(_extends({}, filter, updatedFilters));
|
|
13133
13135
|
};
|
|
13134
13136
|
|
|
13135
|
-
var getStudentOneToOne = function getStudentOneToOne(
|
|
13137
|
+
var getStudentOneToOne = function getStudentOneToOne() {
|
|
13136
13138
|
try {
|
|
13137
13139
|
var _temp3 = function _temp3() {
|
|
13138
13140
|
dispatch(marioCore.setLoading(false));
|
|
@@ -13162,7 +13164,7 @@ var useStudentOneToOne = function useStudentOneToOne() {
|
|
|
13162
13164
|
};
|
|
13163
13165
|
|
|
13164
13166
|
React.useEffect(function () {
|
|
13165
|
-
getStudentOneToOne(
|
|
13167
|
+
getStudentOneToOne();
|
|
13166
13168
|
}, [filter]);
|
|
13167
13169
|
return {
|
|
13168
13170
|
sessionData: sessionData,
|
|
@@ -13569,6 +13571,8 @@ var useStudentConference = function useStudentConference() {
|
|
|
13569
13571
|
sessionData = _useState[0],
|
|
13570
13572
|
setSessionData = _useState[1];
|
|
13571
13573
|
|
|
13574
|
+
var studentId = location.pathname.replace(/[^0-9]/g, "");
|
|
13575
|
+
|
|
13572
13576
|
var _useState2 = React.useState({
|
|
13573
13577
|
startDate: moment().subtract(30, 'days').valueOf(),
|
|
13574
13578
|
endDate: moment().add(7, "days").valueOf(),
|
|
@@ -13585,7 +13589,7 @@ var useStudentConference = function useStudentConference() {
|
|
|
13585
13589
|
return setFilter(_extends({}, filter, updatedFilters));
|
|
13586
13590
|
};
|
|
13587
13591
|
|
|
13588
|
-
var getStudentConference = function getStudentConference(
|
|
13592
|
+
var getStudentConference = function getStudentConference() {
|
|
13589
13593
|
try {
|
|
13590
13594
|
var _temp3 = function _temp3() {
|
|
13591
13595
|
dispatch(marioCore.setLoading(false));
|
|
@@ -13615,7 +13619,7 @@ var useStudentConference = function useStudentConference() {
|
|
|
13615
13619
|
};
|
|
13616
13620
|
|
|
13617
13621
|
React.useEffect(function () {
|
|
13618
|
-
getStudentConference(
|
|
13622
|
+
getStudentConference();
|
|
13619
13623
|
}, [filter]);
|
|
13620
13624
|
return {
|
|
13621
13625
|
sessionData: sessionData,
|