mario-education 2.4.6-beta → 2.4.8-beta

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.
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const CustomBarChart: ({ data }: any) => JSX.Element;
2
+ declare const CustomBarChart: ({ data, question, chartName }: any) => JSX.Element;
3
3
  export default CustomBarChart;
@@ -7,15 +7,18 @@ declare const useDashboard: () => {
7
7
  readinessToLearning: any;
8
8
  topLearningStrategies: any;
9
9
  studentByGrade: undefined;
10
- chartOneToOneData: undefined;
11
- chartClassReflection: undefined;
12
- chartConference: undefined;
13
- learningProgress: undefined;
10
+ chartOneToOneData: never[];
11
+ chartClassReflection: never[];
12
+ chartConference: never[];
13
+ learningProgress: never[];
14
14
  friendCircles: IsyntheticFriendCircle | undefined;
15
15
  activityCircles: IActivityCircle | undefined;
16
16
  studentBySpecialNeed: undefined;
17
17
  studentByAge: undefined;
18
18
  studentByGender: undefined;
19
19
  grades: string[];
20
+ safety: never[];
21
+ topSkill: never[];
22
+ getConvertMinuteToHour: (timeSecond: any) => string;
20
23
  };
21
24
  export default useDashboard;
@@ -3,3 +3,4 @@ export declare const remove: (id: string, userChangeId?: string | undefined) =>
3
3
  export declare const getTeacher: () => Promise<import("axios").AxiosResponse<any>>;
4
4
  export declare const getStudentAll: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
5
5
  export declare const changeTeacherOfStudent: (id: number, teacherUserId: any) => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const getTeachersByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -2,4 +2,5 @@ import { TypeStudentAssistantData } from "../containers/SwitchAssistant/utils/ty
2
2
  import { IStudentWidthAssistant } from "../utils/serviceType.interface";
3
3
  export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentAssistantData>>;
4
4
  export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const getAssistantByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
5
6
  export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
package/dist/index.css CHANGED
@@ -124,11 +124,14 @@ h6._3zOGW {
124
124
  }
125
125
 
126
126
  ._1Jgr2 {
127
- border: 1px solid grey;
128
127
  padding: 16px;
129
128
  min-height: 450px;
130
129
  display: flex;
131
130
  flex-direction: column;
131
+ background: #ffffff;
132
+ border: 1px solid #ebeff2;
133
+ box-shadow: 6px 0px 18px rgba(0, 0, 0, 0.06);
134
+ border-radius: 8px;
132
135
  }
133
136
 
134
137
  ._3Thdy {
@@ -197,18 +200,18 @@ h6._3zOGW {
197
200
 
198
201
  ._3XXJp {
199
202
  width: 35px;
200
- color: #0D9994;
203
+ color: #0d9994;
201
204
  text-align: center;
202
205
  }
203
206
 
204
207
  ._LCuWQ {
205
- background: #CEF7F5;
206
- color: #0D9994;
208
+ background: #cef7f5;
209
+ color: #0d9994;
207
210
  border-radius: 8px;
208
211
  }
209
212
 
210
213
  ._3x9D7 {
211
- color: #1DA370;
214
+ color: #1da370;
212
215
  }
213
216
 
214
217
  ._2In63 {
@@ -246,12 +249,43 @@ h6._3zOGW {
246
249
  }
247
250
 
248
251
  ._31VDE,
249
- ._1Pm1w{
250
- min-width: 200px;
251
- margin-left: 20px;
252
- margin-bottom: 10px;
252
+ ._1Pm1w {
253
+ min-width: 200px;
254
+ margin-left: 20px;
255
+ margin-bottom: 10px;
253
256
  }
254
257
 
258
+ ._3hSow {
259
+ background: #ffffff;
260
+ border: 1px solid #ebeff2;
261
+ box-shadow: 6px 0px 18px rgba(0, 0, 0, 0.06);
262
+ border-radius: 8px;
263
+ }
264
+
265
+ ._1yuC9 {
266
+ min-width: 220px;
267
+ }
268
+ ._1yuC9:last-child {
269
+ padding: 1.2rem !important;
270
+ }
271
+ ._1yuC9:last-child div {
272
+ width: 80%;
273
+ margin: 0 auto;
274
+ }
275
+
276
+ ._2PMoX {
277
+ height: auto;
278
+ width: 100%;
279
+ }
280
+
281
+ @media (min-width: 1024px) {
282
+ ._3pkbc {
283
+ max-width: 60%;
284
+ }
285
+ ._16MpB {
286
+ max-width: 70%;
287
+ }
288
+ }
255
289
  ._2Q9xO{
256
290
  border-radius: 50%;
257
291
  display: flex;