mario-education 2.4.32-beta → 2.4.33-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.
Files changed (19) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/components/Loading/LoadLanguage.d.ts +3 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/components/Select/SelectFilter.d.ts +1 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +1 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LearningStrategiesTable.d.ts +13 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +1 -1
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +17 -2
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +6 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/IEPTemplate/configs/constants.d.ts +53 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/IEPTemplate/views/IEPTemplateBuilder.d.ts +7 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/questionDetailSchema.d.ts +4 -4
  11. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +2 -1
  12. package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +1 -0
  13. package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +8 -8
  14. package/dist/index.css +893 -877
  15. package/dist/index.js +866 -571
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.modern.js +867 -573
  18. package/dist/index.modern.js.map +1 -1
  19. package/package.json +94 -96
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const LoadLanguage: FC;
3
+ export default LoadLanguage;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import "react-datepicker/dist/react-datepicker.css";
2
3
  import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
3
4
  declare const SelectFilter: ({ studentUserId, studentId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters, btnStyle, filter, teacherUserId, changeCurrentTeacherUserId }: PROPS_FILTERS_COMPONENT) => JSX.Element;
4
5
  export default SelectFilter;
@@ -10,6 +10,7 @@ interface IProps {
10
10
  options?: IChartOptions[];
11
11
  contentTooltip?: string;
12
12
  index: number;
13
+ onClickOptions?: () => void;
13
14
  }
14
15
  declare const HeaderChart: FC<IProps>;
15
16
  export default HeaderChart;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { DashboardFilter } from "../configs/types";
3
+ interface PropsType {
4
+ isOpen: boolean;
5
+ onClosed: () => void;
6
+ filter: any;
7
+ data: any;
8
+ getData: () => void;
9
+ changeFilter: (updatedFilter: any) => void;
10
+ filterDashboard: DashboardFilter;
11
+ }
12
+ declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter, filterDashboard }: PropsType) => JSX.Element;
13
+ export default LearningStrategiesTable;
@@ -97,7 +97,7 @@ export declare const studentByGradeConvert: (newData: IStudentByGrade[]) => {
97
97
  }[];
98
98
  export declare const findTotalStudentByGrade: (data: IStudentByGrade[]) => number;
99
99
  export declare const getConvertMinuteToHour: (timeSecond: any) => string;
100
- export declare const readinesToLearnoptions: (seriesName: string[]) => ApexOptions;
100
+ export declare const readinesToLearnoptions: (seriesName: string[], data: any) => ApexOptions;
101
101
  export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
102
102
  name: string;
103
103
  data: import("react").ReactText[][];
@@ -2,7 +2,15 @@ import React from "react";
2
2
  import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
3
3
  import { TYPECHART } from "../configs/types";
