mario-teacher-student-client 1.3.6 → 1.4.1

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;
@@ -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
@@ -146,7 +146,7 @@ p._1YLGi {
146
146
  ._1M6M1 ._1wmi8 {
147
147
  padding: 10px 0;
148
148
  margin-right: 8px;
149
- width: 22%; }
149
+ width: 34%; }
150
150
  ._1M6M1 ._1wmi8 img {
151
151
  width: 38px;
152
152
  height: 38px; }
@@ -207,6 +207,37 @@ p._1YLGi {
207
207
  line-height: 24px;
208
208
  margin-bottom: 0px; }
209
209
 
210
+ ._1spIR ._qDlsm {
211
+ padding: 10px 0;
212
+ display: flex; }
213
+ ._1spIR ._qDlsm ._g-p72 {
214
+ font-size: 18px;
215
+ font-weight: 700;
216
+ margin-right: 3px; }
217
+ ._1spIR ._qDlsm ._2U60d {
218
+ font-size: 18px;
219
+ font-weight: 700; }
220
+
221
+ ._1spIR ._3C-Xm {
222
+ width: 443px;
223
+ height: 175px;
224
+ display: flex;
225
+ flex-direction: column;
226
+ justify-content: center;
227
+ align-items: center;
228
+ border: 1px dashed rgba(0, 0, 0, 0.54);
229
+ border-radius: 12px;
230
+ cursor: pointer; }
231
+ ._1spIR ._3C-Xm ._2zIn5 {
232
+ font-size: 62px;
233
+ width: 62px;
234
+ height: 62px; }
235
+ ._1spIR ._3C-Xm ._yNCgm {
236
+ font-size: 16px; }
237
+ ._1spIR ._3C-Xm ._35Wqq {
238
+ font-size: 12px;
239
+ color: rgba(0, 0, 0, 0.54); }
240
+
210
241
  @font-face {
211
242
  font-family: "Lato-Regular";
212
243
  src: url("/fonts/Lato-Regular.ttf");
@@ -992,6 +1023,10 @@ p._1YLGi {
992
1023
  color: rgba(0, 0, 0, 0.54);
993
1024
  margin-left: 10px; } }
994
1025
 
