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
@@ -4,6 +4,7 @@ interface Props {
4
4
  onChange: Function;
5
5
  value: any | null;
6
6
  externalQuestionIds: number[];
7
+ isDefaultQuestionSurvey?: boolean;
7
8
  }
8
9
  declare const QuestionSelector: FC<Props>;
9
10
  export default QuestionSelector;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ConferenceRubric, ConferenceRubricQuestion, ConferenceRubricSkill } from "../configs/types";
3
- declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
3
+ declare const useConferenceRubricDetail: (id?: import("yup/lib/types").Maybe<number>) => {
4
4
  conferenceRubricDetail: ConferenceRubric;
5
5
  temporarySkill: ConferenceRubricSkill | null;
6
6
  setTemporarySkill: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricSkill | null>>;
@@ -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;
@@ -1,7 +1,3 @@
1
- import { FC } from "react";
2
- import { IStudentByAge } from "../configs/types";
3
- interface IProps {
4
- data: IStudentByAge;
5
- }
6
- declare const StudentByAge: FC<IProps>;
1
+ /// <reference types="react" />
2
+ declare const StudentByAge: ({ data }: any) => JSX.Element;
7
3
  export default StudentByAge;
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  import { IStudentByGrade } from "../configs/types";
3
3
  interface IGradeStudentChart {
4
4
  data: IStudentByGrade[];
5
5
  }
6
- declare const _default: React.NamedExoticComponent<IGradeStudentChart>;
7
- export default _default;
6
+ declare const StudentByGrade: FC<IGradeStudentChart>;
7
+ export default StudentByGrade;
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  import { IlearningStrategies } from "../configs/types";
3
3
  interface ITopLearningStrategy {
4
4
  data: IlearningStrategies;
5
5
  }
6
- declare const _default: React.NamedExoticComponent<ITopLearningStrategy>;
7
- export default _default;
6
+ declare const TopLearningStrategy: FC<ITopLearningStrategy>;
7
+ export default TopLearningStrategy;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { TotalCardItem } from "../configs/types";
3
- declare const TotalCard: ({ icon, title, value }: TotalCardItem) => JSX.Element;
3
+ declare const TotalCard: ({ icon, title, value, }: TotalCardItem) => JSX.Element;
4
4
  export default TotalCard;
@@ -1,4 +1,3 @@
1
- import { IStudentByAge } from "./types";
2
1
  export declare const colors: string[];
3
2
  export declare const INITIAL_BEST_FRIENDS: {
4
3
  friends: number;
@@ -17,28 +16,3 @@ export declare const LEARNING_STRATEGY_INIT: {
17
16
  learningStrategies: never[];
18
17
  };
19
18
  export declare const GRAGE_DEFAULT: string[];
20
- export declare const INITIAl_COLUNM_CHART_AND_PERCENT: {
21
- overviewQuestionChoice: never[];
22
- type: string;
23
- };
24
- export declare const INITIAL_AGE_OF_STUDENT: IStudentByAge;
25
- export declare const LABEL_NAME_PIE_CHART: string[];
26
- export declare const INITIAL_STUDENT_BY_GENDER: {
27
- male: number;
28
- female: number;
29
- };
30
- export declare const INITIAl_STUDENT_DASHBOARD: {
31
- avgClassReflection: number;
32
- totalConference: number;
33
- totalOneToOne: number;
34
- totalTimeConference: number;
35
- totalTimeOneToOne: number;
36
- };
37
- export declare const INITIAL_AVG: number[];
38
- export declare const COLOR_CHART_AND_PERCENTS: string[];
39
- export declare const COLOR_CHART_BUBBLE: string[];
40
- export declare const PERCENT: number[];
41
- export declare const GENDER_OPTION: {
42
- value: number;
43
- label: string;
44
- }[];
@@ -58,19 +58,14 @@ export declare type TotalCardItem = {
58
58
  filter: string;
59
59
  };
60
60
  export declare type DashboardFilter = {
61
- startDate?: number;
62
- endDate?: number;
61
+ startDate: number;
62
+ endDate: number;
63
63
  studentIds: number[];
64
64
  gender?: number[];
65
- grade: string[];
65
+ grade?: string[];
66
66
  teacherId?: number;
67
67
  mtss?: MtssType;
68
68
  studentId?: number;
69
- calendar?: string;
70
- currentGrade?: string;
71
- teacherUserId?: string;
72
- studentUserId?: string;
73
- bandScore: string;
74
69
  };
75
70
  export interface ICircleChartItem {
76
71
  id: number;
@@ -104,14 +99,9 @@ export declare enum LegalGenderType {
104
99
  Male = 0,
105
100
  Female = 1
106
101
  }
107
- export interface IDesignationsQuantity {
108
- name: string;
109
- quantity: number;
110
- }
111
102
  export interface IStudentByGrade {
112
103
  grade: string;
113
104
  quantity: number;
114
- designationsQuantity: IDesignationsQuantity[];
115
105
  }
116
106
  export interface ISeries {
117
107
  name: string;
@@ -125,14 +115,9 @@ export interface IlearningItem {
125
115
  export interface IlearningStrategies {
126
116
  learningStrategies: IlearningItem[];
127
117
  }
128
- export interface IStudentPercentQuestion {
129
- percentQuestion: number;
130
- studentId: number;
131
- studentName: string;
132
- }
133
118
  export interface IReadinessToLearning {
134
119
  questionText: string;
135
- studentPercentQuestion: IStudentPercentQuestion[];
120
+ percentQuestion: number;
136
121
  }
137
122
  export declare enum MtssType {
138
123
  Tier1 = 0,
@@ -147,74 +132,4 @@ export interface IseriesChart {
147
132
  name: string[];
148
133
  data: number[];
149
134
  }
150
- export interface IResultQuestion {
151
- avgOfStudentChoice: number;
152
- questionId: number;
153
- questionText: string;
154
- }
155
- export interface IOverviewQuestionChoice {
156
- month: string;
157
- resultQuestion: IResultQuestion[];
158
- }
159
- export interface IColumnChartAndPercent {
160
- overviewQuestionChoice: IOverviewQuestionChoice[];
161
- type: string;
162
- }
163
- export interface IAgeOfStudent {
164
- nineToTwelve: number;
165
- sixToEight: number;
166
- sixteenToEighteen: number;
167
- thirteenToFifteen: number;
168
- threeToFive: number;
169
- }
170
- export interface IStudentByAge {
171
- ageOfFeMaleStudent: IAgeOfStudent;
172
- ageOfMaleStudent: IAgeOfStudent;
173
- }
174
- export interface IStudentByGender {
175
- male: number;
176
- female: number;
177
- }
178
- export interface BAND_SCORE {
179
- label: string;
180
- value: number;
181
- }
182
- export interface IOption {
183
- label: string;
184
- value: number;
185
- }
186
- export interface IDashboardToTalStudent {
187
- avgClassReflection: number;
188
- totalConference: number;
189
- totalOneToOne: number;
190
- totalTimeConference: number;
191
- totalTimeOneToOne: number;
192
- }
193
- export declare enum FILTER_YEAR {
194
- THIS_YEAR = 0,
195
- LAST_YEAR = 1,
196
- LAST_QUARTER = 2,
197
- LAST_MONTH = 3,
198
- LAST_DAY = 4
199
- }
200
- export interface IfilterYear {
201
- label: string;
202
- value: FILTER_YEAR;
203
- startDate: number;
204
- endDate: number;
205
- }
206
- export interface ICalenDarLabelBox {
207
- value: FILTER_YEAR;
208
- label: string;
209
- }
210
- export interface IGenderLabelBox {
211
- value: number;
212
- label: string;
213
- }
214
- export interface ILabelBox {
215
- calendar: ICalenDarLabelBox;
216
- gender: IGenderLabelBox;
217
- grade: number;
218
- bandScore: number;
219
- }
220
135
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ApexOptions } from "apexcharts";
2
2
  import { IOptionSelector } from "../../../components/Select/InputSelector";
3
- import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
3
+ import { IActivityCircle, ISeries, IseriesChart, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
4
4
  export declare const getColors: (length: number) => string[];
5
5
  export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
6
6
  id: number;
@@ -29,102 +29,10 @@ export declare const mtssOptions: {
29
29
  }[];
30
30
  export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[]) => ApexOptions;
31
31
  export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
32
- export declare const optionsChartGrade: (maxDatas: number) => ApexOptions;
32
+ export declare const optionsChartGrade: (maxDatas: number, colorCharts: string[]) => ApexOptions;
33
33
  export declare const studentBySpecialNeedOptions: (seriesValue: IseriesChart, colors: string[]) => ApexOptions;
34
- export declare const studentByAgeOptions: (series: ISeries[]) => ApexOptions;
35
- export declare const convertDataStudentByAgeToSeries: (data: IStudentByAge) => {
36
- name: string;
37
- data: any[];
38
- }[];
39
- export declare const totalStudentByAge: (data: IStudentByAge) => any;
40
34
  export declare const seriesConvert: (gradeAndQuantity: IStudentByGrade[]) => ISeries[];
41
35
  export declare const maxSeries: (series: ISeries[]) => number;
42
36
  export declare const average: (arr: number[]) => number;
43
37
  export declare const colorCharts: (series: ISeries[]) => string[];
44
38
  export declare const colorChartsSpecialNeedOptions: (series: IseriesChart[]) => string[];
45
- export declare const pieChartOptions: {
46
- labels: string[];
47
- colors: string[];
48
- legend: {
49
- show: boolean;
50
- };
51
- plotOptions: {
52
- pie: {
53
- donut: {
54
- size: string;
55
- };
56
- };
57
- };
58
- chart: {
59
- offsetY: number;
60
- };
61
- dataLabels: {
62
- enabled: boolean;
63
- };
64
- fill: {
65
- colors: string[];
66
- };
67
- stroke: {
68
- colors: string[];
69
- width: number;
70
- };
71
- states: {
72
- normal: {
73
- filter: {
74
- type: string;
75
- value: number;
76
- };
77
- };
78
- hover: {
79
- filter: {
80
- type: string;
81
- value: number;
82
- };
83
- };
84
- active: {
85
- filter: {
86
- type: string;
87
- value: number;
88
- };
89
- };
90
- };
91
- };
92
- export declare const convertDataToSeriesStudentByGrade: (data: IStudentByGrade[]) => {
93
- name: string;
94
- data: number[];
95
- }[];
96
- export declare const studentByGradeConvert: (newData: IStudentByGrade[]) => {
97
- name: string;
98
- data: number[];
99
- }[];
100
- export declare const findTotalStudentByGrade: (data: IStudentByGrade[]) => number;
101
- export declare const getConvertMinuteToHour: (timeSecond: any) => string;
102
- export declare const readinesToLearnoptions: (data: IReadinessToLearning[], seriesName: string[]) => ApexOptions;
103
- export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[]) => {
104
- name: string;
105
- data: number[][];
106
- }[];
107
- export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean) => ApexOptions;
108
- export declare const optionBarChartAndArea: (months: string[], activeData: boolean[]) => ApexOptions;
109
- export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
110
- export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
111
- name: string;
112
- data: number[];
113
- }[];
114
- export declare const convertToAvg: (dataCharts: string[], data: IOverviewQuestionChoice[], months: string[]) => number[];
115
- export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
116
- export declare const mergeBarChartAndArea: (series: ISeries[]) => {
117
- type: string;
118
- name: string;
119
- data: number[];
120
- }[];
121
- export declare const getLastQuarterRange: () => {
122
- start: number;
123
- end: number;
124
- };
125
- export declare const filterYearData: {
126
- label: string;
127
- value: FILTER_YEAR;
128
- startDate: number;
129
- endDate: number;
130
- }[];
@@ -1,34 +1,33 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IColumnChartAndPercent, IStudentByAge, IStudentByGender, IDashboardToTalStudent } from "../configs/types";
3
- import { IFilter, Student } from "../../../utils/type";
2
+ import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle } from "../configs/types";
4
3
  declare const useDashboard: () => {
5
4
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
5
  filter: DashboardFilter;
7
- listTotalTime: IDashboardToTalStudent;
6
+ listTotalTime: any;
8
7
  readinessToLearning: IReadinessToLearning[];
9
8
  topLearningStrategies: IlearningStrategies;
10
9
  studentByGrade: IStudentByGrade[];
11
- chartOneToOneData: IColumnChartAndPercent;
12
- chartClassReflection: IColumnChartAndPercent;
13
- chartConference: IColumnChartAndPercent;
14
- learningProgress: IColumnChartAndPercent;
10
+ chartOneToOneData: never[];
11
+ chartClassReflection: never[];
12
+ chartConference: never[];
13
+ learningProgress: never[];
15
14
  friendCircles: IsyntheticFriendCircle | undefined;
16
15
  activityCircles: IActivityCircle | undefined;
17
16
  studentBySpecialNeed: IStudentBySpecialNeed[];
18
- studentByAge: IStudentByAge;
19
- studentByGender: IStudentByGender;
20
- safety: IColumnChartAndPercent;
17
+ studentByAge: undefined;
18
+ studentByGender: undefined;
19
+ grades: string[];
20
+ safety: never[];
21
21
  topSkill: never[];
22
+ getConvertMinuteToHour: (timeSecond: any) => string;
23
+ teacherId: number;
24
+ setTeacherId: import("react").Dispatch<import("react").SetStateAction<number>>;
25
+ studentId: number;
26
+ setStudentId: import("react").Dispatch<import("react").SetStateAction<number>>;
22
27
  onFilter: () => void;
23
- handleChangeFilters: (event: any) => void;
24
- bandScore: BAND_SCORE[];
25
- user: any;
26
- studentDefault: Student | undefined;
27
- setStudentDefault: import("react").Dispatch<import("react").SetStateAction<Student | undefined>>;
28
- genderOfStudent: string;
29
- setGenderOfStudent: import("react").Dispatch<import("react").SetStateAction<string>>;
30
- handleFilterStudent: (option: any) => void;
31
- handleFilterTeacher: (option: any) => void;
32
- onChangeFilters: (filterSelect: IFilter) => void;
28
+ studentUserId: string;
29
+ setStudentUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
30
+ teacherUserId: string;
31
+ setTeacherUserId: import("react").Dispatch<import("react").SetStateAction<string>>;
33
32
  };
