mario-teacher-student-client 1.4.1 → 1.4.6
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/selector/StudentSelector.d.ts +1 -1
- 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 +81 -25
- package/dist/index.js +975 -444
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +976 -445
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +3 -0
- package/package.json +4 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId }: any) => JSX.Element | null;
|
|
2
|
+
declare const StudentSelector: ({ setStudentId, setStudentUserId, setStudentName, setStudentProfileImage, studentUserId, setIsCheckStudent }: any) => JSX.Element | null;
|
|
3
3
|
export default StudentSelector;
|
|
@@ -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
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
cursor: pointer;
|
|
38
38
|
font-size: 18px;
|
|
39
39
|
color: "#2D3748";
|
|
40
|
-
font-weight: 700;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
margin-bottom: 0; }
|
|
41
42
|
._vnH2n ._11kCD p ._dqAoB {
|
|
42
43
|
padding-right: 15;
|
|
43
44
|
font-size: 18px; }
|
|
@@ -128,8 +129,7 @@ p._1YLGi {
|
|
|
128
129
|
text-align: center;
|
|
129
130
|
padding: 10px 45px;
|
|
130
131
|
margin-right: 15px;
|
|
131
|
-
margin-bottom: 15px;
|
|
132
|
-
cursor: pointer; }
|
|
132
|
+
margin-bottom: 15px; }
|
|
133
133
|
._1M6M1 ._1wmi8._3JT39 {
|
|
134
134
|
background-color: #f0fff4;
|
|
135
135
|
border: 2px solid #48bb78; }
|
|
@@ -1027,6 +1027,9 @@ p._1YLGi {
|
|
|
1027
1027
|
font-size: 15.5px !important;
|
|
1028
1028
|
font-weight: bold; }
|
|
1029
1029
|
|
|
1030
|
+
._2ZoYJ {
|
|
1031
|
+
font-size: 15.5px !important; }
|
|
1032
|
+
|
|
1030
1033
|
@font-face {
|
|
1031
1034
|
font-family: "Lato-Regular";
|
|
1032
1035
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -1580,6 +1583,9 @@ p._1YLGi {
|
|
|
1580
1583
|
font-size: 15.5px !important;
|
|
1581
1584
|
font-weight: bold; }
|
|
1582
1585
|
|
|
1586
|
+
._3CPV3 {
|
|
1587
|
+
font-size: 15.5px !important; }
|
|
1588
|
+
|
|
1583
1589
|
._2PZMK._1PO82 {
|
|
1584
1590
|
margin-top: 10px; }
|
|
1585
1591
|
|
|
@@ -1643,7 +1649,7 @@ p._1YLGi {
|
|
|
1643
1649
|
._T1fJ4 ._2hOFE {
|
|
1644
1650
|
padding-right: 20px;
|
|
1645
1651
|
font-weight: 800;
|
|
1646
|
-
margin-top:
|
|
1652
|
+
margin-top: 5px; }
|
|
1647
1653
|
|
|
1648
1654
|
._3-Mx5 p:nth-child(1) {
|
|
1649
1655
|
color: #2d3748;
|
|
@@ -1819,20 +1825,22 @@ h2._1OAmb {
|
|
|
1819
1825
|
align-items: center;
|
|
1820
1826
|
padding: 8px;
|
|
1821
1827
|
margin: 8px;
|
|
1828
|
+
margin-left: 14px !important;
|
|
1822
1829
|
color: #153e75;
|
|
1823
1830
|
background-color: #e7f6fd;
|
|
1824
1831
|
border-left: 3px solid;
|
|
1825
1832
|
border-color: #0ea5e9;
|
|
1826
|
-
border-radius: 4px;
|
|
1833
|
+
border-radius: 4px;
|
|
1834
|
+
width: 59%; }
|
|
1827
1835
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._JAWru {
|
|
1828
1836
|
text-align: center;
|
|
1829
1837
|
margin-right: 8px;
|
|
1830
|
-
font-size:
|
|
1838
|
+
font-size: 13px;
|
|
1831
1839
|
font-weight: 500; }
|
|
1832
1840
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._3RlQ2 {
|
|
1833
1841
|
text-align: center;
|
|
1834
1842
|
margin-right: 8px;
|
|
1835
|
-
font-size:
|
|
1843
|
+
font-size: 15px;
|
|
1836
1844
|
font-weight: 600; }
|
|
1837
1845
|
|
|
1838
1846
|
._3d254 {
|
|
@@ -2132,7 +2140,7 @@ h2._1OAmb {
|
|
|
2132
2140
|
font-weight: 700;
|
|
2133
2141
|
padding-left: 5px; }
|
|
2134
2142
|
._ruFmH ._3NP_o ._3BLm1 {
|
|
2135
|
-
font-size:
|
|
2143
|
+
font-size: 14px;
|
|
2136
2144
|
overflow: hidden;
|
|
2137
2145
|
white-space: nowrap;
|
|
2138
2146
|
text-overflow: ellipsis; }
|
|
@@ -2247,6 +2255,11 @@ h2._1OAmb {
|
|
|
2247
2255
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw {
|
|
2248
2256
|
width: 250px;
|
|
2249
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%; }
|
|
2250
2263
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
|
|
2251
2264
|
width: 100%; }
|
|
2252
2265
|
|
|
@@ -2264,18 +2277,24 @@ h2._1OAmb {
|
|
|
2264
2277
|
._1qzuv {
|
|
2265
2278
|
padding: 20px;
|
|
2266
2279
|
display: flex;
|
|
2267
|
-
justify-content:
|
|
2280
|
+
justify-content: space-between;
|
|
2281
|
+
align-items: center; }
|
|
2282
|
+
._1qzuv ._1sMei ._qam_e {
|
|
2283
|
+
margin-right: 15px; }
|
|
2268
2284
|
|
|
2269
2285
|
._2yb4T {
|
|
2270
2286
|
font-size: 15.5px !important;
|
|
2271
2287
|
font-weight: bold; }
|
|
2272
2288
|
|
|
2289
|
+
._1ccic {
|
|
2290
|
+
font-size: 15.5px !important; }
|
|
2291
|
+
|
|
2273
2292
|
._2Evxd {
|
|
2274
2293
|
font-size: 13px; }
|
|
2275
2294
|
|
|
2276
2295
|
._3uYAt {
|
|
2277
2296
|
background: #f8f8f8;
|
|
2278
|
-
padding: 0px
|
|
2297
|
+
padding: 0px 20px; }
|
|
2279
2298
|
._3uYAt ._1V3nf {
|
|
2280
2299
|
background: #fff;
|
|
2281
2300
|
border-radius: 10px;
|
|
@@ -2285,8 +2304,7 @@ h2._1OAmb {
|
|
|
2285
2304
|
padding: 2px 0px !important; }
|
|
2286
2305
|
._3uYAt ._2AQxk {
|
|
2287
2306
|
background: #fff;
|
|
2288
|
-
border-radius: 10px;
|
|
2289
|
-
padding: 0px 10px; }
|
|
2307
|
+
border-radius: 10px; }
|
|
2290
2308
|
|
|
2291
2309
|
._J8fJn {
|
|
2292
2310
|
margin-right: 12px; }
|
|
@@ -2310,7 +2328,7 @@ h2._1OAmb {
|
|
|
2310
2328
|
|
|
2311
2329
|
._2QGnx {
|
|
2312
2330
|
text-align: center;
|
|
2313
|
-
padding: 10px
|
|
2331
|
+
padding: 20px 10px 10px 10px;
|
|
2314
2332
|
width: 205px;
|
|
2315
2333
|
margin-right: 16px;
|
|
2316
2334
|
border-radius: 9px;
|
|
@@ -2318,7 +2336,8 @@ h2._1OAmb {
|
|
|
2318
2336
|
._2QGnx ._175nT {
|
|
2319
2337
|
font-size: 17px;
|
|
2320
2338
|
font-weight: 700;
|
|
2321
|
-
color: rgba(102, 102, 112, 0.75);
|
|
2339
|
+
color: rgba(102, 102, 112, 0.75);
|
|
2340
|
+
white-space: nowrap; }
|
|
2322
2341
|
._2QGnx ._fEaRj {
|
|
2323
2342
|
color: #252733;
|
|
2324
2343
|
font-weight: 700;
|
|
@@ -2919,6 +2938,9 @@ h2._1OAmb {
|
|
|
2919
2938
|
font-size: 15.5px !important;
|
|
2920
2939
|
font-weight: bold; }
|
|
2921
2940
|
|
|
2941
|
+
._3pCG5 {
|
|
2942
|
+
font-size: 15.5px !important; }
|
|
2943
|
+
|
|
2922
2944
|
._1hYRu:hover {
|
|
2923
2945
|
cursor: pointer; }
|
|
2924
2946
|
|
|
@@ -3475,6 +3497,9 @@ h2._1OAmb {
|
|
|
3475
3497
|
font-size: 15.5px !important;
|
|
3476
3498
|
font-weight: bold; }
|
|
3477
3499
|
|
|
3500
|
+
._Ga4Nf {
|
|
3501
|
+
font-size: 15.5px !important; }
|
|
3502
|
+
|
|
3478
3503
|
@font-face {
|
|
3479
3504
|
font-family: "Lato-Regular";
|
|
3480
3505
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3509,6 +3534,9 @@ h4._1gYmd > i {
|
|
|
3509
3534
|
text-transform: capitalize;
|
|
3510
3535
|
font-size: 14px;
|
|
3511
3536
|
line-height: 19.07px; }
|
|
3537
|
+
@media only screen and (max-width: 480px) {
|
|
3538
|
+
._29Tsr h5._2J0ft {
|
|
3539
|
+
font-size: 11px; } }
|
|
3512
3540
|
|
|
3513
3541
|
._29Tsr p._1xpMn {
|
|
3514
3542
|
color: #6b6b6b;
|
|
@@ -3521,13 +3549,6 @@ h4._1gYmd > i {
|
|
|
3521
3549
|
._29Tsr p._1xpMn {
|
|
3522
3550
|
margin-bottom: 0px; } }
|
|
3523
3551
|
|
|
3524
|
-
._29Tsr h5._2J0ft {
|
|
3525
|
-
color: #2d3748;
|
|
3526
|
-
font-weight: 700;
|
|
3527
|
-
text-transform: capitalize;
|
|
3528
|
-
font-size: 14px;
|
|
3529
|
-
line-height: 19.07px; }
|
|
3530
|
-
|
|
3531
3552
|
._SX3F9 {
|
|
3532
3553
|
margin-right: 20px; }
|
|
3533
3554
|
._SX3F9 img {
|
|
@@ -3576,9 +3597,14 @@ h4._1gYmd > i {
|
|
|
3576
3597
|
._7Fnwi ._2NjHb {
|
|
3577
3598
|
background: #edf2f7;
|
|
3578
3599
|
border-radius: 12px; }
|
|
3600
|
+
._7Fnwi ._3efPB {
|
|
3601
|
+
width: 2%; }
|
|
3602
|
+
@media (max-width: 767px) {
|
|
3603
|
+
._7Fnwi ._3efPB {
|
|
3604
|
+
width: 7%; } }
|
|
3579
3605
|
._7Fnwi ._1cAXC {
|
|
3580
3606
|
cursor: pointer;
|
|
3581
|
-
margin-left:
|
|
3607
|
+
margin-left: 10px; }
|
|
3582
3608
|
|
|
3583
3609
|
._uF3Es {
|
|
3584
3610
|
background: #edf2f7;
|
|
@@ -3587,7 +3613,11 @@ h4._1gYmd > i {
|
|
|
3587
3613
|
color: #000000; }
|
|
3588
3614
|
|
|
3589
3615
|
._1a24j {
|
|
3590
|
-
margin-bottom: 20px;
|
|
3616
|
+
margin-bottom: 20px;
|
|
3617
|
+
width: 98%; }
|
|
3618
|
+
@media (max-width: 767px) {
|
|
3619
|
+
._1a24j {
|
|
3620
|
+
width: 93%; } }
|
|
3591
3621
|
|
|
3592
3622
|
._1elXi {
|
|
3593
3623
|
font-size: 16px;
|
|
@@ -3637,6 +3667,9 @@ h4._pDCgR {
|
|
|
3637
3667
|
._PaUcu ._nmBGv i {
|
|
3638
3668
|
margin-left: 10px; } }
|
|
3639
3669
|
|
|
3670
|
+
._2pF1z, ._2W0UP {
|
|
3671
|
+
cursor: pointer; }
|
|
3672
|
+
|
|
3640
3673
|
@font-face {
|
|
3641
3674
|
font-family: "Lato-Regular";
|
|
3642
3675
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3891,6 +3924,18 @@ h4._pDCgR {
|
|
|
3891
3924
|
._1OUbl p {
|
|
3892
3925
|
color: #a80000; }
|
|
3893
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
|
+
|
|
3894
3939
|
._12tWP ._1WNMT ._3BU0L p, ._1WNMT ._3BU0L p {
|
|
3895
3940
|
color: #2d3748;
|
|
3896
3941
|
font-size: 18px;
|
|
@@ -3924,6 +3969,9 @@ h4._pDCgR {
|
|
|
3924
3969
|
border-right: 1px solid #e2e8f0; }
|
|
3925
3970
|
._23ZHZ ._3DiW6 > div {
|
|
3926
3971
|
display: inline-block; }
|
|
3972
|
+
@media (max-width: 767px) {
|
|
3973
|
+
._23ZHZ {
|
|
3974
|
+
min-width: 1200px; } }
|
|
3927
3975
|
|
|
3928
3976
|
._1QPtC {
|
|
3929
3977
|
padding: 0px 20px;
|
|
@@ -4020,8 +4068,8 @@ h2._1KpSK {
|
|
|
4020
4068
|
._2_UXR img,
|
|
4021
4069
|
._1fQy_ img,
|
|
4022
4070
|
._q3ph4 img {
|
|
4023
|
-
width:
|
|
4024
|
-
height:
|
|
4071
|
+
width: 40px;
|
|
4072
|
+
height: 40px;
|
|
4025
4073
|
border-radius: 50%; }
|
|
4026
4074
|
|
|
4027
4075
|
._11rk4 {
|
|
@@ -4187,6 +4235,10 @@ h2._1KpSK {
|
|
|
4187
4235
|
font-size: 15px;
|
|
4188
4236
|
font-weight: 400; }
|
|
4189
4237
|
|
|
4238
|
+
._2fk-W {
|
|
4239
|
+
font-size: 15px;
|
|
4240
|
+
color: red; }
|
|
4241
|
+
|
|
4190
4242
|
._xFFH1 {
|
|
4191
4243
|
width: 60px;
|
|
4192
4244
|
height: 60px;
|
|
@@ -4230,3 +4282,7 @@ h2._1KpSK {
|
|
|
4230
4282
|
color: #0a4da2;
|
|
4231
4283
|
font-size: 15px;
|
|
4232
4284
|
font-weight: 400; }
|
|
4285
|
+
|
|
4286
|
+
._knGhP {
|
|
4287
|
+
font-size: 15px;
|
|
4288
|
+
color: red; }
|