mario-teacher-student-client 1.4.2 → 1.4.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/MyStudent/components/NewLearningPlan.d.ts +1 -0
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +10 -0
- package/dist/containers/MyStudent/constants/types.d.ts +17 -0
- package/dist/containers/MyStudent/hooks/useEditLearning.d.ts +7 -0
- package/dist/containers/MyStudent/hooks/useLearningPlanList.d.ts +7 -0
- package/dist/index.css +75 -21
- package/dist/index.js +775 -263
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +776 -264
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +3 -0
- package/package.json +3 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
2
|
+
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
3
|
+
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
5
|
+
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
6
|
+
firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
7
|
+
lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
8
|
+
email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
9
|
+
}>>;
|
|
10
|
+
export default schema;
|
|
@@ -78,3 +78,20 @@ export interface FILTER_STUDENT_WELLBEING {
|
|
|
78
78
|
startDate?: number;
|
|
79
79
|
endDate?: number;
|
|
80
80
|
}
|
|
81
|
+
export interface FILTER_LEARNING {
|
|
82
|
+
currentPage: number;
|
|
83
|
+
pageSize: number;
|
|
84
|
+
searchString: string;
|
|
85
|
+
sortBy: string;
|
|
86
|
+
sortOrder?: string;
|
|
87
|
+
startDate?: number;
|
|
88
|
+
endDate?: number;
|
|
89
|
+
studentId?: number;
|
|
90
|
+
}
|
|
91
|
+
export interface LEARNING_PLAN {
|
|
92
|
+
id: number;
|
|
93
|
+
modifyTime: string;
|
|
94
|
+
createTime: string;
|
|
95
|
+
profileImageTeacher: string;
|
|
96
|
+
teacherName: string;
|
|
97
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -129,8 +129,7 @@ p._1YLGi {
|
|
|
129
129
|
text-align: center;
|
|
130
130
|
padding: 10px 45px;
|
|
131
131
|
margin-right: 15px;
|
|
132
|
-
margin-bottom: 15px;
|
|
133
|
-
cursor: pointer; }
|
|
132
|
+
margin-bottom: 15px; }
|
|
134
133
|
._1M6M1 ._1wmi8._3JT39 {
|
|
135
134
|
background-color: #f0fff4;
|
|
136
135
|
border: 2px solid #48bb78; }
|
|
@@ -1028,6 +1027,9 @@ p._1YLGi {
|
|
|
1028
1027
|
font-size: 15.5px !important;
|
|
1029
1028
|
font-weight: bold; }
|
|
1030
1029
|
|
|
1030
|
+
._2ZoYJ {
|
|
1031
|
+
font-size: 15.5px !important; }
|
|
1032
|
+
|
|
1031
1033
|
@font-face {
|
|
1032
1034
|
font-family: "Lato-Regular";
|
|
1033
1035
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -1581,6 +1583,9 @@ p._1YLGi {
|
|
|
1581
1583
|
font-size: 15.5px !important;
|
|
1582
1584
|
font-weight: bold; }
|
|
1583
1585
|
|
|
1586
|
+
._3CPV3 {
|
|
1587
|
+
font-size: 15.5px !important; }
|
|
1588
|
+
|
|
1584
1589
|
._2PZMK._1PO82 {
|
|
1585
1590
|
margin-top: 10px; }
|
|
1586
1591
|
|
|
@@ -1820,20 +1825,22 @@ h2._1OAmb {
|
|
|
1820
1825
|
align-items: center;
|
|
1821
1826
|
padding: 8px;
|
|
1822
1827
|
margin: 8px;
|
|
1828
|
+
margin-left: 14px !important;
|
|
1823
1829
|
color: #153e75;
|
|
1824
1830
|
background-color: #e7f6fd;
|
|
1825
1831
|
border-left: 3px solid;
|
|
1826
1832
|
border-color: #0ea5e9;
|
|
1827
|
-
border-radius: 4px;
|
|
1833
|
+
border-radius: 4px;
|
|
1834
|
+
width: 59%; }
|
|
1828
1835
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._JAWru {
|
|
1829
1836
|
text-align: center;
|
|
1830
1837
|
margin-right: 8px;
|
|
1831
|
-
font-size:
|
|
1838
|
+
font-size: 13px;
|
|
1832
1839
|
font-weight: 500; }
|
|
1833
1840
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._3RlQ2 {
|
|
1834
1841
|
text-align: center;
|
|
1835
1842
|
margin-right: 8px;
|
|
1836
|
-
font-size:
|
|
1843
|
+
font-size: 15px;
|
|
1837
1844
|
font-weight: 600; }
|
|
1838
1845
|
|
|
1839
1846
|
._3d254 {
|
|
@@ -2133,7 +2140,7 @@ h2._1OAmb {
|
|
|
2133
2140
|
font-weight: 700;
|
|
2134
2141
|
padding-left: 5px; }
|
|
2135
2142
|
._ruFmH ._3NP_o ._3BLm1 {
|
|
2136
|
-
font-size:
|
|
2143
|
+
font-size: 14px;
|
|
2137
2144
|
overflow: hidden;
|
|
2138
2145
|
white-space: nowrap;
|
|
2139
2146
|
text-overflow: ellipsis; }
|
|
@@ -2248,6 +2255,11 @@ h2._1OAmb {
|
|
|
2248
2255
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw {
|
|
2249
2256
|
width: 250px;
|
|
2250
2257
|
margin-right: 10px; }
|
|
2258
|
+
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw > div > div > input {
|
|
2259
|
+
padding: 16px 10px;
|
|
2260
|
+
border: 1px solid #c4c4c4;
|
|
2261
|
+
border-radius: 12px;
|
|
2262
|
+
width: 100%; }
|
|
2251
2263
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
|
|
2252
2264
|
width: 100%; }
|
|
2253
2265
|
|
|
@@ -2265,18 +2277,24 @@ h2._1OAmb {
|
|
|
2265
2277
|
._1qzuv {
|
|
2266
2278
|
padding: 20px;
|
|
2267
2279
|
display: flex;
|
|
2268
|
-
justify-content:
|
|
2280
|
+
justify-content: space-between;
|
|
2281
|
+
align-items: center; }
|
|
2282
|
+
._1qzuv ._1sMei ._qam_e {
|
|
2283
|
+
margin-right: 15px; }
|
|
2269
2284
|
|
|
2270
2285
|
._2yb4T {
|
|
2271
2286
|
font-size: 15.5px !important;
|
|
2272
2287
|
font-weight: bold; }
|
|
2273
2288
|
|
|
2289
|
+
._1ccic {
|
|
2290
|
+
font-size: 15.5px !important; }
|
|
2291
|
+
|
|
2274
2292
|
._2Evxd {
|
|
2275
2293
|
font-size: 13px; }
|
|
2276
2294
|
|
|
2277
2295
|
._3uYAt {
|
|
2278
2296
|
background: #f8f8f8;
|
|
2279
|
-
padding: 0px
|
|
2297
|
+
padding: 0px 20px; }
|
|
2280
2298
|
._3uYAt ._1V3nf {
|
|
2281
2299
|
background: #fff;
|
|
2282
2300
|
border-radius: 10px;
|
|
@@ -2286,8 +2304,7 @@ h2._1OAmb {
|
|
|
2286
2304
|
padding: 2px 0px !important; }
|
|
2287
2305
|
._3uYAt ._2AQxk {
|
|
2288
2306
|
background: #fff;
|
|
2289
|
-
border-radius: 10px;
|
|
2290
|
-
padding: 0px 10px; }
|
|
2307
|
+
border-radius: 10px; }
|
|
2291
2308
|
|
|
2292
2309
|
._J8fJn {
|
|
2293
2310
|
margin-right: 12px; }
|
|
@@ -2921,6 +2938,9 @@ h2._1OAmb {
|
|
|
2921
2938
|
font-size: 15.5px !important;
|
|
2922
2939
|
font-weight: bold; }
|
|
2923
2940
|
|
|
2941
|
+
._3pCG5 {
|
|
2942
|
+
font-size: 15.5px !important; }
|
|
2943
|
+
|
|
2924
2944
|
._1hYRu:hover {
|
|
2925
2945
|
cursor: pointer; }
|
|
2926
2946
|
|
|
@@ -3477,6 +3497,9 @@ h2._1OAmb {
|
|
|
3477
3497
|
font-size: 15.5px !important;
|
|
3478
3498
|
font-weight: bold; }
|
|
3479
3499
|
|
|
3500
|
+
._Ga4Nf {
|
|
3501
|
+
font-size: 15.5px !important; }
|
|
3502
|
+
|
|
3480
3503
|
@font-face {
|
|
3481
3504
|
font-family: "Lato-Regular";
|
|
3482
3505
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3511,6 +3534,9 @@ h4._1gYmd > i {
|
|
|
3511
3534
|
text-transform: capitalize;
|
|
3512
3535
|
font-size: 14px;
|
|
3513
3536
|
line-height: 19.07px; }
|
|
3537
|
+
@media only screen and (max-width: 480px) {
|
|
3538
|
+
._29Tsr h5._2J0ft {
|
|
3539
|
+
font-size: 11px; } }
|
|
3514
3540
|
|
|
3515
3541
|
._29Tsr p._1xpMn {
|
|
3516
3542
|
color: #6b6b6b;
|
|
@@ -3523,13 +3549,6 @@ h4._1gYmd > i {
|
|
|
3523
3549
|
._29Tsr p._1xpMn {
|
|
3524
3550
|
margin-bottom: 0px; } }
|
|
3525
3551
|
|
|
3526
|
-
._29Tsr h5._2J0ft {
|
|
3527
|
-
color: #2d3748;
|
|
3528
|
-
font-weight: 700;
|
|
3529
|
-
text-transform: capitalize;
|
|
3530
|
-
font-size: 14px;
|
|
3531
|
-
line-height: 19.07px; }
|
|
3532
|
-
|
|
3533
3552
|
._SX3F9 {
|
|
3534
3553
|
margin-right: 20px; }
|
|
3535
3554
|
._SX3F9 img {
|
|
@@ -3578,9 +3597,14 @@ h4._1gYmd > i {
|
|
|
3578
3597
|
._7Fnwi ._2NjHb {
|
|
3579
3598
|
background: #edf2f7;
|
|
3580
3599
|
border-radius: 12px; }
|
|
3600
|
+
._7Fnwi ._3efPB {
|
|
3601
|
+
width: 2%; }
|
|
3602
|
+
@media (max-width: 767px) {
|
|
3603
|
+
._7Fnwi ._3efPB {
|
|
3604
|
+
width: 7%; } }
|
|
3581
3605
|
._7Fnwi ._1cAXC {
|
|
3582
3606
|
cursor: pointer;
|
|
3583
|
-
margin-left:
|
|
3607
|
+
margin-left: 10px; }
|
|
3584
3608
|
|
|
3585
3609
|
._uF3Es {
|
|
3586
3610
|
background: #edf2f7;
|
|
@@ -3589,7 +3613,11 @@ h4._1gYmd > i {
|
|
|
3589
3613
|
color: #000000; }
|
|
3590
3614
|
|
|
3591
3615
|
._1a24j {
|
|
3592
|
-
margin-bottom: 20px;
|
|
3616
|
+
margin-bottom: 20px;
|
|
3617
|
+
width: 98%; }
|
|
3618
|
+
@media (max-width: 767px) {
|
|
3619
|
+
._1a24j {
|
|
3620
|
+
width: 93%; } }
|
|
3593
3621
|
|
|
3594
3622
|
._1elXi {
|
|
3595
3623
|
font-size: 16px;
|
|
@@ -3639,6 +3667,9 @@ h4._pDCgR {
|
|
|
3639
3667
|
._PaUcu ._nmBGv i {
|
|
3640
3668
|
margin-left: 10px; } }
|
|
3641
3669
|
|
|
3670
|
+
._2pF1z, ._2W0UP {
|
|
3671
|
+
cursor: pointer; }
|
|
3672
|
+
|
|
3642
3673
|
@font-face {
|
|
3643
3674
|
font-family: "Lato-Regular";
|
|
3644
3675
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3893,6 +3924,18 @@ h4._pDCgR {
|
|
|
3893
3924
|
._1OUbl p {
|
|
3894
3925
|
color: #a80000; }
|
|
3895
3926
|
|
|
3927
|
+
@font-face {
|
|
3928
|
+
font-family: "Lato-Regular";
|
|
3929
|
+
src: url("/fonts/Lato-Regular.ttf");
|
|
3930
|
+
font-weight: normal;
|
|
3931
|
+
font-style: normal; }
|
|
3932
|
+
|
|
3933
|
+
@font-face {
|
|
3934
|
+
font-family: "Lato-Bold";
|
|
3935
|
+
src: url("/fonts/Lato-Bold.ttf");
|
|
3936
|
+
font-weight: normal;
|
|
3937
|
+
font-style: normal; }
|
|
3938
|
+
|
|
3896
3939
|
._12tWP ._1WNMT ._3BU0L p, ._1WNMT ._3BU0L p {
|
|
3897
3940
|
color: #2d3748;
|
|
3898
3941
|
font-size: 18px;
|
|
@@ -3926,6 +3969,9 @@ h4._pDCgR {
|
|
|
3926
3969
|
border-right: 1px solid #e2e8f0; }
|
|
3927
3970
|
._23ZHZ ._3DiW6 > div {
|
|
3928
3971
|
display: inline-block; }
|
|
3972
|
+
@media (max-width: 767px) {
|
|
3973
|
+
._23ZHZ {
|
|
3974
|
+
min-width: 1200px; } }
|
|
3929
3975
|
|
|
3930
3976
|
._1QPtC {
|
|
3931
3977
|
padding: 0px 20px;
|
|
@@ -4022,8 +4068,8 @@ h2._1KpSK {
|
|
|
4022
4068
|
._2_UXR img,
|
|
4023
4069
|
._1fQy_ img,
|
|
4024
4070
|
._q3ph4 img {
|
|
4025
|
-
width:
|
|
4026
|
-
height:
|
|
4071
|
+
width: 40px;
|
|
4072
|
+
height: 40px;
|
|
4027
4073
|
border-radius: 50%; }
|
|
4028
4074
|
|
|
4029
4075
|
._11rk4 {
|
|
@@ -4189,6 +4235,10 @@ h2._1KpSK {
|
|
|
4189
4235
|
font-size: 15px;
|
|
4190
4236
|
font-weight: 400; }
|
|
4191
4237
|
|
|
4238
|
+
._2fk-W {
|
|
4239
|
+
font-size: 15px;
|
|
4240
|
+
color: red; }
|
|
4241
|
+
|
|
4192
4242
|
._xFFH1 {
|
|
4193
4243
|
width: 60px;
|
|
4194
4244
|
height: 60px;
|
|
@@ -4232,3 +4282,7 @@ h2._1KpSK {
|
|
|
4232
4282
|
color: #0a4da2;
|
|
4233
4283
|
font-size: 15px;
|
|
4234
4284
|
font-weight: 400; }
|
|
4285
|
+
|
|
4286
|
+
._knGhP {
|
|
4287
|
+
font-size: 15px;
|
|
4288
|
+
color: red; }
|