mario-core 2.6.7 → 2.7.1
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/User/hooks/useUserDetail.d.ts +1 -1
- package/dist/containers/User/hooks/useUserList.d.ts +1 -0
- package/dist/index.css +1 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +54 -19
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +54 -20
- package/dist/index.modern.js.map +1 -1
- package/dist/redux/commons/action.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ declare type UserDetail = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const useUserDetail: (id?: string | undefined) => {
|
|
13
13
|
userDetail: UserDetail;
|
|
14
|
-
backToList: () => void;
|
|
14
|
+
backToList: (user?: string | undefined) => void;
|
|
15
15
|
confirmData: (data: any) => Promise<void>;
|
|
16
16
|
file: any;
|
|
17
17
|
setFile: import("react").Dispatch<any>;
|
package/dist/index.css
CHANGED
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
width: 70%; }
|
|
213
213
|
|
|
214
214
|
._wWIyO {
|
|
215
|
-
padding:
|
|
215
|
+
padding: 60px 50px;
|
|
216
216
|
position: relative; }
|
|
217
217
|
._wWIyO label:not(._11FZt) {
|
|
218
218
|
color: #8f9bb3;
|
|
@@ -490,10 +490,6 @@
|
|
|
490
490
|
._1INnO {
|
|
491
491
|
display: none; } }
|
|
492
492
|
|
|
493
|
-
@media (min-width: 992px) {
|
|
494
|
-
._2e7fZ {
|
|
495
|
-
width: 80%; } }
|
|
496
|
-
|
|
497
493
|
@media (min-width: 992px) and (max-width: 1199px) {
|
|
498
494
|
._2LIqK {
|
|
499
495
|
display: none; } }
|
package/dist/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ import getFileUrl from "./utils/getFileUrl";
|
|
|
57
57
|
import getTextFromHTML from "./utils/getTextFromHTML";
|
|
58
58
|
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
59
59
|
import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
|
|
60
|
-
import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode } from "./redux/commons/action";
|
|
60
|
+
import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar } from "./redux/commons/action";
|
|
61
61
|
import { setClassList } from "./redux/classes/action";
|
|
62
62
|
import { setConferenceRubricList } from "./redux/conferenceRubrics/action";
|
|
63
63
|
import { setSuggestionList } from "./redux/suggestionBanks/action";
|
|
@@ -100,4 +100,4 @@ import { setFilterWidget } from "./redux/widget/action";
|
|
|
100
100
|
import { setBandScoreList } from "./redux/bandScores/action";
|
|
101
101
|
import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
|
|
102
102
|
import useFilters from "./hooks/useFilters";
|
|
103
|
-
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, 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, 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, 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 };
|
|
103
|
+
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, 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, 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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ function _catch(body, recover) {
|
|
|
46
46
|
return result;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","
|
|
49
|
+
var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
|
|
50
50
|
|
|
51
51
|
var style = {
|
|
52
52
|
fontSize: "0.85rem"
|
|
@@ -229,6 +229,7 @@ var setUser = toolkit.createAction("common/setUser");
|
|
|
229
229
|
var setSidebar = toolkit.createAction("common/setSidebar");
|
|
230
230
|
var setAlert = toolkit.createAction("common/setAlert");
|
|
231
231
|
var reset = toolkit.createAction("common/reset");
|
|
232
|
+
var showMenuBar = toolkit.createAction("common/showMenuBar");
|
|
232
233
|
var setCurrentStudentId = toolkit.createAction("common/setCurrentStudentId");
|
|
233
234
|
var setCurrentStudentUserId = toolkit.createAction("common/setCurrentStudentUserId");
|
|
234
235
|
var setCurrentStudentName = toolkit.createAction("common/setCurrentStudentName");
|
|
@@ -536,16 +537,20 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
536
537
|
className: "" + styles["btn-login"],
|
|
537
538
|
type: "submit"
|
|
538
539
|
}, "LOGIN")), React__default.createElement("div", {
|
|
539
|
-
className: "d-flex justify-content-
|
|
540
|
+
className: "d-flex justify-content-between"
|
|
540
541
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
541
542
|
to: "/forgot-password",
|
|
542
543
|
className: "" + styles["link-to-login"]
|
|
543
|
-
}, "Forgot password
|
|
544
|
+
}, "Forgot password?"), React__default.createElement("a", {
|
|
545
|
+
href: "https://marioframework.com/privacy-policy/",
|
|
546
|
+
target: "blank",
|
|
547
|
+
className: "" + styles["link-to-login"]
|
|
548
|
+
}, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
|
|
544
549
|
lg: 4,
|
|
545
550
|
md: 4,
|
|
546
551
|
className: "" + styles["img-box"]
|
|
547
552
|
}, React__default.createElement("img", {
|
|
548
|
-
src: "/images/img-login.
|
|
553
|
+
src: "/images/img-login.jpg",
|
|
549
554
|
className: "" + styles["img-login"]
|
|
550
555
|
})));
|
|
551
556
|
});
|
|
@@ -773,16 +778,20 @@ var BlockForgetPassword = function BlockForgetPassword() {
|
|
|
773
778
|
return handleSubmit();
|
|
774
779
|
}
|
|
775
780
|
}, "Continue")), React__default.createElement("p", {
|
|
776
|
-
className: "d-flex justify-content-
|
|
781
|
+
className: "d-flex justify-content-between"
|
|
777
782
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
778
783
|
to: "/login",
|
|
779
784
|
className: "" + styles["link-to-login"]
|
|
780
|
-
}, "Return to login")
|
|
785
|
+
}, "Return to login"), React__default.createElement("a", {
|
|
786
|
+
href: "https://marioframework.com/privacy-policy/",
|
|
787
|
+
target: "blank",
|
|
788
|
+
className: "" + styles["link-to-login"]
|
|
789
|
+
}, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
|
|
781
790
|
lg: 4,
|
|
782
791
|
md: 4,
|
|
783
792
|
className: "" + styles["img-box"]
|
|
784
793
|
}, React__default.createElement("img", {
|
|
785
|
-
src: "/images/img-login.
|
|
794
|
+
src: "/images/img-login.jpg",
|
|
786
795
|
className: "" + styles["img-login"]
|
|
787
796
|
})));
|
|
788
797
|
});
|
|
@@ -879,16 +888,20 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
879
888
|
return handleSubmit();
|
|
880
889
|
}
|
|
881
890
|
}, "Confirm")), React__default.createElement("p", {
|
|
882
|
-
className: "d-flex justify-content-
|
|
891
|
+
className: "d-flex justify-content-between"
|
|
883
892
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
884
893
|
to: "/login",
|
|
885
894
|
className: "" + styles["link-to-login"]
|
|
886
|
-
}, "Return to login")
|
|
895
|
+
}, "Return to login"), React__default.createElement("a", {
|
|
896
|
+
href: "https://marioframework.com/privacy-policy/",
|
|
897
|
+
target: "blank",
|
|
898
|
+
className: "" + styles["link-to-login"]
|
|
899
|
+
}, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
|
|
887
900
|
lg: 4,
|
|
888
901
|
md: 4,
|
|
889
902
|
className: "" + styles["img-box"]
|
|
890
903
|
}, React__default.createElement("img", {
|
|
891
|
-
src: "/images/img-login.
|
|
904
|
+
src: "/images/img-login.jpg",
|
|
892
905
|
className: "" + styles["img-login"]
|
|
893
906
|
})));
|
|
894
907
|
});
|
|
@@ -1116,16 +1129,20 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
|
|
|
1116
1129
|
return handleSubmit();
|
|
1117
1130
|
}
|
|
1118
1131
|
}, "Confirm")), React__default.createElement("p", {
|
|
1119
|
-
className: "d-flex justify-content-
|
|
1132
|
+
className: "d-flex justify-content-between"
|
|
1120
1133
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
1121
1134
|
to: "/login",
|
|
1122
1135
|
className: "" + styles["link-to-login"]
|
|
1123
|
-
}, "Return to login")
|
|
1136
|
+
}, "Return to login"), React__default.createElement("a", {
|
|
1137
|
+
href: "https://marioframework.com/privacy-policy/",
|
|
1138
|
+
target: "blank",
|
|
1139
|
+
className: "" + styles["link-to-login"]
|
|
1140
|
+
}, "Privacy Policy"))))), React__default.createElement(reactstrap.Col, {
|
|
1124
1141
|
lg: 4,
|
|
1125
1142
|
md: 4,
|
|
1126
1143
|
className: "" + styles["img-box"]
|
|
1127
1144
|
}, React__default.createElement("img", {
|
|
1128
|
-
src: "/images/img-login.
|
|
1145
|
+
src: "/images/img-login.jpg",
|
|
1129
1146
|
className: "" + styles["img-login"]
|
|
1130
1147
|
})));
|
|
1131
1148
|
});
|
|
@@ -4063,6 +4080,8 @@ var TITLE$8 = "User list";
|
|
|
4063
4080
|
|
|
4064
4081
|
var useUserList = function useUserList() {
|
|
4065
4082
|
var history = reactRouterDom.useHistory();
|
|
4083
|
+
var query = new URLSearchParams(location.search);
|
|
4084
|
+
var fullName = query.get("query");
|
|
4066
4085
|
var userList = reactRedux.useSelector(function (state) {
|
|
4067
4086
|
return state.users.userList;
|
|
4068
4087
|
});
|
|
@@ -4113,6 +4132,11 @@ var useUserList = function useUserList() {
|
|
|
4113
4132
|
React.useEffect(function () {
|
|
4114
4133
|
getData();
|
|
4115
4134
|
}, [filters]);
|
|
4135
|
+
React.useEffect(function () {
|
|
4136
|
+
changeFilters({
|
|
4137
|
+
searchString: fullName
|
|
4138
|
+
});
|
|
4139
|
+
}, [fullName]);
|
|
4116
4140
|
var removeData = React.useCallback(function (id) {
|
|
4117
4141
|
dispatch(setLoading(true));
|
|
4118
4142
|
|
|
@@ -4158,6 +4182,7 @@ var useUserList = function useUserList() {
|
|
|
4158
4182
|
userList: userList,
|
|
4159
4183
|
totalItems: totalItems,
|
|
4160
4184
|
filters: filters,
|
|
4185
|
+
fullName: fullName,
|
|
4161
4186
|
getData: getData,
|
|
4162
4187
|
removeData: removeData,
|
|
4163
4188
|
changeFilters: changeFilters,
|
|
@@ -4234,6 +4259,7 @@ var header$2 = "User";
|
|
|
4234
4259
|
|
|
4235
4260
|
var UserList = function UserList() {
|
|
4236
4261
|
var _useUserList = useUserList(),
|
|
4262
|
+
fullName = _useUserList.fullName,
|
|
4237
4263
|
userList = _useUserList.userList,
|
|
4238
4264
|
totalItems = _useUserList.totalItems,
|
|
4239
4265
|
filters = _useUserList.filters,
|
|
@@ -4254,7 +4280,7 @@ var UserList = function UserList() {
|
|
|
4254
4280
|
onClick: function onClick() {
|
|
4255
4281
|
return reDirectDetailPage();
|
|
4256
4282
|
},
|
|
4257
|
-
initValue:
|
|
4283
|
+
initValue: !!fullName ? fullName : '',
|
|
4258
4284
|
onSearch: function onSearch(searchString) {
|
|
4259
4285
|
return changeFilters({
|
|
4260
4286
|
searchString: searchString
|
|
@@ -4493,8 +4519,8 @@ var useUserDetail = function useUserDetail(id) {
|
|
|
4493
4519
|
return Promise.reject(e);
|
|
4494
4520
|
}
|
|
4495
4521
|
}, [id]);
|
|
4496
|
-
var backToList = React.useCallback(function () {
|
|
4497
|
-
history.push(USER_LIST_URL);
|
|
4522
|
+
var backToList = React.useCallback(function (user) {
|
|
4523
|
+
!!user ? history.push(USER_LIST_URL + ("?query=" + user)) : history.push(USER_LIST_URL);
|
|
4498
4524
|
}, []);
|
|
4499
4525
|
var confirmData = React.useCallback(function (data) {
|
|
4500
4526
|
try {
|
|
@@ -4508,12 +4534,17 @@ var useUserDetail = function useUserDetail(id) {
|
|
|
4508
4534
|
function _temp6() {
|
|
4509
4535
|
var next = !!id ? update$3 : create$3;
|
|
4510
4536
|
!id && delete data.id;
|
|
4511
|
-
return Promise.resolve(next(data)).then(function () {
|
|
4537
|
+
return Promise.resolve(next(data)).then(function (result) {
|
|
4538
|
+
if (!!result) {
|
|
4539
|
+
getById$3(result.data.id).then(function (e) {
|
|
4540
|
+
backToList(e.data.fullName);
|
|
4541
|
+
});
|
|
4542
|
+
}
|
|
4543
|
+
|
|
4512
4544
|
dispatch(setAlert({
|
|
4513
4545
|
type: "success",
|
|
4514
4546
|
message: (!!id ? "Update" : "Create") + " user successfully"
|
|
4515
4547
|
}));
|
|
4516
|
-
backToList();
|
|
4517
4548
|
});
|
|
4518
4549
|
}
|
|
4519
4550
|
|
|
@@ -6603,7 +6634,8 @@ var initialState = {
|
|
|
6603
6634
|
currentStudentId: parseInt((_localStorage$getItem = localStorage.getItem("currentStudentId")) != null ? _localStorage$getItem : "0"),
|
|
6604
6635
|
currentStudentUserId: localStorage.getItem("currentStudentUserId") || "",
|
|
6605
6636
|
currentStudentName: localStorage.getItem("currentStudentName") || "",
|
|
6606
|
-
turnOffPassWhenChangeMode: false
|
|
6637
|
+
turnOffPassWhenChangeMode: false,
|
|
6638
|
+
menuBar: true
|
|
6607
6639
|
};
|
|
6608
6640
|
var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
6609
6641
|
builder.addCase(setLoading, function (state, action) {
|
|
@@ -6629,6 +6661,8 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
|
6629
6661
|
state.currentStudentName = action.payload;
|
|
6630
6662
|
}).addCase(setTurnOffPassWhenChangeMode, function (state, action) {
|
|
6631
6663
|
state.turnOffPassWhenChangeMode = action.payload;
|
|
6664
|
+
}).addCase(showMenuBar, function (state, action) {
|
|
6665
|
+
state.menuBar = action.payload;
|
|
6632
6666
|
});
|
|
6633
6667
|
});
|
|
6634
6668
|
|
|
@@ -7667,6 +7701,7 @@ exports.setTurnOffPassWhenChangeMode = setTurnOffPassWhenChangeMode;
|
|
|
7667
7701
|
exports.setTutorialScreenList = setTutorialScreenList;
|
|
7668
7702
|
exports.setUser = setUser;
|
|
7669
7703
|
exports.setUserList = setUserList;
|
|
7704
|
+
exports.showMenuBar = showMenuBar;
|
|
7670
7705
|
exports.store = store;
|
|
7671
7706
|
exports.systemCertificateUpload = systemCertificateUpload;
|
|
7672
7707
|
exports.systemStudentBadge = systemStudentBadge;
|