34
33
  export default useDashboard;
@@ -6,7 +6,7 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
6
6
  explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
7
7
  fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
8
8
  toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
9
- numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
9
+ numberOfStars: yup.NumberSchema<import("yup/lib/types").Maybe<number>, Record<string, any>, import("yup/lib/types").Maybe<number>>;
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>;
12
12
  isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
@@ -19,7 +19,7 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
19
19
  explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
20
20
  fromLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
21
21
  toLabel: yup.StringSchema<import("yup/lib/types").Maybe<string>, Record<string, any>, import("yup/lib/types").Maybe<string>>;
22
- numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
22
+ numberOfStars: yup.NumberSchema<import("yup/lib/types").Maybe<number>, Record<string, any>, import("yup/lib/types").Maybe<number>>;
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>;
25
25
  isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
@@ -23,6 +23,7 @@ declare type QuestionDetail = {
23
23
  isSurvey: boolean;
24
24
  subQuestions: string[];
25
25
  isBeforeSession: boolean;
26
+ isDefaultQuestionSurvey: boolean;
26
27
  };
27
28
  declare const useQuestionDetail: (id?: number | undefined) => {
28
29
  questionDetail: QuestionDetail;
@@ -2,13 +2,13 @@ import * as yup from "yup";
2
2
  declare const schema: import("yup/lib/object").OptionalObjectSchema<{
3
3
  name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
4
  isConference: import("yup/lib/boolean").RequiredBooleanSchema<boolean | undefined, Record<string, any>>;
5
- conferenceRubricId: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
5
+ conferenceRubricId: yup.NumberSchema<import("yup/lib/types").Maybe<number>, Record<string, any>, import("yup/lib/types").Maybe<number>>;
6
6
  learningSupportCategoryId: yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>;
7
7
  extraQuestionIds: yup.ArraySchema<yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>, Record<string, any>, (number | undefined)[] | undefined, (number | undefined)[] | undefined>;
8
8
  }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
9
9
  name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
10
10
  isConference: import("yup/lib/boolean").RequiredBooleanSchema<boolean | undefined, Record<string, any>>;
11
- conferenceRubricId: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
11
+ conferenceRubricId: yup.NumberSchema<import("yup/lib/types").Maybe<number>, Record<string, any>, import("yup/lib/types").Maybe<number>>;
12
12
  learningSupportCategoryId: yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>;
13
13
  extraQuestionIds: yup.ArraySchema<yup.NumberSchema<number | undefined, Record<string, any>, number | undefined>, Record<string, any>, (number | undefined)[] | undefined, (number | undefined)[] | undefined>;
14
14
  }>>;
