mario-education 2.4.8-beta → 2.4.11-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/StudentByGrade.d.ts +6 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +7 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/components/QuestionDetailModal.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/hooks/useQuestionDetail.d.ts +19 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/hooks/useQuestionList.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionScaffolding/views/QuestionScaffolding.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/questionScaffoldingService.d.ts +6 -0
- package/dist/index.css +12 -1
- package/dist/index.js +1009 -442
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1009 -442
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { IStudentByGrade } from "../configs/types";
|
|
3
|
+
interface IGradeStudentChart {
|
|
4
|
+
data: IStudentByGrade[];
|
|
5
|
+
}
|
|
6
|
+
declare const StudentByGrade: FC<IGradeStudentChart>;
|
|
3
7
|
export default StudentByGrade;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ApexOptions } from "apexcharts";
|
|
1
2
|
import { IOptionSelector } from "../../../components/Select/InputSelector";
|
|
2
|
-
import { IActivityCircle, IsyntheticFriendCircle, LegalGenderType } from "./types";
|
|
3
|
+
import { IActivityCircle, ISeries, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType } from "./types";
|
|
3
4
|
export declare const getColors: (length: number) => string[];
|
|
4
5
|
export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
|
|
5
6
|
id: number;
|
|
@@ -9,7 +10,7 @@ export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends,
|
|
|
9
10
|
width: number;
|
|
10
11
|
height: number;
|
|
11
12
|
}[];
|
|
12
|
-
export declare const activityCircleItems: ({ like, love, interested, curious
|
|
13
|
+
export declare const activityCircleItems: ({ like, love, interested, curious }: IActivityCircle) => {
|
|
13
14
|
id: number;
|
|
14
15
|
name: string;
|
|
15
16
|
number: number;
|
|
@@ -22,3 +23,7 @@ export declare const genderOptions: {
|
|
|
22
23
|
value: LegalGenderType;
|
|
23
24
|
label: string;
|
|
24
25
|
}[];
|
|
26
|
+
export declare const learningStrategyChartOptions: (labelNames: string[]) => ApexOptions;
|
|
27
|
+
export declare const optionsChartGrade: (maxDatas: number, grades: string[]) => ApexOptions;
|
|
28
|
+
export declare const seriesConvert: (gradeAndQuantity: IStudentByGrade[]) => ISeries[];
|
|
29
|
+
export declare const maxSeries: (series: ISeries[]) => number;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IsyntheticFriendCircle } from "../configs/types";
|
|
2
|
+
import { DashboardFilter, IActivityCircle, 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
7
|
readinessToLearning: any;
|
|
8
8
|
topLearningStrategies: any;
|
|
9
|
-
studentByGrade:
|
|
9
|
+
studentByGrade: IStudentByGrade[];
|
|
10
10
|
chartOneToOneData: never[];
|
|
11
11
|
chartClassReflection: never[];
|
|
12
12
|
chartConference: never[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type ScaffoldingDetail = {
|
|
3
|
+
question: string;
|
|
4
|
+
category: string;
|
|
5
|
+
level: string;
|
|
6
|
+
};
|
|
7
|
+
declare const useQuestionDetail: () => {
|
|
8
|
+
id: number;
|
|
9
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
+
questionDetail: ScaffoldingDetail;
|
|
11
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
12
|
+
initValue: ScaffoldingDetail;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
edited: boolean;
|
|
15
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
setEditedTrue: () => Promise<void>;
|
|
17
|
+
setEditedFalse: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export default useQuestionDetail;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const useQuestionList: () => {
|
|
2
|
+
questionScaffoldingList: any;
|
|
3
|
+
totalItems: number;
|
|
4
|
+
filters: import("mario-core").Filter;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
getData: () => Promise<void>;
|
|
7
|
+
removeData: (id: number) => void;
|
|
8
|
+
};
|
|
9
|
+
export default useQuestionList;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
export declare const get: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/index.css
CHANGED
|
@@ -278,14 +278,25 @@ h6._3zOGW {
|
|
|
278
278
|
width: 100%;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
._2asi- ._muT01 ._35BzZ {
|
|
282
|
+
font-size: 20px;
|
|
283
|
+
}
|
|
284
|
+
|
|
281
285
|
@media (min-width: 1024px) {
|
|
282
286
|
._3pkbc {
|
|
283
287
|
max-width: 60%;
|
|
284
|
-
}
|
|
288
|
+
}
|
|
285
289
|
._16MpB {
|
|
286
290
|
max-width: 70%;
|
|
287
291
|
}
|
|
288
292
|
}
|
|
293
|
+
|
|
294
|
+
._CHu-i {
|
|
295
|
+
font-weight: 700;
|
|
296
|
+
font-size: 24px;
|
|
297
|
+
line-height: 116%;
|
|
298
|
+
}
|
|
299
|
+
|
|
289
300
|
._2Q9xO{
|
|
290
301
|
border-radius: 50%;
|
|
291
302
|
display: flex;
|