mario-teacher-student-client 1.4.0 → 1.4.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/Input/UploadFileImage.d.ts +16 -0
- package/dist/components/selector/StudentSelector.d.ts +1 -1
- package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +10 -0
- package/dist/containers/MyStudent/hooks/useLearningPlan.d.ts +4 -0
- package/dist/index.css +77 -10
- package/dist/index.js +1525 -1099
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1510 -1084
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
setFileImage?: any;
|
|
7
|
+
name?: string;
|
|
8
|
+
imagePreviewUrl?: any;
|
|
9
|
+
indexValue?: number;
|
|
10
|
+
setFieldValue?: any;
|
|
11
|
+
handleSetNameFile?: any;
|
|
12
|
+
data?: any;
|
|
13
|
+
imageFileName?: any;
|
|
14
|
+
}
|
|
15
|
+
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue }: Props) => JSX.Element;
|
|
16
|
+
export default UploadFileImage;
|
|
@@ -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;
|
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; }
|
|
@@ -207,6 +208,37 @@ p._1YLGi {
|
|
|
207
208
|
line-height: 24px;
|
|
208
209
|
margin-bottom: 0px; }
|
|
209
210
|
|
|
211
|
+
._1spIR ._qDlsm {
|
|
212
|
+
padding: 10px 0;
|
|
213
|
+
display: flex; }
|
|
214
|
+
._1spIR ._qDlsm ._g-p72 {
|
|
215
|
+
font-size: 18px;
|
|
216
|
+
font-weight: 700;
|
|
217
|
+
margin-right: 3px; }
|
|
218
|
+
._1spIR ._qDlsm ._2U60d {
|
|
219
|
+
font-size: 18px;
|
|
220
|
+
font-weight: 700; }
|
|
221
|
+
|
|
222
|
+
._1spIR ._3C-Xm {
|
|
223
|
+
width: 443px;
|
|
224
|
+
height: 175px;
|
|
225
|
+
display: flex;
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
justify-content: center;
|
|
228
|
+
align-items: center;
|
|
229
|
+
border: 1px dashed rgba(0, 0, 0, 0.54);
|
|
230
|
+
border-radius: 12px;
|
|
231
|
+
cursor: pointer; }
|
|
232
|
+
._1spIR ._3C-Xm ._2zIn5 {
|
|
233
|
+
font-size: 62px;
|
|
234
|
+
width: 62px;
|
|
235
|
+
height: 62px; }
|
|
236
|
+
._1spIR ._3C-Xm ._yNCgm {
|
|
237
|
+
font-size: 16px; }
|
|
238
|
+
._1spIR ._3C-Xm ._35Wqq {
|
|
239
|
+
font-size: 12px;
|
|
240
|
+
color: rgba(0, 0, 0, 0.54); }
|
|
241
|
+
|
|
210
242
|
@font-face {
|
|
211
243
|
font-family: "Lato-Regular";
|
|
212
244
|
src: url("/fonts/Lato-Regular.ttf");
|
|
@@ -1612,7 +1644,7 @@ p._1YLGi {
|
|
|
1612
1644
|
._T1fJ4 ._2hOFE {
|
|
1613
1645
|
padding-right: 20px;
|
|
1614
1646
|
font-weight: 800;
|
|
1615
|
-
margin-top:
|
|
1647
|
+
margin-top: 5px; }
|
|
1616
1648
|
|
|
1617
1649
|
._3-Mx5 p:nth-child(1) {
|
|
1618
1650
|
color: #2d3748;
|
|
@@ -2065,7 +2097,7 @@ h2._1OAmb {
|
|
|
2065
2097
|
|
|
2066
2098
|
._ruFmH {
|
|
2067
2099
|
display: flex;
|
|
2068
|
-
padding: 10px
|
|
2100
|
+
padding: 10px 20px;
|
|
2069
2101
|
border-bottom: 1px solid #ebebeb; }
|
|
2070
2102
|
._ruFmH:nth-of-type(odd) {
|
|
2071
2103
|
background-color: #f9f9f9; }
|
|
@@ -2083,12 +2115,12 @@ h2._1OAmb {
|
|
|
2083
2115
|
white-space: nowrap;
|
|
2084
2116
|
text-overflow: ellipsis; }
|
|
2085
2117
|
._ruFmH ._3NP_o ._3rCrx {
|
|
2086
|
-
font-size:
|
|
2118
|
+
font-size: 14px;
|
|
2087
2119
|
line-height: 24px;
|
|
2088
2120
|
display: flex;
|
|
2089
2121
|
align-items: center; }
|
|
2090
2122
|
._ruFmH ._3NP_o ._3BLm1 {
|
|
2091
|
-
font-size:
|
|
2123
|
+
font-size: 14px;
|
|
2092
2124
|
line-height: 24px;
|
|
2093
2125
|
overflow: hidden;
|
|
2094
2126
|
white-space: nowrap;
|
|
@@ -2096,7 +2128,7 @@ h2._1OAmb {
|
|
|
2096
2128
|
display: flex;
|
|
2097
2129
|
align-items: baseline; }
|
|
2098
2130
|
._ruFmH ._3NP_o ._1pUBh {
|
|
2099
|
-
font-size:
|
|
2131
|
+
font-size: 13px;
|
|
2100
2132
|
line-height: 24px;
|
|
2101
2133
|
font-weight: 700;
|
|
2102
2134
|
padding-left: 5px; }
|
|
@@ -2219,6 +2251,17 @@ h2._1OAmb {
|
|
|
2219
2251
|
._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
|
|
2220
2252
|
width: 100%; }
|
|
2221
2253
|
|
|
2254
|
+
._1Sugi {
|
|
2255
|
+
padding: 10px 20px; }
|
|
2256
|
+
._1Sugi ._YP6al {
|
|
2257
|
+
font-size: 21px;
|
|
2258
|
+
font-weight: 700;
|
|
2259
|
+
padding: 10px 0 20px 0; }
|
|
2260
|
+
._1Sugi ._39GjN {
|
|
2261
|
+
display: flex;
|
|
2262
|
+
flex-wrap: wrap;
|
|
2263
|
+
justify-content: space-around; }
|
|
2264
|
+
|
|
2222
2265
|
._1qzuv {
|
|
2223
2266
|
padding: 20px;
|
|
2224
2267
|
display: flex;
|
|
@@ -2268,7 +2311,7 @@ h2._1OAmb {
|
|
|
2268
2311
|
|
|
2269
2312
|
._2QGnx {
|
|
2270
2313
|
text-align: center;
|
|
2271
|
-
padding: 10px
|
|
2314
|
+
padding: 20px 10px 10px 10px;
|
|
2272
2315
|
width: 205px;
|
|
2273
2316
|
margin-right: 16px;
|
|
2274
2317
|
border-radius: 9px;
|
|
@@ -2276,7 +2319,8 @@ h2._1OAmb {
|
|
|
2276
2319
|
._2QGnx ._175nT {
|
|
2277
2320
|
font-size: 17px;
|
|
2278
2321
|
font-weight: 700;
|
|
2279
|
-
color: rgba(102, 102, 112, 0.75);
|
|
2322
|
+
color: rgba(102, 102, 112, 0.75);
|
|
2323
|
+
white-space: nowrap; }
|
|
2280
2324
|
._2QGnx ._fEaRj {
|
|
2281
2325
|
color: #252733;
|
|
2282
2326
|
font-weight: 700;
|
|
@@ -3849,6 +3893,18 @@ h4._pDCgR {
|
|
|
3849
3893
|
._1OUbl p {
|
|
3850
3894
|
color: #a80000; }
|
|
3851
3895
|
|
|
3896
|
+
@font-face {
|
|
3897
|
+
font-family: "Lato-Regular";
|
|
3898
|
+
src: url("/fonts/Lato-Regular.ttf");
|
|
3899
|
+
font-weight: normal;
|
|
3900
|
+
font-style: normal; }
|
|
3901
|
+
|
|
3902
|
+
@font-face {
|
|
3903
|
+
font-family: "Lato-Bold";
|
|
3904
|
+
src: url("/fonts/Lato-Bold.ttf");
|
|
3905
|
+
font-weight: normal;
|
|
3906
|
+
font-style: normal; }
|
|
3907
|
+
|
|
3852
3908
|
._12tWP ._1WNMT ._3BU0L p, ._1WNMT ._3BU0L p {
|
|
3853
3909
|
color: #2d3748;
|
|
3854
3910
|
font-size: 18px;
|
|
@@ -3882,6 +3938,9 @@ h4._pDCgR {
|
|
|
3882
3938
|
border-right: 1px solid #e2e8f0; }
|
|
3883
3939
|
._23ZHZ ._3DiW6 > div {
|
|
3884
3940
|
display: inline-block; }
|
|
3941
|
+
@media (max-width: 767px) {
|
|
3942
|
+
._23ZHZ {
|
|
3943
|
+
min-width: 1200px; } }
|
|
3885
3944
|
|
|
3886
3945
|
._1QPtC {
|
|
3887
3946
|
padding: 0px 20px;
|
|
@@ -3978,8 +4037,8 @@ h2._1KpSK {
|
|
|
3978
4037
|
._2_UXR img,
|
|
3979
4038
|
._1fQy_ img,
|
|
3980
4039
|
._q3ph4 img {
|
|
3981
|
-
width:
|
|
3982
|
-
height:
|
|
4040
|
+
width: 40px;
|
|
4041
|
+
height: 40px;
|
|
3983
4042
|
border-radius: 50%; }
|
|
3984
4043
|
|
|
3985
4044
|
._11rk4 {
|
|
@@ -4145,6 +4204,10 @@ h2._1KpSK {
|
|
|
4145
4204
|
font-size: 15px;
|
|
4146
4205
|
font-weight: 400; }
|
|
4147
4206
|
|
|
4207
|
+
._2fk-W {
|
|
4208
|
+
font-size: 15px;
|
|
4209
|
+
color: red; }
|
|
4210
|
+
|
|
4148
4211
|
._xFFH1 {
|
|
4149
4212
|
width: 60px;
|
|
4150
4213
|
height: 60px;
|
|
@@ -4188,3 +4251,7 @@ h2._1KpSK {
|
|
|
4188
4251
|
color: #0a4da2;
|
|
4189
4252
|
font-size: 15px;
|
|
4190
4253
|
font-weight: 400; }
|
|
4254
|
+
|
|
4255
|
+
._knGhP {
|
|
4256
|
+
font-size: 15px;
|
|
4257
|
+
color: red; }
|