mario-teacher-student-client 1.3.9 → 1.4.4

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,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;
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: 10px; }
1647
+ margin-top: 5px; }
1616
1648
 
1617
1649
  ._3-Mx5 p:nth-child(1) {
1618
1650
  color: #2d3748;
@@ -1850,6 +1882,13 @@ h2._1OAmb {
1850
1882
  border-radius: 12px;
1851
1883
  text-transform: uppercase;
1852
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; }
1853
1892
 
1854
1893
  ._Hv-Jq thead {
1855
1894
  border-top: 1px solid #e8e8e8; }
@@ -2058,7 +2097,7 @@ h2._1OAmb {
2058
2097
 
2059
2098
  ._ruFmH {
2060
2099
  display: flex;
2061
- padding: 10px 24px;
2100
+ padding: 10px 20px;
2062
2101
  border-bottom: 1px solid #ebebeb; }
2063
2102
  ._ruFmH:nth-of-type(odd) {
2064
2103
  background-color: #f9f9f9; }
@@ -2076,12 +2115,12 @@ h2._1OAmb {
2076
2115
  white-space: nowrap;
2077
2116
  text-overflow: ellipsis; }
2078
2117
  ._ruFmH ._3NP_o ._3rCrx {
2079
- font-size: 16px;
2118
+ font-size: 14px;
2080
2119
  line-height: 24px;
2081
2120
  display: flex;
2082
2121
  align-items: center; }
2083
2122
  ._ruFmH ._3NP_o ._3BLm1 {
2084
- font-size: 16px;
2123
+ font-size: 14px;
2085
2124
  line-height: 24px;
2086
2125
  overflow: hidden;
2087
2126
  white-space: nowrap;
@@ -2089,7 +2128,7 @@ h2._1OAmb {
2089
2128
  display: flex;
2090
2129
  align-items: baseline; }
2091
2130
  ._ruFmH ._3NP_o ._1pUBh {
2092
- font-size: 15px;
2131
+ font-size: 13px;
2093
2132
  line-height: 24px;
2094
2133
  font-weight: 700;
2095
2134
  padding-left: 5px; }
@@ -2212,6 +2251,17 @@ h2._1OAmb {
2212
2251
  ._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
2213
2252
  width: 100%; }
2214
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
+
2215
2265
  ._1qzuv {
2216
2266
  padding: 20px;
2217
2267
  display: flex;
@@ -2261,7 +2311,7 @@ h2._1OAmb {
2261
2311
 
2262
2312
  ._2QGnx {
2263
2313
  text-align: center;
2264
- padding: 10px 0 0;
2314
+ padding: 20px 10px 10px 10px;
2265
2315
  width: 205px;
2266
2316
  margin-right: 16px;
2267
2317
  border-radius: 9px;
@@ -2269,7 +2319,8 @@ h2._1OAmb {
2269
2319
  ._2QGnx ._175nT {
2270
2320
  font-size: 17px;
2271
2321
  font-weight: 700;
2272
- color: rgba(102, 102, 112, 0.75); }
2322
+ color: rgba(102, 102, 112, 0.75);
2323
+ white-space: nowrap; }
2273
2324
  ._2QGnx ._fEaRj {
2274
2325
  color: #252733;
2275
2326
  font-weight: 700;
@@ -4125,8 +4176,59 @@ h2._1KpSK {
4125
4176
  font-weight: 600; }
4126
4177
  ._r-HQr ._bWHlA ._15UDz ._a8fEp {
4127
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; }
4128
4186
  ._r-HQr ._1tibz {
4129
4187
  text-decoration: underline;
4130
4188
  color: #0a4da2;
4131
4189
  font-size: 15px;
4132
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
@@ -16,4 +16,5 @@ import BookSessionConferences from "./containers/MyConferences/components/BookSe
16
16
  import MyProfile from "./containers/MyProfile/views/MyProfile";
17
17
  import NewLearningPlan from './containers/MyStudent/components/NewLearningPlan';
18
18
  import UpdateStudentProfile from "./containers/MyStudent/components/UpdateStudentProfile";
19
- export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, 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 };