mario-education 2.4.26-admin → 2.4.28-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 (51) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/components/Questions/QuestionSelector.d.ts +1 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAge.d.ts +2 -6
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByGrade.d.ts +3 -3
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopLearningStrategy.d.ts +3 -3
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TotalCard.d.ts +1 -1
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +0 -26
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +4 -89
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +2 -94
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +19 -20
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/questionDetailSchema.d.ts +2 -2
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplate/configs/validationSchema.d.ts +2 -2
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +1 -1
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +1 -1
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/components/TemplateCateModal.d.ts +3 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateDetail.d.ts +35 -0
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +9 -0
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSurvey/views/TemplateSurveyList.d.ts +3 -0
  21. package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +0 -1
  22. package/dist/MarioFramework.Education/ClientApp/src/services/questionCategoryService.d.ts +5 -0
  23. package/dist/MarioFramework.Education/ClientApp/src/utils/constants.d.ts +0 -9
  24. package/dist/MarioFramework.Education/ClientApp/src/utils/serviceType.interface.d.ts +0 -15
  25. package/dist/index.css +124 -373
  26. package/dist/index.js +6089 -12079
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.modern.js +6091 -12081
  29. package/dist/index.modern.js.map +1 -1
  30. package/package.json +2 -2
  31. package/dist/MarioFramework.Education/ClientApp/src/components/Select/SelectFilter.d.ts +0 -4
  32. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/AreaChart.d.ts +0 -9
  33. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarAndAreaChart.d.ts +0 -9
  34. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +0 -9
  35. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BubbleChartCustom.d.ts +0 -7
  36. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CheckboxCustom.d.ts +0 -12
  37. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ColumnChartAndPercent.d.ts +0 -18
  38. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomPieChart.d.ts +0 -7
  39. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +0 -12
  40. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/PlusButton.d.ts +0 -6
  41. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAgeAndGender.d.ts +0 -8
  42. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts +0 -8
  43. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +0 -32
  44. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/components/DestinationModal.d.ts +0 -13
  45. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/hooks/useDestination.d.ts +0 -18
  46. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/constant.d.ts +0 -11
  47. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/type.interface.d.ts +0 -4
  48. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/utils/ultis.d.ts +0 -7
  49. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/views/Destinations.d.ts +0 -3
  50. package/dist/MarioFramework.Education/ClientApp/src/services/designationService.d.ts +0 -5
  51. package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +0 -53
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-education",
3
- "version": "2.4.26-admin",
3
+ "version": "2.4.28-beta",
4
4
  "description": "Contains education components && functions for BRSS Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -80,7 +80,7 @@
80
80
  "axios": "^0.21.1",
81
81
  "date-fns": "^2.19.0",
82
82
  "formik": "^2.2.6",
83
- "mario-core": "^2.9.26-admin",
83
+ "mario-core": "^2.9.34-beta",
84
84
  "react-apexcharts": "^1.3.9",
85
85
  "react-datepicker": "^3.6.0",
