mario-core 1.2.7 → 1.2.8-es-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 (138) hide show
  1. package/dist/assets/Images.d.ts +1 -0
  2. package/dist/components/Buttons/AddButton.d.ts +1 -0
  3. package/dist/components/Buttons/DetailActionButtons.d.ts +1 -0
  4. package/dist/components/Buttons/LinkEditButton.d.ts +1 -0
  5. package/dist/components/Buttons/UploadFileButton.d.ts +1 -0
  6. package/dist/components/Inputs/PasswordInput.d.ts +8 -0
  7. package/dist/components/Labels/RequiredLabel.d.ts +1 -0
  8. package/dist/components/Modals/ModelSelectRole.d.ts +7 -0
  9. package/dist/components/Others/QuitPrompt.d.ts +2 -0
  10. package/dist/components/Scroll/ScrollToTop.d.ts +3 -0
  11. package/dist/components/Selectors/AcademicClassSelector.d.ts +3 -0
  12. package/dist/components/Selectors/CustomSelector.d.ts +1 -1
  13. package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -0
  14. package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +8 -0
  15. package/dist/containers/EmailTemplate/components/MailParam.d.ts +2 -0
  16. package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +14 -0
  17. package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +1 -2
  18. package/dist/containers/Faq/hooks/useFaqDetail.d.ts +5 -0
  19. package/dist/containers/Faq/hooks/useFaqList.d.ts +1 -2
  20. package/dist/containers/Gallery/components/Filter.d.ts +1 -0
  21. package/dist/containers/Gallery/components/Media.d.ts +1 -0
  22. package/dist/containers/Gallery/components/MediaList.d.ts +6 -9
  23. package/dist/containers/Gallery/components/MediaNav.d.ts +6 -1
  24. package/dist/containers/Gallery/constants/gallery.types.d.ts +1 -1
  25. package/dist/containers/Gallery/hooks/{galleryList.d.ts → useGalleryList.d.ts} +10 -3
  26. package/dist/containers/Gallery/views/GalleryList.d.ts +4 -1
  27. package/dist/containers/Login/constant/authConfig.d.ts +38 -0
  28. package/dist/containers/Login/constant/types.d.ts +27 -0
  29. package/dist/containers/Login/hooks/useForgotPassword.d.ts +10 -0
  30. package/dist/containers/Login/hooks/useLogin.d.ts +19 -0
  31. package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
  32. package/dist/containers/Login/views/Dashboard.d.ts +2 -1
  33. package/dist/containers/Login/views/Login.d.ts +1 -0
  34. package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
  35. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +5 -1
  36. package/dist/containers/Login/views/block/{blockLogin.d.ts → BlockLogin.d.ts} +2 -0
  37. package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +12 -0
  38. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +3 -0
  39. package/dist/containers/Login/views/block/IconContent.d.ts +2 -2
  40. package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -6
  41. package/dist/containers/Notifications/hooks/useNotificationList.d.ts +3 -0
  42. package/dist/containers/Skill/hooks/useSkillDetail.d.ts +5 -0
  43. package/dist/containers/Skill/hooks/useSkillList.d.ts +2 -2
  44. package/dist/containers/User/components/FilterPopover.d.ts +21 -0
  45. package/dist/containers/User/components/HeaderCell.d.ts +17 -0
  46. package/dist/containers/User/components/TableHeader.d.ts +10 -0
  47. package/dist/containers/User/components/TeacherSelector.d.ts +3 -0
  48. package/dist/containers/User/configs/changePasswordSchema.d.ts +10 -0
  49. package/dist/containers/User/configs/constants.d.ts +18 -0
  50. package/dist/containers/User/configs/type.d.ts +124 -0
  51. package/dist/containers/User/hooks/useAssignStudent.d.ts +5 -0
  52. package/dist/containers/User/hooks/useAssignStudentList.d.ts +15 -0
  53. package/dist/containers/User/hooks/useAssistantList.d.ts +10 -0
  54. package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
  55. package/dist/containers/User/hooks/useCounselorList.d.ts +10 -0
  56. package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
  57. package/dist/containers/User/hooks/useTableHeader.d.ts +15 -0
  58. package/dist/containers/User/hooks/useTeacherList.d.ts +10 -0
  59. package/dist/containers/User/hooks/useUserDetail.d.ts +14 -1
  60. package/dist/containers/User/hooks/useUserList.d.ts +5 -2
  61. package/dist/containers/User/hooks/userFilters.d.ts +8 -0
  62. package/dist/containers/User/views/AssignStudentList.d.ts +3 -0
  63. package/dist/containers/User/views/UserContainer.d.ts +3 -0
  64. package/dist/hooks/useClassFontSize.d.ts +4 -0
  65. package/dist/hooks/useFilters.d.ts +8 -0
  66. package/dist/hooks/useLanguages.d.ts +10 -0
  67. package/dist/i18n.d.ts +2 -0
  68. package/dist/index.css +722 -178
  69. package/dist/index.d.ts +33 -5
  70. package/dist/index.js +29865 -3047
  71. package/dist/index.js.map +1 -1
  72. package/dist/index.modern.js +29802 -3047
  73. package/dist/index.modern.js.map +1 -1
  74. package/dist/layouts/TheHeader.d.ts +4 -1
  75. package/dist/layouts/TheHeaderDropdown.d.ts +4 -1
  76. package/dist/layouts/TheLanguageDropdown.d.ts +3 -0
  77. package/dist/layouts/TheLayout.d.ts +1 -0
  78. package/dist/redux/bandScores/action.d.ts +1 -0
  79. package/dist/redux/certificate/action.d.ts +1 -0
  80. package/dist/redux/commons/action.d.ts +13 -0
  81. package/dist/redux/dashboard/action.d.ts +5 -0
  82. package/dist/redux/dashboard/reducer.d.ts +2 -0
  83. package/dist/redux/dataPlayer/action.d.ts +2 -0
  84. package/dist/redux/dataPlayer/reducer.d.ts +2 -0
  85. package/dist/redux/improveMyClass/action.d.ts +1 -0
  86. package/dist/redux/navMobile/action.d.ts +1 -0
  87. package/dist/redux/navMobile/reducer.d.ts +2 -0
  88. package/dist/redux/reflectionResults/action.d.ts +1 -0
  89. package/dist/redux/reflectionResults/reducer.d.ts +2 -0
  90. package/dist/redux/schoolBlankDays/action.d.ts +1 -0
  91. package/dist/redux/schoolBlankDays/reducer.d.ts +2 -0
  92. package/dist/redux/semester/action.d.ts +1 -0
  93. package/dist/redux/semester/reducer.d.ts +2 -0
  94. package/dist/redux/sessionPlayers/action.d.ts +5 -0
  95. package/dist/redux/sessionPlayers/reducer.d.ts +2 -0
  96. package/dist/redux/widget/action.d.ts +1 -0
  97. package/dist/redux/widget/reducer.d.ts +2 -0
  98. package/dist/rootReducer.d.ts +11 -0
  99. package/dist/services/accountService.d.ts +7 -0
  100. package/dist/services/classService.d.ts +1 -0
  101. package/dist/services/fileServices.d.ts +2 -0
  102. package/dist/services/languageService.d.ts +1 -0
  103. package/dist/services/notificationService.d.ts +1 -0
  104. package/dist/services/schoolService.d.ts +1 -0
  105. package/dist/services/userService.d.ts +12 -1
  106. package/dist/types/Dashboard.d.ts +5 -0
  107. package/dist/types/Language.d.ts +8 -0
  108. package/dist/types/Payload.d.ts +14 -0
  109. package/dist/utils/constants.d.ts +29 -4
  110. package/dist/utils/getCookieValue.d.ts +2 -0
  111. package/dist/utils/getStaticFileUrl.d.ts +2 -0
  112. package/package.json +15 -5
  113. package/README.md +0 -30
  114. package/dist/commons/action.d.ts +0 -2
  115. package/dist/components/Alerts/Alert.d.ts +0 -10
  116. package/dist/containers/Classes/components/ClassDetailModal.d.ts +0 -3
  117. package/dist/containers/Classes/views/ClassList.d.ts +0 -3
  118. package/dist/containers/EmailTemplateDetail.d.ts +0 -3
  119. package/dist/containers/EmailTemplateList.d.ts +0 -3
  120. package/dist/containers/Gallery/hooks/galleryDetail.d.ts +0 -13
  121. package/dist/containers/Login/views/block/blockForgetPass.d.ts +0 -7
  122. package/dist/containers/Login.d.ts +0 -3
  123. package/dist/containers/Notifications/components/NotificationList.d.ts +0 -11
  124. package/dist/containers/User.d.ts +0 -3
  125. package/dist/redux/assessmentStudent/action.d.ts +0 -1
  126. package/dist/redux/subjectCategories/action.d.ts +0 -1
  127. package/dist/types/ClassDetail.d.ts +0 -3
  128. package/dist/utils/alert.d.ts +0 -7
  129. package/dist/utils/index.d.ts +0 -1
  130. package/dist/views/TheContent.d.ts +0 -3
  131. package/dist/views/TheFooter.d.ts +0 -3
  132. package/dist/views/TheHeader.d.ts +0 -3
  133. package/dist/views/TheHeaderDropdown.d.ts +0 -3
  134. package/dist/views/TheLayout.d.ts +0 -3
  135. package/dist/views/TheSidebar.d.ts +0 -3
  136. /package/dist/{commons → redux/bandScores}/reducer.d.ts +0 -0
  137. /package/dist/redux/{assessmentStudent → certificate}/reducer.d.ts +0 -0
  138. /package/dist/redux/{subjectCategories → improveMyClass}/reducer.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import "bootstrap/dist/css/bootstrap.min.css";
