mario-education 2.4.2 → 2.4.4-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.
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomBarChart.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomLineChart.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByAge.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByGender.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByGrade.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentWithSpecialNeeds.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopLearningStrategy.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopSkill.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TotalCard.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +13 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +12 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/components/SwitchAssistantModal.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/hooks/useSwitchAssistant.d.ts +17 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/utils/constants.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/utils/type.interface.d.ts +36 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/views/SwitchAssistantList.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/dashboardService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/userService.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/utils/serviceType.interface.d.ts +8 -0
- package/dist/index.css +106 -0
- package/dist/index.js +1352 -549
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1355 -552
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -48,4 +48,17 @@ export declare type BandScore = {
|
|
|
48
48
|
label: string;
|
|
49
49
|
value: number;
|
|
50
50
|
};
|
|
51
|
+
export declare type TotalCardItem = {
|
|
52
|
+
icon: any;
|
|
53
|
+
title: string;
|
|
54
|
+
value: string;
|
|
55
|
+
isUp: boolean;
|
|
56
|
+
deviant: string;
|
|
57
|
+
filter: string;
|
|
58
|
+
};
|
|
59
|
+
export declare type DashboardFilter = {
|
|
60
|
+
startDate: number;
|
|
61
|
+
endDate: number;
|
|
62
|
+
studentIds: number[];
|
|
63
|
+
};
|
|
51
64
|
export {};
|
package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DashboardFilter } from "../configs/types";
|
|
2
3
|
declare const useDashboard: () => {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
|
|
5
|
+
filter: DashboardFilter;
|
|
6
|
+
listTotalTime: any;
|
|
7
|
+
readinessToLearning: any;
|
|
8
|
+
topLearningStrategies: any;
|
|
9
|
+
studentByGrade: undefined;
|
|
10
|
+
chartOneToOneData: undefined;
|
|
11
|
+
chartClassReflection: undefined;
|
|
12
|
+
chartConference: undefined;
|
|
13
|
+
learningProgress: undefined;
|
|
9
14
|
};
|
|
10
15
|
export default useDashboard;
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
};
|
|
17
|
+
export default useSwitchAssistant;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface IOptions {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type USER_CHOICE = {
|
|
6
|
+
id: string;
|
|
7
|
+
studentName: string;
|
|
8
|
+
emailStudent: string;
|
|
9
|
+
assistantId: string;
|
|
10
|
+
emailAssistant: string;
|
|
11
|
+
assistantName: string;
|
|
12
|
+
};
|
|
13
|
+
export interface ISwitchAssistantModal {
|
|
14
|
+
header: string;
|
|
15
|
+
removeData: (teacherUserId: string, studentId: number | string) => Promise<void>;
|
|
16
|
+
resetData: () => void;
|
|
17
|
+
userChoiced: IStudentAssistantItem;
|
|
18
|
+
options: IOptions[];
|
|
19
|
+
assistantChangeId: string;
|
|
20
|
+
setAssistantChangeId: (value: any) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface IStudentAssistantItem {
|
|
23
|
+
id: number;
|
|
24
|
+
emailStudent: string;
|
|
25
|
+
studentName: string;
|
|
26
|
+
assistantId?: string;
|
|
27
|
+
emailAssistant?: string;
|
|
28
|
+
assistantName?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare type TypeStudentAssistantData = {
|
|
31
|
+
currentPage: number;
|
|
32
|
+
pageSize: number;
|
|
33
|
+
totalItems: number;
|
|
34
|
+
totalPages: number;
|
|
35
|
+
items: IStudentAssistantItem[];
|
|
36
|
+
};
|
|
@@ -6,3 +6,8 @@ export declare const getHighImpactLearningStrategyReport: () => Promise<import("
|
|
|
6
6
|
export declare const getTimeInSessionReport: () => Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
export declare const getPerceivedImpactReport: () => Promise<import("axios").AxiosResponse<any>>;
|
|
8
8
|
export declare const getGradeReport: () => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const getAllTotalTime: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const getReadinessToLearning: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const getTopLearningStrategies: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
12
|
+
export declare const getStudentByGrade: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
13
|
+
export declare const getOverviewQuestionChart: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TypeStudentAssistantData } from "../containers/SwitchAssistant/utils/type.interface";
|
|
2
|
+
import { IStudentWidthAssistant } from "../utils/serviceType.interface";
|
|
3
|
+
export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentAssistantData>>;
|
|
4
|
+
export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/index.css
CHANGED
|
@@ -134,3 +134,109 @@ h6._3zOGW {
|
|
|
134
134
|
._3Thdy {
|
|
135
135
|
max-width: 200px;
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
._1WLBo {
|
|
139
|
+
font-size: 20px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
._10Pgm {
|
|
143
|
+
/* background: #E5E5E5; */
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
._3jPb_ {
|
|
147
|
+
font-size: 30px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
._1c43y {
|
|
151
|
+
color: #fc4747;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
._F1afY {
|
|
155
|
+
color: #0dc16a;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
._1kqUQ {
|
|
159
|
+
background: #f6f6f6;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
._10hbz {
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
font-size: 14px;
|
|
165
|
+
line-height: 16px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
._2rmw_ {
|
|
169
|
+
font-weight: 700;
|
|
170
|
+
font-size: 32px;
|
|
171
|
+
line-height: 100%;
|
|
172
|
+
margin: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
._1tdQu {
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
font-size: 12px;
|
|
178
|
+
line-height: 14px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
._2BvFN {
|
|
182
|
+
font-weight: 400;
|
|
183
|
+
font-size: 10px;
|
|
184
|
+
line-height: 12px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
._10hbz,
|
|
188
|
+
._2rmw_,
|
|
189
|
+
._1tdQu,
|
|
190
|
+
._2BvFN {
|
|
191
|
+
font-family: "Roboto", sans-serif;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
._2TBTW {
|
|
195
|
+
margin: 10px 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
._3XXJp {
|
|
199
|
+
width: 35px;
|
|
200
|
+
color: #0D9994;
|
|
201
|
+
text-align: center;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
._LCuWQ {
|
|
205
|
+
background: #CEF7F5;
|
|
206
|
+
color: #0D9994;
|
|
207
|
+
border-radius: 8px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
._3x9D7 {
|
|
211
|
+
color: #1DA370;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
._2In63 {
|
|
215
|
+
border: none;
|
|
216
|
+
background: #fff;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
._1Vhg_ {
|
|
220
|
+
display: flex;
|
|
221
|
+
justify-content: space-between;
|
|
222
|
+
width: 100%;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
._6yLxd {
|
|
226
|
+
border: 1px solid;
|
|
227
|
+
padding: 7px 8px;
|
|
228
|
+
border-radius: 5px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
._6yLxd:first-child {
|
|
232
|
+
margin-right: 15px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
._h74SO {
|
|
236
|
+
display: flex;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
._3e2pi {
|
|
240
|
+
min-width: 250px;
|
|
241
|
+
max-width: 50%;
|
|
242
|
+
}
|