touchstudy-core 0.1.64 → 0.1.65
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/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/tests/performances/do-exam-session.d.ts +18 -0
- package/dist/tests/performances/do-exam.d.ts +15 -0
- package/dist/tests/performances/join-exam.d.ts +13 -0
- package/dist/tests/performances/login.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -1026,8 +1026,9 @@ var useLanguage = function useLanguage(history) {
|
|
1026
1026
|
var search = window.location.search;
|
1027
1027
|
var searchParams = new URLSearchParams(search);
|
1028
1028
|
if (!languageItem) {
|
1029
|
+
var _navigator$language, _navigator$language$s;
|
1029
1030
|
var storedLanguage = getLanguage();
|
1030
|
-
var browserLanguage = navigator.language;
|
1031
|
+
var browserLanguage = (_navigator$language = navigator.language) === null || _navigator$language === void 0 ? void 0 : (_navigator$language$s = _navigator$language.split("-")) === null || _navigator$language$s === void 0 ? void 0 : _navigator$language$s[0];
|
1031
1032
|
var defaultLanguageCode = storedLanguage || browserLanguage;
|
1032
1033
|
languageItem = LANGUAGES.find(function (i) {
|
1033
1034
|
return i.code === defaultLanguageCode;
|
@@ -1383,7 +1384,6 @@ var Loading = function Loading() {
|
|
1383
1384
|
var isLoading = useSelector(function (state) {
|
1384
1385
|
return state.common.isLoading;
|
1385
1386
|
});
|
1386
|
-
localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
|
1387
1387
|
return isLoading ? React__default.createElement("div", {
|
1388
1388
|
style: loadingStyle
|
1389
1389
|
}, React__default.createElement("div", {
|
@@ -1910,6 +1910,7 @@ var correct_answer_for_each_student = "학생별 정답 여부";
|
|
1910
1910
|
var information_by_question = "문항별 정보";
|
1911
1911
|
var no_data = "데이터 없음";
|
1912
1912
|
var internet_connection_was_lost = "인터넷 연결이 끊어졌습니다";
|
1913
|
+
var internet_connection_is_back = "인터넷 연결이 다시 돌아왔습니다";
|
1913
1914
|
var problem = "문제";
|
1914
1915
|
var number_problem = "{{number}}문제";
|
1915
1916
|
var problems = "문제";
|
@@ -2538,6 +2539,7 @@ var lang_ko = {
|
|
2538
2539
|
information_by_question: information_by_question,
|
2539
2540
|
no_data: no_data,
|
2540
2541
|
internet_connection_was_lost: internet_connection_was_lost,
|
2542
|
+
internet_connection_is_back: internet_connection_is_back,
|
2541
2543
|
problem: problem,
|
2542
2544
|
number_problem: number_problem,
|
2543
2545
|
problems: problems,
|
@@ -3156,7 +3158,8 @@ var question_time_for_each_student$1 = "Question time for each student";
|
|
3156
3158
|
var correct_answer_for_each_student$1 = "Correct answer for each student";
|
3157
3159
|
var information_by_question$1 = "Information by question";
|
3158
3160
|
var no_data$1 = "No data";
|
3159
|
-
var internet_connection_was_lost$1 = "
|
3161
|
+
var internet_connection_was_lost$1 = "The internet connection was lost";
|
3162
|
+
var internet_connection_is_back$1 = "The internet connection is back";
|
3160
3163
|
var problem$1 = "Problem";
|
3161
3164
|
var number_problem$1 = "No.{{number}}";
|
3162
3165
|
var problems$1 = "Problems";
|
@@ -3785,6 +3788,7 @@ var lang_en = {
|
|
3785
3788
|
information_by_question: information_by_question$1,
|
3786
3789
|
no_data: no_data$1,
|
3787
3790
|
internet_connection_was_lost: internet_connection_was_lost$1,
|
3791
|
+
internet_connection_is_back: internet_connection_is_back$1,
|
3788
3792
|
problem: problem$1,
|
3789
3793
|
number_problem: number_problem$1,
|
3790
3794
|
problems: problems$1,
|