mario-education 2.4.11-beta → 2.4.14-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/containers/Dashboard/components/ReadinessToLearn.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopLearningStrategy.d.ts +6 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +19 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +10 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +5 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/hooks/useQuestionDetail.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/hooks/useQuestionList.d.ts +2 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/ultis/ultis.d.ts +20 -0
- package/dist/index.css +21 -1
- package/dist/index.js +672 -368
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +673 -369
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { IReadinessToLearning } from "../configs/types";
|
|
3
3
|
interface Props {
|
|
4
|
-
data:
|
|
4
|
+
data: IReadinessToLearning[];
|
|
5
5
|
}
|
|
6
6
|
declare const ReadinessToLearn: FC<Props>;
|
|
7
7
|
export default ReadinessToLearn;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { IlearningStrategies } from "../configs/types";
|
|
3
|
+
interface ITopLearningStrategy {
|
|
4
|
+
data: IlearningStrategies;
|
|
5
|
+
}
|
|
6
|
+
declare const TopLearningStrategy: FC<ITopLearningStrategy>;
|
|
3
7
|
export default TopLearningStrategy;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const colors: string[];
|
|
2
3
|
export declare const INITIAL_BEST_FRIENDS: {
|
|
3
4
|
friends: number;
|
|
@@ -12,3 +13,7 @@ export declare const INITIAL_ACTIVITY_FRIENDS: {
|
|
|
12
13
|
curious: number;
|
|
13
14
|
};
|
|
14
15
|
export declare const LEARNING_STRATEGY_CHART_COLORS: string[];
|
|
16
|
+
export declare const LEARNING_STRATEGY_INIT: {
|
|
17
|
+
learningStrategies: never[];
|
|
18
|
+
};
|
|
19
|
+
export declare const GRAGE_DEFAULT: import("react").ReactText[];
|
|
@@ -63,6 +63,8 @@ export declare type DashboardFilter = {
|
|
|
63
63
|
studentIds: number[];
|
|
64
64
|
gender?: number[];
|
|
65
65
|
grade?: string[];
|
|
66
|
+
teacherId?: number;
|
|
67
|
+
mtss?: MtssType;
|
|
66
68
|
};
|
|
67
69
|
export interface ICircleChartItem {
|
|
68
70
|
id: number;
|
|
@@ -104,4 +106,21 @@ export interface ISeries {
|
|
|
104
106
|
name: string;
|
|
105
107
|
data: number[];
|
|
106
108
|
}
|
|
109
|
+
export interface IlearningItem {
|
|
110
|
+
learningStrategyName: string;
|
|
111
|
+
usageCount: number;
|
|
112
|
+
usagePoint: number[];
|
|
113
|
+
}
|
|
114
|
+
export interface IlearningStrategies {
|
|
115
|
+
learningStrategies: IlearningItem[];
|
|
116
|
+
}
|
|
117
|
+
export interface IReadinessToLearning {
|
|
118
|
+
questionText: string;
|
|
119
|
+
percentQuestion: number;
|
|
120
|
+
}
|
|
121
|
+
export declare enum MtssType {
|
|
122
|
+
Tier1 = 0,
|
|
123
|
+
Tier2 = 1,
|
|
124
|
+
Tier3 = 2
|
|
125
|
+
}
|
|
107
126
|
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 } from "./types";
|
|
3
|
+
import { IActivityCircle, ISeries, 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;
|
|
@@ -23,7 +23,14 @@ export declare const genderOptions: {
|
|
|
23
23
|
value: LegalGenderType;
|
|
24
24
|
label: string;
|
|
25
25
|
}[];
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
26
|
+
export declare const mtssOptions: {
|
|
27
|
+
value: MtssType;
|
|
28
|
+
label: string;
|
|
29
|
+
}[];
|
|
30
|
+
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[]) => ApexOptions;
|
|
31
|
+
export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
|
|
32
|
+
export declare const optionsChartGrade: (maxDatas: number, colorCharts: string[]) => ApexOptions;
|
|
28
33
|
export declare const seriesConvert: (gradeAndQuantity: IStudentByGrade[]) => ISeries[];
|
|
29
34
|
export declare const maxSeries: (series: ISeries[]) => number;
|
|
35
|
+
export declare const average: (arr: number[]) => number;
|
|
36
|
+
export declare const colorCharts: (series: ISeries[]) => string[];
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IStudentByGrade, IsyntheticFriendCircle } from "../configs/types";
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IsyntheticFriendCircle } from "../configs/types";
|
|
3
3
|
declare const useDashboard: () => {
|
|
4
4
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
5
5
|
filter: DashboardFilter;
|
|
6
6
|
listTotalTime: any;
|
|
7
|
-
readinessToLearning:
|
|
8
|
-
topLearningStrategies:
|
|
7
|
+
readinessToLearning: IReadinessToLearning[];
|
|
8
|
+
topLearningStrategies: IlearningStrategies;
|
|
9
9
|
studentByGrade: IStudentByGrade[];
|
|
10
10
|
chartOneToOneData: never[];
|
|
11
11
|
chartClassReflection: never[];
|
|
@@ -20,5 +20,7 @@ declare const useDashboard: () => {
|
|
|
20
20
|
safety: never[];
|
|
21
21
|
topSkill: never[];
|
|
22
22
|
getConvertMinuteToHour: (timeSecond: any) => string;
|
|
23
|
+
teacherId: number;
|
|
24
|
+
setTeacherId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
23
25
|
};
|
|
24
26
|
export default useDashboard;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { TypeScaffolding } from "../ultis/ultis";
|
|
2
3
|
declare type ScaffoldingDetail = {
|
|
3
4
|
question: string;
|
|
4
5
|
category: string;
|
|
5
6
|
level: string;
|
|
7
|
+
typeScaffolding: TypeScaffolding;
|
|
6
8
|
};
|
|
7
9
|
declare const useQuestionDetail: () => {
|
|
8
10
|
id: number;
|
|
@@ -5,5 +5,7 @@ declare const useQuestionList: () => {
|
|
|
5
5
|
changeFilters: (updatedFilters: any) => void;
|
|
6
6
|
getData: () => Promise<void>;
|
|
7
7
|
removeData: (id: number) => void;
|
|
8
|
+
currentSort: any[];
|
|
9
|
+
onSortChange: (sortBy: string, index: number) => void;
|
|
8
10
|
};
|
|
9
11
|
export default useQuestionList;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/ultis/ultis.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const sortTypes: {
|
|
2
|
+
up: {
|
|
3
|
+
class: string;
|
|
4
|
+
};
|
|
5
|
+
down: {
|
|
6
|
+
class: string;
|
|
7
|
+
};
|
|
8
|
+
default: {
|
|
9
|
+
class: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const questionScaffoldingHeaders: {
|
|
13
|
+
name: string;
|
|
14
|
+
column: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const enum TypeScaffolding {
|
|
17
|
+
OneToOne = 0,
|
|
18
|
+
Conference = 1
|
|
19
|
+
}
|
|
20
|
+
export declare const SORT_DATA_DEFAULT: any[];
|
package/dist/index.css
CHANGED
|
@@ -125,13 +125,15 @@ h6._3zOGW {
|
|
|
125
125
|
|
|
126
126
|
._1Jgr2 {
|
|
127
127
|
padding: 16px;
|
|
128
|
-
min-height:
|
|
128
|
+
min-height: 530px;
|
|
129
|
+
height: 100%;
|
|
129
130
|
display: flex;
|
|
130
131
|
flex-direction: column;
|
|
131
132
|
background: #ffffff;
|
|
132
133
|
border: 1px solid #ebeff2;
|
|
133
134
|
box-shadow: 6px 0px 18px rgba(0, 0, 0, 0.06);
|
|
134
135
|
border-radius: 8px;
|
|
136
|
+
margin-bottom: 20px;
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
._3Thdy {
|
|
@@ -281,6 +283,10 @@ h6._3zOGW {
|
|
|
281
283
|
._2asi- ._muT01 ._35BzZ {
|
|
282
284
|
font-size: 20px;
|
|
283
285
|
}
|
|
286
|
+
._2asi-{
|
|
287
|
+
overflow: hidden;
|
|
288
|
+
max-height: 470px;
|
|
289
|
+
}
|
|
284
290
|
|
|
285
291
|
@media (min-width: 1024px) {
|
|
286
292
|
._3pkbc {
|
|
@@ -297,6 +303,20 @@ h6._3zOGW {
|
|
|
297
303
|
line-height: 116%;
|
|
298
304
|
}
|
|
299
305
|
|
|
306
|
+
._3Y-Dd{
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
height: 416px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@media (min-width: 2250px){
|
|
312
|
+
._3Y-Dd{
|
|
313
|
+
width: 100%;
|
|
314
|
+
display: flex;
|
|
315
|
+
justify-content: center;
|
|
316
|
+
align-items: center;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
300
320
|
._2Q9xO{
|
|
301
321
|
border-radius: 50%;
|
|
302
322
|
display: flex;
|