mario-education 2.4.28-beta → 2.4.29-admin
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/Questions/QuestionSelector.d.ts +0 -1
- package/dist/MarioFramework.Education/ClientApp/src/components/Select/SelectFilter.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Classes/components/StudentItemSelector.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/AreaChart.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarAndAreaChart.d.ts +10 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BubbleChartCustom.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CheckboxCustom.d.ts +12 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ColumnChartAndPercent.d.ts +16 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomPieChart.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +13 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/PlusButton.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LineChart.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAge.d.ts +6 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAgeAndGender.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByGrade.d.ts +3 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopLearningStrategy.d.ts +3 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TotalCard.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +26 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +99 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +93 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts +10 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +43 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +48 -19
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/components/DestinationModal.d.ts +13 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/hooks/useDestination.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/constant.d.ts +11 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/type.interface.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/ultis.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/views/Destinations.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/questionDetailSchema.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplate/configs/validationSchema.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/designationService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +0 -5
- package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +9 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/serviceType.interface.d.ts +15 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +59 -0
- package/dist/index.css +578 -210
- package/dist/index.js +11631 -4257
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11633 -4259
- package/dist/index.modern.js.map +1 -1
- package/package.json +4 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +0 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/components/TemplateCateModal.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateDetail.d.ts +0 -35
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +0 -9
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/views/TemplateSurveyList.d.ts +0 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDesignation } from "../../../utils/serviceType.interface";
|
|
2
|
+
export declare const schemaDestination: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
|
+
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
5
|
+
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
6
|
+
}>>;
|
|
7
|
+
export declare const initialEditDesignation: (designations: IDesignation[], id: number) => import("./type.interface").IDestinationDetail;
|
|
@@ -6,7 +6,7 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
|
6
6
|
explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
7
|
fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
|
|
8
8
|
toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
|
|
9
|
-
numberOfStars: yup.NumberSchema<
|
|
9
|
+
numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
10
10
|
answers: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, any, any[] | undefined>;
|
|
11
11
|
isDefaultQuestion: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
12
12
|
isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
|
|
@@ -19,7 +19,7 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
|
19
19
|
explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
20
20
|
fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
|
|
21
21
|
toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
|
|
22
|
-
numberOfStars: yup.NumberSchema<
|
|
22
|
+
numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
23
23
|
answers: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, any, any[] | undefined>;
|
|
24
24
|
isDefaultQuestion: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
25
25
|
isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
|
|
@@ -2,13 +2,13 @@ import * as yup from "yup";
|
|
|
2
2
|
declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
3
|
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
4
|
isConference: import("yup/lib/boolean").RequiredBooleanSchema<boolean | undefined, Record<string, any>>;
|
|
5
|
-
conferenceRubricId: yup.NumberSchema<
|
|
5
|
+
conferenceRubricId: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
6
6
|
learningSupportCategoryId: yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>;
|
|
7
7
|
extraQuestionIds: yup.ArraySchema<yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>, Record<string, any>, (number | undefined)[] | undefined, (number | undefined)[] | undefined>;
|
|
8
8
|
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
9
9
|
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
10
10
|
isConference: import("yup/lib/boolean").RequiredBooleanSchema<boolean | undefined, Record<string, any>>;
|
|
11
|
-
conferenceRubricId: yup.NumberSchema<
|
|
11
|
+
conferenceRubricId: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
12
12
|
learningSupportCategoryId: yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>;
|
|
13
13
|
extraQuestionIds: yup.ArraySchema<yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>, Record<string, any>, (number | undefined)[] | undefined, (number | undefined)[] | undefined>;
|
|
14
14
|
}>>;
|
|
@@ -19,7 +19,7 @@ declare type QuestionSimple = {
|
|
|
19
19
|
text: string;
|
|
20
20
|
isDefaultQuestion: boolean;
|
|
21
21
|
};
|
|
22
|
-
declare const useSessionTemplateDetail: (id?:
|
|
22
|
+
declare const useSessionTemplateDetail: (id?: number | null | undefined) => {
|
|
23
23
|
sessionTemplateDetail: SessionTemplateDetail;
|
|
24
24
|
defaultTeacherQuestions: QuestionSimple[];
|
|
25
25
|
defaultStudentQuestions: QuestionSimple[];
|
|
@@ -12,7 +12,7 @@ declare type QuestionSimple = {
|
|
|
12
12
|
id: number;
|
|
13
13
|
text: string;
|
|
14
14
|
};
|
|
15
|
-
declare const useSessionTemplateGeneralClassDetail: (id?:
|
|
15
|
+
declare const useSessionTemplateGeneralClassDetail: (id?: number | null | undefined) => {
|
|
16
16
|
sessionTemplateGeneralClassDetail: SessionTemplateGeneralClassDetail;
|
|
17
17
|
teacherQuestions: QuestionSimple[];
|
|
18
18
|
studentQuestions: QuestionSimple[];
|
|
@@ -17,3 +17,4 @@ export declare const getStudentBySpecialNeed: (filter: any) => Promise<import("a
|
|
|
17
17
|
export declare const getStudentByAge: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
export declare const getStudentByGender: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
19
19
|
export declare const getGrades: (studentUserId: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
20
|
+
export declare const getBandScore: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IDesignation, IFilter } from "../utils/serviceType.interface";
|
|
2
|
+
export declare const getDesignationsRequest: (filter: IFilter) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const createDesignationRequest: (data: IDesignation) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const deleteDesignationRequest: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const verifyDesignationRequest: (id: number, data: IDesignation) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -4,8 +4,3 @@ export declare const getById: (id: number) => Promise<import("axios").AxiosRespo
|
|
|
4
4
|
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
-
export declare const getSurvey: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
-
export declare const getSurveyById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
-
export declare const createSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
-
export declare const updateSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
-
export declare const removeSurvey: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -5,3 +5,12 @@ export declare const CONFERENCE_RUBRIC_TYPES: {
|
|
|
5
5
|
HabitsAttitudesTowardsLearning: string;
|
|
6
6
|
Custom: string;
|
|
7
7
|
};
|
|
8
|
+
export declare const GENDER_FILTER: string[];
|
|
9
|
+
export declare enum FILTER_NAME {
|
|
10
|
+
Calendar = "Calendar",
|
|
11
|
+
Gender = "Gender",
|
|
12
|
+
Grade = "Grade",
|
|
13
|
+
BandScore = "Current Grade",
|
|
14
|
+
StudentName = "Student name",
|
|
15
|
+
TeacherName = "Teacher name"
|
|
16
|
+
}
|
|
@@ -6,3 +6,18 @@ export interface IStudentWidthAssistant {
|
|
|
6
6
|
searchString?: string;
|
|
7
7
|
pageSize?: number;
|
|
8
8
|
}
|
|
9
|
+
export interface IFilter {
|
|
10
|
+
currentPage?: number;
|
|
11
|
+
pageSize?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface IDesignation {
|
|
14
|
+
id?: number;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IDesignationReponse {
|
|
18
|
+
currentPage: number;
|
|
19
|
+
items: IDesignation[];
|
|
20
|
+
pageSize: number;
|
|
21
|
+
totalItems: number;
|
|
22
|
+
totalPages: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DashboardFilter } from "../containers/Dashboard/configs/types";
|
|
2
|
+
export interface Student {
|
|
3
|
+
studentId: number;
|
|
4
|
+
email: string;
|
|
5
|
+
fullName: string;
|
|
6
|
+
id: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
gender?: string;
|
|
10
|
+
mtss?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IFilter {
|
|
13
|
+
startDate?: number;
|
|
14
|
+
endDate?: number;
|
|
15
|
+
gender?: number[];
|
|
16
|
+
grade?: string[];
|
|
17
|
+
bandScore?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface PROPS_FILTERS_COMPONENT {
|
|
20
|
+
teacherId?: number;
|
|
21
|
+
studentUserId?: string;
|
|
22
|
+
studentId?: number;
|
|
23
|
+
teacherUserId?: string;
|
|
24
|
+
studentDefault?: Student;
|
|
25
|
+
handleChangeLastYear?: Function;
|
|
26
|
+
filter?: DashboardFilter;
|
|
27
|
+
name: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
handleChangeFilters: Function;
|
|
30
|
+
option?: any[];
|
|
31
|
+
defautl?: number;
|
|
32
|
+
onChangeFilters?: (filters: IFilter) => void;
|
|
33
|
+
btnStyle?: any;
|
|
34
|
+
changeCurrentTeacherUserId?: (userId: string) => void;
|
|
35
|
+
}
|
|
36
|
+
export interface BAND_SCORE {
|
|
37
|
+
label: string;
|
|
38
|
+
value: number;
|
|
39
|
+
}
|
|
40
|
+
export interface GRADES {
|
|
41
|
+
label: string;
|
|
42
|
+
value: number;
|
|
43
|
+
}
|
|
44
|
+
export declare enum LegalGenderType {
|
|
45
|
+
Male = 0,
|
|
46
|
+
Female = 1
|
|
47
|
+
}
|
|
48
|
+
export interface genderOptions {
|
|
49
|
+
value: any;
|
|
50
|
+
label: string;
|
|
51
|
+
}
|
|
52
|
+
export interface LAST_YEAR {
|
|
53
|
+
label: string;
|
|
54
|
+
value: number;
|
|
55
|
+
}
|
|
56
|
+
export interface ISeries {
|
|
57
|
+
name: string;
|
|
58
|
+
data: number[];
|
|
59
|
+
}
|