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.modern.js
CHANGED
@@ -1420,6 +1420,12 @@ var category_copy = "카테고리 복사";
|
|
1420
1420
|
var copy_items = "항목 복사";
|
1421
1421
|
var number_questions = "문제 {{n}}개";
|
1422
1422
|
var are_you_sure_you_want_to_quit_yours_changes_may_not_be_saved = "정말로 종료하시겠습니까? 변경 사항이 저장되지 않을 수 있습니다!";
|
1423
|
+
var this_is_a_subjective_question = "주관식 문제입니다.";
|
1424
|
+
var click_here_to_enter_your_answer = "여기를 눌러 입력해주세요.";
|
1425
|
+
var subjective_answer = "주관식 정답";
|
1426
|
+
var current_correct_answer_entered = "현재 입력한 정답";
|
1427
|
+
var correct_answer_is_required = "정답은 필수입니다.";
|
1428
|
+
var cancel_2 = "취소하기";
|
1423
1429
|
var lang_ko = {
|
1424
1430
|
problem_solving: problem_solving,
|
1425
1431
|
my_story: my_story,
|
@@ -2473,7 +2479,13 @@ var lang_ko = {
|
|
2473
2479
|
category_copy: category_copy,
|
2474
2480
|
copy_items: copy_items,
|
2475
2481
|
number_questions: number_questions,
|
2476
|
-
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
|
2482
|
+
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,
|
2483
|
+
this_is_a_subjective_question: this_is_a_subjective_question,
|
2484
|
+
click_here_to_enter_your_answer: click_here_to_enter_your_answer,
|
2485
|
+
subjective_answer: subjective_answer,
|
2486
|
+
current_correct_answer_entered: current_correct_answer_entered,
|
2487
|
+
correct_answer_is_required: correct_answer_is_required,
|
2488
|
+
cancel_2: cancel_2
|
2477
2489
|
};
|
2478
2490
|
|
2479
2491
|
var problem_solving$1 = "Problem Solving";
|
@@ -3550,6 +3562,12 @@ var category_copy$1 = "Category copy";
|
|
3550
3562
|
var copy_items$1 = "Copy items";
|
3551
3563
|
var number_questions$1 = "{{n}} question(s)";
|
3552
3564
|
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!";
|
3565
|
+
var this_is_a_subjective_question$1 = "This is a subjective question.";
|
3566
|
+
var click_here_to_enter_your_answer$1 = "Click here to enter your answer.";
|
3567
|
+
var subjective_answer$1 = "Subjective answer";
|
3568
|
+
var current_correct_answer_entered$1 = "Current correct answer entered";
|
3569
|
+
var correct_answer_is_required$1 = "Correct answer is required";
|
3570
|
+
var cancel_2$1 = "Cancel";
|
3553
3571
|
var lang_en = {
|
3554
3572
|
problem_solving: problem_solving$1,
|
3555
3573
|
my_story: my_story$1,
|
@@ -4605,7 +4623,13 @@ var lang_en = {
|
|
4605
4623
|
category_copy: category_copy$1,
|
4606
4624
|
copy_items: copy_items$1,
|
4607
4625
|
number_questions: number_questions$1,
|
4608
|
-
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
|
4626
|
+
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,
|
4627
|
+
this_is_a_subjective_question: this_is_a_subjective_question$1,
|
4628
|
+
click_here_to_enter_your_answer: click_here_to_enter_your_answer$1,
|
4629
|
+
subjective_answer: subjective_answer$1,
|
4630
|
+
current_correct_answer_entered: current_correct_answer_entered$1,
|
4631
|
+
correct_answer_is_required: correct_answer_is_required$1,
|
4632
|
+
cancel_2: cancel_2$1
|
4609
4633
|
};
|
4610
4634
|
|
4611
4635
|
i18n.use(initReactI18next).init({
|
@@ -9472,7 +9496,7 @@ var MathTinyEditor = function MathTinyEditor(_ref) {
|
|
9472
9496
|
onChange(textFilter);
|
9473
9497
|
};
|
9474
9498
|
var options = {
|
9475
|
-
height:
|
9499
|
+
height: 130,
|
9476
9500
|
menubar: false,
|
9477
9501
|
external_plugins: {
|
9478
9502
|
tiny_mce_wiris: '/editor/wiris-for-tinymce.js'
|
@@ -27434,7 +27458,7 @@ var DEFAULT_SCORE$1 = 2;
|
|
27434
27458
|
var preparedTextbookSchema = function preparedTextbookSchema(t) {
|
27435
27459
|
return object({
|
27436
27460
|
name: string().required(t("name_required")),
|
27437
|
-
subjectId: number().required(t("subject_required")),
|
27461
|
+
subjectId: number().required(t("subject_required")).notOneOf([0], t("subject_required")),
|
27438
27462
|
preparedType: string().required(t("type_required")),
|
27439
27463
|
publicationDate: string().required(t("publication_date_required")),
|
27440
27464
|
publisher: string().required(t("publisher_required")),
|
@@ -27475,7 +27499,7 @@ var preparedTextbookSchema = function preparedTextbookSchema(t) {
|
|
27475
27499
|
name: string().required(t("name_required")),
|
27476
27500
|
questionGroups: array().of(object().shape({
|
27477
27501
|
articles: array().of(object().shape({
|
27478
|
-
categories: array().of(number()).min(1, t("
|
27502
|
+
categories: array().of(number()).min(1, t("category_required")),
|
27479
27503
|
title: string().notRequired(),
|
27480
27504
|
author: string().notRequired(),
|
27481
27505
|
subject: string().notRequired()
|