2
+ import i18n from "./i18n";
3
+ import { useTranslation, I18nextProvider } from "react-i18next";
2
4
  import Login from "./containers/Login/views/Login";
3
5
  import Dashboard from "./containers/Login/views/Dashboard";
4
6
  import TheLayout from "./layouts/TheLayout";
@@ -7,9 +9,10 @@ import EmailTemplateList from "./containers/EmailTemplate/views/EmailTemplateLis
7
9
  import EmailTemplateDetail from "./containers/EmailTemplate/views/EmailTemplateDetail";
8
10
  import FaqList from "./containers/Faq/views/FaqList";
9
11
  import SkillList from "./containers/Skill/views/SkillList";
10
- import UserList from "./containers/User/views/UserList";
12
+ import UserContainer from "./containers/User/views/UserContainer";
11
13
  import UserDetail from "./containers/User/views/UserDetail";
12
14
  import Loading from "./components/Loading/Loading";
15
+ import ScrollToTop from "./components/Scroll/ScrollToTop";
13
16
  import NotificationModal from "./components/Modals/NotificationModal";
14
17
  import CommonHeader from "./components/Headers/CommonHeader";
15
18
  import CommonModal from "./components/Modals/CommonModal";
@@ -39,19 +42,28 @@ import SearchBoxContainer from "./components/Inputs/SearchBoxContainer";
39
42
  import CustomTab from "./components/Tabs/CustomTab";
