mario-education 2.4.192-level → 2.4.192-survey

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 (20) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/AreaChart.d.ts +1 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +1 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +1 -1
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/UserRevert/hooks/useRevertUser.d.ts +1 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/services/revertUserService.d.ts +1 -0
  11. package/dist/index.css +2231 -2227
  12. package/dist/index.js +123 -36
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.modern.js +123 -36
  15. package/dist/index.modern.js.map +1 -1
  16. package/package.json +98 -98
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/Rostering.d.ts +0 -6
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useRostering.d.ts +0 -23
  19. package/dist/MarioFramework.Education/ClientApp/src/services/roster.d.ts +0 -4
  20. /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
@@ -7,6 +7,7 @@ interface IProps {
7
7
  colors: string[];
8
8
  dayOfWeek: string[];
9
9
  isCountSeries?: boolean;
10
+ min?: number;
10
11
  }
11
12
  declare const AreaChart: FC<IProps>;
12
13
  export default AreaChart;
@@ -6,6 +6,7 @@ interface IProps {
6
6
  series: ISeries[];
7
7
  dayOfWeek: string[];
8
8
  colors: string[];
9
+ min?: number;
9
10
  }
10
11
  declare const BarChart: FC<IProps>;
11
12
  export default BarChart;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { IReadinessToLearning } from "../configs/types";
3
+ interface Props {
4
+ data: IReadinessToLearning[];
5
+ }
6
+ declare const ReadinessToLearn: FC<Props>;
7
+ export default ReadinessToLearn;
@@ -298,6 +298,7 @@ export interface IGenerateChart {
298
298
  height?: number | string;
299
299
  avgContent?: string;
300
300
  textColors?: string[];
301
+ min?: number;
301
302
  }
302
303
  export interface IDashboardToPDF {
303
304
  startTime: number | undefined;
@@ -102,7 +102,7 @@ export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearnin
102
102
  name: string;
103
103
  data: import("react").ReactText[][];
104
104
  }[];
105
- export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], dayOfWeek: string[], isCountSeries?: boolean | undefined) => ApexOptions;
105
+ export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek: string[], isCountSeries?: boolean | undefined) => ApexOptions;
106
106
  export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek: string[]) => ApexOptions;
107
107
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], dayOfWeek: string[], newseries?: any) => ApexOptions;
108
108
  export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentAssistantItem } from "../utils/type.interface";
3
+ declare const useSwitchAssistant: () => {
4
+ userList: IStudentAssistantItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentAssistantItem;
10
+ options: IOptions[];
11
+ setAssistantChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ assistantChangeId: string;
13
+ removeData: (teacherUserId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentAssistantItem) => void;
16
+ onDeleteAssistant: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchAssistant;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ISwitchCounselorModal } from "../utils/type.interface";
3
+ declare const _default: React.ForwardRefExoticComponent<ISwitchCounselorModal & React.RefAttributes<HTMLInputElement>>;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentCounselorItem } from "../utils/type.interface";
3
+ declare const useSwitchCounselor: () => {
4
+ userList: IStudentCounselorItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentCounselorItem;
10
+ options: IOptions[];
11
+ setCounselorChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ counselorChangeId: string;
13
+ removeData: (counselorId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentCounselorItem) => void;
16
+ onDeleteCounselor: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchCounselor;
@@ -9,5 +9,6 @@ declare const useRevertUser: () => {
9
9
  userTo: Student | null;
10
10
  setUserTo: import("react").Dispatch<import("react").SetStateAction<Student | null>>;
11
11
  handelMergeDataUser: () => Promise<void>;
12
+ handleConvertDataStress: () => Promise<void>;
12
13
  };
13
14
  export default useRevertUser;
@@ -1,2 +1,3 @@
1
1
  export declare const revertUser: (id: string) => Promise<import("axios").AxiosResponse<any>>;
2
2
  export declare const mergeData: (fromId: string, toId: string) => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const convertDataStress: () => Promise<import("axios").AxiosResponse<any>>;