touchstudy-core 0.1.146 → 0.1.148
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/alert-circle-fill~CSSkoNUz.svg +3 -0
- package/dist/assets/AlertCircleFill.d.ts +3 -0
- package/dist/assets/CalendarFill.d.ts +3 -0
- package/dist/assets/CheckCircleFill.d.ts +3 -0
- package/dist/assets/CheckedCircleFill.d.ts +3 -0
- package/dist/assets/ClockFill.d.ts +3 -0
- package/dist/assets/CloseCircleFill.d.ts +3 -0
- package/dist/assets/IconPerson.d.ts +3 -0
- package/dist/calendar_fill~zEgxFwDs.svg +4 -0
- package/dist/check-circle_fill~bbGHfKpz.svg +3 -0
- package/dist/checked-circle_fill~KLGxfRpW.svg +3 -0
- package/dist/clock_fill~mcRclYYO.svg +3 -0
- package/dist/close-circle_fill~PRVaHJUQ.svg +3 -0
- package/dist/components/TinyMCE/TinyEditor.d.ts +1 -2
- package/dist/containers/PreparedTextbook/components/ArticleBlock.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/QuestionCompareType.d.ts +8 -0
- package/dist/containers/PreparedTextbook/components/QuestionOrderName.d.ts +9 -0
- package/dist/containers/PreparedTextbook/components/QuestionScore.d.ts +9 -0
- package/dist/containers/PreparedTextbook/components/QuestionShortInput.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/apiClients/courseService.d.ts +3 -0
- package/dist/containers/StudentInfoDrawer/apiClients/examSessionService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/apiClients/noteService.d.ts +6 -0
- package/dist/containers/StudentInfoDrawer/apiClients/textbookService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/apiClients/userService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/AttendanceCourseTable.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/CourseAttendanceItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/CourseAttendanceList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/DrawerAttendanceTab.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/LessonTooltip.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/AttendanceCourseTable.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/components/CourseAttendanceItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/CourseAttendanceList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/CustomTooltip.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerAttendanceTab.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerExamResultTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerHeader.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerInfoTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerNoteTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTabContent.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTabHeader.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTextbookResultTab.d.ts +7 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/DrawerExamResultTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExamResultDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExamResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExanResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/ExamResultDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/ExamResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/ExanResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/LessonTooltip.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/Note/DrawerNoteTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/Note/NoteDrawer.d.ts +14 -0
- package/dist/containers/StudentInfoDrawer/components/NoteDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/DrawerTextbookResultTab.d.ts +7 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/TextbookResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/TextbookResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/TextbookResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/TextbookResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/configs/constants.d.ts +6 -0
- package/dist/containers/StudentInfoDrawer/configs/enums.d.ts +12 -0
- package/dist/containers/StudentInfoDrawer/configs/fns.d.ts +26 -0
- package/dist/containers/StudentInfoDrawer/configs/interfaces.d.ts +44 -0
- package/dist/containers/StudentInfoDrawer/configs/types.d.ts +101 -0
- package/dist/containers/StudentInfoDrawer/hooks/useDrawerAttendanceTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/hooks/useDrawerNoteTab.d.ts +28 -0
- package/dist/containers/StudentInfoDrawer/hooks/useStudentInfoDrawer.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/index.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/styles/styles.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/views/StudentInfoDrawer.d.ts +4 -0
- package/dist/containers/Users/components/UserRow.d.ts +14 -0
- package/dist/iconPerson~bfprHOKm.svg +4 -0
- package/dist/index.js +104 -31
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +104 -31
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/functions/formatPhoneNumber.d.ts +2 -0
- package/dist/utils/functions/includePathname.d.ts +1 -0
- package/dist/utils/functions/questions.d.ts +2 -0
- package/dist/utils/hooks/useVirtualList.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -430,6 +430,8 @@ var answer_count = "답변 수";
|
|
430
430
|
var question_count = "문제 갯수";
|
431
431
|
var multi_choice = "여러 개임";
|
432
432
|
var category = "문항 카테고리";
|
433
|
+
var korean_category = "지문 영역";
|
434
|
+
var korean_subcateogry = "지문 세부 영역";
|
433
435
|
var _category = "카테고리";
|
434
436
|
var score = "점수";
|
435
437
|
var enter_score = "점수 입력";
|
@@ -580,13 +582,14 @@ var go_to_attendance_list = "출석부로 이동";
|
|
580
582
|
var new_subject = "새로운 주제";
|
581
583
|
var subjects = "과목";
|
582
584
|
var subject = "주제";
|
585
|
+
var korean_subject = "키워드";
|
583
586
|
var textbooks = "교과서";
|
584
587
|
var exam_list = "시험 목록";
|
585
588
|
var textbook_title = "교과서 제목";
|
586
|
-
var textbook_subject = "
|
589
|
+
var textbook_subject = "과목";
|
587
590
|
var total_chapters = "총 장";
|
588
591
|
var enter_student_name_to_search = "검색할 학생 이름을 입력하세요";
|
589
|
-
var create_textbook = "
|
592
|
+
var create_textbook = "새 교재 만들기";
|
590
593
|
var view_textbook = "교과서 보기";
|
591
594
|
var add_chapter = "장 추가";
|
592
595
|
var add_subchapter = "하위 장 추가";
|
@@ -844,6 +847,7 @@ var hint = "힌트";
|
|
844
847
|
var save_and_add_next_question = "저장하고 다음 질문 추가";
|
845
848
|
var question_text = "질문 텍스트";
|
846
849
|
var article = "기사";
|
850
|
+
var korean_article = "지문/작품 추가";
|
847
851
|
var notifications = "알림";
|
848
852
|
var exams = "시험";
|
849
853
|
var questions = "질문";
|
@@ -1245,6 +1249,7 @@ var page_to_start_with = "시작할 페이지";
|
|
1245
1249
|
var posted_on = "게시일";
|
1246
1250
|
var number_of_participants = "참가자 수";
|
1247
1251
|
var chapter = "챕터";
|
1252
|
+
var korean_chapter = "대단원 추가";
|
1248
1253
|
var published = "Published";
|
1249
1254
|
var privated = "Privated";
|
1250
1255
|
var solution_results = "풀이 결과";
|
@@ -1395,9 +1400,11 @@ var textbook = {
|
|
1395
1400
|
information: "교과서 정보"
|
1396
1401
|
};
|
1397
1402
|
var question_group = "질문 그룹";
|
1403
|
+
var korean_question_group = "지문/작품 추가";
|
1398
1404
|
var group_n = "그룹 {{n}}";
|
1399
1405
|
var sub_category = "하위 카테고리";
|
1400
1406
|
var article_n = "문항 {{n}}";
|
1407
|
+
var korean_article_n = "지문 {{n}}";
|
1401
1408
|
var math = "수학";
|
1402
1409
|
var korea = "한국";
|
1403
1410
|
var fix_this_information_for_this_book = "이 책에 대한 정보 수정";
|
@@ -1457,7 +1464,7 @@ var today_class = "오늘 수업";
|
|
1457
1464
|
var unit_number = "대단원 {{number}}";
|
1458
1465
|
var sub_unit_number = "소단원 {{number}}";
|
1459
1466
|
var text_group_n = "지문 그룹 {{n}}";
|
1460
|
-
var text_detail_n = "
|
1467
|
+
var text_detail_n = "{{n}}번";
|
1461
1468
|
var question_group_n = "문제 그룹 {{n}}";
|
1462
1469
|
var placeholder_teacher_selector = "선생님을 검색하려면 최소 2글자를 입력하세요.";
|
1463
1470
|
var teacher_personal_textbook = "교사의 개인 교과서";
|
@@ -1465,10 +1472,20 @@ var textbook_owner_email_is_required = "교재 소유자의 이메일은 필수
|
|
1465
1472
|
var invalid_textbook_owner_email_address = "유효하지 않은 교재 소유자 이메일 주소입니다";
|
1466
1473
|
var textbook_owner_academy_is_required = "교재 소유자의 학원은 필수입니다";
|
1467
1474
|
var textbook_owner_course_is_required = "교재 소유자의 수업은 필수입니다";
|
1468
|
-
var start_order = "
|
1475
|
+
var start_order = "새 지문 시작 번호";
|
1469
1476
|
var student_notice_notes = "학생 공지/노트";
|
1470
1477
|
var note = "메모";
|
1471
1478
|
var student_parents = "학생/학부모";
|
1479
|
+
var today_specific_class = "오늘의 특별 수업";
|
1480
|
+
var n_lesson = "{{total}}개의 수업";
|
1481
|
+
var exam_results = "시험 결과";
|
1482
|
+
var textbook_results = "교과서 결과";
|
1483
|
+
var order_matters = "순서 상관 있음";
|
1484
|
+
var order_does_not_matter = "순서 상관 없음";
|
1485
|
+
var synonym_processing = "답 이음동의어 처리";
|
1486
|
+
var compare_type = "비교 유형";
|
1487
|
+
var textbook_name = "교재 이름";
|
1488
|
+
var korean_language = "국어";
|
1472
1489
|
var lang_ko = {
|
1473
1490
|
problem_solving: problem_solving,
|
1474
1491
|
my_story: my_story,
|
@@ -1554,6 +1571,8 @@ var lang_ko = {
|
|
1554
1571
|
question_count: question_count,
|
1555
1572
|
multi_choice: multi_choice,
|
1556
1573
|
category: category,
|
1574
|
+
korean_category: korean_category,
|
1575
|
+
korean_subcateogry: korean_subcateogry,
|
1557
1576
|
_category: _category,
|
1558
1577
|
score: score,
|
1559
1578
|
enter_score: enter_score,
|
@@ -1706,6 +1725,7 @@ var lang_ko = {
|
|
1706
1725
|
new_subject: new_subject,
|
1707
1726
|
subjects: subjects,
|
1708
1727
|
subject: subject,
|
1728
|
+
korean_subject: korean_subject,
|
1709
1729
|
textbooks: textbooks,
|
1710
1730
|
exam_list: exam_list,
|
1711
1731
|
textbook_title: textbook_title,
|
@@ -1959,6 +1979,7 @@ var lang_ko = {
|
|
1959
1979
|
save_and_add_next_question: save_and_add_next_question,
|
1960
1980
|
question_text: question_text,
|
1961
1981
|
article: article,
|
1982
|
+
korean_article: korean_article,
|
1962
1983
|
notifications: notifications,
|
1963
1984
|
exams: exams,
|
1964
1985
|
questions: questions,
|
@@ -2314,7 +2335,7 @@ var lang_ko = {
|
|
2314
2335
|
chapter_number: chapter_number,
|
2315
2336
|
category_required: category_required,
|
2316
2337
|
subject_required: subject_required,
|
2317
|
-
"public": "
|
2338
|
+
"public": "기출 문제",
|
2318
2339
|
max_is_12: max_is_12,
|
2319
2340
|
textbook_owners: textbook_owners,
|
2320
2341
|
author: author,
|
@@ -2351,6 +2372,7 @@ var lang_ko = {
|
|
2351
2372
|
posted_on: posted_on,
|
2352
2373
|
number_of_participants: number_of_participants,
|
2353
2374
|
chapter: chapter,
|
2375
|
+
korean_chapter: korean_chapter,
|
2354
2376
|
published: published,
|
2355
2377
|
privated: privated,
|
2356
2378
|
solution_results: solution_results,
|
@@ -2498,9 +2520,11 @@ var lang_ko = {
|
|
2498
2520
|
are_you_sure_you_want_to_delete_the_question_group: are_you_sure_you_want_to_delete_the_question_group,
|
2499
2521
|
textbook: textbook,
|
2500
2522
|
question_group: question_group,
|
2523
|
+
korean_question_group: korean_question_group,
|
2501
2524
|
group_n: group_n,
|
2502
2525
|
sub_category: sub_category,
|
2503
2526
|
article_n: article_n,
|
2527
|
+
korean_article_n: korean_article_n,
|
2504
2528
|
math: math,
|
2505
2529
|
korea: korea,
|
2506
2530
|
fix_this_information_for_this_book: fix_this_information_for_this_book,
|
@@ -2571,7 +2595,17 @@ var lang_ko = {
|
|
2571
2595
|
start_order: start_order,
|
2572
2596
|
student_notice_notes: student_notice_notes,
|
2573
2597
|
note: note,
|
2574
|
-
student_parents: student_parents
|
2598
|
+
student_parents: student_parents,
|
2599
|
+
today_specific_class: today_specific_class,
|
2600
|
+
n_lesson: n_lesson,
|
2601
|
+
exam_results: exam_results,
|
2602
|
+
textbook_results: textbook_results,
|
2603
|
+
order_matters: order_matters,
|
2604
|
+
order_does_not_matter: order_does_not_matter,
|
2605
|
+
synonym_processing: synonym_processing,
|
2606
|
+
compare_type: compare_type,
|
2607
|
+
textbook_name: textbook_name,
|
2608
|
+
korean_language: korean_language
|
2575
2609
|
};
|
2576
2610
|
|
2577
2611
|
var problem_solving$1 = "Problem Solving";
|
@@ -2666,6 +2700,7 @@ var easy$1 = "Easy";
|
|
2666
2700
|
var intermediate$1 = "Intermediate";
|
2667
2701
|
var difficult$1 = "Difficult";
|
2668
2702
|
var article$1 = "Article";
|
2703
|
+
var korean_article$1 = "Article";
|
2669
2704
|
var correct_answer$1 = "Correct answer";
|
2670
2705
|
var mark$1 = "Mark";
|
2671
2706
|
var answer$1 = "Answer";
|
@@ -2676,6 +2711,8 @@ var update_question_success$1 = "Question is updated successfully";
|
|
2676
2711
|
var number_of_answers$1 = "Number of answers";
|
2677
2712
|
var correct_answers$1 = "Correct answers";
|
2678
2713
|
var category$1 = "Category";
|
2714
|
+
var korean_category$1 = "Category";
|
2715
|
+
var korean_subcateogry$1 = "Subcategory";
|
2679
2716
|
var _category$1 = "Category";
|
2680
2717
|
var score$1 = "Score";
|
2681
2718
|
var enter_title$1 = "Enter title";
|
@@ -2831,6 +2868,7 @@ var go_to_attendance_list$1 = "Go to attendance list";
|
|
2831
2868
|
var new_subject$1 = "New Subject";
|
2832
2869
|
var subjects$1 = "Subjects";
|
2833
2870
|
var subject$1 = "Subject";
|
2871
|
+
var korean_subject$1 = "Subject";
|
2834
2872
|
var textbooks$1 = "Textbooks";
|
2835
2873
|
var exam_list$1 = "Exam List";
|
2836
2874
|
var textbook_title$1 = "Textbook title";
|
@@ -3482,6 +3520,7 @@ var page_from_required$1 = "Page from is required";
|
|
3482
3520
|
var page_to_required$1 = "Page to is required";
|
3483
3521
|
var page_to_must_be_greater_than_or_equal_to_page_from$1 = "Page To must be greater than or equal to Page From";
|
3484
3522
|
var chapter$1 = "Chapter";
|
3523
|
+
var korean_chapter$1 = "Chapter";
|
3485
3524
|
var chapter_number$1 = "Chapter {{number}}";
|
3486
3525
|
var category_required$1 = "Category is required";
|
3487
3526
|
var subject_required$1 = "Subject is required";
|
@@ -3623,9 +3662,11 @@ var textbook$1 = {
|
|
3623
3662
|
information: "Textbook information"
|
3624
3663
|
};
|
3625
3664
|
var question_group$1 = "Question group";
|
3665
|
+
var korean_question_group$1 = "Question group";
|
3626
3666
|
var group_n$1 = "Group {{n}}";
|
3627
3667
|
var sub_category$1 = "Sub category";
|
3628
3668
|
var article_n$1 = "Article {{n}}";
|
3669
|
+
var korean_article_n$1 = "Article {{n}}";
|
3629
3670
|
var math$1 = "Math";
|
3630
3671
|
var korea$1 = "Korea";
|
3631
3672
|
var fix_this_information_for_this_book$1 = "Fix this information for this book";
|
@@ -3697,6 +3738,16 @@ var start_order$1 = "Start order number";
|
|
3697
3738
|
var student_notice_notes$1 = "Student notice/notes";
|
3698
3739
|
var note$1 = "Note";
|
3699
3740
|
var student_parents$1 = "Student/Parents";
|
3741
|
+
var today_specific_class$1 = "Today's specific class";
|
3742
|
+
var n_lesson$1 = "{{total}} lesson(s)";
|
3743
|
+
var exam_results$1 = "Exam results";
|
3744
|
+
var textbook_results$1 = "Textbook results";
|
3745
|
+
var order_matters$1 = "Order matters";
|
3746
|
+
var order_does_not_matter$1 = "Order doesn't matter";
|
3747
|
+
var synonym_processing$1 = "Answer Synonym processing";
|
3748
|
+
var compare_type$1 = "Compare Type";
|
3749
|
+
var textbook_name$1 = "Textbook name";
|
3750
|
+
var korean_language$1 = "Korean";
|
3700
3751
|
var lang_en = {
|
3701
3752
|
problem_solving: problem_solving$1,
|
3702
3753
|
my_story: my_story$1,
|
@@ -3793,6 +3844,7 @@ var lang_en = {
|
|
3793
3844
|
intermediate: intermediate$1,
|
3794
3845
|
difficult: difficult$1,
|
3795
3846
|
article: article$1,
|
3847
|
+
korean_article: korean_article$1,
|
3796
3848
|
correct_answer: correct_answer$1,
|
3797
3849
|
mark: mark$1,
|
3798
3850
|
answer: answer$1,
|
@@ -3803,6 +3855,8 @@ var lang_en = {
|
|
3803
3855
|
number_of_answers: number_of_answers$1,
|
3804
3856
|
correct_answers: correct_answers$1,
|
3805
3857
|
category: category$1,
|
3858
|
+
korean_category: korean_category$1,
|
3859
|
+
korean_subcateogry: korean_subcateogry$1,
|
3806
3860
|
_category: _category$1,
|
3807
3861
|
score: score$1,
|
3808
3862
|
enter_title: enter_title$1,
|
@@ -3959,6 +4013,7 @@ var lang_en = {
|
|
3959
4013
|
new_subject: new_subject$1,
|
3960
4014
|
subjects: subjects$1,
|
3961
4015
|
subject: subject$1,
|
4016
|
+
korean_subject: korean_subject$1,
|
3962
4017
|
textbooks: textbooks$1,
|
3963
4018
|
exam_list: exam_list$1,
|
3964
4019
|
textbook_title: textbook_title$1,
|
@@ -4589,6 +4644,7 @@ var lang_en = {
|
|
4589
4644
|
page_to_required: page_to_required$1,
|
4590
4645
|
page_to_must_be_greater_than_or_equal_to_page_from: page_to_must_be_greater_than_or_equal_to_page_from$1,
|
4591
4646
|
chapter: chapter$1,
|
4647
|
+
korean_chapter: korean_chapter$1,
|
4592
4648
|
chapter_number: chapter_number$1,
|
4593
4649
|
category_required: category_required$1,
|
4594
4650
|
subject_required: subject_required$1,
|
@@ -4728,9 +4784,11 @@ var lang_en = {
|
|
4728
4784
|
are_you_sure_you_want_to_delete_the_question_group: are_you_sure_you_want_to_delete_the_question_group$1,
|
4729
4785
|
textbook: textbook$1,
|
4730
4786
|
question_group: question_group$1,
|
4787
|
+
korean_question_group: korean_question_group$1,
|
4731
4788
|
group_n: group_n$1,
|
4732
4789
|
sub_category: sub_category$1,
|
4733
4790
|
article_n: article_n$1,
|
4791
|
+
korean_article_n: korean_article_n$1,
|
4734
4792
|
math: math$1,
|
4735
4793
|
korea: korea$1,
|
4736
4794
|
fix_this_information_for_this_book: fix_this_information_for_this_book$1,
|
@@ -4801,7 +4859,17 @@ var lang_en = {
|
|
4801
4859
|
start_order: start_order$1,
|
4802
4860
|
student_notice_notes: student_notice_notes$1,
|
4803
4861
|
note: note$1,
|
4804
|
-
student_parents: student_parents$1
|
4862
|
+
student_parents: student_parents$1,
|
4863
|
+
today_specific_class: today_specific_class$1,
|
4864
|
+
n_lesson: n_lesson$1,
|
4865
|
+
exam_results: exam_results$1,
|
4866
|
+
textbook_results: textbook_results$1,
|
4867
|
+
order_matters: order_matters$1,
|
4868
|
+
order_does_not_matter: order_does_not_matter$1,
|
4869
|
+
synonym_processing: synonym_processing$1,
|
4870
|
+
compare_type: compare_type$1,
|
4871
|
+
textbook_name: textbook_name$1,
|
4872
|
+
korean_language: korean_language$1
|
4805
4873
|
};
|
4806
4874
|
|
4807
4875
|
i18n.use(initReactI18next).init({
|
@@ -10135,12 +10203,12 @@ var MathTinyEditor = function MathTinyEditor(_ref) {
|
|
10135
10203
|
};
|
10136
10204
|
|
10137
10205
|
var TinyEditor = function TinyEditor(_ref) {
|
10138
|
-
var
|
10139
|
-
_ref$disabled = _ref.disabled,
|
10206
|
+
var _ref$disabled = _ref.disabled,
|
10140
10207
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
10141
10208
|
onChange = _ref.onChange,
|
10142
10209
|
initValue = _ref.initValue,
|
10143
10210
|
config = _ref.config;
|
10211
|
+
var isFirstChange = useRef(true);
|
10144
10212
|
useEffect(function () {
|
10145
10213
|
if (window.tinymce) {
|
10146
10214
|
window.tinymce = tinymce;
|
@@ -10149,20 +10217,24 @@ var TinyEditor = function TinyEditor(_ref) {
|
|
10149
10217
|
var options = {
|
10150
10218
|
height: 150,
|
10151
10219
|
menubar: false,
|
10152
|
-
|
10153
|
-
|
10154
|
-
|
10155
|
-
plugins: ['anchor', 'autolink', 'charmap', 'codesample', 'emoticons', 'image', 'link', 'lists', 'media', 'searchreplace', 'table', 'visualblocks', 'wordcount', 'checklist', 'mediaembed', 'casechange', 'export', 'formatpainter', 'pageembed', 'a11ychecker', 'tinymcespellchecker', 'permanentpen', 'powerpaste', 'advtable', 'advcode', 'editimage', 'advtemplate', 'ai', 'mentions', 'tinycomments', 'tableofcontents', 'footnotes', 'mergetags', 'autocorrect', 'typography', 'inlinecss', 'markdown', 'importword', 'exportword', 'exportpdf'],
|
10156
|
-
toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat tiny_mce_wiris_formulaEditor tiny_mce_wiris_formulaEditorChemistry',
|
10220
|
+
readonly: false,
|
10221
|
+
plugins: ['anchor', 'autolink', 'charmap', 'codesample', 'emoticons', 'image', 'link', 'lists', 'media', 'searchreplace', 'table', 'visualblocks', 'wordcount'],
|
10222
|
+
toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat',
|
10157
10223
|
branding: false,
|
10158
10224
|
extended_valid_elements: '*[.*]'
|
10159
10225
|
};
|
10226
|
+
var handleChange = function handleChange(value, _) {
|
10227
|
+
if (isFirstChange.current) {
|
10228
|
+
isFirstChange.current = false;
|
10229
|
+
return;
|
10230
|
+
}
|
10231
|
+
onChange(value);
|
10232
|
+
};
|
10160
10233
|
return React__default.createElement(Editor, {
|
10161
|
-
ref: ref,
|
10162
10234
|
disabled: disabled,
|
10163
10235
|
init: config || options,
|
10164
10236
|
initialValue: initValue,
|
10165
|
-
|
10237
|
+
onEditorChange: handleChange
|
10166
10238
|
});
|
10167
10239
|
};
|
10168
10240
|
|
@@ -27332,9 +27404,8 @@ var NotificationForm = function NotificationForm(_ref) {
|
|
27332
27404
|
var handleChangeType = function handleChangeType(e) {
|
27333
27405
|
formikProp.setFieldValue("type", e === null || e === void 0 ? void 0 : e.value);
|
27334
27406
|
};
|
27335
|
-
var onChangeTextEditor = function onChangeTextEditor(
|
27336
|
-
|
27337
|
-
formikProp.setFieldValue("content", content);
|
27407
|
+
var onChangeTextEditor = function onChangeTextEditor(value) {
|
27408
|
+
formikProp.setFieldValue("content", value);
|
27338
27409
|
};
|
27339
27410
|
var onchangeClass = function onchangeClass(e) {
|
27340
27411
|
setClassOptions(e);
|
@@ -28518,7 +28589,8 @@ var isSequentialQuestionGroups = function isSequentialQuestionGroups(questionGro
|
|
28518
28589
|
|
28519
28590
|
var _ = _$6;
|
28520
28591
|
var ArticleBlock = function ArticleBlock(_ref) {
|
28521
|
-
var
|
28592
|
+
var isMath = _ref.isMath,
|
28593
|
+
errors = _ref.errors,
|
28522
28594
|
expandedIndex = _ref.expandedIndex,
|
28523
28595
|
data = _ref.data,
|
28524
28596
|
categories = _ref.categories,
|
@@ -28534,7 +28606,7 @@ var ArticleBlock = function ArticleBlock(_ref) {
|
|
28534
28606
|
onCloseCategoryMenu = _ref.onCloseCategoryMenu;
|
28535
28607
|
var _useTranslation = useTranslation(),
|
28536
28608
|
t = _useTranslation.t;
|
28537
|
-
var title = t("article_n", {
|
28609
|
+
var title = t(isMath ? "article_n" : "korean_article_n", {
|
28538
28610
|
n: expandedIndex + 1
|
28539
28611
|
});
|
28540
28612
|
var handleClickDeleteArticle = function handleClickDeleteArticle(e) {
|
@@ -28617,7 +28689,7 @@ var ArticleBlock = function ArticleBlock(_ref) {
|
|
28617
28689
|
}, React__default.createElement(FormLabel, {
|
28618
28690
|
htmlFor: "category",
|
28619
28691
|
className: "form-label"
|
28620
|
-
}, t("category")), React__default.createElement(Field, {
|
28692
|
+
}, t(isMath ? "category" : "korean_category")), React__default.createElement(Field, {
|
28621
28693
|
name: path + ".categories[0]",
|
28622
28694
|
render: function render() {
|
28623
28695
|
var _data$categoryOptions2;
|
@@ -28660,7 +28732,7 @@ var ArticleBlock = function ArticleBlock(_ref) {
|
|
28660
28732
|
}, React__default.createElement(FormLabel, {
|
28661
28733
|
htmlFor: "category",
|
28662
28734
|
className: "form-label"
|
28663
|
-
}, t("sub_category")), React__default.createElement(Field, {
|
28735
|
+
}, t(isMath ? "sub_category" : "korean_subcategory")), React__default.createElement(Field, {
|
28664
28736
|
name: path + ".categories[1]",
|
28665
28737
|
render: function render() {
|
28666
28738
|
var _data$categoryOptions3;
|
@@ -28738,7 +28810,7 @@ var ArticleBlock = function ArticleBlock(_ref) {
|
|
28738
28810
|
}, React__default.createElement(FormLabel, {
|
28739
28811
|
htmlFor: "tag",
|
28740
28812
|
className: "form-label"
|
28741
|
-
}, t("subject")), React__default.createElement(Field, {
|
28813
|
+
}, t(isMath ? "subject" : "korean_subject")), React__default.createElement(Field, {
|
28742
28814
|
name: path + ".tag",
|
28743
28815
|
render: function render(_ref4) {
|
28744
28816
|
var field = _ref4.field;
|
@@ -28778,7 +28850,7 @@ var isEqual = function isEqual(prev, next) {
|
|
28778
28850
|
var nextCategories = isNextMatched ? next.categories : undefined;
|
28779
28851
|
var prevCategoryError = _.get(prev.errors, prev.path + ".categories");
|
28780
28852
|
var nextCategoryError = _.get(next.errors, next.path + ".categories");
|
28781
|
-
return prevOptionKey === nextOptionKey && prevIsLoadingCategories === nextIsLoadingCategories && JSON.stringify(prev.data) === JSON.stringify(next.data) && JSON.stringify(prevCategories) === JSON.stringify(nextCategories) && prev.path === next.path && prev.expandedIndex == next.expandedIndex && prev.disabled === next.disabled && prev.onOpenCategoryMenu == next.onOpenCategoryMenu && prev.onOpenSubCategoryMenu == next.onOpenSubCategoryMenu && prevCategoryError === nextCategoryError;
|
28853
|
+
return prevOptionKey === nextOptionKey && prevIsLoadingCategories === nextIsLoadingCategories && JSON.stringify(prev.data) === JSON.stringify(next.data) && JSON.stringify(prevCategories) === JSON.stringify(nextCategories) && prev.path === next.path && prev.expandedIndex == next.expandedIndex && prev.disabled === next.disabled && prev.isMath === next.isMath && prev.onOpenCategoryMenu == next.onOpenCategoryMenu && prev.onOpenSubCategoryMenu == next.onOpenSubCategoryMenu && prevCategoryError === nextCategoryError;
|
28782
28854
|
};
|
28783
28855
|
var ArticleBlock$1 = memo(ArticleBlock, isEqual);
|
28784
28856
|
|
@@ -29135,6 +29207,7 @@ var QuestionGroupBlockBody = function QuestionGroupBlockBody(_ref) {
|
|
29135
29207
|
render: function render(article, index) {
|
29136
29208
|
return React__default.createElement(ArticleBlock$1, Object.assign({
|
29137
29209
|
key: index,
|
29210
|
+
isMath: isMath,
|
29138
29211
|
expandedIndex: index,
|
29139
29212
|
data: article,
|
29140
29213
|
path: path + ".articles[" + index + "]",
|
@@ -29159,7 +29232,7 @@ var QuestionGroupBlockBody = function QuestionGroupBlockBody(_ref) {
|
|
29159
29232
|
onClick: function onClick() {
|
29160
29233
|
arrayHelpers.push(DEFAULT_ARTICLE);
|
29161
29234
|
}
|
29162
|
-
}, t$1("article")))), React__default.createElement(Stack, {
|
29235
|
+
}, t$1(isMath ? "article" : "korean_article")))), React__default.createElement(Stack, {
|
29163
29236
|
gap: 1,
|
29164
29237
|
direction: "column"
|
29165
29238
|
}, React__default.createElement(Box, null, React__default.createElement(FormControl, {
|
@@ -29901,7 +29974,7 @@ var ChapterBlockBody = function ChapterBlockBody(_ref) {
|
|
29901
29974
|
arrayHelpers.push(addedGroup);
|
29902
29975
|
handleToggle(length);
|
29903
29976
|
}
|
29904
|
-
}, t("question_group"))));
|
29977
|
+
}, t(isMath ? "question_group" : "korean_question_group"))));
|
29905
29978
|
}
|
29906
29979
|
}));
|
29907
29980
|
};
|
@@ -30608,7 +30681,7 @@ var TextbookContentsTab = function TextbookContentsTab(props) {
|
|
30608
30681
|
arrayHelpers.push(DEFAULT_CHAPTER);
|
30609
30682
|
handleToggleBlock(length);
|
30610
30683
|
}
|
30611
|
-
}, t("chapter"))));
|
30684
|
+
}, t(isMath ? "chapter" : "korean_chapter"))));
|
30612
30685
|
}
|
30613
30686
|
}), (openConfirmDelete === null || openConfirmDelete === void 0 ? void 0 : openConfirmDelete.text) && React__default.createElement(ConfirmDialog, {
|
30614
30687
|
open: !!openConfirmDelete,
|
@@ -31322,12 +31395,12 @@ var PreparedTextbookForm = function PreparedTextbookForm(_ref) {
|
|
31322
31395
|
gap: 1
|
31323
31396
|
}, React__default.createElement("label", {
|
31324
31397
|
htmlFor: "name"
|
31325
|
-
}, t$1("
|
31398
|
+
}, t$1("textbook_name")), React__default.createElement(Field, {
|
31326
31399
|
name: "name",
|
31327
31400
|
render: function render(_ref2) {
|
31328
31401
|
var field = _ref2.field;
|
31329
31402
|
return React__default.createElement(TextField, Object.assign({
|
31330
|
-
placeholder: t$1("
|
31403
|
+
placeholder: t$1("textbook_name")
|
31331
31404
|
}, field, {
|
31332
31405
|
size: "small",
|
31333
31406
|
disabled: disabled,
|
@@ -31345,7 +31418,7 @@ var PreparedTextbookForm = function PreparedTextbookForm(_ref) {
|
|
31345
31418
|
minWidth: "240px"
|
31346
31419
|
}, React__default.createElement("label", {
|
31347
31420
|
htmlFor: "subjectId"
|
31348
|
-
}, t$1("
|
31421
|
+
}, t$1("textbook_subject")), React__default.createElement(Field, {
|
31349
31422
|
name: "subjectId",
|
31350
31423
|
render: function render(_ref3) {
|
31351
31424
|
var field = _ref3.field;
|