mario-teacher-student-client 2.1.82-beta → 2.1.83-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.
Files changed (25) hide show
  1. package/dist/containers/ConductOneToOne/constant/constant.d.ts +4 -0
  2. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -8
  3. package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +7 -2
  4. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +2 -0
  5. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +4 -2
  6. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +2 -0
  7. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +1 -0
  8. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +5 -5
  9. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useLearningStrategies.d.ts +2 -2
  10. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +5 -1
  11. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +1 -6
  12. package/dist/containers/MyStudent/components/OverviewToPDF.d.ts +3 -0
  13. package/dist/containers/MyStudent/hooks/useDesignation.d.ts +5 -0
  14. package/dist/containers/MyStudent/hooks/useOverview.d.ts +63 -0
  15. package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +66 -0
  16. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
  17. package/dist/containers/MyStudent/utils/type.interface.d.ts +4 -0
  18. package/dist/containers/PLP/hooks/usePlpPage.d.ts +69 -0
  19. package/dist/index.css +50 -3
  20. package/dist/index.js +10282 -8959
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.modern.js +10231 -8908
  23. package/dist/index.modern.js.map +1 -1
  24. package/dist/services/MyStudent.d.ts +2 -0
  25. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ export declare const describeQuestion: {
2
+ key: string;
3
+ value: string;
4
+ }[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  bestfit: string;
3
4
  content: string;
@@ -8,13 +9,6 @@ declare const useAddLearningStrategies: () => {
8
9
  learningStrategyData: any;
9
10
  selectLearning: (checked: boolean, data: Props) => void;
10
11
  handleChangeNote: (e: string, id: number) => void;
11
- changeFilters: (e: string) => void;
12
- filters: {
13
- studentId: any;
14
- isShowChoose: boolean;
15
- searchString: string;
16
- selected: string;
17
- };
18
12
  selectData: any;
19
13
  handleAddLearningStrategy: () => Promise<void>;
20
14
  backToLearningStrategy: () => void;
@@ -23,6 +17,6 @@ declare const useAddLearningStrategies: () => {
23
17
  handleShowSelectItemCount: () => number;
24
18
  classFontSize: string;
25
19
  bestFits: string[];
26
- selectedChange: (e: string[]) => void;
20
+ setLearningStrategyData: import("react").Dispatch<any>;
27
21
  };
28
22
  export default useAddLearningStrategies;
@@ -1,4 +1,7 @@
1
- declare const useEditLearningStrategies: () => {
1
+ interface Props {
2
+ isShowChoose?: boolean;
3
+ }
4
+ declare const useEditLearningStrategies: ({ isShowChoose }: Props) => {
2
5
  open: boolean;
3
6
  handleClickOpen: (id: any) => void;
4
7
  handleClose: () => void;
@@ -17,8 +20,10 @@ declare const useEditLearningStrategies: () => {
17
20
  isTeacher: any;
18
21
  classFontSize: string;
19
22
  bestFits: string[];
20
- selectedChange: (e: string[]) => Promise<void>;
23
+ selectedChange: (e: string[]) => void;
21
24
  nameStudent: string;
22
25
  isParent: any;
26
+ changeFilters: (e: string) => void;
27
+ data: any;
23
28
  };
24
29
  export default useEditLearningStrategies;
@@ -12,5 +12,7 @@ declare const useChartClassReflection: (studentId: any) => {
12
12
  anchorEl: any;
13
13
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
14
14
  handleClose: () => void;
15
+ chatMonthClassReflection: string[];
16
+ questionClassReflection: string[];
15
17
  };
16
18
  export default useChartClassReflection;
@@ -1,7 +1,7 @@
1
1
  import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
2
2
  import { ApexOptions } from "apexcharts";
3
- declare const useChartOneToOne: (studentId: any) => {
4
- series: any;
3
+ declare const useChartOneToOne: (studentId: number) => {
4
+ seriesOneToOne: any;
5
5
  widthChartOne: number;
6
6
  heightChartOne: number;
7
7
  handleChangeStartDate: (datepicker: MaterialUiPickersDate) => void;
@@ -12,5 +12,7 @@ declare const useChartOneToOne: (studentId: any) => {
12
12
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
13
  handleClose: () => void;
14
14
  optionOneToOne: ApexOptions;
15
+ chatMonthOneToOne: string[];
16
+ questionOneToOne: string[];
15
17
  };
16
18
  export default useChartOneToOne;
@@ -12,5 +12,7 @@ declare const useChartConference: (studentId: any) => {
12
12
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
13
  handleClose: () => void;
14
14
  optionConference: ApexOptions;
15
+ chatMonthConference: string[];
16
+ questionConference: string[];
15
17
  };
16
18
  export default useChartConference;
@@ -12,5 +12,6 @@ declare const useLearningProgress: (studentId: any) => {
12
12
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
13
13
  handleClose: () => void;
14
14
  optionLearningProgress: ApexOptions;
15
+ chatMonthLearningProgress: any;
15
16
  };
16
17
  export default useLearningProgress;
@@ -1,9 +1,9 @@
1
1
  import { ApexOptions } from "apexcharts";
2
- declare const useRedinessToLearn: (studentId: any) => {
3
- widthChart: number;
4
- heightChart: number;
5
- options: ApexOptions;
6
- anchorEl: any;
2
+ declare const useRedinessToLearn: (studentId: number) => {
3
+ widthChartReadinessToLearn: number;
4
+ heightChartReadinessToLearn: number;
5
+ optionsReadinessToLearn: ApexOptions;
6
+ anchorElReadinessToLearn: any;
7
7
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
8
8
  handleClose: () => void;
9
9
  setChartData: () => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  declare const useLearningStrategies: (studentId: any) => {
2
- filters: {
2
+ filtersLearningStrategiesData: {
3
3
  searchString: string;
4
4
  currentPage: number;
5
5
  pageSize: number;
@@ -8,7 +8,7 @@ declare const useLearningStrategies: (studentId: any) => {
8
8
  startDate: null;
9
9
  endDate: null;
10
10
  };
11
- changeFilters: (updatedFilters: any) => void;
11
+ changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
12
12
  learningStrategiesData: any;
13
13
  getLearningStrategiesData: () => Promise<void>;
14
14
  };
@@ -1,4 +1,8 @@
1
- declare const useTopLearningStrategies: (studentId: any) => {
1
+ /// <reference types="react" />
2
+ declare const useTopLearningStrategies: (studentId: number) => {
2
3
  topLearningStrategiesData: any;
4
+ topLearningStrategy: any;
5
+ labelName: any;
6
+ usageCountList: import("react").MutableRefObject<number[]>;
3
7
  };
4
8
  export default useTopLearningStrategies;
@@ -1,8 +1,3 @@
1
1
  /// <reference types="react" />
2
- interface TopLearningStrategiesChartProps {
3
- studentId: any;
4
- classFontSize: string;
5
- isPlp?: boolean;
6
- }
7
- declare const TopLearningStrategiesChart: (props: TopLearningStrategiesChartProps) => JSX.Element;
2
+ declare const TopLearningStrategiesChart: (props: any) => JSX.Element;
8
3
  export default TopLearningStrategiesChart;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OverviewToPDF: (props: any) => JSX.Element;
3
+ export default OverviewToPDF;
@@ -0,0 +1,5 @@
1
+ import { IDesignation } from "../utils/type.interface";
2
+ declare const useDesignation: () => {
3
+ designations: IDesignation[];
4
+ };
5
+ export default useDesignation;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FILTER_STUDENT_WELLBEING } from "../constants/types";
2
3
  declare const useOverview: (studentId: number) => {
3
4
  partnerData: any;
@@ -7,5 +8,67 @@ declare const useOverview: (studentId: number) => {
7
8
  informationWellbeing: any;
8
9
  getInformationWellbeing: (type: number, startDate?: any, endDate?: any) => Promise<void>;
9
10
  classFontSize: string;
11
+ widthChartReadinessToLearn: number;
12
+ heightChartReadinessToLearn: number;
13
+ optionsReadinessToLearn: ApexCharts.ApexOptions;
14
+ anchorElReadinessToLearn: any;
15
+ handleClick: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
16
+ handleClose: () => void;
17
+ dataReadinessOfChart: any;
18
+ seriesOneToOne: any;
19
+ widthChartOne: number;
20
+ heightChartOne: number;
21
+ handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
22
+ handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
23
+ timeEnd: any;
24
+ timeStart: any;
25
+ optionOneToOne: ApexCharts.ApexOptions;
26
+ seriesChartClassReflection: any;
27
+ optionClassReflection: ApexCharts.ApexOptions;
28
+ widthChartClassReflection: number;
29
+ heightChartClassReflection: number;
30
+ handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
31
+ handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
32
+ timeEndClassReflection: any;
33
+ timeStartClassReflection: any;
34
+ seriesConference: any;
35
+ widthChartConference: number;
36
+ heightChartConference: number;
37
+ handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
38
+ handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
39
+ timeEndConference: any;
40
+ optionConference: ApexCharts.ApexOptions;
41
+ timeStartConference: any;
42
+ seriesLearningProgress: any;
43
+ widthChartLearningProgress: number;
44
+ heightChartLearningProgress: number;
45
+ handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
46
+ handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
47
+ timeEndLearningProgress: any;
48
+ timeStartLearningProgress: any;
49
+ optionLearningProgress: ApexCharts.ApexOptions;
50
+ topLearningStrategiesData: any;
51
+ topLearningStrategy: any;
52
+ labelName: any;
53
+ usageCountList: import("react").MutableRefObject<number[]>;
54
+ learningStrategiesData: any;
55
+ filtersLearningStrategiesData: {
56
+ searchString: string;
57
+ currentPage: number;
58
+ pageSize: number;
59
+ sortBy: string;
60
+ sortOrder: string;
61
+ startDate: null;
62
+ endDate: null;
63
+ };
64
+ changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
65
+ chatMonthOneToOne: string[];
66
+ chatMonthClassReflection: string[];
67
+ chatMonthConference: string[];
68
+ chatMonthLearningProgress: any;
69
+ questionOneToOne: string[];
70
+ questionClassReflection: string[];
71
+ questionConference: string[];
72
+ getLearningStrategiesData: () => Promise<void>;
10
73
  };
11
74
  export default useOverview;
@@ -0,0 +1,66 @@
1
+ import { ApexOptions } from "apexcharts";
2
+ declare const useOverviewToPDF: (labelName: any, usageCountList: any, chatMonthOneToOne: any, chatMonthClassReflection: any, chatMonthConference: any, chatMonthLearningProgress: any) => {
3
+ stateLearningStrategies: {
4
+ options: {
5
+ legend: {
6
+ markers: {
7
+ radius: number;
8
+ };
9
+ offsetY: number;
10
+ height: number;
11
+ show: boolean;
12
+ };
13
+ dataLabels: {
14
+ enabled: boolean;
15
+ };
16
+ xaxis: {
17
+ categories: any;
18
+ labels: {
19
+ maxHeight: number;
20
+ formatter: (val: string) => string;
21
+ };
22
+ };
23
+ colors: string[];
24
+ tooltip: {
25
+ x: {
26
+ formatter: (value: any) => any;
27
+ };
28
+ y: {
29
+ formatter: (value: number, { seriesIndex, dataPointIndex }: any) => any;
30
+ };
31
+ };
32
+ chart: {
33
+ stacked: boolean;
34
+ toolbar: {
35
+ show: boolean;
36
+ };
37
+ zoom: {
38
+ enabled: boolean;
39
+ };
40
+ };
41
+ yaxis: {
42
+ labels: {
43
+ show: boolean;
44
+ };
45
+ };
46
+ responsive: {
47
+ breakpoint: number;
48
+ options: {
49
+ chart: {
50
+ width: string;
51
+ height: number;
52
+ };
53
+ };
54
+ }[];
55
+ };
56
+ };
57
+ stateOneToOne: ApexOptions;
58
+ COLOR_CHART: string[];
59
+ stateClassReflection: ApexOptions;
60
+ stateConference: ApexOptions;
61
+ stateLearningProgress: ApexOptions;
62
+ dispatch: import("redux").Dispatch<any>;
63
+ setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
64
+ setAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
65
+ };
66
+ export default useOverviewToPDF;
@@ -16,5 +16,6 @@ declare const useStudentList: () => {
16
16
  setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
17
17
  isRoleTeacherAndAssistant: boolean;
18
18
  nameTeacherAssistant: any;
19
+ downloadTemplate: () => Promise<void>;
19
20
  };
20
21
  export default useStudentList;
@@ -0,0 +1,4 @@
1
+ export interface IDesignation {
2
+ name: string;
3
+ id: number;
4
+ }
@@ -0,0 +1,69 @@
1
+ /// <reference types="react" />
2
+ declare const usePlpPage: () => {
3
+ student: any;
4
+ setStudent: import("react").Dispatch<any>;
5
+ goToListChart: () => void;
6
+ widthChartReadinessToLearn: number;
7
+ heightChartReadinessToLearn: number;
8
+ optionsReadinessToLearn: ApexCharts.ApexOptions;
9
+ anchorElReadinessToLearn: any;
10
+ handleClick: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
11
+ handleClose: () => void;
12
+ dataReadinessOfChart: any;
13
+ seriesOneToOne: any;
14
+ widthChartOne: number;
15
+ heightChartOne: number;
16
+ handleChangeStartDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
17
+ handleChangeEndDate: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
18
+ timeEnd: any;
19
+ timeStart: any;
20
+ optionOneToOne: ApexCharts.ApexOptions;
21
+ seriesChartClassReflection: any;
22
+ optionClassReflection: ApexCharts.ApexOptions;
23
+ widthChartClassReflection: number;
24
+ heightChartClassReflection: number;
25
+ handleChangeStartDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
26
+ handleChangeEndDateClassReflection: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
27
+ timeEndClassReflection: any;
28
+ timeStartClassReflection: any;
29
+ seriesConference: any;
30
+ widthChartConference: number;
31
+ heightChartConference: number;
32
+ handleChangeStartDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
33
+ handleChangeEndDateConference: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
34
+ timeEndConference: any;
35
+ optionConference: ApexCharts.ApexOptions;
36
+ timeStartConference: any;
37
+ seriesLearningProgress: any;
38
+ widthChartLearningProgress: number;
39
+ heightChartLearningProgress: number;
40
+ handleChangeStartLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
41
+ handleChangeEndLearningProgress: (datepicker: import("@material-ui/pickers/typings/date").MaterialUiPickersDate) => void;
42
+ timeEndLearningProgress: any;
43
+ timeStartLearningProgress: any;
44
+ optionLearningProgress: ApexCharts.ApexOptions;
45
+ topLearningStrategiesData: any;
46
+ topLearningStrategy: any;
47
+ labelName: any;
48
+ usageCountList: import("react").MutableRefObject<number[]>;
49
+ learningStrategiesData: any;
50
+ filtersLearningStrategiesData: {
51
+ searchString: string;
52
+ currentPage: number;
53
+ pageSize: number;
54
+ sortBy: string;
55
+ sortOrder: string;
56
+ startDate: null;
57
+ endDate: null;
58
+ };
59
+ changeFiltersLearningStrategiesData: (updatedFilters: any) => void;
60
+ chatMonthOneToOne: string[];
61
+ chatMonthClassReflection: string[];
62
+ chatMonthConference: string[];
63
+ chatMonthLearningProgress: any;
64
+ questionOneToOne: string[];
65
+ questionClassReflection: string[];
66
+ questionConference: string[];
67
+ getLearningStrategiesData: () => Promise<void>;
68
+ };
69
+ export default usePlpPage;
package/dist/index.css CHANGED
@@ -43,6 +43,17 @@
43
43
  ._1jTMg {
44
44
  display: none; } }
45
45
 
46
+ ._1DlZO {
47
+ display: flex;
48
+ align-items: center; }
49
+ ._1DlZO ._29Hwk {
50
+ margin-left: 10px; }
51
+
52
+ ._2pyf5 > p {
53
+ font-size: 16px;
54
+ color: rgba(0, 0, 0, 0.54);
55
+ margin-top: 12px; }
56
+
46
57
  ._2oMWx ._1M4r8 {
47
58
  background: #fff;
48
59
  text-transform: uppercase;
@@ -115,7 +126,7 @@ h2._13S5D {
115
126
  color: #2d3748;
116
127
  font-size: 14px;
117
128
  font-weight: bold;
118
- margin-top: 12px; }
129
+ margin: 0; }
119
130
 
120
131
  ._t-JhH p:nth-child(2) {
121
132
  font-size: 16px;
@@ -148,7 +159,8 @@ p._1YLGi {
148
159
  display: block; } }
149
160
  ._2gqE- ._337MJ {
150
161
  flex: 1 0 30%;
151
- margin-right: 5px; }
162
+ margin-right: 5px;
163
+ margin-top: 12px; }
152
164
  ._2gqE- ._k_dl- {
153
165
  display: block;
154
166
  width: 100%; }
@@ -1792,7 +1804,7 @@ p._1YLGi {
1792
1804
  margin-bottom: 90px; }
1793
1805
 
1794
1806
  ._2g648 {
1795
- padding: 10px 0;
1807
+ padding: 15px 0;
1796
1808
  width: 100%;
1797
1809
  border-bottom: 1px solid #ebebeb;
1798
1810
  display: flex;
@@ -5015,6 +5027,35 @@ h2._1OAmb {
5015
5027
  ._357lC {
5016
5028
  cursor: pointer; }
5017
5029
 
5030
+ ._27Z1n ._2dpVY {
5031
+ position: absolute;
5032
+ z-index: -999;
5033
+ left: 0;
5034
+ top: 0; }
5035
+
5036
+ ._27Z1n ._AM-4D {
5037
+ position: absolute;
5038
+ z-index: -999;
5039
+ left: 0;
5040
+ top: 0; }
5041
+ ._27Z1n ._AM-4D img {
5042
+ width: 100%;
5043
+ height: 100%;
5044
+ border-radius: 50%;
5045
+ -o-object-fit: cover;
5046
+ object-fit: cover; }
5047
+
5048
+ ._27Z1n ._3g92P {
5049
+ position: absolute;
5050
+ z-index: -999;
5051
+ right: 0; }
5052
+
5053
+ ._2qL5J {
5054
+ display: flex;
5055
+ padding-bottom: 10px;
5056
+ padding-right: 20px;
5057
+ justify-content: flex-end; }
5058
+
5018
5059
  @font-face {
5019
5060
  font-family: "Lato-Regular";
5020
5061
  src: url("/fonts/Lato-Regular.ttf");
@@ -5031,6 +5072,12 @@ h2._1OAmb {
5031
5072
  min-height: 93vh;
5032
5073
  background-color: #efefef; }
5033
5074
 
5075
+ ._14qnB {
5076
+ margin-top: 5px; }
5077
+
5078
+ ._3OC-7 {
5079
+ background: #7e78788a !important; }
5080
+
5034
5081
  ._1jL2C {
5035
5082
  padding: 10px;
5036
5083
  display: flex;