mario-core 2.9.108-beta → 2.9.110-release

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 (52) hide show
  1. package/dist/components/Alerts/SandboxAlert.d.ts +3 -0
  2. package/dist/components/Buttons/SyncButton.d.ts +8 -0
  3. package/dist/components/Inputs/PasswordInput.d.ts +1 -0
  4. package/dist/components/Modals/ModelSelectRole.d.ts +7 -0
  5. package/dist/components/Modals/NotificationLogoutModal.d.ts +3 -0
  6. package/dist/containers/Login/constant/types.d.ts +7 -0
  7. package/dist/containers/Login/hooks/useCreatePassword.d.ts +13 -0
  8. package/dist/containers/Login/hooks/useForgotPassword.d.ts +2 -0
  9. package/dist/containers/Login/views/Login.d.ts +1 -0
  10. package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
  11. package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +3 -0
  12. package/dist/containers/User/components/FilterPopover.d.ts +21 -0
  13. package/dist/containers/User/components/HeaderCell.d.ts +17 -0
  14. package/dist/containers/User/components/TableHeader.d.ts +10 -0
  15. package/dist/containers/User/components/TeacherSelector.d.ts +3 -0
  16. package/dist/containers/User/constants/constants.d.ts +20 -0
  17. package/dist/containers/User/constants/types.d.ts +157 -0
  18. package/dist/containers/User/hooks/useAssignStudent.d.ts +5 -0
  19. package/dist/containers/User/hooks/useAssignStudentList.d.ts +14 -0
  20. package/dist/containers/User/hooks/useAssistantList.d.ts +10 -0
  21. package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
  22. package/dist/containers/User/hooks/useCounselorList.d.ts +10 -0
  23. package/dist/containers/User/hooks/useExportUsersCsv.d.ts +5 -0
  24. package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
  25. package/dist/containers/User/hooks/useRosterUserSelector.d.ts +8 -0
  26. package/dist/containers/User/hooks/useSecondaryTeacherList.d.ts +10 -0
  27. package/dist/containers/User/hooks/useTableHeader.d.ts +15 -0
  28. package/dist/containers/User/hooks/useTeacherList.d.ts +10 -0
  29. package/dist/containers/User/hooks/useUserDetail.d.ts +4 -0
  30. package/dist/containers/User/hooks/useUserList.d.ts +5 -2
  31. package/dist/containers/User/hooks/userFilters.d.ts +8 -0
  32. package/dist/containers/User/views/AssignStudentList.d.ts +3 -0
  33. package/dist/containers/User/views/RosterUserSelector.d.ts +8 -0
  34. package/dist/containers/User/views/UserContainer.d.ts +3 -0
  35. package/dist/index.css +114 -25
  36. package/dist/index.d.ts +7 -3
  37. package/dist/index.js +27374 -5537
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.modern.js +27370 -5543
  40. package/dist/index.modern.js.map +1 -1
  41. package/dist/layouts/TheHeader.d.ts +4 -1
  42. package/dist/layouts/TheHeaderDropdown.d.ts +4 -1
  43. package/dist/redux/commons/action.d.ts +1 -0
  44. package/dist/services/accountService.d.ts +3 -0
  45. package/dist/services/schoolService.d.ts +1 -0
  46. package/dist/services/userService.d.ts +16 -1
  47. package/dist/types/Filter.d.ts +6 -0
  48. package/dist/types/Language.d.ts +8 -0
  49. package/dist/types/user.d.ts +3 -0
  50. package/dist/utils/constants.d.ts +9 -1
  51. package/dist/utils/getStaticFileUrl.d.ts +2 -0
  52. package/package.json +101 -100
package/dist/index.css CHANGED
@@ -244,6 +244,8 @@
244
244
  padding: 4px; }
245
245
  ._wWIyO ._39BJD {
246
246
  margin-bottom: 30px; }
