@thanh01.pmt/interactive-quiz-kit 1.0.30 → 1.0.32

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 (502) hide show
  1. package/dist/ai-ecosystem-D6vuLxnS.d.ts +228 -0
  2. package/dist/ai-ecosystem-DCPvHU4-.d.cts +228 -0
  3. package/dist/ai.d.cts +2017 -0
  4. package/dist/ai.d.ts +2017 -40
  5. package/dist/authoring.d.cts +11 -0
  6. package/dist/authoring.d.ts +11 -6
  7. package/dist/index.d.cts +444 -0
  8. package/dist/index.d.ts +444 -31
  9. package/dist/player.d.cts +13 -0
  10. package/dist/player.d.ts +3 -2
  11. package/dist/quiz-config-Df_89hFx.d.cts +198 -0
  12. package/dist/quiz-config-Df_89hFx.d.ts +198 -0
  13. package/dist/react-ui.d.cts +206 -0
  14. package/dist/react-ui.d.ts +206 -58
  15. package/dist/toaster-Blf5k3DP.d.cts +132 -0
  16. package/dist/toaster-BrChkQ23.d.ts +132 -0
  17. package/package.json +1 -1
  18. package/dist/ai/dev.d.ts +0 -16
  19. package/dist/ai/dev.d.ts.map +0 -1
  20. package/dist/ai/flows/ask-tutor-chat-types.d.ts +0 -67
  21. package/dist/ai/flows/ask-tutor-chat-types.d.ts.map +0 -1
  22. package/dist/ai/flows/ask-tutor-chat.d.ts +0 -3
  23. package/dist/ai/flows/ask-tutor-chat.d.ts.map +0 -1
  24. package/dist/ai/flows/assess-and-map-document-types.d.ts +0 -80
  25. package/dist/ai/flows/assess-and-map-document-types.d.ts.map +0 -1
  26. package/dist/ai/flows/assess-and-map-document.d.ts +0 -3
  27. package/dist/ai/flows/assess-and-map-document.d.ts.map +0 -1
  28. package/dist/ai/flows/evaluate-user-code-types.d.ts +0 -49
  29. package/dist/ai/flows/evaluate-user-code-types.d.ts.map +0 -1
  30. package/dist/ai/flows/evaluate-user-code.d.ts +0 -3
  31. package/dist/ai/flows/evaluate-user-code.d.ts.map +0 -1
  32. package/dist/ai/flows/generate-learning-analysis-types.d.ts +0 -200
  33. package/dist/ai/flows/generate-learning-analysis-types.d.ts.map +0 -1
  34. package/dist/ai/flows/generate-learning-analysis.d.ts +0 -4
  35. package/dist/ai/flows/generate-learning-analysis.d.ts.map +0 -1
  36. package/dist/ai/flows/generate-motivational-quote.d.ts +0 -3
  37. package/dist/ai/flows/generate-motivational-quote.d.ts.map +0 -1
  38. package/dist/ai/flows/generate-practice-quiz.d.ts +0 -76
  39. package/dist/ai/flows/generate-practice-quiz.d.ts.map +0 -1
  40. package/dist/ai/flows/generate-practice-suggestion.d.ts +0 -149
  41. package/dist/ai/flows/generate-practice-suggestion.d.ts.map +0 -1
  42. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts +0 -122
  43. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts.map +0 -1
  44. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts +0 -3
  45. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts.map +0 -1
  46. package/dist/ai/flows/generate-quiz-from-text-types.d.ts +0 -358
  47. package/dist/ai/flows/generate-quiz-from-text-types.d.ts.map +0 -1
  48. package/dist/ai/flows/generate-quiz-from-text.d.ts +0 -3
  49. package/dist/ai/flows/generate-quiz-from-text.d.ts.map +0 -1
  50. package/dist/ai/flows/generate-quiz-plan-types.d.ts +0 -272
  51. package/dist/ai/flows/generate-quiz-plan-types.d.ts.map +0 -1
  52. package/dist/ai/flows/generate-quiz-plan.d.ts +0 -12
  53. package/dist/ai/flows/generate-quiz-plan.d.ts.map +0 -1
  54. package/dist/ai/flows/generate-quiz-review.d.ts +0 -3
  55. package/dist/ai/flows/generate-quiz-review.d.ts.map +0 -1
  56. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts +0 -34
  57. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts.map +0 -1
  58. package/dist/ai/flows/generate-single-knowledge-card.d.ts +0 -3
  59. package/dist/ai/flows/generate-single-knowledge-card.d.ts.map +0 -1
  60. package/dist/ai/flows/motivational-quote-types.d.ts +0 -30
  61. package/dist/ai/flows/motivational-quote-types.d.ts.map +0 -1
  62. package/dist/ai/flows/plan-knowledge-cards-types.d.ts +0 -24
  63. package/dist/ai/flows/plan-knowledge-cards-types.d.ts.map +0 -1
  64. package/dist/ai/flows/plan-knowledge-cards.d.ts +0 -3
  65. package/dist/ai/flows/plan-knowledge-cards.d.ts.map +0 -1
  66. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts +0 -133
  67. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts.map +0 -1
  68. package/dist/ai/flows/question-gen/generate-coding-question.d.ts +0 -3
  69. package/dist/ai/flows/question-gen/generate-coding-question.d.ts.map +0 -1
  70. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts +0 -142
  71. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts.map +0 -1
  72. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts +0 -3
  73. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts.map +0 -1
  74. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts +0 -137
  75. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts.map +0 -1
  76. package/dist/ai/flows/question-gen/generate-matching-question.d.ts +0 -3
  77. package/dist/ai/flows/question-gen/generate-matching-question.d.ts.map +0 -1
  78. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts +0 -137
  79. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts.map +0 -1
  80. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts +0 -3
  81. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts.map +0 -1
  82. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts +0 -143
  83. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts.map +0 -1
  84. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts +0 -3
  85. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts.map +0 -1
  86. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts +0 -131
  87. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts.map +0 -1
  88. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts +0 -3
  89. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts.map +0 -1
  90. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts +0 -119
  91. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts.map +0 -1
  92. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts +0 -3
  93. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts.map +0 -1
  94. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts +0 -119
  95. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts.map +0 -1
  96. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts +0 -3
  97. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts.map +0 -1
  98. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts +0 -115
  99. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts.map +0 -1
  100. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts +0 -3
  101. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts.map +0 -1
  102. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts +0 -1027
  103. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts.map +0 -1
  104. package/dist/ai/flows/review-types.d.ts +0 -79
  105. package/dist/ai/flows/review-types.d.ts.map +0 -1
  106. package/dist/ai/flows/shared-schemas.d.ts +0 -133
  107. package/dist/ai/flows/shared-schemas.d.ts.map +0 -1
  108. package/dist/ai/genkit.d.ts +0 -2
  109. package/dist/ai/genkit.d.ts.map +0 -1
  110. package/dist/ai.d.ts.map +0 -1
  111. package/dist/authoring.d.ts.map +0 -1
  112. package/dist/i18n.d.ts +0 -3
  113. package/dist/i18n.d.ts.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/player.d.ts.map +0 -1
  116. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts +0 -8
  117. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts.map +0 -1
  118. package/dist/react-ui/components/app/AppController.d.ts +0 -3
  119. package/dist/react-ui/components/app/AppController.d.ts.map +0 -1
  120. package/dist/react-ui/components/app/ManageImageContexts.d.ts +0 -3
  121. package/dist/react-ui/components/app/ManageImageContexts.d.ts.map +0 -1
  122. package/dist/react-ui/components/app/ManageTopics.d.ts +0 -3
  123. package/dist/react-ui/components/app/ManageTopics.d.ts.map +0 -1
  124. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts +0 -3
  125. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts.map +0 -1
  126. package/dist/react-ui/components/app/SettingsModal.d.ts +0 -10
  127. package/dist/react-ui/components/app/SettingsModal.d.ts.map +0 -1
  128. package/dist/react-ui/components/app/UploadResourceModal.d.ts +0 -8
  129. package/dist/react-ui/components/app/UploadResourceModal.d.ts.map +0 -1
  130. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts +0 -11
  131. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts.map +0 -1
  132. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts +0 -19
  133. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts.map +0 -1
  134. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts +0 -9
  135. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts.map +0 -1
  136. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts +0 -9
  137. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts.map +0 -1
  138. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts +0 -9
  139. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts.map +0 -1
  140. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts +0 -11
  141. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts.map +0 -1
  142. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts +0 -9
  143. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts.map +0 -1
  144. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts +0 -9
  145. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts.map +0 -1
  146. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts +0 -10
  147. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts.map +0 -1
  148. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts +0 -9
  149. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts.map +0 -1
  150. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts +0 -9
  151. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts.map +0 -1
  152. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts +0 -9
  153. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts.map +0 -1
  154. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts +0 -9
  155. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts.map +0 -1
  156. package/dist/react-ui/components/authoring/QuestionFilters.d.ts +0 -9
  157. package/dist/react-ui/components/authoring/QuestionFilters.d.ts.map +0 -1
  158. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts +0 -11
  159. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts.map +0 -1
  160. package/dist/react-ui/components/authoring/QuestionList.d.ts +0 -11
  161. package/dist/react-ui/components/authoring/QuestionList.d.ts.map +0 -1
  162. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts +0 -10
  163. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts.map +0 -1
  164. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts +0 -10
  165. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts.map +0 -1
  166. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts +0 -13
  167. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts.map +0 -1
  168. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts +0 -9
  169. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts.map +0 -1
  170. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts +0 -9
  171. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts.map +0 -1
  172. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts +0 -9
  173. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts.map +0 -1
  174. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts +0 -9
  175. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts.map +0 -1
  176. package/dist/react-ui/components/common/ClientTranslation.d.ts +0 -18
  177. package/dist/react-ui/components/common/ClientTranslation.d.ts.map +0 -1
  178. package/dist/react-ui/components/common/EditorToolbar.d.ts +0 -8
  179. package/dist/react-ui/components/common/EditorToolbar.d.ts.map +0 -1
  180. package/dist/react-ui/components/common/MarkdownEditor.d.ts +0 -11
  181. package/dist/react-ui/components/common/MarkdownEditor.d.ts.map +0 -1
  182. package/dist/react-ui/components/common/MarkdownRenderer.d.ts +0 -15
  183. package/dist/react-ui/components/common/MarkdownRenderer.d.ts.map +0 -1
  184. package/dist/react-ui/components/common/RichTextEditor.d.ts +0 -11
  185. package/dist/react-ui/components/common/RichTextEditor.d.ts.map +0 -1
  186. package/dist/react-ui/components/common/RichTextRenderer.d.ts +0 -16
  187. package/dist/react-ui/components/common/RichTextRenderer.d.ts.map +0 -1
  188. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts +0 -17
  189. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts.map +0 -1
  190. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts +0 -11
  191. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts.map +0 -1
  192. package/dist/react-ui/components/dashboard/Achievements.d.ts +0 -8
  193. package/dist/react-ui/components/dashboard/Achievements.d.ts.map +0 -1
  194. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts +0 -8
  195. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts.map +0 -1
  196. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts +0 -8
  197. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts.map +0 -1
  198. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts +0 -8
  199. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts.map +0 -1
  200. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts +0 -3
  201. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts.map +0 -1
  202. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts +0 -11
  203. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts.map +0 -1
  204. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts +0 -3
  205. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts.map +0 -1
  206. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts +0 -3
  207. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts.map +0 -1
  208. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts +0 -3
  209. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts.map +0 -1
  210. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts +0 -8
  211. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts.map +0 -1
  212. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts +0 -9
  213. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts.map +0 -1
  214. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts +0 -9
  215. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts.map +0 -1
  216. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts +0 -3
  217. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts.map +0 -1
  218. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts +0 -13
  219. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts.map +0 -1
  220. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts +0 -10
  221. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts.map +0 -1
  222. package/dist/react-ui/components/dashboard/StatCard.d.ts +0 -12
  223. package/dist/react-ui/components/dashboard/StatCard.d.ts.map +0 -1
  224. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts +0 -12
  225. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts.map +0 -1
  226. package/dist/react-ui/components/elements/accordion.d.ts +0 -8
  227. package/dist/react-ui/components/elements/accordion.d.ts.map +0 -1
  228. package/dist/react-ui/components/elements/alert-dialog.d.ts +0 -21
  229. package/dist/react-ui/components/elements/alert-dialog.d.ts.map +0 -1
  230. package/dist/react-ui/components/elements/alert.d.ts +0 -9
  231. package/dist/react-ui/components/elements/alert.d.ts.map +0 -1
  232. package/dist/react-ui/components/elements/avatar.d.ts +0 -7
  233. package/dist/react-ui/components/elements/avatar.d.ts.map +0 -1
  234. package/dist/react-ui/components/elements/badge.d.ts +0 -10
  235. package/dist/react-ui/components/elements/badge.d.ts.map +0 -1
  236. package/dist/react-ui/components/elements/button.d.ts +0 -12
  237. package/dist/react-ui/components/elements/button.d.ts.map +0 -1
  238. package/dist/react-ui/components/elements/calendar.d.ts +0 -9
  239. package/dist/react-ui/components/elements/calendar.d.ts.map +0 -1
  240. package/dist/react-ui/components/elements/card.d.ts +0 -9
  241. package/dist/react-ui/components/elements/card.d.ts.map +0 -1
  242. package/dist/react-ui/components/elements/chart.d.ts +0 -63
  243. package/dist/react-ui/components/elements/chart.d.ts.map +0 -1
  244. package/dist/react-ui/components/elements/checkbox.d.ts +0 -5
  245. package/dist/react-ui/components/elements/checkbox.d.ts.map +0 -1
  246. package/dist/react-ui/components/elements/dialog.d.ts +0 -20
  247. package/dist/react-ui/components/elements/dialog.d.ts.map +0 -1
  248. package/dist/react-ui/components/elements/dropdown-menu.d.ts +0 -28
  249. package/dist/react-ui/components/elements/dropdown-menu.d.ts.map +0 -1
  250. package/dist/react-ui/components/elements/form.d.ts +0 -24
  251. package/dist/react-ui/components/elements/form.d.ts.map +0 -1
  252. package/dist/react-ui/components/elements/input.d.ts +0 -4
  253. package/dist/react-ui/components/elements/input.d.ts.map +0 -1
  254. package/dist/react-ui/components/elements/label.d.ts +0 -6
  255. package/dist/react-ui/components/elements/label.d.ts.map +0 -1
  256. package/dist/react-ui/components/elements/menubar.d.ts +0 -29
  257. package/dist/react-ui/components/elements/menubar.d.ts.map +0 -1
  258. package/dist/react-ui/components/elements/popover.d.ts +0 -7
  259. package/dist/react-ui/components/elements/popover.d.ts.map +0 -1
  260. package/dist/react-ui/components/elements/progress.d.ts +0 -5
  261. package/dist/react-ui/components/elements/progress.d.ts.map +0 -1
  262. package/dist/react-ui/components/elements/radio-group.d.ts +0 -6
  263. package/dist/react-ui/components/elements/radio-group.d.ts.map +0 -1
  264. package/dist/react-ui/components/elements/scroll-area.d.ts +0 -6
  265. package/dist/react-ui/components/elements/scroll-area.d.ts.map +0 -1
  266. package/dist/react-ui/components/elements/select.d.ts +0 -14
  267. package/dist/react-ui/components/elements/select.d.ts.map +0 -1
  268. package/dist/react-ui/components/elements/separator.d.ts +0 -5
  269. package/dist/react-ui/components/elements/separator.d.ts.map +0 -1
  270. package/dist/react-ui/components/elements/sheet.d.ts +0 -26
  271. package/dist/react-ui/components/elements/sheet.d.ts.map +0 -1
  272. package/dist/react-ui/components/elements/sidebar.d.ts +0 -67
  273. package/dist/react-ui/components/elements/sidebar.d.ts.map +0 -1
  274. package/dist/react-ui/components/elements/skeleton.d.ts +0 -3
  275. package/dist/react-ui/components/elements/skeleton.d.ts.map +0 -1
  276. package/dist/react-ui/components/elements/slider.d.ts +0 -5
  277. package/dist/react-ui/components/elements/slider.d.ts.map +0 -1
  278. package/dist/react-ui/components/elements/switch.d.ts +0 -5
  279. package/dist/react-ui/components/elements/switch.d.ts.map +0 -1
  280. package/dist/react-ui/components/elements/table.d.ts +0 -11
  281. package/dist/react-ui/components/elements/table.d.ts.map +0 -1
  282. package/dist/react-ui/components/elements/tabs.d.ts +0 -8
  283. package/dist/react-ui/components/elements/tabs.d.ts.map +0 -1
  284. package/dist/react-ui/components/elements/textarea.d.ts +0 -4
  285. package/dist/react-ui/components/elements/textarea.d.ts.map +0 -1
  286. package/dist/react-ui/components/elements/toast.d.ts +0 -16
  287. package/dist/react-ui/components/elements/toast.d.ts.map +0 -1
  288. package/dist/react-ui/components/elements/toaster.d.ts +0 -2
  289. package/dist/react-ui/components/elements/toaster.d.ts.map +0 -1
  290. package/dist/react-ui/components/elements/tooltip.d.ts +0 -8
  291. package/dist/react-ui/components/elements/tooltip.d.ts.map +0 -1
  292. package/dist/react-ui/components/metadata/ApproachManager.d.ts +0 -3
  293. package/dist/react-ui/components/metadata/ApproachManager.d.ts.map +0 -1
  294. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts +0 -3
  295. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts.map +0 -1
  296. package/dist/react-ui/components/metadata/CategoryManager.d.ts +0 -3
  297. package/dist/react-ui/components/metadata/CategoryManager.d.ts.map +0 -1
  298. package/dist/react-ui/components/metadata/ContextManager.d.ts +0 -3
  299. package/dist/react-ui/components/metadata/ContextManager.d.ts.map +0 -1
  300. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts +0 -3
  301. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts.map +0 -1
  302. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts +0 -3
  303. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts.map +0 -1
  304. package/dist/react-ui/components/metadata/MetadataTabs.d.ts +0 -3
  305. package/dist/react-ui/components/metadata/MetadataTabs.d.ts.map +0 -1
  306. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts +0 -3
  307. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts.map +0 -1
  308. package/dist/react-ui/components/metadata/SubjectManager.d.ts +0 -3
  309. package/dist/react-ui/components/metadata/SubjectManager.d.ts.map +0 -1
  310. package/dist/react-ui/components/metadata/TopicManager.d.ts +0 -3
  311. package/dist/react-ui/components/metadata/TopicManager.d.ts.map +0 -1
  312. package/dist/react-ui/components/practice/PracticeModeController.d.ts +0 -3
  313. package/dist/react-ui/components/practice/PracticeModeController.d.ts.map +0 -1
  314. package/dist/react-ui/components/practice/PracticeSetup.d.ts +0 -12
  315. package/dist/react-ui/components/practice/PracticeSetup.d.ts.map +0 -1
  316. package/dist/react-ui/components/practice/QuizReview.d.ts +0 -12
  317. package/dist/react-ui/components/practice/QuizReview.d.ts.map +0 -1
  318. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts +0 -14
  319. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts.map +0 -1
  320. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts +0 -11
  321. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts.map +0 -1
  322. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts +0 -11
  323. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts.map +0 -1
  324. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts +0 -11
  325. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts.map +0 -1
  326. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts +0 -11
  327. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts.map +0 -1
  328. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts +0 -11
  329. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts.map +0 -1
  330. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts +0 -11
  331. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts.map +0 -1
  332. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts +0 -11
  333. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts.map +0 -1
  334. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts +0 -11
  335. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts.map +0 -1
  336. package/dist/react-ui/components/ui/QuestionRenderer.d.ts +0 -14
  337. package/dist/react-ui/components/ui/QuestionRenderer.d.ts.map +0 -1
  338. package/dist/react-ui/components/ui/QuizDataManagement.d.ts +0 -9
  339. package/dist/react-ui/components/ui/QuizDataManagement.d.ts.map +0 -1
  340. package/dist/react-ui/components/ui/QuizPlayer.d.ts +0 -10
  341. package/dist/react-ui/components/ui/QuizPlayer.d.ts.map +0 -1
  342. package/dist/react-ui/components/ui/QuizResult.d.ts +0 -13
  343. package/dist/react-ui/components/ui/QuizResult.d.ts.map +0 -1
  344. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts +0 -13
  345. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts.map +0 -1
  346. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts +0 -11
  347. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts.map +0 -1
  348. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts +0 -11
  349. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts.map +0 -1
  350. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts +0 -11
  351. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts.map +0 -1
  352. package/dist/react-ui/context/LanguageContext.d.ts +0 -21
  353. package/dist/react-ui/context/LanguageContext.d.ts.map +0 -1
  354. package/dist/react-ui/hooks/use-mobile.d.ts +0 -9
  355. package/dist/react-ui/hooks/use-mobile.d.ts.map +0 -1
  356. package/dist/react-ui/hooks/use-toast.d.ts +0 -45
  357. package/dist/react-ui/hooks/use-toast.d.ts.map +0 -1
  358. package/dist/react-ui/index.d.ts +0 -39
  359. package/dist/react-ui/index.d.ts.map +0 -1
  360. package/dist/react-ui.d.ts.map +0 -1
  361. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts +0 -61
  362. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts.map +0 -1
  363. package/dist/schemas/zod/codingQuestionSchema.d.ts +0 -111
  364. package/dist/schemas/zod/codingQuestionSchema.d.ts.map +0 -1
  365. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts +0 -109
  366. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts.map +0 -1
  367. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts +0 -103
  368. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts.map +0 -1
  369. package/dist/schemas/zod/hotspotQuestionSchema.d.ts +0 -111
  370. package/dist/schemas/zod/hotspotQuestionSchema.d.ts.map +0 -1
  371. package/dist/schemas/zod/matchingQuestionSchema.d.ts +0 -106
  372. package/dist/schemas/zod/matchingQuestionSchema.d.ts.map +0 -1
  373. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts +0 -70
  374. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts.map +0 -1
  375. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts +0 -70
  376. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts.map +0 -1
  377. package/dist/schemas/zod/numericQuestionSchema.d.ts +0 -55
  378. package/dist/schemas/zod/numericQuestionSchema.d.ts.map +0 -1
  379. package/dist/schemas/zod/quizConfigSchema.d.ts +0 -634
  380. package/dist/schemas/zod/quizConfigSchema.d.ts.map +0 -1
  381. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts +0 -61
  382. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts.map +0 -1
  383. package/dist/schemas/zod/sequenceQuestionSchema.d.ts +0 -70
  384. package/dist/schemas/zod/sequenceQuestionSchema.d.ts.map +0 -1
  385. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts +0 -55
  386. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts.map +0 -1
  387. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts +0 -52
  388. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts.map +0 -1
  389. package/dist/services/APIKeyService.d.ts +0 -28
  390. package/dist/services/APIKeyService.d.ts.map +0 -1
  391. package/dist/services/AchievementService.d.ts +0 -10
  392. package/dist/services/AchievementService.d.ts.map +0 -1
  393. package/dist/services/AnalysisReportService.d.ts +0 -11
  394. package/dist/services/AnalysisReportService.d.ts.map +0 -1
  395. package/dist/services/CardGenerationProcessor.d.ts +0 -7
  396. package/dist/services/CardGenerationProcessor.d.ts.map +0 -1
  397. package/dist/services/CodeEvaluationService.d.ts +0 -15
  398. package/dist/services/CodeEvaluationService.d.ts.map +0 -1
  399. package/dist/services/DashboardLayoutService.d.ts +0 -28
  400. package/dist/services/DashboardLayoutService.d.ts.map +0 -1
  401. package/dist/services/FreestyleQuizService.d.ts +0 -51
  402. package/dist/services/FreestyleQuizService.d.ts.map +0 -1
  403. package/dist/services/HTMLLauncherGenerator.d.ts +0 -3
  404. package/dist/services/HTMLLauncherGenerator.d.ts.map +0 -1
  405. package/dist/services/ImageContextService.d.ts +0 -55
  406. package/dist/services/ImageContextService.d.ts.map +0 -1
  407. package/dist/services/KnowledgeCardService.d.ts +0 -57
  408. package/dist/services/KnowledgeCardService.d.ts.map +0 -1
  409. package/dist/services/MotivationalQuotes.d.ts +0 -16
  410. package/dist/services/MotivationalQuotes.d.ts.map +0 -1
  411. package/dist/services/PracticeHistoryService.d.ts +0 -15
  412. package/dist/services/PracticeHistoryService.d.ts.map +0 -1
  413. package/dist/services/QuestionImportService.d.ts +0 -19
  414. package/dist/services/QuestionImportService.d.ts.map +0 -1
  415. package/dist/services/QuizEditorService.d.ts +0 -16
  416. package/dist/services/QuizEditorService.d.ts.map +0 -1
  417. package/dist/services/QuizEngine.d.ts +0 -40
  418. package/dist/services/QuizEngine.d.ts.map +0 -1
  419. package/dist/services/RoadmapService.d.ts +0 -9
  420. package/dist/services/RoadmapService.d.ts.map +0 -1
  421. package/dist/services/SCORMManifestGenerator.d.ts +0 -4
  422. package/dist/services/SCORMManifestGenerator.d.ts.map +0 -1
  423. package/dist/services/SCORMService.d.ts +0 -41
  424. package/dist/services/SCORMService.d.ts.map +0 -1
  425. package/dist/services/TopicDataService.d.ts +0 -62
  426. package/dist/services/TopicDataService.d.ts.map +0 -1
  427. package/dist/services/UserConfigService.d.ts +0 -27
  428. package/dist/services/UserConfigService.d.ts.map +0 -1
  429. package/dist/services/evaluators/base-evaluator.d.ts +0 -11
  430. package/dist/services/evaluators/base-evaluator.d.ts.map +0 -1
  431. package/dist/services/evaluators/coding-evaluator.d.ts +0 -6
  432. package/dist/services/evaluators/coding-evaluator.d.ts.map +0 -1
  433. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts +0 -6
  434. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts.map +0 -1
  435. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts +0 -6
  436. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts.map +0 -1
  437. package/dist/services/evaluators/hotspot-evaluator.d.ts +0 -6
  438. package/dist/services/evaluators/hotspot-evaluator.d.ts.map +0 -1
  439. package/dist/services/evaluators/matching-evaluator.d.ts +0 -6
  440. package/dist/services/evaluators/matching-evaluator.d.ts.map +0 -1
  441. package/dist/services/evaluators/multiple-choice-evaluator.d.ts +0 -6
  442. package/dist/services/evaluators/multiple-choice-evaluator.d.ts.map +0 -1
  443. package/dist/services/evaluators/multiple-response-evaluator.d.ts +0 -6
  444. package/dist/services/evaluators/multiple-response-evaluator.d.ts.map +0 -1
  445. package/dist/services/evaluators/numeric-evaluator.d.ts +0 -6
  446. package/dist/services/evaluators/numeric-evaluator.d.ts.map +0 -1
  447. package/dist/services/evaluators/programming-evaluator.d.ts +0 -6
  448. package/dist/services/evaluators/programming-evaluator.d.ts.map +0 -1
  449. package/dist/services/evaluators/sequence-evaluator.d.ts +0 -6
  450. package/dist/services/evaluators/sequence-evaluator.d.ts.map +0 -1
  451. package/dist/services/evaluators/short-answer-evaluator.d.ts +0 -6
  452. package/dist/services/evaluators/short-answer-evaluator.d.ts.map +0 -1
  453. package/dist/services/evaluators/true-false-evaluator.d.ts +0 -6
  454. package/dist/services/evaluators/true-false-evaluator.d.ts.map +0 -1
  455. package/dist/services/metadataService.d.ts +0 -40
  456. package/dist/services/metadataService.d.ts.map +0 -1
  457. package/dist/services/questionBankService.d.ts +0 -19
  458. package/dist/services/questionBankService.d.ts.map +0 -1
  459. package/dist/services/sampleQuiz.d.ts +0 -4
  460. package/dist/services/sampleQuiz.d.ts.map +0 -1
  461. package/dist/services/scormPackaging.d.ts +0 -11
  462. package/dist/services/scormPackaging.d.ts.map +0 -1
  463. package/dist/types/ai-ecosystem.d.ts +0 -57
  464. package/dist/types/ai-ecosystem.d.ts.map +0 -1
  465. package/dist/types/common.d.ts +0 -3
  466. package/dist/types/common.d.ts.map +0 -1
  467. package/dist/types/learning-objectives.d.ts +0 -12
  468. package/dist/types/learning-objectives.d.ts.map +0 -1
  469. package/dist/types/metadata.d.ts +0 -45
  470. package/dist/types/metadata.d.ts.map +0 -1
  471. package/dist/types/misc.d.ts +0 -102
  472. package/dist/types/misc.d.ts.map +0 -1
  473. package/dist/types/question-bank.d.ts +0 -28
  474. package/dist/types/question-bank.d.ts.map +0 -1
  475. package/dist/types/questions.d.ts +0 -151
  476. package/dist/types/questions.d.ts.map +0 -1
  477. package/dist/types/quiz-config.d.ts +0 -12
  478. package/dist/types/quiz-config.d.ts.map +0 -1
  479. package/dist/types/quiz-engine.d.ts +0 -23
  480. package/dist/types/quiz-engine.d.ts.map +0 -1
  481. package/dist/types/quiz-settings.d.ts +0 -35
  482. package/dist/types/quiz-settings.d.ts.map +0 -1
  483. package/dist/types/results.d.ts +0 -72
  484. package/dist/types/results.d.ts.map +0 -1
  485. package/dist/types.d.ts +0 -12
  486. package/dist/types.d.ts.map +0 -1
  487. package/dist/utils/aiUtils.d.ts +0 -11
  488. package/dist/utils/aiUtils.d.ts.map +0 -1
  489. package/dist/utils/asyncUtils.d.ts +0 -22
  490. package/dist/utils/asyncUtils.d.ts.map +0 -1
  491. package/dist/utils/debug-logger.d.ts +0 -24
  492. package/dist/utils/debug-logger.d.ts.map +0 -1
  493. package/dist/utils/formattedDate.d.ts +0 -2
  494. package/dist/utils/formattedDate.d.ts.map +0 -1
  495. package/dist/utils/idGenerators.d.ts +0 -7
  496. package/dist/utils/idGenerators.d.ts.map +0 -1
  497. package/dist/utils/jsonUtils.d.ts +0 -18
  498. package/dist/utils/jsonUtils.d.ts.map +0 -1
  499. package/dist/utils/use-mobile.d.ts +0 -2
  500. package/dist/utils/use-mobile.d.ts.map +0 -1
  501. package/dist/utils/utils.d.ts +0 -3
  502. package/dist/utils/utils.d.ts.map +0 -1