@@ -19,7 +19,7 @@ declare type QuestionSimple = {
19
19
  text: string;
20
20
  isDefaultQuestion: boolean;
21
21
  };
22
- declare const useSessionTemplateDetail: (id?: number | null | undefined) => {
22
+ declare const useSessionTemplateDetail: (id?: import("yup/lib/types").Maybe<number>) => {
23
23
  sessionTemplateDetail: SessionTemplateDetail;
24
24
  defaultTeacherQuestions: QuestionSimple[];
25
25
  defaultStudentQuestions: QuestionSimple[];
@@ -12,7 +12,7 @@ declare type QuestionSimple = {
12
12
  id: number;
13
13
  text: string;
14
14
  };
15
- declare const useSessionTemplateGeneralClassDetail: (id?: number | null | undefined) => {
15
+ declare const useSessionTemplateGeneralClassDetail: (id?: import("yup/lib/types").Maybe<number>) => {
16
16
  sessionTemplateGeneralClassDetail: SessionTemplateGeneralClassDetail;
17
17
  teacherQuestions: QuestionSimple[];
18
18
  studentQuestions: QuestionSimple[];
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ declare type questionCateDetail = {
3
+ name: string;
4
+ questionIds?: number[];
5
+ };
6
+ declare type TemplateQuestion = {
7
+ id: number;
8
+ text: string;
9
+ };
10
+ declare const useTemplateCateDetail: () => {
11
+ id: number;
12
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
13
+ questionCateDetail: questionCateDetail;
14
+ confirmData: (values: any, cb: any) => Promise<void>;
15
+ initValue: questionCateDetail;
16
+ reset: () => void;
17
+ edited: boolean;
18
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
19
+ setEditedTrue: () => Promise<void>;
20
+ setEditedFalse: () => Promise<void>;
21
+ categoryId: number;
22
+ setCategoryId: import("react").Dispatch<import("react").SetStateAction<number>>;
23
+ questionSelectorValue: {
24
+ id: number;
25
+ value: number;
26
+ label: string;
27
+ text: string;
28
+ } | null;
29
+ setTemporaryQuestion: import("react").Dispatch<import("react").SetStateAction<TemplateQuestion | null>>;
30
+ addQuestion: () => void;
31
+ listQuestions: TemplateQuestion[];
32
+ setListQuestions: import("react").Dispatch<import("react").SetStateAction<TemplateQuestion[]>>;
33
+ removeQuestion: (questionId: number) => void;
34
+ };
35
+ export default useTemplateCateDetail;
@@ -0,0 +1,9 @@
1
+ declare const useTemplateCateList: () => {
2
+ questionCateList: any;
3
+ totalItems: any;
4
+ filters: import("mario-core").Filter;
5
+ changeFilters: (updatedFilters: any) => void;
6
+ getData: () => Promise<void>;
7
+ removeData: (id: number) => void;
8
+ };
9
+ export default useTemplateCateList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateSurveyList: FC;
3
+ export default TemplateSurveyList;
@@ -17,4 +17,3 @@ export declare const getStudentBySpecialNeed: (filter: any) => Promise<import("a
17
17
  export declare const getStudentByAge: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
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
- export declare const getBandScore: () => Promise<import("axios").AxiosResponse<any>>;
@@ -4,3 +4,8 @@ export declare const getById: (id: number) => Promise<import("axios").AxiosRespo
4
4
  export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
5
5
  export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
6
6
  export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
7
+ export declare const getSurvey: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
8
+ export declare const getSurveyById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
9
+ export declare const createSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
10
+ export declare const updateSurvey: (data: any) => Promise<import("axios").AxiosResponse<any>>;
11
+ export declare const removeSurvey: (id: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -5,12 +5,3 @@ export declare const CONFERENCE_RUBRIC_TYPES: {
5
5
  HabitsAttitudesTowardsLearning: string;
6
6
  Custom: string;
7
7
  };
8
- export declare const GENDER_FILTER: string[];
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
- }
@@ -6,18 +6,3 @@ export interface IStudentWidthAssistant {
6
6
  searchString?: string;
7
7
  pageSize?: number;
8
8
  }
9
- export interface IFilter {
10
- currentPage?: number;
11
- pageSize?: number;
12
- }
13
- export interface IDesignation {
14
- id?: number;
15
- name: string;
16
- }
17
- export interface IDesignationReponse {
18
- currentPage: number;
19
- items: IDesignation[];
20
- pageSize: number;
21
- totalItems: number;
22
- totalPages: number;
23
- }