247
+ ._wWIyO ._39BJD ._ozRAq:disabled {
248
+ background: #E5E5E5; }
247
249
  ._wWIyO input[type="checkbox"]._2K9b2 {
248
250
  margin-left: 0; }
249
251
  ._wWIyO ._11FZt {
@@ -256,6 +258,11 @@
256
258
  ._wWIyO ._3IL10:hover {
257
259
  background-color: #2196f3;
258
260
  color: #ffffff; }
261
+ ._wWIyO ._2VvIr {
262
+ border-radius: 50px; }
263
+ ._wWIyO ._2A0HF {
264
+ background: #316CD9;
265
+ color: #FFFFFF; }
259
266
  ._wWIyO ._3LXoI {
260
267
  position: absolute;
261
268
  margin-left: auto;
@@ -291,33 +298,40 @@
291
298
  margin-left: -30px;
292
299
  margin-right: -30px; }
293
300
 
294
- ._jOY7o {
295
- background-size: cover;
296
- opacity: 0;
297
- -webkit-animation: _wnn2_ 20s step-start infinite 0s;
298
- animation: _wnn2_ 20s step-start infinite 0s; }
299
-
300
- @-webkit-keyframes _wnn2_ {
301
+ ._30npl {
302
+ width: 100%;
303
+ height: 100%;
304
+ z-index: 1; }
305
+ ._30npl img {
306
+ width: 100%;
307
+ height: 100%;
308
+ -o-object-fit: cover;
309
+ object-fit: cover;
310
+ -o-object-position: center;
311
+ object-position: center;
312
+ position: absolute;
313
+ z-index: 1;
314
+ top: 0;
315
+ left: 0; }
316
+ ._30npl img._3oAH- {
317
+ z-index: 3; }
318
+ ._30npl img._3oAH-._16rY4 {
319
+ -webkit-animation: _26nbh 1s ease-in-out forwards;
320
+ animation: _26nbh 1s ease-in-out forwards; }
321
+ ._30npl img._3A7Vv {
322
+ z-index: 2; }
323
+
324
+ @-webkit-keyframes _26nbh {
301
325
  0% {
302
- opacity: 0;
303
- background-image: url("/images/landing-page.jpg"); }
304
- 50% {
305
- opacity: 1;
306
- background-image: url("/images/landing-page2.jpg"); }
326
+ opacity: 0; }
307
327
  100% {
308
- opacity: 2;
309
- background-image: url("/images/landing-page3.jpg"); } }
328
+ opacity: 1; } }
310
329
 
311
- @keyframes _wnn2_ {
330
+ @keyframes _26nbh {
312
331
  0% {
313
- opacity: 0;
314
- background-image: url("/images/landing-page.jpg"); }
315
- 50% {
316
- opacity: 1;
317
- background-image: url("/images/landing-page2.jpg"); }
332
+ opacity: 0; }
318
333
  100% {
319
- opacity: 2;
320
- background-image: url("/images/landing-page3.jpg"); } }
334
+ opacity: 1; } }
321
335
 
322
336
  ._F-hjL {
323
337
  background-color: #336dda;
@@ -331,11 +345,13 @@
331
345
  background-color: #336dda;
332
346
  overflow: hidden; } }
333
347
  ._F-hjL ._149oA {
348
+ position: relative;
349
+ z-index: 2;
334
350
  background: rgba(0, 0, 0, 0.57);
335
351
  height: 100%;
336
352
  padding: 20px 100px; }
337
353
  ._F-hjL ._149oA ._24U3W > img {
338
- height: 40px; }
354
+ height: 60px; }
339
355
  ._F-hjL ._149oA ._3Wmco {
340
356
  padding-top: 70px; }
341
357
 
@@ -349,7 +365,8 @@
349
365
 
350
366
  ._2kOvJ {
351
367
  width: 50%;
352
- margin-bottom: 25px; }
368
+ margin-bottom: 25px;
369
+ margin-left: -30px; }
353
370
 
354
371
  ._39l0X {
355
372
  padding: 0; }
@@ -384,7 +401,7 @@
384
401
 
385
402
  ._1hXpy {
386
403
  max-width: 160px;
387
- max-height: 40px; }
404
+ max-height: 60px; }
388
405
 
