mario-core 2.9.197-release → 2.9.199-plp
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/Selectors/constants/constant.d.ts +1 -1
- package/dist/containers/Login/hooks/useLogin.d.ts +3 -0
- package/dist/containers/Login/views/block/BlockAssignTeacherByCode.d.ts +8 -0
- package/dist/containers/Login/views/block/BlockLogin.d.ts +3 -0
- package/dist/containers/User/components/HeaderCell.d.ts +1 -0
- package/dist/containers/User/constants/types.d.ts +2 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8644 -377
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8643 -378
- package/dist/index.modern.js.map +1 -1
- 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 +3 -0
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/package.json +101 -101
|
@@ -20,5 +20,8 @@ declare const useLogin: () => {
|
|
|
20
20
|
setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
21
21
|
googleClientId: string;
|
|
22
22
|
googleRecaptchaId: string;
|
|
23
|
+
handleCancelModelAssign: () => void;
|
|
24
|
+
openModelAssign: boolean;
|
|
25
|
+
handleAssignTeacherByCode: (teacherCode: string, setIsError: Function) => Promise<void>;
|
|
23
26
|
};
|
|
24
27
|
export default useLogin;
|
|
@@ -12,6 +12,7 @@ interface Props {
|
|
|
12
12
|
onOpenFilter?: (id: string, searchBy?: SearchBy, searchStringBy?: string, sortBy?: UserOrder) => void;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
onChangeFilters?: (filter: UserFilter) => void;
|
|
15
|
+
isCenter?: boolean;
|
|
15
16
|
}
|
|
16
17
|
declare const HeaderCell: FC<Props>;
|
|
17
18
|
export default HeaderCell;
|
|
@@ -13,6 +13,7 @@ export declare type User = {
|
|
|
13
13
|
fullName: string;
|
|
14
14
|
sourcedId: string;
|
|
15
15
|
rosterUser: RosterUser;
|
|
16
|
+
grade: string;
|
|
16
17
|
};
|
|
17
18
|
export declare type RosterUser = {
|
|
18
19
|
sourcedId: string;
|
|
@@ -56,6 +57,7 @@ export declare type UserFilterField = {
|
|
|
56
57
|
isStudentFilter?: boolean;
|
|
57
58
|
};
|
|
58
59
|
export declare type UserColumn = {
|
|
60
|
+
isCenter?: boolean;
|
|
59
61
|
name: string;
|
|
60
62
|
sortBy?: UserOrder;
|
|
61
63
|
className?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { IOptions } from "../constants/types";
|
|
2
3
|
declare type UserDetail = {
|
|
3
4
|
id?: string;
|
|
4
5
|
firstName: string;
|
|
@@ -9,6 +10,7 @@ declare type UserDetail = {
|
|
|
9
10
|
isActive: boolean;
|
|
10
11
|
profileImageFileName: string;
|
|
11
12
|
sourcedId?: string;
|
|
13
|
+
teacherUserId?: string;
|
|
12
14
|
};
|
|
13
15
|
declare const useUserDetail: (id?: string | undefined) => {
|
|
14
16
|
userDetail: UserDetail;
|
|
@@ -24,5 +26,8 @@ declare const useUserDetail: (id?: string | undefined) => {
|
|
|
24
26
|
currentRoles: string[];
|
|
25
27
|
handleDisableRoles: (currentRoles: string) => boolean;
|
|
26
28
|
handleResetPassword: (userId: string) => Promise<void>;
|
|
29
|
+
teacherOptions: IOptions[];
|
|
30
|
+
openModel: boolean;
|
|
31
|
+
handleToggleModel: () => void;
|
|
27
32
|
};
|
|
28
33
|
export default useUserDetail;
|
package/dist/index.d.ts
CHANGED
|
@@ -111,5 +111,6 @@ import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
|
|
|
111
111
|
import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, setSandboxMode } from "./redux/commons/action";
|
|
112
112
|
import useFilters from "./hooks/useFilters";
|
|
113
113
|
import amplitude from "amplitude-js";
|
|
114
|
+
import { setWeeklyQuestList, setOpenModelCongratulation } from "./redux/weeklyQuests/action";
|
|
114
115
|
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 };
|
|
116
|
+
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 };
|