touchstudy-core 0.1.129 → 0.1.130
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 +29 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +29 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1418,6 +1418,12 @@ var category_copy = "카테고리 복사";
|
|
1418
1418
|
var copy_items = "항목 복사";
|
1419
1419
|
var number_questions = "문제 {{n}}개";
|
1420
1420
|
var are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved = "정말로 종료하시겠습니까? 변경 사항이 저장되지 않을 수 있습니다!";
|
1421
|
+
var this_is_a_subjective_question = "주관식 문제입니다.";
|
1422
|
+
var click_here_to_enter_your_answer = "여기를 눌러 입력해주세요.";
|
1423
|
+
var subjective_answer = "주관식 정답";
|
1424
|
+
var current_correct_answer_entered = "현재 입력한 정답";
|
1425
|
+
var correct_answer_is_required = "정답은 필수입니다.";
|
1426
|
+
var cancel_2 = "취소하기";
|
1421
1427
|
var lang_ko = {
|
1422
1428
|
problem_solving: problem_solving,
|
1423
1429
|
my_story: my_story,
|
@@ -2471,7 +2477,13 @@ var lang_ko = {
|
|
2471
2477
|
category_copy: category_copy,
|
2472
2478
|
copy_items: copy_items,
|
2473
2479
|
number_questions: number_questions,
|
2474
|
-
are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved: are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved
|
2480
|
+
are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved: are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved,
|
2481
|
+
this_is_a_subjective_question: this_is_a_subjective_question,
|
2482
|
+
click_here_to_enter_your_answer: click_here_to_enter_your_answer,
|
2483
|
+
subjective_answer: subjective_answer,
|
2484
|
+
current_correct_answer_entered: current_correct_answer_entered,
|
2485
|
+
correct_answer_is_required: correct_answer_is_required,
|
2486
|
+
cancel_2: cancel_2
|
2475
2487
|
};
|
2476
2488
|
|
2477
2489
|
var problem_solving$1 = "Problem Solving";
|
@@ -3548,6 +3560,12 @@ var category_copy$1 = "Category copy";
|
|
3548
3560
|
var copy_items$1 = "Copy items";
|
3549
3561
|
var number_questions$1 = "{{n}} question(s)";
|
3550
3562
|
var are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved$1 = "Are you sure you want to quit? Your changes may not be saved!";
|
3563
|
+
var this_is_a_subjective_question$1 = "This is a subjective question.";
|
3564
|
+
var click_here_to_enter_your_answer$1 = "Click here to enter your answer.";
|
3565
|
+
var subjective_answer$1 = "Subjective answer";
|
3566
|
+
var current_correct_answer_entered$1 = "Current correct answer entered";
|
3567
|
+
var correct_answer_is_required$1 = "Correct answer is required";
|
3568
|
+
var cancel_2$1 = "Cancel";
|
3551
3569
|
var lang_en = {
|
3552
3570
|
problem_solving: problem_solving$1,
|
3553
3571
|
my_story: my_story$1,
|
@@ -4603,7 +4621,13 @@ var lang_en = {
|
|
4603
4621
|
category_copy: category_copy$1,
|
4604
4622
|
copy_items: copy_items$1,
|
4605
4623
|
number_questions: number_questions$1,
|
4606
|
-
are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved: are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved$1
|
4624
|
+
are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved: are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved$1,
|
4625
|
+
this_is_a_subjective_question: this_is_a_subjective_question$1,
|
4626
|
+
click_here_to_enter_your_answer: click_here_to_enter_your_answer$1,
|
4627
|
+
subjective_answer: subjective_answer$1,
|
4628
|
+
current_correct_answer_entered: current_correct_answer_entered$1,
|
4629
|
+
correct_answer_is_required: correct_answer_is_required$1,
|
4630
|
+
cancel_2: cancel_2$1
|
4607
4631
|
};
|
4608
4632
|
|
4609
4633
|
i18n__default.use(reactI18next.initReactI18next).init({
|
@@ -9459,7 +9483,7 @@ var MathTinyEditor = function MathTinyEditor(_ref) {
|
|
9459
9483
|
onChange(textFilter);
|
9460
9484
|
};
|
9461
9485
|
var options = {
|
9462
|
-
height:
|
9486
|
+
height: 130,
|
9463
9487
|
menubar: false,
|
9464
9488
|
external_plugins: {
|
9465
9489
|
tiny_mce_wiris: '/editor/wiris-for-tinymce.js'
|
@@ -27421,7 +27445,7 @@ var DEFAULT_SCORE$1 = 2;
|
|
27421
27445
|
var preparedTextbookSchema = function preparedTextbookSchema(t) {
|
27422
27446
|
return yup.object({
|
27423
27447
|
name: yup.string().required(t("name_required")),
|
27424
|
-
subjectId: yup.number().required(t("subject_required")),
|
27448
|
+
subjectId: yup.number().required(t("subject_required")).notOneOf([0], t("subject_required")),
|
27425
27449
|
preparedType: yup.string().required(t("type_required")),
|
27426
27450
|
publicationDate: yup.string().required(t("publication_date_required")),
|
27427
27451
|
publisher: yup.string().required(t("publisher_required")),
|
@@ -27462,7 +27486,7 @@ var preparedTextbookSchema = function preparedTextbookSchema(t) {
|
|
27462
27486
|
name: yup.string().required(t("name_required")),
|
27463
27487
|
questionGroups: yup.array().of(yup.object().shape({
|
27464
27488
|
articles: yup.array().of(yup.object().shape({
|
27465
|
-
categories: yup.array().of(yup.number()).min(1, t("
|
27489
|
+
categories: yup.array().of(yup.number()).min(1, t("category_required")),
|
27466
27490
|
title: yup.string().notRequired(),
|
27467
27491
|
author: yup.string().notRequired(),
|
27468
27492
|
subject: yup.string().notRequired()
|