389
406
  ._3vb3s li > a {
390
407
  color: #808080 !important; }
@@ -409,6 +426,14 @@
409
426
  font-size: 20px;
410
427
  color: #808080; }
411
428
 
429
+ ._3846X {
430
+ height: 36px;
431
+ width: 36px;
432
+ -o-object-fit: contain;
433
+ object-fit: contain;
434
+ -o-object-position: center;
435
+ object-position: center; }
436
+
412
437
  ._1wUDG {
413
438
  background: #262626;
414
439
  cursor: pointer; }
@@ -534,6 +559,44 @@
534
559
  background-color: #f1faff;
535
560
  color: #009ef7; }
536
561
 
562
+ ._1ocBa {
563
+ cursor: pointer;
564
+ font-weight: 500; }
565
+ ._18NhM, ._1ocBa:hover {
566
+ color: #316cd9; }
567
+ ._1ocBa svg {
568
+ width: 16px;
569
+ height: 16px; }
570
+
571
+ ._2bquW {
572
+ top: 50%;
573
+ transform: translateY(-50%);
574
+ left: 12px;
575
+ font-size: 14px; }
576
+
577
+ ._3A4G4 {
578
+ padding-left: 28px !important; }
579
+
580
+ ._1MsEW {
581
+ max-height: 200px;
582
+ overflow-y: auto;
583
+ border-radius: 8px; }
584
+ ._1MsEW input {
585
+ margin-bottom: 5px; }
586
+
587
+ ._2rTzM {
588
+ border-radius: 4px;
589
+ background: #ffff; }
590
+
591
+ ._18y0w {
592
+ padding: 6px 12px 6px 0px;
593
+ border-radius: 0 4px 4px 0;
594
+ color: #fff; }
595
+
596
+ ._3cZAT {
597
+ padding: 5px 8px 7px 6px;
598
+ border-radius: 4px 0 0 4px; }
599
+
537
600
  @media (max-width: 575px) {
538
601
  ._1INnO {
539
602
  display: none; }
@@ -623,6 +686,32 @@
623
686
  ._2Zz97 ._3-yp5 {
624
687
  z-index: -1; }
625
688
 
689
+ ._1KcY7 {
690
+ padding: 10px 75px;
691
+ border-top: 1px solid #DFE0DF;
692
+ cursor: pointer;
693
+ font-size: 20px;
694
+ text-align: center;
695
+ margin-bottom: 0;
696
+ transition: background-color 0.5s ease-out; }
697
+
698
+ ._1KcY7:hover {
699
+ background: #336DDA;
700
+ color: #ffff; }
701
+
702
+ ._dOVso {
703
+ background: #336DDA;
704
+ color: #ffff; }
705
+
706
+ ._3ZqxI > div {
707
+ border-radius: 7px; }
708
+
709
+ ._3ZqxI ._g-p72 {
710
+ font-weight: 500;
711
+ line-height: 1.6;
712
+ font-size: 20px;
713
+ padding: 10px 20px; }
714
+
626
715
  ._297lu {
627
716
  width: 100%;
628
717
  height: 100%; }
package/dist/index.d.ts CHANGED
@@ -10,18 +10,21 @@ import EmailTemplateDetail from "./containers/EmailTemplate/views/EmailTemplateD
10
10
  import FaqList from "./containers/Faq/views/FaqList";
11
11
  import SkillList from "./containers/Skill/views/SkillList";
12
12
  import UserList from "./containers/User/views/UserList";
13
+ import UserContainer from "./containers/User/views/UserContainer";
13
14
  import UserDetail from "./containers/User/views/UserDetail";
14
15
  import Loading from "./components/Loading/Loading";
15
16
  import ScrollToTop from "./components/Scroll/ScrollToTop";
16
17
  import NotificationModal from "./components/Modals/NotificationModal";
17
18
  import CommonHeader from "./components/Headers/CommonHeader";
18
19
  import CommonModal from "./components/Modals/CommonModal";
20
+ import NotificationLogoutModal from "./components/Modals/NotificationLogoutModal";
19
21
  import AddButton from "./components/Buttons/AddButton";
20
22
  import DeleteButtonIcon from "./components/Buttons/DeleteButtonIcon";
21
23
  import EditButtonIcon from "./components/Buttons/EditButtonIcon";
22
24
  import CustomPagination from "./components/Pagination/CustomPagination";
23
25
  import LinkEditButton from "./components/Buttons/LinkEditButton";
24
26
  import EmptyDataAlert from "./components/Alerts/EmptyDataAlert";
27
+ import SandboxAlert from "./components/Alerts/SandboxAlert";
25
28
  import CreatableSelector from "./components/Selectors/CreatableSelector";
26
29
  import SearchBox from "./components/Inputs/SearchBox";
27
30
  import QuestionTypeSelector from "./components/Selectors/QuestionTypeSelector";
@@ -52,7 +55,7 @@ import { INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost } from "
52
55
  import store from "./store";
53
56
  import { api, apiUpload } from "./services/api";
54
57
  import editorConfig from "./configs/editorConfig";
55
- import { BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, GOOGLE_RECAPTCHA_KEY, EMOTIONS, QUESTION_TYPES_OPTIONS, TAB_COLORS, NOTIFICATION_ALERT_KEY } from "./utils/constants";
58
+ import { BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, GOOGLE_RECAPTCHA_KEY, EMOTIONS, QUESTION_TYPES_OPTIONS, TAB_COLORS, NOTIFICATION_ALERT_KEY, SANDBOX_NOTIFICATION, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE } from "./utils/constants";
56
59
  import firstCheckToken from "./utils/firstCheckToken";
57
60
  import canAccessRoute from "./utils/canAccessRoute";
58
61
  import { getInfo } from "./services/accountService";
@@ -61,6 +64,7 @@ import debounce from "./utils/debounce";
61
64
  import getFileUrl from "./utils/getFileUrl";
62
65
  import getTextFromHTML from "./utils/getTextFromHTML";
63
66
  import utcToLocalTime from "./utils/utcToLocalTime";
67
+ import getStaticFileUrl from "./utils/getStaticFileUrl";
64
68
  import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
65
69
  import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar, showFontSize, initAmplitude } from "./redux/commons/action";
66
70
  import { setClassList } from "./redux/classes/action";
@@ -104,8 +108,8 @@ import { setDataPlayer, answerQuestionDataPlayer } from "./redux/dataPlayer/acti
104
108
  import { setFilterWidget } from "./redux/widget/action";
105
109
  import { setBandScoreList } from "./redux/bandScores/action";
106
110
  import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
107
- import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage } from "./redux/commons/action";
111
+ import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setSandboxMode } from "./redux/commons/action";
108
112
  import useFilters from "./hooks/useFilters";
109
113
  import amplitude from "amplitude-js";
110
114
  declare const amplitudeClient: amplitude.AmplitudeClient;
111
- export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, 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, 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, EMOTIONS, TAB_COLORS, 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 };
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 };