86
86
  "react-icons": "^4.2.0",
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
3
- declare const SelectFilter: ({ teacherId, studentUserId, studentId, teacherUserId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters }: PROPS_FILTERS_COMPONENT) => JSX.Element;
4
- export default SelectFilter;
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- import { ISeries } from "../configs/types";
3
- interface IProps {
4
- months: string[];
5
- activeColumn: boolean[];
6
- series: ISeries[];
7
- }
8
- declare const AreaChart: FC<IProps>;
9
- export default AreaChart;
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- import { ISeries } from "../configs/types";
3
- interface IProps {
4
- months: string[];
5
- activeColumn: boolean[];
6
- series: ISeries[];
7
- }
8
- declare const BarAndAreaChart: FC<IProps>;
9
- export default BarAndAreaChart;
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- import { ISeries } from "../configs/types";
3
- interface IProps {
4
- months: string[];
5
- activeColumn: boolean[];
6
- series: ISeries[];
7
- }
8
- declare const BarChart: FC<IProps>;
9
- export default BarChart;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { IReadinessToLearning } from "../configs/types";
3
- interface IProps {
4
- data: IReadinessToLearning[];
5
- }
6
- declare const _default: React.NamedExoticComponent<IProps>;
7
- export default _default;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- interface IProps {
3
- background?: string;
4
- width?: number;
5
- height?: number;
6
- isActive?: boolean;
7
- className?: string;
8
- props?: any;
9
- onClick?: () => void;
10
- }
11
- declare const CheckboxCustom: FC<IProps>;
12
- export default CheckboxCustom;
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { IOverviewQuestionChoice } from "../configs/types";
3
- export declare enum TYPECHART {
4
- AREA = 0,
5
- BAR = 1,
6
- BOTH = 2
7
- }
8
- export interface IProps {
9
- data: IOverviewQuestionChoice[];
10
- id: string;
11
- typeChart?: TYPECHART;
12
- }
13
- export interface ISeries {
14
- name: string;
15
- data: number[];
16
- }
17
- declare const _default: React.NamedExoticComponent<IProps>;
18
- export default _default;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- import { IStudentByGender } from "../configs/types";
3
- interface IProps {
4
- data: IStudentByGender;
5
- }
6
- declare const CustomPieChart: FC<IProps>;
7
- export default CustomPieChart;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- import { TYPECHART } from "../ColumnChartAndPercent";
3
- interface IProps {
4
- title: string;
5
- onToggle: () => void;
6
- isShowChangeChart?: boolean;
7
- typeChart?: TYPECHART;
8
- onChangeChart: (type: TYPECHART) => void;
9
- isOpen: boolean;
10
- }
11
- declare const HeaderChart: FC<IProps>;
12
- export default HeaderChart;
@@ -1,6 +0,0 @@
1
- import { FC } from "react";
2
- interface IProps {
3
- isActive: boolean;
4
- }
5
- declare const PlusButton: FC<IProps>;
6
- export default PlusButton;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { IStudentByAge, IStudentByGender } from "../configs/types";
3
- interface IProps {
4
- studentByAgeData: IStudentByAge;
5
- studentByGenderData: IStudentByGender;
6
- }
7
- declare const _default: React.NamedExoticComponent<IProps>;
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import { TYPECHART } from "../components/ColumnChartAndPercent";
2
- declare const useBehavior: () => {
3
- chartIsOpened: boolean[];
4
- onToggle: (idx: number) => void;
5
- onChangeChart: (idx: number, type: TYPECHART) => void;
6
- typeChartList: TYPECHART[];
7
- };
8
- export default useBehavior;
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
3
- import { TYPECHART } from "../components/ColumnChartAndPercent";
4
- declare const useChartDatas: () => {
5
- chartDashBoards: {
6
- id: string;
7
- label: string;
8
- children: (_: TYPECHART) => JSX.Element;
9
- isShowChangeChart: boolean;
10
- }[];
11
- user: any;
12
- filter: import("../configs/types").DashboardFilter;
13
- LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
14
- LIST_FILTERS_RIGHT: PROPS_FILTERS_COMPONENT[];
15
- totalCardData: ({
16
- icon: string;
17
- title: string;
18
- value: number;
19
- isUp: boolean;
20
- deviant: string;
21
- filter: string;
22
- } | {
23
- icon: string;
24
- title: string;
25
- value: string;
26
- isUp: boolean;
27
- deviant: string;
28
- filter: string;
29
- })[];
30
- onChangeFilters: (filterSelect: import("../../../utils/type").IFilter) => void;
31
- };
32
- export default useChartDatas;
@@ -1,13 +0,0 @@
1
- import { FC } from "react";
2
- import { IDesignation } from "../../../utils/serviceType.interface";
3
- import { IDestinationDetail } from "../utils/type.interface";
4
- export interface IProps {
5
- ref: any;
6
- isOpen: boolean;
7
- isEdit?: boolean;
8
- onConfirm: (values: IDestinationDetail) => void;
9
- onCancel: () => void;
10
- value: IDesignation;
11
- }
12
- declare const DestinationModal: FC<IProps>;
13
- export default DestinationModal;
@@ -1,18 +0,0 @@
1
- import { IDesignation, IDesignationReponse, IFilter } from "../../../utils/serviceType.interface";
2
- declare const useDestination: () => {
3
- currentDesignationId: number;
4
- designations: IDesignationReponse;
5
- isOpenModal: boolean;
6
- openModalCreate: () => void;
7
- getDesignations: () => Promise<void>;
8
- openModalEdit: (id: number) => void;
9
- openModalRemove: (id: number) => void;
10
- addDestination: (name: string) => Promise<void>;
11
- deleteDestination: (id: number) => Promise<void>;
12
- verifyDesignation: (id: number, name: string) => Promise<void>;
13
- onCancelModal: () => void;
14
- onConfirm: (value: IDesignation) => Promise<void>;
15
- filter: IFilter;
16
- changeFilters: (filters: IFilter) => void;
17
- };
18
- export default useDestination;
@@ -1,11 +0,0 @@
1
- export declare const INITIAL_DESIGNATION: {
2
- currentPage: number;
3
- items: never[];
4
- pageSize: number;
5
- totalItems: number;
6
- totalPages: number;
7
- };
8
- export declare const INITIAL_FILTER: {
9
- currentPage: number;
10
- pageSize: number;
11
- };
@@ -1,4 +0,0 @@
1
- export declare type IDestinationDetail = {
2
- name: string;
3
- };
4
- export declare const INITIAL_DESTINATION: IDestinationDetail;
@@ -1,7 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Destinations: () => JSX.Element;
3
- export default Destinations;
@@ -1,5 +0,0 @@
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>>;
@@ -1,53 +0,0 @@
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
- }
34
- export interface BAND_SCORE {
35
- label: string;
36
- value: number;
37
- }
38
- export interface GRADES {
39
- label: string;
40
- value: number;
41
- }
42
- export declare enum LegalGenderType {
43
- Male = 0,
44
- Female = 1
45
- }
46
- export interface genderOptions {
47
- value: any;
48
- label: string;
49
- }
50
- export interface LAST_YEAR {
51
- label: string;
52
- value: number;
53
- }