eli-video-interview 1.1.0

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 (397) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +411 -0
  3. package/esm/assets/icons/free.svg +1 -0
  4. package/esm/assets/icons/video.svg +1 -0
  5. package/esm/components/BigBallSvg/index.d.ts +3 -0
  6. package/esm/components/BigBallSvg/index.js +17 -0
  7. package/esm/components/BigBallSvg/index.module.css +37 -0
  8. package/esm/components/Charts/Chart.d.ts +4 -0
  9. package/esm/components/Charts/Chart.js +38 -0
  10. package/esm/components/Charts/const.d.ts +382 -0
  11. package/esm/components/Charts/const.js +382 -0
  12. package/esm/components/Charts/interface.d.ts +3 -0
  13. package/esm/components/Charts/interface.js +1 -0
  14. package/esm/components/ScrollDialogContent/index.d.ts +5 -0
  15. package/esm/components/ScrollDialogContent/index.js +6 -0
  16. package/esm/components/SvgIcon/index.d.ts +4 -0
  17. package/esm/components/SvgIcon/index.js +31 -0
  18. package/esm/components/SvgIcon/interface.d.ts +3 -0
  19. package/esm/components/SvgIcon/interface.js +1 -0
  20. package/esm/components/VideoPreview/index.d.ts +4 -0
  21. package/esm/components/VideoPreview/index.js +20 -0
  22. package/esm/components/VideoPreview/interface.d.ts +15 -0
  23. package/esm/components/VideoPreview/interface.js +1 -0
  24. package/esm/components/VideoPreview/styled.d.ts +10 -0
  25. package/esm/components/VideoPreview/styled.js +24 -0
  26. package/esm/constants/ai-question.d.ts +27 -0
  27. package/esm/constants/ai-question.js +39 -0
  28. package/esm/constants/ai-report.d.ts +2 -0
  29. package/esm/constants/ai-report.js +12 -0
  30. package/esm/enum/ai-question.d.ts +38 -0
  31. package/esm/enum/ai-question.js +42 -0
  32. package/esm/enum/ai-report.d.ts +27 -0
  33. package/esm/enum/ai-report.js +30 -0
  34. package/esm/index.d.ts +6 -0
  35. package/esm/index.js +6 -0
  36. package/esm/modules/ai-question/Root.d.ts +4 -0
  37. package/esm/modules/ai-question/Root.js +141 -0
  38. package/esm/modules/ai-question/components/AiAnalysis/AnalysisItem.d.ts +4 -0
  39. package/esm/modules/ai-question/components/AiAnalysis/AnalysisItem.js +39 -0
  40. package/esm/modules/ai-question/components/AiAnalysis/MainPoints.d.ts +4 -0
  41. package/esm/modules/ai-question/components/AiAnalysis/MainPoints.js +54 -0
  42. package/esm/modules/ai-question/components/AiAnalysis/MainPointsItem.d.ts +4 -0
  43. package/esm/modules/ai-question/components/AiAnalysis/MainPointsItem.js +62 -0
  44. package/esm/modules/ai-question/components/AiAnalysis/const.d.ts +5 -0
  45. package/esm/modules/ai-question/components/AiAnalysis/const.js +11 -0
  46. package/esm/modules/ai-question/components/AiAnalysis/index.d.ts +3 -0
  47. package/esm/modules/ai-question/components/AiAnalysis/index.js +35 -0
  48. package/esm/modules/ai-question/components/AiAnalysis/interface.d.ts +23 -0
  49. package/esm/modules/ai-question/components/AiAnalysis/interface.js +1 -0
  50. package/esm/modules/ai-question/components/AiAssessmentCriteria/const.d.ts +19 -0
  51. package/esm/modules/ai-question/components/AiAssessmentCriteria/const.js +23 -0
  52. package/esm/modules/ai-question/components/AiAssessmentCriteria/index.d.ts +4 -0
  53. package/esm/modules/ai-question/components/AiAssessmentCriteria/index.js +114 -0
  54. package/esm/modules/ai-question/components/AiAssessmentCriteria/interface.d.ts +27 -0
  55. package/esm/modules/ai-question/components/AiAssessmentCriteria/interface.js +1 -0
  56. package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +39 -0
  57. package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.js +20 -0
  58. package/esm/modules/ai-question/components/AiAssessmentCriteria/utils.d.ts +9 -0
  59. package/esm/modules/ai-question/components/AiAssessmentCriteria/utils.js +29 -0
  60. package/esm/modules/ai-question/components/BaseAccordion/const.d.ts +1 -0
  61. package/esm/modules/ai-question/components/BaseAccordion/const.js +1 -0
  62. package/esm/modules/ai-question/components/BaseAccordion/index.d.ts +4 -0
  63. package/esm/modules/ai-question/components/BaseAccordion/index.js +98 -0
  64. package/esm/modules/ai-question/components/BaseAccordion/interface.d.ts +9 -0
  65. package/esm/modules/ai-question/components/BaseAccordion/interface.js +1 -0
  66. package/esm/modules/ai-question/components/BaseAccordion/styled.d.ts +10 -0
  67. package/esm/modules/ai-question/components/BaseAccordion/styled.js +73 -0
  68. package/esm/modules/ai-question/components/BootVideo/index.d.ts +4 -0
  69. package/esm/modules/ai-question/components/BootVideo/index.js +100 -0
  70. package/esm/modules/ai-question/components/BootVideo/interface.d.ts +8 -0
  71. package/esm/modules/ai-question/components/BootVideo/interface.js +1 -0
  72. package/esm/modules/ai-question/components/BootVideo/styled.d.ts +33 -0
  73. package/esm/modules/ai-question/components/BootVideo/styled.js +49 -0
  74. package/esm/modules/ai-question/components/QuestionModel/Header.d.ts +3 -0
  75. package/esm/modules/ai-question/components/QuestionModel/Header.js +23 -0
  76. package/esm/modules/ai-question/components/QuestionModel/Item.d.ts +4 -0
  77. package/esm/modules/ai-question/components/QuestionModel/Item.js +74 -0
  78. package/esm/modules/ai-question/components/QuestionModel/List.d.ts +3 -0
  79. package/esm/modules/ai-question/components/QuestionModel/List.js +39 -0
  80. package/esm/modules/ai-question/components/QuestionModel/Skeleton.d.ts +3 -0
  81. package/esm/modules/ai-question/components/QuestionModel/Skeleton.js +17 -0
  82. package/esm/modules/ai-question/components/QuestionModel/index.d.ts +3 -0
  83. package/esm/modules/ai-question/components/QuestionModel/index.js +64 -0
  84. package/esm/modules/ai-question/components/QuestionModel/interface.d.ts +18 -0
  85. package/esm/modules/ai-question/components/QuestionModel/interface.js +1 -0
  86. package/esm/modules/ai-question/components/QuestionModel/styled.d.ts +9 -0
  87. package/esm/modules/ai-question/components/QuestionModel/styled.js +9 -0
  88. package/esm/modules/ai-question/components/QuestionPreview/index.d.ts +3 -0
  89. package/esm/modules/ai-question/components/QuestionPreview/index.js +31 -0
  90. package/esm/modules/ai-question/components/QuestionPreview/styled.d.ts +23 -0
  91. package/esm/modules/ai-question/components/QuestionPreview/styled.js +11 -0
  92. package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +3 -0
  93. package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +47 -0
  94. package/esm/modules/ai-question/components/QuestionTemplate/HistoryPattern.d.ts +3 -0
  95. package/esm/modules/ai-question/components/QuestionTemplate/HistoryPattern.js +20 -0
  96. package/esm/modules/ai-question/components/QuestionTemplate/Skeleton.d.ts +3 -0
  97. package/esm/modules/ai-question/components/QuestionTemplate/Skeleton.js +17 -0
  98. package/esm/modules/ai-question/components/QuestionTemplate/index.d.ts +3 -0
  99. package/esm/modules/ai-question/components/QuestionTemplate/index.js +38 -0
  100. package/esm/modules/ai-question/components/QuestionTemplate/interface.d.ts +43 -0
  101. package/esm/modules/ai-question/components/QuestionTemplate/interface.js +1 -0
  102. package/esm/modules/ai-question/components/QuestionTemplate/styled.d.ts +87 -0
  103. package/esm/modules/ai-question/components/QuestionTemplate/styled.js +33 -0
  104. package/esm/modules/ai-question/components/QuestionUpdate/Form.d.ts +4 -0
  105. package/esm/modules/ai-question/components/QuestionUpdate/Form.js +91 -0
  106. package/esm/modules/ai-question/components/QuestionUpdate/VideoVoice.d.ts +3 -0
  107. package/esm/modules/ai-question/components/QuestionUpdate/VideoVoice.js +63 -0
  108. package/esm/modules/ai-question/components/QuestionUpdate/const.d.ts +14 -0
  109. package/esm/modules/ai-question/components/QuestionUpdate/const.js +53 -0
  110. package/esm/modules/ai-question/components/QuestionUpdate/index.d.ts +3 -0
  111. package/esm/modules/ai-question/components/QuestionUpdate/index.js +203 -0
  112. package/esm/modules/ai-question/components/QuestionUpdate/interface.d.ts +57 -0
  113. package/esm/modules/ai-question/components/QuestionUpdate/interface.js +1 -0
  114. package/esm/modules/ai-question/index.d.ts +4 -0
  115. package/esm/modules/ai-question/index.js +22 -0
  116. package/esm/modules/ai-question/interface.d.ts +74 -0
  117. package/esm/modules/ai-question/interface.js +1 -0
  118. package/esm/modules/ai-question/useAiQuestion.d.ts +15 -0
  119. package/esm/modules/ai-question/useAiQuestion.js +18 -0
  120. package/esm/modules/ai-report/Root.d.ts +4 -0
  121. package/esm/modules/ai-report/Root.js +73 -0
  122. package/esm/modules/ai-report/components/NotFinish/index.d.ts +3 -0
  123. package/esm/modules/ai-report/components/NotFinish/index.js +25 -0
  124. package/esm/modules/ai-report/components/RankingRange/Item.d.ts +4 -0
  125. package/esm/modules/ai-report/components/RankingRange/Item.js +30 -0
  126. package/esm/modules/ai-report/components/RankingRange/index.d.ts +4 -0
  127. package/esm/modules/ai-report/components/RankingRange/index.js +171 -0
  128. package/esm/modules/ai-report/components/RankingRange/interface.d.ts +26 -0
  129. package/esm/modules/ai-report/components/RankingRange/interface.js +1 -0
  130. package/esm/modules/ai-report/components/RankingRange/styled.d.ts +7 -0
  131. package/esm/modules/ai-report/components/RankingRange/styled.js +11 -0
  132. package/esm/modules/ai-report/components/ScoreReport/Bar.d.ts +3 -0
  133. package/esm/modules/ai-report/components/ScoreReport/Bar.js +44 -0
  134. package/esm/modules/ai-report/components/ScoreReport/Failed.d.ts +4 -0
  135. package/esm/modules/ai-report/components/ScoreReport/Failed.js +25 -0
  136. package/esm/modules/ai-report/components/ScoreReport/Report.d.ts +3 -0
  137. package/esm/modules/ai-report/components/ScoreReport/Report.js +45 -0
  138. package/esm/modules/ai-report/components/ScoreReport/RosePie.d.ts +4 -0
  139. package/esm/modules/ai-report/components/ScoreReport/RosePie.js +19 -0
  140. package/esm/modules/ai-report/components/ScoreReport/Score.d.ts +4 -0
  141. package/esm/modules/ai-report/components/ScoreReport/Score.js +34 -0
  142. package/esm/modules/ai-report/components/ScoreReport/ScoreBigBall.d.ts +4 -0
  143. package/esm/modules/ai-report/components/ScoreReport/ScoreBigBall.js +26 -0
  144. package/esm/modules/ai-report/components/ScoreReport/ScoreLegend.d.ts +4 -0
  145. package/esm/modules/ai-report/components/ScoreReport/ScoreLegend.js +33 -0
  146. package/esm/modules/ai-report/components/ScoreReport/const.d.ts +34 -0
  147. package/esm/modules/ai-report/components/ScoreReport/const.js +77 -0
  148. package/esm/modules/ai-report/components/ScoreReport/index.d.ts +4 -0
  149. package/esm/modules/ai-report/components/ScoreReport/index.js +41 -0
  150. package/esm/modules/ai-report/components/ScoreReport/interface.d.ts +20 -0
  151. package/esm/modules/ai-report/components/ScoreReport/interface.js +1 -0
  152. package/esm/modules/ai-report/components/ScoreReport/styled.d.ts +25 -0
  153. package/esm/modules/ai-report/components/ScoreReport/styled.js +36 -0
  154. package/esm/modules/ai-report/components/VideoQuestion/Abilities.d.ts +4 -0
  155. package/esm/modules/ai-report/components/VideoQuestion/Abilities.js +40 -0
  156. package/esm/modules/ai-report/components/VideoQuestion/QuestionItem.d.ts +4 -0
  157. package/esm/modules/ai-report/components/VideoQuestion/QuestionItem.js +89 -0
  158. package/esm/modules/ai-report/components/VideoQuestion/ScoreSlider.d.ts +4 -0
  159. package/esm/modules/ai-report/components/VideoQuestion/ScoreSlider.js +34 -0
  160. package/esm/modules/ai-report/components/VideoQuestion/index.d.ts +3 -0
  161. package/esm/modules/ai-report/components/VideoQuestion/index.js +21 -0
  162. package/esm/modules/ai-report/components/VideoQuestion/interface.d.ts +14 -0
  163. package/esm/modules/ai-report/components/VideoQuestion/interface.js +1 -0
  164. package/esm/modules/ai-report/components/VideoQuestion/styled.d.ts +71 -0
  165. package/esm/modules/ai-report/components/VideoQuestion/styled.js +90 -0
  166. package/esm/modules/ai-report/index.d.ts +4 -0
  167. package/esm/modules/ai-report/index.js +22 -0
  168. package/esm/modules/ai-report/interface.d.ts +114 -0
  169. package/esm/modules/ai-report/interface.js +1 -0
  170. package/esm/modules/ai-report/useAiReport.d.ts +20 -0
  171. package/esm/modules/ai-report/useAiReport.js +16 -0
  172. package/esm/services/ai-question.d.ts +13 -0
  173. package/esm/services/ai-question.js +17 -0
  174. package/esm/services/ai-report.d.ts +2 -0
  175. package/esm/services/ai-report.js +5 -0
  176. package/esm/store/ai-question/ai-analysis-store.d.ts +29 -0
  177. package/esm/store/ai-question/ai-analysis-store.js +132 -0
  178. package/esm/store/ai-question/boot-video-store.d.ts +17 -0
  179. package/esm/store/ai-question/boot-video-store.js +21 -0
  180. package/esm/store/ai-question/global-store.d.ts +32 -0
  181. package/esm/store/ai-question/global-store.js +23 -0
  182. package/esm/store/ai-question/question-model-store.d.ts +24 -0
  183. package/esm/store/ai-question/question-model-store.js +130 -0
  184. package/esm/store/ai-question/question-preview-store.d.ts +14 -0
  185. package/esm/store/ai-question/question-preview-store.js +21 -0
  186. package/esm/store/ai-question/question-template-store.d.ts +12 -0
  187. package/esm/store/ai-question/question-template-store.js +10 -0
  188. package/esm/store/ai-question/question-update-store.d.ts +11 -0
  189. package/esm/store/ai-question/question-update-store.js +33 -0
  190. package/esm/store/ai-report/global-store.d.ts +57 -0
  191. package/esm/store/ai-report/global-store.js +28 -0
  192. package/esm/utils/config.d.ts +11 -0
  193. package/esm/utils/config.js +17 -0
  194. package/esm/utils/interceptor.d.ts +2 -0
  195. package/esm/utils/interceptor.js +119 -0
  196. package/esm/utils/request.d.ts +3 -0
  197. package/esm/utils/request.js +14 -0
  198. package/esm/utils/utils.d.ts +58 -0
  199. package/esm/utils/utils.js +115 -0
  200. package/lib/assets/icons/free.svg +1 -0
  201. package/lib/assets/icons/video.svg +1 -0
  202. package/lib/components/BigBallSvg/index.d.ts +3 -0
  203. package/lib/components/BigBallSvg/index.js +22 -0
  204. package/lib/components/BigBallSvg/index.module.css +37 -0
  205. package/lib/components/Charts/Chart.d.ts +4 -0
  206. package/lib/components/Charts/Chart.js +43 -0
  207. package/lib/components/Charts/const.d.ts +382 -0
  208. package/lib/components/Charts/const.js +385 -0
  209. package/lib/components/Charts/interface.d.ts +3 -0
  210. package/lib/components/Charts/interface.js +2 -0
  211. package/lib/components/ScrollDialogContent/index.d.ts +5 -0
  212. package/lib/components/ScrollDialogContent/index.js +8 -0
  213. package/lib/components/SvgIcon/index.d.ts +4 -0
  214. package/lib/components/SvgIcon/index.js +33 -0
  215. package/lib/components/SvgIcon/interface.d.ts +3 -0
  216. package/lib/components/SvgIcon/interface.js +2 -0
  217. package/lib/components/VideoPreview/index.d.ts +4 -0
  218. package/lib/components/VideoPreview/index.js +22 -0
  219. package/lib/components/VideoPreview/interface.d.ts +15 -0
  220. package/lib/components/VideoPreview/interface.js +2 -0
  221. package/lib/components/VideoPreview/styled.d.ts +10 -0
  222. package/lib/components/VideoPreview/styled.js +27 -0
  223. package/lib/constants/ai-question.d.ts +27 -0
  224. package/lib/constants/ai-question.js +43 -0
  225. package/lib/constants/ai-report.d.ts +2 -0
  226. package/lib/constants/ai-report.js +15 -0
  227. package/lib/enum/ai-question.d.ts +38 -0
  228. package/lib/enum/ai-question.js +45 -0
  229. package/lib/enum/ai-report.d.ts +27 -0
  230. package/lib/enum/ai-report.js +33 -0
  231. package/lib/index.d.ts +6 -0
  232. package/lib/index.js +18 -0
  233. package/lib/modules/ai-question/Root.d.ts +4 -0
  234. package/lib/modules/ai-question/Root.js +146 -0
  235. package/lib/modules/ai-question/components/AiAnalysis/AnalysisItem.d.ts +4 -0
  236. package/lib/modules/ai-question/components/AiAnalysis/AnalysisItem.js +44 -0
  237. package/lib/modules/ai-question/components/AiAnalysis/MainPoints.d.ts +4 -0
  238. package/lib/modules/ai-question/components/AiAnalysis/MainPoints.js +59 -0
  239. package/lib/modules/ai-question/components/AiAnalysis/MainPointsItem.d.ts +4 -0
  240. package/lib/modules/ai-question/components/AiAnalysis/MainPointsItem.js +64 -0
  241. package/lib/modules/ai-question/components/AiAnalysis/const.d.ts +5 -0
  242. package/lib/modules/ai-question/components/AiAnalysis/const.js +14 -0
  243. package/lib/modules/ai-question/components/AiAnalysis/index.d.ts +3 -0
  244. package/lib/modules/ai-question/components/AiAnalysis/index.js +40 -0
  245. package/lib/modules/ai-question/components/AiAnalysis/interface.d.ts +23 -0
  246. package/lib/modules/ai-question/components/AiAnalysis/interface.js +2 -0
  247. package/lib/modules/ai-question/components/AiAssessmentCriteria/const.d.ts +19 -0
  248. package/lib/modules/ai-question/components/AiAssessmentCriteria/const.js +26 -0
  249. package/lib/modules/ai-question/components/AiAssessmentCriteria/index.d.ts +4 -0
  250. package/lib/modules/ai-question/components/AiAssessmentCriteria/index.js +119 -0
  251. package/lib/modules/ai-question/components/AiAssessmentCriteria/interface.d.ts +27 -0
  252. package/lib/modules/ai-question/components/AiAssessmentCriteria/interface.js +2 -0
  253. package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +39 -0
  254. package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.js +26 -0
  255. package/lib/modules/ai-question/components/AiAssessmentCriteria/utils.d.ts +9 -0
  256. package/lib/modules/ai-question/components/AiAssessmentCriteria/utils.js +33 -0
  257. package/lib/modules/ai-question/components/BaseAccordion/const.d.ts +1 -0
  258. package/lib/modules/ai-question/components/BaseAccordion/const.js +4 -0
  259. package/lib/modules/ai-question/components/BaseAccordion/index.d.ts +4 -0
  260. package/lib/modules/ai-question/components/BaseAccordion/index.js +100 -0
  261. package/lib/modules/ai-question/components/BaseAccordion/interface.d.ts +9 -0
  262. package/lib/modules/ai-question/components/BaseAccordion/interface.js +2 -0
  263. package/lib/modules/ai-question/components/BaseAccordion/styled.d.ts +10 -0
  264. package/lib/modules/ai-question/components/BaseAccordion/styled.js +76 -0
  265. package/lib/modules/ai-question/components/BootVideo/index.d.ts +4 -0
  266. package/lib/modules/ai-question/components/BootVideo/index.js +105 -0
  267. package/lib/modules/ai-question/components/BootVideo/interface.d.ts +8 -0
  268. package/lib/modules/ai-question/components/BootVideo/interface.js +2 -0
  269. package/lib/modules/ai-question/components/BootVideo/styled.d.ts +33 -0
  270. package/lib/modules/ai-question/components/BootVideo/styled.js +55 -0
  271. package/lib/modules/ai-question/components/QuestionModel/Header.d.ts +3 -0
  272. package/lib/modules/ai-question/components/QuestionModel/Header.js +28 -0
  273. package/lib/modules/ai-question/components/QuestionModel/Item.d.ts +4 -0
  274. package/lib/modules/ai-question/components/QuestionModel/Item.js +76 -0
  275. package/lib/modules/ai-question/components/QuestionModel/List.d.ts +3 -0
  276. package/lib/modules/ai-question/components/QuestionModel/List.js +44 -0
  277. package/lib/modules/ai-question/components/QuestionModel/Skeleton.d.ts +3 -0
  278. package/lib/modules/ai-question/components/QuestionModel/Skeleton.js +19 -0
  279. package/lib/modules/ai-question/components/QuestionModel/index.d.ts +3 -0
  280. package/lib/modules/ai-question/components/QuestionModel/index.js +69 -0
  281. package/lib/modules/ai-question/components/QuestionModel/interface.d.ts +18 -0
  282. package/lib/modules/ai-question/components/QuestionModel/interface.js +2 -0
  283. package/lib/modules/ai-question/components/QuestionModel/styled.d.ts +9 -0
  284. package/lib/modules/ai-question/components/QuestionModel/styled.js +15 -0
  285. package/lib/modules/ai-question/components/QuestionPreview/index.d.ts +3 -0
  286. package/lib/modules/ai-question/components/QuestionPreview/index.js +36 -0
  287. package/lib/modules/ai-question/components/QuestionPreview/styled.d.ts +23 -0
  288. package/lib/modules/ai-question/components/QuestionPreview/styled.js +17 -0
  289. package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +3 -0
  290. package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +52 -0
  291. package/lib/modules/ai-question/components/QuestionTemplate/HistoryPattern.d.ts +3 -0
  292. package/lib/modules/ai-question/components/QuestionTemplate/HistoryPattern.js +25 -0
  293. package/lib/modules/ai-question/components/QuestionTemplate/Skeleton.d.ts +3 -0
  294. package/lib/modules/ai-question/components/QuestionTemplate/Skeleton.js +19 -0
  295. package/lib/modules/ai-question/components/QuestionTemplate/index.d.ts +3 -0
  296. package/lib/modules/ai-question/components/QuestionTemplate/index.js +43 -0
  297. package/lib/modules/ai-question/components/QuestionTemplate/interface.d.ts +43 -0
  298. package/lib/modules/ai-question/components/QuestionTemplate/interface.js +2 -0
  299. package/lib/modules/ai-question/components/QuestionTemplate/styled.d.ts +87 -0
  300. package/lib/modules/ai-question/components/QuestionTemplate/styled.js +39 -0
  301. package/lib/modules/ai-question/components/QuestionUpdate/Form.d.ts +4 -0
  302. package/lib/modules/ai-question/components/QuestionUpdate/Form.js +96 -0
  303. package/lib/modules/ai-question/components/QuestionUpdate/VideoVoice.d.ts +3 -0
  304. package/lib/modules/ai-question/components/QuestionUpdate/VideoVoice.js +65 -0
  305. package/lib/modules/ai-question/components/QuestionUpdate/const.d.ts +14 -0
  306. package/lib/modules/ai-question/components/QuestionUpdate/const.js +56 -0
  307. package/lib/modules/ai-question/components/QuestionUpdate/index.d.ts +3 -0
  308. package/lib/modules/ai-question/components/QuestionUpdate/index.js +208 -0
  309. package/lib/modules/ai-question/components/QuestionUpdate/interface.d.ts +57 -0
  310. package/lib/modules/ai-question/components/QuestionUpdate/interface.js +2 -0
  311. package/lib/modules/ai-question/index.d.ts +4 -0
  312. package/lib/modules/ai-question/index.js +27 -0
  313. package/lib/modules/ai-question/interface.d.ts +74 -0
  314. package/lib/modules/ai-question/interface.js +2 -0
  315. package/lib/modules/ai-question/useAiQuestion.d.ts +15 -0
  316. package/lib/modules/ai-question/useAiQuestion.js +22 -0
  317. package/lib/modules/ai-report/Root.d.ts +4 -0
  318. package/lib/modules/ai-report/Root.js +78 -0
  319. package/lib/modules/ai-report/components/NotFinish/index.d.ts +3 -0
  320. package/lib/modules/ai-report/components/NotFinish/index.js +27 -0
  321. package/lib/modules/ai-report/components/RankingRange/Item.d.ts +4 -0
  322. package/lib/modules/ai-report/components/RankingRange/Item.js +32 -0
  323. package/lib/modules/ai-report/components/RankingRange/index.d.ts +4 -0
  324. package/lib/modules/ai-report/components/RankingRange/index.js +176 -0
  325. package/lib/modules/ai-report/components/RankingRange/interface.d.ts +26 -0
  326. package/lib/modules/ai-report/components/RankingRange/interface.js +2 -0
  327. package/lib/modules/ai-report/components/RankingRange/styled.d.ts +7 -0
  328. package/lib/modules/ai-report/components/RankingRange/styled.js +14 -0
  329. package/lib/modules/ai-report/components/ScoreReport/Bar.d.ts +3 -0
  330. package/lib/modules/ai-report/components/ScoreReport/Bar.js +46 -0
  331. package/lib/modules/ai-report/components/ScoreReport/Failed.d.ts +4 -0
  332. package/lib/modules/ai-report/components/ScoreReport/Failed.js +27 -0
  333. package/lib/modules/ai-report/components/ScoreReport/Report.d.ts +3 -0
  334. package/lib/modules/ai-report/components/ScoreReport/Report.js +50 -0
  335. package/lib/modules/ai-report/components/ScoreReport/RosePie.d.ts +4 -0
  336. package/lib/modules/ai-report/components/ScoreReport/RosePie.js +24 -0
  337. package/lib/modules/ai-report/components/ScoreReport/Score.d.ts +4 -0
  338. package/lib/modules/ai-report/components/ScoreReport/Score.js +39 -0
  339. package/lib/modules/ai-report/components/ScoreReport/ScoreBigBall.d.ts +4 -0
  340. package/lib/modules/ai-report/components/ScoreReport/ScoreBigBall.js +31 -0
  341. package/lib/modules/ai-report/components/ScoreReport/ScoreLegend.d.ts +4 -0
  342. package/lib/modules/ai-report/components/ScoreReport/ScoreLegend.js +35 -0
  343. package/lib/modules/ai-report/components/ScoreReport/const.d.ts +34 -0
  344. package/lib/modules/ai-report/components/ScoreReport/const.js +80 -0
  345. package/lib/modules/ai-report/components/ScoreReport/index.d.ts +4 -0
  346. package/lib/modules/ai-report/components/ScoreReport/index.js +46 -0
  347. package/lib/modules/ai-report/components/ScoreReport/interface.d.ts +20 -0
  348. package/lib/modules/ai-report/components/ScoreReport/interface.js +2 -0
  349. package/lib/modules/ai-report/components/ScoreReport/styled.d.ts +25 -0
  350. package/lib/modules/ai-report/components/ScoreReport/styled.js +39 -0
  351. package/lib/modules/ai-report/components/VideoQuestion/Abilities.d.ts +4 -0
  352. package/lib/modules/ai-report/components/VideoQuestion/Abilities.js +45 -0
  353. package/lib/modules/ai-report/components/VideoQuestion/QuestionItem.d.ts +4 -0
  354. package/lib/modules/ai-report/components/VideoQuestion/QuestionItem.js +94 -0
  355. package/lib/modules/ai-report/components/VideoQuestion/ScoreSlider.d.ts +4 -0
  356. package/lib/modules/ai-report/components/VideoQuestion/ScoreSlider.js +36 -0
  357. package/lib/modules/ai-report/components/VideoQuestion/index.d.ts +3 -0
  358. package/lib/modules/ai-report/components/VideoQuestion/index.js +26 -0
  359. package/lib/modules/ai-report/components/VideoQuestion/interface.d.ts +14 -0
  360. package/lib/modules/ai-report/components/VideoQuestion/interface.js +2 -0
  361. package/lib/modules/ai-report/components/VideoQuestion/styled.d.ts +71 -0
  362. package/lib/modules/ai-report/components/VideoQuestion/styled.js +93 -0
  363. package/lib/modules/ai-report/index.d.ts +4 -0
  364. package/lib/modules/ai-report/index.js +27 -0
  365. package/lib/modules/ai-report/interface.d.ts +114 -0
  366. package/lib/modules/ai-report/interface.js +2 -0
  367. package/lib/modules/ai-report/useAiReport.d.ts +20 -0
  368. package/lib/modules/ai-report/useAiReport.js +20 -0
  369. package/lib/services/ai-question.d.ts +13 -0
  370. package/lib/services/ai-question.js +28 -0
  371. package/lib/services/ai-report.d.ts +2 -0
  372. package/lib/services/ai-report.js +10 -0
  373. package/lib/store/ai-question/ai-analysis-store.d.ts +29 -0
  374. package/lib/store/ai-question/ai-analysis-store.js +138 -0
  375. package/lib/store/ai-question/boot-video-store.d.ts +17 -0
  376. package/lib/store/ai-question/boot-video-store.js +24 -0
  377. package/lib/store/ai-question/global-store.d.ts +32 -0
  378. package/lib/store/ai-question/global-store.js +26 -0
  379. package/lib/store/ai-question/question-model-store.d.ts +24 -0
  380. package/lib/store/ai-question/question-model-store.js +136 -0
  381. package/lib/store/ai-question/question-preview-store.d.ts +14 -0
  382. package/lib/store/ai-question/question-preview-store.js +24 -0
  383. package/lib/store/ai-question/question-template-store.d.ts +12 -0
  384. package/lib/store/ai-question/question-template-store.js +13 -0
  385. package/lib/store/ai-question/question-update-store.d.ts +11 -0
  386. package/lib/store/ai-question/question-update-store.js +36 -0
  387. package/lib/store/ai-report/global-store.d.ts +57 -0
  388. package/lib/store/ai-report/global-store.js +31 -0
  389. package/lib/utils/config.d.ts +11 -0
  390. package/lib/utils/config.js +20 -0
  391. package/lib/utils/interceptor.d.ts +2 -0
  392. package/lib/utils/interceptor.js +124 -0
  393. package/lib/utils/request.d.ts +3 -0
  394. package/lib/utils/request.js +22 -0
  395. package/lib/utils/utils.d.ts +58 -0
  396. package/lib/utils/utils.js +129 -0
  397. package/package.json +153 -0
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ export declare const CustomUploadCardRoot: import("@mui/styles/styled").StyledComponent<Omit<import("fbm-ui/lib/components/Box").BoxProps & {
3
+ children?: import("react").ReactNode;
4
+ }, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<import("fbm-ui/lib/components/Box").BoxProps & {
5
+ children?: import("react").ReactNode;
6
+ }, "onLoad" | "m" | "children" | "loading" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "displayPrint" | "textOverflow" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "minHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "lineHeight" | "textAlign" | "textTransform" | "component" | "sx" | "disabled" | "MaskProps">, "className" | "theme"> & {
7
+ className?: string | undefined;
8
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
9
+ }>;
10
+ export declare const CustomUploadCardTitle: import("@mui/styles/styled").StyledComponent<Omit<import("fbm-ui/lib/components/Box").BoxProps & {
11
+ children?: import("react").ReactNode;
12
+ }, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<import("fbm-ui/lib/components/Box").BoxProps & {
13
+ children?: import("react").ReactNode;
14
+ }, "onLoad" | "m" | "children" | "loading" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "displayPrint" | "textOverflow" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "minHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "lineHeight" | "textAlign" | "textTransform" | "component" | "sx" | "disabled" | "MaskProps">, "className" | "theme"> & {
15
+ className?: string | undefined;
16
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
17
+ }>;
18
+ export declare const CustomUploadButtonRoot: import("@mui/styles/styled").StyledComponent<Omit<import("fbm-ui/lib/components/Box").BoxProps & {
19
+ children?: import("react").ReactNode;
20
+ }, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<import("fbm-ui/lib/components/Box").BoxProps & {
21
+ children?: import("react").ReactNode;
22
+ }, "onLoad" | "m" | "children" | "loading" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "displayPrint" | "textOverflow" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "minHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "lineHeight" | "textAlign" | "textTransform" | "component" | "sx" | "disabled" | "MaskProps">, "className" | "theme"> & {
23
+ className?: string | undefined;
24
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
25
+ }>;
26
+ export declare const CustomUploadedImgRoot: import("@mui/styles/styled").StyledComponent<Omit<import("fbm-ui/lib/components/Box").BoxProps & {
27
+ children?: import("react").ReactNode;
28
+ }, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<import("fbm-ui/lib/components/Box").BoxProps & {
29
+ children?: import("react").ReactNode;
30
+ }, "onLoad" | "m" | "children" | "loading" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "displayPrint" | "textOverflow" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "minHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "lineHeight" | "textAlign" | "textTransform" | "component" | "sx" | "disabled" | "MaskProps">, "className" | "theme"> & {
31
+ className?: string | undefined;
32
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
33
+ }>;
@@ -0,0 +1,49 @@
1
+ import { Box } from 'fbm-ui';
2
+ import styled from '@mui/styles/styled';
3
+ export var CustomUploadCardRoot = styled(Box)({
4
+ backgroundColor: '#fff',
5
+ border: '1px dashed #e0e0e0',
6
+ borderRadius: 4,
7
+ cursor: 'pointer',
8
+ height: 330,
9
+ width: 180,
10
+ margin: '0 auto',
11
+ display: 'flex',
12
+ alignItems: 'center',
13
+ justifyContent: 'center',
14
+ flexDirection: 'column',
15
+ '&:hover': {
16
+ backgroundColor: 'rgba(75,176,81,.04)',
17
+ },
18
+ });
19
+ export var CustomUploadCardTitle = styled(Box)({
20
+ display: 'flex',
21
+ alignItems: 'center',
22
+ justifyContent: 'center',
23
+ '& .MuiTypography-root': {
24
+ marginLeft: 8,
25
+ },
26
+ });
27
+ export var CustomUploadButtonRoot = styled(Box)({
28
+ display: 'flex',
29
+ alignItems: 'center',
30
+ justifyContent: 'center',
31
+ margin: '8px 0',
32
+ });
33
+ export var CustomUploadedImgRoot = styled(Box)({
34
+ minHeight: 70,
35
+ display: 'flex',
36
+ flexWrap: 'wrap',
37
+ alignItems: 'center',
38
+ padding: '8px 0',
39
+ boxSizing: 'content-box',
40
+ '& img': {
41
+ width: 36,
42
+ objectFit: 'cover',
43
+ transition: 'all 0.3s ease 0s',
44
+ cursor: 'pointer',
45
+ border: '1px solid rgb(237, 237, 237)',
46
+ borderRadius: 4,
47
+ marginRight: 4,
48
+ },
49
+ });
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const QuestionHeader: FC;
3
+ export default QuestionHeader;
@@ -0,0 +1,23 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
+ import { useState } from 'react';
14
+ import { Box, Button, Typography, VideocamOutlineIcon, Tooltip, InfoOutlineIcon } from 'fbm-ui';
15
+ import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
16
+ import { getSecondToTime } from "../../../../utils/utils";
17
+ import BootVideo from '../BootVideo';
18
+ var QuestionHeader = function () {
19
+ var questionModelData = useQuestionModelStore().questionModelData;
20
+ var _a = useState(false), bootVideoOpen = _a[0], setBootVideoOpen = _a[1];
21
+ return (_jsxs(Box, __assign({ width: "100%", display: "flex" }, { children: [_jsx(BootVideo, { open: bootVideoOpen, onClose: function () { return setBootVideoOpen(false); } }), questionModelData && (_jsxs(_Fragment, { children: [_jsxs(Box, __assign({ flex: "1 0" }, { children: [_jsxs(Typography, __assign({ variant: "body1", weight: "500", mb: 1 }, { children: [questionModelData === null || questionModelData === void 0 ? void 0 : questionModelData.name, _jsxs(Typography, __assign({ color: "secondary", variant: "caption", ml: 1 }, { children: ["\u9884\u8BA1\u9762\u8BD5\u65F6\u957F\uFF1A", getSecondToTime((questionModelData === null || questionModelData === void 0 ? void 0 : questionModelData.duration) || 0)] }))] })), _jsx(Typography, __assign({ variant: "caption", color: "secondary" }, { children: "\u62D6\u52A8\u8BD5\u9898\u5361\u7247\u53EF\u6539\u53D8\u8BD5\u9898\u987A\u5E8F" }))] })), _jsxs(Box, __assign({ width: 200, textAlign: "right" }, { children: [_jsx(Button, __assign({ icon: _jsx(VideocamOutlineIcon, {}), variant: "text", onClick: function () { return setBootVideoOpen(true); } }, { children: "\u5F15\u5BFC\u89C6\u9891" })), _jsxs(Box, __assign({ display: "flex", alignItems: "center", justifyContent: "end", sx: { mt: '6px' } }, { children: [_jsx(Typography, __assign({ variant: "caption", color: "secondary" }, { children: "AI\u6D4B\u8BC4\u6743\u91CD" })), _jsx(Tooltip, __assign({ title: "AI\u6D4B\u8BC4\u9898\u53EF\u4EE5\u8BBE\u7F6E\u6743\u91CD\uFF0C\u7CFB\u7EDF\u5BF9\u5019\u9009\u4EBA\u89C6\u9891\u9762\u8BD5\u7ED3\u679C\u4F1A\u52A0\u5165\u6743\u91CD\u8FDB\u884C\u8BA1\u7B97\uFF0C\u5F97\u51FAAI\u89C6\u9891\u9762\u8BD5\u5F97\u5206\u3002\u8BBE\u7F6E\u540E5\u5206\u949F\u8D77\u6548" }, { children: _jsx("span", __assign({ style: { display: 'flex', alignItems: 'center', marginLeft: '4px' } }, { children: _jsx(InfoOutlineIcon, { sx: { fontSize: 14, color: 'rgba(0, 0, 0, 0.56)' } }) })) }))] }))] }))] }))] })));
22
+ };
23
+ export default QuestionHeader;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { QuestionModelListItemProps } from './interface';
3
+ declare const _default: React.NamedExoticComponent<QuestionModelListItemProps>;
4
+ export default _default;
@@ -0,0 +1,74 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { useCallback, memo } from 'react';
25
+ import { Box, Chip, Input, Typography, IconButton, DragIndicatorIcon, EditIcon, DeleteIcon, confirm } from 'fbm-ui';
26
+ import { Paper, Switch, FormGroup, FormControlLabel } from '@mui/material';
27
+ import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
28
+ import { useUpdateQuestionStore } from "../../../../store/ai-question/question-update-store";
29
+ import { getSecondToTime } from "../../../../utils/utils";
30
+ import { TEST_TYPE_READONLY, DISABLED_REPEAT_TYPE, IS_AI_ANALYSIS } from "../../../../constants/ai-question";
31
+ var QuestionModelListItem = function (props) {
32
+ var index = props.index, steps = props.steps, step = __rest(props, ["index", "steps"]);
33
+ var token = step.token, name = step.name, desc = step.desc, duration = step.duration, weight = step.weight, type = step.type, aiShowType = step.aiShowType, answerStatus = step.answerStatus, category = step.category;
34
+ var aiTypeList = steps.filter(function (step) { return IS_AI_ANALYSIS(step); });
35
+ var lastAiTestToken = aiTypeList.length ? aiTypeList[aiTypeList.length - 1].token : '';
36
+ var isAiAnalysis = IS_AI_ANALYSIS(step);
37
+ var _a = useQuestionModelStore(), editModel = _a.editModel, removeModel = _a.removeModel, updateModelWeight = _a.updateModelWeight;
38
+ var updateQuestionState = useUpdateQuestionStore().updateQuestionState;
39
+ var handleEdit = useCallback(function () {
40
+ updateQuestionState({ open: true, token: token, index: index, aiShowType: aiShowType, item: step });
41
+ }, [aiShowType, step, token, index, updateQuestionState]);
42
+ var handleRemove = useCallback(function () {
43
+ confirm({
44
+ title: '删除题目',
45
+ content: '确认删除此试题?该操作无法被撤销。',
46
+ okText: '删除',
47
+ okProps: {
48
+ color: 'error',
49
+ variant: 'contained',
50
+ },
51
+ onOk: function (_a) {
52
+ var onClose = _a.onClose;
53
+ removeModel(index);
54
+ onClose === null || onClose === void 0 ? void 0 : onClose();
55
+ },
56
+ });
57
+ }, [index, removeModel]);
58
+ var handleWeightChange = useCallback(function (_a) {
59
+ var value = _a.target.value;
60
+ updateModelWeight(value, index);
61
+ }, [updateModelWeight, index]);
62
+ var handleWeightBlur = useCallback(function (_a) {
63
+ var value = _a.target.value;
64
+ if (value === '' || value === undefined) {
65
+ updateModelWeight('0', index);
66
+ }
67
+ }, [updateModelWeight, index]);
68
+ var handleAnswerStatus = useCallback(function () {
69
+ console.log(answerStatus);
70
+ editModel(__assign(__assign({}, step), { answerStatus: answerStatus === 2 ? 1 : 2 }), index);
71
+ }, [editModel, answerStatus, step, index]);
72
+ return (_jsxs(Paper, __assign({ variant: "outlined", sx: { display: 'block', mt: 2 } }, { children: [_jsxs(Box, __assign({ display: "flex", borderBottom: "1px solid rgba(0, 0, 0, 0.08)" }, { children: [_jsx(Box, __assign({ width: 40, display: "flex", alignItems: "center", justifyContent: "center", sx: { cursor: 'move' } }, { children: _jsx(DragIndicatorIcon, { className: "dragHandle" }) })), _jsxs(Box, __assign({ flex: "1 0", padding: "16px 0" }, { children: [_jsxs(Box, __assign({ display: "flex", justifyContent: "space-between" }, { children: [_jsxs(Box, __assign({ flex: "1 0", display: "flex", alignItems: "center" }, { children: [_jsx(Typography, __assign({ variant: "subtitle1" }, { children: name })), category === null || category === void 0 ? void 0 : category.map(function (label) { return label && _jsx(Chip, { color: "default", label: label, size: "medium", sx: { ml: 1 } }, label); }), _jsx(Typography, __assign({ sx: { ml: 2 }, variant: "body2", color: "secondary" }, { children: getSecondToTime(Number(duration)) }))] })), _jsxs(Box, __assign({ width: 62, mr: 1, textAlign: "right" }, { children: [!TEST_TYPE_READONLY.includes(type) && (_jsx(IconButton, __assign({ size: "small", onClick: handleEdit }, { children: _jsx(EditIcon, {}) }))), _jsx(IconButton, __assign({ size: "small", onClick: handleRemove }, { children: _jsx(DeleteIcon, {}) }))] }))] })), _jsxs(Box, __assign({ mt: 1, display: "flex", alignItems: "center", justifyContent: "space-between" }, { children: [_jsx(Typography, __assign({ variant: "body2", color: "secondary" }, { children: desc })), !DISABLED_REPEAT_TYPE.includes(type) && (_jsx(FormGroup, __assign({ sx: { flexShrink: 0, ml: 2 } }, { children: _jsx(FormControlLabel, { control: _jsx(Switch, { size: "small", checked: answerStatus === 1 }), label: _jsx(Typography, __assign({ fontSize: 12, lineHeight: 1.5, color: "rgba(0, 0, 0, 0.56)" }, { children: "\u5141\u8BB8\u91CD\u590D\u7B54\u9898" })), onChange: handleAnswerStatus }) })))] }))] }))] })), isAiAnalysis && (_jsxs(Box, __assign({ display: "flex", alignItems: "center", padding: "3px 0 3px 40px" }, { children: [_jsx(Typography, __assign({ variant: "body2" }, { children: "\u6743\u91CD\u5360\u6BD4\uFF1A" })), _jsx(Input, { sx: { width: 82 }, size: "small", value: weight, endAdornment: "%", disabled: lastAiTestToken === token, onChange: handleWeightChange, onBlur: handleWeightBlur })] })))] })));
73
+ };
74
+ export default memo(QuestionModelListItem);
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const QuestionModelList: FC;
3
+ export default QuestionModelList;
@@ -0,0 +1,39 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { useEffect, useRef } from 'react';
14
+ import { Box, Empty } from 'fbm-ui';
15
+ import Sortable from 'sortablejs';
16
+ import { arrayMoveImmutable } from 'array-move';
17
+ import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
18
+ import QuestionModelListItem from './Item';
19
+ var QuestionModelList = function () {
20
+ var ref = useRef();
21
+ var sortable = useRef();
22
+ var _a = useQuestionModelStore(), questionModelData = _a.questionModelData, updateModel = _a.updateModel;
23
+ var _b = (questionModelData || {}).steps, steps = _b === void 0 ? [] : _b;
24
+ useEffect(function () {
25
+ if (steps) {
26
+ sortable.current && sortable.current.destroy();
27
+ sortable.current = new Sortable(ref.current, {
28
+ handle: '.dragHandle',
29
+ animation: 150,
30
+ onEnd: function (_a) {
31
+ var oldIndex = _a.oldIndex, newIndex = _a.newIndex;
32
+ updateModel(__assign(__assign({}, questionModelData), { steps: arrayMoveImmutable(steps, oldIndex, newIndex) }));
33
+ },
34
+ });
35
+ }
36
+ }, [questionModelData, updateModel, steps]);
37
+ return (_jsx(Box, __assign({ width: "100%", sx: steps.length > 0 ? {} : { height: 'calc(100% - 100px)', display: 'flex', alignItems: 'center', justifyContent: 'center' }, ref: ref }, { children: steps.length > 0 ? (steps.map(function (item, index) { return _jsx(QuestionModelListItem, __assign({ steps: steps, index: index }, item), item.uniqueId || item.token); })) : (_jsx(Empty, { desc: "\u6682\u65E0\u6570\u636E" })) })));
38
+ };
39
+ export default QuestionModelList;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const QuestionModelSkeleton: FC;
3
+ export default QuestionModelSkeleton;
@@ -0,0 +1,17 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { Box, Stack, Skeleton, Paper } from '@mui/material';
14
+ var QuestionModelSkeleton = function () {
15
+ return (_jsxs(Box, { children: [_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 2, sx: { mb: 3 } }, { children: [_jsx(Skeleton, { variant: "text", width: 120, height: 28 }), _jsx(Skeleton, { variant: "text", width: 120, height: 18 })] })), _jsxs(Stack, __assign({ spacing: 3 }, { children: [_jsxs(Paper, __assign({ elevation: 2, sx: { height: 80, padding: 3 } }, { children: [_jsx(Skeleton, { variant: "text", width: 128, height: 8, sx: { mb: 3 } }), _jsx(Skeleton, { variant: "text", width: 360, height: 8 })] })), _jsxs(Paper, __assign({ elevation: 2, sx: { height: 80, padding: 3 } }, { children: [_jsx(Skeleton, { variant: "text", width: 128, height: 8, sx: { mb: 3 } }), _jsx(Skeleton, { variant: "text", width: 360, height: 8 })] }))] }))] }));
16
+ };
17
+ export default QuestionModelSkeleton;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const Question: FC;
3
+ export default Question;
@@ -0,0 +1,64 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useEffect, useRef } from 'react';
14
+ import { useRequest } from 'ahooks';
15
+ import { PostAiModelDetails } from "../../../../services/ai-question";
16
+ import { useAiQuestionStore } from "../../../../store/ai-question/global-store";
17
+ import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
18
+ import { useQuestionTemplateStore } from "../../../../store/ai-question/question-template-store";
19
+ import { defaultQuestionParams } from '../QuestionUpdate/const';
20
+ import { QuestionModelRoot } from './styled';
21
+ import QuestionModelHeader from './Header';
22
+ import QuestionModelList from './List';
23
+ import Skeleton from './Skeleton';
24
+ var Question = function () {
25
+ var isDefaultAdded = useRef(false);
26
+ var _a = useAiQuestionStore(), token = _a.token, name = _a.name, onLoad = _a.onLoad;
27
+ var aiEvaluationData = useQuestionTemplateStore().aiEvaluationData;
28
+ var _b = useQuestionModelStore(), questionModelData = _b.questionModelData, updateModel = _b.updateModel, addModel = _b.addModel;
29
+ var _c = useRequest(function () { return PostAiModelDetails(token); }, {
30
+ manual: true,
31
+ onSuccess: function (_a) {
32
+ var data = _a.data;
33
+ updateModel(data);
34
+ onLoad === null || onLoad === void 0 ? void 0 : onLoad(data.steps);
35
+ },
36
+ }), postAiModelDetails = _c.run, loading = _c.loading;
37
+ useEffect(function () {
38
+ if (token) {
39
+ postAiModelDetails();
40
+ }
41
+ else {
42
+ updateModel({ name: name || '暂无名称', token: '', duration: 0, steps: [] });
43
+ }
44
+ }, [name, token, postAiModelDetails, updateModel]);
45
+ useEffect(function () {
46
+ if (!(questionModelData === null || questionModelData === void 0 ? void 0 : questionModelData.steps.length) && aiEvaluationData.length && !token && !isDefaultAdded.current) {
47
+ setTimeout(function () {
48
+ var defaultStep = [];
49
+ aiEvaluationData[0].list.forEach(function (_a) {
50
+ var list = _a.list;
51
+ list.forEach(function (item) {
52
+ if (item.isDefault) {
53
+ defaultStep.push(__assign(__assign(__assign({}, defaultQuestionParams), item), { originToken: item.token }));
54
+ }
55
+ });
56
+ });
57
+ isDefaultAdded.current = true;
58
+ addModel(defaultStep);
59
+ });
60
+ }
61
+ }, [token, aiEvaluationData, questionModelData === null || questionModelData === void 0 ? void 0 : questionModelData.steps, addModel]);
62
+ return (_jsx(QuestionModelRoot, { children: loading ? (_jsx(Skeleton, {})) : (_jsxs(_Fragment, { children: [_jsx(QuestionModelHeader, {}), _jsx(QuestionModelList, {})] })) }));
63
+ };
64
+ export default Question;
@@ -0,0 +1,18 @@
1
+ import { QuestionParams } from '../QuestionUpdate/interface';
2
+ export interface QuestionModelStep extends QuestionParams {
3
+ uniqueId?: string;
4
+ isNotCompute?: boolean;
5
+ }
6
+ export interface QuestionModelData {
7
+ name?: string | undefined;
8
+ token?: string;
9
+ duration?: number;
10
+ steps: QuestionModelStep[];
11
+ }
12
+ export interface QuestionModelDataRes {
13
+ data: QuestionModelData;
14
+ }
15
+ export interface QuestionModelListItemProps extends QuestionModelStep {
16
+ steps: QuestionModelStep[];
17
+ index: number;
18
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare const QuestionModelRoot: import("@mui/styles/styled").StyledComponent<Omit<import("fbm-ui/lib/components/Box").BoxProps & {
3
+ children?: import("react").ReactNode;
4
+ }, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<import("fbm-ui/lib/components/Box").BoxProps & {
5
+ children?: import("react").ReactNode;
6
+ }, "onLoad" | "m" | "children" | "loading" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "displayPrint" | "textOverflow" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "minHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "lineHeight" | "textAlign" | "textTransform" | "component" | "sx" | "disabled" | "MaskProps">, "className" | "theme"> & {
7
+ className?: string | undefined;
8
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
9
+ }>;
@@ -0,0 +1,9 @@
1
+ import { Box } from 'fbm-ui';
2
+ import styled from '@mui/styles/styled';
3
+ export var QuestionModelRoot = styled(Box)({
4
+ width: '100%',
5
+ height: '100%',
6
+ maxWidth: 710,
7
+ padding: '0 0 0 16px',
8
+ margin: '0 auto',
9
+ });
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const QuestionPreview: FC;
3
+ export default QuestionPreview;
@@ -0,0 +1,31 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useEffect, useState } from 'react';
14
+ import { Box, Typography } from 'fbm-ui';
15
+ import { useQuestionPreviewStore } from "../../../../store/ai-question/question-preview-store";
16
+ import { QUESTION_TYPE_MAPPING_LABEL } from "../../../../constants/ai-question";
17
+ import { ADD_QUESTION_TYPE } from "../../../../enum/ai-question";
18
+ import Form from '../QuestionUpdate/Form';
19
+ import { PreviewRoot } from './styled';
20
+ var QuestionPreview = function () {
21
+ var _a = useQuestionPreviewStore(), visible = _a.visible, previewItem = _a.previewItem;
22
+ var _b = previewItem || {}, _c = _b.name, name = _c === void 0 ? '' : _c, _d = _b.type, type = _d === void 0 ? 1 : _d, _e = _b.broadcastType, broadcastType = _e === void 0 ? 1 : _e, _f = _b.desc, desc = _f === void 0 ? '' : _f, _g = _b.prepareTime, prepareTime = _g === void 0 ? 3 : _g, _h = _b.duration, duration = _h === void 0 ? 30 : _h, extra = _b.extra;
23
+ var _j = useState(), values = _j[0], setValues = _j[1];
24
+ var _k = useState('none'), display = _k[0], setDisplay = _k[1];
25
+ useEffect(function () {
26
+ setValues({ name: name, broadcastType: broadcastType, desc: desc, prepareTime: prepareTime, duration: duration });
27
+ setDisplay(visible ? 'block' : 'none');
28
+ }, [name, broadcastType, desc, prepareTime, duration, visible]);
29
+ return (_jsx(PreviewRoot, __assign({ style: { display: display } }, { children: (extra === null || extra === void 0 ? void 0 : extra.icon) ? (_jsx("img", { src: extra === null || extra === void 0 ? void 0 : extra.icon, alt: "", style: { width: 250 } })) : (_jsxs(Box, __assign({ width: 500 }, { children: [_jsxs(Typography, __assign({ variant: "h5", textAlign: "center", mb: 3 }, { children: [QUESTION_TYPE_MAPPING_LABEL[type], "\uFF08\u9884\u89C8\uFF09"] })), values && _jsx(Form, { preview: true, aiShowType: ADD_QUESTION_TYPE.FREE, initialValues: values, values: values })] }))) })));
30
+ };
31
+ export default QuestionPreview;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ export declare const PreviewRoot: import("@mui/styles/styled").StyledComponent<Omit<{
3
+ children?: import("react").ReactNode;
4
+ classes?: Partial<import("@mui/material").PaperClasses> | undefined;
5
+ elevation?: number | undefined;
6
+ square?: boolean | undefined;
7
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
8
+ variant?: "elevation" | "outlined" | undefined;
9
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, "children" | "elevation" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "square">, "className" | "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"root"> & Omit<Pick<{
12
+ children?: import("react").ReactNode;
13
+ classes?: Partial<import("@mui/material").PaperClasses> | undefined;
14
+ elevation?: number | undefined;
15
+ square?: boolean | undefined;
16
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
17
+ variant?: "elevation" | "outlined" | undefined;
18
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
19
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
+ }, "children" | "elevation" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "square">, "onLoad" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "elevation" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "square">, "className" | "theme"> & {
21
+ className?: string | undefined;
22
+ theme?: import("@mui/private-theming").DefaultTheme | undefined;
23
+ }>;
@@ -0,0 +1,11 @@
1
+ import { Paper } from '@mui/material';
2
+ import styled from '@mui/styles/styled';
3
+ export var PreviewRoot = styled(Paper)({
4
+ padding: 20,
5
+ position: 'absolute',
6
+ left: 300,
7
+ top: 24,
8
+ zIndex: 9,
9
+ display: 'none',
10
+ boxShadow: '0px 9px 28px rgba(0,0,0, 0.05), 0px 6px 16px rgba(0,0,0, 0.08), 0px 3px 6px rgba(0,0,0, 0.12)',
11
+ });
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const AiEvaluation: FC;
3
+ export default AiEvaluation;