mario-teacher-student-client 1.3.7 → 1.4.2

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.
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ declare const CreateStudent: () => JSX.Element;
3
+ export default CreateStudent;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const UpdateStudentProfile: () => JSX.Element;
3
+ export default UpdateStudentProfile;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare const useCreateStudent: () => {
3
+ createStudent: (data: any) => Promise<void>;
4
+ setFile: import("react").Dispatch<any>;
5
+ };
6
+ export default useCreateStudent;
@@ -0,0 +1,4 @@
1
+ declare const useLearningPlan: () => {
2
+ createNewLearningPlan: (data: any) => Promise<void>;
3
+ };
4
+ export default useLearningPlan;
@@ -3,6 +3,7 @@ declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
5
  filters: FILTER_STUDENT_SESSION;
6
- importStudentCsv: (file: any, teacherID: string) => Promise<void>;
6
+ importStudentCsv: (file: any, teacherID: string, cb: any) => Promise<void>;
7
+ getData: () => Promise<void>;
7
8
  };
8
9
  export default useStudentList;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const useUpdateProfile: (studentId: number) => {
3
+ studentData: any;
4
+ updateStudentProfile: (studentId: any, data: any) => Promise<void>;
5
+ file: any;
6
+ setFile: import("react").Dispatch<any>;
7
+ setStudentData: import("react").Dispatch<any>;
8
+ };
9
+ export default useUpdateProfile;
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; }
@@ -146,7 +147,7 @@ p._1YLGi {
146
147
  ._1M6M1 ._1wmi8 {
147
148
  padding: 10px 0;
148
149
  margin-right: 8px;
149
- width: 22%; }
150
+ width: 34%; }
150
151
  ._1M6M1 ._1wmi8 img {
151
152
  width: 38px;
152
153
  height: 38px; }
@@ -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");
@@ -992,6 +1024,10 @@ p._1YLGi {
992
1024
  color: rgba(0, 0, 0, 0.54);
993
1025
  margin-left: 10px; } }
994
1026
 
