@ckeditor/ckeditor5-ai 46.1.1-alpha.3 → 47.0.0-alpha.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 (624) hide show
  1. package/LICENSE.md +18 -5
  2. package/README.md +10 -9
  3. package/build/ai.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/ckeditor5-metadata.json +24 -3
  77. package/dist/index-content.css +0 -1
  78. package/dist/index-editor.css +2648 -0
  79. package/dist/index.css +3047 -0
  80. package/dist/index.js +4 -2
  81. package/dist/translations/af.js +1 -1
  82. package/dist/translations/af.umd.js +1 -1
  83. package/dist/translations/ar.js +1 -1
  84. package/dist/translations/ar.umd.js +1 -1
  85. package/dist/translations/ast.js +1 -1
  86. package/dist/translations/ast.umd.js +1 -1
  87. package/dist/translations/az.js +1 -1
  88. package/dist/translations/az.umd.js +1 -1
  89. package/dist/translations/be.js +1 -1
  90. package/dist/translations/be.umd.js +1 -1
  91. package/dist/translations/bg.js +1 -1
  92. package/dist/translations/bg.umd.js +1 -1
  93. package/dist/translations/bn.js +1 -1
  94. package/dist/translations/bn.umd.js +1 -1
  95. package/dist/translations/bs.js +1 -1
  96. package/dist/translations/bs.umd.js +1 -1
  97. package/dist/translations/ca.js +1 -1
  98. package/dist/translations/ca.umd.js +1 -1
  99. package/dist/translations/cs.js +1 -1
  100. package/dist/translations/cs.umd.js +1 -1
  101. package/dist/translations/da.js +1 -1
  102. package/dist/translations/da.umd.js +1 -1
  103. package/dist/translations/de-ch.js +1 -1
  104. package/dist/translations/de-ch.umd.js +1 -1
  105. package/dist/translations/de.js +1 -1
  106. package/dist/translations/de.umd.js +1 -1
  107. package/dist/translations/el.js +1 -1
  108. package/dist/translations/el.umd.js +1 -1
  109. package/dist/translations/en-au.js +1 -1
  110. package/dist/translations/en-au.umd.js +1 -1
  111. package/dist/translations/en-gb.js +1 -1
  112. package/dist/translations/en-gb.umd.js +1 -1
  113. package/dist/translations/en.js +1 -1
  114. package/dist/translations/en.umd.js +1 -1
  115. package/dist/translations/eo.js +1 -1
  116. package/dist/translations/eo.umd.js +1 -1
  117. package/dist/translations/es-co.js +1 -1
  118. package/dist/translations/es-co.umd.js +1 -1
  119. package/dist/translations/es.js +1 -1
  120. package/dist/translations/es.umd.js +1 -1
  121. package/dist/translations/et.js +1 -1
  122. package/dist/translations/et.umd.js +1 -1
  123. package/dist/translations/eu.js +1 -1
  124. package/dist/translations/eu.umd.js +1 -1
  125. package/dist/translations/fa.js +1 -1
  126. package/dist/translations/fa.umd.js +1 -1
  127. package/dist/translations/fi.js +1 -1
  128. package/dist/translations/fi.umd.js +1 -1
  129. package/dist/translations/fr.js +1 -1
  130. package/dist/translations/fr.umd.js +1 -1
  131. package/dist/translations/gl.js +1 -1
  132. package/dist/translations/gl.umd.js +1 -1
  133. package/dist/translations/gu.js +1 -1
  134. package/dist/translations/gu.umd.js +1 -1
  135. package/dist/translations/he.js +1 -1
  136. package/dist/translations/he.umd.js +1 -1
  137. package/dist/translations/hi.js +1 -1
  138. package/dist/translations/hi.umd.js +1 -1
  139. package/dist/translations/hr.js +1 -1
  140. package/dist/translations/hr.umd.js +1 -1
  141. package/dist/translations/hu.js +1 -1
  142. package/dist/translations/hu.umd.js +1 -1
  143. package/dist/translations/hy.js +1 -1
  144. package/dist/translations/hy.umd.js +1 -1
  145. package/dist/translations/id.js +1 -1
  146. package/dist/translations/id.umd.js +1 -1
  147. package/dist/translations/it.js +1 -1
  148. package/dist/translations/it.umd.js +1 -1
  149. package/dist/translations/ja.js +1 -1
  150. package/dist/translations/ja.umd.js +1 -1
  151. package/dist/translations/jv.js +1 -1
  152. package/dist/translations/jv.umd.js +1 -1
  153. package/dist/translations/kk.js +1 -1
  154. package/dist/translations/kk.umd.js +1 -1
  155. package/dist/translations/km.js +1 -1
  156. package/dist/translations/km.umd.js +1 -1
  157. package/dist/translations/kn.js +1 -1
  158. package/dist/translations/kn.umd.js +1 -1
  159. package/dist/translations/ko.js +1 -1
  160. package/dist/translations/ko.umd.js +1 -1
  161. package/dist/translations/ku.js +1 -1
  162. package/dist/translations/ku.umd.js +1 -1
  163. package/dist/translations/lt.js +1 -1
  164. package/dist/translations/lt.umd.js +1 -1
  165. package/dist/translations/lv.js +1 -1
  166. package/dist/translations/lv.umd.js +1 -1
  167. package/dist/translations/ms.js +1 -1
  168. package/dist/translations/ms.umd.js +1 -1
  169. package/dist/translations/nb.js +1 -1
  170. package/dist/translations/nb.umd.js +1 -1
  171. package/dist/translations/ne.js +1 -1
  172. package/dist/translations/ne.umd.js +1 -1
  173. package/dist/translations/nl.js +1 -1
  174. package/dist/translations/nl.umd.js +1 -1
  175. package/dist/translations/no.js +1 -1
  176. package/dist/translations/no.umd.js +1 -1
  177. package/dist/translations/oc.js +1 -1
  178. package/dist/translations/oc.umd.js +1 -1
  179. package/dist/translations/pl.js +1 -1
  180. package/dist/translations/pl.umd.js +1 -1
  181. package/dist/translations/pt-br.js +1 -1
  182. package/dist/translations/pt-br.umd.js +1 -1
  183. package/dist/translations/pt.js +1 -1
  184. package/dist/translations/pt.umd.js +1 -1
  185. package/dist/translations/ro.js +1 -1
  186. package/dist/translations/ro.umd.js +1 -1
  187. package/dist/translations/ru.js +1 -1
  188. package/dist/translations/ru.umd.js +1 -1
  189. package/dist/translations/si.js +1 -1
  190. package/dist/translations/si.umd.js +1 -1
  191. package/dist/translations/sk.js +1 -1
  192. package/dist/translations/sk.umd.js +1 -1
  193. package/dist/translations/sl.js +1 -1
  194. package/dist/translations/sl.umd.js +1 -1
  195. package/dist/translations/sq.js +1 -1
  196. package/dist/translations/sq.umd.js +1 -1
  197. package/dist/translations/sr-latn.js +1 -1
  198. package/dist/translations/sr-latn.umd.js +1 -1
  199. package/dist/translations/sr.js +1 -1
  200. package/dist/translations/sr.umd.js +1 -1
  201. package/dist/translations/sv.js +1 -1
  202. package/dist/translations/sv.umd.js +1 -1
  203. package/dist/translations/th.js +1 -1
  204. package/dist/translations/th.umd.js +1 -1
  205. package/dist/translations/ti.js +1 -1
  206. package/dist/translations/ti.umd.js +1 -1
  207. package/dist/translations/tk.js +1 -1
  208. package/dist/translations/tk.umd.js +1 -1
  209. package/dist/translations/tr.js +1 -1
  210. package/dist/translations/tr.umd.js +1 -1
  211. package/dist/translations/tt.js +1 -1
  212. package/dist/translations/tt.umd.js +1 -1
  213. package/dist/translations/ug.js +1 -1
  214. package/dist/translations/ug.umd.js +1 -1
  215. package/dist/translations/uk.js +1 -1
  216. package/dist/translations/uk.umd.js +1 -1
  217. package/dist/translations/ur.js +1 -1
  218. package/dist/translations/ur.umd.js +1 -1
  219. package/dist/translations/uz.js +1 -1
  220. package/dist/translations/uz.umd.js +1 -1
  221. package/dist/translations/vi.js +1 -1
  222. package/dist/translations/vi.umd.js +1 -1
  223. package/dist/translations/zh-cn.js +1 -1
  224. package/dist/translations/zh-cn.umd.js +1 -1
  225. package/dist/translations/zh.js +1 -1
  226. package/dist/translations/zh.umd.js +1 -1
  227. package/lang/contexts.json +162 -1
  228. package/lang/translations/af.po +612 -0
  229. package/lang/translations/ar.po +628 -0
  230. package/lang/translations/ast.po +612 -0
  231. package/lang/translations/az.po +612 -0
  232. package/lang/translations/be.po +616 -0
  233. package/lang/translations/bg.po +612 -0
  234. package/lang/translations/bn.po +612 -0
  235. package/lang/translations/bs.po +616 -0
  236. package/lang/translations/ca.po +612 -0
  237. package/lang/translations/cs.po +616 -0
  238. package/lang/translations/da.po +612 -0
  239. package/lang/translations/de-ch.po +612 -0
  240. package/lang/translations/de.po +612 -0
  241. package/lang/translations/el.po +612 -0
  242. package/lang/translations/en-au.po +612 -0
  243. package/lang/translations/en-gb.po +612 -0
  244. package/lang/translations/en.po +612 -0
  245. package/lang/translations/eo.po +612 -0
  246. package/lang/translations/es-co.po +612 -0
  247. package/lang/translations/es.po +612 -0
  248. package/lang/translations/et.po +612 -0
  249. package/lang/translations/eu.po +612 -0
  250. package/lang/translations/fa.po +608 -0
  251. package/lang/translations/fi.po +612 -0
  252. package/lang/translations/fr.po +612 -0
  253. package/lang/translations/gl.po +612 -0
  254. package/lang/translations/gu.po +612 -0
  255. package/lang/translations/he.po +612 -0
  256. package/lang/translations/hi.po +612 -0
  257. package/lang/translations/hr.po +616 -0
  258. package/lang/translations/hu.po +612 -0
  259. package/lang/translations/hy.po +612 -0
  260. package/lang/translations/id.po +608 -0
  261. package/lang/translations/it.po +612 -0
  262. package/lang/translations/ja.po +608 -0
  263. package/lang/translations/jv.po +612 -0
  264. package/lang/translations/kk.po +612 -0
  265. package/lang/translations/km.po +608 -0
  266. package/lang/translations/kn.po +612 -0
  267. package/lang/translations/ko.po +608 -0
  268. package/lang/translations/ku.po +612 -0
  269. package/lang/translations/lt.po +616 -0
  270. package/lang/translations/lv.po +616 -0
  271. package/lang/translations/ms.po +608 -0
  272. package/lang/translations/nb.po +612 -0
  273. package/lang/translations/ne.po +612 -0
  274. package/lang/translations/nl.po +612 -0
  275. package/lang/translations/no.po +612 -0
  276. package/lang/translations/oc.po +612 -0
  277. package/lang/translations/pl.po +616 -0
  278. package/lang/translations/pt-br.po +612 -0
  279. package/lang/translations/pt.po +612 -0
  280. package/lang/translations/ro.po +616 -0
  281. package/lang/translations/ru.po +616 -0
  282. package/lang/translations/si.po +612 -0
  283. package/lang/translations/sk.po +616 -0
  284. package/lang/translations/sl.po +620 -0
  285. package/lang/translations/sq.po +612 -0
  286. package/lang/translations/sr-latn.po +616 -0
  287. package/lang/translations/sr.po +616 -0
  288. package/lang/translations/sv.po +612 -0
  289. package/lang/translations/th.po +608 -0
  290. package/lang/translations/ti.po +612 -0
  291. package/lang/translations/tk.po +612 -0
  292. package/lang/translations/tr.po +612 -0
  293. package/lang/translations/tt.po +608 -0
  294. package/lang/translations/ug.po +608 -0
  295. package/lang/translations/uk.po +616 -0
  296. package/lang/translations/ur.po +612 -0
  297. package/lang/translations/uz.po +612 -0
  298. package/lang/translations/vi.po +608 -0
  299. package/lang/translations/zh-cn.po +608 -0
  300. package/lang/translations/zh.po +608 -0
  301. package/package.json +23 -11
  302. package/src/aiactions/aiactions.d.ts +48 -0
  303. package/src/aiactions/aiactions.js +23 -0
  304. package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
  305. package/src/aiactions/model/aiactionsinteraction.js +23 -0
  306. package/src/aiactions/model/aiactionsreply.d.ts +15 -0
  307. package/src/aiactions/model/aiactionsreply.js +23 -0
  308. package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
  309. package/src/aiassistant/adapters/aiadapter.js +23 -0
  310. package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
  311. package/src/aiassistant/adapters/aitextadapter.js +23 -0
  312. package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
  313. package/src/aiassistant/adapters/awstextadapter.js +23 -0
  314. package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
  315. package/src/aiassistant/adapters/openaitextadapter.js +23 -0
  316. package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
  317. package/src/aiassistant/aiassistant.js +23 -0
  318. package/src/aiassistant/aiassistantediting.js +23 -0
  319. package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
  320. package/src/aiassistant/aiassistantui.js +23 -0
  321. package/src/aiassistant/legacyerrors.js +23 -0
  322. package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
  323. package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
  324. package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
  325. package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
  326. package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
  327. package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
  328. package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
  329. package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
  330. package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
  331. package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
  332. package/src/aiassistant/ui/form/aiformview.js +23 -0
  333. package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
  334. package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
  335. package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
  336. package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
  337. package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
  338. package/src/aiassistant/ui/form/prompthistory.js +23 -0
  339. package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
  340. package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
  341. package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
  342. package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
  343. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
  344. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
  345. package/src/aiballoon/aiballoon.d.ts +72 -0
  346. package/src/aiballoon/aiballoon.js +23 -0
  347. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
  348. package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
  349. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
  350. package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
  351. package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
  352. package/src/aiballoon/ui/aiballoonview.js +23 -0
  353. package/src/aichat/aichat.d.ts +79 -0
  354. package/src/aichat/aichat.js +23 -0
  355. package/src/aichat/aichatcontroller.d.ts +68 -0
  356. package/src/aichat/aichatcontroller.js +23 -0
  357. package/src/aichat/aichatui.d.ts +297 -0
  358. package/src/aichat/aichatui.js +23 -0
  359. package/src/aichat/model/aichatcontext.d.ts +360 -0
  360. package/src/aichat/model/aichatcontext.js +23 -0
  361. package/src/aichat/model/aichatconversation.d.ts +270 -0
  362. package/src/aichat/model/aichatconversation.js +23 -0
  363. package/src/aichat/model/aichatinteraction.d.ts +46 -0
  364. package/src/aichat/model/aichatinteraction.js +23 -0
  365. package/src/aichat/model/aichatmodels.d.ts +77 -0
  366. package/src/aichat/model/aichatmodels.js +23 -0
  367. package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
  368. package/src/aichat/ui/aichatcontrolsview.js +23 -0
  369. package/src/aichat/ui/aichatfeedview.d.ts +114 -0
  370. package/src/aichat/ui/aichatfeedview.js +23 -0
  371. package/src/aichat/ui/aichatheaderview.d.ts +29 -0
  372. package/src/aichat/ui/aichatheaderview.js +23 -0
  373. package/src/aichat/ui/aichatview.d.ts +37 -0
  374. package/src/aichat/ui/aichatview.js +23 -0
  375. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
  376. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
  377. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
  378. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
  379. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
  380. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
  381. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
  382. package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
  383. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
  384. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
  385. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
  386. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
  387. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
  388. package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
  389. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
  390. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
  391. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
  392. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
  393. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
  394. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
  395. package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
  396. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
  397. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
  398. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
  399. package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
  400. package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
  401. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
  402. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
  403. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
  404. package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
  405. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
  406. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
  407. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
  408. package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
  409. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
  410. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
  411. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
  412. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
  413. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
  414. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
  415. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
  416. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
  417. package/src/aichat/utils/eventnames.d.ts +5 -0
  418. package/src/aichat/utils/eventnames.js +23 -0
  419. package/src/aichat/utils/promisequeue.d.ts +32 -0
  420. package/src/aichat/utils/promisequeue.js +23 -0
  421. package/src/aichat/utils/scrollmanager.d.ts +23 -0
  422. package/src/aichat/utils/scrollmanager.js +23 -0
  423. package/src/aichathistory/aichathistory.d.ts +30 -0
  424. package/src/aichathistory/aichathistory.js +23 -0
  425. package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
  426. package/src/aichathistory/aichathistorycontroller.js +23 -0
  427. package/src/aichathistory/aichathistoryui.d.ts +112 -0
  428. package/src/aichathistory/aichathistoryui.js +23 -0
  429. package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
  430. package/src/aichathistory/model/aichathistoryconversations.js +23 -0
  431. package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
  432. package/src/aichathistory/model/aichathistoryitem.js +23 -0
  433. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
  434. package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
  435. package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
  436. package/src/aichathistory/ui/aichathistorylistview.js +23 -0
  437. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
  438. package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
  439. package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
  440. package/src/aichathistory/ui/aichathistoryview.js +23 -0
  441. package/src/aiconfig.d.ts +82 -31
  442. package/src/aicore/aiconnector.d.ts +302 -0
  443. package/src/aicore/aiconnector.js +23 -0
  444. package/src/aicore/aiediting.d.ts +61 -0
  445. package/src/aicore/aiediting.js +23 -0
  446. package/src/aicore/model/aicapabilities.d.ts +55 -0
  447. package/src/aicore/model/aicapabilities.js +23 -0
  448. package/src/aicore/model/aicontext.d.ts +53 -0
  449. package/src/aicore/model/aicontext.js +23 -0
  450. package/src/aicore/model/aiinteraction.d.ts +135 -0
  451. package/src/aicore/model/aiinteraction.js +23 -0
  452. package/src/aicore/model/aireply.d.ts +178 -0
  453. package/src/aicore/model/aireply.js +23 -0
  454. package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
  455. package/src/aicore/pipeline/airesponseapplier.js +24 -0
  456. package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
  457. package/src/aicore/pipeline/airesponseparser.js +24 -0
  458. package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
  459. package/src/aicore/ui/aidisclaimerview.js +23 -0
  460. package/src/aicore/ui/aiskeleton.d.ts +37 -0
  461. package/src/aicore/ui/aiskeleton.js +23 -0
  462. package/src/aicore/ui/aispinner.d.ts +14 -0
  463. package/src/aicore/ui/aispinner.js +23 -0
  464. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
  465. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
  466. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
  467. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
  468. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
  469. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
  470. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
  471. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
  472. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
  473. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
  474. package/src/aicore/utils/common-translations.d.ts +9 -0
  475. package/src/aicore/utils/common-translations.js +23 -0
  476. package/src/aicore/utils/createresizebutton.d.ts +12 -0
  477. package/src/aicore/utils/createresizebutton.js +23 -0
  478. package/src/aicore/utils/documentposition.d.ts +41 -0
  479. package/src/aicore/utils/documentposition.js +23 -0
  480. package/src/aicore/utils/documentrange.d.ts +46 -0
  481. package/src/aicore/utils/documentrange.js +23 -0
  482. package/src/aicore/utils/eventnames.d.ts +9 -0
  483. package/src/aicore/utils/eventnames.js +23 -0
  484. package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
  485. package/src/aicore/utils/geteditorfromcontext.js +23 -0
  486. package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
  487. package/src/aicore/utils/getoperationsfromreply.js +23 -0
  488. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
  489. package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
  490. package/src/aicore/utils/htmlparser.d.ts +35 -0
  491. package/src/aicore/utils/htmlparser.js +23 -0
  492. package/src/aicore/utils/htmlstreamer.d.ts +123 -0
  493. package/src/aicore/utils/htmlstreamer.js +23 -0
  494. package/src/aiquickactions/aiquickactions.d.ts +41 -0
  495. package/src/aiquickactions/aiquickactions.js +23 -0
  496. package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
  497. package/src/aiquickactions/aiquickactionscommand.js +23 -0
  498. package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
  499. package/src/aiquickactions/aiquickactionsediting.js +23 -0
  500. package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
  501. package/src/aiquickactions/aiquickactionsui.js +23 -0
  502. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
  503. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
  504. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
  505. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
  506. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
  507. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
  508. package/src/aiquickactions/utils/common-translations.d.ts +9 -0
  509. package/src/aiquickactions/utils/common-translations.js +23 -0
  510. package/src/aireviewmode/aireviewmode.d.ts +30 -0
  511. package/src/aireviewmode/aireviewmode.js +23 -0
  512. package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
  513. package/src/aireviewmode/aireviewmodecontroller.js +23 -0
  514. package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
  515. package/src/aireviewmode/aireviewmodeediting.js +23 -0
  516. package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
  517. package/src/aireviewmode/aireviewmodeui.js +23 -0
  518. package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
  519. package/src/aireviewmode/model/aireviewcheck.js +23 -0
  520. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
  521. package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
  522. package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
  523. package/src/aireviewmode/model/aireviewchecklist.js +23 -0
  524. package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
  525. package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
  526. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
  527. package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
  528. package/src/aireviewmode/model/aireviewcheckrun.d.ts +101 -0
  529. package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
  530. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
  531. package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
  532. package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
  533. package/src/aireviewmode/model/aireviewmodels.js +23 -0
  534. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
  535. package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
  536. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
  537. package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
  538. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
  539. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
  540. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +19 -0
  541. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
  542. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
  543. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
  544. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
  545. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
  546. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
  547. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
  548. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
  549. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
  550. package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
  551. package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
  552. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
  553. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
  554. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
  555. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
  556. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
  557. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
  558. package/src/aireviewmode/utils/common-translations.d.ts +9 -0
  559. package/src/aireviewmode/utils/common-translations.js +23 -0
  560. package/src/aitabs/aitabs.d.ts +92 -0
  561. package/src/aitabs/aitabs.js +23 -0
  562. package/src/aitabs/aitabsmainview.d.ts +45 -0
  563. package/src/aitabs/aitabsmainview.js +23 -0
  564. package/src/aitabs/tabs/aitabsview.d.ts +147 -0
  565. package/src/aitabs/tabs/aitabsview.js +23 -0
  566. package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
  567. package/src/aitabs/tabs/tabbuttonview.js +23 -0
  568. package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
  569. package/src/aitabs/tabs/tabpanelview.js +23 -0
  570. package/src/augmentation.d.ts +22 -6
  571. package/src/index.d.ts +40 -9
  572. package/src/index.js +1 -1
  573. package/theme/aiballoon/aiballoon.css +207 -0
  574. package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
  575. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
  576. package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
  577. package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
  578. package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
  579. package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
  580. package/theme/aichat/aichat-controls/prompt-input.css +55 -0
  581. package/theme/aichat/aichat-controls.css +154 -0
  582. package/theme/aichat/aichat.css +68 -0
  583. package/theme/aichat/aichatfeed.css +376 -0
  584. package/theme/aichat/aichathistory.css +235 -0
  585. package/theme/aichat/aiminitoolbar.css +94 -0
  586. package/theme/aichat/aisuggestioncontainer.css +203 -0
  587. package/theme/aiquickactions/aiquickactions.css +43 -0
  588. package/theme/aireviewmode/aireviewmode-check-list.css +154 -0
  589. package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
  590. package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
  591. package/theme/aireviewmode/aireviewmode.css +73 -0
  592. package/theme/aitabs/aitabsview.css +64 -0
  593. package/theme/aitabs/tabs/tabbuttonview.css +74 -0
  594. package/theme/aitabs/tabs/tabsview.css +78 -0
  595. package/theme/common/aibutton.css +145 -0
  596. package/theme/common/aichaterror.css +61 -0
  597. package/theme/common/aidisclaimer.css +29 -0
  598. package/theme/common/aiheader.css +88 -0
  599. package/theme/common/aiskeleton.css +54 -0
  600. package/theme/common/aispinner.css +58 -0
  601. package/src/adapters/aiadapter.js +0 -23
  602. package/src/adapters/aitextadapter.js +0 -23
  603. package/src/adapters/awstextadapter.js +0 -23
  604. package/src/adapters/openaitextadapter.js +0 -23
  605. package/src/aiassistant.js +0 -23
  606. package/src/aiassistantediting.js +0 -23
  607. package/src/aiassistantui.js +0 -23
  608. package/src/legacyerrors.js +0 -23
  609. package/src/ui/aiassistantcontroller.js +0 -24
  610. package/src/ui/form/aiformcontentarea.js +0 -23
  611. package/src/ui/form/aiformerrorview.js +0 -23
  612. package/src/ui/form/aiformpromptview.js +0 -23
  613. package/src/ui/form/aiformtoolbarview.js +0 -23
  614. package/src/ui/form/aiformview.js +0 -23
  615. package/src/ui/form/aihistorylistitemview.js +0 -23
  616. package/src/ui/form/aihistorylistview.js +0 -23
  617. package/src/ui/form/prompthistory.js +0 -23
  618. package/src/ui/showaiassistantcommand.js +0 -23
  619. /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
  620. /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
  621. /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
  622. /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
  623. /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
  624. /package/theme/{ai.css → aiassistant/ai.css} +0 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodereviewchecklistview
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { ListItemView } from 'ckeditor5/src/ui.js';
10
+ import type { AIReviewCheck } from '../model/aireviewcheck.js';
11
+ import '../../../theme/aireviewmode/aireviewmode-check-list.css';
12
+ export declare class AIReviewModeReviewCheckListView extends ListItemView {
13
+ constructor(locale: Locale);
14
+ /**
15
+ * Sets the checks to be displayed in the list.
16
+ */
17
+ setChecks(checks: Array<AIReviewCheck>): void;
18
+ /**
19
+ * Indicates whether there are any checks in the list.
20
+ */
21
+ hasChecks(): boolean;
22
+ resetAllParameterizedChecks(): void;
23
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x1db8d5=_0x57a6;(function(_0x149705,_0x1c3147){const _0x9e9dd3=_0x57a6,_0x4beb1a=_0x149705();while(!![]){try{const _0x36d4af=-parseInt(_0x9e9dd3(0xa1))/0x1*(parseInt(_0x9e9dd3(0xab))/0x2)+-parseInt(_0x9e9dd3(0xa2))/0x3+parseInt(_0x9e9dd3(0xad))/0x4+-parseInt(_0x9e9dd3(0xaf))/0x5*(parseInt(_0x9e9dd3(0x9a))/0x6)+-parseInt(_0x9e9dd3(0xb1))/0x7+-parseInt(_0x9e9dd3(0xa0))/0x8+parseInt(_0x9e9dd3(0x9d))/0x9*(parseInt(_0x9e9dd3(0xa8))/0xa);if(_0x36d4af===_0x1c3147)break;else _0x4beb1a['push'](_0x4beb1a['shift']());}catch(_0x1c8698){_0x4beb1a['push'](_0x4beb1a['shift']());}}}(_0x3eee,0x7c9ee));function _0x57a6(_0x373465,_0x1e6762){const _0x3eeeec=_0x3eee();return _0x57a6=function(_0x57a6d0,_0x582311){_0x57a6d0=_0x57a6d0-0x96;let _0x26aed1=_0x3eeeec[_0x57a6d0];return _0x26aed1;},_0x57a6(_0x373465,_0x1e6762);}function _0x3eee(){const _0x1dff57=['_checkViews','div','437193ikcWxe','locale','ck-hidden','4656760GaCHhm','4yAmidA','2657925SmpQev','setCustomCheckModel','entries','length','setChecks','setTemplate','710jaudYR','isVisible','resetAllParameterizedChecks','282318JsWfqR','add','1886792OTwVHb','resetToDefault','66245MDvdiT','hasChecks','2779609JDQsYm','clear','delegate','cancelCustomCheck','ck-ai-review-mode__check-list','runReviewCheck','bindTemplate','444YlTqJo'];_0x3eee=function(){return _0x1dff57;};return _0x3eee();}import{ListItemView as _0x92b0de,ViewCollection as _0x2a5afe}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2d8033}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x92b0de{[_0x1db8d5(0x9b)];constructor(_0x3669d6){const _0x93f5a9=_0x1db8d5;super(_0x3669d6),this[_0x93f5a9(0x9b)]=new _0x2a5afe();const _0x589bf5=this[_0x93f5a9(0x99)];this[_0x93f5a9(0xa7)]({'tag':_0x93f5a9(0x9c),'attributes':{'class':[_0x93f5a9(0x97),_0x589bf5['if'](_0x93f5a9(0xa9),_0x93f5a9(0x9f),_0x5812a4=>!_0x5812a4)]},'children':this[_0x93f5a9(0x9b)]});}[_0x1db8d5(0xa6)](_0x4087cd){const _0x574fc0=_0x1db8d5;this[_0x574fc0(0x9b)][_0x574fc0(0xb2)]();for(const [_0xae4571,_0x483d06]of _0x4087cd[_0x574fc0(0xa4)]()){const _0x4be7ed=new _0x2d8033(this[_0x574fc0(0x9e)],_0x483d06,_0xae4571);_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0x98))['to'](this),_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0x96))['to'](this),_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0xa3))['to'](this),this[_0x574fc0(0x9b)][_0x574fc0(0xac)](_0x4be7ed);}}[_0x1db8d5(0xb0)](){const _0x471168=_0x1db8d5;return this[_0x471168(0x9b)][_0x471168(0xa5)]>0x0;}[_0x1db8d5(0xaa)](){const _0x538bc4=_0x1db8d5;for(const _0x40832b of this[_0x538bc4(0x9b)])_0x40832b instanceof _0x2d8033&&_0x40832b[_0x538bc4(0xae)]();}}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodereviewcheckresultsview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { ListItemView, View, ViewCollection } from 'ckeditor5/src/ui.js';
10
+ import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
11
+ import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
12
+ import '../../../theme/aireviewmode/aireviewmode-check-run.css';
13
+ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
14
+ resultsHeader: View;
15
+ reviewDisclaimer: AIDisclaimerView;
16
+ /**
17
+ * The title of the current check results.
18
+ *
19
+ * @observable
20
+ */
21
+ headerTitle: string;
22
+ /**
23
+ * The loading state of the controls.
24
+ *
25
+ * @observable
26
+ */
27
+ isLoading: boolean;
28
+ /**
29
+ * The toggle diff state of the controls.
30
+ *
31
+ * @observable
32
+ */
33
+ isToggleDiffOn: boolean;
34
+ /**
35
+ * Indicates whether the results are ready and can be interacted with.
36
+ *
37
+ * @observable
38
+ */
39
+ isResultReady: boolean;
40
+ isError: boolean;
41
+ showErrorMessage: boolean;
42
+ errorType: 'chunk' | 'general' | undefined;
43
+ constructor(locale: Locale);
44
+ clearResults(): void;
45
+ getResults(): ViewCollection<AIReviewModeReviewCheckListItemResultsView>;
46
+ addResult(result: {
47
+ contentDiffed: string;
48
+ id: string;
49
+ }): void;
50
+ hideResult(id: string): void;
51
+ /**
52
+ * Sets the title of the current check results.
53
+ *
54
+ * @param title The title to set in the header.
55
+ */
56
+ setTitle(title: string): void;
57
+ showChunkErrorMessage(): void;
58
+ showGeneralErrorMessage(): void;
59
+ resetErrorState(): void;
60
+ }
61
+ export type AIAbortReviewStreamEvent = {
62
+ name: 'abortReviewStream';
63
+ args: [];
64
+ };
65
+ export type AILeaveReviewModeResultListEvent = {
66
+ name: 'leaveReviewModeResultList';
67
+ args: [];
68
+ };
69
+ export type AIAcceptAllChangesEvent = {
70
+ name: 'acceptAllChanges';
71
+ args: [];
72
+ };
73
+ export type AIToggleDiffEvent = {
74
+ name: 'toggleDiff';
75
+ args: [
76
+ {
77
+ on: boolean;
78
+ }
79
+ ];
80
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{ListItemView as _0x32a98e,View as _0x44f538,ViewCollection as _0x12b242,ButtonView as _0x516902}from'ckeditor5/src/ui.js';import{IconStop as _0x552b7b,IconEye as _0x578dab,IconEyeCrossedOut as _0x289a76}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x25965b}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x4f3bdf,SKELETON_DEFINITIONS as _0x2e59c5}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x26d783}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1317d7}from'../utils/common-translations.js';import{AISpinnerView as _0x4d9ba7}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';export class AIReviewModeReviewCheckResultsView extends _0x32a98e{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x1b128e){super(_0x1b128e),this['_resultViews']=new _0x12b242(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x26d783(_0x1b128e),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x19db70=this['_createCombinedSkeletonLoader'](),_0xa5ae1c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0xa5ae1c['if']('isVisible','ck-hidden',_0x21f824=>!_0x21f824)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x26a4f9=>_0x26a4f9)]},'children':this['_resultViews']},_0x19db70]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4c707a){const _0x4c21b5=new _0x25965b(this['locale'],_0x4c707a['id']);_0x4c21b5['delegate']('acceptChange','dismissChange','scrollToSuggestionInDocument')['to'](this),this['_resultViews']['add'](_0x4c21b5),_0x4c21b5['resultResponseView']['element']['innerHTML']=_0x4c707a['contentDiffed'];}['hideResult'](_0x5db633){const _0xafc266=this['_resultViews']['find'](_0x1c33b5=>_0x1c33b5['id']===_0x5db633);_0xafc266&&(_0xafc266['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0xafc266['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0xafc266),_0xafc266['destroy']();},{'once':!0x0}));}['setTitle'](_0x26dd5b){this['headerTitle']=_0x26dd5b;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x4f3bdf(this['locale'],_0x2e59c5['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x595155=new _0x44f538(this['locale']),_0x372ddd=[];for(let _0x3d5320=0x0;_0x3d5320<0x10;_0x3d5320++){const _0x3cd3da=this['_createSkeletonLoader']();_0x3cd3da['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x372ddd['push'](_0x3cd3da);}return _0x595155['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5d3ebc=>!_0x5d3ebc)]},'children':_0x372ddd}),_0x595155;}['_createErrorView'](){const _0x4ca73=new _0x44f538(this['locale']),_0x2ae2dc=new _0x516902(this['locale']),t=this['locale']['t'];return _0x4ca73['delegate']('retryReview')['to'](this),_0x2ae2dc['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x2ae2dc['on']('execute',()=>{this['fire']('retryReview');}),_0x4ca73['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x40ce9a=>!_0x40ce9a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x21f001=>'chunk'===_0x21f001)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x21b615=>'chunk'===_0x21b615)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3a1bee=>'general'!==_0x3a1bee)]},'children':[{'text':_0x1317d7(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x424a62=>'chunk'!==_0x424a62)]},'children':[{'text':_0x1317d7(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2ae2dc]}),_0x4ca73;}['_createCancelButtonView'](){const _0x40d05f=new _0x516902(this['locale']);return _0x40d05f['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x552b7b}),_0x40d05f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x234618=>_0x234618)]}}),_0x40d05f['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x40d05f;}['_createToggleDiffButtonView'](){const _0x4215f9=new _0x516902(this['locale']);_0x4215f9['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4215f9['bind']('isEnabled')['to'](this,'isError',_0x5aad16=>!_0x5aad16),_0x4215f9['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x23ff20=>!_0x23ff20)]}});const _0x230b1d=_0x1317d7(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4996d0=_0x1317d7(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4215f9['bind']('isOn')['to'](this,'isToggleDiffOn',_0x76e320=>_0x76e320),_0x4215f9['bind']('icon')['to'](this,'isToggleDiffOn',_0x164d81=>_0x164d81?_0x578dab:_0x289a76),_0x4215f9['bind']('label')['to'](this,'isToggleDiffOn',_0x3acb3c=>_0x3acb3c?_0x230b1d:_0x4996d0),_0x4215f9['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4215f9;}['_createAcceptAllButtonView'](){const _0x39b940=new _0x516902(this['locale']);return _0x39b940['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x39b940['bind']('isEnabled')['to'](this,'isError',_0x395170=>!_0x395170),_0x39b940['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x35e70e=>!_0x35e70e)]}}),_0x39b940['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x39b940;}['_createExitReviewButtonView'](){const _0x30bd1d=new _0x516902(this['locale']);return _0x30bd1d['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x30bd1d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x353d02=>!_0x353d02)]}}),_0x30bd1d['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x30bd1d;}['_createResultHeaderView'](){const _0x5323a5=new _0x44f538(this['locale']),_0x5228ee=new _0x4d9ba7();return _0x5228ee['bind']('isVisible')['to'](this,'isResultReady',_0x2e7d0b=>!_0x2e7d0b),_0x5323a5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x5228ee,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x5323a5;}}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodereviewcommandlistitemview
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { ListItemView } from 'ckeditor5/src/ui.js';
10
+ import type { AIReviewCheck } from '../model/aireviewcheck.js';
11
+ /**
12
+ * A view representing an item in the list of tempaltes.
13
+ *
14
+ * @protected
15
+ */
16
+ export declare class AIReviewModeReviewCommandListItemView extends ListItemView {
17
+ /**
18
+ * The loading state of the controls.
19
+ *
20
+ * @observable
21
+ */
22
+ isItemParametrized: boolean;
23
+ isParametrizedViewOpen: boolean;
24
+ isListItemRendered: boolean;
25
+ constructor(locale: Locale, check: AIReviewCheck, index: number);
26
+ render(): void;
27
+ /**
28
+ * Resets all form items in the parameterized view to their default values.
29
+ */
30
+ resetToDefault(): void;
31
+ }
32
+ export type AIReviewModeUIRunReviewCheckEvent = {
33
+ name: 'runReviewCheck';
34
+ args: [
35
+ {
36
+ id: string;
37
+ args?: {
38
+ language?: string;
39
+ model?: string;
40
+ prompt?: string;
41
+ };
42
+ isCustom?: boolean;
43
+ }
44
+ ];
45
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x11a6(){const _0xa061d7=['element','join','span','ck-ai-review-mode__check-list-item-description','isParameterized','ck-ai-review-mode__check-list-item_rendered','isParametrizedViewOpen','description','isItemParametrized','4494765dkoKsL','4cFpYkC','runReviewCheck','push','ck-ai-review-mode__check-list-item','ck-ai-review-mode__check-list-item-title','8564650tgbyEp','setCustomCheckModel','locale','ck-ai-review-mode__check-list-item-parameterized','_createFormView','_formItemsCollection','title','bindTemplate','_createCustomView','stopPropagation','ck-ai-review-mode__check-list-item-title-text','2775249BPszxJ','6055360rROBCe','1465008QfdIPi','ck-ai-review-mode__check-list-item-title-icon','isArray','argsKey','custom','Submit','execute','resetToDefault','ck-ai-review-mode__check-list-item-parameterized-form','length','1170492iUdHSn','forEach','ck-ai-review-mode__check-list-item-parameterized_custom','isListItemRendered','render','ck-ai-review-mode__check-list-item-main-content','cancelCustomCheck','extendTemplate','content','_createParameterizedView','delegate','div','18NqaOSm','ck-ai-review-mode__check-list-item_selected','ck-ai-button-primary','set','fire','ck-hidden','value','65499Qsofpo','click','add','useArgs','_createIconView','options','726Zbgame','setTemplate','ck-ai-review-mode__check-list-item-content'];_0x11a6=function(){return _0xa061d7;};return _0x11a6();}function _0x33fa(_0x2d2319,_0x180d1a){const _0x11a635=_0x11a6();return _0x33fa=function(_0x33fa55,_0x2bbabd){_0x33fa55=_0x33fa55-0x11b;let _0x3a69f3=_0x11a635[_0x33fa55];return _0x3a69f3;},_0x33fa(_0x2d2319,_0x180d1a);}const _0x4019d3=_0x33fa;(function(_0x486763,_0xbfecac){const _0x1716e2=_0x33fa,_0x5d8528=_0x486763();while(!![]){try{const _0xba859d=parseInt(_0x1716e2(0x12b))/0x1+-parseInt(_0x1716e2(0x121))/0x2+-parseInt(_0x1716e2(0x11f))/0x3*(-parseInt(_0x1716e2(0x151))/0x4)+-parseInt(_0x1716e2(0x150))/0x5+parseInt(_0x1716e2(0x144))/0x6*(parseInt(_0x1716e2(0x13e))/0x7)+parseInt(_0x1716e2(0x120))/0x8+-parseInt(_0x1716e2(0x137))/0x9*(parseInt(_0x1716e2(0x156))/0xa);if(_0xba859d===_0xbfecac)break;else _0x5d8528['push'](_0x5d8528['shift']());}catch(_0x4d3c95){_0x5d8528['push'](_0x5d8528['shift']());}}}(_0x11a6,0x9c531));import{ListItemView as _0x9f1704,IconView as _0x1d705e,View as _0x3c5e3b,ViewCollection as _0x311191,ButtonView as _0x222c23,clickOutsideHandler as _0x28d871}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x297130}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x36f500}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x6b4619}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x9f1704{[_0x4019d3(0x15b)]=new _0x311191();constructor(_0x32c551,_0x4adfb3,_0x1be9d9){const _0x5c23d4=_0x4019d3;super(_0x32c551),this[_0x5c23d4(0x13a)](_0x5c23d4(0x14d),!0x1),this[_0x5c23d4(0x13a)](_0x5c23d4(0x12e),!0x1),this[_0x5c23d4(0x13a)](_0x5c23d4(0x14f),_0x4adfb3[_0x5c23d4(0x14b)]);const _0x446b1c=this[_0x5c23d4(0x142)]();this[_0x5c23d4(0x145)]({'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x154),this[_0x5c23d4(0x11b)]['if'](_0x5c23d4(0x14d),_0x5c23d4(0x138),_0x2f18db=>_0x2f18db),this[_0x5c23d4(0x11b)]['if'](_0x5c23d4(0x12e),_0x5c23d4(0x14c),_0x496ff0=>_0x496ff0)],'style':{'--ck-ai-check-list-item-index':_0x1be9d9}},'on':{'click':this[_0x5c23d4(0x11b)]['to'](_0x5c23d4(0x13f))},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x146)]},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x130)]},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x155)]},'children':[{'tag':_0x5c23d4(0x149),'attributes':{'class':[_0x5c23d4(0x11e)]},'children':[{'text':_0x4adfb3[_0x5c23d4(0x15c)]}]},_0x446b1c]},{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x14a)]},'children':[{'text':_0x4adfb3[_0x5c23d4(0x14e)]}]}]}]},..._0x4adfb3[_0x5c23d4(0x14b)]?[this[_0x5c23d4(0x134)](_0x4adfb3)]:[],..._0x5c23d4(0x125)===_0x4adfb3['id']?[this[_0x5c23d4(0x11c)](_0x4adfb3)]:[]]}),this['on'](_0x5c23d4(0x13f),()=>{const _0x3673f0=_0x5c23d4;_0x4adfb3[_0x3673f0(0x14b)]?this[_0x3673f0(0x14d)]=!this[_0x3673f0(0x14d)]:this[_0x3673f0(0x13b)](_0x3673f0(0x152),{'id':_0x4adfb3['id']});}),requestAnimationFrame(()=>{const _0x251609=_0x5c23d4;this[_0x251609(0x12e)]=!0x0;});}[_0x4019d3(0x12f)](){const _0x30af8b=_0x4019d3;super[_0x30af8b(0x12f)](),this[_0x30af8b(0x14f)]&&_0x28d871({'emitter':this,'activator':()=>!0x0===this[_0x30af8b(0x14d)],'contextElements':[this[_0x30af8b(0x147)]],'callback':()=>{const _0x542bf2=_0x30af8b;this[_0x542bf2(0x14d)]=!0x1;}});}[_0x4019d3(0x128)](){const _0x1b222d=_0x4019d3;this[_0x1b222d(0x14d)]=!0x1,this[_0x1b222d(0x15b)][_0x1b222d(0x12c)](_0x2ed073=>{const _0x31b380=_0x1b222d;_0x2ed073[_0x31b380(0x128)]();});}[_0x4019d3(0x142)](){const _0x2b3295=_0x4019d3,_0x125e38=new _0x1d705e();return _0x125e38[_0x2b3295(0x133)]=_0x297130,_0x125e38[_0x2b3295(0x132)]({'attributes':{'class':[_0x2b3295(0x122)]}}),_0x125e38;}[_0x4019d3(0x134)](_0x1588bc){const _0x342d52=_0x4019d3,_0x4a61ab=new _0x3c5e3b(),_0xbbcce=this[_0x342d52(0x15a)](_0x1588bc);return _0x4a61ab[_0x342d52(0x145)]({'tag':_0x342d52(0x136),'attributes':{'class':[_0x342d52(0x159),this[_0x342d52(0x11b)]['if'](_0x342d52(0x14d),_0x342d52(0x13c),_0x597209=>!_0x597209)]},'children':[_0xbbcce]}),_0x4a61ab;}[_0x4019d3(0x15a)](_0x37f851){const _0xb63290=_0x4019d3,_0x509aec=new _0x3c5e3b(),_0x413ed6=Array[_0xb63290(0x123)](_0x37f851[_0xb63290(0x143)])?_0x37f851[_0xb63290(0x143)]:[],_0x3f0959=new _0x222c23(this[_0xb63290(0x158)]);_0x3f0959[_0xb63290(0x13a)]({'label':_0xb63290(0x126),'withText':!0x0,'class':_0xb63290(0x139)}),_0x3f0959[_0xb63290(0x132)]({'on':{'click':this[_0xb63290(0x11b)]['to'](_0x404380=>{const _0x53cede=_0xb63290;_0x404380[_0x53cede(0x11d)]();})}}),_0x3f0959['on'](_0xb63290(0x127),()=>{const _0x476724=_0xb63290,_0x110c2b=[];let _0xfd9745;this[_0x476724(0x15b)][_0x476724(0x12c)](_0x225569=>{const _0x5f59c7=_0x476724;_0x110c2b[_0x5f59c7(0x153)](_0x225569[_0x5f59c7(0x13d)]),_0x37f851[_0x5f59c7(0x141)]&&_0x37f851[_0x5f59c7(0x143)]&&(_0xfd9745={[_0x225569[_0x5f59c7(0x124)]]:_0x225569[_0x5f59c7(0x13d)]});});const _0x3b0ba3=_0x37f851[_0x476724(0x141)]?_0x37f851['id']:[_0x37f851['id'],..._0x110c2b][_0x476724(0x148)]('-');this[_0x476724(0x13b)](_0x476724(0x152),{'id':_0x3b0ba3,'args':_0xfd9745});});const _0x5d572b=_0x413ed6[_0xb63290(0x12a)];return _0x413ed6[_0xb63290(0x12c)]((_0x56d545,_0x3a6fc1)=>{const _0x33296e=_0xb63290,_0x11a46c=_0x3a6fc1===_0x5d572b-0x1;this[_0x33296e(0x15b)][_0x33296e(0x140)](new _0x36f500(this[_0x33296e(0x158)],_0x56d545,_0x11a46c?_0x3f0959:null));}),_0x509aec[_0xb63290(0x145)]({'tag':_0xb63290(0x136),'attributes':{'class':[_0xb63290(0x129)]},'children':this[_0xb63290(0x15b)]}),_0x509aec;}[_0x4019d3(0x11c)](_0x1b2170){const _0x48a023=_0x4019d3,_0x118b86=new _0x6b4619(this[_0x48a023(0x158)],_0x1b2170);return _0x118b86[_0x48a023(0x132)]({'attributes':{'class':[_0x48a023(0x159),_0x48a023(0x12d),this[_0x48a023(0x11b)]['if'](_0x48a023(0x14d),_0x48a023(0x13c),_0x5872a8=>!_0x5872a8)]}}),_0x118b86[_0x48a023(0x135)](_0x48a023(0x152))['to'](this),_0x118b86[_0x48a023(0x135)](_0x48a023(0x131))['to'](this),_0x118b86[_0x48a023(0x135)](_0x48a023(0x157))['to'](this),_0x118b86;}}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodereviewcompletedview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { ListItemView, View } from 'ckeditor5/src/ui.js';
10
+ import '../../../theme/aireviewmode/aireviewmode-review-completed.css';
11
+ export declare class AIReviewModeReviewCompletedView extends ListItemView {
12
+ resultsHeader: View;
13
+ constructor(locale: Locale);
14
+ }
15
+ export type AIReviewModeFinishReviewEvent = {
16
+ name: 'finishReview';
17
+ args: [];
18
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x11c6(){const _0x50b461=['450PRYwRt','isVisible','resultsHeader','ck-ai-review-mode__review-completed-content','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1304TKLPJw','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','_createResultHeaderView','span','1278yDsvff','execute','setTemplate','ck-ai-review-mode__review-completed-content-text','4800eXwkXi','25150lDCgOe','12dZYrIH','_finishReviewButtonView','ck-ai-button-primary','2248192WibcHp','AI_REVIEW_MODE_COMPLETED_TEXT','7jKPbNm','_createFinishReviewButtonView','bindTemplate','11543499kJRLuB','set','342834EdlWFD','1244172SgVHYP','ck-ai-review-mode__review-completed','div','958WbWsvr','ck-ai-review-mode__review-completed-content-icon','finishReview','ck-ai-review-mode__review-completed-header','ck-hidden','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-header-title','fire'];_0x11c6=function(){return _0x50b461;};return _0x11c6();}const _0x1d4ef6=_0x5472;(function(_0x5a7f28,_0x34e064){const _0x3c2d41=_0x5472,_0x4b0998=_0x5a7f28();while(!![]){try{const _0x23ceac=parseInt(_0x3c2d41(0x107))/0x1*(-parseInt(_0x3c2d41(0xff))/0x2)+-parseInt(_0x3c2d41(0xfb))/0x3+parseInt(_0x3c2d41(0xe6))/0x4*(parseInt(_0x3c2d41(0xef))/0x5)+-parseInt(_0x3c2d41(0xfc))/0x6+parseInt(_0x3c2d41(0xf6))/0x7*(-parseInt(_0x3c2d41(0xf4))/0x8)+parseInt(_0x3c2d41(0xeb))/0x9*(-parseInt(_0x3c2d41(0xf0))/0xa)+parseInt(_0x3c2d41(0xf9))/0xb*(parseInt(_0x3c2d41(0xf1))/0xc);if(_0x23ceac===_0x34e064)break;else _0x4b0998['push'](_0x4b0998['shift']());}catch(_0x1318dc){_0x4b0998['push'](_0x4b0998['shift']());}}}(_0x11c6,0x2da91));import{ListItemView as _0x3945c3,View as _0x421466,ButtonView as _0x22e9c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x52e8c9}from'../utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x5472(_0x4dc727,_0x1affa7){const _0x11c65a=_0x11c6();return _0x5472=function(_0x54720d,_0x4e61c9){_0x54720d=_0x54720d-0xe3;let _0x5c76a7=_0x11c65a[_0x54720d];return _0x5c76a7;},_0x5472(_0x4dc727,_0x1affa7);}export class AIReviewModeReviewCompletedView extends _0x3945c3{[_0x1d4ef6(0xe3)];[_0x1d4ef6(0xf2)];constructor(_0x12337e){const _0x2856af=_0x1d4ef6;super(_0x12337e),this[_0x2856af(0xf2)]=this[_0x2856af(0xf7)](),this[_0x2856af(0xe3)]=this[_0x2856af(0xe9)]();const _0x9ced36=this[_0x2856af(0xf8)];this[_0x2856af(0xed)]({'tag':_0x2856af(0xfe),'attributes':{'class':[_0x2856af(0xfd),_0x9ced36['if'](_0x2856af(0x108),_0x2856af(0x103),_0x34a141=>!_0x34a141)]},'children':[this[_0x2856af(0xe3)],{'tag':_0x2856af(0xfe),'attributes':{'class':[_0x2856af(0xe4)]},'children':[{'tag':_0x2856af(0xea),'attributes':{'class':[_0x2856af(0x100)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x2856af(0xee)]},'children':[{'text':_0x52e8c9(_0x12337e,_0x2856af(0xf5))}]}]}]});}[_0x1d4ef6(0xf7)](){const _0x222225=_0x1d4ef6,_0x24f047=new _0x22e9c4(this[_0x222225(0xe7)]);return _0x24f047[_0x222225(0xfa)]({'label':_0x52e8c9(this[_0x222225(0xe7)],_0x222225(0xe5)),'withText':!0x0,'class':_0x222225(0xf3)}),_0x24f047['on'](_0x222225(0xec),()=>{const _0x3e5645=_0x222225;this[_0x3e5645(0x106)](_0x3e5645(0x101));}),_0x24f047;}[_0x1d4ef6(0xe9)](){const _0x5b1894=_0x1d4ef6,_0x31be08=new _0x421466(this[_0x5b1894(0xe7)]);return _0x31be08[_0x5b1894(0xed)]({'tag':_0x5b1894(0xfe),'attributes':{'class':[_0x5b1894(0x102)]},'children':[{'tag':_0x5b1894(0xea),'attributes':{'class':[_0x5b1894(0x105)]},'children':[{'text':_0x52e8c9(this[_0x5b1894(0xe7)],_0x5b1894(0xe8))}]},{'tag':_0x5b1894(0xfe),'attributes':{'class':[_0x5b1894(0x104)]},'children':[this[_0x5b1894(0xf2)]]}]}),_0x31be08;}}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodeview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, FormHeaderView } from 'ckeditor5/src/ui.js';
10
+ import { AIReviewModeReviewCheckListView } from './aireviewmodereviewchecklistview.js';
11
+ import { AIReviewModeReviewCheckResultsView } from './aireviewmodereviewcheckresultsview.js';
12
+ import { AIReviewModeReviewCompletedView } from './aireviewmodereviewcompletedview.js';
13
+ export declare class AIReviewModeView extends View {
14
+ /**
15
+ * The header of the AI Review Mode.
16
+ */
17
+ reviewModeHeader: FormHeaderView;
18
+ /**
19
+ * The review check list view of the AI Review Mode.
20
+ */
21
+ reviewCheckListView: AIReviewModeReviewCheckListView;
22
+ /**
23
+ * The check run results view of the AI Review Mode.
24
+ */
25
+ reviewCheckResultsView: AIReviewModeReviewCheckResultsView;
26
+ /**
27
+ * The review completed view of the AI Review Mode.
28
+ */
29
+ reviewCompletedView: AIReviewModeReviewCompletedView;
30
+ constructor(locale: Locale);
31
+ showReviewCheckListView(): void;
32
+ showReviewCheckResultsView(): void;
33
+ addCheckRunResult(result: {
34
+ contentDiffed: string;
35
+ id: string;
36
+ }): void;
37
+ showReviewCompletedView(): void;
38
+ showActionsWhenResultIsReady(): void;
39
+ hideActionsWhenResultIsReady(): void;
40
+ showGeneralErrorView(): void;
41
+ showChunkErrorView(): void;
42
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x219d56=_0x37dd;function _0x551a(){var _0x10acc4=['showReviewCompletedView','ck-rounded-corners','reviewCheckListView','6143088VdjvXB','isResultReady','ck-ai-header\x20ck-ai-header_review-mode','delegate','setTemplate','16wvZgot','isLoading','11clOzHP','Review\x20Mode','reviewCompletedView','isVisible','showActionsWhenResultIsReady','clearResults','addResult','2364588cmcPKo','addCheckRunResult','44645zNIcUg','div','reviewCheckResultsView','918743CVzKWk','ck-reset_all','ltr','24owqEPo','1609108IHFTMh','showGeneralErrorMessage','ck-ai-review-mode','showReviewCheckResultsView','showGeneralErrorView','resetErrorState','showChunkErrorMessage','showReviewCheckListView','finishReview','10181680LltnBc','reviewModeHeader','ck-content\x20','hideActionsWhenResultIsReady','set','resetAllParameterizedChecks','404346uzJnwK','324EQZJEz','showChunkErrorView'];_0x551a=function(){return _0x10acc4;};return _0x551a();}(function(_0x98ed33,_0x385a33){var _0x2ac6b0=_0x37dd,_0x5ce920=_0x98ed33();while(!![]){try{var _0x57d894=parseInt(_0x2ac6b0(0x15e))/0x1+-parseInt(_0x2ac6b0(0x162))/0x2+parseInt(_0x2ac6b0(0x171))/0x3*(parseInt(_0x2ac6b0(0x17c))/0x4)+-parseInt(_0x2ac6b0(0x187))/0x5*(parseInt(_0x2ac6b0(0x172))/0x6)+parseInt(_0x2ac6b0(0x177))/0x7+-parseInt(_0x2ac6b0(0x161))/0x8*(-parseInt(_0x2ac6b0(0x185))/0x9)+parseInt(_0x2ac6b0(0x16b))/0xa*(-parseInt(_0x2ac6b0(0x17e))/0xb);if(_0x57d894===_0x385a33)break;else _0x5ce920['push'](_0x5ce920['shift']());}catch(_0x1c6a36){_0x5ce920['push'](_0x5ce920['shift']());}}}(_0x551a,0xc7e4b));import{View as _0xb9ce1,FormHeaderView as _0x3f20ff}from'ckeditor5/src/ui.js';import{IconAIReview as _0x281e48}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x405add}from'./aireviewmodereviewchecklistview.js';function _0x37dd(_0x4be9f2,_0x2f6a8f){var _0x551a42=_0x551a();return _0x37dd=function(_0x37dd07,_0x28e849){_0x37dd07=_0x37dd07-0x15c;var _0x318870=_0x551a42[_0x37dd07];return _0x318870;},_0x37dd(_0x4be9f2,_0x2f6a8f);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x4b4336}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x15b240}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x2af172}from'./aireviewmodereviewcompletedview.js';export class AIReviewModeView extends _0xb9ce1{[_0x219d56(0x16c)];[_0x219d56(0x176)];[_0x219d56(0x15d)];[_0x219d56(0x180)];constructor(_0x15fc53){var _0x5a1351=_0x219d56;super(_0x15fc53),this[_0x5a1351(0x16c)]=new _0x3f20ff(_0x15fc53,{'label':_0x5a1351(0x17f),'icon':_0x281e48,'class':_0x5a1351(0x179)}),this[_0x5a1351(0x176)]=new _0x405add(_0x15fc53),this[_0x5a1351(0x176)][_0x5a1351(0x17a)](..._0x4b4336)['to'](this),this[_0x5a1351(0x15d)]=new _0x15b240(_0x15fc53),this[_0x5a1351(0x15d)][_0x5a1351(0x17a)](..._0x4b4336)['to'](this),this[_0x5a1351(0x180)]=new _0x2af172(_0x15fc53),this[_0x5a1351(0x180)][_0x5a1351(0x17a)](_0x5a1351(0x16a))['to'](this),this[_0x5a1351(0x176)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x17d),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x178),!0x1),this[_0x5a1351(0x180)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x17b)]({'tag':_0x5a1351(0x15c),'attributes':{'class':['ck',_0x5a1351(0x16d),_0x5a1351(0x15f),_0x5a1351(0x164),_0x5a1351(0x175)],'dir':_0x5a1351(0x160)},'children':[this[_0x5a1351(0x16c)],this[_0x5a1351(0x176)],this[_0x5a1351(0x15d)],this[_0x5a1351(0x180)]]});}[_0x219d56(0x169)](){var _0x1d65aa=_0x219d56;this[_0x1d65aa(0x176)][_0x1d65aa(0x170)](),this[_0x1d65aa(0x176)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x0),this[_0x1d65aa(0x15d)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x1),this[_0x1d65aa(0x180)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x1);}[_0x219d56(0x165)](){var _0x19c29b=_0x219d56;this[_0x19c29b(0x16e)](),this[_0x19c29b(0x15d)][_0x19c29b(0x167)](),this[_0x19c29b(0x176)][_0x19c29b(0x16f)](_0x19c29b(0x181),!0x1),this[_0x19c29b(0x15d)][_0x19c29b(0x16f)](_0x19c29b(0x181),!0x0),this[_0x19c29b(0x15d)][_0x19c29b(0x183)](),this[_0x19c29b(0x15d)][_0x19c29b(0x16f)](_0x19c29b(0x17d),!0x0);}[_0x219d56(0x186)](_0x46c0f4){var _0x1b9d8b=_0x219d56;this[_0x1b9d8b(0x15d)][_0x1b9d8b(0x184)](_0x46c0f4),this[_0x1b9d8b(0x15d)][_0x1b9d8b(0x16f)](_0x1b9d8b(0x17d),!0x1);}[_0x219d56(0x174)](){var _0x351581=_0x219d56;this[_0x351581(0x176)][_0x351581(0x16f)](_0x351581(0x181),!0x1),this[_0x351581(0x15d)][_0x351581(0x16f)](_0x351581(0x181),!0x1),this[_0x351581(0x180)][_0x351581(0x16f)](_0x351581(0x181),!0x0);}[_0x219d56(0x182)](){var _0x1bad9a=_0x219d56;this[_0x1bad9a(0x15d)][_0x1bad9a(0x178)]=!0x0;}[_0x219d56(0x16e)](){var _0x252e1a=_0x219d56;this[_0x252e1a(0x15d)][_0x252e1a(0x178)]=!0x1;}[_0x219d56(0x166)](){var _0x5a9a5c=_0x219d56;this[_0x5a9a5c(0x15d)][_0x5a9a5c(0x16f)](_0x5a9a5c(0x17d),!0x1),this[_0x5a9a5c(0x182)](),this[_0x5a9a5c(0x15d)][_0x5a9a5c(0x163)]();}[_0x219d56(0x173)](){var _0x5049ad=_0x219d56;this[_0x5049ad(0x15d)][_0x5049ad(0x16f)](_0x5049ad(0x17d),!0x1),this[_0x5049ad(0x182)](),this[_0x5049ad(0x15d)][_0x5049ad(0x168)]();}}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/form/aireviewmodeformamanager
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { type View, ListItemView } from 'ckeditor5/src/ui.js';
10
+ import { type AIReviewCheckOptions } from '../../model/aireviewcheck.js';
11
+ export declare class AIReviewModeFormManagerView extends ListItemView {
12
+ value: string;
13
+ argsKey: string | undefined;
14
+ constructor(locale: Locale, options: AIReviewCheckOptions, submitButton: View | null);
15
+ resetToDefault(): void;
16
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x44d631=_0x5cf6;(function(_0x150366,_0x23b40d){const _0x2b99c6=_0x5cf6,_0x68db8d=_0x150366();while(!![]){try{const _0x3d5382=-parseInt(_0x2b99c6(0xa1))/0x1+parseInt(_0x2b99c6(0xb3))/0x2*(parseInt(_0x2b99c6(0xa8))/0x3)+-parseInt(_0x2b99c6(0xb6))/0x4*(parseInt(_0x2b99c6(0xa9))/0x5)+-parseInt(_0x2b99c6(0xb1))/0x6+parseInt(_0x2b99c6(0xaf))/0x7*(parseInt(_0x2b99c6(0xa2))/0x8)+-parseInt(_0x2b99c6(0xae))/0x9*(-parseInt(_0x2b99c6(0x9e))/0xa)+parseInt(_0x2b99c6(0xa7))/0xb;if(_0x3d5382===_0x23b40d)break;else _0x68db8d['push'](_0x68db8d['shift']());}catch(_0x360720){_0x68db8d['push'](_0x68db8d['shift']());}}}(_0x5c99,0x6fd82));function _0x5cf6(_0x9538fb,_0x4dcd95){const _0x5c99ec=_0x5c99();return _0x5cf6=function(_0x5cf6e9,_0x3ca1c2){_0x5cf6e9=_0x5cf6e9-0x9b;let _0x21ed07=_0x5c99ec[_0x5cf6e9];return _0x21ed07;},_0x5cf6(_0x9538fb,_0x4dcd95);}import{FormRowView as _0x11eebb,ListItemView as _0x34a938}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2a82bb}from'./aireviewmodeformdropdown.js';function _0x5c99(){const _0x1f927a=['_formItem','div','bind','value','135vpfrdu','28tYONsw','formType','155094ZFadIv','formValue','2xdIcoT','argsKey','locale','24452CAZmKK','ck-ai-review-mode__form-item','resetToDefault','ck-form__row_with-submit','541890ILULur','setTemplate','dropdown','368759adocge','356144psArXZ','add','children','set','ck-reset_all','2893550jPSQhl','1510467tljnzl','740IHzZRF'];_0x5c99=function(){return _0x1f927a;};return _0x5c99();}export class AIReviewModeFormManagerView extends _0x34a938{[_0x44d631(0xaa)]=null;constructor(_0x4696e4,_0x3a4937,_0x2c0219){const _0x55c589=_0x44d631;super(_0x4696e4),this[_0x55c589(0xb4)]=_0x3a4937?.[_0x55c589(0xb4)];if(_0x55c589(0xa0)===_0x3a4937[_0x55c589(0xb0)])this[_0x55c589(0xaa)]=new _0x2a82bb(this[_0x55c589(0xb5)],_0x3a4937);this[_0x55c589(0xa5)](_0x55c589(0xad),''),this[_0x55c589(0xac)](_0x55c589(0xad))['to'](this[_0x55c589(0xaa)],_0x55c589(0xb2));const _0x241491=new _0x11eebb(this[_0x55c589(0xb5)],{'children':[this[_0x55c589(0xaa)]],'class':[_0x2c0219?_0x55c589(0x9d):'']});_0x2c0219&&_0x241491[_0x55c589(0xa4)][_0x55c589(0xa3)](_0x2c0219),this[_0x55c589(0x9f)]({'tag':_0x55c589(0xab),'attributes':{'class':['ck',_0x55c589(0x9b),_0x55c589(0xa6)]},'children':[_0x241491]});}[_0x44d631(0x9c)](){const _0x1a8a84=_0x44d631;this[_0x1a8a84(0xaa)][_0x1a8a84(0x9c)]();}}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/form/aireviewmodeformamanager
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { AIReviewCheckOptions } from '../../model/aireviewcheck.js';
11
+ export declare class AIReviewModeFormDropdownView extends View {
12
+ /**
13
+ * The `value` of the currently selected option.
14
+ *
15
+ * @observable
16
+ */
17
+ formValue: string | null;
18
+ constructor(locale: Locale, options: AIReviewCheckOptions);
19
+ resetToDefault(): void;
20
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x340c89=_0x4533;function _0x4533(_0x4b2e50,_0x559370){const _0x590733=_0x5907();return _0x4533=function(_0x4533f7,_0x42ad93){_0x4533f7=_0x4533f7-0x7c;let _0x4d7bee=_0x590733[_0x4533f7];return _0x4d7bee;},_0x4533(_0x4b2e50,_0x559370);}(function(_0x3ffe5d,_0x31b518){const _0xfe427d=_0x4533,_0x5c9435=_0x3ffe5d();while(!![]){try{const _0x1f1e05=parseInt(_0xfe427d(0x83))/0x1*(-parseInt(_0xfe427d(0x84))/0x2)+-parseInt(_0xfe427d(0x7e))/0x3*(parseInt(_0xfe427d(0x99))/0x4)+-parseInt(_0xfe427d(0x7d))/0x5+parseInt(_0xfe427d(0x9d))/0x6+-parseInt(_0xfe427d(0x96))/0x7+parseInt(_0xfe427d(0xa1))/0x8*(parseInt(_0xfe427d(0x93))/0x9)+-parseInt(_0xfe427d(0xa6))/0xa*(-parseInt(_0xfe427d(0x86))/0xb);if(_0x1f1e05===_0x31b518)break;else _0x5c9435['push'](_0x5c9435['shift']());}catch(_0x4d4703){_0x5c9435['push'](_0x5c9435['shift']());}}}(_0x5907,0xa8c1d));import{Collection as _0x58da1d}from'ckeditor5/src/utils.js';import{View as _0x423d41,createDropdown as _0x1cf7db,addListToDropdown as _0x14aa8c,UIModel as _0x31f50e}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x423d41{[_0x340c89(0x80)];[_0x340c89(0x9c)];[_0x340c89(0x9e)];constructor(_0xbd36bf,_0x1d7ee9){const _0x28ea45=_0x340c89;super(_0xbd36bf),this[_0x28ea45(0x9c)]=_0x1d7ee9[_0x28ea45(0x8a)]||(_0x1d7ee9[_0x28ea45(0x81)][_0x28ea45(0x95)]>0x0?_0x1d7ee9[_0x28ea45(0x81)][0x0]['id']:''),this[_0x28ea45(0x9e)]=_0x1d7ee9[_0x28ea45(0x81)][_0x28ea45(0xa3)](_0x30d9f6=>_0x30d9f6['id']===this[_0x28ea45(0x9c)])?.[_0x28ea45(0xa2)]||'',this[_0x28ea45(0x85)](_0x28ea45(0x91),''),this[_0x28ea45(0x80)]=_0x1cf7db(this[_0x28ea45(0x87)]);const _0x21b240=this[_0x28ea45(0x8c)](_0x1d7ee9[_0x28ea45(0x81)]);_0x14aa8c(this[_0x28ea45(0x80)],_0x21b240,{'role':_0x28ea45(0xa4),'ariaLabel':_0x1d7ee9[_0x28ea45(0xa2)]}),this[_0x28ea45(0x80)][_0x28ea45(0x90)][_0x28ea45(0x85)]({'label':this[_0x28ea45(0x9e)],'withText':!0x0}),this[_0x28ea45(0x80)][_0x28ea45(0x9b)]({'on':{'click':this[_0x28ea45(0x8e)]['to'](_0x35875a=>{const _0x1fb6fd=_0x28ea45;_0x35875a[_0x1fb6fd(0x89)]();})}}),this[_0x28ea45(0xa5)](this[_0x28ea45(0x80)],_0x28ea45(0x88),_0x756594=>{const _0x1c90a6=_0x28ea45;this[_0x1c90a6(0x91)]=_0x756594[_0x1c90a6(0x92)][_0x1c90a6(0x82)]['id'],this[_0x1c90a6(0x80)][_0x1c90a6(0x90)][_0x1c90a6(0xa2)]=_0x756594[_0x1c90a6(0x92)][_0x1c90a6(0x82)][_0x1c90a6(0xa2)];}),this[_0x28ea45(0x9a)]({'tag':_0x28ea45(0x98),'attributes':{'class':['ck',_0x28ea45(0x8b),_0x28ea45(0xa0),_0x28ea45(0x9f)]},'children':[this[_0x28ea45(0x80)]]});}[_0x340c89(0x94)](){const _0x5e9e47=_0x340c89;this[_0x5e9e47(0x91)]=this[_0x5e9e47(0x9c)],this[_0x5e9e47(0x80)][_0x5e9e47(0x90)][_0x5e9e47(0xa2)]=this[_0x5e9e47(0x9e)];}[_0x340c89(0x8c)](_0x39cb5e=[]){const _0x1416cf=_0x340c89,_0x224f47=new _0x58da1d();this[_0x1416cf(0x94)]();for(const _0x3a951e of _0x39cb5e){const _0x24e423=new _0x31f50e({'label':_0x3a951e[_0x1416cf(0xa2)],'withText':!0x0,'role':_0x1416cf(0x7c),'id':_0x3a951e['id'],'model':_0x3a951e});_0x24e423[_0x1416cf(0x8f)](_0x1416cf(0x97))['to'](this,_0x1416cf(0x91),_0x2d7702=>_0x2d7702===_0x24e423['id']);const _0x480093={'type':_0x1416cf(0x7f),'model':_0x24e423};_0x224f47[_0x1416cf(0x8d)](_0x480093);}return _0x224f47;}}function _0x5907(){const _0x4f1cf6=['data','model','4HMVXFI','531112wZaaLO','set','187BnNYsS','locale','execute','stopPropagation','default','ck-reset_all','_prepareListOptions','add','bindTemplate','bind','buttonView','formValue','source','2951253yCwoYl','resetToDefault','length','5637394IJbZzF','isOn','div','2591032ByrzJQ','setTemplate','extendTemplate','_defaultValue','5687040cAlFUj','_defaultLabel','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','ck-ai-review-mode__check-list-item-parameterized-form-element','16XvUPMF','label','find','menu','listenTo','1543210twQOBS','menuitemradio','5102890OuzUrC','3geCATf','button','_dropdownView'];_0x5907=function(){return _0x4f1cf6;};return _0x5907();}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/form/aireviewmodeformmanager
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { type View, ListItemView } from 'ckeditor5/src/ui.js';
10
+ import { type AIReviewCheckOptions } from '../../model/aireviewcheck.js';
11
+ export declare class AIReviewModeFormManagerView extends ListItemView {
12
+ value: string;
13
+ argsKey: string | undefined;
14
+ constructor(locale: Locale, options: AIReviewCheckOptions, submitButton: View | null);
15
+ resetToDefault(): void;
16
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x44d631=_0x5cf6;(function(_0x150366,_0x23b40d){const _0x2b99c6=_0x5cf6,_0x68db8d=_0x150366();while(!![]){try{const _0x3d5382=-parseInt(_0x2b99c6(0xa1))/0x1+parseInt(_0x2b99c6(0xb3))/0x2*(parseInt(_0x2b99c6(0xa8))/0x3)+-parseInt(_0x2b99c6(0xb6))/0x4*(parseInt(_0x2b99c6(0xa9))/0x5)+-parseInt(_0x2b99c6(0xb1))/0x6+parseInt(_0x2b99c6(0xaf))/0x7*(parseInt(_0x2b99c6(0xa2))/0x8)+-parseInt(_0x2b99c6(0xae))/0x9*(-parseInt(_0x2b99c6(0x9e))/0xa)+parseInt(_0x2b99c6(0xa7))/0xb;if(_0x3d5382===_0x23b40d)break;else _0x68db8d['push'](_0x68db8d['shift']());}catch(_0x360720){_0x68db8d['push'](_0x68db8d['shift']());}}}(_0x5c99,0x6fd82));function _0x5cf6(_0x9538fb,_0x4dcd95){const _0x5c99ec=_0x5c99();return _0x5cf6=function(_0x5cf6e9,_0x3ca1c2){_0x5cf6e9=_0x5cf6e9-0x9b;let _0x21ed07=_0x5c99ec[_0x5cf6e9];return _0x21ed07;},_0x5cf6(_0x9538fb,_0x4dcd95);}import{FormRowView as _0x11eebb,ListItemView as _0x34a938}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2a82bb}from'./aireviewmodeformdropdown.js';function _0x5c99(){const _0x1f927a=['_formItem','div','bind','value','135vpfrdu','28tYONsw','formType','155094ZFadIv','formValue','2xdIcoT','argsKey','locale','24452CAZmKK','ck-ai-review-mode__form-item','resetToDefault','ck-form__row_with-submit','541890ILULur','setTemplate','dropdown','368759adocge','356144psArXZ','add','children','set','ck-reset_all','2893550jPSQhl','1510467tljnzl','740IHzZRF'];_0x5c99=function(){return _0x1f927a;};return _0x5c99();}export class AIReviewModeFormManagerView extends _0x34a938{[_0x44d631(0xaa)]=null;constructor(_0x4696e4,_0x3a4937,_0x2c0219){const _0x55c589=_0x44d631;super(_0x4696e4),this[_0x55c589(0xb4)]=_0x3a4937?.[_0x55c589(0xb4)];if(_0x55c589(0xa0)===_0x3a4937[_0x55c589(0xb0)])this[_0x55c589(0xaa)]=new _0x2a82bb(this[_0x55c589(0xb5)],_0x3a4937);this[_0x55c589(0xa5)](_0x55c589(0xad),''),this[_0x55c589(0xac)](_0x55c589(0xad))['to'](this[_0x55c589(0xaa)],_0x55c589(0xb2));const _0x241491=new _0x11eebb(this[_0x55c589(0xb5)],{'children':[this[_0x55c589(0xaa)]],'class':[_0x2c0219?_0x55c589(0x9d):'']});_0x2c0219&&_0x241491[_0x55c589(0xa4)][_0x55c589(0xa3)](_0x2c0219),this[_0x55c589(0x9f)]({'tag':_0x55c589(0xab),'attributes':{'class':['ck',_0x55c589(0x9b),_0x55c589(0xa6)]},'children':[_0x241491]});}[_0x44d631(0x9c)](){const _0x1a8a84=_0x44d631;this[_0x1a8a84(0xaa)][_0x1a8a84(0x9c)]();}}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/utils/common-translations
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ export declare function getTranslation(locale: Locale, id: string): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export function getTranslation(_0x2f2397,_0x349621){const {t:t}=_0x2f2397;switch(_0x349621){case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.\x20You\x20can\x20now\x20return\x20to\x20the\x20command\x20list.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});default:return _0x349621;}}