mario-education 2.4.14-beta → 2.4.17-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.
- package/dist/MarioFramework.Education/ClientApp/src/components/Button/SubmitButton.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Classes/components/StudentItemSelector.d.ts +17 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Classes/components/TeacherItemSelector.d.ts +11 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentWithSpecialNeeds.d.ts +6 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +1 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +3 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +5 -2
- package/dist/index.css +34 -11
- package/dist/index.js +452 -131
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +452 -131
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
value?: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
externalStudentIds?: number[];
|
|
6
|
+
studentDefault?: Student;
|
|
7
|
+
}
|
|
8
|
+
export interface Student {
|
|
9
|
+
studentId: number;
|
|
10
|
+
email: string;
|
|
11
|
+
fullName: string;
|
|
12
|
+
id: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const StudentItemSelector: FC<Props>;
|
|
17
|
+
export default StudentItemSelector;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
defaultValue: number | null | undefined;
|
|
4
|
+
onChange: Function;
|
|
5
|
+
}
|
|
6
|
+
export interface Option {
|
|
7
|
+
label: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
declare const TeacherItemSelector: FC<Props>;
|
|
11
|
+
export default TeacherItemSelector;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { IStudentBySpecialNeed } from "../configs/types";
|
|
3
|
+
interface IProps {
|
|
4
|
+
data: IStudentBySpecialNeed[];
|
|
5
|
+
}
|
|
6
|
+
declare const StudentWithSpecialNeeds: FC<IProps>;
|
|
3
7
|
export default StudentWithSpecialNeeds;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const colors: string[];
|
|
3
2
|
export declare const INITIAL_BEST_FRIENDS: {
|
|
4
3
|
friends: number;
|
|
@@ -16,4 +15,4 @@ export declare const LEARNING_STRATEGY_CHART_COLORS: string[];
|
|
|
16
15
|
export declare const LEARNING_STRATEGY_INIT: {
|
|
17
16
|
learningStrategies: never[];
|
|
18
17
|
};
|
|
19
|
-
export declare const GRAGE_DEFAULT:
|
|
18
|
+
export declare const GRAGE_DEFAULT: string[];
|
|
@@ -65,6 +65,7 @@ export declare type DashboardFilter = {
|
|
|
65
65
|
grade?: string[];
|
|
66
66
|
teacherId?: number;
|
|
67
67
|
mtss?: MtssType;
|
|
68
|
+
studentId?: number;
|
|
68
69
|
};
|
|
69
70
|
export interface ICircleChartItem {
|
|
70
71
|
id: number;
|
|
@@ -123,4 +124,12 @@ export declare enum MtssType {
|
|
|
123
124
|
Tier2 = 1,
|
|
124
125
|
Tier3 = 2
|
|
125
126
|
}
|
|
127
|
+
export interface IStudentBySpecialNeed {
|
|
128
|
+
nameDesignation: string;
|
|
129
|
+
numberDesignation: number;
|
|
130
|
+
}
|
|
131
|
+
export interface IseriesChart {
|
|
132
|
+
name: string[];
|
|
133
|
+
data: number[];
|
|
134
|
+
}
|
|
126
135
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApexOptions } from "apexcharts";
|
|
2
2
|
import { IOptionSelector } from "../../../components/Select/InputSelector";
|
|
3
|
-
import { IActivityCircle, ISeries, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
|
|
3
|
+
import { IActivityCircle, ISeries, IseriesChart, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
|
|
4
4
|
export declare const getColors: (length: number) => string[];
|
|
5
5
|
export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
|
|
6
6
|
id: number;
|
|
@@ -30,7 +30,9 @@ export declare const mtssOptions: {
|
|
|
30
30
|
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[]) => ApexOptions;
|
|
31
31
|
export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
|
|
32
32
|
export declare const optionsChartGrade: (maxDatas: number, colorCharts: string[]) => ApexOptions;
|
|
33
|
+
export declare const studentBySpecialNeedOptions: (seriesValue: IseriesChart, colors: string[]) => ApexOptions;
|
|
33
34
|
export declare const seriesConvert: (gradeAndQuantity: IStudentByGrade[]) => ISeries[];
|
|
34
35
|
export declare const maxSeries: (series: ISeries[]) => number;
|
|
35
36
|
export declare const average: (arr: number[]) => number;
|
|
36
37
|
export declare const colorCharts: (series: ISeries[]) => string[];
|
|
38
|
+
export declare const colorChartsSpecialNeedOptions: (series: IseriesChart[]) => string[];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IsyntheticFriendCircle } from "../configs/types";
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle } from "../configs/types";
|
|
3
3
|
declare const useDashboard: () => {
|
|
4
4
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
5
5
|
filter: DashboardFilter;
|
|
@@ -13,7 +13,7 @@ declare const useDashboard: () => {
|
|
|
13
13
|
learningProgress: never[];
|
|
14
14
|
friendCircles: IsyntheticFriendCircle | undefined;
|
|
15
15
|
activityCircles: IActivityCircle | undefined;
|
|
16
|
-
studentBySpecialNeed:
|
|
16
|
+
studentBySpecialNeed: IStudentBySpecialNeed[];
|
|
17
17
|
studentByAge: undefined;
|
|
18
18
|
studentByGender: undefined;
|
|
19
19
|
grades: string[];
|
|
@@ -22,5 +22,8 @@ declare const useDashboard: () => {
|
|
|
22
22
|
getConvertMinuteToHour: (timeSecond: any) => string;
|
|
23
23
|
teacherId: number;
|
|
24
24
|
setTeacherId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
25
|
+
studentId: number;
|
|
26
|
+
setStudentId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
27
|
+
onFilter: () => void;
|
|
25
28
|
};
|
|
26
29
|
export default useDashboard;
|
package/dist/index.css
CHANGED
|
@@ -228,33 +228,49 @@ h6._3zOGW {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
._6yLxd {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
min-width: 200px;
|
|
232
|
+
margin-bottom: 10px;
|
|
233
|
+
height: 100%;
|
|
234
|
+
background-color: hsl(0, 0%, 100%);
|
|
235
|
+
border-color: hsl(0, 0%, 80%);
|
|
236
|
+
border-radius: 4px;
|
|
237
|
+
border-style: solid;
|
|
238
|
+
border-width: 1px;
|
|
239
|
+
padding: 8px;
|
|
240
|
+
width: 100%;
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
._h74SO {
|
|
242
244
|
display: flex;
|
|
243
245
|
justify-content: flex-start;
|
|
244
246
|
flex-wrap: wrap;
|
|
247
|
+
padding: 0px 16px;
|
|
245
248
|
}
|
|
246
249
|
|
|
247
250
|
._3e2pi {
|
|
248
251
|
display: flex;
|
|
249
252
|
justify-content: flex-end;
|
|
250
253
|
flex-wrap: wrap;
|
|
254
|
+
max-width: 700px;
|
|
251
255
|
}
|
|
252
256
|
|
|
253
|
-
.
|
|
254
|
-
._1Pm1w {
|
|
257
|
+
._ntUB6 {
|
|
255
258
|
min-width: 200px;
|
|
256
259
|
margin-left: 20px;
|
|
257
260
|
margin-bottom: 10px;
|
|
261
|
+
height: 38px;
|
|
262
|
+
}
|
|
263
|
+
._1DlZ4{
|
|
264
|
+
width: 220px;
|
|
265
|
+
margin-right: 20px;
|
|
266
|
+
margin-bottom: 10px;
|
|
267
|
+
height: 38px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
._1tYDM{
|
|
271
|
+
max-width: 440px;
|
|
272
|
+
display: flex;
|
|
273
|
+
flex-wrap: wrap;
|
|
258
274
|
}
|
|
259
275
|
|
|
260
276
|
._3hSow {
|
|
@@ -277,7 +293,8 @@ h6._3zOGW {
|
|
|
277
293
|
|
|
278
294
|
._2PMoX {
|
|
279
295
|
height: auto;
|
|
280
|
-
width:
|
|
296
|
+
width: auto;
|
|
297
|
+
max-width: 315px;
|
|
281
298
|
}
|
|
282
299
|
|
|
283
300
|
._2asi- ._muT01 ._35BzZ {
|
|
@@ -317,6 +334,12 @@ h6._3zOGW {
|
|
|
317
334
|
}
|
|
318
335
|
}
|
|
319
336
|
|
|
337
|
+
@media (max-width: 720px){
|
|
338
|
+
._1YJnk{
|
|
339
|
+
padding-right: 20px;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
320
343
|
._2Q9xO{
|
|
321
344
|
border-radius: 50%;
|
|
322
345
|
display: flex;
|