mario-teacher-student-client 2.1.78-beta → 2.1.81-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 (22) hide show
  1. package/dist/containers/ConductOneToOne/constant/constant.d.ts +4 -0
  2. package/dist/containers/Goals/constants/constants.d.ts +5 -0
  3. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -8
  4. package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +7 -2
  5. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartClassReflection.d.ts +2 -0
  6. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useChartOneToOne.d.ts +4 -2
  7. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useConference.d.ts +2 -0
  8. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useLearningProgress.d.ts +1 -0
  9. package/dist/containers/MyStudent/components/NewOverview/Chat/hooks/useRedinessToLearn.d.ts +1 -1
  10. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +5 -1
  11. package/dist/containers/MyStudent/components/OverviewToPDF.d.ts +3 -0
  12. package/dist/containers/MyStudent/hooks/useDesignation.d.ts +5 -0
  13. package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +73 -0
  14. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
  15. package/dist/containers/MyStudent/utils/type.interface.d.ts +4 -0
  16. package/dist/index.css +38 -5
  17. package/dist/index.js +11016 -10133
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.modern.js +11018 -10135
  20. package/dist/index.modern.js.map +1 -1
  21. package/dist/services/MyStudent.d.ts +2 -0
  22. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ export declare const describeQuestion: {
2
+ key: string;
3
+ value: string;
4
+ }[];
@@ -0,0 +1,5 @@
1
+ export declare const StatusDefault: {
2
+ key: string;
3
+ value: string;
4
+ }[];
5
+ export declare const handleShowStatus: (status: string) => string | undefined;
@@ -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,5 +1,5 @@
1
1
  import { ApexOptions } from "apexcharts";
2
- declare const useRedinessToLearn: (studentId: any) => {
2
+ declare const useRedinessToLearn: (studentId: number) => {
3
3
  widthChart: number;
4
4
  heightChart: number;
5
5
  options: ApexOptions;
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OverviewToPDF: () => 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;
@@ -0,0 +1,73 @@
1
+ import { ApexOptions } from "apexcharts";
2
+ declare const useOverviewToPDF: () => {
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) => string;
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
+ series: any;
57
+ };
58
+ optionsReadinessChart: ApexOptions;
59
+ dataReadinessOfChart: any;
60
+ stateOneToOne: ApexOptions;
61
+ seriesOneToOne: any;
62
+ questionOneToOne: string[];
63
+ COLOR_CHART: string[];
64
+ stateClassReflection: ApexOptions;
65
+ seriesChartClassReflection: any;
66
+ questionClassReflection: string[];
67
+ stateConference: ApexOptions;
68
+ seriesConference: any;
69
+ questionConference: string[];
70
+ stateLearningProgress: ApexOptions;
71
+ seriesLearningProgress: any;
72
+ };
73
+ 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
+ }
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;
@@ -4274,7 +4286,6 @@ h2._1OAmb {
4274
4286
  transform-origin: top left;
4275
4287
  top: 2;
4276
4288
  left: 0;
4277
- margin-left: 20px;
4278
4289
  padding: 0 10px 0 5px;
4279
4290
  position: absolute;
4280
4291
  color: rgba(0, 0, 0, 0.54);
@@ -5016,6 +5027,21 @@ h2._1OAmb {
5016
5027
  ._357lC {
5017
5028
  cursor: pointer; }
5018
5029
 
5030
+ ._27Z1n ._2dpVY {
5031
+ position: absolute;
5032
+ z-index: -999;
5033
+ left: 0;
5034
+ top: 0; }
5035
+
5036
+ ._27Z1n ._3g92P {
5037
+ position: absolute;
5038
+ z-index: -999;
5039
+ right: 0; }
5040
+
5041
+ ._27Z1n button {
5042
+ background-color: #308252;
5043
+ border-radius: 12px; }
5044
+
5019
5045
  @font-face {
5020
5046
  font-family: "Lato-Regular";
5021
5047
  src: url("/fonts/Lato-Regular.ttf");
@@ -5032,6 +5058,12 @@ h2._1OAmb {
5032
5058
  min-height: 93vh;
5033
5059
  background-color: #efefef; }
5034
5060
 
5061
+ ._14qnB {
5062
+ margin-top: 5px; }
5063
+
5064
+ ._3OC-7 {
5065
+ background: #7e78788a !important; }
5066
+
5035
5067
  ._1jL2C {
5036
5068
  padding: 10px;
5037
5069
  display: flex;
@@ -5084,7 +5116,8 @@ h2._1OAmb {
5084
5116
  width: -webkit-fit-content;
5085
5117
  width: -moz-fit-content;
5086
5118
  width: fit-content;
5087
- margin: auto; }
5119
+ margin: auto;
5120
+ white-space: nowrap; }
5088
5121
 
5089
5122
  ._3KX9R {
5090
5123
  color: #22543d;