40
43
  import CommonAlert from "./components/Alerts/CommonAlert";
41
44
  import GalleryList from "./containers/Gallery/views/GalleryList";
45
+ import MediaList from "./containers/Gallery/components/MediaList";
46
+ import useGalleryList from "./containers/Gallery/hooks/useGalleryList";
47
+ import QuitPrompt from "./components/Others/QuitPrompt";
48
+ import AcademicClassSelector from "./components/Selectors/AcademicClassSelector";
49
+ import SchoolList from "./containers/DistrictSchools/views/SchoolList";
50
+ import TheLanguageDropdown from "./layouts/TheLanguageDropdown";
51
+ import { isLocalhost, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, IS_USER_SESSION_BROWSER } from "./utils/constants";
42
52
  import store from "./store";
43
53
  import { api, apiUpload } from "./services/api";
44
54
  import editorConfig from "./configs/editorConfig";
45
- import { BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, ANSWER_EDITOR_HEIGHT, PUSHER_KEY, PUSHER_CLUSTER, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_FORMAT, ACCESS_TOKEN, EMOTIONS, QUESTION_TYPES_OPTIONS } from "./utils/constants";
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";
46
56
  import firstCheckToken from "./utils/firstCheckToken";
47
57
  import canAccessRoute from "./utils/canAccessRoute";
48
58
  import { getInfo } from "./services/accountService";
59
+ import { getLanguage } from "./services/languageService";
49
60
  import { isInViewport } from "./utils/domHelpers";
50
61
  import debounce from "./utils/debounce";
51
62
  import getFileUrl from "./utils/getFileUrl";
52
63
  import getTextFromHTML from "./utils/getTextFromHTML";
