mario-teacher-student-client 1.4.4 → 1.4.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/components/NewLearningPlan.d.ts +1 -0
- package/dist/containers/MyStudent/components/OverviewWellbeing.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/containers/MyStudent/hooks/useOverview.d.ts +1 -0
- package/dist/index.css +104 -21
- package/dist/index.js +1039 -427
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1040 -428
- 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
|
+
}
|
|
@@ -5,5 +5,6 @@ declare const useOverview: (studentId: number) => {
|
|
|
5
5
|
filters: FILTER_STUDENT_WELLBEING;
|
|
6
6
|
changeFilters: (updatedFilters: any) => void;
|
|
7
7
|
informationWellbeing: any;
|
|
8
|
+
getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
|
|
8
9
|
};
|
|
9
10
|
export default useOverview;
|
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
|
|
|
@@ -1788,6 +1793,13 @@ h2._1OAmb {
|
|
|
1788
1793
|
color: #000000;
|
|
1789
1794
|
font-weight: normal;
|
|
1790
1795
|
padding-bottom: 10px; }
|
|
1796
|
+
._gOdCz ._3h4fG ._3tSGF {
|
|
1797
|
+
font-size: 12px;
|
|
1798
|
+
font-weight: normal;
|
|
1799
|
+
margin-bottom: 5px;
|
|
1800
|
+
line-height: 14px;
|
|
1801
|
+
color: #6b6b6b;
|
|
1802
|
+
font-style: italic; }
|
|
1791
1803
|
._gOdCz ._2xyvg ._1IckI {
|
|
1792
1804
|
width: 312px;
|
|
1793
1805
|
padding: 14px 8px 8px 14px; }
|
|
@@ -1820,6 +1832,7 @@ h2._1OAmb {
|
|
|
1820
1832
|
align-items: center;
|
|
1821
1833
|
padding: 8px;
|
|
1822
1834
|
margin: 8px;
|
|
1835
|
+
margin-left: 14px !important;
|
|
1823
1836
|
color: #153e75;
|
|
1824
1837
|
background-color: #e7f6fd;
|
|
1825
1838
|
border-left: 3px solid;
|
|
@@ -1828,12 +1841,12 @@ h2._1OAmb {
|
|
|
1828
1841
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._JAWru {
|
|
1829
1842
|
text-align: center;
|
|
1830
1843
|
margin-right: 8px;
|
|
1831
|
-
font-size:
|
|
1844
|
+
font-size: 13px;
|
|
1832
1845
|
font-weight: 500; }
|
|
1833
1846
|
._gOdCz ._smLhQ ._1MX_1 ._vE2nJ ._3RlQ2 {
|
|
1834
1847
|
text-align: center;
|
|
1835
1848
|
margin-right: 8px;
|
|
1836
|
-
font-size:
|
|
1849
|
+
font-size: 15px;
|
|
1837
1850
|
font-weight: 600; }
|
|
1838
1851
|
|
|
1839
1852
|
._3d254 {
|
|
@@ -2133,7 +2146,7 @@ h2._1OAmb {
|
|
|
2133
2146
|
font-weight: 700;
|
|
2134
2147
|
padding-left: 5px; }
|
|
2135
2148
|
._ruFmH ._3NP_o ._3BLm1 {
|
|
2136
|
-
font-size:
|
|
2149
|
+
font-size: 14px;
|
|
2137
2150
|
overflow: hidden;
|
|
2138
2151
|
white-space: nowrap;
|
|
2139
2152
|
text-overflow: ellipsis; }
|
|
@@ -2248,6 +2261,11 @@ h2._1OAmb {
|
|
|
2248
2261
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw {
|
|
2249
2262
|
width: 250px;
|
|
2250
2263
|
margin-right: 10px; }
|
|
2264
|
+
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw > div > div > input {
|
|
2265
|
+
padding: 16px 10px;
|
|
2266
|
+
border: 1px solid #c4c4c4;
|
|
2267
|
+
border-radius: 12px;
|
|
2268
|
+
width: 100%; }
|
|
2251
2269
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
|
|
2252
2270
|
width: 100%; }
|
|
2253
2271
|
|
|
@@ -2265,18 +2283,24 @@ h2._1OAmb {
|
|
|
2265
2283
|
._1qzuv {
|
|
2266
2284
|
padding: 20px;
|
|
2267
2285
|
display: flex;
|
|
2268
|
-
justify-content:
|
|
2286
|
+
justify-content: space-between;
|
|
2287
|
+
align-items: center; }
|
|
2288
|
+
._1qzuv ._1sMei ._qam_e {
|
|
2289
|
+
margin-right: 15px; }
|
|
2269
2290
|
|
|
2270
2291
|
._2yb4T {
|
|
2271
2292
|
font-size: 15.5px !important;
|
|
2272
2293
|
font-weight: bold; }
|
|
2273
2294
|
|
|
2295
|
+
._1ccic {
|
|
2296
|
+
font-size: 15.5px !important; }
|
|
2297
|
+
|
|
2274
2298
|
._2Evxd {
|
|
2275
2299
|
font-size: 13px; }
|
|
2276
2300
|
|
|
2277
2301
|
._3uYAt {
|
|
2278
2302
|
background: #f8f8f8;
|
|
2279
|
-
padding: 0px
|
|
2303
|
+
padding: 0px 20px; }
|
|
2280
2304
|
._3uYAt ._1V3nf {
|
|
2281
2305
|
background: #fff;
|
|
2282
2306
|
border-radius: 10px;
|
|
@@ -2287,10 +2311,12 @@ h2._1OAmb {
|
|
|
2287
2311
|
._3uYAt ._2AQxk {
|
|
2288
2312
|
background: #fff;
|
|
2289
2313
|
border-radius: 10px;
|
|
2290
|
-
|
|
2314
|
+
height: 100%;
|
|
2315
|
+
max-height: 188px; }
|
|
2291
2316
|
|
|
2292
2317
|
._J8fJn {
|
|
2293
|
-
margin-right: 12px;
|
|
2318
|
+
margin-right: 12px;
|
|
2319
|
+
height: 100%; }
|
|
2294
2320
|
|
|
2295
2321
|
._1qCwl {
|
|
2296
2322
|
display: flex;
|
|
@@ -2340,6 +2366,9 @@ h2._1OAmb {
|
|
|
2340
2366
|
font-weight: bold !important;
|
|
2341
2367
|
color: #000; }
|
|
2342
2368
|
|
|
2369
|
+
._2wWhs {
|
|
2370
|
+
width: 90%; }
|
|
2371
|
+
|
|
2343
2372
|
@font-face {
|
|
2344
2373
|
font-family: "Lato-Regular";
|
|
2345
2374
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -2921,6 +2950,9 @@ h2._1OAmb {
|
|
|
2921
2950
|
font-size: 15.5px !important;
|
|
2922
2951
|
font-weight: bold; }
|
|
2923
2952
|
|
|
2953
|
+
._3pCG5 {
|
|
2954
|
+
font-size: 15.5px !important; }
|
|
2955
|
+
|
|
2924
2956
|
._1hYRu:hover {
|
|
2925
2957
|
cursor: pointer; }
|
|
2926
2958
|
|
|
@@ -3477,6 +3509,9 @@ h2._1OAmb {
|
|
|
3477
3509
|
font-size: 15.5px !important;
|
|
3478
3510
|
font-weight: bold; }
|
|
3479
3511
|
|
|
3512
|
+
._Ga4Nf {
|
|
3513
|
+
font-size: 15.5px !important; }
|
|
3514
|
+
|
|
3480
3515
|
@font-face {
|
|
3481
3516
|
font-family: "Lato-Regular";
|
|
3482
3517
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3511,6 +3546,9 @@ h4._1gYmd > i {
|
|
|
3511
3546
|
text-transform: capitalize;
|
|
3512
3547
|
font-size: 14px;
|
|
3513
3548
|
line-height: 19.07px; }
|
|
3549
|
+
@media only screen and (max-width: 480px) {
|
|
3550
|
+
._29Tsr h5._2J0ft {
|
|
3551
|
+
font-size: 11px; } }
|
|
3514
3552
|
|
|
3515
3553
|
._29Tsr p._1xpMn {
|
|
3516
3554
|
color: #6b6b6b;
|
|
@@ -3523,13 +3561,6 @@ h4._1gYmd > i {
|
|
|
3523
3561
|
._29Tsr p._1xpMn {
|
|
3524
3562
|
margin-bottom: 0px; } }
|
|
3525
3563
|
|
|
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
3564
|
._SX3F9 {
|
|
3534
3565
|
margin-right: 20px; }
|
|
3535
3566
|
._SX3F9 img {
|
|
@@ -3578,9 +3609,14 @@ h4._1gYmd > i {
|
|
|
3578
3609
|
._7Fnwi ._2NjHb {
|
|
3579
3610
|
background: #edf2f7;
|
|
3580
3611
|
border-radius: 12px; }
|
|
3612
|
+
._7Fnwi ._3efPB {
|
|
3613
|
+
width: 2%; }
|
|
3614
|
+
@media (max-width: 767px) {
|
|
3615
|
+
._7Fnwi ._3efPB {
|
|
3616
|
+
width: 7%; } }
|
|
3581
3617
|
._7Fnwi ._1cAXC {
|
|
3582
3618
|
cursor: pointer;
|
|
3583
|
-
margin-left:
|
|
3619
|
+
margin-left: 10px; }
|
|
3584
3620
|
|
|
3585
3621
|
._uF3Es {
|
|
3586
3622
|
background: #edf2f7;
|
|
@@ -3589,7 +3625,11 @@ h4._1gYmd > i {
|
|
|
3589
3625
|
color: #000000; }
|
|
3590
3626
|
|
|
3591
3627
|
._1a24j {
|
|
3592
|
-
margin-bottom: 20px;
|
|
3628
|
+
margin-bottom: 20px;
|
|
3629
|
+
width: 98%; }
|
|
3630
|
+
@media (max-width: 767px) {
|
|
3631
|
+
._1a24j {
|
|
3632
|
+
width: 93%; } }
|
|
3593
3633
|
|
|
3594
3634
|
._1elXi {
|
|
3595
3635
|
font-size: 16px;
|
|
@@ -3639,6 +3679,9 @@ h4._pDCgR {
|
|
|
3639
3679
|
._PaUcu ._nmBGv i {
|
|
3640
3680
|
margin-left: 10px; } }
|
|
3641
3681
|
|
|
3682
|
+
._2pF1z, ._2W0UP {
|
|
3683
|
+
cursor: pointer; }
|
|
3684
|
+
|
|
3642
3685
|
@font-face {
|
|
3643
3686
|
font-family: "Lato-Regular";
|
|
3644
3687
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -3844,6 +3887,10 @@ h4._pDCgR {
|
|
|
3844
3887
|
padding-left: 5px;
|
|
3845
3888
|
padding-right: 5px;
|
|
3846
3889
|
padding-bottom: 20px; } }
|
|
3890
|
+
@media (min-width: 768px) {
|
|
3891
|
+
._3JpwN ._25yEQ {
|
|
3892
|
+
overflow-x: scroll;
|
|
3893
|
+
padding: 0px 6px; } }
|
|
3847
3894
|
|
|
3848
3895
|
._2j3OQ {
|
|
3849
3896
|
max-height: 100vh; }
|
|
@@ -3893,6 +3940,22 @@ h4._pDCgR {
|
|
|
3893
3940
|
._1OUbl p {
|
|
3894
3941
|
color: #a80000; }
|
|
3895
3942
|
|
|
3943
|
+
@media (min-width: 768px) {
|
|
3944
|
+
::-webkit-scrollbar {
|
|
3945
|
+
height: 8px; } }
|
|
3946
|
+
|
|
3947
|
+
@font-face {
|
|
3948
|
+
font-family: "Lato-Regular";
|
|
3949
|
+
src: url("/fonts/Lato-Regular.ttf");
|
|
3950
|
+
font-weight: normal;
|
|
3951
|
+
font-style: normal; }
|
|
3952
|
+
|
|
3953
|
+
@font-face {
|
|
3954
|
+
font-family: "Lato-Bold";
|
|
3955
|
+
src: url("/fonts/Lato-Bold.ttf");
|
|
3956
|
+
font-weight: normal;
|
|
3957
|
+
font-style: normal; }
|
|
3958
|
+
|
|
3896
3959
|
._12tWP ._1WNMT ._3BU0L p, ._1WNMT ._3BU0L p {
|
|
3897
3960
|
color: #2d3748;
|
|
3898
3961
|
font-size: 18px;
|
|
@@ -3912,7 +3975,7 @@ h4._pDCgR {
|
|
|
3912
3975
|
._23ZHZ thead tr th {
|
|
3913
3976
|
border-top: none;
|
|
3914
3977
|
color: #fff;
|
|
3915
|
-
padding: 15px; }
|
|
3978
|
+
padding: 15px 10px; }
|
|
3916
3979
|
._23ZHZ thead tr th:nth-child(1) {
|
|
3917
3980
|
border-top-left-radius: 5px;
|
|
3918
3981
|
text-transform: uppercase; }
|
|
@@ -3926,6 +3989,12 @@ h4._pDCgR {
|
|
|
3926
3989
|
border-right: 1px solid #e2e8f0; }
|
|
3927
3990
|
._23ZHZ ._3DiW6 > div {
|
|
3928
3991
|
display: inline-block; }
|
|
3992
|
+
@media (max-width: 767px) {
|
|
3993
|
+
._23ZHZ {
|
|
3994
|
+
min-width: 1305px; } }
|
|
3995
|
+
@media (min-width: 768px) {
|
|
3996
|
+
._23ZHZ {
|
|
3997
|
+
min-width: 1400px; } }
|
|
3929
3998
|
|
|
3930
3999
|
._1QPtC {
|
|
3931
4000
|
padding: 0px 20px;
|
|
@@ -3939,6 +4008,12 @@ h4._pDCgR {
|
|
|
3939
4008
|
padding-left: 5px; } }
|
|
3940
4009
|
._1QPtC ._23ZHZ {
|
|
3941
4010
|
margin-bottom: 40px; }
|
|
4011
|
+
@media (min-width: 768px) {
|
|
4012
|
+
._1QPtC {
|
|
4013
|
+
padding-bottom: 30px; }
|
|
4014
|
+
._1QPtC ._29OJt {
|
|
4015
|
+
overflow-x: scroll;
|
|
4016
|
+
padding: 0 6px; } }
|
|
3942
4017
|
|
|
3943
4018
|
._2CRbt {
|
|
3944
4019
|
display: flex;
|
|
@@ -4022,8 +4097,8 @@ h2._1KpSK {
|
|
|
4022
4097
|
._2_UXR img,
|
|
4023
4098
|
._1fQy_ img,
|
|
4024
4099
|
._q3ph4 img {
|
|
4025
|
-
width:
|
|
4026
|
-
height:
|
|
4100
|
+
width: 40px;
|
|
4101
|
+
height: 40px;
|
|
4027
4102
|
border-radius: 50%; }
|
|
4028
4103
|
|
|
4029
4104
|
._11rk4 {
|
|
@@ -4189,6 +4264,10 @@ h2._1KpSK {
|
|
|
4189
4264
|
font-size: 15px;
|
|
4190
4265
|
font-weight: 400; }
|
|
4191
4266
|
|
|
4267
|
+
._2fk-W {
|
|
4268
|
+
font-size: 15px;
|
|
4269
|
+
color: red; }
|
|
4270
|
+
|
|
4192
4271
|
._xFFH1 {
|
|
4193
4272
|
width: 60px;
|
|
4194
4273
|
height: 60px;
|
|
@@ -4232,3 +4311,7 @@ h2._1KpSK {
|
|
|
4232
4311
|
color: #0a4da2;
|
|
4233
4312
|
font-size: 15px;
|
|
4234
4313
|
font-weight: 400; }
|
|
4314
|
+
|
|
4315
|
+
._knGhP {
|
|
4316
|
+
font-size: 15px;
|
|
4317
|
+
color: red; }
|