mario-education 2.4.10-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/types.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +4 -1
- 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.js +753 -278
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +753 -278
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { ApexOptions } from "apexcharts";
|
|
2
2
|
import { IOptionSelector } from "../../../components/Select/InputSelector";
|
|
3
|
-
import { IActivityCircle, IsyntheticFriendCircle, LegalGenderType } from "./types";
|
|
3
|
+
import { IActivityCircle, ISeries, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType } 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;
|
|
@@ -24,3 +24,6 @@ export declare const genderOptions: {
|
|
|
24
24
|
label: string;
|
|
25
25
|
}[];
|
|
26
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>>;
|