mario-core 1.2.0-es-prod → 1.2.0-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.
- package/dist/containers/Login/constant/types.d.ts +3 -0
- package/dist/containers/Login/views/Dashboard.d.ts +2 -1
- package/dist/containers/User/hooks/useUserDetail.d.ts +5 -0
- package/dist/index.css +9 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +360 -68
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +360 -69
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { IOptions } from "../configs/type";
|
|
2
3
|
declare type UserDetail = {
|
|
3
4
|
id?: string;
|
|
4
5
|
firstName: string;
|
|
@@ -8,6 +9,7 @@ declare type UserDetail = {
|
|
|
8
9
|
roles: string[];
|
|
9
10
|
isActive: boolean;
|
|
10
11
|
profileImageFileName: string;
|
|
12
|
+
teacherUserId?: string[];
|
|
11
13
|
};
|
|
12
14
|
declare const useUserDetail: (id?: string | undefined) => {
|
|
13
15
|
userDetail: UserDetail;
|
|
@@ -23,5 +25,8 @@ declare const useUserDetail: (id?: string | undefined) => {
|
|
|
23
25
|
forgotPasswordRequest: (data: any) => Promise<void>;
|
|
24
26
|
handleDisableRoles: (currentRoles: string) => boolean;
|
|
25
27
|
classFontSize: string;
|
|
28
|
+
teacherOptions: IOptions[];
|
|
29
|
+
handleToggleModel: () => void;
|
|
30
|
+
openModel: boolean;
|
|
26
31
|
};
|
|
27
32
|
export default useUserDetail;
|
package/dist/index.css
CHANGED
|
@@ -452,6 +452,15 @@
|
|
|
452
452
|
width: 100%;
|
|
453
453
|
height: 100vh;
|
|
454
454
|
background-position: center; }
|
|
455
|
+
._F-hjL ._OqRPX {
|
|
456
|
+
position: absolute;
|
|
457
|
+
z-index: 1000;
|
|
458
|
+
bottom: 0;
|
|
459
|
+
right: 0;
|
|
460
|
+
background: transparent;
|
|
461
|
+
padding: 0 7px;
|
|
462
|
+
letter-spacing: 2px;
|
|
463
|
+
color: #fff; }
|
|
455
464
|
@media (max-width: 768px) {
|
|
456
465
|
._F-hjL {
|
|
457
466
|
overflow: hidden; } }
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ import { isLocalhost, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE
|
|
|
52
52
|
import store from "./store";
|
|
53
53
|
import { api, apiUpload } from "./services/api";
|
|
54
54
|
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 } 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";
|
|
56
56
|
import firstCheckToken from "./utils/firstCheckToken";
|
|
57
57
|
import canAccessRoute from "./utils/canAccessRoute";
|
|
58
58
|
import { getInfo } from "./services/accountService";
|
|
@@ -109,4 +109,4 @@ import { setEnableIEP, setEnableSurvey, setConversationOneToOne } from "./redux/
|
|
|
109
109
|
import useFilters from "./hooks/useFilters";
|
|
110
110
|
import getStaticFileUrl from "./utils/getStaticFileUrl";
|
|
111
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 };
|
|
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 };
|