@@ -0,0 +1,228 @@
1
+ import { R as RichContentString, Q as QuestionTypeStrings, s as QuizConfig } from './quiz-config-Df_89hFx.js';
2
+
3
+ interface TestCaseResult {
4
+ testCaseId: string;
5
+ passed: boolean;
6
+ actualOutput: any;
7
+ reasoning: string;
8
+ }
9
+ type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
10
+ type UserAnswers = Map<string, UserAnswerType>;
11
+ interface PerformanceMetric {
12
+ totalQuestions: number;
13
+ correctQuestions: number;
14
+ pointsEarned: number;
15
+ maxPoints: number;
16
+ percentage: number;
17
+ }
18
+ interface PerformanceByLearningObjective extends PerformanceMetric {
19
+ learningObjective: string;
20
+ }
21
+ interface PerformanceByCategory extends PerformanceMetric {
22
+ category: string;
23
+ }
24
+ interface PerformanceByTopic extends PerformanceMetric {
25
+ topic: string;
26
+ }
27
+ interface PerformanceByDifficulty extends PerformanceMetric {
28
+ difficulty: string;
29
+ }
30
+ interface PerformanceByBloomLevel extends PerformanceMetric {
31
+ bloomLevel: string;
32
+ }
33
+ type AnswerDetail = {
34
+ id: string | string[] | null;
35
+ value: RichContentString | RichContentString[] | Record<string, RichContentString> | boolean | number | null;
36
+ };
37
+ interface QuizResultType {
38
+ quizTitle?: string;
39
+ score: number;
40
+ maxScore: number;
41
+ percentage: number;
42
+ answers: UserAnswers;
43
+ passed?: boolean;
44
+ questionResults: Array<{
45
+ questionId: string;
46
+ questionType: QuestionTypeStrings;
47
+ prompt: RichContentString;
48
+ isCorrect: boolean;
49
+ pointsEarned: number;
50
+ userAnswer: AnswerDetail | null;
51
+ correctAnswer: AnswerDetail | null;
52
+ allOptions?: {
53
+ id: string;
54
+ value: RichContentString;
55
+ }[];
56
+ timeSpentSeconds?: number;
57
+ evaluationDetails?: TestCaseResult[];
58
+ }>;
59
+ webhookStatus?: 'idle' | 'sending' | 'success' | 'error';
60
+ webhookError?: string;
61
+ scormStatus?: 'idle' | 'no_api' | 'initializing' | 'initialized' | 'sending_data' | 'committed' | 'terminated' | 'error';
62
+ scormError?: string;
63
+ studentName?: string;
64
+ totalTimeSpentSeconds?: number;
65
+ averageTimePerQuestionSeconds?: number;
66
+ performanceByLearningObjective?: PerformanceByLearningObjective[];
67
+ performanceByCategory?: PerformanceByCategory[];
68
+ performanceByTopic?: PerformanceByTopic[];
69
+ performanceByDifficulty?: PerformanceByDifficulty[];
70
+ performanceByBloomLevel?: PerformanceByBloomLevel[];
71
+ }
72
+
73
+ interface ImportError {
74
+ index: number;
75
+ message: string;
76
+ data: any;
77
+ }
78
+ interface QuestionReview {
79
+ questionId: string;
80
+ explanation: RichContentString;
81
+ }
82
+ interface QuizReviewContent {
83
+ questionReviews: QuestionReview[];
84
+ overallSummary: RichContentString;
85
+ relatedTopics: string[];
86
+ }
87
+ interface AchievementDefinition {
88
+ id: string;
89
+ icon: string;
90
+ nameKey: string;
91
+ descriptionKey: string;
92
+ condition: {
93
+ type: string;
94
+ params: Record<string, any>;
95
+ };
96
+ }
97
+ interface Achievement {
98
+ id: string;
99
+ name: string;
100
+ description: string;
101
+ icon: string;
102
+ unlockedAt?: number;
103
+ }
104
+ type PracticeDifficulty = 'Very Easy' | 'Easy' | 'Medium' | 'Hard' | 'Expert';
105
+ interface PracticeSuggestionTopic {
106
+ loId: string;
107
+ topicName: string;
108
+ reason: 'review' | 'explore';
109
+ suggestedDifficulty?: PracticeDifficulty;
110
+ }
111
+ interface PracticeSuggestion {
112
+ suggestionText: RichContentString;
113
+ suggestedTopics: PracticeSuggestionTopic[];
114
+ }
115
+ interface KnowledgeCard {
116
+ id: string;
117
+ concept: string;
118
+ definition: RichContentString;
119
+ example: RichContentString;
120
+ subject?: string;
121
+ }
122
+ interface PracticeTopicSummary {
123
+ subject: string;
124
+ category: string;
125
+ topic: string;
126
+ }
127
+ interface PracticeSession {
128
+ id: string;
129
+ timestamp: number;
130
+ quizConfig: QuizConfig;
131
+ quizResult: QuizResultType;
132
+ quizReview: QuizReviewContent | null;
133
+ summary: {
134
+ topics: PracticeTopicSummary[];
135
+ score: number;
136
+ maxScore: number;
137
+ percentage: number;
138
+ };
139
+ }
140
+ interface PracticeSessionSummary {
141
+ id: string;
142
+ timestamp: number;
143
+ quizTitle: string;
144
+ topics: PracticeTopicSummary[];
145
+ score: number | null;
146
+ maxScore: number | null;
147
+ percentage: number | null;
148
+ }
149
+ type ActivityCalendarData = Record<string, number>;
150
+ interface PerformanceSummary {
151
+ name: string;
152
+ totalSessions: number;
153
+ averageScore: number;
154
+ }
155
+ interface PracticeStats {
156
+ totalSessions: number;
157
+ currentStreak: number;
158
+ longestStreak: number;
159
+ activityCalendar: ActivityCalendarData;
160
+ performanceBySubject: PerformanceSummary[];
161
+ performanceByTopic: PerformanceSummary[];
162
+ }
163
+ interface ImageContextItem {
164
+ id: string;
165
+ imageUrl: string;
166
+ imageAltText: string;
167
+ detailedDescription: string;
168
+ subject: string;
169
+ category: string;
170
+ topic: string;
171
+ }
172
+
173
+ interface RoadmapItem {
174
+ day: string;
175
+ topicName: string;
176
+ reason: string;
177
+ suggestedDifficulty: PracticeDifficulty;
178
+ loId: string;
179
+ isCompleted: boolean;
180
+ }
181
+ interface WeeklyRoadmap {
182
+ generatedAt: number;
183
+ items: RoadmapItem[];
184
+ }
185
+ interface AnalysisReport {
186
+ generatedAt: number;
187
+ startDate: string;
188
+ endDate: string;
189
+ effortAndConsistencyRemarks: RichContentString;
190
+ strengths: string[];
191
+ areasForImprovement: string[];
192
+ gamificationRemarks: RichContentString;
193
+ }
194
+ interface LearningAnalysis {
195
+ analysisReport?: AnalysisReport;
196
+ weeklyRoadmap?: WeeklyRoadmap;
197
+ }
198
+ type DashboardCardId = 'roadmap' | 'activity' | 'history' | 'performance' | 'achievements' | 'knowledgeCards' | 'goals' | 'generatedQuizzes' | 'freestyleQuizzes';
199
+ interface DashboardCardConfig {
200
+ id: DashboardCardId;
201
+ visible: boolean;
202
+ }
203
+ interface DashboardLayout {
204
+ column1: DashboardCardConfig[];
205
+ column2: DashboardCardConfig[];
206
+ }
207
+ interface ChatMessage {
208
+ id: string;
209
+ role: 'user' | 'assistant';
210
+ content: RichContentString;
211
+ }
212
+ interface ChatContext {
213
+ history: ChatMessage[];
214
+ knowledgeCards: Omit<KnowledgeCard, 'id' | 'subject'>[];
215
+ }
216
+ type GoalType = 'average_score_subject' | 'mastery_topic';
217
+ interface Goal {
218
+ id: string;
219
+ type: GoalType;
220
+ targetValue: number;
221
+ subject?: string;
222
+ topic?: string;
223
+ consecutiveSessions?: number;
224
+ isAchieved: boolean;
225
+ achievedAt?: number;
226
+ }
227
+
228
+ export type { AnswerDetail as A, ChatMessage as C, DashboardCardId as D, GoalType as G, ImportError as I, KnowledgeCard as K, LearningAnalysis as L, PerformanceByLearningObjective as P, QuizResultType as Q, RoadmapItem as R, TestCaseResult as T, UserAnswerType as U, WeeklyRoadmap as W, UserAnswers as a, PerformanceByCategory as b, PerformanceByTopic as c, PerformanceByDifficulty as d, PerformanceByBloomLevel as e, PerformanceMetric as f, QuestionReview as g, QuizReviewContent as h, Achievement as i, AchievementDefinition as j, PracticeDifficulty as k, PracticeSuggestionTopic as l, PracticeSuggestion as m, PracticeSession as n, PracticeStats as o, PracticeSessionSummary as p, PracticeTopicSummary as q, ActivityCalendarData as r, PerformanceSummary as s, ImageContextItem as t, AnalysisReport as u, DashboardCardConfig as v, DashboardLayout as w, ChatContext as x, Goal as y };
@@ -0,0 +1,228 @@
1
+ import { R as RichContentString, Q as QuestionTypeStrings, s as QuizConfig } from './quiz-config-Df_89hFx.cjs';
2
+
3
+ interface TestCaseResult {
4
+ testCaseId: string;
5
+ passed: boolean;
6
+ actualOutput: any;
7
+ reasoning: string;
8
+ }
9
+ type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
10
+ type UserAnswers = Map<string, UserAnswerType>;
11
+ interface PerformanceMetric {
12
+ totalQuestions: number;
13
+ correctQuestions: number;
14
+ pointsEarned: number;
15
+ maxPoints: number;
16
+ percentage: number;
17
+ }
18
+ interface PerformanceByLearningObjective extends PerformanceMetric {
19
+ learningObjective: string;
20
+ }
21
+ interface PerformanceByCategory extends PerformanceMetric {
22
+ category: string;
23
+ }
24
+ interface PerformanceByTopic extends PerformanceMetric {
25
+ topic: string;
26
+ }
27
+ interface PerformanceByDifficulty extends PerformanceMetric {
28
+ difficulty: string;
29
+ }
30
+ interface PerformanceByBloomLevel extends PerformanceMetric {
31
+ bloomLevel: string;
32
+ }
33
+ type AnswerDetail = {
34
+ id: string | string[] | null;
35
+ value: RichContentString | RichContentString[] | Record<string, RichContentString> | boolean | number | null;
36
+ };
37
+ interface QuizResultType {
38
+ quizTitle?: string;
39
+ score: number;
40
+ maxScore: number;
41
+ percentage: number;
42
+ answers: UserAnswers;
43
+ passed?: boolean;
44
+ questionResults: Array<{
45
+ questionId: string;
46
+ questionType: QuestionTypeStrings;
47
+ prompt: RichContentString;
48
+ isCorrect: boolean;
49
+ pointsEarned: number;
50
+ userAnswer: AnswerDetail | null;
51
+ correctAnswer: AnswerDetail | null;
52
+ allOptions?: {
53
+ id: string;
54
+ value: RichContentString;
55
+ }[];
56
+ timeSpentSeconds?: number;
57
+ evaluationDetails?: TestCaseResult[];
58
+ }>;
59
+ webhookStatus?: 'idle' | 'sending' | 'success' | 'error';
60
+ webhookError?: string;
61
+ scormStatus?: 'idle' | 'no_api' | 'initializing' | 'initialized' | 'sending_data' | 'committed' | 'terminated' | 'error';
62
+ scormError?: string;
63
+ studentName?: string;
64
+ totalTimeSpentSeconds?: number;
65
+ averageTimePerQuestionSeconds?: number;
66
+ performanceByLearningObjective?: PerformanceByLearningObjective[];
67
+ performanceByCategory?: PerformanceByCategory[];
68
+ performanceByTopic?: PerformanceByTopic[];
69
+ performanceByDifficulty?: PerformanceByDifficulty[];
70
+ performanceByBloomLevel?: PerformanceByBloomLevel[];
71
+ }
72
+
73
+ interface ImportError {
74
+ index: number;
75
+ message: string;
76
+ data: any;
77
+ }
78
+ interface QuestionReview {
79
+ questionId: string;
80
+ explanation: RichContentString;
81
+ }
82
+ interface QuizReviewContent {
83
+ questionReviews: QuestionReview[];
84
+ overallSummary: RichContentString;
85
+ relatedTopics: string[];
86
+ }
87
+ interface AchievementDefinition {
88
+ id: string;
89
+ icon: string;
90
+ nameKey: string;
91
+ descriptionKey: string;
92
+ condition: {
93
+ type: string;
94
+ params: Record<string, any>;
95
+ };
96
+ }
97
+ interface Achievement {
98
+ id: string;
99
+ name: string;
100
+ description: string;
101
+ icon: string;
102
+ unlockedAt?: number;
103
+ }
104
+ type PracticeDifficulty = 'Very Easy' | 'Easy' | 'Medium' | 'Hard' | 'Expert';
105
+ interface PracticeSuggestionTopic {
106
+ loId: string;
107
+ topicName: string;
108
+ reason: 'review' | 'explore';
109
+ suggestedDifficulty?: PracticeDifficulty;
110
+ }
111
+ interface PracticeSuggestion {
112
+ suggestionText: RichContentString;
113
+ suggestedTopics: PracticeSuggestionTopic[];
114
+ }
115
+ interface KnowledgeCard {
116
+ id: string;
117
+ concept: string;
118
+ definition: RichContentString;
119
+ example: RichContentString;
120
+ subject?: string;
121
+ }
122
+ interface PracticeTopicSummary {
123
+ subject: string;
124
+ category: string;
125
+ topic: string;
126
+ }
127
+ interface PracticeSession {
128
+ id: string;
129
+ timestamp: number;
130
+ quizConfig: QuizConfig;
131
+ quizResult: QuizResultType;
132
+ quizReview: QuizReviewContent | null;
133
+ summary: {
134
+ topics: PracticeTopicSummary[];
135
+ score: number;
136
+ maxScore: number;
137
+ percentage: number;
138
+ };
139
+ }
140
+ interface PracticeSessionSummary {
141
+ id: string;
142
+ timestamp: number;
143
+ quizTitle: string;
144
+ topics: PracticeTopicSummary[];
145
+ score: number | null;
146
+ maxScore: number | null;
147
+ percentage: number | null;
148
+ }
149
+ type ActivityCalendarData = Record<string, number>;
150
+ interface PerformanceSummary {
151
+ name: string;
152
+ totalSessions: number;
153
+ averageScore: number;
154
+ }
155
+ interface PracticeStats {
156
+ totalSessions: number;
157
+ currentStreak: number;
158
+ longestStreak: number;
159
+ activityCalendar: ActivityCalendarData;
160
+ performanceBySubject: PerformanceSummary[];
161
+ performanceByTopic: PerformanceSummary[];
162
+ }
163
+ interface ImageContextItem {
164
+ id: string;
165
+ imageUrl: string;
166
+ imageAltText: string;
167
+ detailedDescription: string;
168
+ subject: string;
169
+ category: string;
170
+ topic: string;
171
+ }
172
+
173
+ interface RoadmapItem {
174
+ day: string;
175
+ topicName: string;
176
+ reason: string;
177
+ suggestedDifficulty: PracticeDifficulty;
178
+ loId: string;
179
+ isCompleted: boolean;
180
+ }
181
+ interface WeeklyRoadmap {
182
+ generatedAt: number;
183
+ items: RoadmapItem[];
184
+ }
185
+ interface AnalysisReport {
186
+ generatedAt: number;
187
+ startDate: string;
188
+ endDate: string;
189
+ effortAndConsistencyRemarks: RichContentString;
190
+ strengths: string[];
191
+ areasForImprovement: string[];
192
+ gamificationRemarks: RichContentString;
193
+ }
194
+ interface LearningAnalysis {
195
+ analysisReport?: AnalysisReport;
196
+ weeklyRoadmap?: WeeklyRoadmap;
197
+ }
198
+ type DashboardCardId = 'roadmap' | 'activity' | 'history' | 'performance' | 'achievements' | 'knowledgeCards' | 'goals' | 'generatedQuizzes' | 'freestyleQuizzes';
199
+ interface DashboardCardConfig {
200
+ id: DashboardCardId;
201
+ visible: boolean;
202
+ }
203
+ interface DashboardLayout {
204
+ column1: DashboardCardConfig[];
205
+ column2: DashboardCardConfig[];
206
+ }
207
+ interface ChatMessage {
208
+ id: string;
209
+ role: 'user' | 'assistant';
210
+ content: RichContentString;
211
+ }
212
+ interface ChatContext {
213
+ history: ChatMessage[];
214
+ knowledgeCards: Omit<KnowledgeCard, 'id' | 'subject'>[];
215
+ }
216
+ type GoalType = 'average_score_subject' | 'mastery_topic';
217
+ interface Goal {
218
+ id: string;
219
+ type: GoalType;
220
+ targetValue: number;
221
+ subject?: string;
222
+ topic?: string;
223
+ consecutiveSessions?: number;
224
+ isAchieved: boolean;
225
+ achievedAt?: number;
226
+ }
227
+
228
+ export type { AnswerDetail as A, ChatMessage as C, DashboardCardId as D, GoalType as G, ImportError as I, KnowledgeCard as K, LearningAnalysis as L, PerformanceByLearningObjective as P, QuizResultType as Q, RoadmapItem as R, TestCaseResult as T, UserAnswerType as U, WeeklyRoadmap as W, UserAnswers as a, PerformanceByCategory as b, PerformanceByTopic as c, PerformanceByDifficulty as d, PerformanceByBloomLevel as e, PerformanceMetric as f, QuestionReview as g, QuizReviewContent as h, Achievement as i, AchievementDefinition as j, PracticeDifficulty as k, PracticeSuggestionTopic as l, PracticeSuggestion as m, PracticeSession as n, PracticeStats as o, PracticeSessionSummary as p, PracticeTopicSummary as q, ActivityCalendarData as r, PerformanceSummary as s, ImageContextItem as t, AnalysisReport as u, DashboardCardConfig as v, DashboardLayout as w, ChatContext as x, Goal as y };