mario-core 2.10.6-beta → 2.10.6-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.
- package/dist/components/Alerts/SandboxAlert.d.ts +3 -0
- package/dist/components/Buttons/DeleteButtonIcon.d.ts +1 -0
- package/dist/components/Buttons/SyncButton.d.ts +8 -0
- package/dist/components/Inputs/PasswordInput.d.ts +1 -0
- package/dist/components/Labels/RequiredLabel.d.ts +1 -0
- package/dist/components/Modals/ModelSelectRole.d.ts +7 -0
- package/dist/components/Modals/NotificationLogoutModal.d.ts +3 -0
- package/dist/components/Selectors/constants/constant.d.ts +1 -1
- package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +1 -0
- package/dist/containers/Login/constant/authConfig.d.ts +38 -0
- package/dist/containers/Login/constant/types.d.ts +34 -0
- package/dist/containers/Login/hooks/useCreatePassword.d.ts +13 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +3 -1
- package/dist/containers/Login/hooks/useLogin.d.ts +11 -4
- package/dist/containers/Login/views/Dashboard.d.ts +2 -1
- package/dist/containers/Login/views/Login.d.ts +1 -0
- package/dist/containers/Login/views/block/BlockAssignTeacherByCode.d.ts +8 -0
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +3 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +5 -1
- package/dist/containers/Login/views/block/BlockLogin.d.ts +14 -0
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +0 -1
- package/dist/containers/User/components/AssignStudentModal.d.ts +20 -0
- package/dist/containers/User/components/DeleteBulkModel copy.d.ts +4 -0
- package/dist/containers/User/components/DeleteBulkModel.d.ts +4 -0
- package/dist/containers/User/components/FilterPopover.d.ts +21 -0
- package/dist/containers/User/components/HeaderCell.d.ts +19 -0
- package/dist/containers/User/components/RemoveAssistant.d.ts +4 -0
- package/dist/containers/User/components/RemoveCounselor.d.ts +4 -0
- package/dist/containers/User/components/RemoveSupportTeacher.d.ts +4 -0
- package/dist/containers/User/components/RemoveTeacher.d.ts +4 -0
- package/dist/containers/User/components/SwitchDataTeacherModel.d.ts +12 -0
- package/dist/containers/User/components/SwitchTeacherModal.d.ts +3 -0
- package/dist/containers/User/components/TableHeader.d.ts +15 -0
- package/dist/containers/User/components/TeacherSelector.d.ts +3 -0
- package/dist/containers/User/components/UploadCSVButton.d.ts +11 -0
- package/dist/containers/User/components/UserDeletedModal.d.ts +3 -0
- package/dist/containers/User/configs/userSchema.d.ts +0 -2
- package/dist/containers/User/configs/utils.d.ts +8 -0
- package/dist/containers/User/constants/constants.d.ts +62 -0
- package/dist/containers/User/constants/types.d.ts +257 -0
- package/dist/containers/User/hooks/useAssignStudent.d.ts +45 -0
- package/dist/containers/User/hooks/useAssignStudentList.d.ts +36 -0
- package/dist/containers/User/hooks/useAssistantList.d.ts +10 -0
- package/dist/containers/User/hooks/useCSVImport.d.ts +38 -0
- package/dist/containers/User/hooks/useCSVImportTab.d.ts +44 -0
- package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
- package/dist/containers/User/hooks/useCounselorList.d.ts +10 -0
- package/dist/containers/User/hooks/useExportUsersCsv.d.ts +5 -0
- package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
- package/dist/containers/User/hooks/useResendMail.d.ts +5 -0
- package/dist/containers/User/hooks/useRosterUserSelector.d.ts +8 -0
- package/dist/containers/User/hooks/useSecondaryTeacherList.d.ts +10 -0
- package/dist/containers/User/hooks/useTableHeader.d.ts +20 -0
- package/dist/containers/User/hooks/useTeacherList.d.ts +10 -0
- package/dist/containers/User/hooks/useUserDeletedList.d.ts +37 -0
- package/dist/containers/User/hooks/useUserDeletedModal.d.ts +14 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +18 -0
- package/dist/containers/User/hooks/useUserList.d.ts +9 -3
- package/dist/containers/User/hooks/userFilters.d.ts +8 -0
- package/dist/containers/User/views/AssignStudentList.d.ts +3 -0
- package/dist/containers/User/views/CSVImport.d.ts +3 -0
- package/dist/containers/User/views/RosterUserSelector.d.ts +8 -0
- package/dist/containers/User/views/UserContainer.d.ts +3 -0
- package/dist/containers/User/views/UserDeletedList.d.ts +3 -0
- package/dist/hooks/useLanguages.d.ts +10 -0
- package/dist/index.css +468 -77
- package/dist/index.d.ts +12 -6
- package/dist/index.js +48526 -4476
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +48520 -4483
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheHeader.d.ts +4 -1
- package/dist/layouts/TheHeaderDropdown.d.ts +4 -1
- package/dist/redux/commons/action.d.ts +4 -0
- package/dist/redux/weeklyQuests/action.d.ts +2 -0
- package/dist/redux/weeklyQuests/reducer.d.ts +6 -0
- package/dist/rootReducer.d.ts +5 -0
- package/dist/services/accountService.d.ts +11 -2
- package/dist/services/csvImportService.d.ts +7 -0
- package/dist/services/csvService.d.ts +7 -0
- package/dist/services/emailTemplateService.d.ts +1 -0
- package/dist/services/schoolService.d.ts +2 -0
- package/dist/services/userService.d.ts +28 -1
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/Filter.d.ts +6 -0
- package/dist/types/Language.d.ts +8 -0
- package/dist/types/Payload.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/dist/types/user.d.ts +3 -0
- package/dist/utils/constants.d.ts +10 -1
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/dist/utils/getStaticFileUrl.d.ts +2 -0
- package/package.json +9 -4
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";
|
|
@@ -48,11 +51,11 @@ import useGalleryList from "./containers/Gallery/hooks/useGalleryList";
|
|
|
48
51
|
import QuitPrompt from "./components/Others/QuitPrompt";
|
|
49
52
|
import AcademicClassSelector from "./components/Selectors/AcademicClassSelector";
|
|
50
53
|
import SchoolList from "./containers/DistrictSchools/views/SchoolList";
|
|
51
|
-
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";
|
|
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,8 @@ 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";
|
|
68
|
+
import getCookieValue from "./utils/getCookieValue";
|
|
64
69
|
import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
|
|
65
70
|
import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar, showFontSize, initAmplitude } from "./redux/commons/action";
|
|
66
71
|
import { setClassList } from "./redux/classes/action";
|
|
@@ -104,8 +109,9 @@ import { setDataPlayer, answerQuestionDataPlayer } from "./redux/dataPlayer/acti
|
|
|
104
109
|
import { setFilterWidget } from "./redux/widget/action";
|
|
105
110
|
import { setBandScoreList } from "./redux/bandScores/action";
|
|
106
111
|
import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
|
|
107
|
-
import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage } from "./redux/commons/action";
|
|
112
|
+
import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setSandboxMode, setEnableMarioAi } from "./redux/commons/action";
|
|
108
113
|
import useFilters from "./hooks/useFilters";
|
|
109
|
-
import amplitude from "amplitude-
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
import * as amplitude from "@amplitude/analytics-browser";
|
|
115
|
+
import { setWeeklyQuestList, setOpenModelCongratulation } from "./redux/weeklyQuests/action";
|
|
116
|
+
declare const amplitudeClient: typeof amplitude;
|
|
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, setEnableMarioAi, 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 };
|