mario-core 1.1.39-es-layout → 1.1.41-es-layout

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.
@@ -0,0 +1,21 @@
1
+ export declare enum TypeLogin {
2
+ Google = 0
3
+ }
4
+ export interface IInformationUser {
5
+ firstName: string;
6
+ lastName: string;
7
+ fullName: string;
8
+ imageUrl: string | null;
9
+ email: string;
10
+ accessToken: string;
11
+ googleId: string;
12
+ }
13
+ export declare enum LoginType {
14
+ Default = 0,
15
+ Google = 1,
16
+ Impersonate = 2
17
+ }
18
+ export interface ISchool {
19
+ schoolName: string;
20
+ schoolLogo: string;
21
+ }
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { ISchool } from "../constant/types";
2
3
  declare type LoginInfo = {
3
4
  email: string;
4
5
  password: string;
5
6
  captcha: string;
6
7
  rememberMe: boolean;
8
+ isSessionUserBrowser?: boolean;
7
9
  };
8
10
  declare const useLogin: () => {
9
11
  defaultInfo: LoginInfo;
@@ -20,5 +22,6 @@ declare const useLogin: () => {
20
22
  setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
21
23
  googleClientId: string;
22
24
  googleRecaptchaId: string;
25
+ school: ISchool;
23
26
  };
24
27
  export default useLogin;
@@ -1,3 +1,7 @@
1
1
  /// <reference types="react" />
2
- declare const BlockForgetPassword: () => JSX.Element;
2
+ import { ISchool } from "../../constant/types";
3
+ interface Props {
4
+ school: ISchool;
5
+ }
6
+ declare const BlockForgetPassword: ({ school }: Props) => JSX.Element;
3
7
  export default BlockForgetPassword;
@@ -1,7 +1,9 @@
1
1
  import { FC } from "react";
2
+ import { ISchool } from "../../constant/types";
2
3
  interface Props {
3
4
  defaultInfo?: any;
4
5
  userLogin?: any;
6
+ school: ISchool;
5
7
  }
6
8
  declare const BlockLogin: FC<Props>;
7
9
  export default BlockLogin;
package/dist/index.css CHANGED
@@ -10,7 +10,34 @@
10
10
 
11
11
  ._2HqmH {
12
12
  width: 100%;
13
- justify-content: center; }
13
+ justify-content: center;
14
+ border-radius: 50px !important;
15
+ border: none !important;
16
+ box-shadow: none !important;
17
+ background-color: #EFF3FC !important; }
18
+ ._2HqmH > span {
19
+ font-family: "Poppins-Regular" !important;
20
+ color: #316CD9 !important;
21
+ line-height: 27px !important;
22
+ font-size: 18px !important;
23
+ font-weight: 700 !important; }
24
+ @media (max-width: 768px) {
25
+ ._2HqmH > span {
26
+ font-size: 14px !important;
27
+ line-height: 21px !important; } }
28
+ ._2HqmH > div {
29
+ padding: 0 !important; }
30
+ ._2HqmH > div > svg {
31
+ background: #EFF3FC !important;
32
+ transform: scale(1.5);
33
+ margin-right: 3px; }
34
+
35
+ ._2HqmH:hover {
36
+ background-color: #316CD9 !important; }
37
+ ._2HqmH:hover > span {
38
+ color: #ffffff !important; }
39
+ ._2HqmH:hover > div > svg {
40
+ background: #316CD9 !important; }
14
41
 
15
42
  ._2sew7 {
16
43
  top: -4px;
@@ -96,7 +123,7 @@
96
123
  line-height: 1.5; }
97
124
 
98
125
  ._38Lo1 {
99
- width: 826px; }
126
+ max-width: 524px; }
100
127
 
101
128
  ._1OzGy {
102
129
  width: 50%;
@@ -105,16 +132,18 @@
105
132
 
106
133
  ._wWIyO {
107
134
  width: 100%;
108
- height: 100%;
109
- background-color: #ffffff;
110
- border-radius: 5px 0 0 5px;
111
- box-shadow: 0 3px 6px #00000029; }
135
+ height: 100%; }
112
136
 
113
137
  ._3nuns {
114
- font-size: 24px;
138
+ font-size: 48px;
115
139
  font-weight: bold;
116
- line-height: 28px;
117
- margin-bottom: 30px; }
140
+ line-height: 56px;
141
+ margin-bottom: 15px;
142
+ font-family: "Montserrat-Bold" !important; }
143
+ @media (max-width: 768px) {
144
+ ._3nuns {
145
+ font-size: 32px;
146
+ line-height: 40px; } }
118
147
 
119
148
  ._21qb6 {
120
149
  margin-bottom: 5px; }
@@ -141,7 +170,32 @@
141
170
  display: block;
142
171
  border: none;
143
172
  outline: none;
144
- width: 100%; }
173
+ width: 100%;
174
+ font-family: "Poppins-Regular" !important; }
175
+ @media (max-width: 768px) {
176
+ ._3IL10 {
177
+ padding: 10px 27px; } }
178
+
179
+ ._2OUwW {
180
+ height: 56px; }
181
+
182
+ ._2Owso {
183
+ font-size: 16px;
184
+ font-family: "Poppins-Regular" !important;
185
+ line-height: 24px; }
186
+ @media (max-width: 768px) {
187
+ ._2Owso {
188
+ font-size: 14px; } }
189
+
190
+ ._fx-kA {
191
+ font-size: 16px;
192
+ font-weight: 400;
193
+ line-height: 24px;
194
+ text-align: left;
195
+ opacity: 0.6; }
196
+ @media (max-width: 768px) {
197
+ ._fx-kA {
198
+ font-size: 14px; } }
145
199
 
146
200
  ._Ce3Kg {
147
201
  color: #2196f3;
@@ -156,14 +210,34 @@
156
210
  font-size: 16px !important; }
157
211
 
158
212
  ._3bDsd {
159
- color: #2196f3;
213
+ color: #336dda;
160
214
  font-size: 16px;
161
215
  display: inline-block;
162
- font-weight: 500; }
216
+ font-weight: 500;
217
+ font-family: "Poppins-Regular" !important;
218
+ -webkit-text-decoration: revert;
219
+ text-decoration: revert; }
163
220
  ._3bDsd:hover {
164
- color: #0a4da2;
165
- -webkit-text-decoration: revert;
166
- text-decoration: revert; }
221
+ color: #336dda; }
222
+ @media (max-width: 768px) {
223
+ ._3bDsd {
224
+ font-size: 14px; } }
225
+
226
+ ._I4SVu {
227
+ color: #336dda;
228
+ font-size: 16px;
229
+ display: inline-block;
230
+ font-weight: 500;
231
+ font-family: "Poppins-Regular" !important;
232
+ -webkit-text-decoration: revert;
233
+ text-decoration: revert;
234
+ bottom: 20px;
235
+ position: absolute; }
236
+ ._I4SVu:hover {
237
+ color: #336dda; }
238
+ @media (max-width: 768px) {
239
+ ._I4SVu {
240
+ font-size: 14px; } }
167
241
 
168
242
  ._11FZt {
169
243
  font-weight: 500; }
@@ -215,41 +289,97 @@
215
289
  ._32V6L ._3OgWF {
216
290
  width: 70%; }
217
291
 
218
- ._wWIyO {
219
- padding: 60px 50px;
220
- position: relative; }
221
- ._wWIyO label:not(._11FZt) {
222
- color: #8f9bb3;
223
- text-transform: uppercase; }
224
- ._wWIyO input[type="text"],
225
- ._wWIyO input[type="password"] {
226
- width: 100%;
227
- border-radius: 4px;
228
- background-color: #f7f9fc;
229
- height: 50px;
230
- margin-bottom: 5px;
231
- padding: 4px; }
232
- ._wWIyO ._39BJD {
233
- margin-bottom: 30px; }
234
- ._wWIyO input[type="checkbox"]._2K9b2 {
235
- margin-left: 0; }
236
- ._wWIyO ._11FZt {
237
- padding-left: 20px; }
238
- ._wWIyO ._3IL10 {
239
- margin: 30px 0;
240
- color: rgba(0, 0, 0, 0.36);
241
- font-weight: 500; }
242
- ._wWIyO ._3IL10:hover {
243
- background-color: #2196f3;
244
- color: #ffffff; }
245
- ._wWIyO ._3LXoI {
246
- position: absolute;
247
- margin-left: auto;
248
- margin-right: auto;
249
- left: 0;
250
- right: 0;
251
- bottom: 0;
252
- text-align: center; }
292
+ ._wWIyO label:not(._11FZt) {
293
+ color: #8f9bb3;
294
+ text-transform: uppercase; }
295
+
296
+ ._wWIyO input[type="text"],
297
+ ._wWIyO input[type="password"] {
298
+ width: 100%;
299
+ border-radius: 8px;
300
+ border: 1px solid #D3D3D3;
301
+ height: 50px;
302
+ margin-bottom: 5px;
303
+ padding: 5px 15px; }
304
+
305
+ ._wWIyO input[type="text"]::-moz-placeholder, ._wWIyO input[type="password"]::-moz-placeholder {
306
+ color: #D3D3D3;
307
+ font-size: 16px;
308
+ font-weight: 400; }
309
+
310
+ ._wWIyO input[type="text"]:-ms-input-placeholder, ._wWIyO input[type="password"]:-ms-input-placeholder {
311
+ color: #D3D3D3;
312
+ font-size: 16px;
313
+ font-weight: 400; }
314
+
315
+ ._wWIyO input[type="text"]::placeholder,
316
+ ._wWIyO input[type="password"]::placeholder {
317
+ color: #D3D3D3;
318
+ font-size: 16px;
319
+ font-weight: 400; }
320
+
321
+ ._wWIyO ._1AiX0 {
322
+ transform: scale(1.3);
323
+ margin-left: 2px; }
324
+
325
+ ._wWIyO ._2uNvW {
326
+ font-size: 16px;
327
+ line-height: 27px; }
328
+ @media (max-width: 768px) {
329
+ ._wWIyO ._2uNvW {
330
+ font-size: 14px; } }
331
+
332
+ ._wWIyO ._pqn4y {
333
+ font-size: 18px;
334
+ opacity: 0.56; }
335
+ @media (max-width: 768px) {
336
+ ._wWIyO ._pqn4y {
337
+ font-size: 14px; } }
338
+
339
+ ._wWIyO ._39BJD {
340
+ margin-bottom: 30px; }
341
+ ._wWIyO ._39BJD ._ozRAq:disabled {
342
+ background: #E5E5E5; }
343
+
344
+ ._wWIyO input[type="checkbox"]._2K9b2 {
345
+ margin-left: 0; }
346
+
347
+ ._wWIyO ._11FZt {
348
+ padding-left: 20px; }
349
+
350
+ ._wWIyO ._3IL10 {
351
+ margin-top: 30px;
352
+ color: #ffffff;
353
+ font-weight: 500;
354
+ font-family: "Poppins-Regular" !important;
355
+ font-size: 18px;
356
+ font-weight: 700;
357
+ border-radius: 100px;
358
+ background-color: #316CD9;
359
+ line-height: 27px; }
360
+ ._wWIyO ._3IL10:hover {
361
+ background-color: #2196f3;
362
+ color: #ffffff; }
363
+ @media (max-width: 768px) {
364
+ ._wWIyO ._3IL10 {
365
+ font-size: 14px;
366
+ line-height: 21px; } }
367
+
368
+ ._wWIyO ._2VvIr {
369
+ border-radius: 50px; }
370
+
371
+ ._wWIyO ._2A0HF {
372
+ background: #316CD9;
373
+ color: #FFFFFF; }
374
+
375
+ ._wWIyO ._3LXoI {
376
+ position: absolute;
377
+ margin-left: auto;
378
+ margin-right: auto;
379
+ left: 0;
380
+ right: 0;
381
+ bottom: 0;
382
+ text-align: center; }
253
383
 
254
384
  ._23Sua {
255
385
  min-height: 40vh; }
@@ -278,7 +408,6 @@
278
408
  background-image: url("/images/home.png") !important; }
279
409
 
280
410
  ._F-hjL {
281
- background-color: #0a4da2;
282
411
  background-repeat: no-repeat;
283
412
  background-size: cover;
284
413
  width: 100%;
@@ -286,16 +415,17 @@
286
415
  background-position: center; }
287
416
  @media (max-width: 768px) {
288
417
  ._F-hjL {
289
- background-color: #0a4da2;
290
418
  overflow: hidden; } }
291
- ._F-hjL ._1TT1q {
292
- padding-top: 40px;
293
- padding-right: 60px;
294
- justify-content: flex-end; }
295
- ._F-hjL ._3Wmco {
296
- padding-top: 60px;
297
- padding-right: 50px;
298
- padding-left: 50px; }
419
+ ._F-hjL ._149oA {
420
+ position: relative;
421
+ z-index: 2;
422
+ background: rgba(0, 0, 0, 0.57);
423
+ height: 100%;
424
+ padding: 20px 100px; }
425
+ ._F-hjL ._149oA ._24U3W > img {
426
+ height: 60px; }
427
+ ._F-hjL ._149oA ._3Wmco {
428
+ padding-top: 70px; }
299
429
 
300
430
  ._2v-L_ {
301
431
  padding: 0 !important; }
@@ -358,7 +488,8 @@
358
488
  ._DNrus li > a {
359
489
  max-width: 200px; }
360
490
 
361
- ._3NEZj, ._1wUDG {
491
+ ._3NEZj,
492
+ ._1wUDG {
362
493
  background: #262626 !important; }
363
494
 
364
495
  ._1S7Px {
@@ -518,6 +649,9 @@
518
649
  width: 358px; }
519
650
  ._wWIyO {
520
651
  padding: 50px 20px !important; } }
652
+ @media (max-width: 575px) and (max-width: 768px) {
653
+ ._wWIyO {
654
+ padding-top: 30px !important; } }
521
655
 
522
656
  ._1ocBa {
523
657
  cursor: pointer;
package/dist/index.d.ts CHANGED
@@ -47,7 +47,7 @@ import useGalleryList from "./containers/Gallery/hooks/useGalleryList";
47
47
  import QuitPrompt from "./components/Others/QuitPrompt";
48
48
  import AcademicClassSelector from "./components/Selectors/AcademicClassSelector";
49
49
  import SchoolList from "./containers/DistrictSchools/views/SchoolList";
50
- import { isLocalhost, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE } from "./utils/constants";
50
+ import { isLocalhost, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, IS_USER_SESSION_BROWSER } from "./utils/constants";
51
51
  import store from "./store";
52
52
  import { api, apiUpload } from "./services/api";
53
53
  import editorConfig from "./configs/editorConfig";
@@ -107,4 +107,4 @@ import { setEnableIEP, setEnableSurvey, setConversationOneToOne } from "./redux/
107
107
  import useFilters from "./hooks/useFilters";
108
108
  import getStaticFileUrl from "./utils/getStaticFileUrl";
109
109
  import { setLanguage } from "./redux/commons/action";
110
- 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, 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, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, isLocalhost, getStaticFileUrl, setLanguage, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE };
110
+ 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, 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, 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 };