mario-teacher-student-client 2.1.35-beta → 2.1.36-beta
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/Input/UploadFileImage.d.ts +2 -1
- package/dist/containers/MyStudent/configs/learningSchema.d.ts +84 -0
- package/dist/containers/MyStudent/constants/constantsLearning.d.ts +34 -0
- package/dist/containers/MyStudent/constants/types.d.ts +38 -0
- package/dist/containers/MyStudent/hooks/useEditLearning.d.ts +5 -0
- package/dist/containers/Note/hook/useNoteAdd.d.ts +2 -0
- package/dist/index.css +32 -2
- package/dist/index.js +454 -276
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +456 -278
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +2 -0
- package/dist/utils/constantsFn.d.ts +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ interface Props {
|
|
|
14
14
|
imageFile?: any;
|
|
15
15
|
isCheckPoint?: boolean;
|
|
16
16
|
index?: number;
|
|
17
|
+
setIndexValue?: any;
|
|
17
18
|
}
|
|
18
|
-
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data,
|
|
19
|
+
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, indexValue, imageFile, isCheckPoint, index, setIndexValue }: Props) => JSX.Element;
|
|
19
20
|
export default UploadFileImage;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as yup from "yup";
|
|
2
|
+
export declare const learningSchema: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
|
+
disabilityArea: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
iefMeetingDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
5
|
+
iefImplementationDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
6
|
+
annualReviewDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
7
|
+
triennialDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
8
|
+
typeOfIef: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, Record<string, any>, any[] | undefined>;
|
|
9
|
+
typeSourceofEligibility: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, Record<string, any>, any[] | undefined>;
|
|
10
|
+
noteSourceofEligibility: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
11
|
+
goalLearningPlans: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
12
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
13
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
14
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
15
|
+
}>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
16
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
17
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
18
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
19
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
20
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
21
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
22
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
23
|
+
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
24
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
25
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
26
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
27
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
28
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
29
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
30
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
31
|
+
}>>[] | undefined>;
|
|
32
|
+
signatureLeaningPlans: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
33
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
34
|
+
}>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
35
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
36
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
37
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
38
|
+
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
39
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
40
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
41
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
42
|
+
}>>[] | undefined>;
|
|
43
|
+
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
44
|
+
disabilityArea: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
45
|
+
iefMeetingDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
46
|
+
iefImplementationDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
47
|
+
annualReviewDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
48
|
+
triennialDate: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
49
|
+
typeOfIef: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, Record<string, any>, any[] | undefined>;
|
|
50
|
+
typeSourceofEligibility: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, Record<string, any>, any[] | undefined>;
|
|
51
|
+
noteSourceofEligibility: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
52
|
+
goalLearningPlans: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
53
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
54
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
55
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
56
|
+
}>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
57
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
58
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
59
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
60
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
61
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
62
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
63
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
64
|
+
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
65
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
66
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
67
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
68
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
69
|
+
startTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
70
|
+
endTime: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
71
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
72
|
+
}>>[] | undefined>;
|
|
73
|
+
signatureLeaningPlans: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
74
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
75
|
+
}>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
76
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
77
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
78
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
79
|
+
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
80
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
81
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, {
|
|
82
|
+
signatureImage: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
83
|
+
}>>[] | undefined>;
|
|
84
|
+
}>>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DEFAULT_VALUE } from "./types";
|
|
2
|
+
export declare const typeOfIefModel: {
|
|
3
|
+
type: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const typeSourceofEligibilityModel: {
|
|
6
|
+
type: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const inputImage: ({
|
|
9
|
+
title: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
color: string;
|
|
13
|
+
index: number;
|
|
14
|
+
} | {
|
|
15
|
+
title: string;
|
|
16
|
+
name: string;
|
|
17
|
+
description?: undefined;
|
|
18
|
+
color?: undefined;
|
|
19
|
+
index?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
title: string;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
color?: undefined;
|
|
25
|
+
index?: undefined;
|
|
26
|
+
})[];
|
|
27
|
+
export declare const itemGoal: (type: string, order: number) => {
|
|
28
|
+
startTime: string;
|
|
29
|
+
endTime: string;
|
|
30
|
+
text: string;
|
|
31
|
+
type: string;
|
|
32
|
+
goalLearningPlanOder: number;
|
|
33
|
+
};
|
|
34
|
+
export declare const defaultValue: (studentId: number, teacherId: number) => DEFAULT_VALUE;
|
|
@@ -113,3 +113,41 @@ export interface ACCOMMODATION_TYPE {
|
|
|
113
113
|
description: string;
|
|
114
114
|
type: string;
|
|
115
115
|
}
|
|
116
|
+
export interface GOAL_TYPE {
|
|
117
|
+
startTime: string;
|
|
118
|
+
endTime: string;
|
|
119
|
+
text: string;
|
|
120
|
+
type: string;
|
|
121
|
+
goalLearningPlanOder: number;
|
|
122
|
+
}
|
|
123
|
+
export interface SIGNATURE_TYPE {
|
|
124
|
+
signatureImage: string;
|
|
125
|
+
type: string;
|
|
126
|
+
image?: any;
|
|
127
|
+
}
|
|
128
|
+
export interface DEFAULT_VALUE {
|
|
129
|
+
disabilityArea: string;
|
|
130
|
+
iefMeetingDate: string;
|
|
131
|
+
iefImplementationDate: string;
|
|
132
|
+
annualReviewDate: string;
|
|
133
|
+
triennialDate: string;
|
|
134
|
+
typeOfIef: string[];
|
|
135
|
+
typeSourceofEligibility: string[];
|
|
136
|
+
noteSourceofEligibility: string;
|
|
137
|
+
specialEducation: string;
|
|
138
|
+
relatedServices: string;
|
|
139
|
+
supplementaryServices: string;
|
|
140
|
+
programModifications: string;
|
|
141
|
+
extentOfNonparticipation: string;
|
|
142
|
+
accommodationsAssessment: string;
|
|
143
|
+
serviceDelivery: string;
|
|
144
|
+
transitionPlanning: string;
|
|
145
|
+
presentLevel: string;
|
|
146
|
+
studentId: number;
|
|
147
|
+
teacherId: number;
|
|
148
|
+
goalLearningPlans: GOAL_TYPE[];
|
|
149
|
+
signatureLeaningPlans: SIGNATURE_TYPE[];
|
|
150
|
+
fileUrlVersion: string;
|
|
151
|
+
typeFileVersion: string;
|
|
152
|
+
nameFileVersion: string;
|
|
153
|
+
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const useEditLearning: () => {
|
|
2
3
|
createNewLearningPlan: (data: any) => Promise<void>;
|
|
3
4
|
getOneLearning: () => Promise<void>;
|
|
4
5
|
editLearning: (data: any) => Promise<void>;
|
|
5
6
|
learningData: any;
|
|
7
|
+
fnUploadFileIEPVersion: (e: any, values: any) => Promise<void>;
|
|
8
|
+
listFileVersion: any;
|
|
9
|
+
setListFileVersion: import("react").Dispatch<any>;
|
|
10
|
+
downloadFileIep: (keyFile: string, nameFile: string) => Promise<void>;
|
|
6
11
|
};
|
|
7
12
|
export default useEditLearning;
|
package/dist/index.css
CHANGED
|
@@ -4025,7 +4025,8 @@ h2._1OAmb {
|
|
|
4025
4025
|
font-size: 1.45rem;
|
|
4026
4026
|
font-weight: 700; }
|
|
4027
4027
|
._3TPGz ._1n-GQ ._1IiKL ._1k0E0 {
|
|
4028
|
-
padding: 15px 0;
|
|
4028
|
+
padding: 15px 0;
|
|
4029
|
+
position: relative; }
|
|
4029
4030
|
._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._3YjL3 {
|
|
4030
4031
|
font-weight: 700;
|
|
4031
4032
|
font-size: 1.3rem; }
|
|
@@ -4085,6 +4086,16 @@ h2._1OAmb {
|
|
|
4085
4086
|
@media (max-width: 767px) {
|
|
4086
4087
|
._1Sugi ._39GjN {
|
|
4087
4088
|
display: block; } }
|
|
4089
|
+
._1Sugi ._z2TUL {
|
|
4090
|
+
position: absolute;
|
|
4091
|
+
top: 0;
|
|
4092
|
+
left: 0;
|
|
4093
|
+
z-index: 99999;
|
|
4094
|
+
opacity: 0;
|
|
4095
|
+
width: 100%; }
|
|
4096
|
+
._1Sugi ._hVSqZ {
|
|
4097
|
+
display: inline-block;
|
|
4098
|
+
cursor: pointer; }
|
|
4088
4099
|
|
|
4089
4100
|
._16Uzq {
|
|
4090
4101
|
color: red;
|
|
@@ -4399,6 +4410,14 @@ h2._1OAmb {
|
|
|
4399
4410
|
._ECbbM {
|
|
4400
4411
|
margin-right: 20px; } }
|
|
4401
4412
|
|
|
4413
|
+
._3i7b9 {
|
|
4414
|
+
background: none;
|
|
4415
|
+
border: none; }
|
|
4416
|
+
|
|
4417
|
+
._3i7b9:hover {
|
|
4418
|
+
color: blue;
|
|
4419
|
+
text-decoration: underline; }
|
|
4420
|
+
|
|
4402
4421
|
._13V1K ._1NNrE, ._13V1K ._2i1Ir > span {
|
|
4403
4422
|
font-size: 1.4rem !important; }
|
|
4404
4423
|
|
|
@@ -4449,7 +4468,8 @@ h2._1OAmb {
|
|
|
4449
4468
|
width: -moz-max-content;
|
|
4450
4469
|
width: max-content;
|
|
4451
4470
|
padding: 5px 10px;
|
|
4452
|
-
cursor: pointer;
|
|
4471
|
+
cursor: pointer;
|
|
4472
|
+
position: relative; }
|
|
4453
4473
|
|
|
4454
4474
|
._17Zzg {
|
|
4455
4475
|
cursor: pointer;
|
|
@@ -11373,6 +11393,16 @@ h2._1KpSK {
|
|
|
11373
11393
|
._ym3Hd {
|
|
11374
11394
|
max-width: calc(100% + 32px) !important; } }
|
|
11375
11395
|
|
|
11396
|
+
._aZCaG {
|
|
11397
|
+
display: flex;
|
|
11398
|
+
margin-top: 24px; }
|
|
11399
|
+
@media screen and (max-width: 768px) {
|
|
11400
|
+
._aZCaG {
|
|
11401
|
+
margin: 0; } }
|
|
11402
|
+
._aZCaG > p {
|
|
11403
|
+
font-size: 16px;
|
|
11404
|
+
margin-left: 10px; }
|
|
11405
|
+
|
|
11376
11406
|
._2Uw02 {
|
|
11377
11407
|
padding: 24px 16px;
|
|
11378
11408
|
display: flex;
|