@tinyweb_dev/oe-exam-sdk 0.1.20 → 0.1.24

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.
Files changed (87) hide show
  1. package/README.md +4 -5
  2. package/dist/api/result-review.types.d.ts +1 -0
  3. package/dist/components/exams/ExamPreviewDialog.d.ts +6 -7
  4. package/dist/components/exams/ExamPreviewDialog.js +1 -1
  5. package/dist/components/exams/ExamPreviewPartContent.d.ts +18 -0
  6. package/dist/components/exams/ExamPreviewPartContent.js +1 -0
  7. package/dist/components/exams/ExamPreviewSidebar.d.ts +17 -0
  8. package/dist/components/exams/ExamPreviewSidebar.js +1 -0
  9. package/dist/components/exams/exam-preview.types.d.ts +34 -0
  10. package/dist/components/exams/exam-preview.types.js +1 -0
  11. package/dist/components/exams/index.d.ts +1 -0
  12. package/dist/components/exams/take/components/question-renderers/MoversChooseBestAnswerRenderer.js +1 -1
  13. package/dist/components/exams/take/components/question-renderers/MoversListenAndWriteRenderer.js +1 -1
  14. package/dist/components/exams/take/components/question-renderers/MoversWordFillStructuredFormRenderer.js +1 -1
  15. package/dist/components/exams/take/components/question-renderers/MoversWritingRenderer.js +1 -1
  16. package/dist/components/exams/take/exam-taking.utils.d.ts +13 -0
  17. package/dist/components/exams/take/exam-taking.utils.js +1 -1
  18. package/dist/components/exams/take/types.d.ts +3 -0
  19. package/dist/components/exams/take/utils/question-transformers.d.ts +16 -1
  20. package/dist/components/exams/take/utils/question-transformers.js +1 -1
  21. package/dist/components/questions/_shared/types/word-fill-structured-form.type.d.ts +25 -0
  22. package/dist/components/questions/_shared/utils/parseFillBlankStem.d.ts +30 -0
  23. package/dist/components/questions/_shared/utils/parseFillBlankStem.js +1 -0
  24. package/dist/components/questions/index.d.ts +1 -0
  25. package/dist/components/questions/index.js +1 -1
  26. package/dist/components/questions/question-bank/EditQuestionBankDialog.d.ts +2 -0
  27. package/dist/components/questions/question-bank/EditQuestionBankDialog.js +1 -0
  28. package/dist/components/questions/question-bank/QuestionEditorRenderer.d.ts +23 -0
  29. package/dist/components/questions/question-bank/QuestionEditorRenderer.js +1 -0
  30. package/dist/components/questions/question-bank/difficulty.d.ts +15 -0
  31. package/dist/components/questions/question-bank/difficulty.js +1 -0
  32. package/dist/components/questions/question-bank/editor-adapters/choice-adapters.d.ts +5 -0
  33. package/dist/components/questions/question-bank/editor-adapters/choice-adapters.js +1 -0
  34. package/dist/components/questions/question-bank/editor-adapters/index.d.ts +5 -0
  35. package/dist/components/questions/question-bank/editor-adapters/index.js +1 -0
  36. package/dist/components/questions/question-bank/editor-adapters/media-adapters.d.ts +6 -0
  37. package/dist/components/questions/question-bank/editor-adapters/media-adapters.js +1 -0
  38. package/dist/components/questions/question-bank/editor-adapters/types.d.ts +1 -0
  39. package/dist/components/questions/question-bank/editor-adapters/types.js +1 -0
  40. package/dist/components/questions/question-bank/editor-adapters/unsupported-fallback.d.ts +8 -0
  41. package/dist/components/questions/question-bank/editor-adapters/unsupported-fallback.js +1 -0
  42. package/dist/components/questions/question-bank/editor-adapters/writing-adapters.d.ts +5 -0
  43. package/dist/components/questions/question-bank/editor-adapters/writing-adapters.js +1 -0
  44. package/dist/components/questions/question-bank/index.d.ts +4 -0
  45. package/dist/components/questions/question-bank/index.js +1 -0
  46. package/dist/components/questions/question-bank/types.d.ts +59 -0
  47. package/dist/components/questions/question-bank/types.js +1 -0
  48. package/dist/components/questions/types/choose-the-correct-answer/ChooseTheCorrectAnswerCreator.js +1 -1
  49. package/dist/components/questions/types/choose-the-correct-answer/index.d.ts +1 -0
  50. package/dist/components/questions/types/choose-the-correct-answer/index.js +1 -1
  51. package/dist/components/questions/types/choose-the-correct-answer/normalize.d.ts +27 -0
  52. package/dist/components/questions/types/choose-the-correct-answer/normalize.js +1 -0
  53. package/dist/components/questions/types/choose-the-correct-answer/register.js +1 -1
  54. package/dist/components/questions/types/fill-in-blank/FillInBlankCreator.js +1 -1
  55. package/dist/components/questions/types/fill-in-blank/register.js +1 -1
  56. package/dist/components/questions/types/fill-in-blank/transform.js +1 -1
  57. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.d.ts +1 -1
  58. package/dist/components/questions/types/word-fill-structured-form/WordFillStructuredFormClient.js +1 -1
  59. package/dist/components/questions/types/word-fill-structured-form/transform.js +1 -1
  60. package/dist/components/questions/viewer/QuestionViewer.js +1 -1
  61. package/dist/components/results/review-data.js +1 -1
  62. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.d.ts +2 -1
  63. package/dist/components/themes/cambridge-yle/CambridgeYleAudioPlayer.js +1 -1
  64. package/dist/components/themes/english-certification/EcWordFillStructuredForm.js +1 -1
  65. package/dist/index.d.ts +2 -1
  66. package/dist/index.js +1 -1
  67. package/dist/shared/lib/i18n/messages/en/admin.d.ts +11 -4
  68. package/dist/shared/lib/i18n/messages/en/admin.js +1 -1
  69. package/dist/shared/lib/i18n/messages/en.d.ts +11 -4
  70. package/dist/shared/lib/i18n/messages/vi/admin.d.ts +11 -4
  71. package/dist/shared/lib/i18n/messages/vi/admin.js +1 -1
  72. package/dist/shared/lib/i18n/messages/vi.d.ts +11 -4
  73. package/package.json +163 -163
  74. package/dist/mcp/config.d.ts +0 -12
  75. package/dist/mcp/config.js +0 -1
  76. package/dist/mcp/http-client.d.ts +0 -6
  77. package/dist/mcp/http-client.js +0 -1
  78. package/dist/mcp/index.d.ts +0 -6
  79. package/dist/mcp/index.js +0 -2
  80. package/dist/mcp/tools/_helpers.d.ts +0 -4
  81. package/dist/mcp/tools/_helpers.js +0 -1
  82. package/dist/mcp/tools/exams.d.ts +0 -2
  83. package/dist/mcp/tools/exams.js +0 -1
  84. package/dist/mcp/tools/index.d.ts +0 -2
  85. package/dist/mcp/tools/index.js +0 -1
  86. package/dist/mcp/tools/results.d.ts +0 -2
  87. package/dist/mcp/tools/results.js +0 -1