1026
+ ._1IZ5- {
1027
+ font-size: 15.5px !important;
1028
+ font-weight: bold; }
1029
+
995
1030
  @font-face {
996
1031
  font-family: "Lato-Regular";
997
1032
  src: url("/fonts/Lato-Regular.ttf");
@@ -1541,6 +1576,13 @@ p._1YLGi {
1541
1576
  ._3Zw5w:hover {
1542
1577
  cursor: pointer; }
1543
1578
 
1579
+ ._1AbWU {
1580
+ font-size: 15.5px !important;
1581
+ font-weight: bold; }
1582
+
1583
+ ._2PZMK._1PO82 {
1584
+ margin-top: 10px; }
1585
+
1544
1586
  @font-face {
1545
1587
  font-family: "Lato-Regular";
1546
1588
  src: url("/fonts/Lato-Regular.ttf");
@@ -1839,6 +1881,13 @@ h2._1OAmb {
1839
1881
  border-radius: 12px;
1840
1882
  text-transform: uppercase;
1841
1883
  margin: 0; }
1884
+ ._K0gyx ._KnDEX Button {
1885
+ margin-left: 10px;
1886
+ padding: 14px;
1887
+ border-radius: 12px;
1888
+ background-color: #308252; }
1889
+ ._K0gyx ._KnDEX Button:hover {
1890
+ background-color: #308252; }
1842
1891
 
1843
1892
  ._Hv-Jq thead {
1844
1893
  border-top: 1px solid #e8e8e8; }
@@ -1866,6 +1915,9 @@ h2._1OAmb {
1866
1915
  display: inline;
1867
1916
  float: left; }
1868
1917
 
1918
+ ._2cAn8 {
1919
+ font-size: 16px !important; }
1920
+
1869
1921
  ._1NNrE {
1870
1922
  font-size: 16px !important; }
1871
1923
  ._1NNrE ._71BUr {
@@ -1976,7 +2028,7 @@ h2._1OAmb {
1976
2028
  ._36nMF ._o4qjS ._19GYP ._2db0y {
1977
2029
  font-size: 15px;
1978
2030
  font-weight: 600;
1979
- margin-top: -10px; }
2031
+ margin-top: -3px; }
1980
2032
  ._36nMF ._1YPzt {
1981
2033
  display: flex;
1982
2034
  margin-top: 10px; }
@@ -2044,7 +2096,7 @@ h2._1OAmb {
2044
2096
 
2045
2097
  ._ruFmH {
2046
2098
  display: flex;
2047
- padding: 10px 24px;
2099
+ padding: 10px 20px;
2048
2100
  border-bottom: 1px solid #ebebeb; }
2049
2101
  ._ruFmH:nth-of-type(odd) {
2050
2102
  background-color: #f9f9f9; }
@@ -2062,12 +2114,12 @@ h2._1OAmb {
2062
2114
  white-space: nowrap;
2063
2115
  text-overflow: ellipsis; }
2064
2116
  ._ruFmH ._3NP_o ._3rCrx {
2065
- font-size: 16px;
2117
+ font-size: 14px;
2066
2118
  line-height: 24px;
2067
2119
  display: flex;
2068
2120
  align-items: center; }
2069
2121
  ._ruFmH ._3NP_o ._3BLm1 {
2070
- font-size: 16px;
2122
+ font-size: 14px;
2071
2123
  line-height: 24px;
2072
2124
  overflow: hidden;
2073
2125
  white-space: nowrap;
@@ -2075,7 +2127,7 @@ h2._1OAmb {
2075
2127
  display: flex;
2076
2128
  align-items: baseline; }
2077
2129
  ._ruFmH ._3NP_o ._1pUBh {
2078
- font-size: 15px;
2130
+ font-size: 13px;
2079
2131
  line-height: 24px;
2080
2132
  font-weight: 700;
2081
2133
  padding-left: 5px; }
@@ -2198,11 +2250,29 @@ h2._1OAmb {
2198
2250
  ._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
2199
2251
  width: 100%; }
2200
2252
 
2253
+ ._1Sugi {
2254
+ padding: 10px 20px; }
2255
+ ._1Sugi ._YP6al {
2256
+ font-size: 21px;
2257
+ font-weight: 700;
2258
+ padding: 10px 0 20px 0; }
2259
+ ._1Sugi ._39GjN {
2260
+ display: flex;
2261
+ flex-wrap: wrap;
2262
+ justify-content: space-around; }
2263
+
2201
2264
  ._1qzuv {
2202
2265
  padding: 20px;
2203
2266
  display: flex;
2204
2267
  justify-content: flex-end; }
2205
2268
 
2269
+ ._2yb4T {
2270
+ font-size: 15.5px !important;
2271
+ font-weight: bold; }
2272
+
2273
+ ._2Evxd {
2274
+ font-size: 13px; }
2275
+
2206
2276
  ._3uYAt {
2207
2277
  background: #f8f8f8;
2208
2278
  padding: 0px 25px; }
@@ -2312,15 +2382,16 @@ h2._1OAmb {
2312
2382
  ._1m4nA:nth-of-type(odd) {
2313
2383
  background-color: #f9f9f9; }
2314
2384
 
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; }
2385
+ ._2GRUq {
2386
+ margin-top: 10px; }
2387
+ ._2GRUq thead {
2388
+ border-top: 1px solid #e8e8e8; }
2389
+ ._2GRUq td,
2390
+ ._2GRUq th {
2391
+ border-right: 1px solid #e8e8e8; }
2392
+ ._2GRUq td:last-child,
2393
+ ._2GRUq th:last-child {
2394
+ border-right: none; }
2324
2395
 
2325
2396
  ._1Qu8S {
2326
2397
  position: relative;
@@ -2348,7 +2419,7 @@ h2._1OAmb {
2348
2419
  display: flex;
2349
2420
  width: 100%;
2350
2421
  max-width: 800px;
2351
- padding: 40px 20px 0; }
2422
+ padding: 30px 20px 0; }
2352
2423
  @media (max-width: 767px) {
2353
2424
  ._3u5N9 {
2354
2425
  flex-direction: column;
@@ -2844,6 +2915,13 @@ h2._1OAmb {
2844
2915
  font-weight: 700;
2845
2916
  margin-bottom: 10px; }
2846
2917
 
2918
+ ._5FhbB {
2919
+ font-size: 15.5px !important;
2920
+ font-weight: bold; }
2921
+
2922
+ ._1hYRu:hover {
2923
+ cursor: pointer; }
2924
+
2847
2925
  @font-face {
2848
2926
  font-family: "Lato-Regular";
2849
2927
  src: url("/fonts/Lato-Regular.ttf");
@@ -2888,15 +2966,16 @@ h2._1OAmb {
2888
2966
  ._2pp4W:nth-of-type(odd) {
2889
2967
  background-color: #f9f9f9; }
2890
2968
 
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; }
2969
+ ._A7Tnw {
2970
+ margin-top: 10px; }
2971
+ ._A7Tnw thead {
2972
+ border-top: 1px solid #e8e8e8; }
2973
+ ._A7Tnw td,
2974
+ ._A7Tnw th {
2975
+ border-right: 1px solid #e8e8e8; }
2976
+ ._A7Tnw td:last-child,
2977
+ ._A7Tnw th:last-child {
2978
+ border-right: none; }
2900
2979
 
2901
2980
  ._2p85l {
2902
2981
  position: relative;
@@ -2923,7 +3002,7 @@ h2._1OAmb {
2923
3002
  flex-direction: row;
2924
3003
  display: flex;
2925
3004
  width: 100%;
2926
- padding: 40px 20px 0;
3005
+ padding: 30px 20px 0;
2927
3006
  max-width: 800px; }
2928
3007
  @media (max-width: 767px) {
2929
3008
  ._3cQbL {
@@ -3392,6 +3471,10 @@ h2._1OAmb {
3392
3471
  margin: 10px 5px 0px 0px;
3393
3472
  height: 30px; }
3394
3473
 
3474
+ ._2CiLg {
3475
+ font-size: 15.5px !important;
3476
+ font-weight: bold; }
3477
+
3395
3478
  @font-face {
3396
3479
  font-family: "Lato-Regular";
3397
3480
  src: url("/fonts/Lato-Regular.ttf");
@@ -3444,9 +3527,6 @@ h4._1gYmd > i {
3444
3527
  text-transform: capitalize;
3445
3528
  font-size: 14px;
3446
3529
  line-height: 19.07px; }
3447
- @media (max-width: 767px) {
3448
- ._29Tsr h5._2J0ft {
3449
- font-size: 11px; } }
3450
3530
 
3451
3531
  ._SX3F9 {
3452
3532
  margin-right: 20px; }
@@ -4020,6 +4100,18 @@ h2._1KpSK {
4020
4100
  ._23ZHZ th {
4021
4101
  min-width: 130px !important; } }
4022
4102
 
4103
+ @font-face {
4104
+ font-family: "Lato-Regular";
4105
+ src: url("/fonts/Lato-Regular.ttf");
4106
+ font-weight: normal;
4107
+ font-style: normal; }
4108
+
4109
+ @font-face {
4110
+ font-family: "Lato-Bold";
4111
+ src: url("/fonts/Lato-Bold.ttf");
4112
+ font-weight: normal;
4113
+ font-style: normal; }
4114
+
4023
4115
  ._1n4WU {
4024
4116
  font-size: 24px;
4025
4117
  font-weight: 700;
@@ -4044,5 +4136,97 @@ h2._1KpSK {
4044
4136
  padding: 8px 15px; }
4045
4137
  ._1dfpj ._3n2uY input {
4046
4138
  color: #000000; }
4139
+ @media (max-width: 767px) {
4140
+ ._1dfpj ._3n2uY {
4141
+ width: 100%;
4142
+ min-width: auto; } }
4047
4143
  ._1dfpj ._1YvHz {
4048
4144
  margin-top: 20px; }
4145
+
4146
+ ._2YQY8 {
4147
+ width: 60px;
4148
+ height: 60px;
4149
+ border-radius: 50%;
4150
+ margin: 10px 0 10px 16px; }
4151
+
4152
+ ._r-HQr {
4153
+ display: flex;
4154
+ flex-direction: column;
4155
+ max-width: 500px;
4156
+ width: 100%;
4157
+ margin-left: 16px; }
4158
+ ._r-HQr ._1ZSLy {
4159
+ height: 55px; }
4160
+ ._r-HQr ._3ixvM {
4161
+ margin: 20px 0 5px;
4162
+ font-size: 12px;
4163
+ font-weight: 400;
4164
+ color: #6b6b6b; }
4165
+ ._r-HQr ._bWHlA {
4166
+ margin: 10px 0 10px 0;
4167
+ word-wrap: break-word;
4168
+ width: 100%; }
4169
+ ._r-HQr ._bWHlA ._2O323 {
4170
+ color: black;
4171
+ font-weight: 400; }
4172
+ ._r-HQr ._bWHlA ._15UDz {
4173
+ color: black;
4174
+ font-weight: 600; }
4175
+ ._r-HQr ._bWHlA ._15UDz ._a8fEp {
4176
+ word-wrap: break-word; }
4177
+ ._r-HQr ._j6FQq {
4178
+ margin: 10px 0 10px 0;
4179
+ width: 100%;
4180
+ border-radius: 12px;
4181
+ background-color: #308252; }
4182
+ ._r-HQr ._j6FQq:hover {
4183
+ background-color: #308252; }
4184
+ ._r-HQr ._1tibz {
4185
+ text-decoration: underline;
4186
+ color: #0a4da2;
4187
+ font-size: 15px;
4188
+ font-weight: 400; }
4189
+
4190
+ ._xFFH1 {
4191
+ width: 60px;
4192
+ height: 60px;
4193
+ border-radius: 50%;
4194
+ margin: 10px 0 10px 16px; }
4195
+
4196
+ ._37Us4 {
4197
+ display: flex;
4198
+ flex-direction: column;
4199
+ max-width: 500px;
4200
+ width: 100%;
4201
+ margin-left: 16px; }
4202
+ ._37Us4 ._27dzc {
4203
+ height: 55px; }
4204
+ ._37Us4 ._3Nl5D {
4205
+ margin: 20px 0 5px;
4206
+ font-size: 12px;
4207
+ font-weight: 400;
4208
+ color: #6b6b6b; }
4209
+ ._37Us4 ._3O2xZ {
4210
+ margin: 10px 0 10px 0;
4211
+ word-wrap: break-word;
4212
+ width: 100%; }
4213
+ ._37Us4 ._3O2xZ ._LOIyE {
4214
+ color: black;
4215
+ font-weight: 400; }
4216
+ ._37Us4 ._3O2xZ ._1anAm {
4217
+ color: black;
4218
+ font-weight: 600; }
4219
+ ._37Us4 ._3O2xZ ._1anAm ._1SUmr {
4220
+ word-wrap: break-word; }
4221
+ ._37Us4 ._2KMds {
4222
+ margin: 10px 0 10px 0;
4223
+ width: 100%;
4224
+ border-radius: 12px;
4225
+ background-color: #308252; }
4226
+ ._37Us4 ._2KMds:hover {
4227
+ background-color: #308252; }
4228
+ ._37Us4 ._2mhbx {
4229
+ text-decoration: underline;
4230
+ color: #0a4da2;
4231
+ font-size: 15px;
4232
+ 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 };