4
4
  declare const useChartDatas: () => {
5
- chartDashBoards: {
5
+ chartDashBoards: ({
6
+ id: string;
7
+ label: string;
8
+ children: (_: TYPECHART) => JSX.Element;
9
+ isShowChangeChart: boolean;
10
+ options: never[];
11
+ contentTooltip: string;
12
+ handleClickOpenTable: () => void;
13
+ } | {
6
14
  id: string;
7
15
  label: string;
8
16
  children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
@@ -12,7 +20,8 @@ declare const useChartDatas: () => {
12
20
  value: TYPECHART;
13
21
  }[];
14
22
  contentTooltip: string;
15
- }[];
23
+ handleClickOpenTable?: undefined;
24
+ })[];
16
25
  user: any;
17
26
  filter: import("../configs/types").DashboardFilter;
18
27
  LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
@@ -55,5 +64,11 @@ declare const useChartDatas: () => {
55
64
  dataConvertedSafety: string[];
56
65
  activeColumnSafety: boolean[];
57
66
  avgSafety: number[];
67
+ learningStrategiesData: any;
68
+ openLearningStrategiesTable: boolean;
69
+ handleOpenCloseLearningStrategiesTable: () => void;
70
+ filterLearningStrategiesTable: any;
71
+ changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
72
+ getLearningStrategiesTableData: () => Promise<void>;
58
73
  };
59
74
  export default useChartDatas;
@@ -53,5 +53,11 @@ declare const useDashboard: () => {
53
53
  dataConvertedSafety: string[];
54
54
  monthsSafety: string[];
55
55
  activeColumnSafety: boolean[];
56
+ learningStrategiesData: any;
57
+ openLearningStrategiesTable: boolean;
58
+ handleOpenCloseLearningStrategiesTable: () => void;
59
+ filterLearningStrategiesTable: any;
60
+ changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
61
+ getLearningStrategiesTableData: () => Promise<void>;
56
62
  };
57
63
  export default useDashboard;
@@ -0,0 +1,53 @@
1
+ export declare const blockItems: ({
2
+ id: string;
3
+ label: string;
4
+ category: string;
5
+ media: string;
6
+ activate: boolean;
7
+ content: {
8
+ type: string;
9
+ content: string;
10
+ style: {
11
+ padding: string;
12
+ color?: undefined;
13
+ };
14
+ };
15
+ attributes?: undefined;
16
+ } | {
17
+ id: string;
18
+ label: string;
19
+ category: string;
20
+ media: string;
21
+ activate: boolean;
22
+ content: {
23
+ type: string;
24
+ content: string;
25
+ style: {
26
+ color: string;
27
+ padding?: undefined;
28
+ };
29
+ };
30
+ attributes?: undefined;
31
+ } | {
32
+ id: string;
33
+ label: string;
34
+ category: string;
35
+ media: string;
36
+ activate: boolean;
37
+ content: {
38
+ type: string;
39
+ content?: undefined;
40
+ style?: undefined;
41
+ };
42
+ attributes?: undefined;
43
+ } | {
44
+ id: string;
45
+ label: string;
46
+ attributes: {
47
+ class: string;
48
+ };
49
+ content: string;
50
+ category?: undefined;
51
+ media?: undefined;
52
+ activate?: undefined;
53
+ })[];
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import "grapesjs/dist/css/grapes.min.css";
3
+ import "grapesjs/dist/grapes.min.js";
4
+ import "grapesjs-preset-webpage/dist/grapesjs-preset-webpage.min.css";
5
+ import "grapesjs-preset-webpage/dist/grapesjs-preset-webpage.min.js";
6
+ declare const IEPTemplateBuilder: FC;
7
+ export default IEPTemplateBuilder;
@@ -4,8 +4,8 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
4
4
  type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
5
  categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
6
6
  explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
7
- fromLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
8
- toLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
7
+ fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
8
+ toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
9
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>;
@@ -17,8 +17,8 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
17
17
  type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
18
18
  categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
19
19
  explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
20
- fromLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
21
- toLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
20
+ fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
21
+ toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
22
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>;
@@ -29,4 +29,5 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
29
29
  import Dashboard from "./containers/Dashboard/views/Dashboard";
30
30
  import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
31
31
  import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
32
- export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard };
32
+ import LoadLanguage from "./components/Loading/LoadLanguage";
33
+ export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage };
@@ -18,3 +18,4 @@ export declare const getStudentByAge: (filter: any) => Promise<import("axios").A
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
20
  export declare const getBandScore: () => Promise<import("axios").AxiosResponse<any>>;
21
+ export declare const getLearningStrategiesTableApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -7,12 +7,12 @@ export declare const CONFERENCE_RUBRIC_TYPES: {
7
7
  };
8
8
  export declare const GENDER_FILTER: string[];
9
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
- StartDate = "Start Date",
17
- EndDate = "End Date"
10
+ Calendar = "calendar",
11
+ Gender = "gender",
12
+ Grade = "grade",
13
+ BandScore = "current_grade",
14
+ StudentName = "student_name",
15
+ TeacherName = "teacher_name",
16
+ StartDate = "start_date",
17
+ EndDate = "end_date"
18
18
  }