mario-core 2.9.217-release → 2.9.217-sso
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/containers/Login/constant/types.d.ts +23 -0
- package/dist/containers/Login/hooks/useLogin.d.ts +7 -4
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +5 -1
- package/dist/containers/Login/views/block/BlockLogin.d.ts +9 -0
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +0 -1
- package/dist/containers/User/hooks/useAssignStudent.d.ts +3 -0
- package/dist/containers/User/hooks/useUserList.d.ts +1 -1
- package/dist/hooks/useLanguages.d.ts +10 -0
- package/dist/index.css +209 -65
- package/dist/index.d.ts +4 -2
- package/dist/index.js +9484 -1744
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9477 -1740
- package/dist/index.modern.js.map +1 -1
- package/dist/redux/commons/action.d.ts +2 -0
- package/dist/rootReducer.d.ts +5 -0
- package/dist/services/accountService.d.ts +1 -1
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/userService.d.ts +1 -0
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/package.json +5 -2
|
@@ -5,3 +5,26 @@ export interface ICreatePassword {
|
|
|
5
5
|
userId: string;
|
|
6
6
|
token: string;
|
|
7
7
|
}
|
|
8
|
+
export declare enum TypeLogin {
|
|
9
|
+
Google = 0,
|
|
10
|
+
ClassLink = 1,
|
|
11
|
+
MicrosoftSSO = 2
|
|
12
|
+
}
|
|
13
|
+
export interface IInformationUser {
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
fullName: string;
|
|
17
|
+
imageUrl: string | null;
|
|
18
|
+
email: string;
|
|
19
|
+
accessToken: string;
|
|
20
|
+
googleId: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum LoginType {
|
|
23
|
+
Default = 0,
|
|
24
|
+
Google = 1,
|
|
25
|
+
Impersonate = 2
|
|
26
|
+
}
|
|
27
|
+
export interface ISchool {
|
|
28
|
+
schoolName: string;
|
|
29
|
+
schoolLogo: string;
|
|
30
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { TypeLogin, ISchool } from "../constant/types";
|
|
2
3
|
declare type LoginInfo = {
|
|
3
4
|
email: string;
|
|
4
5
|
password: string;
|
|
5
6
|
captcha: string;
|
|
6
7
|
rememberMe: boolean;
|
|
8
|
+
isSessionUserBrowser?: boolean;
|
|
7
9
|
};
|
|
8
10
|
declare const useLogin: () => {
|
|
9
11
|
defaultInfo: LoginInfo;
|
|
@@ -12,15 +14,16 @@ declare const useLogin: () => {
|
|
|
12
14
|
toggle: () => void;
|
|
13
15
|
isShowPassword: boolean;
|
|
14
16
|
setIsShowPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
15
|
-
fnIsCheckLogin: (data: any, token: string, clickHandler
|
|
16
|
-
isLoginGoogle:
|
|
17
|
+
fnIsCheckLogin: (type: TypeLogin, data: any, token: string, clickHandler?: any) => Promise<void>;
|
|
18
|
+
isLoginGoogle: any;
|
|
17
19
|
infoUser: any;
|
|
18
|
-
setInfoUser: import("react").Dispatch<any>;
|
|
19
20
|
submitLogin: (teacherId: number, clickHandler: any) => Promise<void>;
|
|
20
|
-
setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
21
21
|
googleClientId: string;
|
|
22
22
|
googleRecaptchaId: string;
|
|
23
23
|
handleCancelModelAssign: () => void;
|
|
24
24
|
openModelAssign: boolean;
|
|
25
|
+
fnLoginSSO: (clickHandler?: any) => Promise<void>;
|
|
26
|
+
handleLoginWidthClever: () => void;
|
|
27
|
+
school: ISchool;
|
|
25
28
|
};
|
|
26
29
|
export default useLogin;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { ISchool } from "../../constant/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
school: ISchool;
|
|
5
|
+
}
|
|
6
|
+
declare const BlockForgetPassword: ({ school }: Props) => JSX.Element;
|
|
3
7
|
export default BlockForgetPassword;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { ISchool } from "../../constant/types";
|
|
2
3
|
interface Props {
|
|
3
4
|
defaultInfo?: any;
|
|
4
5
|
userLogin?: any;
|
|
5
6
|
onCancelModelAssign: Function;
|
|
6
7
|
openModelAssign: boolean;
|
|
8
|
+
school: ISchool;
|
|
9
|
+
isShowPassword: boolean;
|
|
10
|
+
setIsShowPassword: Function;
|
|
11
|
+
fnIsCheckLogin: Function;
|
|
12
|
+
isLoginGoogle: boolean;
|
|
13
|
+
submitLogin: Function;
|
|
14
|
+
infoUser: any;
|
|
15
|
+
googleClientId: string;
|
|
7
16
|
}
|
|
8
17
|
declare const BlockLogin: FC<Props>;
|
|
9
18
|
export default BlockLogin;
|
|
@@ -7,5 +7,8 @@ declare const useAssignStudent: (teacherSelected?: object | undefined, assistant
|
|
|
7
7
|
handleChangeStaffBulk: (name: string, id: string) => void;
|
|
8
8
|
staffBulkAssign: IStaffAssign;
|
|
9
9
|
handleAssignStaffToStudents: (listUserIds: string[]) => void;
|
|
10
|
+
handleToggleInactiveModal: (listUserIds?: string[] | undefined) => void;
|
|
11
|
+
openInactiveModal: boolean;
|
|
12
|
+
handleInactiveStudents: (listStudentIds: string[], callback: () => void) => Promise<void>;
|
|
10
13
|
};
|
|
11
14
|
export default useAssignStudent;
|
|
@@ -8,7 +8,7 @@ declare const useUserList: () => {
|
|
|
8
8
|
removeData: (id: string) => void;
|
|
9
9
|
changeFilters: (updatedFilters: any) => void;
|
|
10
10
|
reDirectDetailPage: (id?: number | undefined) => void;
|
|
11
|
-
|
|
11
|
+
switchUser: (id: string) => Promise<void>;
|
|
12
12
|
handleSyncRosterUsers: () => Promise<void>;
|
|
13
13
|
rosterUserInfo: (record: any) => string;
|
|
14
14
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useLanguages: () => {
|
|
3
|
+
languageList: any;
|
|
4
|
+
toggle: () => void;
|
|
5
|
+
dropdownOpen: boolean;
|
|
6
|
+
currentLang: string;
|
|
7
|
+
changeLanguageApp: (lang: string) => Promise<void>;
|
|
8
|
+
setCurrentLang: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
9
|
+
};
|
|
10
|
+
export default useLanguages;
|
package/dist/index.css
CHANGED
|
@@ -10,9 +10,34 @@
|
|
|
10
10
|
|
|
11
11
|
._2HqmH {
|
|
12
12
|
width: 100%;
|
|
13
|
-
justify-content: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
border-radius: 50px !important;
|
|
15
|
+
border: none !important;
|
|
16
|
+
box-shadow: none !important;
|
|
17
|
+
background-color: #EFF3FC !important; }
|
|
14
18
|
._2HqmH > span {
|
|
15
|
-
font-family: "Poppins-Regular" !important;
|
|
19
|
+
font-family: "Poppins-Regular" !important;
|
|
20
|
+
color: #316CD9 !important;
|
|
21
|
+
line-height: 27px !important;
|
|
22
|
+
font-size: 18px !important;
|
|
23
|
+
font-weight: 700 !important; }
|
|
24
|
+
@media (max-width: 768px) {
|
|
25
|
+
._2HqmH > span {
|
|
26
|
+
font-size: 14px !important;
|
|
27
|
+
line-height: 21px !important; } }
|
|
28
|
+
._2HqmH > div {
|
|
29
|
+
padding: 0 !important; }
|
|
30
|
+
._2HqmH > div > svg {
|
|
31
|
+
background: #EFF3FC !important;
|
|
32
|
+
transform: scale(1.5);
|
|
33
|
+
margin-right: 3px; }
|
|
34
|
+
|
|
35
|
+
._2HqmH:hover {
|
|
36
|
+
background-color: #316CD9 !important; }
|
|
37
|
+
._2HqmH:hover > span {
|
|
38
|
+
color: #ffffff !important; }
|
|
39
|
+
._2HqmH:hover > div > svg {
|
|
40
|
+
background: #316CD9 !important; }
|
|
16
41
|
|
|
17
42
|
._2sew7 {
|
|
18
43
|
top: -4px;
|
|
@@ -79,7 +104,7 @@
|
|
|
79
104
|
opacity: 0.8; }
|
|
80
105
|
|
|
81
106
|
._38Lo1 {
|
|
82
|
-
width:
|
|
107
|
+
max-width: 524px; }
|
|
83
108
|
|
|
84
109
|
._1OzGy {
|
|
85
110
|
width: 50%;
|
|
@@ -88,17 +113,21 @@
|
|
|
88
113
|
|
|
89
114
|
._wWIyO {
|
|
90
115
|
width: 100%;
|
|
91
|
-
height: 100%;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
116
|
+
height: 100%; }
|
|
117
|
+
|
|
118
|
+
._3EZva {
|
|
119
|
+
height: 46px; }
|
|
95
120
|
|
|
96
121
|
._3nuns {
|
|
97
|
-
font-size:
|
|
122
|
+
font-size: 48px;
|
|
98
123
|
font-weight: bold;
|
|
99
|
-
line-height:
|
|
100
|
-
margin-bottom:
|
|
124
|
+
line-height: 56px;
|
|
125
|
+
margin-bottom: 15px;
|
|
101
126
|
font-family: "Montserrat-Bold" !important; }
|
|
127
|
+
@media (max-width: 768px) {
|
|
128
|
+
._3nuns {
|
|
129
|
+
font-size: 32px;
|
|
130
|
+
line-height: 40px; } }
|
|
102
131
|
|
|
103
132
|
._21qb6 {
|
|
104
133
|
margin-bottom: 5px; }
|
|
@@ -127,6 +156,31 @@
|
|
|
127
156
|
outline: none;
|
|
128
157
|
width: 100%;
|
|
129
158
|
font-family: "Poppins-Regular" !important; }
|
|
159
|
+
@media (max-width: 768px) {
|
|
160
|
+
._3IL10 {
|
|
161
|
+
padding: 10px 27px; } }
|
|
162
|
+
|
|
163
|
+
._2OUwW {
|
|
164
|
+
height: 100%;
|
|
165
|
+
max-height: 56px; }
|
|
166
|
+
|
|
167
|
+
._2Owso {
|
|
168
|
+
font-size: 16px;
|
|
169
|
+
font-family: "Poppins-Regular" !important;
|
|
170
|
+
line-height: 24px; }
|
|
171
|
+
@media (max-width: 768px) {
|
|
172
|
+
._2Owso {
|
|
173
|
+
font-size: 14px; } }
|
|
174
|
+
|
|
175
|
+
._fx-kA {
|
|
176
|
+
font-size: 16px;
|
|
177
|
+
font-weight: 400;
|
|
178
|
+
line-height: 24px;
|
|
179
|
+
text-align: left;
|
|
180
|
+
opacity: 0.6; }
|
|
181
|
+
@media (max-width: 768px) {
|
|
182
|
+
._fx-kA {
|
|
183
|
+
font-size: 14px; } }
|
|
130
184
|
|
|
131
185
|
._141p1 {
|
|
132
186
|
bottom: 20px;
|
|
@@ -150,11 +204,30 @@
|
|
|
150
204
|
font-size: 16px;
|
|
151
205
|
display: inline-block;
|
|
152
206
|
font-weight: 500;
|
|
153
|
-
font-family: "Poppins-Regular" !important;
|
|
207
|
+
font-family: "Poppins-Regular" !important;
|
|
208
|
+
-webkit-text-decoration: revert;
|
|
209
|
+
text-decoration: revert; }
|
|
154
210
|
._3bDsd:hover {
|
|
155
|
-
color: #336dda;
|
|
156
|
-
|
|
157
|
-
|
|
211
|
+
color: #336dda; }
|
|
212
|
+
@media (max-width: 768px) {
|
|
213
|
+
._3bDsd {
|
|
214
|
+
font-size: 14px; } }
|
|
215
|
+
|
|
216
|
+
._I4SVu {
|
|
217
|
+
color: #336dda;
|
|
218
|
+
font-size: 16px;
|
|
219
|
+
display: inline-block;
|
|
220
|
+
font-weight: 500;
|
|
221
|
+
font-family: "Poppins-Regular" !important;
|
|
222
|
+
-webkit-text-decoration: revert;
|
|
223
|
+
text-decoration: revert;
|
|
224
|
+
bottom: 20px;
|
|
225
|
+
position: absolute; }
|
|
226
|
+
._I4SVu:hover {
|
|
227
|
+
color: #336dda; }
|
|
228
|
+
@media (max-width: 768px) {
|
|
229
|
+
._I4SVu {
|
|
230
|
+
font-size: 14px; } }
|
|
158
231
|
|
|
159
232
|
._11FZt {
|
|
160
233
|
font-weight: 500; }
|
|
@@ -228,49 +301,97 @@
|
|
|
228
301
|
._32V6L ._3OgWF {
|
|
229
302
|
width: 70%; }
|
|
230
303
|
|
|
231
|
-
._wWIyO {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
304
|
+
._wWIyO label:not(._11FZt) {
|
|
305
|
+
color: #8f9bb3;
|
|
306
|
+
text-transform: uppercase; }
|
|
307
|
+
|
|
308
|
+
._wWIyO input[type="text"],
|
|
309
|
+
._wWIyO input[type="password"] {
|
|
310
|
+
width: 100%;
|
|
311
|
+
border-radius: 8px;
|
|
312
|
+
border: 1px solid #D3D3D3;
|
|
313
|
+
height: 50px;
|
|
314
|
+
margin-bottom: 5px;
|
|
315
|
+
padding: 5px 15px; }
|
|
316
|
+
|
|
317
|
+
._wWIyO input[type="text"]::-moz-placeholder, ._wWIyO input[type="password"]::-moz-placeholder {
|
|
318
|
+
color: #D3D3D3;
|
|
319
|
+
font-size: 16px;
|
|
320
|
+
font-weight: 400; }
|
|
321
|
+
|
|
322
|
+
._wWIyO input[type="text"]:-ms-input-placeholder, ._wWIyO input[type="password"]:-ms-input-placeholder {
|
|
323
|
+
color: #D3D3D3;
|
|
324
|
+
font-size: 16px;
|
|
325
|
+
font-weight: 400; }
|
|
326
|
+
|
|
327
|
+
._wWIyO input[type="text"]::placeholder,
|
|
328
|
+
._wWIyO input[type="password"]::placeholder {
|
|
329
|
+
color: #D3D3D3;
|
|
330
|
+
font-size: 16px;
|
|
331
|
+
font-weight: 400; }
|
|
332
|
+
|
|
333
|
+
._wWIyO ._1AiX0 {
|
|
334
|
+
transform: scale(1.3);
|
|
335
|
+
margin-left: 2px; }
|
|
336
|
+
|
|
337
|
+
._wWIyO ._2uNvW {
|
|
338
|
+
font-size: 16px;
|
|
339
|
+
line-height: 27px; }
|
|
340
|
+
@media (max-width: 768px) {
|
|
341
|
+
._wWIyO ._2uNvW {
|
|
342
|
+
font-size: 14px; } }
|
|
343
|
+
|
|
344
|
+
._wWIyO ._pqn4y {
|
|
345
|
+
font-size: 18px;
|
|
346
|
+
opacity: 0.56; }
|
|
347
|
+
@media (max-width: 768px) {
|
|
348
|
+
._wWIyO ._pqn4y {
|
|
349
|
+
font-size: 14px; } }
|
|
350
|
+
|
|
351
|
+
._wWIyO ._39BJD {
|
|
352
|
+
margin-bottom: 30px; }
|
|
353
|
+
._wWIyO ._39BJD ._ozRAq:disabled {
|
|
354
|
+
background: #E5E5E5; }
|
|
355
|
+
|
|
356
|
+
._wWIyO input[type="checkbox"]._2K9b2 {
|
|
357
|
+
margin-left: 0; }
|
|
358
|
+
|
|
359
|
+
._wWIyO ._11FZt {
|
|
360
|
+
padding-left: 20px; }
|
|
361
|
+
|
|
362
|
+
._wWIyO ._3IL10 {
|
|
363
|
+
margin-top: 30px;
|
|
364
|
+
color: #ffffff;
|
|
365
|
+
font-weight: 500;
|
|
366
|
+
font-family: "Poppins-Regular" !important;
|
|
367
|
+
font-size: 18px;
|
|
368
|
+
font-weight: 700;
|
|
369
|
+
border-radius: 100px;
|
|
370
|
+
background-color: #316CD9;
|
|
371
|
+
line-height: 27px; }
|
|
372
|
+
._wWIyO ._3IL10:hover {
|
|
373
|
+
background-color: #2196f3;
|
|
374
|
+
color: #ffffff; }
|
|
375
|
+
@media (max-width: 768px) {
|
|
376
|
+
._wWIyO ._3IL10 {
|
|
377
|
+
font-size: 14px;
|
|
378
|
+
line-height: 21px; } }
|
|
379
|
+
|
|
380
|
+
._wWIyO ._2VvIr {
|
|
381
|
+
border-radius: 50px; }
|
|
382
|
+
|
|
383
|
+
._wWIyO ._2A0HF {
|
|
384
|
+
background: #316CD9;
|
|
385
|
+
color: #FFFFFF; }
|
|
386
|
+
|
|
387
|
+
._wWIyO ._3LXoI {
|
|
388
|
+
position: absolute;
|
|
389
|
+
margin-left: auto;
|
|
390
|
+
margin-right: auto;
|
|
391
|
+
left: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
bottom: 0;
|
|
394
|
+
text-align: center; }
|
|
274
395
|
|
|
275
396
|
._23Sua {
|
|
276
397
|
min-height: 40vh; }
|
|
@@ -334,7 +455,6 @@
|
|
|
334
455
|
opacity: 1; } }
|
|
335
456
|
|
|
336
457
|
._F-hjL {
|
|
337
|
-
background-color: #336dda;
|
|
338
458
|
background-repeat: no-repeat;
|
|
339
459
|
background-size: cover;
|
|
340
460
|
width: 100%;
|
|
@@ -342,7 +462,6 @@
|
|
|
342
462
|
background-position: center; }
|
|
343
463
|
@media (max-width: 768px) {
|
|
344
464
|
._F-hjL {
|
|
345
|
-
background-color: #336dda;
|
|
346
465
|
overflow: hidden; } }
|
|
347
466
|
._F-hjL ._149oA {
|
|
348
467
|
position: relative;
|
|
@@ -604,6 +723,9 @@
|
|
|
604
723
|
width: 358px; }
|
|
605
724
|
._wWIyO {
|
|
606
725
|
padding: 50px 20px !important; } }
|
|
726
|
+
@media (max-width: 575px) and (max-width: 768px) {
|
|
727
|
+
._wWIyO {
|
|
728
|
+
padding-top: 30px !important; } }
|
|
607
729
|
|
|
608
730
|
@media (max-width: 768px) {
|
|
609
731
|
._2v-L_ {
|
|
@@ -713,15 +835,37 @@
|
|
|
713
835
|
padding: 10px 20px; }
|
|
714
836
|
|
|
715
837
|
._DrSlA {
|
|
716
|
-
|
|
717
|
-
background: #e5e5e5;
|
|
838
|
+
background: #EFF3FC;
|
|
718
839
|
font-size: 15px;
|
|
719
840
|
color: #ad9292;
|
|
720
|
-
border-radius:
|
|
721
|
-
cursor: pointer;
|
|
841
|
+
border-radius: 50px;
|
|
842
|
+
cursor: pointer;
|
|
843
|
+
display: flex;
|
|
844
|
+
align-items: center;
|
|
845
|
+
justify-content: center;
|
|
846
|
+
padding: 10px 0; }
|
|
722
847
|
._DrSlA img {
|
|
723
|
-
|
|
724
|
-
|
|
848
|
+
height: 26px;
|
|
849
|
+
margin-right: 10px; }
|
|
850
|
+
._DrSlA p {
|
|
851
|
+
margin-bottom: 0;
|
|
852
|
+
font-size: 18px;
|
|
853
|
+
font-weight: 700;
|
|
854
|
+
line-height: 27px;
|
|
855
|
+
text-align: left;
|
|
856
|
+
color: #316CD9;
|
|
857
|
+
font-family: "Poppins-Regular"; }
|
|
858
|
+
@media (max-width: 768px) {
|
|
859
|
+
._DrSlA p {
|
|
860
|
+
font-size: 14px;
|
|
861
|
+
line-height: 21px; } }
|
|
862
|
+
|
|
863
|
+
._DrSlA:hover {
|
|
864
|
+
background: #316CD9; }
|
|
865
|
+
._DrSlA:hover p {
|
|
866
|
+
color: #ffffff; }
|
|
867
|
+
._DrSlA:hover ._20YJX {
|
|
868
|
+
width: 32px !important; }
|
|
725
869
|
|
|
726
870
|
._3Vgah {
|
|
727
871
|
padding-top: 108px;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ import useGalleryList from "./containers/Gallery/hooks/useGalleryList";
|
|
|
51
51
|
import QuitPrompt from "./components/Others/QuitPrompt";
|
|
52
52
|
import AcademicClassSelector from "./components/Selectors/AcademicClassSelector";
|
|
53
53
|
import SchoolList from "./containers/DistrictSchools/views/SchoolList";
|
|
54
|
-
import { INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost } from "./utils/constants";
|
|
54
|
+
import { INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost, IS_USER_SESSION_BROWSER } from "./utils/constants";
|
|
55
55
|
import store from "./store";
|
|
56
56
|
import { api, apiUpload } from "./services/api";
|
|
57
57
|
import editorConfig from "./configs/editorConfig";
|
|
@@ -65,6 +65,7 @@ import getFileUrl from "./utils/getFileUrl";
|
|
|
65
65
|
import getTextFromHTML from "./utils/getTextFromHTML";
|
|
66
66
|
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
67
67
|
import getStaticFileUrl from "./utils/getStaticFileUrl";
|
|
68
|
+
import getCookieValue from "./utils/getCookieValue";
|
|
68
69
|
import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
|
|
69
70
|
import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar, showFontSize, initAmplitude } from "./redux/commons/action";
|
|
70
71
|
import { setClassList } from "./redux/classes/action";
|
|
@@ -111,5 +112,6 @@ import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
|
|
|
111
112
|
import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setSandboxMode } from "./redux/commons/action";
|
|
112
113
|
import useFilters from "./hooks/useFilters";
|
|
113
114
|
import amplitude from "amplitude-js";
|
|
115
|
+
import { setWeeklyQuestList, setOpenModelCongratulation } from "./redux/weeklyQuests/action";
|
|
114
116
|
declare const amplitudeClient: amplitude.AmplitudeClient;
|
|
115
|
-
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, UserContainer, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, NotificationLogoutModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, SandboxAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, CategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, ReactNotification, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, MediaList, useGalleryList, AcademicClassSelector, SchoolList, store, showMenuBar, showFontSize, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setSemesterList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setReflectionResultList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, setCertificateList, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setSandboxMode, i18n, useTranslation, I18nextProvider, api, apiUpload, uploadFile, systemStudentBadge, systemCertificateUpload, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, NOTIFICATION_ALERT_KEY, GOOGLE_RECAPTCHA_KEY, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, EMOTIONS, TAB_COLORS, SANDBOX_NOTIFICATION, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, initAmplitude, amplitudeClient, INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost, getStaticFileUrl };
|
|
117
|
+
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, UserContainer, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, NotificationLogoutModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, SandboxAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, CategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, ReactNotification, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, MediaList, useGalleryList, AcademicClassSelector, SchoolList, store, showMenuBar, showFontSize, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setSemesterList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setReflectionResultList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, setCertificateList, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setWeeklyQuestList, setOpenModelCongratulation, setSandboxMode, i18n, useTranslation, I18nextProvider, api, apiUpload, uploadFile, systemStudentBadge, systemCertificateUpload, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, NOTIFICATION_ALERT_KEY, GOOGLE_RECAPTCHA_KEY, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, EMOTIONS, TAB_COLORS, SANDBOX_NOTIFICATION, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, initAmplitude, amplitudeClient, INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost, getStaticFileUrl, IS_USER_SESSION_BROWSER, getCookieValue };
|