touchstudy-core 0.1.126 → 0.1.127
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/ExamResult/components/ProtractedProblem/index.d.ts +2 -0
- package/dist/index.css +415 -415
- package/dist/index.js +67 -32
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +53 -19
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -267,6 +267,7 @@ function combineReducers(reducers) {
|
|
267
267
|
return hasChanged ? nextState : state;
|
268
268
|
};
|
269
269
|
}
|
270
|
+
//# sourceMappingURL=redux.mjs.map
|
270
271
|
|
271
272
|
var setLoading = toolkit.createAction("common/setLoading");
|
272
273
|
var setAlert = toolkit.createAction("common/setAlert");
|
@@ -5302,7 +5303,7 @@ var PrintExamView2 = function PrintExamView2(_ref) {
|
|
5302
5303
|
}, t("print_pdf"))));
|
5303
5304
|
};
|
5304
5305
|
|
5305
|
-
var styles = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","btn-login-google":"
|
5306
|
+
var styles = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","btn-login-google":"_styles-module__btn-login-google__2HqmH","math-jax":"_styles-module__math-jax__3Pfdk","block-login":"_styles-module__block-login__wWIyO","box-login":"_styles-module__box-login__38Lo1","btn-primary":"_styles-module__btn-primary__rd4Uy","dropdown-menu":"_styles-module__dropdown-menu__1krbH","header-avatar":"_styles-module__header-avatar__RQaHE","dropdown-menu-flag":"_styles-module__dropdown-menu-flag__XK8oS","dropdown-content":"_styles-module__dropdown-content__3ys4W","dropdown-change":"_styles-module__dropdown-change__ToOW_","item-address":"_styles-module__item-address__3sQlR","item-logout":"_styles-module__item-logout__3bqSM","title-address":"_styles-module__title-address__1jgSI","img-avatar":"_styles-module__img-avatar__35Ttz","item-contact":"_styles-module__item-contact__1wc7o","content-text":"_styles-module__content-text__3S4f2","dropdown-content-language":"_styles-module__dropdown-content-language__3ajui","dropdown-item-language":"_styles-module__dropdown-item-language__3Y_y4","dropdown-item-language-active":"_styles-module__dropdown-item-language-active__CzNMi","dropdown-academy":"_styles-module__dropdown-academy__3CMVp","image-academy":"_styles-module__image-academy__2ibYC","academy-btn":"_styles-module__academy-btn__1JMRU","switch-icon":"_styles-module__switch-icon__N4FNf","dropdown-content-academy":"_styles-module__dropdown-content-academy__31Dr0","dropdown-academy-item":"_styles-module__dropdown-academy-item__3bjcz","noGutters":"_styles-module__noGutters__31ZQk","custom-col-2":"_styles-module__custom-col-2__3yXyK","custom-col-3":"_styles-module__custom-col-3__1RsJQ","custom-col-5":"_styles-module__custom-col-5__L42CP","custom-col-10":"_styles-module__custom-col-10__2u6eL","custom-row":"_styles-module__custom-row__8x7OP","custom-col":"_styles-module__custom-col__1JmTh","custom-col-4":"_styles-module__custom-col-4__3HO1e","custom-col-8":"_styles-module__custom-col-8__Oy31M","custom-col-12":"_styles-module__custom-col-12__3aUKo","custom-container":"_styles-module__custom-container__39LRs","form-label":"_styles-module__form-label___Ut-u","form-control":"_styles-module__form-control__2k4dX","btn-outline-primary":"_styles-module__btn-outline-primary__2PWdX","sort-icons":"_styles-module__sort-icons__mQvLF","active":"_styles-module__active__3oAH-","form-select":"_styles-module__form-select__3W3aw","truncate":"_styles-module__truncate__3NJzN","headers":"_styles-module__headers__3xnI5","logo-container":"_styles-module__logo-container__3YG70","tabBox":"_styles-module__tabBox__1CQPn","routerBox":"_styles-module__routerBox__3hx2T","tabText":"_styles-module__tabText__3UyhW","router-link-active":"_styles-module__router-link-active__1TGKA","router-link":"_styles-module__router-link__1AqMh","userImg":"_styles-module__userImg__2RI6G","disabled-link":"_styles-module__disabled-link__3aVHg","line-clamp":"_styles-module__line-clamp__3fpky"};
|
5306
5307
|
|
5307
5308
|
var config = {
|
5308
5309
|
loader: {
|
@@ -7400,7 +7401,7 @@ var SearchInput = function SearchInput(_ref) {
|
|
7400
7401
|
}));
|
7401
7402
|
};
|
7402
7403
|
|
7403
|
-
var styles$1 = {"header__avatar":"
|
7404
|
+
var styles$1 = {"header__avatar":"_chatStyles-module__header__avatar__2oGcJ","header__select":"_chatStyles-module__header__select__2y2XV","body":"_chatStyles-module__body__ntGyI","list":"_chatStyles-module__list__m7Fwt","list__item__header":"_chatStyles-module__list__item__header__3BM8N","list__item__avatar":"_chatStyles-module__list__item__avatar__1ReOK","list__item__avatar-container":"_chatStyles-module__list__item__avatar-container__2qbld","list__item__message":"_chatStyles-module__list__item__message__3s01i","list__item__message--reply-from":"_chatStyles-module__list__item__message--reply-from__2Qxi3","list__item__message--reply-from-right":"_chatStyles-module__list__item__message--reply-from-right__34Vx4","list__item__message--reply":"_chatStyles-module__list__item__message--reply__3uheq","list__item__message--reply-right":"_chatStyles-module__list__item__message--reply-right__2iBr7","reply-text":"_chatStyles-module__reply-text__3ZPjO","container-custom":"_chatStyles-module__container-custom__38A9k","student-row-col-1":"_chatStyles-module__student-row-col-1__Jt5t0","student-row-col-1-active":"_chatStyles-module__student-row-col-1-active__14DKj","row-col-2":"_chatStyles-module__row-col-2__qHGiR","inputBox":"_chatStyles-module__inputBox__2iY67","inputBoxTable":"_chatStyles-module__inputBoxTable__3pCw0","background-chat":"_chatStyles-module__background-chat__zILbw","wrap-content":"_chatStyles-module__wrap-content__38gsM","name-sender":"_chatStyles-module__name-sender__Lfzyw","content-chat-sender":"_chatStyles-module__content-chat-sender__1X73E","content-chat-receiver":"_chatStyles-module__content-chat-receiver__32V7T","custom-scroll":"_chatStyles-module__custom-scroll__2Uul2","btn-send":"_chatStyles-module__btn-send__395lb","btn-chat":"_chatStyles-module__btn-chat__gDYwm","input-chat":"_chatStyles-module__input-chat__22TX5","btn-cancel":"_chatStyles-module__btn-cancel__1u-eg","btn-register":"_chatStyles-module__btn-register__22r6_","form-label-dialog":"_chatStyles-module__form-label-dialog__jADIA","form-select-width":"_chatStyles-module__form-select-width__WncPd","padding-content":"_chatStyles-module__padding-content__3hz3H","form-label":"_chatStyles-module__form-label__MMQxP","form-control":"_chatStyles-module__form-control__1mJfc"};
|
7404
7405
|
|
7405
7406
|
var iconPersonNoActive = function iconPersonNoActive(_ref) {
|
7406
7407
|
var _ref$width = _ref.width,
|
@@ -7772,7 +7773,7 @@ var apiUploadImageFile = function apiUploadImageFile(file) {
|
|
7772
7773
|
var FileSaver_min = createCommonjsModule(function (module, exports) {
|
7773
7774
|
(function(a,b){b();})(commonjsGlobal,function(){function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,(module.exports=g);});
|
7774
7775
|
|
7775
|
-
|
7776
|
+
//# sourceMappingURL=FileSaver.min.js.map
|
7776
7777
|
});
|
7777
7778
|
|
7778
7779
|
var useDialog = function useDialog() {
|
@@ -11799,7 +11800,7 @@ var DEFAULT_USER_FILTERS = {
|
|
11799
11800
|
sortColumnName: exports.UserSortColumn.CreatedAt
|
11800
11801
|
};
|
11801
11802
|
|
11802
|
-
var styles$2 = {"avatar":"
|
11803
|
+
var styles$2 = {"avatar":"_styles-module__avatar__2rJkZ","date-picker":"_styles-module__date-picker__1iqE2","time-picker":"_styles-module__time-picker__20xtc","teacher-selector-wrapper":"_styles-module__teacher-selector-wrapper__3L1Oj"};
|
11803
11804
|
|
11804
11805
|
var _excluded$8 = ["teachers", "value"];
|
11805
11806
|
var TeacherSelector = function TeacherSelector(_ref) {
|
@@ -15455,9 +15456,9 @@ Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="function"==t
|
|
15455
15456
|
|
15456
15457
|
var ReactApexChart = unwrapExports(reactApexcharts_min);
|
15457
15458
|
|
15458
|
-
var styles$3 = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","titleBox":"
|
15459
|
+
var styles$3 = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","titleBox":"_style-module__titleBox__1dveO","title":"_style-module__title__mxRxf","point":"_style-module__point__2fD-F","buttonGroup":"_style-module__buttonGroup__2DGl3","btnFeedback":"_style-module__btnFeedback__xGW1x","btnTerminate":"_style-module__btnTerminate__3mLu2","myanswer":"_style-module__myanswer__eDBpS","titleMyAnswer1":"_style-module__titleMyAnswer1__2fMq3","titleMyAnswer2":"_style-module__titleMyAnswer2__3gEYh","contentMyAnswer":"_style-module__contentMyAnswer__2K_sx","myAnswerItem":"_style-module__myAnswerItem__2qiLh","time":"_style-module__time__6TCOK","timeCol":"_style-module__timeCol__hmseC","answer-response":"_style-module__answer-response__3GfJt","answer-response-0":"_style-module__answer-response-0__3ut64","answer-response-1":"_style-module__answer-response-1__2VtpD","answer-response-2":"_style-module__answer-response-2__58lQU","answer-response-3":"_style-module__answer-response-3__1ucMY","answer-response-4":"_style-module__answer-response-4__1qkxy","overall-response-1":"_style-module__overall-response-1__1AeGu","overall-response-2":"_style-module__overall-response-2__1xTB0","overall-response-3":"_style-module__overall-response-3__3Yu_5","answerCorrect":"_style-module__answerCorrect__2jIeT","answerIncorrect":"_style-module__answerIncorrect__to2v0","answerNograss":"_style-module__answerNograss__1JSte","answerEasy":"_style-module__answerEasy__2_uTU","answerDiscrimination":"_style-module__answerDiscrimination__1DBoA","answerTrap":"_style-module__answerTrap__1q3tD","answerNoTime":"_style-module__answerNoTime__3iItu","questionOrder":"_style-module__questionOrder__1fNkS","myTimeLabel":"_style-module__myTimeLabel__1Z_F3","myPoolTime":"_style-module__myPoolTime__4KwG0","topTimeLabel":"_style-module__topTimeLabel__245H-","topTime":"_style-module__topTime__3tZqw","meanTimeLabel":"_style-module__meanTimeLabel__PlPLY","meanTime":"_style-module__meanTime__12a7R","compareChart":"_style-module__compareChart__3MW16","prevChart":"_style-module__prevChart__1fNkb","chart":"_style-module__chart__3K4oY","nextChart":"_style-module__nextChart__3YKBp","titleChart":"_style-module__titleChart__13BVP","titleCompareGrass":"_style-module__titleCompareGrass__o1txm","tableCompareGrass":"_style-module__tableCompareGrass__bT5nf","thcolumn1":"_style-module__thcolumn1__3Umg0","tdcolumn1":"_style-module__tdcolumn1__3dRMF","tdcolumn3":"_style-module__tdcolumn3__2tcBP","classification":"_style-module__classification__1AFeb","wrapperProblem":"_style-module__wrapperProblem__oTqG7","titleProblem":"_style-module__titleProblem__35eIx","titleProblemClose":"_style-module__titleProblemClose__3t4HO","titleTrickyProblem":"_style-module__titleTrickyProblem__1-oxK","wrongQuestions":"_style-module__wrongQuestions__2dpMR","question":"_style-module__question__1lSOX","assignedQuestions":"_style-module__assignedQuestions__1ONUt","wrapperContent":"_style-module__wrapperContent__nPoR0","content":"_style-module__content__2zmZn","contentColumn1":"_style-module__contentColumn1__334SY","span1":"_style-module__span1__3Lf-U","span2":"_style-module__span2__ZpMot","contentColumn2":"_style-module__contentColumn2__16P3l","duration":"_style-module__duration__1kT28","topDuration":"_style-module__topDuration__1fVRi","overallCorrectRate":"_style-module__overallCorrectRate__3jLGe","answer":"_style-module__answer__VsZ0K","contentVulnerable":"_style-module__contentVulnerable__QxKMy","wrappContentProblem":"_style-module__wrappContentProblem__nnqpW","contentProblem":"_style-module__contentProblem__3Z1nV","labelProblem":"_style-module__labelProblem__36Xpx","name":"_style-module__name__3ZJQW","percent":"_style-module__percent__2J3MK","slider":"_style-module__slider__1MPdO","track":"_style-module__track__3CV_y","noData":"_style-module__noData___g-ff","loading":"_style-module__loading__3j485","table-responsive":"_style-module__table-responsive__2O6RX","form-label":"_style-module__form-label__1RYOQ","form-control":"_style-module__form-control__3VRVT","form-label-dialog":"_style-module__form-label-dialog__3oCSh","btn-cancel":"_style-module__btn-cancel__3USKq","btn-register":"_style-module__btn-register__3y_iD","pdfBtnBox":"_style-module__pdfBtnBox__3xZHo","pdfBtn":"_style-module__pdfBtn__1DtWq","form-select":"_style-module__form-select__1a_vw","loader":"_style-module__loader__2uC7T","dot":"_style-module__dot__Xz-Mr","bounce":"_style-module__bounce__3THgz"};
|
15459
15460
|
|
15460
|
-
var printStyles = {"page-break":"
|
15461
|
+
var printStyles = {"page-break":"_printStyle-module__page-break__35kyG","print-exact-color":"_printStyle-module__print-exact-color__1PFgl","avoid-break-inside":"_printStyle-module__avoid-break-inside__3rPGh"};
|
15461
15462
|
|
15462
15463
|
var iconStarQuestion = function iconStarQuestion(_ref) {
|
15463
15464
|
var _ref$width = _ref.width,
|
@@ -16237,7 +16238,8 @@ var ProtractedProblem = function ProtractedProblem(_ref) {
|
|
16237
16238
|
data = _ref.data,
|
16238
16239
|
openProblem = _ref.openProblem,
|
16239
16240
|
changeOpen = _ref.changeOpen,
|
16240
|
-
isMyStoryStudent = _ref.isMyStoryStudent
|
16241
|
+
isMyStoryStudent = _ref.isMyStoryStudent,
|
16242
|
+
examResult = _ref.examResult;
|
16241
16243
|
var _useTranslation = reactI18next.useTranslation(),
|
16242
16244
|
t = _useTranslation.t;
|
16243
16245
|
var isOpen = openProblem === keyOpen;
|
@@ -16288,19 +16290,32 @@ var ProtractedProblem = function ProtractedProblem(_ref) {
|
|
16288
16290
|
};
|
16289
16291
|
var renderQuestions = function renderQuestions(data) {
|
16290
16292
|
return data.map(function (item) {
|
16293
|
+
var _examResult$questions, _examResult$questions2;
|
16294
|
+
var category = examResult === null || examResult === void 0 ? void 0 : (_examResult$questions = examResult.questions) === null || _examResult$questions === void 0 ? void 0 : (_examResult$questions2 = _examResult$questions.find(function (i) {
|
16295
|
+
return i.id === item.id;
|
16296
|
+
})) === null || _examResult$questions2 === void 0 ? void 0 : _examResult$questions2.category;
|
16291
16297
|
return React__default.createElement(material.Stack, {
|
16292
|
-
|
16298
|
+
direction: "row",
|
16299
|
+
flexWrap: "nowrap",
|
16293
16300
|
className: styles$3["content"] + " " + printStyles["avoid-break-inside"],
|
16294
16301
|
key: item.id
|
16295
|
-
}, React__default.createElement(
|
16302
|
+
}, React__default.createElement(material.Box, {
|
16303
|
+
width: "160px",
|
16296
16304
|
className: styles$3["contentColumn1"]
|
16297
|
-
}, React__default.createElement("div", null, React__default.createElement("span", {
|
16305
|
+
}, React__default.createElement(material.Stack, null, React__default.createElement("div", null, React__default.createElement("span", {
|
16298
16306
|
className: styles$3["span1"]
|
16299
16307
|
}, t("problem")), React__default.createElement("span", {
|
16300
16308
|
className: styles$3["span2"]
|
16301
16309
|
}, t("number_question", {
|
16302
16310
|
number: item.questionOrder + 1
|
16303
|
-
})))
|
16311
|
+
}))), (category === null || category === void 0 ? void 0 : category.name) && React__default.createElement(material.Typography, {
|
16312
|
+
sx: {
|
16313
|
+
fontSize: "14px",
|
16314
|
+
fontWeight: 600,
|
16315
|
+
color: "#18442A",
|
16316
|
+
textAlign: "center"
|
16317
|
+
}
|
16318
|
+
}, category.name))), React__default.createElement(material.Box, {
|
16304
16319
|
className: styles$3["contentColumn2"]
|
16305
16320
|
}, React__default.createElement("div", null, React__default.createElement("span", {
|
16306
16321
|
className: styles$3["span1"]
|
@@ -16464,27 +16479,36 @@ var Vulnerable = function Vulnerable(_ref) {
|
|
16464
16479
|
};
|
16465
16480
|
var renderQuestions = function renderQuestions(questions) {
|
16466
16481
|
return questions.map(function (question) {
|
16467
|
-
var _question$selectedAns, _question$selectedAns2, _question$correctAnsw, _question$correctAnsw2, _question$correctAnsw3;
|
16468
|
-
return React__default.createElement(material.
|
16469
|
-
|
16482
|
+
var _question$category, _question$selectedAns, _question$selectedAns2, _question$correctAnsw, _question$correctAnsw2, _question$correctAnsw3;
|
16483
|
+
return React__default.createElement(material.Stack, {
|
16484
|
+
direction: "row",
|
16470
16485
|
flexWrap: "nowrap",
|
16471
16486
|
className: styles$3["content"] + " " + printStyles["avoid-break-inside"],
|
16472
16487
|
key: question.id
|
16473
|
-
}, React__default.createElement(material.
|
16474
|
-
|
16475
|
-
xs: 1.5,
|
16476
|
-
minWidth: "120px",
|
16488
|
+
}, React__default.createElement(material.Box, {
|
16489
|
+
width: "160px",
|
16477
16490
|
className: styles$3["contentColumn1"]
|
16491
|
+
}, React__default.createElement(material.Stack, {
|
16492
|
+
direction: "column",
|
16493
|
+
gap: 1
|
16478
16494
|
}, React__default.createElement("div", null, React__default.createElement("span", {
|
16479
16495
|
className: styles$3["span1"]
|
16480
16496
|
}, t("problem_number")), React__default.createElement("span", {
|
16481
16497
|
className: styles$3["span2"]
|
16482
16498
|
}, t("number_question", {
|
16483
16499
|
number: question.questionOrder + 1
|
16484
|
-
})))
|
16485
|
-
|
16486
|
-
|
16487
|
-
|
16500
|
+
}))), ((_question$category = question.category) === null || _question$category === void 0 ? void 0 : _question$category.name) && React__default.createElement(material.Typography, {
|
16501
|
+
sx: {
|
16502
|
+
fontSize: "14px",
|
16503
|
+
fontWeight: 600,
|
16504
|
+
color: "#18442A",
|
16505
|
+
textAlign: "center"
|
16506
|
+
}
|
16507
|
+
}, question.category.name))), React__default.createElement(material.Box, {
|
16508
|
+
className: styles$3["contentColumn2"],
|
16509
|
+
sx: {
|
16510
|
+
alignItems: "center"
|
16511
|
+
}
|
16488
16512
|
}, React__default.createElement("div", null, React__default.createElement("span", {
|
16489
16513
|
className: styles$3["span1"]
|
16490
16514
|
}, t("total_correct_rate")), React__default.createElement("span", {
|
@@ -18818,6 +18842,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
|
|
18818
18842
|
}), React__default.createElement(ProtractedProblem, {
|
18819
18843
|
keyOpen: ProblemKey.ProtractedProblem,
|
18820
18844
|
data: longTimeSpend,
|
18845
|
+
examResult: resultData,
|
18821
18846
|
openProblem: ProblemKey.ProtractedProblem,
|
18822
18847
|
isMyStoryStudent: isMyStoryStudent
|
18823
18848
|
}), chapterId ? textbookResult && React__default.createElement(TextbookGradesByTerritory, {
|
@@ -18833,7 +18858,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
|
|
18833
18858
|
})));
|
18834
18859
|
};
|
18835
18860
|
|
18836
|
-
var styles$4 = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","form-label":"
|
18861
|
+
var styles$4 = {"lighter":"#F0FFF6","light":"#89F0B2","less_dark":"#3DC674","dark":"#349056","darker":"#18442A","gray_50":"#FBFBF9","gray_100":"#EAEAE5","gray_300":"#D0D0C8","gray_500":"#9A9A98","gray_700":"#5D5D5B","gray_900":"#363634","red_900":"#DB4D4D","green_support_900":"#3ACB46","yellow_900":"#FEAF06","purple_900":"#C3099A","form-label":"_style-module__form-label__1jRLX","form-control":"_style-module__form-control__13KE7","form-label-dialog":"_style-module__form-label-dialog__3mXNM","btn-cancel":"_style-module__btn-cancel__3bqNl","btn-register":"_style-module__btn-register__3GFnT"};
|
18837
18862
|
|
18838
18863
|
var schema$2 = yup.object().shape({
|
18839
18864
|
content: yup.string().required()
|
@@ -20805,6 +20830,7 @@ var ExamResultV2 = function ExamResultV2(props) {
|
|
20805
20830
|
}), React__default.createElement(ProtractedProblem, {
|
20806
20831
|
keyOpen: ProblemKey.ProtractedProblem,
|
20807
20832
|
data: longTimeSpend,
|
20833
|
+
examResult: resultData,
|
20808
20834
|
openProblem: openProblem,
|
20809
20835
|
changeOpen: setOpenProblem,
|
20810
20836
|
isMyStoryStudent: isMyStoryStudent
|
@@ -21218,7 +21244,7 @@ var RECENT_USER_ACTION_HEADERS = [{
|
|
21218
21244
|
}];
|
21219
21245
|
var CSV_PREFIX = "data:text/csv;charset=utf-8,";
|
21220
21246
|
|
21221
|
-
var styles$5 = {"action-btn":"
|
21247
|
+
var styles$5 = {"action-btn":"_style-module__action-btn__1jXbz","action-btn--pencil":"_style-module__action-btn--pencil__at4xP","icon-rotate-180":"_style-module__icon-rotate-180__12gv9","drop-area":"_style-module__drop-area__R4bn5"};
|
21222
21248
|
|
21223
21249
|
var _excluded$b = ["text", "isRequired", "className"];
|
21224
21250
|
var LabelRequired = function LabelRequired(_ref) {
|
@@ -22641,7 +22667,7 @@ var UserList = function UserList(_ref) {
|
|
22641
22667
|
})));
|
22642
22668
|
};
|
22643
22669
|
|
22644
|
-
var styles$6 = {"question":"
|
22670
|
+
var styles$6 = {"question":"_styles-module__question__2uc_W","question-article":"_styles-module__question-article__2p7kY","question-title":"_styles-module__question-title__2tHmc","question-label":"_styles-module__question-label__26ATj","question-input":"_styles-module__question-input__3R8PR","question-btn":"_styles-module__question-btn__1VZac"};
|
22645
22671
|
|
22646
22672
|
var BpIcon = material.styled("span")(function (_ref) {
|
22647
22673
|
var theme = _ref.theme;
|
@@ -25095,7 +25121,7 @@ var ArticleDialog = function ArticleDialog(_ref) {
|
|
25095
25121
|
}, t("add")))));
|
25096
25122
|
};
|
25097
25123
|
|
25098
|
-
var styles$7 = {"drawer":"
|
25124
|
+
var styles$7 = {"drawer":"_styles-module__drawer__11aYm","open":"_styles-module__open__3Ydwm","drawer-overlay":"_styles-module__drawer-overlay__3SQDf","drawer-header":"_styles-module__drawer-header__2BwOx","drawer-form":"_styles-module__drawer-form__2Zo7R","dropdown-content-academy":"_styles-module__dropdown-content-academy__1lzjD","dropdown-change":"_styles-module__dropdown-change__1y7K9","dropdown-academy-item":"_styles-module__dropdown-academy-item__1Y-55","dropdown-content-language":"_styles-module__dropdown-content-language__1fBXY","dropdown-item-language":"_styles-module__dropdown-item-language__3Szun","dropdown-item-language-active":"_styles-module__dropdown-item-language-active__2HhLb","item-address":"_styles-module__item-address__3WYHC","item-logout":"_styles-module__item-logout__2-9ix","title-address":"_styles-module__title-address__1r4pn","image-academy":"_styles-module__image-academy__2ZozT"};
|
25099
25125
|
|
25100
25126
|
var _excluded$d = ["isOpen", "onClose", "handleSaveExam"];
|
25101
25127
|
var CreateExamDrawer = function CreateExamDrawer(props) {
|
@@ -26168,7 +26194,7 @@ var useNotificationDetail = function useNotificationDetail(_ref) {
|
|
26168
26194
|
};
|
26169
26195
|
};
|
26170
26196
|
|
26171
|
-
var styles$8 = {"avatar":"
|
26197
|
+
var styles$8 = {"avatar":"_styles-module__avatar__8niRT"};
|
26172
26198
|
|
26173
26199
|
var _excluded$e = ["value", "disabled", "optionTypeNotification"];
|
26174
26200
|
var TypeSelector = function TypeSelector(_ref) {
|
@@ -28814,7 +28840,7 @@ var useTextbookList$1 = function useTextbookList() {
|
|
28814
28840
|
};
|
28815
28841
|
};
|
28816
28842
|
|
28817
|
-
var styles$9 = {"action-btn":"
|
28843
|
+
var styles$9 = {"action-btn":"_style-module__action-btn__2Kt_g","action-btn--pencil":"_style-module__action-btn--pencil__3T_TG","btn-cancel":"_style-module__btn-cancel__3j6Kd","btn-register":"_style-module__btn-register__XA4vl"};
|
28818
28844
|
|
28819
28845
|
var DeleteTextbookDialog = function DeleteTextbookDialog(_ref) {
|
28820
28846
|
var t = _ref.t,
|
@@ -29436,7 +29462,7 @@ var usePreparedExam = function usePreparedExam(_ref) {
|
|
29436
29462
|
};
|
29437
29463
|
};
|
29438
29464
|
|
29439
|
-
var styles$a = {"drawer":"
|
29465
|
+
var styles$a = {"drawer":"_styles-module__drawer__1k4kj","open":"_styles-module__open__IB2-g","drawer-overlay":"_styles-module__drawer-overlay__xnHGE","drawer-header":"_styles-module__drawer-header__1gLOh","drawer-form":"_styles-module__drawer-form__2pLGg","dropdown-content-academy":"_styles-module__dropdown-content-academy__1rR7s","dropdown-change":"_styles-module__dropdown-change__1Hcs4","btn-register":"_styles-module__btn-register__37IIN","btn-cancel":"_styles-module__btn-cancel__KDkNh","dropdown-academy-item":"_styles-module__dropdown-academy-item__1-srV","dropdown-content-language":"_styles-module__dropdown-content-language__88rAE","dropdown-item-language":"_styles-module__dropdown-item-language__2jjUW","dropdown-item-language-active":"_styles-module__dropdown-item-language-active__27lik","item-address":"_styles-module__item-address__tGib4","item-logout":"_styles-module__item-logout__1MXIb","title-address":"_styles-module__title-address__A_I15","image-academy":"_styles-module__image-academy__3zxbi","slick-dots":"_styles-module__slick-dots__VlpW7","slick-active":"_styles-module__slick-active__1zzu9","slider-container":"_styles-module__slider-container__1lCoM","button":"_styles-module__button___sLSD","variable-width":"_styles-module__variable-width__1AnqW","slick-slide":"_styles-module__slick-slide__3ZJaN","center":"_styles-module__center__jUOZF","slick-center":"_styles-module__slick-center__35s6t","content":"_styles-module__content__1dQdx","image":"_styles-module__image__1feWs","slick-loading":"_styles-module__slick-loading__FchLZ","slick-slider":"_styles-module__slick-slider__1T7zW","slick-thumb":"_styles-module__slick-thumb__o2Tkt","slides":"_styles-module__slides__1FY2k","slick-next":"_styles-module__slick-next__23Pi9","slick-prev":"_styles-module__slick-prev__2g2iD","heroBanner_qdFl":"_styles-module__heroBanner_qdFl__2y7lQ","buttons_AeoN":"_styles-module__buttons_AeoN__KMW2P","mdxPageWrapper_j9I6":"_styles-module__mdxPageWrapper_j9I6__3dqhE","collapseSidebarButton_PEFL":"_styles-module__collapseSidebarButton_PEFL__24wBH","expandButton_TmdG":"_styles-module__expandButton_TmdG__2LXBj","announcementBarClose_gvF7":"_styles-module__announcementBarClose_gvF7__32uEE","announcementBarPlaceholder_vyr4":"_styles-module__announcementBarPlaceholder_vyr4__2PagL","navbarSearchContainer_Bca1":"_styles-module__navbarSearchContainer_Bca1__3Uiqm","lastUpdated_vwxv":"_styles-module__lastUpdated_vwxv__1UNOJ","tocMobile_ITEo":"_styles-module__tocMobile_ITEo__qcGlb","collapseSidebarButtonIcon_kv0_":"_styles-module__collapseSidebarButtonIcon_kv0___2G6Hz","expandButtonIcon_i1dp":"_styles-module__expandButtonIcon_i1dp__1IMu8","menuHtmlItem_M9Kj":"_styles-module__menuHtmlItem_M9Kj__1YUka","menu_SIkG":"_styles-module__menu_SIkG__FgMDa","menuWithAnnouncementBar_GW3s":"_styles-module__menuWithAnnouncementBar_GW3s__zUamI","sidebar_njMd":"_styles-module__sidebar_njMd__3E4Oo","sidebarWithHideableNavbar_wUlq":"_styles-module__sidebarWithHideableNavbar_wUlq__3xviA","sidebarHidden_VK0M":"_styles-module__sidebarHidden_VK0M__cWHWX","sidebarLogo_isFc":"_styles-module__sidebarLogo_isFc__UMHGX","docSidebarContainer_YfHR":"_styles-module__docSidebarContainer_YfHR__1SwXt","docSidebarContainerHidden_DPk8":"_styles-module__docSidebarContainerHidden_DPk8__3h6KW","sidebarViewport_aRkj":"_styles-module__sidebarViewport_aRkj__2OCK_","docMainContainer_TBSr":"_styles-module__docMainContainer_TBSr__FuxZS","docMainContainerEnhanced_lQrH":"_styles-module__docMainContainerEnhanced_lQrH__ZUdP4","docItemWrapperEnhanced_JWYK":"_styles-module__docItemWrapperEnhanced_JWYK__2AmPG","docItemCol_VOVn":"_styles-module__docItemCol_VOVn__3GmBr","container":"_styles-module__container__1UB4R","col":"_styles-module__col__csNus","footer":"_styles-module__footer__gceZJ","colorModeToggle_DEke":"_styles-module__colorModeToggle_DEke__OawS_","footer__link-separator":"_styles-module__footer__link-separator__3fzLh","navbar__item":"_styles-module__navbar__item__1wyV6","tableOfContents_bqdL":"_styles-module__tableOfContents_bqdL__3tGM4","footer__col":"_styles-module__footer__col__3DllA","footer__link-item":"_styles-module__footer__link-item__2ibTz","hero":"_styles-module__hero__369-d","navbar":"_styles-module__navbar__5LWZt","container-fluid":"_styles-module__container-fluid__2GcNI","navbar__toggle":"_styles-module__navbar__toggle__2YjZl","navbar__search-input":"_styles-module__navbar__search-input__3__u0","pills--block":"_styles-module__pills--block__2f7GT","tabs--block":"_styles-module__tabs--block__3xrdo","docItemContainer_F8PC":"_styles-module__docItemContainer_F8PC__6P_Dr","markdown":"_styles-module__markdown__2xZt0","backToTopButton_sjWU":"_styles-module__backToTopButton_sjWU__2bUwo","thin-scrollbar":"_styles-module__thin-scrollbar__1mrmJ","announcementBar_mb4j":"_styles-module__announcementBar_mb4j__2oveE","menu":"_styles-module__menu__14IWx","pagination-nav":"_styles-module__pagination-nav__3S8xG","table-of-contents":"_styles-module__table-of-contents__SnjS9","tabs":"_styles-module__tabs__qpa-q","codeBlockLines_e6Vv":"_styles-module__codeBlockLines_e6Vv__2ou2J"};
|
29440
29466
|
|
29441
29467
|
var ResetFilterDialog = function ResetFilterDialog(_ref) {
|
29442
29468
|
var t = _ref.t,
|
@@ -31534,6 +31560,8 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
|
|
31534
31560
|
open = _useState[0],
|
31535
31561
|
setOpen = _useState[1];
|
31536
31562
|
var handleOpen = function handleOpen(event) {
|
31563
|
+
event.preventDefault();
|
31564
|
+
event.stopPropagation();
|
31537
31565
|
setOpen(event.currentTarget);
|
31538
31566
|
};
|
31539
31567
|
var handleClose = function handleClose() {
|
@@ -31550,9 +31578,15 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
|
|
31550
31578
|
mx: 1,
|
31551
31579
|
bgcolor: open ? "action.selected" : undefined
|
31552
31580
|
};
|
31581
|
+
var handleGoToMainPage = function handleGoToMainPage() {
|
31582
|
+
if (!user) return;
|
31583
|
+
var isAcademy = user.academyDomain || user.isLearningSpace;
|
31584
|
+
var mainUrl = !isAcademy ? homeAcademyUrl : homeUrl;
|
31585
|
+
pushTo(history, mainUrl);
|
31586
|
+
};
|
31553
31587
|
return React__default.createElement(React.Fragment, null, React__default.createElement(material.Button, {
|
31554
|
-
onClick:
|
31555
|
-
className:
|
31588
|
+
onClick: handleGoToMainPage,
|
31589
|
+
className: styles["academy-btn"] + " pointer",
|
31556
31590
|
sx: _extends({}, popoverStyle)
|
31557
31591
|
}, React__default.createElement(material.Grid, {
|
31558
31592
|
container: true,
|
@@ -31615,7 +31649,8 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
|
|
31615
31649
|
height: "100%",
|
31616
31650
|
justifyContent: "center",
|
31617
31651
|
alignItems: "center"
|
31618
|
-
}, React__default.createElement(
|
31652
|
+
}, React__default.createElement(material.IconButton, {
|
31653
|
+
onClick: handleOpen,
|
31619
31654
|
className: "" + styles["switch-icon"]
|
31620
31655
|
}, React__default.createElement(go.GoArrowSwitch, {
|
31621
31656
|
size: 14,
|