@@ -275,6 +275,12 @@ declare const en: {
275
275
  readonly 'admin.questionBank.dialog.edit.save': "Save changes";
276
276
  readonly 'admin.questionBank.dialog.edit.codeError': "Please enter question code";
277
277
  readonly 'admin.questionBank.dialog.edit.titleError': "Please enter title";
278
+ readonly 'admin.questionBank.dialog.edit.loading': "Loading...";
279
+ readonly 'admin.questionBank.dialog.edit.unsupportedNote': "Note:";
280
+ readonly 'admin.questionBank.dialog.edit.unsupportedType': "Question type \"{type}\" is not editable in this UI. Please use the exam creator to edit this question.";
281
+ readonly 'admin.questionBank.dialog.edit.contentLabel': "Question content";
282
+ readonly 'admin.questionBank.dialog.edit.answerLabel': "Correct answer";
283
+ readonly 'admin.questionBank.dialog.edit.explanationLabel': "Explanation";
278
284
  readonly 'admin.questionBank.dialog.delete.title': "Confirm Delete Question";
279
285
  readonly 'admin.questionBank.dialog.delete.message': "Are you sure you want to delete question";
280
286
  readonly 'admin.questionBank.dialog.delete.warning': "This action cannot be undone.";
@@ -1544,9 +1550,6 @@ declare const en: {
1544
1550
  readonly 'admin.exams.shuffle.info3': "Questions within the same Part are randomly shuffled";
1545
1551
  readonly 'admin.exams.shuffle.info4': "Variants are linked to the parent exam for management";
1546
1552
  readonly 'admin.exams.shuffle.countLabel': "Number of variants to create";
1547
- readonly 'admin.exams.shuffle.strategyLabel': "Existing exam handling option";
1548
- readonly 'admin.exams.shuffle.keepOld': "Keep existing exams and add new ones";
1549
- readonly 'admin.exams.shuffle.replaceAll': "Create a completely new set";
1550
1553
  readonly 'admin.exams.shuffle.existingVariants': "Existing exams ({count})";
1551
1554
  readonly 'admin.exams.shuffle.deleteAll': "Delete all ({count})";
1552
1555
  readonly 'admin.exams.shuffle.loading': "Loading...";
@@ -1637,21 +1640,25 @@ declare const en: {
1637
1640
  readonly 'admin.exams.preview.totalPoints': "Total Points:";
1638
1641
  readonly 'admin.exams.preview.progress': "Progress";
1639
1642
  readonly 'admin.exams.preview.loading': "Loading...";
1640
- readonly 'admin.exams.preview.questionNavigation': "Question Navigation";
1643
+ readonly 'admin.exams.preview.questionNavigation': "Part Navigation";
1641
1644
  readonly 'admin.exams.preview.all': "All";
1642
1645
  readonly 'admin.exams.preview.allQuestions': "All {count} questions";
1643
1646
  readonly 'admin.exams.preview.partQuestions': "Part {part}: {count} questions";
1644
1647
  readonly 'admin.exams.preview.collapse': "Collapse";
1645
1648
  readonly 'admin.exams.preview.detail': "Details";
1646
1649
  readonly 'admin.exams.preview.questionIndex': "Question {index} / {total}";
1650
+ readonly 'admin.exams.preview.partIndex': "Part {index} / {total}";
1647
1651
  readonly 'admin.exams.preview.noQuestions': "No questions yet";
1648
1652
  readonly 'admin.exams.preview.loadingQuestions': "Loading questions...";
1649
1653
  readonly 'admin.exams.preview.retry': "Retry";
1650
1654
  readonly 'admin.exams.preview.examNoQuestions': "This exam has no questions yet.";
1651
1655
  readonly 'admin.exams.preview.prevQuestion': "Previous Question";
1656
+ readonly 'admin.exams.preview.prevPart': "Previous Part";
1652
1657
  readonly 'admin.exams.preview.prev': "Prev";
1653
1658
  readonly 'admin.exams.preview.nextQuestion': "Next Question";
1659
+ readonly 'admin.exams.preview.nextPart': "Next Part";
1654
1660
  readonly 'admin.exams.preview.next': "Next";
1661
+ readonly 'admin.exams.preview.questionLabel': "Question {number}";
1655
1662
  readonly 'admin.exams.preview.footerNote': "This is a preview mode to check the layout and content of the exam.";
1656
1663
  readonly 'admin.exams.preview.close': "Close";
1657
1664
  readonly 'admin.exams.preview.loadError': "Unable to load questions. Please try again.";
@@ -118,6 +118,12 @@ declare const admin: {
118
118
  readonly 'admin.questionBank.dialog.edit.save': "Lưu thay đổi";
119
119
  readonly 'admin.questionBank.dialog.edit.codeError': "Vui lòng nhập mã câu hỏi";
120
120
  readonly 'admin.questionBank.dialog.edit.titleError': "Vui lòng nhập tiêu đề";
121
+ readonly 'admin.questionBank.dialog.edit.loading': "Đang tải...";
122
+ readonly 'admin.questionBank.dialog.edit.unsupportedNote': "Lưu ý:";
123
+ readonly 'admin.questionBank.dialog.edit.unsupportedType': "Loại câu hỏi \"{type}\" chưa hỗ trợ chỉnh sửa trực tiếp trong giao diện này. Vui lòng sử dụng trang tạo đề thi để chỉnh sửa câu hỏi này.";
124
+ readonly 'admin.questionBank.dialog.edit.contentLabel': "Nội dung câu hỏi";
125
+ readonly 'admin.questionBank.dialog.edit.answerLabel': "Đáp án đúng";
126
+ readonly 'admin.questionBank.dialog.edit.explanationLabel': "Giải thích";
121
127
  readonly 'admin.questionBank.dialog.delete.title': "Xác nhận xóa câu hỏi";
122
128
  readonly 'admin.questionBank.dialog.delete.message': "Bạn có chắc chắn muốn xóa câu hỏi";
123
129
  readonly 'admin.questionBank.dialog.delete.warning': "Hành động này không thể hoàn tác.";
@@ -1387,9 +1393,6 @@ declare const admin: {
1387
1393
  readonly 'admin.exams.shuffle.info3': "Các câu hỏi trong cùng 1 Part được xáo trộn ngẫu nhiên";
1388
1394
  readonly 'admin.exams.shuffle.info4': "Các đề thi con được liên kết với đề thi cha để quản lý";
1389
1395
  readonly 'admin.exams.shuffle.countLabel': "Số lượng đề thi con muốn tạo";
1390
- readonly 'admin.exams.shuffle.strategyLabel': "Lựa chọn xử lý đề thi cũ";
1391
- readonly 'admin.exams.shuffle.keepOld': "Giữ lại các đề thi cũ và thêm đề mới";
1392
- readonly 'admin.exams.shuffle.replaceAll': "Tạo bộ đề mới hoàn toàn";
1393
1396
  readonly 'admin.exams.shuffle.existingVariants': "Đề thi đã có ({count})";
1394
1397
  readonly 'admin.exams.shuffle.deleteAll': "Xóa tất cả ({count})";
1395
1398
  readonly 'admin.exams.shuffle.loading': "Đang tải...";
@@ -1480,21 +1483,25 @@ declare const admin: {
1480
1483
  readonly 'admin.exams.preview.totalPoints': "Tổng điểm:";
1481
1484
  readonly 'admin.exams.preview.progress': "Tiến độ";
1482
1485
  readonly 'admin.exams.preview.loading': "Đang tải...";
1483
- readonly 'admin.exams.preview.questionNavigation': "Điều hướng câu hỏi";
1486
+ readonly 'admin.exams.preview.questionNavigation': "Điều hướng Part";
1484
1487
  readonly 'admin.exams.preview.all': "Tất cả";
1485
1488
  readonly 'admin.exams.preview.allQuestions': "Tất cả {count} câu hỏi";
1486
1489
  readonly 'admin.exams.preview.partQuestions': "Part {part}: {count} câu";
1487
1490
  readonly 'admin.exams.preview.collapse': "Thu gọn";
1488
1491
  readonly 'admin.exams.preview.detail': "Chi tiết";
1489
1492
  readonly 'admin.exams.preview.questionIndex': "Câu hỏi {index} / {total}";
1493
+ readonly 'admin.exams.preview.partIndex': "Part {index} / {total}";
1490
1494
  readonly 'admin.exams.preview.noQuestions': "Chưa có câu hỏi";
1491
1495
  readonly 'admin.exams.preview.loadingQuestions': "Đang tải câu hỏi...";
1492
1496
  readonly 'admin.exams.preview.retry': "Thử lại";
1493
1497
  readonly 'admin.exams.preview.examNoQuestions': "Đề thi này chưa có câu hỏi nào.";
1494
1498
  readonly 'admin.exams.preview.prevQuestion': "Câu trước";
1499
+ readonly 'admin.exams.preview.prevPart': "Part trước";
1495
1500
  readonly 'admin.exams.preview.prev': "Trước";
1496
1501
  readonly 'admin.exams.preview.nextQuestion': "Câu tiếp theo";
1502
+ readonly 'admin.exams.preview.nextPart': "Part tiếp theo";
1497
1503
  readonly 'admin.exams.preview.next': "Tiếp";
1504
+ readonly 'admin.exams.preview.questionLabel': "Câu {number}";
1498
1505
  readonly 'admin.exams.preview.footerNote': "Đây là chế độ xem trước để kiểm tra bố cục và nội dung đề thi.";
1499
1506
  readonly 'admin.exams.preview.close': "Đóng";
1500
1507
  readonly 'admin.exams.preview.loadError': "Không thể tải câu hỏi. Vui lòng thử lại.";