1027
+ ._1IZ5- {
1028
+ font-size: 15.5px !important;
1029
+ font-weight: bold; }
1030
+
995
1031
  @font-face {
996
1032
  font-family: "Lato-Regular";
997
1033
  src: url("/fonts/Lato-Regular.ttf");
@@ -1541,6 +1577,13 @@ p._1YLGi {
1541
1577
  ._3Zw5w:hover {
1542
1578
  cursor: pointer; }
1543
1579
 
1580
+ ._1AbWU {
1581
+ font-size: 15.5px !important;
1582
+ font-weight: bold; }
1583
+
1584
+ ._2PZMK._1PO82 {
1585
+ margin-top: 10px; }
1586
+
1544
1587
  @font-face {
1545
1588
  font-family: "Lato-Regular";
1546
1589
  src: url("/fonts/Lato-Regular.ttf");
@@ -1601,7 +1644,7 @@ p._1YLGi {
1601
1644
  ._T1fJ4 ._2hOFE {
1602
1645
  padding-right: 20px;
1603
1646
  font-weight: 800;
1604
- margin-top: 10px; }
1647
+ margin-top: 5px; }
1605
1648
 
1606
1649
  ._3-Mx5 p:nth-child(1) {
1607
1650
  color: #2d3748;
@@ -1839,6 +1882,13 @@ h2._1OAmb {
1839
1882
  border-radius: 12px;
1840
1883
  text-transform: uppercase;
1841
1884
  margin: 0; }
1885
+ ._K0gyx ._KnDEX Button {
1886
+ margin-left: 10px;
1887
+ padding: 14px;
1888
+ border-radius: 12px;
1889
+ background-color: #308252; }
1890
+ ._K0gyx ._KnDEX Button:hover {
1891
+ background-color: #308252; }
1842
1892
 
1843
1893
  ._Hv-Jq thead {
1844
1894
  border-top: 1px solid #e8e8e8; }
@@ -1866,6 +1916,9 @@ h2._1OAmb {
1866
1916
  display: inline;
1867
1917
  float: left; }
1868
1918
 
1919
+ ._2cAn8 {
1920
+ font-size: 16px !important; }
1921
+
1869
1922
  ._1NNrE {
1870
1923
  font-size: 16px !important; }
1871
1924
  ._1NNrE ._71BUr {
@@ -1976,7 +2029,7 @@ h2._1OAmb {
1976
2029
  ._36nMF ._o4qjS ._19GYP ._2db0y {
1977
2030
  font-size: 15px;
1978
2031
  font-weight: 600;
1979
- margin-top: -10px; }
2032
+ margin-top: -3px; }
1980
2033
  ._36nMF ._1YPzt {
1981
2034
  display: flex;
1982
2035
  margin-top: 10px; }
@@ -2044,7 +2097,7 @@ h2._1OAmb {
2044
2097
 
2045
2098
  ._ruFmH {
2046
2099
  display: flex;
2047
- padding: 10px 24px;
2100
+ padding: 10px 20px;
2048
2101
  border-bottom: 1px solid #ebebeb; }
2049
2102
  ._ruFmH:nth-of-type(odd) {
2050
2103
  background-color: #f9f9f9; }
@@ -2062,12 +2115,12 @@ h2._1OAmb {
2062
2115
  white-space: nowrap;
2063
2116
  text-overflow: ellipsis; }
2064
2117
  ._ruFmH ._3NP_o ._3rCrx {
2065
- font-size: 16px;
2118
+ font-size: 14px;
2066
2119
  line-height: 24px;
2067
2120
  display: flex;
2068
2121
  align-items: center; }
2069
2122
  ._ruFmH ._3NP_o ._3BLm1 {
2070
- font-size: 16px;
2123
+ font-size: 14px;
2071
2124
  line-height: 24px;
2072
2125
  overflow: hidden;
2073
2126
  white-space: nowrap;
@@ -2075,7 +2128,7 @@ h2._1OAmb {
2075
2128
  display: flex;
2076
2129
  align-items: baseline; }
2077
2130
  ._ruFmH ._3NP_o ._1pUBh {
2078
- font-size: 15px;
2131
+ font-size: 13px;
2079
2132
  line-height: 24px;
2080
2133
  font-weight: 700;
2081
2134
  padding-left: 5px; }
@@ -2198,11 +2251,29 @@ h2._1OAmb {
2198
2251
  ._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
2199
2252
  width: 100%; }
2200
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
+
2201
2265
  ._1qzuv {
2202
2266
  padding: 20px;
2203
2267
  display: flex;
2204
2268
  justify-content: flex-end; }
2205
2269
 
2270
+ ._2yb4T {
2271
+ font-size: 15.5px !important;
2272
+ font-weight: bold; }
2273
+
2274
+ ._2Evxd {
2275
+ font-size: 13px; }
2276
+
2206
2277
  ._3uYAt {
2207
2278
  background: #f8f8f8;
2208
2279
  padding: 0px 25px; }
@@ -2240,7 +2311,7 @@ h2._1OAmb {
2240
2311
 
2241
2312
  ._2QGnx {
2242
2313
  text-align: center;
2243
- padding: 10px 0 0;
2314
+ padding: 20px 10px 10px 10px;
2244
2315
  width: 205px;
2245
2316
  margin-right: 16px;
2246
2317
  border-radius: 9px;
@@ -2248,7 +2319,8 @@ h2._1OAmb {
2248
2319
  ._2QGnx ._175nT {
2249
2320
  font-size: 17px;
2250
2321
  font-weight: 700;
2251
- color: rgba(102, 102, 112, 0.75); }
2322
+ color: rgba(102, 102, 112, 0.75);
2323
+ white-space: nowrap; }
2252
2324
  ._2QGnx ._fEaRj {
2253
2325
  color: #252733;
2254
2326
  font-weight: 700;
@@ -2312,15 +2384,16 @@ h2._1OAmb {
2312
2384
  ._1m4nA:nth-of-type(odd) {
2313
2385
  background-color: #f9f9f9; }
2314
2386
 
2315
- ._2GRUq thead {
2316
- border-top: 1px solid #e8e8e8; }
2317
-
2318
- ._2GRUq td,
2319
- ._2GRUq th {
2320
- border-right: 1px solid #e8e8e8; }
2321
- ._2GRUq td:last-child,
2322
- ._2GRUq th:last-child {
2323
- border-right: none; }
2387
+ ._2GRUq {
2388
+ margin-top: 10px; }
2389
+ ._2GRUq thead {
2390
+ border-top: 1px solid #e8e8e8; }
2391
+ ._2GRUq td,
2392
+ ._2GRUq th {
2393
+ border-right: 1px solid #e8e8e8; }
2394
+ ._2GRUq td:last-child,
2395
+ ._2GRUq th:last-child {
2396
+ border-right: none; }
2324
2397
 
2325
2398
  ._1Qu8S {
2326
2399
  position: relative;
@@ -2348,7 +2421,7 @@ h2._1OAmb {
2348
2421
  display: flex;
2349
2422
  width: 100%;
2350
2423
  max-width: 800px;
2351
- padding: 40px 20px 0; }
2424
+ padding: 30px 20px 0; }
2352
2425
  @media (max-width: 767px) {
2353
2426
  ._3u5N9 {
2354
2427
  flex-direction: column;
@@ -2844,6 +2917,13 @@ h2._1OAmb {
2844
2917
  font-weight: 700;
2845
2918
  margin-bottom: 10px; }
2846
2919
 
2920
+ ._5FhbB {
2921
+ font-size: 15.5px !important;
2922
+ font-weight: bold; }
2923
+
2924
+ ._1hYRu:hover {
2925
+ cursor: pointer; }
2926
+
2847
2927
  @font-face {
2848
2928
  font-family: "Lato-Regular";
2849
2929
  src: url("/fonts/Lato-Regular.ttf");
@@ -2888,15 +2968,16 @@ h2._1OAmb {
2888
2968
  ._2pp4W:nth-of-type(odd) {
2889
2969
  background-color: #f9f9f9; }
2890
2970
 
2891
- ._A7Tnw thead {
2892
- border-top: 1px solid #e8e8e8; }
2893
-
2894
- ._A7Tnw td,
2895
- ._A7Tnw th {
2896
- border-right: 1px solid #e8e8e8; }
2897
- ._A7Tnw td:last-child,
2898
- ._A7Tnw th:last-child {
2899
- border-right: none; }
2971
+ ._A7Tnw {
2972
+ margin-top: 10px; }
2973
+ ._A7Tnw thead {
2974
+ border-top: 1px solid #e8e8e8; }
2975
+ ._A7Tnw td,
2976
+ ._A7Tnw th {
2977
+ border-right: 1px solid #e8e8e8; }
2978
+ ._A7Tnw td:last-child,
2979
+ ._A7Tnw th:last-child {
2980
+ border-right: none; }
2900
2981
 
2901
2982
  ._2p85l {
2902
2983
  position: relative;
@@ -2923,7 +3004,7 @@ h2._1OAmb {
2923
3004
  flex-direction: row;
2924
3005
  display: flex;
2925
3006
  width: 100%;
2926
- padding: 40px 20px 0;
3007
+ padding: 30px 20px 0;
2927
3008
  max-width: 800px; }
2928
3009
  @media (max-width: 767px) {
2929
3010
  ._3cQbL {
@@ -3392,6 +3473,10 @@ h2._1OAmb {
3392
3473
  margin: 10px 5px 0px 0px;
3393
3474
  height: 30px; }
3394
3475
 
3476
+ ._2CiLg {
3477
+ font-size: 15.5px !important;
3478
+ font-weight: bold; }
3479
+
3395
3480
  @font-face {
3396
3481
  font-family: "Lato-Regular";
3397
3482
  src: url("/fonts/Lato-Regular.ttf");
@@ -3444,9 +3529,6 @@ h4._1gYmd > i {
3444
3529
  text-transform: capitalize;
3445
3530
  font-size: 14px;
3446
3531
  line-height: 19.07px; }
3447
- @media (max-width: 767px) {
3448
- ._29Tsr h5._2J0ft {
3449
- font-size: 11px; } }
3450
3532
 
3451
3533
  ._SX3F9 {
3452
3534
  margin-right: 20px; }
@@ -4062,3 +4144,91 @@ h2._1KpSK {
4062
4144
  min-width: auto; } }
4063
4145
  ._1dfpj ._1YvHz {
4064
4146
  margin-top: 20px; }
4147
+
4148
+ ._2YQY8 {
4149
+ width: 60px;
4150
+ height: 60px;
4151
+ border-radius: 50%;
4152
+ margin: 10px 0 10px 16px; }
4153
+
4154
+ ._r-HQr {
4155
+ display: flex;
4156
+ flex-direction: column;
4157
+ max-width: 500px;
4158
+ width: 100%;
4159
+ margin-left: 16px; }
4160
+ ._r-HQr ._1ZSLy {
4161
+ height: 55px; }
4162
+ ._r-HQr ._3ixvM {
4163
+ margin: 20px 0 5px;
4164
+ font-size: 12px;
4165
+ font-weight: 400;
4166
+ color: #6b6b6b; }
4167
+ ._r-HQr ._bWHlA {
4168
+ margin: 10px 0 10px 0;
4169
+ word-wrap: break-word;
4170
+ width: 100%; }
4171
+ ._r-HQr ._bWHlA ._2O323 {
4172
+ color: black;
4173
+ font-weight: 400; }
4174
+ ._r-HQr ._bWHlA ._15UDz {
4175
+ color: black;
4176
+ font-weight: 600; }
4177
+ ._r-HQr ._bWHlA ._15UDz ._a8fEp {
4178
+ word-wrap: break-word; }
4179
+ ._r-HQr ._j6FQq {
4180
+ margin: 10px 0 10px 0;
4181
+ width: 100%;
4182
+ border-radius: 12px;
4183
+ background-color: #308252; }
4184
+ ._r-HQr ._j6FQq:hover {
4185
+ background-color: #308252; }
4186
+ ._r-HQr ._1tibz {
4187
+ text-decoration: underline;
4188
+ color: #0a4da2;
4189
+ font-size: 15px;
4190
+ font-weight: 400; }
4191
+
4192
+ ._xFFH1 {
4193
+ width: 60px;
4194
+ height: 60px;
4195
+ border-radius: 50%;
4196
+ margin: 10px 0 10px 16px; }
4197
+
4198
+ ._37Us4 {
4199
+ display: flex;
4200
+ flex-direction: column;
4201
+ max-width: 500px;
4202
+ width: 100%;
4203
+ margin-left: 16px; }
4204
+ ._37Us4 ._27dzc {
4205
+ height: 55px; }
4206
+ ._37Us4 ._3Nl5D {
4207
+ margin: 20px 0 5px;
4208
+ font-size: 12px;
4209
+ font-weight: 400;
4210
+ color: #6b6b6b; }
4211
+ ._37Us4 ._3O2xZ {
4212
+ margin: 10px 0 10px 0;
4213
+ word-wrap: break-word;
4214
+ width: 100%; }
4215
+ ._37Us4 ._3O2xZ ._LOIyE {
4216
+ color: black;
4217
+ font-weight: 400; }
4218
+ ._37Us4 ._3O2xZ ._1anAm {
4219
+ color: black;
4220
+ font-weight: 600; }
4221
+ ._37Us4 ._3O2xZ ._1anAm ._1SUmr {
4222
+ word-wrap: break-word; }
4223
+ ._37Us4 ._2KMds {
4224
+ margin: 10px 0 10px 0;
4225
+ width: 100%;
4226
+ border-radius: 12px;
4227
+ background-color: #308252; }
4228
+ ._37Us4 ._2KMds:hover {
4229
+ background-color: #308252; }
4230
+ ._37Us4 ._2mhbx {
4231
+ text-decoration: underline;
4232
+ color: #0a4da2;
4233
+ font-size: 15px;
4234
+ font-weight: 400; }
package/dist/index.d.ts CHANGED
@@ -15,4 +15,6 @@ import ResultConferenceRubric from "./containers/ConferenceRubric/views/ResultCo
15
15
  import BookSessionConferences from "./containers/MyConferences/components/BookSessionConferences";
16
16
  import MyProfile from "./containers/MyProfile/views/MyProfile";
17
17
  import NewLearningPlan from './containers/MyStudent/components/NewLearningPlan';
18
- export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan };
18
+ import UpdateStudentProfile from "./containers/MyStudent/components/UpdateStudentProfile";
19
+ import CreateStudent from "./containers/MyStudent/components/CreateStudent";
20
+ export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, UpdateStudentProfile, CreateStudent };