mario-core 2.9.205-plp → 2.9.206-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.
@@ -5,17 +5,3 @@ export interface ICreatePassword {
5
5
  userId: string;
6
6
  token: string;
7
7
  }
8
- export declare enum TypeLogin {
9
- Google = 0,
10
- ClassLink = 1,
11
- MicrosoftSSO = 2
12
- }
13
- export interface IInformationUser {
14
- firstName: string;
15
- lastName: string;
16
- fullName: string;
17
- imageUrl: string | null;
18
- email: string;
19
- accessToken: string;
20
- googleId: string;
21
- }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { TypeLogin } from "../constant/types";
3
2
  declare type LoginInfo = {
4
3
  email: string;
5
4
  password: string;
@@ -13,15 +12,16 @@ declare const useLogin: () => {
13
12
  toggle: () => void;
14
13
  isShowPassword: boolean;
15
14
  setIsShowPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
16
- fnIsCheckLogin: (type: TypeLogin, data: any, token: string, clickHandler?: any) => Promise<void>;
17
- isLoginGoogle: any;
15
+ fnIsCheckLogin: (data: any, token: string, clickHandler: any) => Promise<void>;
16
+ isLoginGoogle: boolean;
18
17
  infoUser: any;
18
+ setInfoUser: import("react").Dispatch<any>;
19
19
  submitLogin: (teacherId: number, clickHandler: any) => Promise<void>;
20
+ setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
20
21
  googleClientId: string;
21
22
  googleRecaptchaId: string;
22
23
  handleCancelModelAssign: () => void;
23
24
  openModelAssign: boolean;
24
25
  handleAssignTeacherByCode: (teacherCode: string, setIsError: Function) => Promise<void>;
25
- fnLoginSSO: (clickHandler?: any) => Promise<void>;
26
26
  };
27
27
  export default useLogin;
@@ -6,6 +6,7 @@ interface Props {
6
6
  onSubmit: any;
7
7
  token: string;
8
8
  email: string;
9
+ setOpenModal: any;
9
10
  }
10
11
  declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
11
12
  export default _default;
package/dist/index.css CHANGED
@@ -712,52 +712,6 @@
712
712
  font-size: 20px;
713
713
  padding: 10px 20px; }
714
714
 
715
- ._DrSlA {
716
- text-align: center;
717
- background: #e5e5e5;
718
- font-size: 15px;
719
- color: #ad9292;
720
- border-radius: 8px;
721
- cursor: pointer; }
722
- ._DrSlA img {
723
- width: 65px;
724
- height: auto; }
725
-
726
- ._3Vgah {
727
- padding-top: 108px;
728
- padding-right: 16px; }
729
- ._3Vgah > div {
730
- display: flex;
731
- align-items: center;
732
- justify-content: center;
733
- font-weight: 600;
734
- font-size: 16px;
735
- line-height: 24px;
736
- color: #242424;
737
- padding: 12px 20px;
738
- border: none;
739
- border-radius: 8px; }
740
- ._1jraB > div {
741
- background-color: #d9eee4; }
742
-
743
- @media (max-width: 599.95px) {
744
- ._3Vgah {
745
- padding-right: 8px;
746
- padding-top: 72px;
747
- max-width: 250px;
748
- width: -webkit-fit-content;
749
- width: -moz-fit-content;
750
- width: fit-content; }
751
- ._3Vgah > div {
752
- align-items: self-start;
753
- font-size: 14px;
754
- line-height: 20px; } }
755
-
756
- @media (min-width: 599.95px) and (max-width: 1279.95px) {
757
- ._3Vgah {
758
- padding-right: 8px;
759
- padding-top: 88px; } }
760
-
761
715
  ._297lu {
762
716
  width: 100%;
763
717
  height: 100%; }
package/dist/index.d.ts CHANGED
@@ -111,6 +111,5 @@ 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";
115
114
  declare const amplitudeClient: amplitude.AmplitudeClient;
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 };
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 };