53
- import { uploadFile, systemStudentBadge } from "./services/fileServices";
54
- import { setLoading, setModal, setAlert, setUser } from "./redux/commons/action";
64
+ import utcToLocalTime from "./utils/utcToLocalTime";
65
+ import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
66
+ import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar, showFontSize, setUnreadNotification } from "./redux/commons/action";
55
67
  import { setClassList } from "./redux/classes/action";
56
68
  import { setConferenceRubricList } from "./redux/conferenceRubrics/action";
57
69
  import { setSuggestionList } from "./redux/suggestionBanks/action";
@@ -60,6 +72,7 @@ import { setSubjectList } from "./redux/subjects/action";
60
72
  import { setLearningSupportCategoryList } from "./redux/learningSupportCategories/action";
61
73
  import { setQuestionList } from "./redux/questionBanks/action";
62
74
  import { setBadgeList } from "./redux/badges/action";
75
+ import { setSemesterList } from "./redux/semester/action";
63
76
  import { setAssignmentList } from "./redux/assignment/action";
64
77
  import { setGoalExampleList } from "./redux/goalExamples/action";
65
78
  import { setUserList, setStudentList } from "./redux/users/action";
@@ -67,18 +80,33 @@ import { setFeedbackList } from "./redux/feedback/action";
67
80
  import { setAssessmentList } from "./redux/assessments/action";
68
81
  import { setMyStudent } from "./redux/teacher/myStudent/action";
69
82
  import { setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setEditItemQuesion, setResetQuestionList } from "./redux/questionByCategory/action";
83
+ import { setImproveMyClass } from "./redux/improveMyClass/action";
70
84
  import { setAssistantList } from "./redux/assistants/action";
71
85
  import { setMailCategory } from "./redux/mailCategories/action";
72
86
  import { setReflectionList } from "./redux/reflectionForms/action";
87
+ import { setReflectionResultList } from "./redux/reflectionResults/action";
73
88
  import { setSessionTemplateList } from "./redux/sessionTemplates/action";
74
89
  import { setSessionTemplateGeneralClassList } from "./redux/sessionTemplateGeneralClasses/action";
75
90
  import { setTutorialScreenList } from "./redux/tutorialScreen/action";
76
91
  import { setCustomAlertList } from "./redux/customAlert/action";
92
+ import { setCertificateList } from "./redux/certificate/action";
93
+ import { changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime } from "./redux/sessionPlayers/action";
94
+ import { closeTab, addTab, editTab, clearTab } from "./redux/dashboard/action";
95
+ import { setSchoolBlankDayList } from "./redux/schoolBlankDays/action";
77
96
  import { Filter } from "./types/Filter";
78
97
  import { Conversation } from "./types/Conversation";
79
98
  import { Message } from "./types/Message";
80
99
  import { ConversationMember } from "./types/ConversationMember";
100
+ import { NavbarTab } from "./types/Dashboard";
81
101
  import generateRandomString from "./utils/generateRandomString";
82
102
  import Images from "./assets/Images";
83
103
  import { setQuestionCateList } from "./redux/questionCategory/action";
84
- 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, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, ReactNotification, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, store, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, api, apiUpload, uploadFile, systemStudentBadge, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, PUSHER_KEY, PUSHER_CLUSTER, DATE_FORMAT, ACCESS_TOKEN, EMOTIONS, Filter, Conversation, Message, ConversationMember, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, getInfo, Images, setQuestionCateList, setMyStudent };
104
+ import { setDataPlayer, answerQuestionDataPlayer } from "./redux/dataPlayer/action";
105
+ import { setFilterWidget } from "./redux/widget/action";
106
+ import { setBandScoreList } from "./redux/bandScores/action";
107
+ import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
108
+ import { setEnableIEP, setEnableSurvey, setConversationOneToOne } from "./redux/commons/action";
109
+ import useFilters from "./hooks/useFilters";
110
+ import getStaticFileUrl from "./utils/getStaticFileUrl";
111
+ import { setLanguage } from "./redux/commons/action";
112
+ export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserContainer, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, 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, setUnreadNotification, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, 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, GOOGLE_RECAPTCHA_KEY, EMOTIONS, TAB_COLORS, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, getLanguage, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, isLocalhost, getStaticFileUrl, setLanguage, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, IS_USER_SESSION_BROWSER, TheLanguageDropdown, NOTIFICATION_ALERT_KEY };