mario-teacher-student-client 9000.0.4 → 9000.0.5
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/QuestionTypes/CheckPoint.d.ts +3 -2
- package/dist/containers/ActionPoint/api/apiClient.d.ts +1 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useActionPointsDB.d.ts +1 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +9 -3
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/view/TodoList.d.ts +1 -1
- package/dist/containers/Goals/constants/type.d.ts +1 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +3 -0
- 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 +73 -24
- package/dist/index.js +495 -180
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +496 -181
- 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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
|
-
point:
|
|
3
|
+
point: string;
|
|
4
|
+
target?: string;
|
|
4
5
|
status: string;
|
|
5
6
|
isProgress?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export default function CheckPoint({ point, status, isProgress }: Props): JSX.Element;
|
|
8
|
+
export default function CheckPoint({ point, status, isProgress, target }: Props): JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -4,3 +4,4 @@ export declare const getDataClassNameApi: () => Promise<import("axios").AxiosRes
|
|
|
4
4
|
export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const putIsDoneApi: (id: any, isDone: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
actionId: number;
|
|
4
|
+
reloadRef: React.MutableRefObject<any>;
|
|
5
|
+
};
|
|
6
|
+
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
3
7
|
open: any;
|
|
4
8
|
isTeacher: any;
|
|
5
9
|
classList: never[];
|
|
@@ -16,9 +20,11 @@ declare const useDialogRequest: (_props: any, ref: any) => {
|
|
|
16
20
|
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
17
21
|
value: unknown;
|
|
18
22
|
}>) => void;
|
|
19
|
-
handleCreate: () => Promise<void>;
|
|
23
|
+
handleCreate: (cb?: Function | undefined) => Promise<void>;
|
|
20
24
|
handleClickClose: () => void;
|
|
21
25
|
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
-
submitUpdate: () => Promise<void>;
|
|
26
|
+
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
27
|
+
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
|
+
handleCloseNoti: () => void;
|
|
23
29
|
};
|
|
24
30
|
export default useDialogRequest;
|
|
@@ -3,3 +3,4 @@ export declare const getDataClassName: (dispatch: any) => Promise<any>;
|
|
|
3
3
|
export declare const createActionPoint: (dispatch: any, formData: FORM_REQUEST) => Promise<void>;
|
|
4
4
|
export declare const getActionPointById: (dispatch: any, id: any) => Promise<any>;
|
|
5
5
|
export declare const updateActionPoint: (dispatch: any, id: any, formData: any) => Promise<void>;
|
|
6
|
+
export declare const deleteActionPoint: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const useGoalDetail: () => {
|
|
2
3
|
create: (data: any, baseLines: any, checkpoint: any) => Promise<void>;
|
|
3
4
|
update: (id: number, data: any) => Promise<void>;
|
|
@@ -8,5 +9,7 @@ declare const useGoalDetail: () => {
|
|
|
8
9
|
createCheckPoint: (id: number, data: any, isDelete: any) => Promise<void>;
|
|
9
10
|
updateCheckPoint: (goalId: number, checkPointId: number, data: any) => Promise<void>;
|
|
10
11
|
deleteCheckPoint: (goalId: number, checkPointId: number) => Promise<void>;
|
|
12
|
+
goalBaseLineItem: never[];
|
|
13
|
+
setGoalBaseLineItem: import("react").Dispatch<import("react").SetStateAction<never[]>>;
|
|
11
14
|
};
|
|
12
15
|
export default useGoalDetail;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const usePersonalInterest: (studentId: number) => {
|
|
2
3
|
upDateData: () => Promise<void>;
|
|
3
4
|
editData: (id: number) => Promise<void>;
|
|
@@ -34,5 +35,7 @@ declare const usePersonalInterest: (studentId: number) => {
|
|
|
34
35
|
deleteDataItemEdit: () => Promise<void>;
|
|
35
36
|
isAllowedEdit: boolean;
|
|
36
37
|
updateAllowToEdit: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
38
|
+
isCheckChange: boolean;
|
|
39
|
+
setIsCheckChange: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
37
40
|
};
|
|
38
41
|
export default usePersonalInterest;
|
|
@@ -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.css
CHANGED
|
@@ -341,9 +341,9 @@ p._1YLGi {
|
|
|
341
341
|
cursor: pointer; }
|
|
342
342
|
._1DtTP ._2qhHZ ._XTfSF ._3fJXr ._2I-ej > p {
|
|
343
343
|
padding-right: 5px; }
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
@media (max-width: 767px) {
|
|
345
|
+
._1DtTP ._2qhHZ ._XTfSF ._3fJXr {
|
|
346
|
+
display: none; } }
|
|
347
347
|
._1DtTP ._1fpsj ._2INhO {
|
|
348
348
|
font-size: 16px;
|
|
349
349
|
font-weight: 700;
|
|
@@ -363,9 +363,12 @@ p._1YLGi {
|
|
|
363
363
|
border-radius: 12px; }
|
|
364
364
|
|
|
365
365
|
._3gaSR {
|
|
366
|
-
display:
|
|
367
|
-
|
|
368
|
-
|
|
366
|
+
display: none; }
|
|
367
|
+
@media (max-width: 767px) {
|
|
368
|
+
._3gaSR {
|
|
369
|
+
display: flex;
|
|
370
|
+
align-items: center;
|
|
371
|
+
justify-content: flex-end; } }
|
|
369
372
|
._3gaSR ._368JR {
|
|
370
373
|
display: flex;
|
|
371
374
|
align-items: center;
|
|
@@ -384,10 +387,6 @@ p._1YLGi {
|
|
|
384
387
|
border-radius: 12px;
|
|
385
388
|
cursor: pointer; }
|
|
386
389
|
|
|
387
|
-
@media (min-width: 1024px) {
|
|
388
|
-
._3gaSR {
|
|
389
|
-
display: none; } }
|
|
390
|
-
|
|
391
390
|
._3Flx1 {
|
|
392
391
|
padding: 20px; }
|
|
393
392
|
._3Flx1 ._3Mi_n {
|
|
@@ -463,6 +462,11 @@ p._1YLGi {
|
|
|
463
462
|
width: 28px !important;
|
|
464
463
|
height: 28px !important; }
|
|
465
464
|
|
|
465
|
+
._z69mr {
|
|
466
|
+
color: #e53e3e;
|
|
467
|
+
border: 1px solid;
|
|
468
|
+
border-radius: 12px; }
|
|
469
|
+
|
|
466
470
|
@font-face {
|
|
467
471
|
font-family: "Lato-Regular";
|
|
468
472
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -705,6 +709,10 @@ p._1YLGi {
|
|
|
705
709
|
color: #153e75;
|
|
706
710
|
border-radius: 99px; }
|
|
707
711
|
|
|
712
|
+
._1bou9 {
|
|
713
|
+
color: #0A4DA2 !important;
|
|
714
|
+
cursor: pointer; }
|
|
715
|
+
|
|
708
716
|
._3zfpv {
|
|
709
717
|
display: flex;
|
|
710
718
|
justify-content: space-evenly;
|
|
@@ -720,6 +728,16 @@ p._1YLGi {
|
|
|
720
728
|
background-color: #308252 !important;
|
|
721
729
|
border-radius: 12px !important; }
|
|
722
730
|
|
|
731
|
+
._NLxWQ {
|
|
732
|
+
width: 50px;
|
|
733
|
+
padding: 15px 5px 15px 10px;
|
|
734
|
+
border-radius: 14px;
|
|
735
|
+
border: 1px solid grey; }
|
|
736
|
+
|
|
737
|
+
._NLxWQ::-webkit-inner-spin-button,
|
|
738
|
+
._NLxWQ::-webkit-outer-spin-button {
|
|
739
|
+
opacity: 1; }
|
|
740
|
+
|
|
723
741
|
@font-face {
|
|
724
742
|
font-family: "Lato-Regular";
|
|
725
743
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -1426,12 +1444,17 @@ p._1YLGi {
|
|
|
1426
1444
|
._2ZL58 {
|
|
1427
1445
|
display: flex; }
|
|
1428
1446
|
|
|
1429
|
-
._31Wa2
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1447
|
+
._31Wa2 {
|
|
1448
|
+
display: flex;
|
|
1449
|
+
flex-direction: column;
|
|
1450
|
+
justify-content: flex-end;
|
|
1451
|
+
margin-left: 20px; }
|
|
1452
|
+
._31Wa2 > p {
|
|
1453
|
+
background: #edf2f7;
|
|
1454
|
+
color: #a0aec0;
|
|
1455
|
+
border-radius: 4px;
|
|
1456
|
+
padding: 5px 10px;
|
|
1457
|
+
margin: 10px 0; }
|
|
1435
1458
|
|
|
1436
1459
|
._142Ha {
|
|
1437
1460
|
width: 25px;
|
|
@@ -6215,10 +6238,16 @@ h2._1KpSK {
|
|
|
6215
6238
|
border-radius: 12px;
|
|
6216
6239
|
color: #ffff; }
|
|
6217
6240
|
._3YpUx ._1HGVd ._GQOgS {
|
|
6218
|
-
display: flex;
|
|
6241
|
+
display: flex;
|
|
6242
|
+
flex-wrap: wrap; }
|
|
6219
6243
|
._3YpUx ._1HGVd ._GQOgS ._ipkfl {
|
|
6220
6244
|
margin-right: 25px;
|
|
6221
|
-
text-align: center;
|
|
6245
|
+
text-align: center;
|
|
6246
|
+
display: flex;
|
|
6247
|
+
flex-direction: column;
|
|
6248
|
+
align-items: center; }
|
|
6249
|
+
._3YpUx ._1HGVd ._GQOgS ._ipkfl ._2_YnI {
|
|
6250
|
+
margin-bottom: 14px; }
|
|
6222
6251
|
._3YpUx ._3kTV7 {
|
|
6223
6252
|
padding: 16px 0px;
|
|
6224
6253
|
border-radius: 10px; }
|
|
@@ -6238,7 +6267,8 @@ h2._1KpSK {
|
|
|
6238
6267
|
border-radius: 12px;
|
|
6239
6268
|
color: #ffff; }
|
|
6240
6269
|
._3YpUx ._3kTV7 ._3hWWs {
|
|
6241
|
-
display: flex;
|
|
6270
|
+
display: flex;
|
|
6271
|
+
flex-wrap: wrap; }
|
|
6242
6272
|
._3YpUx ._3kTV7 ._zgAk0 {
|
|
6243
6273
|
font-weight: 400;
|
|
6244
6274
|
font-size: 16px;
|
|
@@ -6813,9 +6843,20 @@ h2._1KpSK {
|
|
|
6813
6843
|
._3GVL7 ._2MK6T ._1Fx7D {
|
|
6814
6844
|
display: flex; }
|
|
6815
6845
|
._3GVL7 ._2MK6T ._1Fx7D ._AgIdY {
|
|
6816
|
-
margin-right: 10px;
|
|
6817
|
-
|
|
6818
|
-
|
|
6846
|
+
margin-right: 10px;
|
|
6847
|
+
width: 70px; }
|
|
6848
|
+
._3GVL7 ._2MK6T ._1Fx7D ._AgIdY img {
|
|
6849
|
+
width: 100%;
|
|
6850
|
+
-o-object-fit: contain;
|
|
6851
|
+
object-fit: contain; }
|
|
6852
|
+
._3GVL7 ._2MK6T ._1Fx7D ._30hUw {
|
|
6853
|
+
width: 80%; }
|
|
6854
|
+
._3GVL7 ._2MK6T ._1Fx7D ._30hUw h4 {
|
|
6855
|
+
font-weight: 700;
|
|
6856
|
+
font-size: 20px; }
|
|
6857
|
+
._3GVL7 ._2MK6T ._1Fx7D ._30hUw p {
|
|
6858
|
+
font-weight: 400;
|
|
6859
|
+
font-size: 16px; }
|
|
6819
6860
|
._3GVL7 ._2MK6T ._14vde {
|
|
6820
6861
|
display: flex; }
|
|
6821
6862
|
._3GVL7 ._2MK6T ._14vde ._QlPcx {
|
|
@@ -6850,7 +6891,9 @@ h2._1KpSK {
|
|
|
6850
6891
|
|
|
6851
6892
|
._ubnov ._rwvi_, ._ubnov ._2iFKR {
|
|
6852
6893
|
width: 508px;
|
|
6853
|
-
height: 170px;
|
|
6894
|
+
height: 170px;
|
|
6895
|
+
-o-object-fit: contain;
|
|
6896
|
+
object-fit: contain; }
|
|
6854
6897
|
|
|
6855
6898
|
._ubnov ._3RC2E {
|
|
6856
6899
|
position: relative; }
|
|
@@ -6861,6 +6904,10 @@ h2._1KpSK {
|
|
|
6861
6904
|
color: white;
|
|
6862
6905
|
background: black; }
|
|
6863
6906
|
|
|
6907
|
+
._ubnov ._38U_g {
|
|
6908
|
+
margin-bottom: 20px;
|
|
6909
|
+
color: #ff0000; }
|
|
6910
|
+
|
|
6864
6911
|
._ubnov ._1v_Kg {
|
|
6865
6912
|
margin-top: 26px;
|
|
6866
6913
|
margin-bottom: 26px; }
|
|
@@ -6881,7 +6928,7 @@ h2._1KpSK {
|
|
|
6881
6928
|
|
|
6882
6929
|
._ubnov ._7GaPj {
|
|
6883
6930
|
width: 100%;
|
|
6884
|
-
margin: 25px 0px;
|
|
6931
|
+
margin: 25px 0px 20px;
|
|
6885
6932
|
border-radius: 12px; }
|
|
6886
6933
|
|
|
6887
6934
|
._ubnov ._fxh4O {
|
|
@@ -7910,6 +7957,8 @@ button._kb6Ui {
|
|
|
7910
7957
|
background: #308252;
|
|
7911
7958
|
color: white;
|
|
7912
7959
|
padding: 0 24px; }
|
|
7960
|
+
._21KWj ._PU8bA:hover {
|
|
7961
|
+
background: #22663e; }
|
|
7913
7962
|
._21KWj ._1nvjp {
|
|
7914
7963
|
font-size: 24px;
|
|
7915
7964
|
font-weight: bold; }
|