mario-education 2.4.125-beta → 2.4.126-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.
- package/dist/MarioFramework.Education/ClientApp/src/containers/CSVImport/hooks/useCSVImport.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/AreaChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/GenerateChartData.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LineChart.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +16 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +46 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +8 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts +1 -4
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +17 -55
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +12 -46
- package/dist/MarioFramework.Education/ClientApp/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +1 -4
- package/dist/MarioFramework.Education/ClientApp/src/services/csvService.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +2 -0
- package/dist/index.css +234 -55
- package/dist/index.js +1453 -4089
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1455 -4088
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -4
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare const GRAGE_DEFAULT: string[];
|
|
|
20
20
|
export declare const INITIAl_COLUNM_CHART_AND_PERCENT: {
|
|
21
21
|
overviewQuestionChoice: never[];
|
|
22
22
|
type: string;
|
|
23
|
+
overViewQuestionLastMonth: never[];
|
|
23
24
|
};
|
|
24
25
|
export declare const INITIAL_AGE_OF_STUDENT: IStudentByAge;
|
|
25
26
|
export declare const LABEL_NAME_PIE_CHART: string[];
|
|
@@ -49,4 +50,19 @@ export declare const CALENDAR_OPTIONS: {
|
|
|
49
50
|
label: string;
|
|
50
51
|
startDate: number;
|
|
51
52
|
endDate: number;
|
|
53
|
+
value: string;
|
|
52
54
|
}[];
|
|
55
|
+
export declare const heightChartDefault = 250;
|
|
56
|
+
export declare const PREPAREDNESS_QUESTION: string[];
|
|
57
|
+
export declare const SUCCESS_INDICATORS_QUESTION: string[];
|
|
58
|
+
export declare const SAFETY_QUESTION = "safety";
|
|
59
|
+
export declare const STRESS_QUESTION = "stress";
|
|
60
|
+
export declare const readinessToLearnName = "readiness_to_learn";
|
|
61
|
+
export declare const preparednessChartName = "Preparedness";
|
|
62
|
+
export declare const averageStudentSafetyName = "average_student_safety";
|
|
63
|
+
export declare const averageStudentStressName = "average_student_stress";
|
|
64
|
+
export declare const successIndicatorsName = "success_indicators";
|
|
65
|
+
export declare const learningProcessName = "learning_process";
|
|
66
|
+
export declare const topLearningStrategyName = "top_learning_strategies";
|
|
67
|
+
export declare const topMostUsedStrategiesName = "top_5_most_used_strategies";
|
|
68
|
+
export declare const chartNames: string[];
|
|
@@ -71,6 +71,7 @@ export declare type DashboardFilter = {
|
|
|
71
71
|
teacherUserId?: string;
|
|
72
72
|
studentUserId?: string;
|
|
73
73
|
bandScore: string;
|
|
74
|
+
optionDate: string;
|
|
74
75
|
};
|
|
75
76
|
export interface ICircleChartItem {
|
|
76
77
|
id: number;
|
|
@@ -126,6 +127,11 @@ export interface IlearningItem {
|
|
|
126
127
|
export interface IlearningStrategies {
|
|
127
128
|
learningStrategies: IlearningItem[];
|
|
128
129
|
}
|
|
130
|
+
export interface ILearningItem {
|
|
131
|
+
learningStrategyName: string;
|
|
132
|
+
usageCount: number;
|
|
133
|
+
usagePoint: number[];
|
|
134
|
+
}
|
|
129
135
|
export interface IStudentPercentQuestion {
|
|
130
136
|
percentQuestion: number;
|
|
131
137
|
studentId: number;
|
|
@@ -162,6 +168,7 @@ export interface IOverviewQuestionChoice {
|
|
|
162
168
|
export interface IColumnChartAndPercent {
|
|
163
169
|
overviewQuestionChoice: IOverviewQuestionChoice[];
|
|
164
170
|
type: string;
|
|
171
|
+
overViewQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
165
172
|
}
|
|
166
173
|
export interface IAgeOfStudent {
|
|
167
174
|
nineToTwelve: number;
|
|
@@ -237,4 +244,43 @@ export interface IChartOptions {
|
|
|
237
244
|
value: TYPECHART;
|
|
238
245
|
label: string;
|
|
239
246
|
}
|
|
247
|
+
export interface IQuestionResponseLastMonth {
|
|
248
|
+
avgQuestionResponse: number;
|
|
249
|
+
avgQuestionResponseLastMonth: number;
|
|
250
|
+
questionId: number;
|
|
251
|
+
questionText: string;
|
|
252
|
+
}
|
|
253
|
+
export interface IGenerateChart {
|
|
254
|
+
typeChart: TYPECHART;
|
|
255
|
+
timeOfDay?: string;
|
|
256
|
+
onActiveColumn?: Function;
|
|
257
|
+
activeColumn: boolean[];
|
|
258
|
+
series: ISeries[];
|
|
259
|
+
months: string[];
|
|
260
|
+
name?: string;
|
|
261
|
+
dayOfWeek: string[];
|
|
262
|
+
colors: string[];
|
|
263
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
264
|
+
isShowExpandIcon?: boolean;
|
|
265
|
+
onExpand?: Function;
|
|
266
|
+
}
|
|
267
|
+
export interface IDashboardToPDF {
|
|
268
|
+
startTime: number | undefined;
|
|
269
|
+
endTime: number | undefined;
|
|
270
|
+
timeOfDay?: string;
|
|
271
|
+
activeColumnPreparedness: boolean[];
|
|
272
|
+
activeColumnSuccessIndicators: boolean[];
|
|
273
|
+
safetyData: ISeries[];
|
|
274
|
+
stressData: ISeries[];
|
|
275
|
+
preparednessData: ISeries[];
|
|
276
|
+
successIndicatorsData: ISeries[];
|
|
277
|
+
seriesLearningProgress: ISeries[];
|
|
278
|
+
monthsOneToOne: string[];
|
|
279
|
+
dayOfWeekOneToOne: string[];
|
|
280
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
281
|
+
dayOfWeekLearningProgress: string[];
|
|
282
|
+
monthsLearningProgress: string[];
|
|
283
|
+
topLearningStrategiesData: IlearningStrategies;
|
|
284
|
+
selectedToPDF: string[];
|
|
285
|
+
}
|
|
240
286
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare const mtssOptions: {
|
|
|
28
28
|
value: MtssType;
|
|
29
29
|
label: string;
|
|
30
30
|
}[];
|
|
31
|
-
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[],
|
|
31
|
+
export declare const learningStrategyChartOptions: (labelNames: string[], usageCountList: number[], isDonutChart?: boolean | undefined) => ApexOptions;
|
|
32
32
|
export declare const ReadinessToLearnOptions: (questionTexts: string[]) => ApexOptions;
|
|
33
33
|
export declare const optionsChartGrade: (maxDatas: number) => ApexOptions;
|
|
34
34
|
export declare const studentBySpecialNeedOptions: (seriesValue: IseriesChart, colors: string[]) => ApexOptions;
|
|
@@ -102,14 +102,18 @@ 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, dayOfWeek: string[]) => ApexOptions;
|
|
106
|
-
export declare const optionLineChart: (months: string[], activeData: boolean[], dayOfWeek: string[]) => ApexOptions;
|
|
105
|
+
export declare const optionColumnChartAndPercents: (months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], dayOfWeek: string[]) => ApexOptions;
|
|
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 convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
109
109
|
export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
|
|
110
110
|
name: string;
|
|
111
111
|
data: number[];
|
|
112
112
|
}[];
|
|
113
|
+
export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
|
|
114
|
+
name: string;
|
|
115
|
+
data: number[];
|
|
116
|
+
}[];
|
|
113
117
|
export declare const convertToAvg: (dataCharts: string[], data: IOverviewQuestionChoice[], months: string[]) => number[];
|
|
114
118
|
export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
|
|
115
119
|
export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: boolean) => {
|
|
@@ -127,3 +131,4 @@ export declare const filterYearData: {
|
|
|
127
131
|
startDate: number;
|
|
128
132
|
endDate: number;
|
|
129
133
|
}[];
|
|
134
|
+
export declare const handleAveraged: (points: number[]) => number;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
declare const useBehavior: (initialTypeChart: TYPECHART[]) => {
|
|
1
|
+
declare const useBehavior: () => {
|
|
3
2
|
chartIsOpened: boolean[];
|
|
4
3
|
onToggle: (idx: number) => void;
|
|
5
|
-
onChangeChart: (idx: number, type: TYPECHART, options?: IChartOptions[] | undefined) => void;
|
|
6
|
-
typeChartList: TYPECHART[];
|
|
7
4
|
teacherUserId: string;
|
|
8
5
|
changeCurrentTeacherUserId: (userId: string) => void;
|
|
9
6
|
};
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PROPS_FILTERS_COMPONENT } from "../../../utils/type";
|
|
3
|
-
import { TYPECHART } from "../configs/types";
|
|
4
3
|
declare const useChartDatas: () => {
|
|
5
|
-
chartDashBoards: ({
|
|
6
|
-
chartIndex: number;
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
children: (_: TYPECHART) => JSX.Element;
|
|
10
|
-
isShowChangeChart: boolean;
|
|
11
|
-
options: never[];
|
|
12
|
-
contentTooltip: string;
|
|
13
|
-
handleClickOpenTable: () => void;
|
|
14
|
-
} | {
|
|
15
|
-
chartIndex: number;
|
|
16
|
-
id: string;
|
|
17
|
-
label: string;
|
|
18
|
-
children: (typeChart: TYPECHART, isPDF?: boolean | undefined) => JSX.Element;
|
|
19
|
-
isShowChangeChart: boolean;
|
|
20
|
-
options: {
|
|
21
|
-
label: string;
|
|
22
|
-
value: TYPECHART;
|
|
23
|
-
}[];
|
|
24
|
-
contentTooltip: string;
|
|
25
|
-
handleClickOpenTable?: undefined;
|
|
26
|
-
})[];
|
|
27
4
|
user: any;
|
|
28
5
|
filter: import("../configs/types").DashboardFilter;
|
|
29
6
|
LIST_FILTERS_LEFT: PROPS_FILTERS_COMPONENT[];
|
|
@@ -44,37 +21,22 @@ declare const useChartDatas: () => {
|
|
|
44
21
|
filter: string;
|
|
45
22
|
})[];
|
|
46
23
|
onChangeFilters: (filterSelect: import("../../../utils/type").IFilter) => void;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
selectedToPrint: any;
|
|
51
|
-
setSelectedToPrint: React.Dispatch<any>;
|
|
52
|
-
chartOneToOneData: import("../configs/types").IColumnChartAndPercent;
|
|
53
|
-
chartCheckInData: import("../configs/types").IColumnChartAndPercent;
|
|
24
|
+
handleSelectToPrint: (chartName: string) => void;
|
|
25
|
+
selectedToPrint: string[];
|
|
26
|
+
setSelectedToPrint: import("react").Dispatch<import("react").SetStateAction<string[]>>;
|
|
54
27
|
topLearningStrategies: import("../configs/types").IlearningStrategies;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
activeColumnConference: boolean[];
|
|
69
|
-
avgConference: number[];
|
|
70
|
-
dataConvertedSafety: string[];
|
|
71
|
-
activeColumnSafety: boolean[];
|
|
72
|
-
avgSafety: number[];
|
|
73
|
-
learningStrategiesData: any;
|
|
74
|
-
openLearningStrategiesTable: boolean;
|
|
75
|
-
handleOpenCloseLearningStrategiesTable: () => void;
|
|
76
|
-
filterLearningStrategiesTable: any;
|
|
77
|
-
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
78
|
-
getLearningStrategiesTableData: () => Promise<void>;
|
|
28
|
+
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
29
|
+
activeColumnSuccessIndicators: boolean[];
|
|
30
|
+
successIndicatorsData: import("../../../utils/type").ISeries[];
|
|
31
|
+
monthsOneToOne: string[];
|
|
32
|
+
dayOfWeekOneToOne: string[];
|
|
33
|
+
activeColumnPreparedness: boolean[];
|
|
34
|
+
preparednessData: import("../../../utils/type").ISeries[];
|
|
35
|
+
safetyData: import("../../../utils/type").ISeries[];
|
|
36
|
+
stressData: import("../../../utils/type").ISeries[];
|
|
37
|
+
seriesLearningProgress: import("../../../utils/type").ISeries[];
|
|
38
|
+
monthsLearningProgress: string[];
|
|
39
|
+
dayOfWeekLearningProgress: string[];
|
|
40
|
+
avgQuestionLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
|
|
79
41
|
};
|
|
80
42
|
export default useChartDatas;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardFilter, IActivityCircle, IlearningStrategies,
|
|
2
|
+
import { DashboardFilter, IActivityCircle, IlearningStrategies, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IColumnChartAndPercent, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth } from "../configs/types";
|
|
3
3
|
import { IFilter, Student, ISeries } from "../../../utils/type";
|
|
4
4
|
declare const useDashboard: () => {
|
|
5
5
|
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
6
6
|
filter: DashboardFilter;
|
|
7
7
|
listTotalTime: IDashboardToTalStudent;
|
|
8
|
-
readinessToLearning: IReadinessToLearning[];
|
|
9
8
|
topLearningStrategies: IlearningStrategies;
|
|
10
9
|
studentByGrade: IStudentByGrade[];
|
|
11
|
-
chartOneToOneData: IColumnChartAndPercent;
|
|
12
|
-
chartCheckInData: IColumnChartAndPercent;
|
|
13
|
-
chartClassReflection: IColumnChartAndPercent;
|
|
14
|
-
chartConference: IColumnChartAndPercent;
|
|
15
10
|
learningProgress: IColumnChartAndPercent;
|
|
16
11
|
friendCircles: IsyntheticFriendCircle | undefined;
|
|
17
12
|
activityCircles: IActivityCircle | undefined;
|
|
18
13
|
studentBySpecialNeed: IStudentBySpecialNeed[];
|
|
19
14
|
studentByAge: IStudentByAge;
|
|
20
15
|
studentByGender: IStudentByGender;
|
|
21
|
-
safety: IColumnChartAndPercent;
|
|
22
|
-
topSkill: never[];
|
|
23
16
|
handleChangeFilters: (event: any) => void;
|
|
24
17
|
bandScore: BAND_SCORE[];
|
|
25
18
|
user: any;
|
|
@@ -30,46 +23,19 @@ declare const useDashboard: () => {
|
|
|
30
23
|
handleFilterStudent: (option: any) => void;
|
|
31
24
|
handleFilterTeacher: (option: any) => void;
|
|
32
25
|
onChangeFilters: (filterSelect: IFilter) => void;
|
|
33
|
-
handleActiveColumnOneToOne: (index:
|
|
34
|
-
seriesOneToOne: ISeries[];
|
|
35
|
-
avgOneToOne: number[];
|
|
26
|
+
handleActiveColumnOneToOne: (index: number, name: string) => void;
|
|
36
27
|
dataConvertedOneToOne: string[];
|
|
37
28
|
monthsOneToOne: string[];
|
|
38
|
-
activeColumnOneToOne: boolean[];
|
|
39
|
-
handleActiveColumnCheckIn: (index: any) => void;
|
|
40
|
-
seriesCheckIn: ISeries[];
|
|
41
|
-
avgCheckIn: number[];
|
|
42
|
-
dataConvertedCheckIn: string[];
|
|
43
|
-
monthsCheckIn: string[];
|
|
44
|
-
activeColumnCheckIn: boolean[];
|
|
45
|
-
handleActiveColumnClassReflection: (index: any) => void;
|
|
46
|
-
seriesClassRefection: ISeries[];
|
|
47
|
-
avgClassReflection: number[];
|
|
48
|
-
dataConvertedClassReflection: string[];
|
|
49
|
-
monthsClassReflection: string[];
|
|
50
|
-
activeColumnClassReflection: boolean[];
|
|
51
|
-
handleActiveColumnConference: (index: number) => void;
|
|
52
|
-
seriesConference: ISeries[];
|
|
53
|
-
avgConference: number[];
|
|
54
|
-
dataConvertedConference: string[];
|
|
55
|
-
monthsConference: string[];
|
|
56
|
-
activeColumnConference: boolean[];
|
|
57
|
-
handleActiveColumnSafety: (index: number) => void;
|
|
58
|
-
seriesSafety: ISeries[];
|
|
59
|
-
avgSafety: number[];
|
|
60
|
-
dataConvertedSafety: string[];
|
|
61
|
-
monthsSafety: string[];
|
|
62
|
-
activeColumnSafety: boolean[];
|
|
63
|
-
learningStrategiesData: any;
|
|
64
|
-
openLearningStrategiesTable: boolean;
|
|
65
|
-
handleOpenCloseLearningStrategiesTable: () => void;
|
|
66
|
-
filterLearningStrategiesTable: any;
|
|
67
|
-
changeFiltersLearningStrategiesTable: (updatedFilter: any) => void;
|
|
68
|
-
getLearningStrategiesTableData: () => Promise<void>;
|
|
69
29
|
dayOfWeekOneToOne: string[];
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
30
|
+
stressData: ISeries[];
|
|
31
|
+
safetyData: ISeries[];
|
|
32
|
+
preparednessData: ISeries[];
|
|
33
|
+
successIndicatorsData: ISeries[];
|
|
34
|
+
activeColumnSuccessIndicators: boolean[];
|
|
35
|
+
activeColumnPreparedness: boolean[];
|
|
36
|
+
seriesLearningProgress: ISeries[];
|
|
37
|
+
monthsLearningProgress: string[];
|
|
38
|
+
dayOfWeekLearningProgress: string[];
|
|
39
|
+
avgQuestionLastMonth: IQuestionResponseLastMonth[];
|
|
74
40
|
};
|
|
75
41
|
export default useDashboard;
|
|
@@ -8,4 +8,5 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
|
|
|
8
8
|
export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
|
|
9
9
|
export declare const renderCategory: (params: any) => JSX.Element;
|
|
10
10
|
export declare const renderType: (params: any) => JSX.Element;
|
|
11
|
+
export declare const renderUserQuestion: (params: any) => JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -24,6 +24,7 @@ declare type QuestionDetail = {
|
|
|
24
24
|
subQuestions: string[];
|
|
25
25
|
isBeforeSession: boolean;
|
|
26
26
|
isDefaultQuestionSurvey: boolean;
|
|
27
|
+
userForQuestion?: string;
|
|
27
28
|
};
|
|
28
29
|
declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
|
|
29
30
|
questionDetail: QuestionDetail;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const SubjectList: FC;
|
|
3
|
+
export default SubjectList;
|
|
@@ -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,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;
|
|
@@ -30,9 +30,6 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
|
|
|
30
30
|
import Dashboard from "./containers/Dashboard/views/Dashboard";
|
|
31
31
|
import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
|
|
32
32
|
import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
|
|
33
|
-
import TemplateContainer from "./containers/TemplateSystem/views/TemplateContainer";
|
|
34
|
-
import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuilderPage";
|
|
35
|
-
import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
|
|
36
33
|
import LoadLanguage from "./components/Loading/LoadLanguage";
|
|
37
34
|
import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
|
|
38
|
-
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining
|
|
35
|
+
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const downloadTemplateFile: () => Promise<import("axios").AxiosResponse<any>>;
|
|
1
2
|
export declare const importCSV: (formData: FormData, subFolder: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
3
|
export declare const importStudentCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
4
|
export declare const importClassReflectionCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -15,6 +15,7 @@ export interface IFilter {
|
|
|
15
15
|
gender?: number[];
|
|
16
16
|
grade?: string[];
|
|
17
17
|
bandScore?: string;
|
|
18
|
+
optionDate?: string;
|
|
18
19
|
}
|
|
19
20
|
export interface PROPS_FILTERS_COMPONENT {
|
|
20
21
|
teacherId?: number;
|
|
@@ -45,6 +46,7 @@ export interface CALENDAR {
|
|
|
45
46
|
startDate: any;
|
|
46
47
|
endDate: any;
|
|
47
48
|
label: string;
|
|
49
|
+
value: string;
|
|
48
50
|
}
|
|
49
51
|
export declare enum LegalGenderType {
|
|
50
52
|
Male = 0,
|